]> git.saurik.com Git - wxWidgets.git/blame_incremental - configure
Some more string concatenations
[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 SDL_CONFIG SDL_CFLAGS SDL_LIBS 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 USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL 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_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 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_0_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_UNIX_1_USE_PLUGINS_0 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_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WITH_PLUGIN_SDL_1 COND_WITH_SDL_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 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 --enable-monolithic build wxWindows as single library
871 --enable-plugins build parts of wxWindows as loadable components
872 --enable-universal use wxWindows GUI controls instead of native ones
873 --enable-nanox use NanoX
874 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
875 --enable-shared create shared library code
876 --enable-optimise create optimised code
877 --enable-debug same as debug_flag and debug_info
878 --enable-stl use STL for containers
879 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
880 --enable-debug_info create code with debugging information
881 --enable-debug_gdb create code with extra GDB debugging information
882 --enable-debug_cntxt use wxDebugContext
883 --enable-mem_tracing create code with memory tracing
884 --enable-profile create code with profiling information
885 --enable-no_rtti create code without RTTI information
886 --enable-no_exceptions create code without C++ exceptions handling
887 --enable-permissive compile code disregarding strict ANSI
888 --enable-no_deps create code without dependency information
889 --enable-compat22 enable wxWindows 2.2 compatibility
890 --disable-compat24 disable wxWindows 2.4 compatibility
891 --enable-rpath=DIR output the rpath flag from wx-config
892 --enable-intl use internationalization system
893 --enable-config use wxConfig (and derived) classes
894 --enable-protocols use wxProtocol and derived classes
895 --enable-ftp use wxFTP (requires wxProtocol
896 --enable-http use wxHTTP (requires wxProtocol
897 --enable-fileproto use wxFileProto class (requires wxProtocol
898 --enable-sockets use socket/network classes
899 --enable-ole use OLE classes (Win32 only)
900 --enable-dataobj use data object classes
901 --enable-ipc use interprocess communication (wxSocket etc.)
902 --enable-apple_ieee use the Apple IEEE codec
903 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
904 --enable-cmdline use wxCmdLineParser class
905 --enable-datetime use wxDateTime class
906 --enable-dialupman use dialup network classes
907 --enable-dynlib use wxLibrary class for DLL loading
908 --enable-dynamicloader use (new) wxDynamicLibrary class
909 --enable-exceptions build exception-safe library
910 --enable-ffile use wxFFile class
911 --enable-file use wxFile class
912 --enable-filesystem use virtual file systems classes
913 --enable-fontmap use font encodings conversion classes
914 --enable-fs_inet use virtual HTTP/FTP filesystems
915 --enable-fs_zip use virtual ZIP filesystems
916 --enable-geometry use geometry class
917 --enable-log use logging system
918 --enable-longlong use wxLongLong class
919 --enable-mimetype use wxMimeTypesManager
920 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
921 --enable-snglinst use wxSingleInstanceChecker class
922 --enable-streams use wxStream etc classes
923 --enable-std_iostreams use standard C++ stream classes
924 --enable-stopwatch use wxStopWatch class
925 --enable-sysoptions use wxSystemOptions
926 --enable-textbuf use wxTextBuffer class
927 --enable-textfile use wxTextFile class
928 --enable-timer use wxTimer class
929 --enable-unicode compile wxString with Unicode support
930 --enable-sound use wxSound class
931 --enable-wxprintfv use wxWindows implementation of vprintf()
932 --enable-zipstream use wxZipInputStream
933 --enable-gzstream use wxGzipInputStream
934 --enable-url use wxURL class
935 --enable-protocol use wxProtocol class
936 --enable-protocol-http HTTP support in wxProtocol
937 --enable-protocol-ftp FTP support in wxProtocol
938 --enable-protocol-file FILE support in wxProtocol
939 --enable-threads use threads
940 --enable-docview use document view architecture
941 --enable-help use help subsystem
942 --enable-mshtmlhelp use MS HTML Help (win32)
943 --enable-html use wxHTML sub-library
944 --enable-htmlhelp use wxHTML-based help
945 --enable-constraints use layout-constraints system
946 --enable-printarch use printing architecture
947 --enable-mdi use multiple document interface architecture
948 --enable-loggui use standard GUI logger
949 --enable-logwin use wxLogWindow
950 --enable-logdialog use wxLogDialog
951 --enable-postscript use wxPostscriptDC device context (default for gtk+)
952 --enable-prologio not available; see contrib
953 --enable-resources not available; see contrib
954 --enable-clipboard use wxClipboard class
955 --enable-dnd use Drag'n'Drop classes
956 --enable-metafile use win32 metafiles
957 --enable-controls use all usual controls
958 --enable-accel use accelerators
959 --enable-button use wxButton class
960 --enable-bmpbutton use wxBitmapButton class
961 --enable-calendar use wxCalendarCtrl class
962 --enable-caret use wxCaret class
963 --enable-checkbox use wxCheckBox class
964 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
965 --enable-choice use wxChoice class
966 --enable-combobox use wxComboBox class
967 --enable-display use wxDisplay class
968 --enable-gauge use wxGauge class
969 --enable-grid use wxGrid class
970 --enable-imaglist use wxImageList class
971 --enable-listbook use wxListbook class
972 --enable-listbox use wxListBox class
973 --enable-listctrl use wxListCtrl class
974 --enable-notebook use wxNotebook class
975 --enable-radiobox use wxRadioBox class
976 --enable-radiobtn use wxRadioButton class
977 --enable-sash use wxSashWindow class
978 --enable-scrollbar use wxScrollBar class and scrollable windows
979 --enable-slider use wxSlider class
980 --enable-spinbtn use wxSpinButton class
981 --enable-spinctrl use wxSpinCtrl class
982 --enable-splitter use wxSplitterWindow class
983 --enable-statbmp use wxStaticBitmap class
984 --enable-statbox use wxStaticBox class
985 --enable-statline use wxStaticLine class
986 --enable-stattext use wxStaticText class
987 --enable-statusbar use wxStatusBar class
988 --enable-tabdialog use wxTabControl class
989 --enable-textctrl use wxTextCtrl class
990 --enable-togglebtn use wxToggleButton class
991 --enable-toolbar use wxToolBar class
992 --enable-tbarnative use native wxToolBar class
993 --enable-tbarsmpl use wxToolBarSimple class
994 --enable-treectrl use wxTreeCtrl class
995 --enable-tipwindow use wxTipWindow class
996 --enable-popupwin use wxPopUpWindow class
997 --enable-commondlg use all common dialogs
998 --enable-choicedlg use wxChoiceDialog
999 --enable-coldlg use wxColourDialog
1000 --enable-filedlg use wxFileDialog
1001 --enable-finddlg use wxFindReplaceDialog
1002 --enable-fontdlg use wxFontDialog
1003 --enable-dirdlg use wxDirDialog
1004 --enable-msgdlg use wxMessageDialog
1005 --enable-numberdlg use wxNumberEntryDialog
1006 --enable-splash use wxSplashScreen
1007 --enable-textdlg use wxTextDialog
1008 --enable-tipdlg use startup tips
1009 --enable-progressdlg use wxProgressDialog
1010 --enable-wizarddlg use wxWizard
1011 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1012 --enable-miniframe use wxMiniFrame class
1013 --enable-tooltips use wxToolTip class
1014 --enable-splines use spline drawing code
1015 --enable-validators use wxValidator and derived classes
1016 --enable-busyinfo use wxBusyInfo
1017 --enable-joystick use wxJoystick (Linux only)
1018 --enable-metafiles use wxMetaFile (Windows only)
1019 --enable-dragimage use wxDragImage
1020 --enable-accessibility enable accessibility support
1021 --enable-palette use wxPalette class
1022 --enable-image use wxImage class
1023 --enable-gif use gif images (GIF file format)
1024 --enable-pcx use pcx images (PCX file format)
1025 --enable-iff use iff images (IFF file format)
1026 --enable-pnm use pnm images (PNM file format)
1027 --enable-xpm use xpm images (XPM file format)
1028 --enable-icocur use Windows ICO and CUR formats
1029 --enable-official_build official build of wxWindows (win32 DLL only)
1030 --enable-vendor=VENDOR vendor name (win32 DLL only)
1031 --disable-largefile omit support for large files
1032 --disable-gtktest do not try to compile and run a test GTK+ program
1033 --disable-gtktest Do not try to compile and run a test GTK program
1034 --disable-sdltest Do not try to compile and run a test SDL program
1035 --disable-precomp-headers don't use precompiled headers even if compiler can
1036
1037Optional Packages:
1038 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1039 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1040 --with-gtk use GTK+
1041 --with-motif use Motif/Lesstif
1042 --with-mac use Mac OS X
1043 --with-cocoa use Cocoa
1044 --with-wine use Wine
1045 --with-msw use MS-Windows
1046 --with-pm use OS/2 Presentation Manager
1047 --with-mgl use SciTech MGL
1048 --with-microwin use MicroWindows
1049 --with-x11 use X11
1050 --with-libpng use libpng (PNG image format)
1051 --with-libjpeg use libjpeg (JPEG file format)
1052 --with-libtiff use libtiff (TIFF file format)
1053 --with-libxpm use libxpm (XPM file format)
1054 --with-libmspack use libmspack (CHM help files loading)
1055 --with-sdl use SDL for audio on Unix
1056 --with-opengl use OpenGL (or Mesa)
1057 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1058 --with-regex enable support for wxRegEx class
1059 --with-zlib use zlib for LZW compression
1060 --with-odbc use the IODBC and wxODBC classes
1061 --with-expat enable XML support using expat parser
1062 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1063 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1064 --with-x use the X Window System
1065 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1066 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1067 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1068
1069Some influential environment variables:
1070 CC C compiler command
1071 CFLAGS C compiler flags
1072 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1073 nonstandard directory <lib dir>
1074 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1075 headers in a nonstandard directory <include dir>
1076 CPP C preprocessor
1077 CXX C++ compiler command
1078 CXXFLAGS C++ compiler flags
1079 CXXCPP C++ preprocessor
1080
1081Use these variables to override the choices made by `configure' or to help
1082it to find libraries and programs with nonstandard names/locations.
1083
1084Report bugs to <wx-dev@lists.wxwindows.org>.
1085_ACEOF
1086fi
1087
1088if test "$ac_init_help" = "recursive"; then
1089 # If there are subdirs, report their specific --help.
1090 ac_popdir=`pwd`
1091 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1092 test -d $ac_dir || continue
1093 ac_builddir=.
1094
1095if test "$ac_dir" != .; then
1096 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1097 # A "../" for each directory in $ac_dir_suffix.
1098 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1099else
1100 ac_dir_suffix= ac_top_builddir=
1101fi
1102
1103case $srcdir in
1104 .) # No --srcdir option. We are building in place.
1105 ac_srcdir=.
1106 if test -z "$ac_top_builddir"; then
1107 ac_top_srcdir=.
1108 else
1109 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1110 fi ;;
1111 [\\/]* | ?:[\\/]* ) # Absolute path.
1112 ac_srcdir=$srcdir$ac_dir_suffix;
1113 ac_top_srcdir=$srcdir ;;
1114 *) # Relative path.
1115 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1116 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1117esac
1118# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1119# absolute.
1120ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1121ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1122ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1123ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1124
1125 cd $ac_dir
1126 # Check for guested configure; otherwise get Cygnus style configure.
1127 if test -f $ac_srcdir/configure.gnu; then
1128 echo
1129 $SHELL $ac_srcdir/configure.gnu --help=recursive
1130 elif test -f $ac_srcdir/configure; then
1131 echo
1132 $SHELL $ac_srcdir/configure --help=recursive
1133 elif test -f $ac_srcdir/configure.ac ||
1134 test -f $ac_srcdir/configure.in; then
1135 echo
1136 $ac_configure --help
1137 else
1138 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1139 fi
1140 cd $ac_popdir
1141 done
1142fi
1143
1144test -n "$ac_init_help" && exit 0
1145if $ac_init_version; then
1146 cat <<\_ACEOF
1147wxWindows configure 2.5.1
1148generated by GNU Autoconf 2.57
1149
1150Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1151Free Software Foundation, Inc.
1152This configure script is free software; the Free Software Foundation
1153gives unlimited permission to copy, distribute and modify it.
1154_ACEOF
1155 exit 0
1156fi
1157exec 5>config.log
1158cat >&5 <<_ACEOF
1159This file contains any messages produced by compilers while
1160running configure, to aid debugging if configure makes a mistake.
1161
1162It was created by wxWindows $as_me 2.5.1, which was
1163generated by GNU Autoconf 2.57. Invocation command line was
1164
1165 $ $0 $@
1166
1167_ACEOF
1168{
1169cat <<_ASUNAME
1170## --------- ##
1171## Platform. ##
1172## --------- ##
1173
1174hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1175uname -m = `(uname -m) 2>/dev/null || echo unknown`
1176uname -r = `(uname -r) 2>/dev/null || echo unknown`
1177uname -s = `(uname -s) 2>/dev/null || echo unknown`
1178uname -v = `(uname -v) 2>/dev/null || echo unknown`
1179
1180/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1181/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1182
1183/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1184/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1185/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1186hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1187/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1188/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1189/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1190
1191_ASUNAME
1192
1193as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1194for as_dir in $PATH
1195do
1196 IFS=$as_save_IFS
1197 test -z "$as_dir" && as_dir=.
1198 echo "PATH: $as_dir"
1199done
1200
1201} >&5
1202
1203cat >&5 <<_ACEOF
1204
1205
1206## ----------- ##
1207## Core tests. ##
1208## ----------- ##
1209
1210_ACEOF
1211
1212
1213# Keep a trace of the command line.
1214# Strip out --no-create and --no-recursion so they do not pile up.
1215# Strip out --silent because we don't want to record it for future runs.
1216# Also quote any args containing shell meta-characters.
1217# Make two passes to allow for proper duplicate-argument suppression.
1218ac_configure_args=
1219ac_configure_args0=
1220ac_configure_args1=
1221ac_sep=
1222ac_must_keep_next=false
1223for ac_pass in 1 2
1224do
1225 for ac_arg
1226 do
1227 case $ac_arg in
1228 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1229 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1230 | -silent | --silent | --silen | --sile | --sil)
1231 continue ;;
1232 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1233 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1234 esac
1235 case $ac_pass in
1236 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1237 2)
1238 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1239 if test $ac_must_keep_next = true; then
1240 ac_must_keep_next=false # Got value, back to normal.
1241 else
1242 case $ac_arg in
1243 *=* | --config-cache | -C | -disable-* | --disable-* \
1244 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1245 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1246 | -with-* | --with-* | -without-* | --without-* | --x)
1247 case "$ac_configure_args0 " in
1248 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1249 esac
1250 ;;
1251 -* ) ac_must_keep_next=true ;;
1252 esac
1253 fi
1254 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1255 # Get rid of the leading space.
1256 ac_sep=" "
1257 ;;
1258 esac
1259 done
1260done
1261$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1262$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1263
1264# When interrupted or exit'd, cleanup temporary files, and complete
1265# config.log. We remove comments because anyway the quotes in there
1266# would cause problems or look ugly.
1267# WARNING: Be sure not to use single quotes in there, as some shells,
1268# such as our DU 5.0 friend, will then `close' the trap.
1269trap 'exit_status=$?
1270 # Save into config.log some information that might help in debugging.
1271 {
1272 echo
1273
1274 cat <<\_ASBOX
1275## ---------------- ##
1276## Cache variables. ##
1277## ---------------- ##
1278_ASBOX
1279 echo
1280 # The following way of writing the cache mishandles newlines in values,
1281{
1282 (set) 2>&1 |
1283 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1284 *ac_space=\ *)
1285 sed -n \
1286 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1287 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1288 ;;
1289 *)
1290 sed -n \
1291 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1292 ;;
1293 esac;
1294}
1295 echo
1296
1297 cat <<\_ASBOX
1298## ----------------- ##
1299## Output variables. ##
1300## ----------------- ##
1301_ASBOX
1302 echo
1303 for ac_var in $ac_subst_vars
1304 do
1305 eval ac_val=$`echo $ac_var`
1306 echo "$ac_var='"'"'$ac_val'"'"'"
1307 done | sort
1308 echo
1309
1310 if test -n "$ac_subst_files"; then
1311 cat <<\_ASBOX
1312## ------------- ##
1313## Output files. ##
1314## ------------- ##
1315_ASBOX
1316 echo
1317 for ac_var in $ac_subst_files
1318 do
1319 eval ac_val=$`echo $ac_var`
1320 echo "$ac_var='"'"'$ac_val'"'"'"
1321 done | sort
1322 echo
1323 fi
1324
1325 if test -s confdefs.h; then
1326 cat <<\_ASBOX
1327## ----------- ##
1328## confdefs.h. ##
1329## ----------- ##
1330_ASBOX
1331 echo
1332 sed "/^$/d" confdefs.h | sort
1333 echo
1334 fi
1335 test "$ac_signal" != 0 &&
1336 echo "$as_me: caught signal $ac_signal"
1337 echo "$as_me: exit $exit_status"
1338 } >&5
1339 rm -f core core.* *.core &&
1340 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1341 exit $exit_status
1342 ' 0
1343for ac_signal in 1 2 13 15; do
1344 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1345done
1346ac_signal=0
1347
1348# confdefs.h avoids OS command line length limits that DEFS can exceed.
1349rm -rf conftest* confdefs.h
1350# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1351echo >confdefs.h
1352
1353# Predefined preprocessor variables.
1354
1355cat >>confdefs.h <<_ACEOF
1356#define PACKAGE_NAME "$PACKAGE_NAME"
1357_ACEOF
1358
1359
1360cat >>confdefs.h <<_ACEOF
1361#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1362_ACEOF
1363
1364
1365cat >>confdefs.h <<_ACEOF
1366#define PACKAGE_VERSION "$PACKAGE_VERSION"
1367_ACEOF
1368
1369
1370cat >>confdefs.h <<_ACEOF
1371#define PACKAGE_STRING "$PACKAGE_STRING"
1372_ACEOF
1373
1374
1375cat >>confdefs.h <<_ACEOF
1376#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1377_ACEOF
1378
1379
1380# Let the site file select an alternate cache file if it wants to.
1381# Prefer explicitly selected file to automatically selected ones.
1382if test -z "$CONFIG_SITE"; then
1383 if test "x$prefix" != xNONE; then
1384 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1385 else
1386 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1387 fi
1388fi
1389for ac_site_file in $CONFIG_SITE; do
1390 if test -r "$ac_site_file"; then
1391 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1392echo "$as_me: loading site script $ac_site_file" >&6;}
1393 sed 's/^/| /' "$ac_site_file" >&5
1394 . "$ac_site_file"
1395 fi
1396done
1397
1398if test -r "$cache_file"; then
1399 # Some versions of bash will fail to source /dev/null (special
1400 # files actually), so we avoid doing that.
1401 if test -f "$cache_file"; then
1402 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1403echo "$as_me: loading cache $cache_file" >&6;}
1404 case $cache_file in
1405 [\\/]* | ?:[\\/]* ) . $cache_file;;
1406 *) . ./$cache_file;;
1407 esac
1408 fi
1409else
1410 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1411echo "$as_me: creating cache $cache_file" >&6;}
1412 >$cache_file
1413fi
1414
1415# Check that the precious variables saved in the cache have kept the same
1416# value.
1417ac_cache_corrupted=false
1418for ac_var in `(set) 2>&1 |
1419 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1420 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1421 eval ac_new_set=\$ac_env_${ac_var}_set
1422 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1423 eval ac_new_val="\$ac_env_${ac_var}_value"
1424 case $ac_old_set,$ac_new_set in
1425 set,)
1426 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1427echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1428 ac_cache_corrupted=: ;;
1429 ,set)
1430 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1431echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1432 ac_cache_corrupted=: ;;
1433 ,);;
1434 *)
1435 if test "x$ac_old_val" != "x$ac_new_val"; then
1436 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1437echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1438 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1439echo "$as_me: former value: $ac_old_val" >&2;}
1440 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1441echo "$as_me: current value: $ac_new_val" >&2;}
1442 ac_cache_corrupted=:
1443 fi;;
1444 esac
1445 # Pass precious variables to config.status.
1446 if test "$ac_new_set" = set; then
1447 case $ac_new_val in
1448 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1449 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1450 *) ac_arg=$ac_var=$ac_new_val ;;
1451 esac
1452 case " $ac_configure_args " in
1453 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1454 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1455 esac
1456 fi
1457done
1458if $ac_cache_corrupted; then
1459 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1460echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1461 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1462echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1463 { (exit 1); exit 1; }; }
1464fi
1465
1466ac_ext=c
1467ac_cpp='$CPP $CPPFLAGS'
1468ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1469ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1470ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1496
1497
1498
1499
1500
1501ac_aux_dir=
1502for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1503 if test -f $ac_dir/install-sh; then
1504 ac_aux_dir=$ac_dir
1505 ac_install_sh="$ac_aux_dir/install-sh -c"
1506 break
1507 elif test -f $ac_dir/install.sh; then
1508 ac_aux_dir=$ac_dir
1509 ac_install_sh="$ac_aux_dir/install.sh -c"
1510 break
1511 elif test -f $ac_dir/shtool; then
1512 ac_aux_dir=$ac_dir
1513 ac_install_sh="$ac_aux_dir/shtool install -c"
1514 break
1515 fi
1516done
1517if test -z "$ac_aux_dir"; then
1518 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1519echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1520 { (exit 1); exit 1; }; }
1521fi
1522ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1523ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1524ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1525
1526# Make sure we can run config.sub.
1527$ac_config_sub sun4 >/dev/null 2>&1 ||
1528 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1529echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1530 { (exit 1); exit 1; }; }
1531
1532echo "$as_me:$LINENO: checking build system type" >&5
1533echo $ECHO_N "checking build system type... $ECHO_C" >&6
1534if test "${ac_cv_build+set}" = set; then
1535 echo $ECHO_N "(cached) $ECHO_C" >&6
1536else
1537 ac_cv_build_alias=$build_alias
1538test -z "$ac_cv_build_alias" &&
1539 ac_cv_build_alias=`$ac_config_guess`
1540test -z "$ac_cv_build_alias" &&
1541 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1542echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1543 { (exit 1); exit 1; }; }
1544ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1545 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1546echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1547 { (exit 1); exit 1; }; }
1548
1549fi
1550echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1551echo "${ECHO_T}$ac_cv_build" >&6
1552build=$ac_cv_build
1553build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1554build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1555build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1556
1557
1558echo "$as_me:$LINENO: checking host system type" >&5
1559echo $ECHO_N "checking host system type... $ECHO_C" >&6
1560if test "${ac_cv_host+set}" = set; then
1561 echo $ECHO_N "(cached) $ECHO_C" >&6
1562else
1563 ac_cv_host_alias=$host_alias
1564test -z "$ac_cv_host_alias" &&
1565 ac_cv_host_alias=$ac_cv_build_alias
1566ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1567 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1568echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1569 { (exit 1); exit 1; }; }
1570
1571fi
1572echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1573echo "${ECHO_T}$ac_cv_host" >&6
1574host=$ac_cv_host
1575host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1576host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1577host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1578
1579
1580echo "$as_me:$LINENO: checking target system type" >&5
1581echo $ECHO_N "checking target system type... $ECHO_C" >&6
1582if test "${ac_cv_target+set}" = set; then
1583 echo $ECHO_N "(cached) $ECHO_C" >&6
1584else
1585 ac_cv_target_alias=$target_alias
1586test "x$ac_cv_target_alias" = "x" &&
1587 ac_cv_target_alias=$ac_cv_host_alias
1588ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1589 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1590echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1591 { (exit 1); exit 1; }; }
1592
1593fi
1594echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1595echo "${ECHO_T}$ac_cv_target" >&6
1596target=$ac_cv_target
1597target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1598target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1599target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1600
1601
1602# The aliases save the names the user supplied, while $host etc.
1603# will get canonicalized.
1604test -n "$target_alias" &&
1605 test "$program_prefix$program_suffix$program_transform_name" = \
1606 NONENONEs,x,x, &&
1607 program_prefix=${target_alias}-
1608
1609
1610
1611WX_MAJOR_VERSION_NUMBER=2
1612WX_MINOR_VERSION_NUMBER=5
1613WX_RELEASE_NUMBER=1
1614
1615WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1616WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1617
1618WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1619
1620WX_CURRENT=1
1621WX_REVISION=0
1622WX_AGE=0
1623
1624
1625
1626USE_UNIX=1
1627USE_OS2=0
1628USE_WIN32=0
1629USE_DOS=0
1630USE_BEOS=0
1631USE_MAC=0
1632
1633USE_AIX=
1634USE_BSD= USE_DARWIN= USE_FREEBSD=
1635USE_GNU= USE_HPUX=
1636USE_LINUX=
1637USE_NETBSD=
1638USE_OPENBSD=
1639USE_OSF= USE_SGI=
1640USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1641USE_ULTRIX=
1642USE_UNIXWARE=
1643
1644USE_ALPHA=
1645
1646NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1647
1648ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1649
1650DEFAULT_wxUSE_COCOA=0
1651DEFAULT_wxUSE_GTK=0
1652DEFAULT_wxUSE_MAC=0
1653DEFAULT_wxUSE_MGL=0
1654DEFAULT_wxUSE_MICROWIN=0
1655DEFAULT_wxUSE_MOTIF=0
1656DEFAULT_wxUSE_MSW=0
1657DEFAULT_wxUSE_PM=0
1658DEFAULT_wxUSE_X11=0
1659
1660DEFAULT_DEFAULT_wxUSE_COCOA=0
1661DEFAULT_DEFAULT_wxUSE_GTK=0
1662DEFAULT_DEFAULT_wxUSE_MAC=0
1663DEFAULT_DEFAULT_wxUSE_MGL=0
1664DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1665DEFAULT_DEFAULT_wxUSE_MOTIF=0
1666DEFAULT_DEFAULT_wxUSE_MSW=0
1667DEFAULT_DEFAULT_wxUSE_PM=0
1668DEFAULT_DEFAULT_wxUSE_X11=0
1669
1670PROGRAM_EXT=
1671SO_SUFFIX=so
1672SAMPLES_RPATH_FLAG=
1673SAMPLES_RPATH_POSTLINK=
1674
1675case "${host}" in
1676 *-hp-hpux* )
1677 USE_HPUX=1
1678 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1679 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1680 SO_SUFFIX=sl
1681 cat >>confdefs.h <<\_ACEOF
1682#define __HPUX__ 1
1683_ACEOF
1684
1685 ;;
1686 *-*-linux* )
1687 USE_LINUX=1
1688 cat >>confdefs.h <<\_ACEOF
1689#define __LINUX__ 1
1690_ACEOF
1691
1692 TMP=`uname -m`
1693 if test "x$TMP" = "xalpha"; then
1694 USE_ALPHA=1
1695 cat >>confdefs.h <<\_ACEOF
1696#define __ALPHA__ 1
1697_ACEOF
1698
1699 fi
1700 DEFAULT_DEFAULT_wxUSE_GTK=1
1701 ;;
1702 *-*-gnu* )
1703 USE_GNU=1
1704 cat >>confdefs.h <<\_ACEOF
1705#define __GNU__ 1
1706_ACEOF
1707
1708 TMP=`uname -m`
1709 if test "x$TMP" = "xalpha"; then
1710 USE_ALPHA=1
1711 cat >>confdefs.h <<\_ACEOF
1712#define __ALPHA__ 1
1713_ACEOF
1714
1715 fi
1716 DEFAULT_DEFAULT_wxUSE_GTK=1
1717 ;;
1718 *-*-irix5* | *-*-irix6* )
1719 USE_SGI=1
1720 USE_SVR4=1
1721 cat >>confdefs.h <<\_ACEOF
1722#define __SGI__ 1
1723_ACEOF
1724
1725 cat >>confdefs.h <<\_ACEOF
1726#define __SVR4__ 1
1727_ACEOF
1728
1729 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1730 ;;
1731 *-*-solaris2* )
1732 USE_SUN=1
1733 USE_SOLARIS=1
1734 USE_SVR4=1
1735 cat >>confdefs.h <<\_ACEOF
1736#define __SUN__ 1
1737_ACEOF
1738
1739 cat >>confdefs.h <<\_ACEOF
1740#define __SOLARIS__ 1
1741_ACEOF
1742
1743 cat >>confdefs.h <<\_ACEOF
1744#define __SVR4__ 1
1745_ACEOF
1746
1747 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1748 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1749 ;;
1750 *-*-sunos4* )
1751 USE_SUN=1
1752 USE_SUNOS=1
1753 USE_BSD=1
1754 cat >>confdefs.h <<\_ACEOF
1755#define __SUN__ 1
1756_ACEOF
1757
1758 cat >>confdefs.h <<\_ACEOF
1759#define __SUNOS__ 1
1760_ACEOF
1761
1762 cat >>confdefs.h <<\_ACEOF
1763#define __BSD__ 1
1764_ACEOF
1765
1766 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1767 ;;
1768 *-*-freebsd*)
1769 USE_BSD=1
1770 USE_FREEBSD=1
1771 cat >>confdefs.h <<\_ACEOF
1772#define __FREEBSD__ 1
1773_ACEOF
1774
1775 cat >>confdefs.h <<\_ACEOF
1776#define __BSD__ 1
1777_ACEOF
1778
1779 DEFAULT_DEFAULT_wxUSE_GTK=1
1780 ;;
1781 *-*-openbsd*)
1782 USE_BSD=1
1783 USE_OPENBSD=1
1784 cat >>confdefs.h <<\_ACEOF
1785#define __OPENBSD__ 1
1786_ACEOF
1787
1788 cat >>confdefs.h <<\_ACEOF
1789#define __BSD__ 1
1790_ACEOF
1791
1792 DEFAULT_DEFAULT_wxUSE_GTK=1
1793 ;;
1794 *-*-netbsd*)
1795 USE_BSD=1
1796 USE_NETBSD=1
1797 cat >>confdefs.h <<\_ACEOF
1798#define __NETBSD__ 1
1799_ACEOF
1800
1801 cat >>confdefs.h <<\_ACEOF
1802#define __BSD__ 1
1803_ACEOF
1804
1805 DEFAULT_DEFAULT_wxUSE_GTK=1
1806 ;;
1807 *-*-osf* )
1808 USE_ALPHA=1
1809 USE_OSF=1
1810 cat >>confdefs.h <<\_ACEOF
1811#define __ALPHA__ 1
1812_ACEOF
1813
1814 cat >>confdefs.h <<\_ACEOF
1815#define __OSF__ 1
1816_ACEOF
1817
1818 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1819 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1820 ;;
1821 *-*-dgux5* )
1822 USE_ALPHA=1
1823 USE_SVR4=1
1824 cat >>confdefs.h <<\_ACEOF
1825#define __ALPHA__ 1
1826_ACEOF
1827
1828 cat >>confdefs.h <<\_ACEOF
1829#define __SVR4__ 1
1830_ACEOF
1831
1832 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1833 ;;
1834 *-*-sysv5* )
1835 USE_SYSV=1
1836 USE_SVR4=1
1837 cat >>confdefs.h <<\_ACEOF
1838#define __SYSV__ 1
1839_ACEOF
1840
1841 cat >>confdefs.h <<\_ACEOF
1842#define __SVR4__ 1
1843_ACEOF
1844
1845 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1846 ;;
1847 *-*-aix* )
1848 USE_AIX=1
1849 USE_SYSV=1
1850 USE_SVR4=1
1851 SO_SUFFIX=a
1852 cat >>confdefs.h <<\_ACEOF
1853#define __AIX__ 1
1854_ACEOF
1855
1856 cat >>confdefs.h <<\_ACEOF
1857#define __SYSV__ 1
1858_ACEOF
1859
1860 cat >>confdefs.h <<\_ACEOF
1861#define __SVR4__ 1
1862_ACEOF
1863
1864 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1865 ;;
1866
1867 *-*-*UnixWare*)
1868 USE_SYSV=1
1869 USE_SVR4=1
1870 USE_UNIXWARE=1
1871 cat >>confdefs.h <<\_ACEOF
1872#define __UNIXWARE__ 1
1873_ACEOF
1874
1875 ;;
1876
1877 *-*-cygwin* | *-*-mingw32* )
1878 SO_SUFFIX=dll
1879 PROGRAM_EXT=".exe"
1880 RESCOMP=windres
1881 DEFAULT_DEFAULT_wxUSE_MSW=1
1882 ;;
1883
1884 *-pc-msdosdjgpp )
1885 USE_UNIX=0
1886 USE_DOS=1
1887 cat >>confdefs.h <<\_ACEOF
1888#define __DOS__ 1
1889_ACEOF
1890
1891 PROGRAM_EXT=".exe"
1892 DEFAULT_DEFAULT_wxUSE_MGL=1
1893 LIBS="$LIBS -lstdc++"
1894 ;;
1895
1896 *-pc-os2_emx | *-pc-os2-emx )
1897 cat >>confdefs.h <<\_ACEOF
1898#define __EMX__ 1
1899_ACEOF
1900
1901 USE_OS2=1
1902 cat >>confdefs.h <<\_ACEOF
1903#define __OS2__ 1
1904_ACEOF
1905
1906 PROGRAM_EXT=".exe"
1907 DEFAULT_DEFAULT_wxUSE_PM=1
1908 CXX=gcc
1909 LDFLAGS="$LDFLAGS -Zcrtdll -Zsysv-signals"
1910 ac_executable_extensions=".exe"
1911 export ac_executable_extensions
1912 ac_save_IFS="$IFS"
1913 IFS='\\'
1914 ac_TEMP_PATH=
1915 for ac_dir in $PATH; do
1916 IFS=$ac_save_IFS
1917 if test -z "$ac_TEMP_PATH"; then
1918 ac_TEMP_PATH="$ac_dir"
1919 else
1920 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1921 fi
1922 done
1923 export PATH="$ac_TEMP_PATH"
1924 unset ac_TEMP_PATH
1925 ;;
1926
1927 powerpc-*-darwin* )
1928 USE_BSD=1
1929 USE_DARWIN=1
1930 SO_SUFFIX=dylib
1931 cat >>confdefs.h <<\_ACEOF
1932#define __BSD__ 1
1933_ACEOF
1934
1935 cat >>confdefs.h <<\_ACEOF
1936#define __DARWIN__ 1
1937_ACEOF
1938
1939 cat >>confdefs.h <<\_ACEOF
1940#define __POWERPC__ 1
1941_ACEOF
1942
1943 cat >>confdefs.h <<\_ACEOF
1944#define TARGET_CARBON 1
1945_ACEOF
1946
1947 DEFAULT_DEFAULT_wxUSE_MAC=1
1948 ;;
1949
1950 *-*-beos* )
1951 USE_BEOS=1
1952 cat >>confdefs.h <<\_ACEOF
1953#define __BEOS__ 1
1954_ACEOF
1955
1956 ;;
1957
1958 *)
1959 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1960echo "$as_me: error: unknown system type ${host}." >&2;}
1961 { (exit 1); exit 1; }; }
1962esac
1963
1964
1965
1966
1967 wx_arg_cache_file="configarg.cache"
1968 echo "loading argument cache $wx_arg_cache_file"
1969 rm -f ${wx_arg_cache_file}.tmp
1970 touch ${wx_arg_cache_file}.tmp
1971 touch ${wx_arg_cache_file}
1972
1973
1974DEBUG_CONFIGURE=0
1975if test $DEBUG_CONFIGURE = 1; then
1976 DEFAULT_wxUSE_UNIVERSAL=no
1977 DEFAULT_wxUSE_STL=no
1978
1979 DEFAULT_wxUSE_NANOX=no
1980
1981 DEFAULT_wxUSE_THREADS=yes
1982
1983 DEFAULT_wxUSE_SHARED=yes
1984 DEFAULT_wxUSE_OPTIMISE=no
1985 DEFAULT_wxUSE_PROFILE=no
1986 DEFAULT_wxUSE_NO_DEPS=no
1987 DEFAULT_wxUSE_NO_RTTI=no
1988 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1989 DEFAULT_wxUSE_PERMISSIVE=no
1990 DEFAULT_wxUSE_DEBUG_FLAG=yes
1991 DEFAULT_wxUSE_DEBUG_INFO=yes
1992 DEFAULT_wxUSE_DEBUG_GDB=yes
1993 DEFAULT_wxUSE_MEM_TRACING=no
1994 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1995 DEFAULT_wxUSE_DMALLOC=no
1996 DEFAULT_wxUSE_APPLE_IEEE=no
1997
1998 DEFAULT_wxUSE_EXCEPTIONS=no
1999 DEFAULT_wxUSE_LOG=yes
2000 DEFAULT_wxUSE_LOGWINDOW=no
2001 DEFAULT_wxUSE_LOGGUI=no
2002 DEFAULT_wxUSE_LOGDIALOG=no
2003
2004 DEFAULT_wxUSE_GUI=yes
2005 DEFAULT_wxUSE_CONTROLS=no
2006
2007 DEFAULT_wxUSE_REGEX=no
2008 DEFAULT_wxUSE_XML=no
2009 DEFAULT_wxUSE_EXPAT=no
2010 DEFAULT_wxUSE_ZLIB=no
2011 DEFAULT_wxUSE_LIBPNG=no
2012 DEFAULT_wxUSE_LIBJPEG=no
2013 DEFAULT_wxUSE_LIBTIFF=no
2014 DEFAULT_wxUSE_LIBXPM=no
2015 DEFAULT_wxUSE_LIBMSPACK=no
2016 DEFAULT_wxUSE_LIBSDL=no
2017 DEFAULT_wxUSE_ODBC=no
2018 DEFAULT_wxUSE_OPENGL=no
2019
2020 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2021 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2022 DEFAULT_wxUSE_STD_IOSTREAM=no
2023 DEFAULT_wxUSE_CMDLINE_PARSER=no
2024 DEFAULT_wxUSE_DATETIME=no
2025 DEFAULT_wxUSE_TIMER=no
2026 DEFAULT_wxUSE_STOPWATCH=no
2027 DEFAULT_wxUSE_FILE=no
2028 DEFAULT_wxUSE_FFILE=no
2029 DEFAULT_wxUSE_TEXTBUFFER=no
2030 DEFAULT_wxUSE_TEXTFILE=no
2031 DEFAULT_wxUSE_SOUND=no
2032 DEFAULT_wxUSE_INTL=no
2033 DEFAULT_wxUSE_CONFIG=no
2034 DEFAULT_wxUSE_FONTMAP=no
2035 DEFAULT_wxUSE_STREAMS=no
2036 DEFAULT_wxUSE_SOCKETS=no
2037 DEFAULT_wxUSE_OLE=no
2038 DEFAULT_wxUSE_DATAOBJ=no
2039 DEFAULT_wxUSE_DIALUP_MANAGER=no
2040 DEFAULT_wxUSE_JOYSTICK=no
2041 DEFAULT_wxUSE_DYNLIB_CLASS=no
2042 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2043 DEFAULT_wxUSE_LONGLONG=no
2044 DEFAULT_wxUSE_GEOMETRY=no
2045
2046 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2047 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2048 DEFAULT_wxUSE_POSTSCRIPT=no
2049
2050 DEFAULT_wxUSE_CLIPBOARD=no
2051 DEFAULT_wxUSE_TOOLTIPS=no
2052 DEFAULT_wxUSE_DRAG_AND_DROP=no
2053 DEFAULT_wxUSE_DRAGIMAGE=no
2054 DEFAULT_wxUSE_SPLINES=no
2055
2056 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2057 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2058 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2059
2060 DEFAULT_wxUSE_RESOURCES=no
2061 DEFAULT_wxUSE_CONSTRAINTS=no
2062 DEFAULT_wxUSE_IPC=no
2063 DEFAULT_wxUSE_HELP=no
2064 DEFAULT_wxUSE_MS_HTML_HELP=no
2065 DEFAULT_wxUSE_WXHTML_HELP=no
2066 DEFAULT_wxUSE_TREELAYOUT=no
2067 DEFAULT_wxUSE_METAFILE=no
2068 DEFAULT_wxUSE_MIMETYPE=no
2069 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2070 DEFAULT_wxUSE_PROTOCOL=no
2071 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2072 DEFAULT_wxUSE_PROTOCOL_FTP=no
2073 DEFAULT_wxUSE_PROTOCOL_FILE=no
2074 DEFAULT_wxUSE_URL=no
2075
2076 DEFAULT_wxUSE_COMMONDLGS=no
2077 DEFAULT_wxUSE_CHOICEDLG=no
2078 DEFAULT_wxUSE_COLOURDLG=no
2079 DEFAULT_wxUSE_DIRDLG=no
2080 DEFAULT_wxUSE_FILEDLG=no
2081 DEFAULT_wxUSE_FINDREPLDLG=no
2082 DEFAULT_wxUSE_FONTDLG=no
2083 DEFAULT_wxUSE_MSGDLG=no
2084 DEFAULT_wxUSE_NUMBERDLG=no
2085 DEFAULT_wxUSE_TEXTDLG=no
2086 DEFAULT_wxUSE_SPLASH=no
2087 DEFAULT_wxUSE_STARTUP_TIPS=no
2088 DEFAULT_wxUSE_PROGRESSDLG=no
2089 DEFAULT_wxUSE_WIZARDDLG=no
2090
2091 DEFAULT_wxUSE_MENUS=no
2092 DEFAULT_wxUSE_MINIFRAME=no
2093 DEFAULT_wxUSE_HTML=no
2094 DEFAULT_wxUSE_FILESYSTEM=no
2095 DEFAULT_wxUSE_FS_INET=no
2096 DEFAULT_wxUSE_FS_ZIP=no
2097 DEFAULT_wxUSE_BUSYINFO=no
2098 DEFAULT_wxUSE_ZIPSTREAM=no
2099 DEFAULT_wxUSE_GZSTREAM=no
2100 DEFAULT_wxUSE_VALIDATORS=no
2101
2102 DEFAULT_wxUSE_ACCEL=no
2103 DEFAULT_wxUSE_BUTTON=no
2104 DEFAULT_wxUSE_BMPBUTTON=no
2105 DEFAULT_wxUSE_CALCTRL=no
2106 DEFAULT_wxUSE_CARET=no
2107 DEFAULT_wxUSE_CHECKBOX=no
2108 DEFAULT_wxUSE_CHECKLST=no
2109 DEFAULT_wxUSE_CHOICE=no
2110 DEFAULT_wxUSE_COMBOBOX=no
2111 DEFAULT_wxUSE_DISPLAY=no
2112 DEFAULT_wxUSE_GAUGE=no
2113 DEFAULT_wxUSE_GRID=no
2114 DEFAULT_wxUSE_IMAGLIST=no
2115 DEFAULT_wxUSE_LISTBOOK=no
2116 DEFAULT_wxUSE_LISTBOX=no
2117 DEFAULT_wxUSE_LISTCTRL=no
2118 DEFAULT_wxUSE_NOTEBOOK=no
2119 DEFAULT_wxUSE_RADIOBOX=no
2120 DEFAULT_wxUSE_RADIOBTN=no
2121 DEFAULT_wxUSE_SASH=no
2122 DEFAULT_wxUSE_SCROLLBAR=no
2123 DEFAULT_wxUSE_SLIDER=no
2124 DEFAULT_wxUSE_SPINBTN=no
2125 DEFAULT_wxUSE_SPINCTRL=no
2126 DEFAULT_wxUSE_SPLITTER=no
2127 DEFAULT_wxUSE_STATBMP=no
2128 DEFAULT_wxUSE_STATBOX=no
2129 DEFAULT_wxUSE_STATLINE=no
2130 DEFAULT_wxUSE_STATTEXT=no
2131 DEFAULT_wxUSE_STATUSBAR=yes
2132 DEFAULT_wxUSE_TABDIALOG=no
2133 DEFAULT_wxUSE_TEXTCTRL=no
2134 DEFAULT_wxUSE_TOGGLEBTN=no
2135 DEFAULT_wxUSE_TOOLBAR=no
2136 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2137 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2138 DEFAULT_wxUSE_TREECTRL=no
2139 DEFAULT_wxUSE_POPUPWIN=no
2140 DEFAULT_wxUSE_TIPWINDOW=no
2141
2142 DEFAULT_wxUSE_UNICODE=no
2143 DEFAULT_wxUSE_UNICODE_MSLU=no
2144 DEFAULT_wxUSE_WCSRTOMBS=no
2145
2146 DEFAULT_wxUSE_PALETTE=no
2147 DEFAULT_wxUSE_IMAGE=no
2148 DEFAULT_wxUSE_GIF=no
2149 DEFAULT_wxUSE_PCX=no
2150 DEFAULT_wxUSE_PNM=no
2151 DEFAULT_wxUSE_IFF=no
2152 DEFAULT_wxUSE_XPM=no
2153 DEFAULT_wxUSE_ICO_CUR=no
2154 DEFAULT_wxUSE_ACCESSIBILITY=no
2155
2156 DEFAULT_wxUSE_MONOLITHIC=no
2157 DEFAULT_wxUSE_PLUGINS=no
2158 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2159else
2160 DEFAULT_wxUSE_UNIVERSAL=no
2161 DEFAULT_wxUSE_STL=no
2162
2163 DEFAULT_wxUSE_NANOX=no
2164
2165 DEFAULT_wxUSE_THREADS=yes
2166
2167 DEFAULT_wxUSE_SHARED=yes
2168 DEFAULT_wxUSE_OPTIMISE=yes
2169 DEFAULT_wxUSE_PROFILE=no
2170 DEFAULT_wxUSE_NO_DEPS=no
2171 DEFAULT_wxUSE_NO_RTTI=no
2172 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2173 DEFAULT_wxUSE_PERMISSIVE=no
2174 DEFAULT_wxUSE_DEBUG_FLAG=no
2175 DEFAULT_wxUSE_DEBUG_INFO=no
2176 DEFAULT_wxUSE_DEBUG_GDB=no
2177 DEFAULT_wxUSE_MEM_TRACING=no
2178 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2179 DEFAULT_wxUSE_DMALLOC=no
2180 DEFAULT_wxUSE_APPLE_IEEE=yes
2181
2182 DEFAULT_wxUSE_EXCEPTIONS=yes
2183 DEFAULT_wxUSE_LOG=yes
2184 DEFAULT_wxUSE_LOGWINDOW=yes
2185 DEFAULT_wxUSE_LOGGUI=yes
2186 DEFAULT_wxUSE_LOGDIALOG=yes
2187
2188 DEFAULT_wxUSE_GUI=yes
2189
2190 DEFAULT_wxUSE_REGEX=yes
2191 DEFAULT_wxUSE_XML=yes
2192 DEFAULT_wxUSE_EXPAT=yes
2193 DEFAULT_wxUSE_ZLIB=yes
2194 DEFAULT_wxUSE_LIBPNG=yes
2195 DEFAULT_wxUSE_LIBJPEG=yes
2196 DEFAULT_wxUSE_LIBTIFF=yes
2197 DEFAULT_wxUSE_LIBXPM=yes
2198 DEFAULT_wxUSE_LIBMSPACK=yes
2199 DEFAULT_wxUSE_LIBSDL=no
2200 DEFAULT_wxUSE_ODBC=no
2201 DEFAULT_wxUSE_OPENGL=no
2202
2203 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2204 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2205 DEFAULT_wxUSE_STD_IOSTREAM=no
2206 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2207 DEFAULT_wxUSE_DATETIME=yes
2208 DEFAULT_wxUSE_TIMER=yes
2209 DEFAULT_wxUSE_STOPWATCH=yes
2210 DEFAULT_wxUSE_FILE=yes
2211 DEFAULT_wxUSE_FFILE=yes
2212 DEFAULT_wxUSE_TEXTBUFFER=yes
2213 DEFAULT_wxUSE_TEXTFILE=yes
2214 DEFAULT_wxUSE_SOUND=yes
2215 DEFAULT_wxUSE_INTL=yes
2216 DEFAULT_wxUSE_CONFIG=yes
2217 DEFAULT_wxUSE_FONTMAP=yes
2218 DEFAULT_wxUSE_STREAMS=yes
2219 DEFAULT_wxUSE_SOCKETS=yes
2220 DEFAULT_wxUSE_OLE=yes
2221 DEFAULT_wxUSE_DATAOBJ=yes
2222 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2223 DEFAULT_wxUSE_JOYSTICK=yes
2224 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2225 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2226 DEFAULT_wxUSE_LONGLONG=yes
2227 DEFAULT_wxUSE_GEOMETRY=yes
2228
2229 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2230 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2231 DEFAULT_wxUSE_POSTSCRIPT=yes
2232
2233 DEFAULT_wxUSE_CLIPBOARD=yes
2234 DEFAULT_wxUSE_TOOLTIPS=yes
2235 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2236 DEFAULT_wxUSE_DRAGIMAGE=yes
2237 DEFAULT_wxUSE_SPLINES=yes
2238
2239 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2240 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2241 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2242
2243 DEFAULT_wxUSE_RESOURCES=no
2244 DEFAULT_wxUSE_CONSTRAINTS=yes
2245 DEFAULT_wxUSE_IPC=yes
2246 DEFAULT_wxUSE_HELP=yes
2247 DEFAULT_wxUSE_MS_HTML_HELP=yes
2248 DEFAULT_wxUSE_WXHTML_HELP=yes
2249 DEFAULT_wxUSE_TREELAYOUT=yes
2250 DEFAULT_wxUSE_METAFILE=yes
2251 DEFAULT_wxUSE_MIMETYPE=yes
2252 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2253 DEFAULT_wxUSE_PROTOCOL=yes
2254 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2255 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2256 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2257 DEFAULT_wxUSE_URL=yes
2258
2259 DEFAULT_wxUSE_COMMONDLGS=yes
2260 DEFAULT_wxUSE_CHOICEDLG=yes
2261 DEFAULT_wxUSE_COLOURDLG=yes
2262 DEFAULT_wxUSE_DIRDLG=yes
2263 DEFAULT_wxUSE_FILEDLG=yes
2264 DEFAULT_wxUSE_FINDREPLDLG=yes
2265 DEFAULT_wxUSE_FONTDLG=yes
2266 DEFAULT_wxUSE_MSGDLG=yes
2267 DEFAULT_wxUSE_NUMBERDLG=yes
2268 DEFAULT_wxUSE_TEXTDLG=yes
2269 DEFAULT_wxUSE_SPLASH=yes
2270 DEFAULT_wxUSE_STARTUP_TIPS=yes
2271 DEFAULT_wxUSE_PROGRESSDLG=yes
2272 DEFAULT_wxUSE_WIZARDDLG=yes
2273
2274 DEFAULT_wxUSE_MENUS=yes
2275 DEFAULT_wxUSE_MINIFRAME=yes
2276 DEFAULT_wxUSE_HTML=yes
2277 DEFAULT_wxUSE_FILESYSTEM=yes
2278 DEFAULT_wxUSE_FS_INET=yes
2279 DEFAULT_wxUSE_FS_ZIP=yes
2280 DEFAULT_wxUSE_BUSYINFO=yes
2281 DEFAULT_wxUSE_ZIPSTREAM=yes
2282 DEFAULT_wxUSE_GZSTREAM=yes
2283 DEFAULT_wxUSE_VALIDATORS=yes
2284
2285 DEFAULT_wxUSE_ACCEL=yes
2286 DEFAULT_wxUSE_BUTTON=yes
2287 DEFAULT_wxUSE_BMPBUTTON=yes
2288 DEFAULT_wxUSE_CALCTRL=yes
2289 DEFAULT_wxUSE_CARET=yes
2290 DEFAULT_wxUSE_CHECKBOX=yes
2291 DEFAULT_wxUSE_CHECKLST=yes
2292 DEFAULT_wxUSE_CHOICE=yes
2293 DEFAULT_wxUSE_COMBOBOX=yes
2294 DEFAULT_wxUSE_DISPLAY=no
2295 DEFAULT_wxUSE_GAUGE=yes
2296 DEFAULT_wxUSE_GRID=yes
2297 DEFAULT_wxUSE_IMAGLIST=yes
2298 DEFAULT_wxUSE_LISTBOOK=yes
2299 DEFAULT_wxUSE_LISTBOX=yes
2300 DEFAULT_wxUSE_LISTCTRL=yes
2301 DEFAULT_wxUSE_NOTEBOOK=yes
2302 DEFAULT_wxUSE_RADIOBOX=yes
2303 DEFAULT_wxUSE_RADIOBTN=yes
2304 DEFAULT_wxUSE_SASH=yes
2305 DEFAULT_wxUSE_SCROLLBAR=yes
2306 DEFAULT_wxUSE_SLIDER=yes
2307 DEFAULT_wxUSE_SPINBTN=yes
2308 DEFAULT_wxUSE_SPINCTRL=yes
2309 DEFAULT_wxUSE_SPLITTER=yes
2310 DEFAULT_wxUSE_STATBMP=yes
2311 DEFAULT_wxUSE_STATBOX=yes
2312 DEFAULT_wxUSE_STATLINE=yes
2313 DEFAULT_wxUSE_STATTEXT=yes
2314 DEFAULT_wxUSE_STATUSBAR=yes
2315 DEFAULT_wxUSE_TABDIALOG=no
2316 DEFAULT_wxUSE_TEXTCTRL=yes
2317 DEFAULT_wxUSE_TOGGLEBTN=yes
2318 DEFAULT_wxUSE_TOOLBAR=yes
2319 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2320 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2321 DEFAULT_wxUSE_TREECTRL=yes
2322 DEFAULT_wxUSE_POPUPWIN=yes
2323 DEFAULT_wxUSE_TIPWINDOW=yes
2324
2325 DEFAULT_wxUSE_UNICODE=no
2326 DEFAULT_wxUSE_UNICODE_MSLU=yes
2327 DEFAULT_wxUSE_WCSRTOMBS=no
2328
2329 DEFAULT_wxUSE_PALETTE=yes
2330 DEFAULT_wxUSE_IMAGE=yes
2331 DEFAULT_wxUSE_GIF=yes
2332 DEFAULT_wxUSE_PCX=yes
2333 DEFAULT_wxUSE_IFF=no
2334 DEFAULT_wxUSE_PNM=yes
2335 DEFAULT_wxUSE_XPM=yes
2336 DEFAULT_wxUSE_ICO_CUR=yes
2337 DEFAULT_wxUSE_ACCESSIBILITY=no
2338
2339 DEFAULT_wxUSE_MONOLITHIC=no
2340 DEFAULT_wxUSE_PLUGINS=no
2341 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2342fi
2343
2344
2345
2346for toolkit in `echo $ALL_TOOLKITS`; do
2347 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2348 if test "x$LINE" != "x" ; then
2349 has_toolkit_in_cache=1
2350 eval "DEFAULT_$LINE"
2351 eval "CACHE_$toolkit=1"
2352 fi
2353done
2354
2355
2356
2357 enablestring=
2358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2359echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2360 no_cache=0
2361 # Check whether --enable-gui or --disable-gui was given.
2362if test "${enable_gui+set}" = set; then
2363 enableval="$enable_gui"
2364
2365 if test "$enableval" = yes; then
2366 ac_cv_use_gui='wxUSE_GUI=yes'
2367 else
2368 ac_cv_use_gui='wxUSE_GUI=no'
2369 fi
2370
2371else
2372
2373 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2374 if test "x$LINE" != x ; then
2375 eval "DEFAULT_$LINE"
2376 else
2377 no_cache=1
2378 fi
2379
2380 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2381
2382fi;
2383
2384 eval "$ac_cv_use_gui"
2385 if test "$no_cache" != 1; then
2386 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2387 fi
2388
2389 if test "$wxUSE_GUI" = yes; then
2390 echo "$as_me:$LINENO: result: yes" >&5
2391echo "${ECHO_T}yes" >&6
2392 else
2393 echo "$as_me:$LINENO: result: no" >&5
2394echo "${ECHO_T}no" >&6
2395 fi
2396
2397
2398 enablestring=
2399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2400echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2401 no_cache=0
2402 # Check whether --enable-monolithic or --disable-monolithic was given.
2403if test "${enable_monolithic+set}" = set; then
2404 enableval="$enable_monolithic"
2405
2406 if test "$enableval" = yes; then
2407 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2408 else
2409 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2410 fi
2411
2412else
2413
2414 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2415 if test "x$LINE" != x ; then
2416 eval "DEFAULT_$LINE"
2417 else
2418 no_cache=1
2419 fi
2420
2421 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2422
2423fi;
2424
2425 eval "$ac_cv_use_monolithic"
2426 if test "$no_cache" != 1; then
2427 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2428 fi
2429
2430 if test "$wxUSE_MONOLITHIC" = yes; then
2431 echo "$as_me:$LINENO: result: yes" >&5
2432echo "${ECHO_T}yes" >&6
2433 else
2434 echo "$as_me:$LINENO: result: no" >&5
2435echo "${ECHO_T}no" >&6
2436 fi
2437
2438
2439 enablestring=
2440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2441echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2442 no_cache=0
2443 # Check whether --enable-plugins or --disable-plugins was given.
2444if test "${enable_plugins+set}" = set; then
2445 enableval="$enable_plugins"
2446
2447 if test "$enableval" = yes; then
2448 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2449 else
2450 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2451 fi
2452
2453else
2454
2455 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2456 if test "x$LINE" != x ; then
2457 eval "DEFAULT_$LINE"
2458 else
2459 no_cache=1
2460 fi
2461
2462 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2463
2464fi;
2465
2466 eval "$ac_cv_use_plugins"
2467 if test "$no_cache" != 1; then
2468 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2469 fi
2470
2471 if test "$wxUSE_PLUGINS" = yes; then
2472 echo "$as_me:$LINENO: result: yes" >&5
2473echo "${ECHO_T}yes" >&6
2474 else
2475 echo "$as_me:$LINENO: result: no" >&5
2476echo "${ECHO_T}no" >&6
2477 fi
2478
2479
2480if test "$wxUSE_GUI" = "yes"; then
2481
2482
2483 enablestring=
2484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2485echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2486 no_cache=0
2487 # Check whether --enable-universal or --disable-universal was given.
2488if test "${enable_universal+set}" = set; then
2489 enableval="$enable_universal"
2490
2491 if test "$enableval" = yes; then
2492 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2493 else
2494 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2495 fi
2496
2497else
2498
2499 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2500 if test "x$LINE" != x ; then
2501 eval "DEFAULT_$LINE"
2502 else
2503 no_cache=1
2504 fi
2505
2506 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2507
2508fi;
2509
2510 eval "$ac_cv_use_universal"
2511 if test "$no_cache" != 1; then
2512 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2513 fi
2514
2515 if test "$wxUSE_UNIVERSAL" = yes; then
2516 echo "$as_me:$LINENO: result: yes" >&5
2517echo "${ECHO_T}yes" >&6
2518 else
2519 echo "$as_me:$LINENO: result: no" >&5
2520echo "${ECHO_T}no" >&6
2521 fi
2522
2523
2524# Check whether --with-gtk or --without-gtk was given.
2525if test "${with_gtk+set}" = set; then
2526 withval="$with_gtk"
2527 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2528fi;
2529
2530# Check whether --with-motif or --without-motif was given.
2531if test "${with_motif+set}" = set; then
2532 withval="$with_motif"
2533 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2534fi;
2535
2536# Check whether --with-mac or --without-mac was given.
2537if test "${with_mac+set}" = set; then
2538 withval="$with_mac"
2539 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2540fi;
2541
2542# Check whether --with-cocoa or --without-cocoa was given.
2543if test "${with_cocoa+set}" = set; then
2544 withval="$with_cocoa"
2545 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2546fi;
2547
2548# Check whether --with-wine or --without-wine was given.
2549if test "${with_wine+set}" = set; then
2550 withval="$with_wine"
2551 wxUSE_WINE="$withval" CACHE_WINE=1
2552fi;
2553
2554# Check whether --with-msw or --without-msw was given.
2555if test "${with_msw+set}" = set; then
2556 withval="$with_msw"
2557 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2558fi;
2559
2560# Check whether --with-pm or --without-pm was given.
2561if test "${with_pm+set}" = set; then
2562 withval="$with_pm"
2563 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2564fi;
2565
2566# Check whether --with-mgl or --without-mgl was given.
2567if test "${with_mgl+set}" = set; then
2568 withval="$with_mgl"
2569 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2570fi;
2571
2572# Check whether --with-microwin or --without-microwin was given.
2573if test "${with_microwin+set}" = set; then
2574 withval="$with_microwin"
2575 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2576fi;
2577
2578# Check whether --with-x11 or --without-x11 was given.
2579if test "${with_x11+set}" = set; then
2580 withval="$with_x11"
2581 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2582fi;
2583
2584 enablestring=
2585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2586echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2587 no_cache=0
2588 # Check whether --enable-nanox or --disable-nanox was given.
2589if test "${enable_nanox+set}" = set; then
2590 enableval="$enable_nanox"
2591
2592 if test "$enableval" = yes; then
2593 ac_cv_use_nanox='wxUSE_NANOX=yes'
2594 else
2595 ac_cv_use_nanox='wxUSE_NANOX=no'
2596 fi
2597
2598else
2599
2600 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2601 if test "x$LINE" != x ; then
2602 eval "DEFAULT_$LINE"
2603 else
2604 no_cache=1
2605 fi
2606
2607 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2608
2609fi;
2610
2611 eval "$ac_cv_use_nanox"
2612 if test "$no_cache" != 1; then
2613 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2614 fi
2615
2616 if test "$wxUSE_NANOX" = yes; then
2617 echo "$as_me:$LINENO: result: yes" >&5
2618echo "${ECHO_T}yes" >&6
2619 else
2620 echo "$as_me:$LINENO: result: no" >&5
2621echo "${ECHO_T}no" >&6
2622 fi
2623
2624
2625
2626 enablestring=
2627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2628echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2629 no_cache=0
2630 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2631if test "${enable_gtk2+set}" = set; then
2632 enableval="$enable_gtk2"
2633
2634 if test "$enableval" = yes; then
2635 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2636 else
2637 ac_cv_use_gtk2='wxUSE_GTK2=no'
2638 fi
2639
2640else
2641
2642 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2643 if test "x$LINE" != x ; then
2644 eval "DEFAULT_$LINE"
2645 else
2646 no_cache=1
2647 fi
2648
2649 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2650
2651fi;
2652
2653 eval "$ac_cv_use_gtk2"
2654 if test "$no_cache" != 1; then
2655 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2656 fi
2657
2658 if test "$wxUSE_GTK2" = yes; then
2659 echo "$as_me:$LINENO: result: yes" >&5
2660echo "${ECHO_T}yes" >&6
2661 else
2662 echo "$as_me:$LINENO: result: no" >&5
2663echo "${ECHO_T}no" >&6
2664 fi
2665
2666
2667
2668 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2669echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2670 no_cache=0
2671
2672# Check whether --with-libpng or --without-libpng was given.
2673if test "${with_libpng+set}" = set; then
2674 withval="$with_libpng"
2675
2676 if test "$withval" = yes; then
2677 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2678 elif test "$withval" = no; then
2679 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2680 elif test "$withval" = sys; then
2681 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2682 elif test "$withval" = builtin; then
2683 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2684 else
2685 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2686echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2687 { (exit 1); exit 1; }; }
2688 fi
2689
2690else
2691
2692 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2693 if test "x$LINE" != x ; then
2694 eval "DEFAULT_$LINE"
2695 else
2696 no_cache=1
2697 fi
2698
2699 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2700
2701fi;
2702
2703 eval "$ac_cv_use_libpng"
2704 if test "$no_cache" != 1; then
2705 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2706 fi
2707
2708 if test "$wxUSE_LIBPNG" = yes; then
2709 echo "$as_me:$LINENO: result: yes" >&5
2710echo "${ECHO_T}yes" >&6
2711 elif test "$wxUSE_LIBPNG" = no; then
2712 echo "$as_me:$LINENO: result: no" >&5
2713echo "${ECHO_T}no" >&6
2714 elif test "$wxUSE_LIBPNG" = sys; then
2715 echo "$as_me:$LINENO: result: system version" >&5
2716echo "${ECHO_T}system version" >&6
2717 elif test "$wxUSE_LIBPNG" = builtin; then
2718 echo "$as_me:$LINENO: result: builtin version" >&5
2719echo "${ECHO_T}builtin version" >&6
2720 else
2721 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2722echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2723 { (exit 1); exit 1; }; }
2724 fi
2725
2726
2727 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2728echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2729 no_cache=0
2730
2731# Check whether --with-libjpeg or --without-libjpeg was given.
2732if test "${with_libjpeg+set}" = set; then
2733 withval="$with_libjpeg"
2734
2735 if test "$withval" = yes; then
2736 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2737 elif test "$withval" = no; then
2738 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2739 elif test "$withval" = sys; then
2740 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2741 elif test "$withval" = builtin; then
2742 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2743 else
2744 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2745echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2746 { (exit 1); exit 1; }; }
2747 fi
2748
2749else
2750
2751 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2752 if test "x$LINE" != x ; then
2753 eval "DEFAULT_$LINE"
2754 else
2755 no_cache=1
2756 fi
2757
2758 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2759
2760fi;
2761
2762 eval "$ac_cv_use_libjpeg"
2763 if test "$no_cache" != 1; then
2764 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2765 fi
2766
2767 if test "$wxUSE_LIBJPEG" = yes; then
2768 echo "$as_me:$LINENO: result: yes" >&5
2769echo "${ECHO_T}yes" >&6
2770 elif test "$wxUSE_LIBJPEG" = no; then
2771 echo "$as_me:$LINENO: result: no" >&5
2772echo "${ECHO_T}no" >&6
2773 elif test "$wxUSE_LIBJPEG" = sys; then
2774 echo "$as_me:$LINENO: result: system version" >&5
2775echo "${ECHO_T}system version" >&6
2776 elif test "$wxUSE_LIBJPEG" = builtin; then
2777 echo "$as_me:$LINENO: result: builtin version" >&5
2778echo "${ECHO_T}builtin version" >&6
2779 else
2780 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2781echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2782 { (exit 1); exit 1; }; }
2783 fi
2784
2785
2786 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2787echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2788 no_cache=0
2789
2790# Check whether --with-libtiff or --without-libtiff was given.
2791if test "${with_libtiff+set}" = set; then
2792 withval="$with_libtiff"
2793
2794 if test "$withval" = yes; then
2795 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2796 elif test "$withval" = no; then
2797 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2798 elif test "$withval" = sys; then
2799 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2800 elif test "$withval" = builtin; then
2801 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2802 else
2803 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2804echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2805 { (exit 1); exit 1; }; }
2806 fi
2807
2808else
2809
2810 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2811 if test "x$LINE" != x ; then
2812 eval "DEFAULT_$LINE"
2813 else
2814 no_cache=1
2815 fi
2816
2817 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2818
2819fi;
2820
2821 eval "$ac_cv_use_libtiff"
2822 if test "$no_cache" != 1; then
2823 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2824 fi
2825
2826 if test "$wxUSE_LIBTIFF" = yes; then
2827 echo "$as_me:$LINENO: result: yes" >&5
2828echo "${ECHO_T}yes" >&6
2829 elif test "$wxUSE_LIBTIFF" = no; then
2830 echo "$as_me:$LINENO: result: no" >&5
2831echo "${ECHO_T}no" >&6
2832 elif test "$wxUSE_LIBTIFF" = sys; then
2833 echo "$as_me:$LINENO: result: system version" >&5
2834echo "${ECHO_T}system version" >&6
2835 elif test "$wxUSE_LIBTIFF" = builtin; then
2836 echo "$as_me:$LINENO: result: builtin version" >&5
2837echo "${ECHO_T}builtin version" >&6
2838 else
2839 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2840echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2841 { (exit 1); exit 1; }; }
2842 fi
2843
2844
2845 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2846echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2847 no_cache=0
2848
2849# Check whether --with-libxpm or --without-libxpm was given.
2850if test "${with_libxpm+set}" = set; then
2851 withval="$with_libxpm"
2852
2853 if test "$withval" = yes; then
2854 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2855 elif test "$withval" = no; then
2856 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2857 elif test "$withval" = sys; then
2858 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2859 elif test "$withval" = builtin; then
2860 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2861 else
2862 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2863echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2864 { (exit 1); exit 1; }; }
2865 fi
2866
2867else
2868
2869 LINE=`grep "wxUSE_LIBXPM" ${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_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2877
2878fi;
2879
2880 eval "$ac_cv_use_libxpm"
2881 if test "$no_cache" != 1; then
2882 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2883 fi
2884
2885 if test "$wxUSE_LIBXPM" = yes; then
2886 echo "$as_me:$LINENO: result: yes" >&5
2887echo "${ECHO_T}yes" >&6
2888 elif test "$wxUSE_LIBXPM" = no; then
2889 echo "$as_me:$LINENO: result: no" >&5
2890echo "${ECHO_T}no" >&6
2891 elif test "$wxUSE_LIBXPM" = sys; then
2892 echo "$as_me:$LINENO: result: system version" >&5
2893echo "${ECHO_T}system version" >&6
2894 elif test "$wxUSE_LIBXPM" = builtin; then
2895 echo "$as_me:$LINENO: result: builtin version" >&5
2896echo "${ECHO_T}builtin version" >&6
2897 else
2898 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2899echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2900 { (exit 1); exit 1; }; }
2901 fi
2902
2903
2904 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2905echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2906 no_cache=0
2907
2908# Check whether --with-libmspack or --without-libmspack was given.
2909if test "${with_libmspack+set}" = set; then
2910 withval="$with_libmspack"
2911
2912 if test "$withval" = yes; then
2913 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
2914 else
2915 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
2916 fi
2917
2918else
2919
2920 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2921 if test "x$LINE" != x ; then
2922 eval "DEFAULT_$LINE"
2923 else
2924 no_cache=1
2925 fi
2926
2927 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
2928
2929fi;
2930
2931 eval "$ac_cv_use_libmspack"
2932 if test "$no_cache" != 1; then
2933 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
2934 fi
2935
2936 if test "$wxUSE_LIBMSPACK" = yes; then
2937 echo "$as_me:$LINENO: result: yes" >&5
2938echo "${ECHO_T}yes" >&6
2939 else
2940 echo "$as_me:$LINENO: result: no" >&5
2941echo "${ECHO_T}no" >&6
2942 fi
2943
2944
2945 echo "$as_me:$LINENO: checking for --with-sdl" >&5
2946echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
2947 no_cache=0
2948
2949# Check whether --with-sdl or --without-sdl was given.
2950if test "${with_sdl+set}" = set; then
2951 withval="$with_sdl"
2952
2953 if test "$withval" = yes; then
2954 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
2955 else
2956 ac_cv_use_sdl='wxUSE_LIBSDL=no'
2957 fi
2958
2959else
2960
2961 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
2962 if test "x$LINE" != x ; then
2963 eval "DEFAULT_$LINE"
2964 else
2965 no_cache=1
2966 fi
2967
2968 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
2969
2970fi;
2971
2972 eval "$ac_cv_use_sdl"
2973 if test "$no_cache" != 1; then
2974 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
2975 fi
2976
2977 if test "$wxUSE_LIBSDL" = yes; then
2978 echo "$as_me:$LINENO: result: yes" >&5
2979echo "${ECHO_T}yes" >&6
2980 else
2981 echo "$as_me:$LINENO: result: no" >&5
2982echo "${ECHO_T}no" >&6
2983 fi
2984
2985
2986 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2987echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2988 no_cache=0
2989
2990# Check whether --with-opengl or --without-opengl was given.
2991if test "${with_opengl+set}" = set; then
2992 withval="$with_opengl"
2993
2994 if test "$withval" = yes; then
2995 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2996 else
2997 ac_cv_use_opengl='wxUSE_OPENGL=no'
2998 fi
2999
3000else
3001
3002 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3003 if test "x$LINE" != x ; then
3004 eval "DEFAULT_$LINE"
3005 else
3006 no_cache=1
3007 fi
3008
3009 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3010
3011fi;
3012
3013 eval "$ac_cv_use_opengl"
3014 if test "$no_cache" != 1; then
3015 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3016 fi
3017
3018 if test "$wxUSE_OPENGL" = yes; then
3019 echo "$as_me:$LINENO: result: yes" >&5
3020echo "${ECHO_T}yes" >&6
3021 else
3022 echo "$as_me:$LINENO: result: no" >&5
3023echo "${ECHO_T}no" >&6
3024 fi
3025
3026
3027fi
3028
3029
3030 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3031echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3032 no_cache=0
3033
3034# Check whether --with-dmalloc or --without-dmalloc was given.
3035if test "${with_dmalloc+set}" = set; then
3036 withval="$with_dmalloc"
3037
3038 if test "$withval" = yes; then
3039 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3040 else
3041 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3042 fi
3043
3044else
3045
3046 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3047 if test "x$LINE" != x ; then
3048 eval "DEFAULT_$LINE"
3049 else
3050 no_cache=1
3051 fi
3052
3053 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3054
3055fi;
3056
3057 eval "$ac_cv_use_dmalloc"
3058 if test "$no_cache" != 1; then
3059 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3060 fi
3061
3062 if test "$wxUSE_DMALLOC" = yes; then
3063 echo "$as_me:$LINENO: result: yes" >&5
3064echo "${ECHO_T}yes" >&6
3065 else
3066 echo "$as_me:$LINENO: result: no" >&5
3067echo "${ECHO_T}no" >&6
3068 fi
3069
3070
3071 echo "$as_me:$LINENO: checking for --with-regex" >&5
3072echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3073 no_cache=0
3074
3075# Check whether --with-regex or --without-regex was given.
3076if test "${with_regex+set}" = set; then
3077 withval="$with_regex"
3078
3079 if test "$withval" = yes; then
3080 ac_cv_use_regex='wxUSE_REGEX=yes'
3081 elif test "$withval" = no; then
3082 ac_cv_use_regex='wxUSE_REGEX=no'
3083 elif test "$withval" = sys; then
3084 ac_cv_use_regex='wxUSE_REGEX=sys'
3085 elif test "$withval" = builtin; then
3086 ac_cv_use_regex='wxUSE_REGEX=builtin'
3087 else
3088 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3089echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3090 { (exit 1); exit 1; }; }
3091 fi
3092
3093else
3094
3095 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3096 if test "x$LINE" != x ; then
3097 eval "DEFAULT_$LINE"
3098 else
3099 no_cache=1
3100 fi
3101
3102 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3103
3104fi;
3105
3106 eval "$ac_cv_use_regex"
3107 if test "$no_cache" != 1; then
3108 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3109 fi
3110
3111 if test "$wxUSE_REGEX" = yes; then
3112 echo "$as_me:$LINENO: result: yes" >&5
3113echo "${ECHO_T}yes" >&6
3114 elif test "$wxUSE_REGEX" = no; then
3115 echo "$as_me:$LINENO: result: no" >&5
3116echo "${ECHO_T}no" >&6
3117 elif test "$wxUSE_REGEX" = sys; then
3118 echo "$as_me:$LINENO: result: system version" >&5
3119echo "${ECHO_T}system version" >&6
3120 elif test "$wxUSE_REGEX" = builtin; then
3121 echo "$as_me:$LINENO: result: builtin version" >&5
3122echo "${ECHO_T}builtin version" >&6
3123 else
3124 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3125echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3126 { (exit 1); exit 1; }; }
3127 fi
3128
3129
3130 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3131echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3132 no_cache=0
3133
3134# Check whether --with-zlib or --without-zlib was given.
3135if test "${with_zlib+set}" = set; then
3136 withval="$with_zlib"
3137
3138 if test "$withval" = yes; then
3139 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3140 elif test "$withval" = no; then
3141 ac_cv_use_zlib='wxUSE_ZLIB=no'
3142 elif test "$withval" = sys; then
3143 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3144 elif test "$withval" = builtin; then
3145 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3146 else
3147 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3148echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3149 { (exit 1); exit 1; }; }
3150 fi
3151
3152else
3153
3154 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3155 if test "x$LINE" != x ; then
3156 eval "DEFAULT_$LINE"
3157 else
3158 no_cache=1
3159 fi
3160
3161 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3162
3163fi;
3164
3165 eval "$ac_cv_use_zlib"
3166 if test "$no_cache" != 1; then
3167 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3168 fi
3169
3170 if test "$wxUSE_ZLIB" = yes; then
3171 echo "$as_me:$LINENO: result: yes" >&5
3172echo "${ECHO_T}yes" >&6
3173 elif test "$wxUSE_ZLIB" = no; then
3174 echo "$as_me:$LINENO: result: no" >&5
3175echo "${ECHO_T}no" >&6
3176 elif test "$wxUSE_ZLIB" = sys; then
3177 echo "$as_me:$LINENO: result: system version" >&5
3178echo "${ECHO_T}system version" >&6
3179 elif test "$wxUSE_ZLIB" = builtin; then
3180 echo "$as_me:$LINENO: result: builtin version" >&5
3181echo "${ECHO_T}builtin version" >&6
3182 else
3183 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3184echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3185 { (exit 1); exit 1; }; }
3186 fi
3187
3188
3189 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3190echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3191 no_cache=0
3192
3193# Check whether --with-odbc or --without-odbc was given.
3194if test "${with_odbc+set}" = set; then
3195 withval="$with_odbc"
3196
3197 if test "$withval" = yes; then
3198 ac_cv_use_odbc='wxUSE_ODBC=yes'
3199 elif test "$withval" = no; then
3200 ac_cv_use_odbc='wxUSE_ODBC=no'
3201 elif test "$withval" = sys; then
3202 ac_cv_use_odbc='wxUSE_ODBC=sys'
3203 elif test "$withval" = builtin; then
3204 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3205 else
3206 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3207echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3208 { (exit 1); exit 1; }; }
3209 fi
3210
3211else
3212
3213 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3214 if test "x$LINE" != x ; then
3215 eval "DEFAULT_$LINE"
3216 else
3217 no_cache=1
3218 fi
3219
3220 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3221
3222fi;
3223
3224 eval "$ac_cv_use_odbc"
3225 if test "$no_cache" != 1; then
3226 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3227 fi
3228
3229 if test "$wxUSE_ODBC" = yes; then
3230 echo "$as_me:$LINENO: result: yes" >&5
3231echo "${ECHO_T}yes" >&6
3232 elif test "$wxUSE_ODBC" = no; then
3233 echo "$as_me:$LINENO: result: no" >&5
3234echo "${ECHO_T}no" >&6
3235 elif test "$wxUSE_ODBC" = sys; then
3236 echo "$as_me:$LINENO: result: system version" >&5
3237echo "${ECHO_T}system version" >&6
3238 elif test "$wxUSE_ODBC" = builtin; then
3239 echo "$as_me:$LINENO: result: builtin version" >&5
3240echo "${ECHO_T}builtin version" >&6
3241 else
3242 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3243echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3244 { (exit 1); exit 1; }; }
3245 fi
3246
3247
3248 echo "$as_me:$LINENO: checking for --with-expat" >&5
3249echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3250 no_cache=0
3251
3252# Check whether --with-expat or --without-expat was given.
3253if test "${with_expat+set}" = set; then
3254 withval="$with_expat"
3255
3256 if test "$withval" = yes; then
3257 ac_cv_use_expat='wxUSE_EXPAT=yes'
3258 elif test "$withval" = no; then
3259 ac_cv_use_expat='wxUSE_EXPAT=no'
3260 elif test "$withval" = sys; then
3261 ac_cv_use_expat='wxUSE_EXPAT=sys'
3262 elif test "$withval" = builtin; then
3263 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3264 else
3265 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3266echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3267 { (exit 1); exit 1; }; }
3268 fi
3269
3270else
3271
3272 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3273 if test "x$LINE" != x ; then
3274 eval "DEFAULT_$LINE"
3275 else
3276 no_cache=1
3277 fi
3278
3279 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3280
3281fi;
3282
3283 eval "$ac_cv_use_expat"
3284 if test "$no_cache" != 1; then
3285 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3286 fi
3287
3288 if test "$wxUSE_EXPAT" = yes; then
3289 echo "$as_me:$LINENO: result: yes" >&5
3290echo "${ECHO_T}yes" >&6
3291 elif test "$wxUSE_EXPAT" = no; then
3292 echo "$as_me:$LINENO: result: no" >&5
3293echo "${ECHO_T}no" >&6
3294 elif test "$wxUSE_EXPAT" = sys; then
3295 echo "$as_me:$LINENO: result: system version" >&5
3296echo "${ECHO_T}system version" >&6
3297 elif test "$wxUSE_EXPAT" = builtin; then
3298 echo "$as_me:$LINENO: result: builtin version" >&5
3299echo "${ECHO_T}builtin version" >&6
3300 else
3301 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3302echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3303 { (exit 1); exit 1; }; }
3304 fi
3305
3306
3307
3308
3309 enablestring=
3310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3311echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3312 no_cache=0
3313 # Check whether --enable-shared or --disable-shared was given.
3314if test "${enable_shared+set}" = set; then
3315 enableval="$enable_shared"
3316
3317 if test "$enableval" = yes; then
3318 ac_cv_use_shared='wxUSE_SHARED=yes'
3319 else
3320 ac_cv_use_shared='wxUSE_SHARED=no'
3321 fi
3322
3323else
3324
3325 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3326 if test "x$LINE" != x ; then
3327 eval "DEFAULT_$LINE"
3328 else
3329 no_cache=1
3330 fi
3331
3332 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3333
3334fi;
3335
3336 eval "$ac_cv_use_shared"
3337 if test "$no_cache" != 1; then
3338 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3339 fi
3340
3341 if test "$wxUSE_SHARED" = yes; then
3342 echo "$as_me:$LINENO: result: yes" >&5
3343echo "${ECHO_T}yes" >&6
3344 else
3345 echo "$as_me:$LINENO: result: no" >&5
3346echo "${ECHO_T}no" >&6
3347 fi
3348
3349
3350 enablestring=
3351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3352echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3353 no_cache=0
3354 # Check whether --enable-optimise or --disable-optimise was given.
3355if test "${enable_optimise+set}" = set; then
3356 enableval="$enable_optimise"
3357
3358 if test "$enableval" = yes; then
3359 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3360 else
3361 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3362 fi
3363
3364else
3365
3366 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3367 if test "x$LINE" != x ; then
3368 eval "DEFAULT_$LINE"
3369 else
3370 no_cache=1
3371 fi
3372
3373 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3374
3375fi;
3376
3377 eval "$ac_cv_use_optimise"
3378 if test "$no_cache" != 1; then
3379 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3380 fi
3381
3382 if test "$wxUSE_OPTIMISE" = yes; then
3383 echo "$as_me:$LINENO: result: yes" >&5
3384echo "${ECHO_T}yes" >&6
3385 else
3386 echo "$as_me:$LINENO: result: no" >&5
3387echo "${ECHO_T}no" >&6
3388 fi
3389
3390
3391 enablestring=
3392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3393echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3394 no_cache=0
3395 # Check whether --enable-debug or --disable-debug was given.
3396if test "${enable_debug+set}" = set; then
3397 enableval="$enable_debug"
3398
3399 if test "$enableval" = yes; then
3400 ac_cv_use_debug='wxUSE_DEBUG=yes'
3401 else
3402 ac_cv_use_debug='wxUSE_DEBUG=no'
3403 fi
3404
3405else
3406
3407 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3408 if test "x$LINE" != x ; then
3409 eval "DEFAULT_$LINE"
3410 else
3411 no_cache=1
3412 fi
3413
3414 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3415
3416fi;
3417
3418 eval "$ac_cv_use_debug"
3419 if test "$no_cache" != 1; then
3420 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3421 fi
3422
3423 if test "$wxUSE_DEBUG" = yes; then
3424 echo "$as_me:$LINENO: result: yes" >&5
3425echo "${ECHO_T}yes" >&6
3426 else
3427 echo "$as_me:$LINENO: result: no" >&5
3428echo "${ECHO_T}no" >&6
3429 fi
3430
3431
3432 enablestring=
3433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3434echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3435 no_cache=0
3436 # Check whether --enable-stl or --disable-stl was given.
3437if test "${enable_stl+set}" = set; then
3438 enableval="$enable_stl"
3439
3440 if test "$enableval" = yes; then
3441 ac_cv_use_stl='wxUSE_STL=yes'
3442 else
3443 ac_cv_use_stl='wxUSE_STL=no'
3444 fi
3445
3446else
3447
3448 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3449 if test "x$LINE" != x ; then
3450 eval "DEFAULT_$LINE"
3451 else
3452 no_cache=1
3453 fi
3454
3455 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3456
3457fi;
3458
3459 eval "$ac_cv_use_stl"
3460 if test "$no_cache" != 1; then
3461 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3462 fi
3463
3464 if test "$wxUSE_STL" = yes; then
3465 echo "$as_me:$LINENO: result: yes" >&5
3466echo "${ECHO_T}yes" >&6
3467 else
3468 echo "$as_me:$LINENO: result: no" >&5
3469echo "${ECHO_T}no" >&6
3470 fi
3471
3472
3473if test "$wxUSE_DEBUG" = "yes"; then
3474 DEFAULT_wxUSE_DEBUG_FLAG=yes
3475 DEFAULT_wxUSE_DEBUG_INFO=yes
3476 BUILD=debug
3477elif test "$wxUSE_DEBUG" = "no"; then
3478 DEFAULT_wxUSE_DEBUG_FLAG=no
3479 DEFAULT_wxUSE_DEBUG_INFO=no
3480 BUILD=release
3481fi
3482
3483
3484 enablestring=
3485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3486echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3487 no_cache=0
3488 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3489if test "${enable_debug_flag+set}" = set; then
3490 enableval="$enable_debug_flag"
3491
3492 if test "$enableval" = yes; then
3493 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3494 else
3495 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3496 fi
3497
3498else
3499
3500 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3501 if test "x$LINE" != x ; then
3502 eval "DEFAULT_$LINE"
3503 else
3504 no_cache=1
3505 fi
3506
3507 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3508
3509fi;
3510
3511 eval "$ac_cv_use_debug_flag"
3512 if test "$no_cache" != 1; then
3513 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3514 fi
3515
3516 if test "$wxUSE_DEBUG_FLAG" = yes; then
3517 echo "$as_me:$LINENO: result: yes" >&5
3518echo "${ECHO_T}yes" >&6
3519 else
3520 echo "$as_me:$LINENO: result: no" >&5
3521echo "${ECHO_T}no" >&6
3522 fi
3523
3524
3525 enablestring=
3526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3527echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3528 no_cache=0
3529 # Check whether --enable-debug_info or --disable-debug_info was given.
3530if test "${enable_debug_info+set}" = set; then
3531 enableval="$enable_debug_info"
3532
3533 if test "$enableval" = yes; then
3534 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3535 else
3536 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3537 fi
3538
3539else
3540
3541 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3542 if test "x$LINE" != x ; then
3543 eval "DEFAULT_$LINE"
3544 else
3545 no_cache=1
3546 fi
3547
3548 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3549
3550fi;
3551
3552 eval "$ac_cv_use_debug_info"
3553 if test "$no_cache" != 1; then
3554 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3555 fi
3556
3557 if test "$wxUSE_DEBUG_INFO" = yes; then
3558 echo "$as_me:$LINENO: result: yes" >&5
3559echo "${ECHO_T}yes" >&6
3560 else
3561 echo "$as_me:$LINENO: result: no" >&5
3562echo "${ECHO_T}no" >&6
3563 fi
3564
3565
3566 enablestring=
3567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3568echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3569 no_cache=0
3570 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3571if test "${enable_debug_gdb+set}" = set; then
3572 enableval="$enable_debug_gdb"
3573
3574 if test "$enableval" = yes; then
3575 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3576 else
3577 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3578 fi
3579
3580else
3581
3582 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3583 if test "x$LINE" != x ; then
3584 eval "DEFAULT_$LINE"
3585 else
3586 no_cache=1
3587 fi
3588
3589 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3590
3591fi;
3592
3593 eval "$ac_cv_use_debug_gdb"
3594 if test "$no_cache" != 1; then
3595 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3596 fi
3597
3598 if test "$wxUSE_DEBUG_GDB" = yes; then
3599 echo "$as_me:$LINENO: result: yes" >&5
3600echo "${ECHO_T}yes" >&6
3601 else
3602 echo "$as_me:$LINENO: result: no" >&5
3603echo "${ECHO_T}no" >&6
3604 fi
3605
3606
3607 enablestring=
3608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3609echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3610 no_cache=0
3611 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3612if test "${enable_debug_cntxt+set}" = set; then
3613 enableval="$enable_debug_cntxt"
3614
3615 if test "$enableval" = yes; then
3616 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3617 else
3618 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3619 fi
3620
3621else
3622
3623 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3624 if test "x$LINE" != x ; then
3625 eval "DEFAULT_$LINE"
3626 else
3627 no_cache=1
3628 fi
3629
3630 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3631
3632fi;
3633
3634 eval "$ac_cv_use_debug_cntxt"
3635 if test "$no_cache" != 1; then
3636 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3637 fi
3638
3639 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3640 echo "$as_me:$LINENO: result: yes" >&5
3641echo "${ECHO_T}yes" >&6
3642 else
3643 echo "$as_me:$LINENO: result: no" >&5
3644echo "${ECHO_T}no" >&6
3645 fi
3646
3647
3648 enablestring=
3649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3650echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3651 no_cache=0
3652 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3653if test "${enable_mem_tracing+set}" = set; then
3654 enableval="$enable_mem_tracing"
3655
3656 if test "$enableval" = yes; then
3657 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3658 else
3659 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3660 fi
3661
3662else
3663
3664 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3665 if test "x$LINE" != x ; then
3666 eval "DEFAULT_$LINE"
3667 else
3668 no_cache=1
3669 fi
3670
3671 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3672
3673fi;
3674
3675 eval "$ac_cv_use_mem_tracing"
3676 if test "$no_cache" != 1; then
3677 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3678 fi
3679
3680 if test "$wxUSE_MEM_TRACING" = yes; then
3681 echo "$as_me:$LINENO: result: yes" >&5
3682echo "${ECHO_T}yes" >&6
3683 else
3684 echo "$as_me:$LINENO: result: no" >&5
3685echo "${ECHO_T}no" >&6
3686 fi
3687
3688
3689 enablestring=
3690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3691echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3692 no_cache=0
3693 # Check whether --enable-profile or --disable-profile was given.
3694if test "${enable_profile+set}" = set; then
3695 enableval="$enable_profile"
3696
3697 if test "$enableval" = yes; then
3698 ac_cv_use_profile='wxUSE_PROFILE=yes'
3699 else
3700 ac_cv_use_profile='wxUSE_PROFILE=no'
3701 fi
3702
3703else
3704
3705 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3706 if test "x$LINE" != x ; then
3707 eval "DEFAULT_$LINE"
3708 else
3709 no_cache=1
3710 fi
3711
3712 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3713
3714fi;
3715
3716 eval "$ac_cv_use_profile"
3717 if test "$no_cache" != 1; then
3718 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3719 fi
3720
3721 if test "$wxUSE_PROFILE" = yes; then
3722 echo "$as_me:$LINENO: result: yes" >&5
3723echo "${ECHO_T}yes" >&6
3724 else
3725 echo "$as_me:$LINENO: result: no" >&5
3726echo "${ECHO_T}no" >&6
3727 fi
3728
3729
3730 enablestring=
3731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3732echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3733 no_cache=0
3734 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3735if test "${enable_no_rtti+set}" = set; then
3736 enableval="$enable_no_rtti"
3737
3738 if test "$enableval" = yes; then
3739 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3740 else
3741 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3742 fi
3743
3744else
3745
3746 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3747 if test "x$LINE" != x ; then
3748 eval "DEFAULT_$LINE"
3749 else
3750 no_cache=1
3751 fi
3752
3753 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3754
3755fi;
3756
3757 eval "$ac_cv_use_no_rtti"
3758 if test "$no_cache" != 1; then
3759 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3760 fi
3761
3762 if test "$wxUSE_NO_RTTI" = yes; then
3763 echo "$as_me:$LINENO: result: yes" >&5
3764echo "${ECHO_T}yes" >&6
3765 else
3766 echo "$as_me:$LINENO: result: no" >&5
3767echo "${ECHO_T}no" >&6
3768 fi
3769
3770
3771 enablestring=
3772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3773echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3774 no_cache=0
3775 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3776if test "${enable_no_exceptions+set}" = set; then
3777 enableval="$enable_no_exceptions"
3778
3779 if test "$enableval" = yes; then
3780 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3781 else
3782 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3783 fi
3784
3785else
3786
3787 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3788 if test "x$LINE" != x ; then
3789 eval "DEFAULT_$LINE"
3790 else
3791 no_cache=1
3792 fi
3793
3794 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3795
3796fi;
3797
3798 eval "$ac_cv_use_no_exceptions"
3799 if test "$no_cache" != 1; then
3800 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3801 fi
3802
3803 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3804 echo "$as_me:$LINENO: result: yes" >&5
3805echo "${ECHO_T}yes" >&6
3806 else
3807 echo "$as_me:$LINENO: result: no" >&5
3808echo "${ECHO_T}no" >&6
3809 fi
3810
3811
3812 enablestring=
3813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3814echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3815 no_cache=0
3816 # Check whether --enable-permissive or --disable-permissive was given.
3817if test "${enable_permissive+set}" = set; then
3818 enableval="$enable_permissive"
3819
3820 if test "$enableval" = yes; then
3821 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3822 else
3823 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3824 fi
3825
3826else
3827
3828 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3829 if test "x$LINE" != x ; then
3830 eval "DEFAULT_$LINE"
3831 else
3832 no_cache=1
3833 fi
3834
3835 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3836
3837fi;
3838
3839 eval "$ac_cv_use_permissive"
3840 if test "$no_cache" != 1; then
3841 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3842 fi
3843
3844 if test "$wxUSE_PERMISSIVE" = yes; then
3845 echo "$as_me:$LINENO: result: yes" >&5
3846echo "${ECHO_T}yes" >&6
3847 else
3848 echo "$as_me:$LINENO: result: no" >&5
3849echo "${ECHO_T}no" >&6
3850 fi
3851
3852
3853 enablestring=
3854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3855echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3856 no_cache=0
3857 # Check whether --enable-no_deps or --disable-no_deps was given.
3858if test "${enable_no_deps+set}" = set; then
3859 enableval="$enable_no_deps"
3860
3861 if test "$enableval" = yes; then
3862 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3863 else
3864 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3865 fi
3866
3867else
3868
3869 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3870 if test "x$LINE" != x ; then
3871 eval "DEFAULT_$LINE"
3872 else
3873 no_cache=1
3874 fi
3875
3876 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3877
3878fi;
3879
3880 eval "$ac_cv_use_no_deps"
3881 if test "$no_cache" != 1; then
3882 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3883 fi
3884
3885 if test "$wxUSE_NO_DEPS" = yes; then
3886 echo "$as_me:$LINENO: result: yes" >&5
3887echo "${ECHO_T}yes" >&6
3888 else
3889 echo "$as_me:$LINENO: result: no" >&5
3890echo "${ECHO_T}no" >&6
3891 fi
3892
3893
3894
3895 enablestring=
3896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3897echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3898 no_cache=0
3899 # Check whether --enable-compat22 or --disable-compat22 was given.
3900if test "${enable_compat22+set}" = set; then
3901 enableval="$enable_compat22"
3902
3903 if test "$enableval" = yes; then
3904 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3905 else
3906 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3907 fi
3908
3909else
3910
3911 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3912 if test "x$LINE" != x ; then
3913 eval "DEFAULT_$LINE"
3914 else
3915 no_cache=1
3916 fi
3917
3918 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3919
3920fi;
3921
3922 eval "$ac_cv_use_compat22"
3923 if test "$no_cache" != 1; then
3924 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3925 fi
3926
3927 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3928 echo "$as_me:$LINENO: result: yes" >&5
3929echo "${ECHO_T}yes" >&6
3930 else
3931 echo "$as_me:$LINENO: result: no" >&5
3932echo "${ECHO_T}no" >&6
3933 fi
3934
3935
3936 enablestring=disable
3937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3938echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3939 no_cache=0
3940 # Check whether --enable-compat24 or --disable-compat24 was given.
3941if test "${enable_compat24+set}" = set; then
3942 enableval="$enable_compat24"
3943
3944 if test "$enableval" = yes; then
3945 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3946 else
3947 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3948 fi
3949
3950else
3951
3952 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3953 if test "x$LINE" != x ; then
3954 eval "DEFAULT_$LINE"
3955 else
3956 no_cache=1
3957 fi
3958
3959 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3960
3961fi;
3962
3963 eval "$ac_cv_use_compat24"
3964 if test "$no_cache" != 1; then
3965 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3966 fi
3967
3968 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3969 echo "$as_me:$LINENO: result: yes" >&5
3970echo "${ECHO_T}yes" >&6
3971 else
3972 echo "$as_me:$LINENO: result: no" >&5
3973echo "${ECHO_T}no" >&6
3974 fi
3975
3976
3977# Check whether --enable-rpath or --disable-rpath was given.
3978if test "${enable_rpath+set}" = set; then
3979 enableval="$enable_rpath"
3980 wxRPATH_DIR="$enableval"
3981fi;
3982
3983if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3984 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3985fi
3986
3987
3988
3989
3990 enablestring=
3991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3992echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3993 no_cache=0
3994 # Check whether --enable-intl or --disable-intl was given.
3995if test "${enable_intl+set}" = set; then
3996 enableval="$enable_intl"
3997
3998 if test "$enableval" = yes; then
3999 ac_cv_use_intl='wxUSE_INTL=yes'
4000 else
4001 ac_cv_use_intl='wxUSE_INTL=no'
4002 fi
4003
4004else
4005
4006 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4007 if test "x$LINE" != x ; then
4008 eval "DEFAULT_$LINE"
4009 else
4010 no_cache=1
4011 fi
4012
4013 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4014
4015fi;
4016
4017 eval "$ac_cv_use_intl"
4018 if test "$no_cache" != 1; then
4019 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4020 fi
4021
4022 if test "$wxUSE_INTL" = yes; then
4023 echo "$as_me:$LINENO: result: yes" >&5
4024echo "${ECHO_T}yes" >&6
4025 else
4026 echo "$as_me:$LINENO: result: no" >&5
4027echo "${ECHO_T}no" >&6
4028 fi
4029
4030
4031 enablestring=
4032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4033echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4034 no_cache=0
4035 # Check whether --enable-config or --disable-config was given.
4036if test "${enable_config+set}" = set; then
4037 enableval="$enable_config"
4038
4039 if test "$enableval" = yes; then
4040 ac_cv_use_config='wxUSE_CONFIG=yes'
4041 else
4042 ac_cv_use_config='wxUSE_CONFIG=no'
4043 fi
4044
4045else
4046
4047 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4048 if test "x$LINE" != x ; then
4049 eval "DEFAULT_$LINE"
4050 else
4051 no_cache=1
4052 fi
4053
4054 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4055
4056fi;
4057
4058 eval "$ac_cv_use_config"
4059 if test "$no_cache" != 1; then
4060 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4061 fi
4062
4063 if test "$wxUSE_CONFIG" = yes; then
4064 echo "$as_me:$LINENO: result: yes" >&5
4065echo "${ECHO_T}yes" >&6
4066 else
4067 echo "$as_me:$LINENO: result: no" >&5
4068echo "${ECHO_T}no" >&6
4069 fi
4070
4071
4072
4073 enablestring=
4074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4075echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4076 no_cache=0
4077 # Check whether --enable-protocols or --disable-protocols was given.
4078if test "${enable_protocols+set}" = set; then
4079 enableval="$enable_protocols"
4080
4081 if test "$enableval" = yes; then
4082 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4083 else
4084 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4085 fi
4086
4087else
4088
4089 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4090 if test "x$LINE" != x ; then
4091 eval "DEFAULT_$LINE"
4092 else
4093 no_cache=1
4094 fi
4095
4096 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4097
4098fi;
4099
4100 eval "$ac_cv_use_protocols"
4101 if test "$no_cache" != 1; then
4102 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4103 fi
4104
4105 if test "$wxUSE_PROTOCOL" = yes; then
4106 echo "$as_me:$LINENO: result: yes" >&5
4107echo "${ECHO_T}yes" >&6
4108 else
4109 echo "$as_me:$LINENO: result: no" >&5
4110echo "${ECHO_T}no" >&6
4111 fi
4112
4113
4114 enablestring=
4115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4116echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4117 no_cache=0
4118 # Check whether --enable-ftp or --disable-ftp was given.
4119if test "${enable_ftp+set}" = set; then
4120 enableval="$enable_ftp"
4121
4122 if test "$enableval" = yes; then
4123 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4124 else
4125 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4126 fi
4127
4128else
4129
4130 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4131 if test "x$LINE" != x ; then
4132 eval "DEFAULT_$LINE"
4133 else
4134 no_cache=1
4135 fi
4136
4137 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4138
4139fi;
4140
4141 eval "$ac_cv_use_ftp"
4142 if test "$no_cache" != 1; then
4143 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4144 fi
4145
4146 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4147 echo "$as_me:$LINENO: result: yes" >&5
4148echo "${ECHO_T}yes" >&6
4149 else
4150 echo "$as_me:$LINENO: result: no" >&5
4151echo "${ECHO_T}no" >&6
4152 fi
4153
4154
4155 enablestring=
4156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4157echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4158 no_cache=0
4159 # Check whether --enable-http or --disable-http was given.
4160if test "${enable_http+set}" = set; then
4161 enableval="$enable_http"
4162
4163 if test "$enableval" = yes; then
4164 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4165 else
4166 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4167 fi
4168
4169else
4170
4171 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4172 if test "x$LINE" != x ; then
4173 eval "DEFAULT_$LINE"
4174 else
4175 no_cache=1
4176 fi
4177
4178 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4179
4180fi;
4181
4182 eval "$ac_cv_use_http"
4183 if test "$no_cache" != 1; then
4184 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4185 fi
4186
4187 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4188 echo "$as_me:$LINENO: result: yes" >&5
4189echo "${ECHO_T}yes" >&6
4190 else
4191 echo "$as_me:$LINENO: result: no" >&5
4192echo "${ECHO_T}no" >&6
4193 fi
4194
4195
4196 enablestring=
4197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4198echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4199 no_cache=0
4200 # Check whether --enable-fileproto or --disable-fileproto was given.
4201if test "${enable_fileproto+set}" = set; then
4202 enableval="$enable_fileproto"
4203
4204 if test "$enableval" = yes; then
4205 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4206 else
4207 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4208 fi
4209
4210else
4211
4212 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4213 if test "x$LINE" != x ; then
4214 eval "DEFAULT_$LINE"
4215 else
4216 no_cache=1
4217 fi
4218
4219 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4220
4221fi;
4222
4223 eval "$ac_cv_use_fileproto"
4224 if test "$no_cache" != 1; then
4225 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4226 fi
4227
4228 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4229 echo "$as_me:$LINENO: result: yes" >&5
4230echo "${ECHO_T}yes" >&6
4231 else
4232 echo "$as_me:$LINENO: result: no" >&5
4233echo "${ECHO_T}no" >&6
4234 fi
4235
4236
4237 enablestring=
4238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4239echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4240 no_cache=0
4241 # Check whether --enable-sockets or --disable-sockets was given.
4242if test "${enable_sockets+set}" = set; then
4243 enableval="$enable_sockets"
4244
4245 if test "$enableval" = yes; then
4246 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4247 else
4248 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4249 fi
4250
4251else
4252
4253 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4254 if test "x$LINE" != x ; then
4255 eval "DEFAULT_$LINE"
4256 else
4257 no_cache=1
4258 fi
4259
4260 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4261
4262fi;
4263
4264 eval "$ac_cv_use_sockets"
4265 if test "$no_cache" != 1; then
4266 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4267 fi
4268
4269 if test "$wxUSE_SOCKETS" = yes; then
4270 echo "$as_me:$LINENO: result: yes" >&5
4271echo "${ECHO_T}yes" >&6
4272 else
4273 echo "$as_me:$LINENO: result: no" >&5
4274echo "${ECHO_T}no" >&6
4275 fi
4276
4277
4278 enablestring=
4279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4280echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4281 no_cache=0
4282 # Check whether --enable-ole or --disable-ole was given.
4283if test "${enable_ole+set}" = set; then
4284 enableval="$enable_ole"
4285
4286 if test "$enableval" = yes; then
4287 ac_cv_use_ole='wxUSE_OLE=yes'
4288 else
4289 ac_cv_use_ole='wxUSE_OLE=no'
4290 fi
4291
4292else
4293
4294 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4295 if test "x$LINE" != x ; then
4296 eval "DEFAULT_$LINE"
4297 else
4298 no_cache=1
4299 fi
4300
4301 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4302
4303fi;
4304
4305 eval "$ac_cv_use_ole"
4306 if test "$no_cache" != 1; then
4307 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4308 fi
4309
4310 if test "$wxUSE_OLE" = yes; then
4311 echo "$as_me:$LINENO: result: yes" >&5
4312echo "${ECHO_T}yes" >&6
4313 else
4314 echo "$as_me:$LINENO: result: no" >&5
4315echo "${ECHO_T}no" >&6
4316 fi
4317
4318
4319 enablestring=
4320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4321echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4322 no_cache=0
4323 # Check whether --enable-dataobj or --disable-dataobj was given.
4324if test "${enable_dataobj+set}" = set; then
4325 enableval="$enable_dataobj"
4326
4327 if test "$enableval" = yes; then
4328 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4329 else
4330 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4331 fi
4332
4333else
4334
4335 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4336 if test "x$LINE" != x ; then
4337 eval "DEFAULT_$LINE"
4338 else
4339 no_cache=1
4340 fi
4341
4342 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4343
4344fi;
4345
4346 eval "$ac_cv_use_dataobj"
4347 if test "$no_cache" != 1; then
4348 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4349 fi
4350
4351 if test "$wxUSE_DATAOBJ" = yes; then
4352 echo "$as_me:$LINENO: result: yes" >&5
4353echo "${ECHO_T}yes" >&6
4354 else
4355 echo "$as_me:$LINENO: result: no" >&5
4356echo "${ECHO_T}no" >&6
4357 fi
4358
4359
4360
4361 enablestring=
4362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4363echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4364 no_cache=0
4365 # Check whether --enable-ipc or --disable-ipc was given.
4366if test "${enable_ipc+set}" = set; then
4367 enableval="$enable_ipc"
4368
4369 if test "$enableval" = yes; then
4370 ac_cv_use_ipc='wxUSE_IPC=yes'
4371 else
4372 ac_cv_use_ipc='wxUSE_IPC=no'
4373 fi
4374
4375else
4376
4377 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4378 if test "x$LINE" != x ; then
4379 eval "DEFAULT_$LINE"
4380 else
4381 no_cache=1
4382 fi
4383
4384 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4385
4386fi;
4387
4388 eval "$ac_cv_use_ipc"
4389 if test "$no_cache" != 1; then
4390 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4391 fi
4392
4393 if test "$wxUSE_IPC" = yes; then
4394 echo "$as_me:$LINENO: result: yes" >&5
4395echo "${ECHO_T}yes" >&6
4396 else
4397 echo "$as_me:$LINENO: result: no" >&5
4398echo "${ECHO_T}no" >&6
4399 fi
4400
4401
4402
4403 enablestring=
4404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4405echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4406 no_cache=0
4407 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4408if test "${enable_apple_ieee+set}" = set; then
4409 enableval="$enable_apple_ieee"
4410
4411 if test "$enableval" = yes; then
4412 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4413 else
4414 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4415 fi
4416
4417else
4418
4419 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4420 if test "x$LINE" != x ; then
4421 eval "DEFAULT_$LINE"
4422 else
4423 no_cache=1
4424 fi
4425
4426 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4427
4428fi;
4429
4430 eval "$ac_cv_use_apple_ieee"
4431 if test "$no_cache" != 1; then
4432 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4433 fi
4434
4435 if test "$wxUSE_APPLE_IEEE" = yes; then
4436 echo "$as_me:$LINENO: result: yes" >&5
4437echo "${ECHO_T}yes" >&6
4438 else
4439 echo "$as_me:$LINENO: result: no" >&5
4440echo "${ECHO_T}no" >&6
4441 fi
4442
4443
4444 enablestring=
4445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4446echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4447 no_cache=0
4448 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4449if test "${enable_catch_segvs+set}" = set; then
4450 enableval="$enable_catch_segvs"
4451
4452 if test "$enableval" = yes; then
4453 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4454 else
4455 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4456 fi
4457
4458else
4459
4460 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4461 if test "x$LINE" != x ; then
4462 eval "DEFAULT_$LINE"
4463 else
4464 no_cache=1
4465 fi
4466
4467 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4468
4469fi;
4470
4471 eval "$ac_cv_use_catch_segvs"
4472 if test "$no_cache" != 1; then
4473 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4474 fi
4475
4476 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4477 echo "$as_me:$LINENO: result: yes" >&5
4478echo "${ECHO_T}yes" >&6
4479 else
4480 echo "$as_me:$LINENO: result: no" >&5
4481echo "${ECHO_T}no" >&6
4482 fi
4483
4484
4485 enablestring=
4486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4487echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4488 no_cache=0
4489 # Check whether --enable-cmdline or --disable-cmdline was given.
4490if test "${enable_cmdline+set}" = set; then
4491 enableval="$enable_cmdline"
4492
4493 if test "$enableval" = yes; then
4494 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4495 else
4496 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4497 fi
4498
4499else
4500
4501 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4502 if test "x$LINE" != x ; then
4503 eval "DEFAULT_$LINE"
4504 else
4505 no_cache=1
4506 fi
4507
4508 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4509
4510fi;
4511
4512 eval "$ac_cv_use_cmdline"
4513 if test "$no_cache" != 1; then
4514 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4515 fi
4516
4517 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4518 echo "$as_me:$LINENO: result: yes" >&5
4519echo "${ECHO_T}yes" >&6
4520 else
4521 echo "$as_me:$LINENO: result: no" >&5
4522echo "${ECHO_T}no" >&6
4523 fi
4524
4525
4526 enablestring=
4527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4528echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4529 no_cache=0
4530 # Check whether --enable-datetime or --disable-datetime was given.
4531if test "${enable_datetime+set}" = set; then
4532 enableval="$enable_datetime"
4533
4534 if test "$enableval" = yes; then
4535 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4536 else
4537 ac_cv_use_datetime='wxUSE_DATETIME=no'
4538 fi
4539
4540else
4541
4542 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4543 if test "x$LINE" != x ; then
4544 eval "DEFAULT_$LINE"
4545 else
4546 no_cache=1
4547 fi
4548
4549 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4550
4551fi;
4552
4553 eval "$ac_cv_use_datetime"
4554 if test "$no_cache" != 1; then
4555 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4556 fi
4557
4558 if test "$wxUSE_DATETIME" = yes; then
4559 echo "$as_me:$LINENO: result: yes" >&5
4560echo "${ECHO_T}yes" >&6
4561 else
4562 echo "$as_me:$LINENO: result: no" >&5
4563echo "${ECHO_T}no" >&6
4564 fi
4565
4566
4567 enablestring=
4568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4569echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4570 no_cache=0
4571 # Check whether --enable-dialupman or --disable-dialupman was given.
4572if test "${enable_dialupman+set}" = set; then
4573 enableval="$enable_dialupman"
4574
4575 if test "$enableval" = yes; then
4576 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4577 else
4578 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4579 fi
4580
4581else
4582
4583 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4584 if test "x$LINE" != x ; then
4585 eval "DEFAULT_$LINE"
4586 else
4587 no_cache=1
4588 fi
4589
4590 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4591
4592fi;
4593
4594 eval "$ac_cv_use_dialupman"
4595 if test "$no_cache" != 1; then
4596 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4597 fi
4598
4599 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4600 echo "$as_me:$LINENO: result: yes" >&5
4601echo "${ECHO_T}yes" >&6
4602 else
4603 echo "$as_me:$LINENO: result: no" >&5
4604echo "${ECHO_T}no" >&6
4605 fi
4606
4607
4608 enablestring=
4609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4610echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4611 no_cache=0
4612 # Check whether --enable-dynlib or --disable-dynlib was given.
4613if test "${enable_dynlib+set}" = set; then
4614 enableval="$enable_dynlib"
4615
4616 if test "$enableval" = yes; then
4617 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4618 else
4619 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4620 fi
4621
4622else
4623
4624 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4625 if test "x$LINE" != x ; then
4626 eval "DEFAULT_$LINE"
4627 else
4628 no_cache=1
4629 fi
4630
4631 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4632
4633fi;
4634
4635 eval "$ac_cv_use_dynlib"
4636 if test "$no_cache" != 1; then
4637 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4638 fi
4639
4640 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4641 echo "$as_me:$LINENO: result: yes" >&5
4642echo "${ECHO_T}yes" >&6
4643 else
4644 echo "$as_me:$LINENO: result: no" >&5
4645echo "${ECHO_T}no" >&6
4646 fi
4647
4648
4649 enablestring=
4650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4651echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4652 no_cache=0
4653 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4654if test "${enable_dynamicloader+set}" = set; then
4655 enableval="$enable_dynamicloader"
4656
4657 if test "$enableval" = yes; then
4658 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4659 else
4660 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4661 fi
4662
4663else
4664
4665 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4666 if test "x$LINE" != x ; then
4667 eval "DEFAULT_$LINE"
4668 else
4669 no_cache=1
4670 fi
4671
4672 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4673
4674fi;
4675
4676 eval "$ac_cv_use_dynamicloader"
4677 if test "$no_cache" != 1; then
4678 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4679 fi
4680
4681 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4682 echo "$as_me:$LINENO: result: yes" >&5
4683echo "${ECHO_T}yes" >&6
4684 else
4685 echo "$as_me:$LINENO: result: no" >&5
4686echo "${ECHO_T}no" >&6
4687 fi
4688
4689
4690 enablestring=
4691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4692echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4693 no_cache=0
4694 # Check whether --enable-exceptions or --disable-exceptions was given.
4695if test "${enable_exceptions+set}" = set; then
4696 enableval="$enable_exceptions"
4697
4698 if test "$enableval" = yes; then
4699 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4700 else
4701 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4702 fi
4703
4704else
4705
4706 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4707 if test "x$LINE" != x ; then
4708 eval "DEFAULT_$LINE"
4709 else
4710 no_cache=1
4711 fi
4712
4713 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4714
4715fi;
4716
4717 eval "$ac_cv_use_exceptions"
4718 if test "$no_cache" != 1; then
4719 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4720 fi
4721
4722 if test "$wxUSE_EXCEPTIONS" = yes; then
4723 echo "$as_me:$LINENO: result: yes" >&5
4724echo "${ECHO_T}yes" >&6
4725 else
4726 echo "$as_me:$LINENO: result: no" >&5
4727echo "${ECHO_T}no" >&6
4728 fi
4729
4730
4731 enablestring=
4732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4733echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4734 no_cache=0
4735 # Check whether --enable-ffile or --disable-ffile was given.
4736if test "${enable_ffile+set}" = set; then
4737 enableval="$enable_ffile"
4738
4739 if test "$enableval" = yes; then
4740 ac_cv_use_ffile='wxUSE_FFILE=yes'
4741 else
4742 ac_cv_use_ffile='wxUSE_FFILE=no'
4743 fi
4744
4745else
4746
4747 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4748 if test "x$LINE" != x ; then
4749 eval "DEFAULT_$LINE"
4750 else
4751 no_cache=1
4752 fi
4753
4754 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4755
4756fi;
4757
4758 eval "$ac_cv_use_ffile"
4759 if test "$no_cache" != 1; then
4760 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4761 fi
4762
4763 if test "$wxUSE_FFILE" = yes; then
4764 echo "$as_me:$LINENO: result: yes" >&5
4765echo "${ECHO_T}yes" >&6
4766 else
4767 echo "$as_me:$LINENO: result: no" >&5
4768echo "${ECHO_T}no" >&6
4769 fi
4770
4771
4772 enablestring=
4773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4774echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4775 no_cache=0
4776 # Check whether --enable-file or --disable-file was given.
4777if test "${enable_file+set}" = set; then
4778 enableval="$enable_file"
4779
4780 if test "$enableval" = yes; then
4781 ac_cv_use_file='wxUSE_FILE=yes'
4782 else
4783 ac_cv_use_file='wxUSE_FILE=no'
4784 fi
4785
4786else
4787
4788 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4789 if test "x$LINE" != x ; then
4790 eval "DEFAULT_$LINE"
4791 else
4792 no_cache=1
4793 fi
4794
4795 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4796
4797fi;
4798
4799 eval "$ac_cv_use_file"
4800 if test "$no_cache" != 1; then
4801 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4802 fi
4803
4804 if test "$wxUSE_FILE" = yes; then
4805 echo "$as_me:$LINENO: result: yes" >&5
4806echo "${ECHO_T}yes" >&6
4807 else
4808 echo "$as_me:$LINENO: result: no" >&5
4809echo "${ECHO_T}no" >&6
4810 fi
4811
4812
4813 enablestring=
4814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4815echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4816 no_cache=0
4817 # Check whether --enable-filesystem or --disable-filesystem was given.
4818if test "${enable_filesystem+set}" = set; then
4819 enableval="$enable_filesystem"
4820
4821 if test "$enableval" = yes; then
4822 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4823 else
4824 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4825 fi
4826
4827else
4828
4829 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4830 if test "x$LINE" != x ; then
4831 eval "DEFAULT_$LINE"
4832 else
4833 no_cache=1
4834 fi
4835
4836 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4837
4838fi;
4839
4840 eval "$ac_cv_use_filesystem"
4841 if test "$no_cache" != 1; then
4842 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4843 fi
4844
4845 if test "$wxUSE_FILESYSTEM" = yes; then
4846 echo "$as_me:$LINENO: result: yes" >&5
4847echo "${ECHO_T}yes" >&6
4848 else
4849 echo "$as_me:$LINENO: result: no" >&5
4850echo "${ECHO_T}no" >&6
4851 fi
4852
4853
4854 enablestring=
4855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4856echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4857 no_cache=0
4858 # Check whether --enable-fontmap or --disable-fontmap was given.
4859if test "${enable_fontmap+set}" = set; then
4860 enableval="$enable_fontmap"
4861
4862 if test "$enableval" = yes; then
4863 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4864 else
4865 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4866 fi
4867
4868else
4869
4870 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4871 if test "x$LINE" != x ; then
4872 eval "DEFAULT_$LINE"
4873 else
4874 no_cache=1
4875 fi
4876
4877 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4878
4879fi;
4880
4881 eval "$ac_cv_use_fontmap"
4882 if test "$no_cache" != 1; then
4883 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4884 fi
4885
4886 if test "$wxUSE_FONTMAP" = yes; then
4887 echo "$as_me:$LINENO: result: yes" >&5
4888echo "${ECHO_T}yes" >&6
4889 else
4890 echo "$as_me:$LINENO: result: no" >&5
4891echo "${ECHO_T}no" >&6
4892 fi
4893
4894
4895 enablestring=
4896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4897echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4898 no_cache=0
4899 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4900if test "${enable_fs_inet+set}" = set; then
4901 enableval="$enable_fs_inet"
4902
4903 if test "$enableval" = yes; then
4904 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4905 else
4906 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4907 fi
4908
4909else
4910
4911 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4912 if test "x$LINE" != x ; then
4913 eval "DEFAULT_$LINE"
4914 else
4915 no_cache=1
4916 fi
4917
4918 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4919
4920fi;
4921
4922 eval "$ac_cv_use_fs_inet"
4923 if test "$no_cache" != 1; then
4924 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4925 fi
4926
4927 if test "$wxUSE_FS_INET" = yes; then
4928 echo "$as_me:$LINENO: result: yes" >&5
4929echo "${ECHO_T}yes" >&6
4930 else
4931 echo "$as_me:$LINENO: result: no" >&5
4932echo "${ECHO_T}no" >&6
4933 fi
4934
4935
4936 enablestring=
4937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
4938echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
4939 no_cache=0
4940 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4941if test "${enable_fs_zip+set}" = set; then
4942 enableval="$enable_fs_zip"
4943
4944 if test "$enableval" = yes; then
4945 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4946 else
4947 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4948 fi
4949
4950else
4951
4952 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4953 if test "x$LINE" != x ; then
4954 eval "DEFAULT_$LINE"
4955 else
4956 no_cache=1
4957 fi
4958
4959 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4960
4961fi;
4962
4963 eval "$ac_cv_use_fs_zip"
4964 if test "$no_cache" != 1; then
4965 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4966 fi
4967
4968 if test "$wxUSE_FS_ZIP" = yes; then
4969 echo "$as_me:$LINENO: result: yes" >&5
4970echo "${ECHO_T}yes" >&6
4971 else
4972 echo "$as_me:$LINENO: result: no" >&5
4973echo "${ECHO_T}no" >&6
4974 fi
4975
4976
4977 enablestring=
4978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4979echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4980 no_cache=0
4981 # Check whether --enable-geometry or --disable-geometry was given.
4982if test "${enable_geometry+set}" = set; then
4983 enableval="$enable_geometry"
4984
4985 if test "$enableval" = yes; then
4986 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4987 else
4988 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4989 fi
4990
4991else
4992
4993 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4994 if test "x$LINE" != x ; then
4995 eval "DEFAULT_$LINE"
4996 else
4997 no_cache=1
4998 fi
4999
5000 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5001
5002fi;
5003
5004 eval "$ac_cv_use_geometry"
5005 if test "$no_cache" != 1; then
5006 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5007 fi
5008
5009 if test "$wxUSE_GEOMETRY" = yes; then
5010 echo "$as_me:$LINENO: result: yes" >&5
5011echo "${ECHO_T}yes" >&6
5012 else
5013 echo "$as_me:$LINENO: result: no" >&5
5014echo "${ECHO_T}no" >&6
5015 fi
5016
5017
5018 enablestring=
5019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5020echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5021 no_cache=0
5022 # Check whether --enable-log or --disable-log was given.
5023if test "${enable_log+set}" = set; then
5024 enableval="$enable_log"
5025
5026 if test "$enableval" = yes; then
5027 ac_cv_use_log='wxUSE_LOG=yes'
5028 else
5029 ac_cv_use_log='wxUSE_LOG=no'
5030 fi
5031
5032else
5033
5034 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5035 if test "x$LINE" != x ; then
5036 eval "DEFAULT_$LINE"
5037 else
5038 no_cache=1
5039 fi
5040
5041 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5042
5043fi;
5044
5045 eval "$ac_cv_use_log"
5046 if test "$no_cache" != 1; then
5047 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5048 fi
5049
5050 if test "$wxUSE_LOG" = yes; then
5051 echo "$as_me:$LINENO: result: yes" >&5
5052echo "${ECHO_T}yes" >&6
5053 else
5054 echo "$as_me:$LINENO: result: no" >&5
5055echo "${ECHO_T}no" >&6
5056 fi
5057
5058
5059 enablestring=
5060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5061echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5062 no_cache=0
5063 # Check whether --enable-longlong or --disable-longlong was given.
5064if test "${enable_longlong+set}" = set; then
5065 enableval="$enable_longlong"
5066
5067 if test "$enableval" = yes; then
5068 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5069 else
5070 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5071 fi
5072
5073else
5074
5075 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5076 if test "x$LINE" != x ; then
5077 eval "DEFAULT_$LINE"
5078 else
5079 no_cache=1
5080 fi
5081
5082 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5083
5084fi;
5085
5086 eval "$ac_cv_use_longlong"
5087 if test "$no_cache" != 1; then
5088 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5089 fi
5090
5091 if test "$wxUSE_LONGLONG" = yes; then
5092 echo "$as_me:$LINENO: result: yes" >&5
5093echo "${ECHO_T}yes" >&6
5094 else
5095 echo "$as_me:$LINENO: result: no" >&5
5096echo "${ECHO_T}no" >&6
5097 fi
5098
5099
5100 enablestring=
5101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5102echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5103 no_cache=0
5104 # Check whether --enable-mimetype or --disable-mimetype was given.
5105if test "${enable_mimetype+set}" = set; then
5106 enableval="$enable_mimetype"
5107
5108 if test "$enableval" = yes; then
5109 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5110 else
5111 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5112 fi
5113
5114else
5115
5116 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5117 if test "x$LINE" != x ; then
5118 eval "DEFAULT_$LINE"
5119 else
5120 no_cache=1
5121 fi
5122
5123 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5124
5125fi;
5126
5127 eval "$ac_cv_use_mimetype"
5128 if test "$no_cache" != 1; then
5129 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5130 fi
5131
5132 if test "$wxUSE_MIMETYPE" = yes; then
5133 echo "$as_me:$LINENO: result: yes" >&5
5134echo "${ECHO_T}yes" >&6
5135 else
5136 echo "$as_me:$LINENO: result: no" >&5
5137echo "${ECHO_T}no" >&6
5138 fi
5139
5140
5141 enablestring=
5142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5143echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5144 no_cache=0
5145 # Check whether --enable-mslu or --disable-mslu was given.
5146if test "${enable_mslu+set}" = set; then
5147 enableval="$enable_mslu"
5148
5149 if test "$enableval" = yes; then
5150 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5151 else
5152 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5153 fi
5154
5155else
5156
5157 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5158 if test "x$LINE" != x ; then
5159 eval "DEFAULT_$LINE"
5160 else
5161 no_cache=1
5162 fi
5163
5164 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5165
5166fi;
5167
5168 eval "$ac_cv_use_mslu"
5169 if test "$no_cache" != 1; then
5170 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5171 fi
5172
5173 if test "$wxUSE_UNICODE_MSLU" = yes; then
5174 echo "$as_me:$LINENO: result: yes" >&5
5175echo "${ECHO_T}yes" >&6
5176 else
5177 echo "$as_me:$LINENO: result: no" >&5
5178echo "${ECHO_T}no" >&6
5179 fi
5180
5181
5182 enablestring=
5183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5184echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5185 no_cache=0
5186 # Check whether --enable-snglinst or --disable-snglinst was given.
5187if test "${enable_snglinst+set}" = set; then
5188 enableval="$enable_snglinst"
5189
5190 if test "$enableval" = yes; then
5191 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5192 else
5193 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5194 fi
5195
5196else
5197
5198 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5199 if test "x$LINE" != x ; then
5200 eval "DEFAULT_$LINE"
5201 else
5202 no_cache=1
5203 fi
5204
5205 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5206
5207fi;
5208
5209 eval "$ac_cv_use_snglinst"
5210 if test "$no_cache" != 1; then
5211 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5212 fi
5213
5214 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5215 echo "$as_me:$LINENO: result: yes" >&5
5216echo "${ECHO_T}yes" >&6
5217 else
5218 echo "$as_me:$LINENO: result: no" >&5
5219echo "${ECHO_T}no" >&6
5220 fi
5221
5222
5223 enablestring=
5224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5225echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5226 no_cache=0
5227 # Check whether --enable-streams or --disable-streams was given.
5228if test "${enable_streams+set}" = set; then
5229 enableval="$enable_streams"
5230
5231 if test "$enableval" = yes; then
5232 ac_cv_use_streams='wxUSE_STREAMS=yes'
5233 else
5234 ac_cv_use_streams='wxUSE_STREAMS=no'
5235 fi
5236
5237else
5238
5239 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5240 if test "x$LINE" != x ; then
5241 eval "DEFAULT_$LINE"
5242 else
5243 no_cache=1
5244 fi
5245
5246 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5247
5248fi;
5249
5250 eval "$ac_cv_use_streams"
5251 if test "$no_cache" != 1; then
5252 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5253 fi
5254
5255 if test "$wxUSE_STREAMS" = yes; then
5256 echo "$as_me:$LINENO: result: yes" >&5
5257echo "${ECHO_T}yes" >&6
5258 else
5259 echo "$as_me:$LINENO: result: no" >&5
5260echo "${ECHO_T}no" >&6
5261 fi
5262
5263
5264 enablestring=
5265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5266echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5267 no_cache=0
5268 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5269if test "${enable_std_iostreams+set}" = set; then
5270 enableval="$enable_std_iostreams"
5271
5272 if test "$enableval" = yes; then
5273 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5274 else
5275 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5276 fi
5277
5278else
5279
5280 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5281 if test "x$LINE" != x ; then
5282 eval "DEFAULT_$LINE"
5283 else
5284 no_cache=1
5285 fi
5286
5287 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5288
5289fi;
5290
5291 eval "$ac_cv_use_std_iostreams"
5292 if test "$no_cache" != 1; then
5293 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5294 fi
5295
5296 if test "$wxUSE_STD_IOSTREAM" = yes; then
5297 echo "$as_me:$LINENO: result: yes" >&5
5298echo "${ECHO_T}yes" >&6
5299 else
5300 echo "$as_me:$LINENO: result: no" >&5
5301echo "${ECHO_T}no" >&6
5302 fi
5303
5304
5305 enablestring=
5306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5307echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5308 no_cache=0
5309 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5310if test "${enable_stopwatch+set}" = set; then
5311 enableval="$enable_stopwatch"
5312
5313 if test "$enableval" = yes; then
5314 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5315 else
5316 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5317 fi
5318
5319else
5320
5321 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5322 if test "x$LINE" != x ; then
5323 eval "DEFAULT_$LINE"
5324 else
5325 no_cache=1
5326 fi
5327
5328 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5329
5330fi;
5331
5332 eval "$ac_cv_use_stopwatch"
5333 if test "$no_cache" != 1; then
5334 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5335 fi
5336
5337 if test "$wxUSE_STOPWATCH" = yes; then
5338 echo "$as_me:$LINENO: result: yes" >&5
5339echo "${ECHO_T}yes" >&6
5340 else
5341 echo "$as_me:$LINENO: result: no" >&5
5342echo "${ECHO_T}no" >&6
5343 fi
5344
5345
5346 enablestring=
5347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5348echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5349 no_cache=0
5350 # Check whether --enable-system_options or --disable-system_options was given.
5351if test "${enable_system_options+set}" = set; then
5352 enableval="$enable_system_options"
5353
5354 if test "$enableval" = yes; then
5355 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5356 else
5357 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5358 fi
5359
5360else
5361
5362 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5363 if test "x$LINE" != x ; then
5364 eval "DEFAULT_$LINE"
5365 else
5366 no_cache=1
5367 fi
5368
5369 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5370
5371fi;
5372
5373 eval "$ac_cv_use_system_options"
5374 if test "$no_cache" != 1; then
5375 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5376 fi
5377
5378 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5379 echo "$as_me:$LINENO: result: yes" >&5
5380echo "${ECHO_T}yes" >&6
5381 else
5382 echo "$as_me:$LINENO: result: no" >&5
5383echo "${ECHO_T}no" >&6
5384 fi
5385
5386
5387 enablestring=
5388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5389echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5390 no_cache=0
5391 # Check whether --enable-textbuf or --disable-textbuf was given.
5392if test "${enable_textbuf+set}" = set; then
5393 enableval="$enable_textbuf"
5394
5395 if test "$enableval" = yes; then
5396 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5397 else
5398 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5399 fi
5400
5401else
5402
5403 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5404 if test "x$LINE" != x ; then
5405 eval "DEFAULT_$LINE"
5406 else
5407 no_cache=1
5408 fi
5409
5410 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5411
5412fi;
5413
5414 eval "$ac_cv_use_textbuf"
5415 if test "$no_cache" != 1; then
5416 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5417 fi
5418
5419 if test "$wxUSE_TEXTBUFFER" = yes; then
5420 echo "$as_me:$LINENO: result: yes" >&5
5421echo "${ECHO_T}yes" >&6
5422 else
5423 echo "$as_me:$LINENO: result: no" >&5
5424echo "${ECHO_T}no" >&6
5425 fi
5426
5427
5428 enablestring=
5429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5430echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5431 no_cache=0
5432 # Check whether --enable-textfile or --disable-textfile was given.
5433if test "${enable_textfile+set}" = set; then
5434 enableval="$enable_textfile"
5435
5436 if test "$enableval" = yes; then
5437 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5438 else
5439 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5440 fi
5441
5442else
5443
5444 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5445 if test "x$LINE" != x ; then
5446 eval "DEFAULT_$LINE"
5447 else
5448 no_cache=1
5449 fi
5450
5451 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5452
5453fi;
5454
5455 eval "$ac_cv_use_textfile"
5456 if test "$no_cache" != 1; then
5457 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5458 fi
5459
5460 if test "$wxUSE_TEXTFILE" = yes; then
5461 echo "$as_me:$LINENO: result: yes" >&5
5462echo "${ECHO_T}yes" >&6
5463 else
5464 echo "$as_me:$LINENO: result: no" >&5
5465echo "${ECHO_T}no" >&6
5466 fi
5467
5468
5469 enablestring=
5470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5471echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5472 no_cache=0
5473 # Check whether --enable-timer or --disable-timer was given.
5474if test "${enable_timer+set}" = set; then
5475 enableval="$enable_timer"
5476
5477 if test "$enableval" = yes; then
5478 ac_cv_use_timer='wxUSE_TIMER=yes'
5479 else
5480 ac_cv_use_timer='wxUSE_TIMER=no'
5481 fi
5482
5483else
5484
5485 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5486 if test "x$LINE" != x ; then
5487 eval "DEFAULT_$LINE"
5488 else
5489 no_cache=1
5490 fi
5491
5492 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5493
5494fi;
5495
5496 eval "$ac_cv_use_timer"
5497 if test "$no_cache" != 1; then
5498 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5499 fi
5500
5501 if test "$wxUSE_TIMER" = yes; then
5502 echo "$as_me:$LINENO: result: yes" >&5
5503echo "${ECHO_T}yes" >&6
5504 else
5505 echo "$as_me:$LINENO: result: no" >&5
5506echo "${ECHO_T}no" >&6
5507 fi
5508
5509
5510 enablestring=
5511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5512echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5513 no_cache=0
5514 # Check whether --enable-unicode or --disable-unicode was given.
5515if test "${enable_unicode+set}" = set; then
5516 enableval="$enable_unicode"
5517
5518 if test "$enableval" = yes; then
5519 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5520 else
5521 ac_cv_use_unicode='wxUSE_UNICODE=no'
5522 fi
5523
5524else
5525
5526 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5527 if test "x$LINE" != x ; then
5528 eval "DEFAULT_$LINE"
5529 else
5530 no_cache=1
5531 fi
5532
5533 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5534
5535fi;
5536
5537 eval "$ac_cv_use_unicode"
5538 if test "$no_cache" != 1; then
5539 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5540 fi
5541
5542 if test "$wxUSE_UNICODE" = yes; then
5543 echo "$as_me:$LINENO: result: yes" >&5
5544echo "${ECHO_T}yes" >&6
5545 else
5546 echo "$as_me:$LINENO: result: no" >&5
5547echo "${ECHO_T}no" >&6
5548 fi
5549
5550
5551 enablestring=
5552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5553echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5554 no_cache=0
5555 # Check whether --enable-sound or --disable-sound was given.
5556if test "${enable_sound+set}" = set; then
5557 enableval="$enable_sound"
5558
5559 if test "$enableval" = yes; then
5560 ac_cv_use_sound='wxUSE_SOUND=yes'
5561 else
5562 ac_cv_use_sound='wxUSE_SOUND=no'
5563 fi
5564
5565else
5566
5567 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5568 if test "x$LINE" != x ; then
5569 eval "DEFAULT_$LINE"
5570 else
5571 no_cache=1
5572 fi
5573
5574 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5575
5576fi;
5577
5578 eval "$ac_cv_use_sound"
5579 if test "$no_cache" != 1; then
5580 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5581 fi
5582
5583 if test "$wxUSE_SOUND" = yes; then
5584 echo "$as_me:$LINENO: result: yes" >&5
5585echo "${ECHO_T}yes" >&6
5586 else
5587 echo "$as_me:$LINENO: result: no" >&5
5588echo "${ECHO_T}no" >&6
5589 fi
5590
5591
5592 enablestring=
5593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5594echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5595 no_cache=0
5596 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5597if test "${enable_wxprintfv+set}" = set; then
5598 enableval="$enable_wxprintfv"
5599
5600 if test "$enableval" = yes; then
5601 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5602 else
5603 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5604 fi
5605
5606else
5607
5608 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5609 if test "x$LINE" != x ; then
5610 eval "DEFAULT_$LINE"
5611 else
5612 no_cache=1
5613 fi
5614
5615 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5616
5617fi;
5618
5619 eval "$ac_cv_use_wxprintfv"
5620 if test "$no_cache" != 1; then
5621 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5622 fi
5623
5624 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5625 echo "$as_me:$LINENO: result: yes" >&5
5626echo "${ECHO_T}yes" >&6
5627 else
5628 echo "$as_me:$LINENO: result: no" >&5
5629echo "${ECHO_T}no" >&6
5630 fi
5631
5632
5633 enablestring=
5634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5635echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5636 no_cache=0
5637 # Check whether --enable-zipstream or --disable-zipstream was given.
5638if test "${enable_zipstream+set}" = set; then
5639 enableval="$enable_zipstream"
5640
5641 if test "$enableval" = yes; then
5642 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5643 else
5644 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5645 fi
5646
5647else
5648
5649 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5650 if test "x$LINE" != x ; then
5651 eval "DEFAULT_$LINE"
5652 else
5653 no_cache=1
5654 fi
5655
5656 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5657
5658fi;
5659
5660 eval "$ac_cv_use_zipstream"
5661 if test "$no_cache" != 1; then
5662 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5663 fi
5664
5665 if test "$wxUSE_ZIPSTREAM" = yes; then
5666 echo "$as_me:$LINENO: result: yes" >&5
5667echo "${ECHO_T}yes" >&6
5668 else
5669 echo "$as_me:$LINENO: result: no" >&5
5670echo "${ECHO_T}no" >&6
5671 fi
5672
5673
5674 enablestring=
5675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5676echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5677 no_cache=0
5678 # Check whether --enable-gzstream or --disable-gzstream was given.
5679if test "${enable_gzstream+set}" = set; then
5680 enableval="$enable_gzstream"
5681
5682 if test "$enableval" = yes; then
5683 ac_cv_use_gzstream='wxUSE_GZSTREAM=yes'
5684 else
5685 ac_cv_use_gzstream='wxUSE_GZSTREAM=no'
5686 fi
5687
5688else
5689
5690 LINE=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5691 if test "x$LINE" != x ; then
5692 eval "DEFAULT_$LINE"
5693 else
5694 no_cache=1
5695 fi
5696
5697 ac_cv_use_gzstream='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5698
5699fi;
5700
5701 eval "$ac_cv_use_gzstream"
5702 if test "$no_cache" != 1; then
5703 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5704 fi
5705
5706 if test "$wxUSE_GZSTREAM" = yes; then
5707 echo "$as_me:$LINENO: result: yes" >&5
5708echo "${ECHO_T}yes" >&6
5709 else
5710 echo "$as_me:$LINENO: result: no" >&5
5711echo "${ECHO_T}no" >&6
5712 fi
5713
5714
5715
5716 enablestring=
5717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5718echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5719 no_cache=0
5720 # Check whether --enable-url or --disable-url was given.
5721if test "${enable_url+set}" = set; then
5722 enableval="$enable_url"
5723
5724 if test "$enableval" = yes; then
5725 ac_cv_use_url='wxUSE_URL=yes'
5726 else
5727 ac_cv_use_url='wxUSE_URL=no'
5728 fi
5729
5730else
5731
5732 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5733 if test "x$LINE" != x ; then
5734 eval "DEFAULT_$LINE"
5735 else
5736 no_cache=1
5737 fi
5738
5739 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5740
5741fi;
5742
5743 eval "$ac_cv_use_url"
5744 if test "$no_cache" != 1; then
5745 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5746 fi
5747
5748 if test "$wxUSE_URL" = yes; then
5749 echo "$as_me:$LINENO: result: yes" >&5
5750echo "${ECHO_T}yes" >&6
5751 else
5752 echo "$as_me:$LINENO: result: no" >&5
5753echo "${ECHO_T}no" >&6
5754 fi
5755
5756
5757 enablestring=
5758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5759echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5760 no_cache=0
5761 # Check whether --enable-protocol or --disable-protocol was given.
5762if test "${enable_protocol+set}" = set; then
5763 enableval="$enable_protocol"
5764
5765 if test "$enableval" = yes; then
5766 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5767 else
5768 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5769 fi
5770
5771else
5772
5773 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5774 if test "x$LINE" != x ; then
5775 eval "DEFAULT_$LINE"
5776 else
5777 no_cache=1
5778 fi
5779
5780 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5781
5782fi;
5783
5784 eval "$ac_cv_use_protocol"
5785 if test "$no_cache" != 1; then
5786 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5787 fi
5788
5789 if test "$wxUSE_PROTOCOL" = yes; then
5790 echo "$as_me:$LINENO: result: yes" >&5
5791echo "${ECHO_T}yes" >&6
5792 else
5793 echo "$as_me:$LINENO: result: no" >&5
5794echo "${ECHO_T}no" >&6
5795 fi
5796
5797
5798 enablestring=
5799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5800echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5801 no_cache=0
5802 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5803if test "${enable_protocol_http+set}" = set; then
5804 enableval="$enable_protocol_http"
5805
5806 if test "$enableval" = yes; then
5807 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5808 else
5809 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5810 fi
5811
5812else
5813
5814 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5815 if test "x$LINE" != x ; then
5816 eval "DEFAULT_$LINE"
5817 else
5818 no_cache=1
5819 fi
5820
5821 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5822
5823fi;
5824
5825 eval "$ac_cv_use_protocol_http"
5826 if test "$no_cache" != 1; then
5827 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5828 fi
5829
5830 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5831 echo "$as_me:$LINENO: result: yes" >&5
5832echo "${ECHO_T}yes" >&6
5833 else
5834 echo "$as_me:$LINENO: result: no" >&5
5835echo "${ECHO_T}no" >&6
5836 fi
5837
5838
5839 enablestring=
5840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5841echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5842 no_cache=0
5843 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5844if test "${enable_protocol_ftp+set}" = set; then
5845 enableval="$enable_protocol_ftp"
5846
5847 if test "$enableval" = yes; then
5848 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5849 else
5850 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5851 fi
5852
5853else
5854
5855 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5856 if test "x$LINE" != x ; then
5857 eval "DEFAULT_$LINE"
5858 else
5859 no_cache=1
5860 fi
5861
5862 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5863
5864fi;
5865
5866 eval "$ac_cv_use_protocol_ftp"
5867 if test "$no_cache" != 1; then
5868 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5869 fi
5870
5871 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5872 echo "$as_me:$LINENO: result: yes" >&5
5873echo "${ECHO_T}yes" >&6
5874 else
5875 echo "$as_me:$LINENO: result: no" >&5
5876echo "${ECHO_T}no" >&6
5877 fi
5878
5879
5880 enablestring=
5881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5882echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5883 no_cache=0
5884 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5885if test "${enable_protocol_file+set}" = set; then
5886 enableval="$enable_protocol_file"
5887
5888 if test "$enableval" = yes; then
5889 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5890 else
5891 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5892 fi
5893
5894else
5895
5896 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5897 if test "x$LINE" != x ; then
5898 eval "DEFAULT_$LINE"
5899 else
5900 no_cache=1
5901 fi
5902
5903 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5904
5905fi;
5906
5907 eval "$ac_cv_use_protocol_file"
5908 if test "$no_cache" != 1; then
5909 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5910 fi
5911
5912 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5913 echo "$as_me:$LINENO: result: yes" >&5
5914echo "${ECHO_T}yes" >&6
5915 else
5916 echo "$as_me:$LINENO: result: no" >&5
5917echo "${ECHO_T}no" >&6
5918 fi
5919
5920
5921
5922
5923
5924 enablestring=
5925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5926echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5927 no_cache=0
5928 # Check whether --enable-threads or --disable-threads was given.
5929if test "${enable_threads+set}" = set; then
5930 enableval="$enable_threads"
5931
5932 if test "$enableval" = yes; then
5933 ac_cv_use_threads='wxUSE_THREADS=yes'
5934 else
5935 ac_cv_use_threads='wxUSE_THREADS=no'
5936 fi
5937
5938else
5939
5940 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5941 if test "x$LINE" != x ; then
5942 eval "DEFAULT_$LINE"
5943 else
5944 no_cache=1
5945 fi
5946
5947 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5948
5949fi;
5950
5951 eval "$ac_cv_use_threads"
5952 if test "$no_cache" != 1; then
5953 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5954 fi
5955
5956 if test "$wxUSE_THREADS" = yes; then
5957 echo "$as_me:$LINENO: result: yes" >&5
5958echo "${ECHO_T}yes" >&6
5959 else
5960 echo "$as_me:$LINENO: result: no" >&5
5961echo "${ECHO_T}no" >&6
5962 fi
5963
5964
5965if test "$wxUSE_GUI" = "yes"; then
5966
5967
5968
5969 enablestring=
5970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5971echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5972 no_cache=0
5973 # Check whether --enable-docview or --disable-docview was given.
5974if test "${enable_docview+set}" = set; then
5975 enableval="$enable_docview"
5976
5977 if test "$enableval" = yes; then
5978 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5979 else
5980 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5981 fi
5982
5983else
5984
5985 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5986 if test "x$LINE" != x ; then
5987 eval "DEFAULT_$LINE"
5988 else
5989 no_cache=1
5990 fi
5991
5992 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5993
5994fi;
5995
5996 eval "$ac_cv_use_docview"
5997 if test "$no_cache" != 1; then
5998 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5999 fi
6000
6001 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6002 echo "$as_me:$LINENO: result: yes" >&5
6003echo "${ECHO_T}yes" >&6
6004 else
6005 echo "$as_me:$LINENO: result: no" >&5
6006echo "${ECHO_T}no" >&6
6007 fi
6008
6009
6010 enablestring=
6011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6012echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6013 no_cache=0
6014 # Check whether --enable-help or --disable-help was given.
6015if test "${enable_help+set}" = set; then
6016 enableval="$enable_help"
6017
6018 if test "$enableval" = yes; then
6019 ac_cv_use_help='wxUSE_HELP=yes'
6020 else
6021 ac_cv_use_help='wxUSE_HELP=no'
6022 fi
6023
6024else
6025
6026 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6027 if test "x$LINE" != x ; then
6028 eval "DEFAULT_$LINE"
6029 else
6030 no_cache=1
6031 fi
6032
6033 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6034
6035fi;
6036
6037 eval "$ac_cv_use_help"
6038 if test "$no_cache" != 1; then
6039 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6040 fi
6041
6042 if test "$wxUSE_HELP" = yes; then
6043 echo "$as_me:$LINENO: result: yes" >&5
6044echo "${ECHO_T}yes" >&6
6045 else
6046 echo "$as_me:$LINENO: result: no" >&5
6047echo "${ECHO_T}no" >&6
6048 fi
6049
6050
6051 enablestring=
6052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6053echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6054 no_cache=0
6055 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6056if test "${enable_mshtmlhelp+set}" = set; then
6057 enableval="$enable_mshtmlhelp"
6058
6059 if test "$enableval" = yes; then
6060 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6061 else
6062 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6063 fi
6064
6065else
6066
6067 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6068 if test "x$LINE" != x ; then
6069 eval "DEFAULT_$LINE"
6070 else
6071 no_cache=1
6072 fi
6073
6074 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6075
6076fi;
6077
6078 eval "$ac_cv_use_mshtmlhelp"
6079 if test "$no_cache" != 1; then
6080 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6081 fi
6082
6083 if test "$wxUSE_MS_HTML_HELP" = yes; then
6084 echo "$as_me:$LINENO: result: yes" >&5
6085echo "${ECHO_T}yes" >&6
6086 else
6087 echo "$as_me:$LINENO: result: no" >&5
6088echo "${ECHO_T}no" >&6
6089 fi
6090
6091
6092 enablestring=
6093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6094echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6095 no_cache=0
6096 # Check whether --enable-html or --disable-html was given.
6097if test "${enable_html+set}" = set; then
6098 enableval="$enable_html"
6099
6100 if test "$enableval" = yes; then
6101 ac_cv_use_html='wxUSE_HTML=yes'
6102 else
6103 ac_cv_use_html='wxUSE_HTML=no'
6104 fi
6105
6106else
6107
6108 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6109 if test "x$LINE" != x ; then
6110 eval "DEFAULT_$LINE"
6111 else
6112 no_cache=1
6113 fi
6114
6115 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6116
6117fi;
6118
6119 eval "$ac_cv_use_html"
6120 if test "$no_cache" != 1; then
6121 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6122 fi
6123
6124 if test "$wxUSE_HTML" = yes; then
6125 echo "$as_me:$LINENO: result: yes" >&5
6126echo "${ECHO_T}yes" >&6
6127 else
6128 echo "$as_me:$LINENO: result: no" >&5
6129echo "${ECHO_T}no" >&6
6130 fi
6131
6132
6133 enablestring=
6134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6135echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6136 no_cache=0
6137 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6138if test "${enable_htmlhelp+set}" = set; then
6139 enableval="$enable_htmlhelp"
6140
6141 if test "$enableval" = yes; then
6142 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6143 else
6144 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6145 fi
6146
6147else
6148
6149 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6150 if test "x$LINE" != x ; then
6151 eval "DEFAULT_$LINE"
6152 else
6153 no_cache=1
6154 fi
6155
6156 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6157
6158fi;
6159
6160 eval "$ac_cv_use_htmlhelp"
6161 if test "$no_cache" != 1; then
6162 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6163 fi
6164
6165 if test "$wxUSE_WXHTML_HELP" = yes; then
6166 echo "$as_me:$LINENO: result: yes" >&5
6167echo "${ECHO_T}yes" >&6
6168 else
6169 echo "$as_me:$LINENO: result: no" >&5
6170echo "${ECHO_T}no" >&6
6171 fi
6172
6173
6174 enablestring=
6175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6176echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6177 no_cache=0
6178 # Check whether --enable-constraints or --disable-constraints was given.
6179if test "${enable_constraints+set}" = set; then
6180 enableval="$enable_constraints"
6181
6182 if test "$enableval" = yes; then
6183 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6184 else
6185 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6186 fi
6187
6188else
6189
6190 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6191 if test "x$LINE" != x ; then
6192 eval "DEFAULT_$LINE"
6193 else
6194 no_cache=1
6195 fi
6196
6197 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6198
6199fi;
6200
6201 eval "$ac_cv_use_constraints"
6202 if test "$no_cache" != 1; then
6203 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6204 fi
6205
6206 if test "$wxUSE_CONSTRAINTS" = yes; then
6207 echo "$as_me:$LINENO: result: yes" >&5
6208echo "${ECHO_T}yes" >&6
6209 else
6210 echo "$as_me:$LINENO: result: no" >&5
6211echo "${ECHO_T}no" >&6
6212 fi
6213
6214
6215 enablestring=
6216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6217echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6218 no_cache=0
6219 # Check whether --enable-printarch or --disable-printarch was given.
6220if test "${enable_printarch+set}" = set; then
6221 enableval="$enable_printarch"
6222
6223 if test "$enableval" = yes; then
6224 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6225 else
6226 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6227 fi
6228
6229else
6230
6231 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6232 if test "x$LINE" != x ; then
6233 eval "DEFAULT_$LINE"
6234 else
6235 no_cache=1
6236 fi
6237
6238 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6239
6240fi;
6241
6242 eval "$ac_cv_use_printarch"
6243 if test "$no_cache" != 1; then
6244 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6245 fi
6246
6247 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6248 echo "$as_me:$LINENO: result: yes" >&5
6249echo "${ECHO_T}yes" >&6
6250 else
6251 echo "$as_me:$LINENO: result: no" >&5
6252echo "${ECHO_T}no" >&6
6253 fi
6254
6255
6256 enablestring=
6257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6258echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6259 no_cache=0
6260 # Check whether --enable-mdi or --disable-mdi was given.
6261if test "${enable_mdi+set}" = set; then
6262 enableval="$enable_mdi"
6263
6264 if test "$enableval" = yes; then
6265 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6266 else
6267 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6268 fi
6269
6270else
6271
6272 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6273 if test "x$LINE" != x ; then
6274 eval "DEFAULT_$LINE"
6275 else
6276 no_cache=1
6277 fi
6278
6279 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6280
6281fi;
6282
6283 eval "$ac_cv_use_mdi"
6284 if test "$no_cache" != 1; then
6285 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6286 fi
6287
6288 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6289 echo "$as_me:$LINENO: result: yes" >&5
6290echo "${ECHO_T}yes" >&6
6291 else
6292 echo "$as_me:$LINENO: result: no" >&5
6293echo "${ECHO_T}no" >&6
6294 fi
6295
6296
6297 enablestring=
6298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6299echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6300 no_cache=0
6301 # Check whether --enable-loggui or --disable-loggui was given.
6302if test "${enable_loggui+set}" = set; then
6303 enableval="$enable_loggui"
6304
6305 if test "$enableval" = yes; then
6306 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6307 else
6308 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6309 fi
6310
6311else
6312
6313 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6314 if test "x$LINE" != x ; then
6315 eval "DEFAULT_$LINE"
6316 else
6317 no_cache=1
6318 fi
6319
6320 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6321
6322fi;
6323
6324 eval "$ac_cv_use_loggui"
6325 if test "$no_cache" != 1; then
6326 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6327 fi
6328
6329 if test "$wxUSE_LOGGUI" = yes; then
6330 echo "$as_me:$LINENO: result: yes" >&5
6331echo "${ECHO_T}yes" >&6
6332 else
6333 echo "$as_me:$LINENO: result: no" >&5
6334echo "${ECHO_T}no" >&6
6335 fi
6336
6337
6338 enablestring=
6339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6340echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6341 no_cache=0
6342 # Check whether --enable-logwin or --disable-logwin was given.
6343if test "${enable_logwin+set}" = set; then
6344 enableval="$enable_logwin"
6345
6346 if test "$enableval" = yes; then
6347 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6348 else
6349 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6350 fi
6351
6352else
6353
6354 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6355 if test "x$LINE" != x ; then
6356 eval "DEFAULT_$LINE"
6357 else
6358 no_cache=1
6359 fi
6360
6361 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6362
6363fi;
6364
6365 eval "$ac_cv_use_logwin"
6366 if test "$no_cache" != 1; then
6367 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6368 fi
6369
6370 if test "$wxUSE_LOGWINDOW" = yes; then
6371 echo "$as_me:$LINENO: result: yes" >&5
6372echo "${ECHO_T}yes" >&6
6373 else
6374 echo "$as_me:$LINENO: result: no" >&5
6375echo "${ECHO_T}no" >&6
6376 fi
6377
6378
6379 enablestring=
6380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6381echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6382 no_cache=0
6383 # Check whether --enable-logdialog or --disable-logdialog was given.
6384if test "${enable_logdialog+set}" = set; then
6385 enableval="$enable_logdialog"
6386
6387 if test "$enableval" = yes; then
6388 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6389 else
6390 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6391 fi
6392
6393else
6394
6395 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6396 if test "x$LINE" != x ; then
6397 eval "DEFAULT_$LINE"
6398 else
6399 no_cache=1
6400 fi
6401
6402 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6403
6404fi;
6405
6406 eval "$ac_cv_use_logdialog"
6407 if test "$no_cache" != 1; then
6408 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6409 fi
6410
6411 if test "$wxUSE_LOGDIALOG" = yes; then
6412 echo "$as_me:$LINENO: result: yes" >&5
6413echo "${ECHO_T}yes" >&6
6414 else
6415 echo "$as_me:$LINENO: result: no" >&5
6416echo "${ECHO_T}no" >&6
6417 fi
6418
6419
6420
6421 enablestring=
6422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6423echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6424 no_cache=0
6425 # Check whether --enable-postscript or --disable-postscript was given.
6426if test "${enable_postscript+set}" = set; then
6427 enableval="$enable_postscript"
6428
6429 if test "$enableval" = yes; then
6430 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6431 else
6432 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6433 fi
6434
6435else
6436
6437 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6438 if test "x$LINE" != x ; then
6439 eval "DEFAULT_$LINE"
6440 else
6441 no_cache=1
6442 fi
6443
6444 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6445
6446fi;
6447
6448 eval "$ac_cv_use_postscript"
6449 if test "$no_cache" != 1; then
6450 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6451 fi
6452
6453 if test "$wxUSE_POSTSCRIPT" = yes; then
6454 echo "$as_me:$LINENO: result: yes" >&5
6455echo "${ECHO_T}yes" >&6
6456 else
6457 echo "$as_me:$LINENO: result: no" >&5
6458echo "${ECHO_T}no" >&6
6459 fi
6460
6461
6462
6463
6464
6465 enablestring=
6466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6467echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6468 no_cache=0
6469 # Check whether --enable-prologio or --disable-prologio was given.
6470if test "${enable_prologio+set}" = set; then
6471 enableval="$enable_prologio"
6472
6473 if test "$enableval" = yes; then
6474 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6475 else
6476 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6477 fi
6478
6479else
6480
6481 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6482 if test "x$LINE" != x ; then
6483 eval "DEFAULT_$LINE"
6484 else
6485 no_cache=1
6486 fi
6487
6488 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6489
6490fi;
6491
6492 eval "$ac_cv_use_prologio"
6493 if test "$no_cache" != 1; then
6494 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6495 fi
6496
6497 if test "$wxUSE_PROLOGIO" = yes; then
6498 echo "$as_me:$LINENO: result: yes" >&5
6499echo "${ECHO_T}yes" >&6
6500 else
6501 echo "$as_me:$LINENO: result: no" >&5
6502echo "${ECHO_T}no" >&6
6503 fi
6504
6505
6506 enablestring=
6507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6508echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6509 no_cache=0
6510 # Check whether --enable-resources or --disable-resources was given.
6511if test "${enable_resources+set}" = set; then
6512 enableval="$enable_resources"
6513
6514 if test "$enableval" = yes; then
6515 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6516 else
6517 ac_cv_use_resources='wxUSE_RESOURCES=no'
6518 fi
6519
6520else
6521
6522 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6523 if test "x$LINE" != x ; then
6524 eval "DEFAULT_$LINE"
6525 else
6526 no_cache=1
6527 fi
6528
6529 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6530
6531fi;
6532
6533 eval "$ac_cv_use_resources"
6534 if test "$no_cache" != 1; then
6535 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6536 fi
6537
6538 if test "$wxUSE_RESOURCES" = yes; then
6539 echo "$as_me:$LINENO: result: yes" >&5
6540echo "${ECHO_T}yes" >&6
6541 else
6542 echo "$as_me:$LINENO: result: no" >&5
6543echo "${ECHO_T}no" >&6
6544 fi
6545
6546
6547
6548
6549 enablestring=
6550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6551echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6552 no_cache=0
6553 # Check whether --enable-clipboard or --disable-clipboard was given.
6554if test "${enable_clipboard+set}" = set; then
6555 enableval="$enable_clipboard"
6556
6557 if test "$enableval" = yes; then
6558 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6559 else
6560 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6561 fi
6562
6563else
6564
6565 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6566 if test "x$LINE" != x ; then
6567 eval "DEFAULT_$LINE"
6568 else
6569 no_cache=1
6570 fi
6571
6572 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6573
6574fi;
6575
6576 eval "$ac_cv_use_clipboard"
6577 if test "$no_cache" != 1; then
6578 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6579 fi
6580
6581 if test "$wxUSE_CLIPBOARD" = yes; then
6582 echo "$as_me:$LINENO: result: yes" >&5
6583echo "${ECHO_T}yes" >&6
6584 else
6585 echo "$as_me:$LINENO: result: no" >&5
6586echo "${ECHO_T}no" >&6
6587 fi
6588
6589
6590 enablestring=
6591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6592echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6593 no_cache=0
6594 # Check whether --enable-dnd or --disable-dnd was given.
6595if test "${enable_dnd+set}" = set; then
6596 enableval="$enable_dnd"
6597
6598 if test "$enableval" = yes; then
6599 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6600 else
6601 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6602 fi
6603
6604else
6605
6606 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x ; then
6608 eval "DEFAULT_$LINE"
6609 else
6610 no_cache=1
6611 fi
6612
6613 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6614
6615fi;
6616
6617 eval "$ac_cv_use_dnd"
6618 if test "$no_cache" != 1; then
6619 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6620 fi
6621
6622 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6623 echo "$as_me:$LINENO: result: yes" >&5
6624echo "${ECHO_T}yes" >&6
6625 else
6626 echo "$as_me:$LINENO: result: no" >&5
6627echo "${ECHO_T}no" >&6
6628 fi
6629
6630
6631 enablestring=
6632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6633echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6634 no_cache=0
6635 # Check whether --enable-metafile or --disable-metafile was given.
6636if test "${enable_metafile+set}" = set; then
6637 enableval="$enable_metafile"
6638
6639 if test "$enableval" = yes; then
6640 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6641 else
6642 ac_cv_use_metafile='wxUSE_METAFILE=no'
6643 fi
6644
6645else
6646
6647 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6648 if test "x$LINE" != x ; then
6649 eval "DEFAULT_$LINE"
6650 else
6651 no_cache=1
6652 fi
6653
6654 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6655
6656fi;
6657
6658 eval "$ac_cv_use_metafile"
6659 if test "$no_cache" != 1; then
6660 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6661 fi
6662
6663 if test "$wxUSE_METAFILE" = yes; then
6664 echo "$as_me:$LINENO: result: yes" >&5
6665echo "${ECHO_T}yes" >&6
6666 else
6667 echo "$as_me:$LINENO: result: no" >&5
6668echo "${ECHO_T}no" >&6
6669 fi
6670
6671
6672
6673
6674
6675 enablestring=
6676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6677echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6678 no_cache=0
6679 # Check whether --enable-controls or --disable-controls was given.
6680if test "${enable_controls+set}" = set; then
6681 enableval="$enable_controls"
6682
6683 if test "$enableval" = yes; then
6684 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6685 else
6686 ac_cv_use_controls='wxUSE_CONTROLS=no'
6687 fi
6688
6689else
6690
6691 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6692 if test "x$LINE" != x ; then
6693 eval "DEFAULT_$LINE"
6694 else
6695 no_cache=1
6696 fi
6697
6698 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6699
6700fi;
6701
6702 eval "$ac_cv_use_controls"
6703 if test "$no_cache" != 1; then
6704 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6705 fi
6706
6707 if test "$wxUSE_CONTROLS" = yes; then
6708 echo "$as_me:$LINENO: result: yes" >&5
6709echo "${ECHO_T}yes" >&6
6710 else
6711 echo "$as_me:$LINENO: result: no" >&5
6712echo "${ECHO_T}no" >&6
6713 fi
6714
6715
6716if test "$wxUSE_CONTROLS" = "yes"; then
6717 DEFAULT_wxUSE_ACCEL=yes
6718 DEFAULT_wxUSE_BMPBUTTON=yes
6719 DEFAULT_wxUSE_BUTTON=yes
6720 DEFAULT_wxUSE_CALCTRL=no
6721 DEFAULT_wxUSE_CARET=yes
6722 DEFAULT_wxUSE_COMBOBOX=yes
6723 DEFAULT_wxUSE_CHECKBOX=yes
6724 DEFAULT_wxUSE_CHECKLISTBOX=yes
6725 DEFAULT_wxUSE_CHOICE=yes
6726 DEFAULT_wxUSE_GAUGE=yes
6727 DEFAULT_wxUSE_GRID=yes
6728 DEFAULT_wxUSE_IMAGLIST=yes
6729 DEFAULT_wxUSE_LISTBOOK=yes
6730 DEFAULT_wxUSE_LISTBOX=yes
6731 DEFAULT_wxUSE_LISTCTRL=yes
6732 DEFAULT_wxUSE_NOTEBOOK=yes
6733 DEFAULT_wxUSE_RADIOBOX=yes
6734 DEFAULT_wxUSE_RADIOBTN=yes
6735 DEFAULT_wxUSE_SASH=yes
6736 DEFAULT_wxUSE_SCROLLBAR=yes
6737 DEFAULT_wxUSE_SLIDER=yes
6738 DEFAULT_wxUSE_SPINBTN=yes
6739 DEFAULT_wxUSE_SPINCTRL=yes
6740 DEFAULT_wxUSE_SPLITTER=yes
6741 DEFAULT_wxUSE_STATBMP=yes
6742 DEFAULT_wxUSE_STATBOX=yes
6743 DEFAULT_wxUSE_STATLINE=yes
6744 DEFAULT_wxUSE_STATUSBAR=yes
6745 DEFAULT_wxUSE_TAB_DIALOG=yes
6746 DEFAULT_wxUSE_TOGGLEBTN=yes
6747 DEFAULT_wxUSE_TOOLBAR=yes
6748 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6749 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6750 DEFAULT_wxUSE_TOOLTIPS=yes
6751 DEFAULT_wxUSE_TREECTRL=yes
6752 DEFAULT_wxUSE_POPUPWIN=yes
6753 DEFAULT_wxUSE_TIPWINDOW=yes
6754elif test "$wxUSE_CONTROLS" = "no"; then
6755 DEFAULT_wxUSE_ACCEL=no
6756 DEFAULT_wxUSE_BMPBUTTON=no
6757 DEFAULT_wxUSE_BUTTON=no
6758 DEFAULT_wxUSE_CALCTRL=no
6759 DEFAULT_wxUSE_CARET=no
6760 DEFAULT_wxUSE_COMBOBOX=no
6761 DEFAULT_wxUSE_CHECKBOX=no
6762 DEFAULT_wxUSE_CHECKLISTBOX=no
6763 DEFAULT_wxUSE_CHOICE=no
6764 DEFAULT_wxUSE_GAUGE=no
6765 DEFAULT_wxUSE_GRID=no
6766 DEFAULT_wxUSE_IMAGLIST=no
6767 DEFAULT_wxUSE_LISTBOOK=no
6768 DEFAULT_wxUSE_LISTBOX=no
6769 DEFAULT_wxUSE_LISTCTRL=no
6770 DEFAULT_wxUSE_NOTEBOOK=no
6771 DEFAULT_wxUSE_RADIOBOX=no
6772 DEFAULT_wxUSE_RADIOBTN=no
6773 DEFAULT_wxUSE_SASH=no
6774 DEFAULT_wxUSE_SCROLLBAR=no
6775 DEFAULT_wxUSE_SLIDER=no
6776 DEFAULT_wxUSE_SPINBTN=no
6777 DEFAULT_wxUSE_SPINCTRL=no
6778 DEFAULT_wxUSE_SPLITTER=no
6779 DEFAULT_wxUSE_STATBMP=no
6780 DEFAULT_wxUSE_STATBOX=no
6781 DEFAULT_wxUSE_STATLINE=no
6782 DEFAULT_wxUSE_STATUSBAR=no
6783 DEFAULT_wxUSE_TAB_DIALOG=no
6784 DEFAULT_wxUSE_TOGGLEBTN=no
6785 DEFAULT_wxUSE_TOOLBAR=no
6786 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6787 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6788 DEFAULT_wxUSE_TOOLTIPS=no
6789 DEFAULT_wxUSE_TREECTRL=no
6790 DEFAULT_wxUSE_POPUPWIN=no
6791 DEFAULT_wxUSE_TIPWINDOW=no
6792fi
6793
6794## FIXME: This is a blatant hack
6795if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6796 wxUSE_PRINTING_ARCHITECTURE=no
6797 wxUSE_DRAG_AND_DROP=no
6798 # Generic notebook requires tab dialog
6799 DEFAULT_wxUSE_TABDIALOG=yes
6800 DEFAULT_wxUSE_SCROLLBAR=no
6801 DEFAULT_wxUSE_TOOLTIPS=no
6802 DEFAULT_wxUSE_DRAGIMAGE=no
6803fi
6804
6805
6806 enablestring=
6807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6808echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6809 no_cache=0
6810 # Check whether --enable-accel or --disable-accel was given.
6811if test "${enable_accel+set}" = set; then
6812 enableval="$enable_accel"
6813
6814 if test "$enableval" = yes; then
6815 ac_cv_use_accel='wxUSE_ACCEL=yes'
6816 else
6817 ac_cv_use_accel='wxUSE_ACCEL=no'
6818 fi
6819
6820else
6821
6822 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6823 if test "x$LINE" != x ; then
6824 eval "DEFAULT_$LINE"
6825 else
6826 no_cache=1
6827 fi
6828
6829 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6830
6831fi;
6832
6833 eval "$ac_cv_use_accel"
6834 if test "$no_cache" != 1; then
6835 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6836 fi
6837
6838 if test "$wxUSE_ACCEL" = yes; then
6839 echo "$as_me:$LINENO: result: yes" >&5
6840echo "${ECHO_T}yes" >&6
6841 else
6842 echo "$as_me:$LINENO: result: no" >&5
6843echo "${ECHO_T}no" >&6
6844 fi
6845
6846
6847 enablestring=
6848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6849echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6850 no_cache=0
6851 # Check whether --enable-button or --disable-button was given.
6852if test "${enable_button+set}" = set; then
6853 enableval="$enable_button"
6854
6855 if test "$enableval" = yes; then
6856 ac_cv_use_button='wxUSE_BUTTON=yes'
6857 else
6858 ac_cv_use_button='wxUSE_BUTTON=no'
6859 fi
6860
6861else
6862
6863 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6864 if test "x$LINE" != x ; then
6865 eval "DEFAULT_$LINE"
6866 else
6867 no_cache=1
6868 fi
6869
6870 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6871
6872fi;
6873
6874 eval "$ac_cv_use_button"
6875 if test "$no_cache" != 1; then
6876 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6877 fi
6878
6879 if test "$wxUSE_BUTTON" = yes; then
6880 echo "$as_me:$LINENO: result: yes" >&5
6881echo "${ECHO_T}yes" >&6
6882 else
6883 echo "$as_me:$LINENO: result: no" >&5
6884echo "${ECHO_T}no" >&6
6885 fi
6886
6887
6888 enablestring=
6889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6890echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6891 no_cache=0
6892 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6893if test "${enable_bmpbutton+set}" = set; then
6894 enableval="$enable_bmpbutton"
6895
6896 if test "$enableval" = yes; then
6897 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6898 else
6899 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6900 fi
6901
6902else
6903
6904 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6905 if test "x$LINE" != x ; then
6906 eval "DEFAULT_$LINE"
6907 else
6908 no_cache=1
6909 fi
6910
6911 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6912
6913fi;
6914
6915 eval "$ac_cv_use_bmpbutton"
6916 if test "$no_cache" != 1; then
6917 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6918 fi
6919
6920 if test "$wxUSE_BMPBUTTON" = yes; then
6921 echo "$as_me:$LINENO: result: yes" >&5
6922echo "${ECHO_T}yes" >&6
6923 else
6924 echo "$as_me:$LINENO: result: no" >&5
6925echo "${ECHO_T}no" >&6
6926 fi
6927
6928
6929 enablestring=
6930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6931echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6932 no_cache=0
6933 # Check whether --enable-calendar or --disable-calendar was given.
6934if test "${enable_calendar+set}" = set; then
6935 enableval="$enable_calendar"
6936
6937 if test "$enableval" = yes; then
6938 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6939 else
6940 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6941 fi
6942
6943else
6944
6945 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6946 if test "x$LINE" != x ; then
6947 eval "DEFAULT_$LINE"
6948 else
6949 no_cache=1
6950 fi
6951
6952 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6953
6954fi;
6955
6956 eval "$ac_cv_use_calendar"
6957 if test "$no_cache" != 1; then
6958 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6959 fi
6960
6961 if test "$wxUSE_CALCTRL" = yes; then
6962 echo "$as_me:$LINENO: result: yes" >&5
6963echo "${ECHO_T}yes" >&6
6964 else
6965 echo "$as_me:$LINENO: result: no" >&5
6966echo "${ECHO_T}no" >&6
6967 fi
6968
6969
6970 enablestring=
6971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6972echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6973 no_cache=0
6974 # Check whether --enable-caret or --disable-caret was given.
6975if test "${enable_caret+set}" = set; then
6976 enableval="$enable_caret"
6977
6978 if test "$enableval" = yes; then
6979 ac_cv_use_caret='wxUSE_CARET=yes'
6980 else
6981 ac_cv_use_caret='wxUSE_CARET=no'
6982 fi
6983
6984else
6985
6986 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6987 if test "x$LINE" != x ; then
6988 eval "DEFAULT_$LINE"
6989 else
6990 no_cache=1
6991 fi
6992
6993 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6994
6995fi;
6996
6997 eval "$ac_cv_use_caret"
6998 if test "$no_cache" != 1; then
6999 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7000 fi
7001
7002 if test "$wxUSE_CARET" = yes; then
7003 echo "$as_me:$LINENO: result: yes" >&5
7004echo "${ECHO_T}yes" >&6
7005 else
7006 echo "$as_me:$LINENO: result: no" >&5
7007echo "${ECHO_T}no" >&6
7008 fi
7009
7010
7011 enablestring=
7012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7013echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7014 no_cache=0
7015 # Check whether --enable-checkbox or --disable-checkbox was given.
7016if test "${enable_checkbox+set}" = set; then
7017 enableval="$enable_checkbox"
7018
7019 if test "$enableval" = yes; then
7020 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7021 else
7022 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7023 fi
7024
7025else
7026
7027 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7028 if test "x$LINE" != x ; then
7029 eval "DEFAULT_$LINE"
7030 else
7031 no_cache=1
7032 fi
7033
7034 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7035
7036fi;
7037
7038 eval "$ac_cv_use_checkbox"
7039 if test "$no_cache" != 1; then
7040 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7041 fi
7042
7043 if test "$wxUSE_CHECKBOX" = yes; then
7044 echo "$as_me:$LINENO: result: yes" >&5
7045echo "${ECHO_T}yes" >&6
7046 else
7047 echo "$as_me:$LINENO: result: no" >&5
7048echo "${ECHO_T}no" >&6
7049 fi
7050
7051
7052 enablestring=
7053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7054echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7055 no_cache=0
7056 # Check whether --enable-checklst or --disable-checklst was given.
7057if test "${enable_checklst+set}" = set; then
7058 enableval="$enable_checklst"
7059
7060 if test "$enableval" = yes; then
7061 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7062 else
7063 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7064 fi
7065
7066else
7067
7068 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7069 if test "x$LINE" != x ; then
7070 eval "DEFAULT_$LINE"
7071 else
7072 no_cache=1
7073 fi
7074
7075 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7076
7077fi;
7078
7079 eval "$ac_cv_use_checklst"
7080 if test "$no_cache" != 1; then
7081 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7082 fi
7083
7084 if test "$wxUSE_CHECKLST" = yes; then
7085 echo "$as_me:$LINENO: result: yes" >&5
7086echo "${ECHO_T}yes" >&6
7087 else
7088 echo "$as_me:$LINENO: result: no" >&5
7089echo "${ECHO_T}no" >&6
7090 fi
7091
7092
7093 enablestring=
7094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7095echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7096 no_cache=0
7097 # Check whether --enable-choice or --disable-choice was given.
7098if test "${enable_choice+set}" = set; then
7099 enableval="$enable_choice"
7100
7101 if test "$enableval" = yes; then
7102 ac_cv_use_choice='wxUSE_CHOICE=yes'
7103 else
7104 ac_cv_use_choice='wxUSE_CHOICE=no'
7105 fi
7106
7107else
7108
7109 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7110 if test "x$LINE" != x ; then
7111 eval "DEFAULT_$LINE"
7112 else
7113 no_cache=1
7114 fi
7115
7116 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7117
7118fi;
7119
7120 eval "$ac_cv_use_choice"
7121 if test "$no_cache" != 1; then
7122 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7123 fi
7124
7125 if test "$wxUSE_CHOICE" = yes; then
7126 echo "$as_me:$LINENO: result: yes" >&5
7127echo "${ECHO_T}yes" >&6
7128 else
7129 echo "$as_me:$LINENO: result: no" >&5
7130echo "${ECHO_T}no" >&6
7131 fi
7132
7133
7134 enablestring=
7135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7136echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7137 no_cache=0
7138 # Check whether --enable-combobox or --disable-combobox was given.
7139if test "${enable_combobox+set}" = set; then
7140 enableval="$enable_combobox"
7141
7142 if test "$enableval" = yes; then
7143 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7144 else
7145 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7146 fi
7147
7148else
7149
7150 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7151 if test "x$LINE" != x ; then
7152 eval "DEFAULT_$LINE"
7153 else
7154 no_cache=1
7155 fi
7156
7157 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7158
7159fi;
7160
7161 eval "$ac_cv_use_combobox"
7162 if test "$no_cache" != 1; then
7163 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7164 fi
7165
7166 if test "$wxUSE_COMBOBOX" = yes; then
7167 echo "$as_me:$LINENO: result: yes" >&5
7168echo "${ECHO_T}yes" >&6
7169 else
7170 echo "$as_me:$LINENO: result: no" >&5
7171echo "${ECHO_T}no" >&6
7172 fi
7173
7174
7175 enablestring=
7176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7177echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7178 no_cache=0
7179 # Check whether --enable-display or --disable-display was given.
7180if test "${enable_display+set}" = set; then
7181 enableval="$enable_display"
7182
7183 if test "$enableval" = yes; then
7184 ac_cv_use_display='wxUSE_DISPLAY=yes'
7185 else
7186 ac_cv_use_display='wxUSE_DISPLAY=no'
7187 fi
7188
7189else
7190
7191 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7192 if test "x$LINE" != x ; then
7193 eval "DEFAULT_$LINE"
7194 else
7195 no_cache=1
7196 fi
7197
7198 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7199
7200fi;
7201
7202 eval "$ac_cv_use_display"
7203 if test "$no_cache" != 1; then
7204 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7205 fi
7206
7207 if test "$wxUSE_DISPLAY" = yes; then
7208 echo "$as_me:$LINENO: result: yes" >&5
7209echo "${ECHO_T}yes" >&6
7210 else
7211 echo "$as_me:$LINENO: result: no" >&5
7212echo "${ECHO_T}no" >&6
7213 fi
7214
7215
7216 enablestring=
7217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7218echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7219 no_cache=0
7220 # Check whether --enable-gauge or --disable-gauge was given.
7221if test "${enable_gauge+set}" = set; then
7222 enableval="$enable_gauge"
7223
7224 if test "$enableval" = yes; then
7225 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7226 else
7227 ac_cv_use_gauge='wxUSE_GAUGE=no'
7228 fi
7229
7230else
7231
7232 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7233 if test "x$LINE" != x ; then
7234 eval "DEFAULT_$LINE"
7235 else
7236 no_cache=1
7237 fi
7238
7239 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7240
7241fi;
7242
7243 eval "$ac_cv_use_gauge"
7244 if test "$no_cache" != 1; then
7245 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7246 fi
7247
7248 if test "$wxUSE_GAUGE" = yes; then
7249 echo "$as_me:$LINENO: result: yes" >&5
7250echo "${ECHO_T}yes" >&6
7251 else
7252 echo "$as_me:$LINENO: result: no" >&5
7253echo "${ECHO_T}no" >&6
7254 fi
7255
7256
7257 enablestring=
7258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7259echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7260 no_cache=0
7261 # Check whether --enable-grid or --disable-grid was given.
7262if test "${enable_grid+set}" = set; then
7263 enableval="$enable_grid"
7264
7265 if test "$enableval" = yes; then
7266 ac_cv_use_grid='wxUSE_GRID=yes'
7267 else
7268 ac_cv_use_grid='wxUSE_GRID=no'
7269 fi
7270
7271else
7272
7273 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7274 if test "x$LINE" != x ; then
7275 eval "DEFAULT_$LINE"
7276 else
7277 no_cache=1
7278 fi
7279
7280 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7281
7282fi;
7283
7284 eval "$ac_cv_use_grid"
7285 if test "$no_cache" != 1; then
7286 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7287 fi
7288
7289 if test "$wxUSE_GRID" = yes; then
7290 echo "$as_me:$LINENO: result: yes" >&5
7291echo "${ECHO_T}yes" >&6
7292 else
7293 echo "$as_me:$LINENO: result: no" >&5
7294echo "${ECHO_T}no" >&6
7295 fi
7296
7297
7298 enablestring=
7299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7300echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7301 no_cache=0
7302 # Check whether --enable-imaglist or --disable-imaglist was given.
7303if test "${enable_imaglist+set}" = set; then
7304 enableval="$enable_imaglist"
7305
7306 if test "$enableval" = yes; then
7307 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7308 else
7309 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7310 fi
7311
7312else
7313
7314 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7315 if test "x$LINE" != x ; then
7316 eval "DEFAULT_$LINE"
7317 else
7318 no_cache=1
7319 fi
7320
7321 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7322
7323fi;
7324
7325 eval "$ac_cv_use_imaglist"
7326 if test "$no_cache" != 1; then
7327 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7328 fi
7329
7330 if test "$wxUSE_IMAGLIST" = yes; then
7331 echo "$as_me:$LINENO: result: yes" >&5
7332echo "${ECHO_T}yes" >&6
7333 else
7334 echo "$as_me:$LINENO: result: no" >&5
7335echo "${ECHO_T}no" >&6
7336 fi
7337
7338
7339 enablestring=
7340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7341echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7342 no_cache=0
7343 # Check whether --enable-listbook or --disable-listbook was given.
7344if test "${enable_listbook+set}" = set; then
7345 enableval="$enable_listbook"
7346
7347 if test "$enableval" = yes; then
7348 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7349 else
7350 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7351 fi
7352
7353else
7354
7355 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7356 if test "x$LINE" != x ; then
7357 eval "DEFAULT_$LINE"
7358 else
7359 no_cache=1
7360 fi
7361
7362 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7363
7364fi;
7365
7366 eval "$ac_cv_use_listbook"
7367 if test "$no_cache" != 1; then
7368 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7369 fi
7370
7371 if test "$wxUSE_LISTBOOK" = yes; then
7372 echo "$as_me:$LINENO: result: yes" >&5
7373echo "${ECHO_T}yes" >&6
7374 else
7375 echo "$as_me:$LINENO: result: no" >&5
7376echo "${ECHO_T}no" >&6
7377 fi
7378
7379
7380 enablestring=
7381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7382echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7383 no_cache=0
7384 # Check whether --enable-listbox or --disable-listbox was given.
7385if test "${enable_listbox+set}" = set; then
7386 enableval="$enable_listbox"
7387
7388 if test "$enableval" = yes; then
7389 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7390 else
7391 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7392 fi
7393
7394else
7395
7396 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7397 if test "x$LINE" != x ; then
7398 eval "DEFAULT_$LINE"
7399 else
7400 no_cache=1
7401 fi
7402
7403 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7404
7405fi;
7406
7407 eval "$ac_cv_use_listbox"
7408 if test "$no_cache" != 1; then
7409 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7410 fi
7411
7412 if test "$wxUSE_LISTBOX" = yes; then
7413 echo "$as_me:$LINENO: result: yes" >&5
7414echo "${ECHO_T}yes" >&6
7415 else
7416 echo "$as_me:$LINENO: result: no" >&5
7417echo "${ECHO_T}no" >&6
7418 fi
7419
7420
7421 enablestring=
7422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7423echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7424 no_cache=0
7425 # Check whether --enable-listctrl or --disable-listctrl was given.
7426if test "${enable_listctrl+set}" = set; then
7427 enableval="$enable_listctrl"
7428
7429 if test "$enableval" = yes; then
7430 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7431 else
7432 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7433 fi
7434
7435else
7436
7437 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7438 if test "x$LINE" != x ; then
7439 eval "DEFAULT_$LINE"
7440 else
7441 no_cache=1
7442 fi
7443
7444 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7445
7446fi;
7447
7448 eval "$ac_cv_use_listctrl"
7449 if test "$no_cache" != 1; then
7450 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7451 fi
7452
7453 if test "$wxUSE_LISTCTRL" = yes; then
7454 echo "$as_me:$LINENO: result: yes" >&5
7455echo "${ECHO_T}yes" >&6
7456 else
7457 echo "$as_me:$LINENO: result: no" >&5
7458echo "${ECHO_T}no" >&6
7459 fi
7460
7461
7462 enablestring=
7463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7464echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7465 no_cache=0
7466 # Check whether --enable-notebook or --disable-notebook was given.
7467if test "${enable_notebook+set}" = set; then
7468 enableval="$enable_notebook"
7469
7470 if test "$enableval" = yes; then
7471 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7472 else
7473 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7474 fi
7475
7476else
7477
7478 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7479 if test "x$LINE" != x ; then
7480 eval "DEFAULT_$LINE"
7481 else
7482 no_cache=1
7483 fi
7484
7485 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7486
7487fi;
7488
7489 eval "$ac_cv_use_notebook"
7490 if test "$no_cache" != 1; then
7491 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7492 fi
7493
7494 if test "$wxUSE_NOTEBOOK" = yes; then
7495 echo "$as_me:$LINENO: result: yes" >&5
7496echo "${ECHO_T}yes" >&6
7497 else
7498 echo "$as_me:$LINENO: result: no" >&5
7499echo "${ECHO_T}no" >&6
7500 fi
7501
7502
7503 enablestring=
7504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7505echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7506 no_cache=0
7507 # Check whether --enable-radiobox or --disable-radiobox was given.
7508if test "${enable_radiobox+set}" = set; then
7509 enableval="$enable_radiobox"
7510
7511 if test "$enableval" = yes; then
7512 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7513 else
7514 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7515 fi
7516
7517else
7518
7519 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7520 if test "x$LINE" != x ; then
7521 eval "DEFAULT_$LINE"
7522 else
7523 no_cache=1
7524 fi
7525
7526 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7527
7528fi;
7529
7530 eval "$ac_cv_use_radiobox"
7531 if test "$no_cache" != 1; then
7532 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7533 fi
7534
7535 if test "$wxUSE_RADIOBOX" = yes; then
7536 echo "$as_me:$LINENO: result: yes" >&5
7537echo "${ECHO_T}yes" >&6
7538 else
7539 echo "$as_me:$LINENO: result: no" >&5
7540echo "${ECHO_T}no" >&6
7541 fi
7542
7543
7544 enablestring=
7545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7546echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7547 no_cache=0
7548 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7549if test "${enable_radiobtn+set}" = set; then
7550 enableval="$enable_radiobtn"
7551
7552 if test "$enableval" = yes; then
7553 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7554 else
7555 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7556 fi
7557
7558else
7559
7560 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7561 if test "x$LINE" != x ; then
7562 eval "DEFAULT_$LINE"
7563 else
7564 no_cache=1
7565 fi
7566
7567 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7568
7569fi;
7570
7571 eval "$ac_cv_use_radiobtn"
7572 if test "$no_cache" != 1; then
7573 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7574 fi
7575
7576 if test "$wxUSE_RADIOBTN" = yes; then
7577 echo "$as_me:$LINENO: result: yes" >&5
7578echo "${ECHO_T}yes" >&6
7579 else
7580 echo "$as_me:$LINENO: result: no" >&5
7581echo "${ECHO_T}no" >&6
7582 fi
7583
7584
7585 enablestring=
7586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7587echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7588 no_cache=0
7589 # Check whether --enable-sash or --disable-sash was given.
7590if test "${enable_sash+set}" = set; then
7591 enableval="$enable_sash"
7592
7593 if test "$enableval" = yes; then
7594 ac_cv_use_sash='wxUSE_SASH=yes'
7595 else
7596 ac_cv_use_sash='wxUSE_SASH=no'
7597 fi
7598
7599else
7600
7601 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7602 if test "x$LINE" != x ; then
7603 eval "DEFAULT_$LINE"
7604 else
7605 no_cache=1
7606 fi
7607
7608 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7609
7610fi;
7611
7612 eval "$ac_cv_use_sash"
7613 if test "$no_cache" != 1; then
7614 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7615 fi
7616
7617 if test "$wxUSE_SASH" = yes; then
7618 echo "$as_me:$LINENO: result: yes" >&5
7619echo "${ECHO_T}yes" >&6
7620 else
7621 echo "$as_me:$LINENO: result: no" >&5
7622echo "${ECHO_T}no" >&6
7623 fi
7624
7625
7626 enablestring=
7627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7628echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7629 no_cache=0
7630 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7631if test "${enable_scrollbar+set}" = set; then
7632 enableval="$enable_scrollbar"
7633
7634 if test "$enableval" = yes; then
7635 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7636 else
7637 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7638 fi
7639
7640else
7641
7642 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7643 if test "x$LINE" != x ; then
7644 eval "DEFAULT_$LINE"
7645 else
7646 no_cache=1
7647 fi
7648
7649 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7650
7651fi;
7652
7653 eval "$ac_cv_use_scrollbar"
7654 if test "$no_cache" != 1; then
7655 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7656 fi
7657
7658 if test "$wxUSE_SCROLLBAR" = yes; then
7659 echo "$as_me:$LINENO: result: yes" >&5
7660echo "${ECHO_T}yes" >&6
7661 else
7662 echo "$as_me:$LINENO: result: no" >&5
7663echo "${ECHO_T}no" >&6
7664 fi
7665
7666
7667 enablestring=
7668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7669echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7670 no_cache=0
7671 # Check whether --enable-slider or --disable-slider was given.
7672if test "${enable_slider+set}" = set; then
7673 enableval="$enable_slider"
7674
7675 if test "$enableval" = yes; then
7676 ac_cv_use_slider='wxUSE_SLIDER=yes'
7677 else
7678 ac_cv_use_slider='wxUSE_SLIDER=no'
7679 fi
7680
7681else
7682
7683 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7684 if test "x$LINE" != x ; then
7685 eval "DEFAULT_$LINE"
7686 else
7687 no_cache=1
7688 fi
7689
7690 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7691
7692fi;
7693
7694 eval "$ac_cv_use_slider"
7695 if test "$no_cache" != 1; then
7696 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7697 fi
7698
7699 if test "$wxUSE_SLIDER" = yes; then
7700 echo "$as_me:$LINENO: result: yes" >&5
7701echo "${ECHO_T}yes" >&6
7702 else
7703 echo "$as_me:$LINENO: result: no" >&5
7704echo "${ECHO_T}no" >&6
7705 fi
7706
7707
7708 enablestring=
7709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7710echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7711 no_cache=0
7712 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7713if test "${enable_spinbtn+set}" = set; then
7714 enableval="$enable_spinbtn"
7715
7716 if test "$enableval" = yes; then
7717 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7718 else
7719 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7720 fi
7721
7722else
7723
7724 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7725 if test "x$LINE" != x ; then
7726 eval "DEFAULT_$LINE"
7727 else
7728 no_cache=1
7729 fi
7730
7731 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7732
7733fi;
7734
7735 eval "$ac_cv_use_spinbtn"
7736 if test "$no_cache" != 1; then
7737 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7738 fi
7739
7740 if test "$wxUSE_SPINBTN" = yes; then
7741 echo "$as_me:$LINENO: result: yes" >&5
7742echo "${ECHO_T}yes" >&6
7743 else
7744 echo "$as_me:$LINENO: result: no" >&5
7745echo "${ECHO_T}no" >&6
7746 fi
7747
7748
7749 enablestring=
7750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7751echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7752 no_cache=0
7753 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7754if test "${enable_spinctrl+set}" = set; then
7755 enableval="$enable_spinctrl"
7756
7757 if test "$enableval" = yes; then
7758 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7759 else
7760 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7761 fi
7762
7763else
7764
7765 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7766 if test "x$LINE" != x ; then
7767 eval "DEFAULT_$LINE"
7768 else
7769 no_cache=1
7770 fi
7771
7772 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7773
7774fi;
7775
7776 eval "$ac_cv_use_spinctrl"
7777 if test "$no_cache" != 1; then
7778 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7779 fi
7780
7781 if test "$wxUSE_SPINCTRL" = yes; then
7782 echo "$as_me:$LINENO: result: yes" >&5
7783echo "${ECHO_T}yes" >&6
7784 else
7785 echo "$as_me:$LINENO: result: no" >&5
7786echo "${ECHO_T}no" >&6
7787 fi
7788
7789
7790 enablestring=
7791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7792echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7793 no_cache=0
7794 # Check whether --enable-splitter or --disable-splitter was given.
7795if test "${enable_splitter+set}" = set; then
7796 enableval="$enable_splitter"
7797
7798 if test "$enableval" = yes; then
7799 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7800 else
7801 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7802 fi
7803
7804else
7805
7806 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7807 if test "x$LINE" != x ; then
7808 eval "DEFAULT_$LINE"
7809 else
7810 no_cache=1
7811 fi
7812
7813 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7814
7815fi;
7816
7817 eval "$ac_cv_use_splitter"
7818 if test "$no_cache" != 1; then
7819 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7820 fi
7821
7822 if test "$wxUSE_SPLITTER" = yes; then
7823 echo "$as_me:$LINENO: result: yes" >&5
7824echo "${ECHO_T}yes" >&6
7825 else
7826 echo "$as_me:$LINENO: result: no" >&5
7827echo "${ECHO_T}no" >&6
7828 fi
7829
7830
7831 enablestring=
7832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7833echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7834 no_cache=0
7835 # Check whether --enable-statbmp or --disable-statbmp was given.
7836if test "${enable_statbmp+set}" = set; then
7837 enableval="$enable_statbmp"
7838
7839 if test "$enableval" = yes; then
7840 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7841 else
7842 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7843 fi
7844
7845else
7846
7847 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7848 if test "x$LINE" != x ; then
7849 eval "DEFAULT_$LINE"
7850 else
7851 no_cache=1
7852 fi
7853
7854 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7855
7856fi;
7857
7858 eval "$ac_cv_use_statbmp"
7859 if test "$no_cache" != 1; then
7860 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7861 fi
7862
7863 if test "$wxUSE_STATBMP" = yes; then
7864 echo "$as_me:$LINENO: result: yes" >&5
7865echo "${ECHO_T}yes" >&6
7866 else
7867 echo "$as_me:$LINENO: result: no" >&5
7868echo "${ECHO_T}no" >&6
7869 fi
7870
7871
7872 enablestring=
7873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7874echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7875 no_cache=0
7876 # Check whether --enable-statbox or --disable-statbox was given.
7877if test "${enable_statbox+set}" = set; then
7878 enableval="$enable_statbox"
7879
7880 if test "$enableval" = yes; then
7881 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7882 else
7883 ac_cv_use_statbox='wxUSE_STATBOX=no'
7884 fi
7885
7886else
7887
7888 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7889 if test "x$LINE" != x ; then
7890 eval "DEFAULT_$LINE"
7891 else
7892 no_cache=1
7893 fi
7894
7895 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7896
7897fi;
7898
7899 eval "$ac_cv_use_statbox"
7900 if test "$no_cache" != 1; then
7901 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7902 fi
7903
7904 if test "$wxUSE_STATBOX" = yes; then
7905 echo "$as_me:$LINENO: result: yes" >&5
7906echo "${ECHO_T}yes" >&6
7907 else
7908 echo "$as_me:$LINENO: result: no" >&5
7909echo "${ECHO_T}no" >&6
7910 fi
7911
7912
7913 enablestring=
7914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7915echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7916 no_cache=0
7917 # Check whether --enable-statline or --disable-statline was given.
7918if test "${enable_statline+set}" = set; then
7919 enableval="$enable_statline"
7920
7921 if test "$enableval" = yes; then
7922 ac_cv_use_statline='wxUSE_STATLINE=yes'
7923 else
7924 ac_cv_use_statline='wxUSE_STATLINE=no'
7925 fi
7926
7927else
7928
7929 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7930 if test "x$LINE" != x ; then
7931 eval "DEFAULT_$LINE"
7932 else
7933 no_cache=1
7934 fi
7935
7936 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7937
7938fi;
7939
7940 eval "$ac_cv_use_statline"
7941 if test "$no_cache" != 1; then
7942 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7943 fi
7944
7945 if test "$wxUSE_STATLINE" = yes; then
7946 echo "$as_me:$LINENO: result: yes" >&5
7947echo "${ECHO_T}yes" >&6
7948 else
7949 echo "$as_me:$LINENO: result: no" >&5
7950echo "${ECHO_T}no" >&6
7951 fi
7952
7953
7954 enablestring=
7955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7956echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7957 no_cache=0
7958 # Check whether --enable-stattext or --disable-stattext was given.
7959if test "${enable_stattext+set}" = set; then
7960 enableval="$enable_stattext"
7961
7962 if test "$enableval" = yes; then
7963 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7964 else
7965 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7966 fi
7967
7968else
7969
7970 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7971 if test "x$LINE" != x ; then
7972 eval "DEFAULT_$LINE"
7973 else
7974 no_cache=1
7975 fi
7976
7977 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7978
7979fi;
7980
7981 eval "$ac_cv_use_stattext"
7982 if test "$no_cache" != 1; then
7983 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7984 fi
7985
7986 if test "$wxUSE_STATTEXT" = yes; then
7987 echo "$as_me:$LINENO: result: yes" >&5
7988echo "${ECHO_T}yes" >&6
7989 else
7990 echo "$as_me:$LINENO: result: no" >&5
7991echo "${ECHO_T}no" >&6
7992 fi
7993
7994
7995 enablestring=
7996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7997echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7998 no_cache=0
7999 # Check whether --enable-statusbar or --disable-statusbar was given.
8000if test "${enable_statusbar+set}" = set; then
8001 enableval="$enable_statusbar"
8002
8003 if test "$enableval" = yes; then
8004 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8005 else
8006 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8007 fi
8008
8009else
8010
8011 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8012 if test "x$LINE" != x ; then
8013 eval "DEFAULT_$LINE"
8014 else
8015 no_cache=1
8016 fi
8017
8018 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8019
8020fi;
8021
8022 eval "$ac_cv_use_statusbar"
8023 if test "$no_cache" != 1; then
8024 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8025 fi
8026
8027 if test "$wxUSE_STATUSBAR" = yes; then
8028 echo "$as_me:$LINENO: result: yes" >&5
8029echo "${ECHO_T}yes" >&6
8030 else
8031 echo "$as_me:$LINENO: result: no" >&5
8032echo "${ECHO_T}no" >&6
8033 fi
8034
8035
8036 enablestring=
8037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8038echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8039 no_cache=0
8040 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8041if test "${enable_tabdialog+set}" = set; then
8042 enableval="$enable_tabdialog"
8043
8044 if test "$enableval" = yes; then
8045 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8046 else
8047 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8048 fi
8049
8050else
8051
8052 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8053 if test "x$LINE" != x ; then
8054 eval "DEFAULT_$LINE"
8055 else
8056 no_cache=1
8057 fi
8058
8059 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8060
8061fi;
8062
8063 eval "$ac_cv_use_tabdialog"
8064 if test "$no_cache" != 1; then
8065 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8066 fi
8067
8068 if test "$wxUSE_TABDIALOG" = yes; then
8069 echo "$as_me:$LINENO: result: yes" >&5
8070echo "${ECHO_T}yes" >&6
8071 else
8072 echo "$as_me:$LINENO: result: no" >&5
8073echo "${ECHO_T}no" >&6
8074 fi
8075
8076
8077 enablestring=
8078 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8079echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8080 no_cache=0
8081 # Check whether --enable-textctrl or --disable-textctrl was given.
8082if test "${enable_textctrl+set}" = set; then
8083 enableval="$enable_textctrl"
8084
8085 if test "$enableval" = yes; then
8086 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8087 else
8088 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8089 fi
8090
8091else
8092
8093 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8094 if test "x$LINE" != x ; then
8095 eval "DEFAULT_$LINE"
8096 else
8097 no_cache=1
8098 fi
8099
8100 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8101
8102fi;
8103
8104 eval "$ac_cv_use_textctrl"
8105 if test "$no_cache" != 1; then
8106 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8107 fi
8108
8109 if test "$wxUSE_TEXTCTRL" = yes; then
8110 echo "$as_me:$LINENO: result: yes" >&5
8111echo "${ECHO_T}yes" >&6
8112 else
8113 echo "$as_me:$LINENO: result: no" >&5
8114echo "${ECHO_T}no" >&6
8115 fi
8116
8117
8118 enablestring=
8119 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8120echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8121 no_cache=0
8122 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8123if test "${enable_togglebtn+set}" = set; then
8124 enableval="$enable_togglebtn"
8125
8126 if test "$enableval" = yes; then
8127 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8128 else
8129 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8130 fi
8131
8132else
8133
8134 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8135 if test "x$LINE" != x ; then
8136 eval "DEFAULT_$LINE"
8137 else
8138 no_cache=1
8139 fi
8140
8141 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8142
8143fi;
8144
8145 eval "$ac_cv_use_togglebtn"
8146 if test "$no_cache" != 1; then
8147 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8148 fi
8149
8150 if test "$wxUSE_TOGGLEBTN" = yes; then
8151 echo "$as_me:$LINENO: result: yes" >&5
8152echo "${ECHO_T}yes" >&6
8153 else
8154 echo "$as_me:$LINENO: result: no" >&5
8155echo "${ECHO_T}no" >&6
8156 fi
8157
8158
8159 enablestring=
8160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8161echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8162 no_cache=0
8163 # Check whether --enable-toolbar or --disable-toolbar was given.
8164if test "${enable_toolbar+set}" = set; then
8165 enableval="$enable_toolbar"
8166
8167 if test "$enableval" = yes; then
8168 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8169 else
8170 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8171 fi
8172
8173else
8174
8175 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8176 if test "x$LINE" != x ; then
8177 eval "DEFAULT_$LINE"
8178 else
8179 no_cache=1
8180 fi
8181
8182 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8183
8184fi;
8185
8186 eval "$ac_cv_use_toolbar"
8187 if test "$no_cache" != 1; then
8188 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8189 fi
8190
8191 if test "$wxUSE_TOOLBAR" = yes; then
8192 echo "$as_me:$LINENO: result: yes" >&5
8193echo "${ECHO_T}yes" >&6
8194 else
8195 echo "$as_me:$LINENO: result: no" >&5
8196echo "${ECHO_T}no" >&6
8197 fi
8198
8199
8200 enablestring=
8201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8202echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8203 no_cache=0
8204 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8205if test "${enable_tbarnative+set}" = set; then
8206 enableval="$enable_tbarnative"
8207
8208 if test "$enableval" = yes; then
8209 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8210 else
8211 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8212 fi
8213
8214else
8215
8216 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8217 if test "x$LINE" != x ; then
8218 eval "DEFAULT_$LINE"
8219 else
8220 no_cache=1
8221 fi
8222
8223 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8224
8225fi;
8226
8227 eval "$ac_cv_use_tbarnative"
8228 if test "$no_cache" != 1; then
8229 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8230 fi
8231
8232 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8233 echo "$as_me:$LINENO: result: yes" >&5
8234echo "${ECHO_T}yes" >&6
8235 else
8236 echo "$as_me:$LINENO: result: no" >&5
8237echo "${ECHO_T}no" >&6
8238 fi
8239
8240
8241 enablestring=
8242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8243echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8244 no_cache=0
8245 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8246if test "${enable_tbarsmpl+set}" = set; then
8247 enableval="$enable_tbarsmpl"
8248
8249 if test "$enableval" = yes; then
8250 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8251 else
8252 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8253 fi
8254
8255else
8256
8257 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8258 if test "x$LINE" != x ; then
8259 eval "DEFAULT_$LINE"
8260 else
8261 no_cache=1
8262 fi
8263
8264 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8265
8266fi;
8267
8268 eval "$ac_cv_use_tbarsmpl"
8269 if test "$no_cache" != 1; then
8270 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8271 fi
8272
8273 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8274 echo "$as_me:$LINENO: result: yes" >&5
8275echo "${ECHO_T}yes" >&6
8276 else
8277 echo "$as_me:$LINENO: result: no" >&5
8278echo "${ECHO_T}no" >&6
8279 fi
8280
8281
8282 enablestring=
8283 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8284echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8285 no_cache=0
8286 # Check whether --enable-treectrl or --disable-treectrl was given.
8287if test "${enable_treectrl+set}" = set; then
8288 enableval="$enable_treectrl"
8289
8290 if test "$enableval" = yes; then
8291 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8292 else
8293 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8294 fi
8295
8296else
8297
8298 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8299 if test "x$LINE" != x ; then
8300 eval "DEFAULT_$LINE"
8301 else
8302 no_cache=1
8303 fi
8304
8305 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8306
8307fi;
8308
8309 eval "$ac_cv_use_treectrl"
8310 if test "$no_cache" != 1; then
8311 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8312 fi
8313
8314 if test "$wxUSE_TREECTRL" = yes; then
8315 echo "$as_me:$LINENO: result: yes" >&5
8316echo "${ECHO_T}yes" >&6
8317 else
8318 echo "$as_me:$LINENO: result: no" >&5
8319echo "${ECHO_T}no" >&6
8320 fi
8321
8322
8323 enablestring=
8324 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8325echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8326 no_cache=0
8327 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8328if test "${enable_tipwindow+set}" = set; then
8329 enableval="$enable_tipwindow"
8330
8331 if test "$enableval" = yes; then
8332 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8333 else
8334 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8335 fi
8336
8337else
8338
8339 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8340 if test "x$LINE" != x ; then
8341 eval "DEFAULT_$LINE"
8342 else
8343 no_cache=1
8344 fi
8345
8346 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8347
8348fi;
8349
8350 eval "$ac_cv_use_tipwindow"
8351 if test "$no_cache" != 1; then
8352 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8353 fi
8354
8355 if test "$wxUSE_TIPWINDOW" = yes; then
8356 echo "$as_me:$LINENO: result: yes" >&5
8357echo "${ECHO_T}yes" >&6
8358 else
8359 echo "$as_me:$LINENO: result: no" >&5
8360echo "${ECHO_T}no" >&6
8361 fi
8362
8363
8364 enablestring=
8365 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8366echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8367 no_cache=0
8368 # Check whether --enable-popupwin or --disable-popupwin was given.
8369if test "${enable_popupwin+set}" = set; then
8370 enableval="$enable_popupwin"
8371
8372 if test "$enableval" = yes; then
8373 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8374 else
8375 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8376 fi
8377
8378else
8379
8380 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8381 if test "x$LINE" != x ; then
8382 eval "DEFAULT_$LINE"
8383 else
8384 no_cache=1
8385 fi
8386
8387 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8388
8389fi;
8390
8391 eval "$ac_cv_use_popupwin"
8392 if test "$no_cache" != 1; then
8393 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8394 fi
8395
8396 if test "$wxUSE_POPUPWIN" = yes; then
8397 echo "$as_me:$LINENO: result: yes" >&5
8398echo "${ECHO_T}yes" >&6
8399 else
8400 echo "$as_me:$LINENO: result: no" >&5
8401echo "${ECHO_T}no" >&6
8402 fi
8403
8404
8405
8406
8407 enablestring=
8408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8409echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8410 no_cache=0
8411 # Check whether --enable-commondlg or --disable-commondlg was given.
8412if test "${enable_commondlg+set}" = set; then
8413 enableval="$enable_commondlg"
8414
8415 if test "$enableval" = yes; then
8416 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8417 else
8418 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8419 fi
8420
8421else
8422
8423 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8424 if test "x$LINE" != x ; then
8425 eval "DEFAULT_$LINE"
8426 else
8427 no_cache=1
8428 fi
8429
8430 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8431
8432fi;
8433
8434 eval "$ac_cv_use_commondlg"
8435 if test "$no_cache" != 1; then
8436 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8437 fi
8438
8439 if test "$wxUSE_COMMONDLGS" = yes; then
8440 echo "$as_me:$LINENO: result: yes" >&5
8441echo "${ECHO_T}yes" >&6
8442 else
8443 echo "$as_me:$LINENO: result: no" >&5
8444echo "${ECHO_T}no" >&6
8445 fi
8446
8447
8448 enablestring=
8449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8450echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8451 no_cache=0
8452 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8453if test "${enable_choicedlg+set}" = set; then
8454 enableval="$enable_choicedlg"
8455
8456 if test "$enableval" = yes; then
8457 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8458 else
8459 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8460 fi
8461
8462else
8463
8464 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8465 if test "x$LINE" != x ; then
8466 eval "DEFAULT_$LINE"
8467 else
8468 no_cache=1
8469 fi
8470
8471 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8472
8473fi;
8474
8475 eval "$ac_cv_use_choicedlg"
8476 if test "$no_cache" != 1; then
8477 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8478 fi
8479
8480 if test "$wxUSE_CHOICEDLG" = yes; then
8481 echo "$as_me:$LINENO: result: yes" >&5
8482echo "${ECHO_T}yes" >&6
8483 else
8484 echo "$as_me:$LINENO: result: no" >&5
8485echo "${ECHO_T}no" >&6
8486 fi
8487
8488
8489 enablestring=
8490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8491echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8492 no_cache=0
8493 # Check whether --enable-coldlg or --disable-coldlg was given.
8494if test "${enable_coldlg+set}" = set; then
8495 enableval="$enable_coldlg"
8496
8497 if test "$enableval" = yes; then
8498 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8499 else
8500 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8501 fi
8502
8503else
8504
8505 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8506 if test "x$LINE" != x ; then
8507 eval "DEFAULT_$LINE"
8508 else
8509 no_cache=1
8510 fi
8511
8512 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8513
8514fi;
8515
8516 eval "$ac_cv_use_coldlg"
8517 if test "$no_cache" != 1; then
8518 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8519 fi
8520
8521 if test "$wxUSE_COLOURDLG" = yes; then
8522 echo "$as_me:$LINENO: result: yes" >&5
8523echo "${ECHO_T}yes" >&6
8524 else
8525 echo "$as_me:$LINENO: result: no" >&5
8526echo "${ECHO_T}no" >&6
8527 fi
8528
8529
8530 enablestring=
8531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8532echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8533 no_cache=0
8534 # Check whether --enable-filedlg or --disable-filedlg was given.
8535if test "${enable_filedlg+set}" = set; then
8536 enableval="$enable_filedlg"
8537
8538 if test "$enableval" = yes; then
8539 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8540 else
8541 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8542 fi
8543
8544else
8545
8546 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8547 if test "x$LINE" != x ; then
8548 eval "DEFAULT_$LINE"
8549 else
8550 no_cache=1
8551 fi
8552
8553 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8554
8555fi;
8556
8557 eval "$ac_cv_use_filedlg"
8558 if test "$no_cache" != 1; then
8559 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8560 fi
8561
8562 if test "$wxUSE_FILEDLG" = yes; then
8563 echo "$as_me:$LINENO: result: yes" >&5
8564echo "${ECHO_T}yes" >&6
8565 else
8566 echo "$as_me:$LINENO: result: no" >&5
8567echo "${ECHO_T}no" >&6
8568 fi
8569
8570
8571 enablestring=
8572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8573echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8574 no_cache=0
8575 # Check whether --enable-finddlg or --disable-finddlg was given.
8576if test "${enable_finddlg+set}" = set; then
8577 enableval="$enable_finddlg"
8578
8579 if test "$enableval" = yes; then
8580 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8581 else
8582 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8583 fi
8584
8585else
8586
8587 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8588 if test "x$LINE" != x ; then
8589 eval "DEFAULT_$LINE"
8590 else
8591 no_cache=1
8592 fi
8593
8594 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8595
8596fi;
8597
8598 eval "$ac_cv_use_finddlg"
8599 if test "$no_cache" != 1; then
8600 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8601 fi
8602
8603 if test "$wxUSE_FINDREPLDLG" = yes; then
8604 echo "$as_me:$LINENO: result: yes" >&5
8605echo "${ECHO_T}yes" >&6
8606 else
8607 echo "$as_me:$LINENO: result: no" >&5
8608echo "${ECHO_T}no" >&6
8609 fi
8610
8611
8612 enablestring=
8613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8614echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8615 no_cache=0
8616 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8617if test "${enable_fontdlg+set}" = set; then
8618 enableval="$enable_fontdlg"
8619
8620 if test "$enableval" = yes; then
8621 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8622 else
8623 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8624 fi
8625
8626else
8627
8628 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8629 if test "x$LINE" != x ; then
8630 eval "DEFAULT_$LINE"
8631 else
8632 no_cache=1
8633 fi
8634
8635 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8636
8637fi;
8638
8639 eval "$ac_cv_use_fontdlg"
8640 if test "$no_cache" != 1; then
8641 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8642 fi
8643
8644 if test "$wxUSE_FONTDLG" = yes; then
8645 echo "$as_me:$LINENO: result: yes" >&5
8646echo "${ECHO_T}yes" >&6
8647 else
8648 echo "$as_me:$LINENO: result: no" >&5
8649echo "${ECHO_T}no" >&6
8650 fi
8651
8652
8653 enablestring=
8654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8655echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8656 no_cache=0
8657 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8658if test "${enable_dirdlg+set}" = set; then
8659 enableval="$enable_dirdlg"
8660
8661 if test "$enableval" = yes; then
8662 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8663 else
8664 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8665 fi
8666
8667else
8668
8669 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8670 if test "x$LINE" != x ; then
8671 eval "DEFAULT_$LINE"
8672 else
8673 no_cache=1
8674 fi
8675
8676 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8677
8678fi;
8679
8680 eval "$ac_cv_use_dirdlg"
8681 if test "$no_cache" != 1; then
8682 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8683 fi
8684
8685 if test "$wxUSE_DIRDLG" = yes; then
8686 echo "$as_me:$LINENO: result: yes" >&5
8687echo "${ECHO_T}yes" >&6
8688 else
8689 echo "$as_me:$LINENO: result: no" >&5
8690echo "${ECHO_T}no" >&6
8691 fi
8692
8693
8694 enablestring=
8695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8696echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8697 no_cache=0
8698 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8699if test "${enable_msgdlg+set}" = set; then
8700 enableval="$enable_msgdlg"
8701
8702 if test "$enableval" = yes; then
8703 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8704 else
8705 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8706 fi
8707
8708else
8709
8710 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8711 if test "x$LINE" != x ; then
8712 eval "DEFAULT_$LINE"
8713 else
8714 no_cache=1
8715 fi
8716
8717 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8718
8719fi;
8720
8721 eval "$ac_cv_use_msgdlg"
8722 if test "$no_cache" != 1; then
8723 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8724 fi
8725
8726 if test "$wxUSE_MSGDLG" = yes; then
8727 echo "$as_me:$LINENO: result: yes" >&5
8728echo "${ECHO_T}yes" >&6
8729 else
8730 echo "$as_me:$LINENO: result: no" >&5
8731echo "${ECHO_T}no" >&6
8732 fi
8733
8734
8735 enablestring=
8736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8737echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8738 no_cache=0
8739 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8740if test "${enable_numberdlg+set}" = set; then
8741 enableval="$enable_numberdlg"
8742
8743 if test "$enableval" = yes; then
8744 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8745 else
8746 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8747 fi
8748
8749else
8750
8751 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8752 if test "x$LINE" != x ; then
8753 eval "DEFAULT_$LINE"
8754 else
8755 no_cache=1
8756 fi
8757
8758 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8759
8760fi;
8761
8762 eval "$ac_cv_use_numberdlg"
8763 if test "$no_cache" != 1; then
8764 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8765 fi
8766
8767 if test "$wxUSE_NUMBERDLG" = yes; then
8768 echo "$as_me:$LINENO: result: yes" >&5
8769echo "${ECHO_T}yes" >&6
8770 else
8771 echo "$as_me:$LINENO: result: no" >&5
8772echo "${ECHO_T}no" >&6
8773 fi
8774
8775
8776 enablestring=
8777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8778echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8779 no_cache=0
8780 # Check whether --enable-splash or --disable-splash was given.
8781if test "${enable_splash+set}" = set; then
8782 enableval="$enable_splash"
8783
8784 if test "$enableval" = yes; then
8785 ac_cv_use_splash='wxUSE_SPLASH=yes'
8786 else
8787 ac_cv_use_splash='wxUSE_SPLASH=no'
8788 fi
8789
8790else
8791
8792 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8793 if test "x$LINE" != x ; then
8794 eval "DEFAULT_$LINE"
8795 else
8796 no_cache=1
8797 fi
8798
8799 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8800
8801fi;
8802
8803 eval "$ac_cv_use_splash"
8804 if test "$no_cache" != 1; then
8805 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8806 fi
8807
8808 if test "$wxUSE_SPLASH" = yes; then
8809 echo "$as_me:$LINENO: result: yes" >&5
8810echo "${ECHO_T}yes" >&6
8811 else
8812 echo "$as_me:$LINENO: result: no" >&5
8813echo "${ECHO_T}no" >&6
8814 fi
8815
8816
8817 enablestring=
8818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8819echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8820 no_cache=0
8821 # Check whether --enable-textdlg or --disable-textdlg was given.
8822if test "${enable_textdlg+set}" = set; then
8823 enableval="$enable_textdlg"
8824
8825 if test "$enableval" = yes; then
8826 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8827 else
8828 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8829 fi
8830
8831else
8832
8833 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8834 if test "x$LINE" != x ; then
8835 eval "DEFAULT_$LINE"
8836 else
8837 no_cache=1
8838 fi
8839
8840 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8841
8842fi;
8843
8844 eval "$ac_cv_use_textdlg"
8845 if test "$no_cache" != 1; then
8846 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8847 fi
8848
8849 if test "$wxUSE_TEXTDLG" = yes; then
8850 echo "$as_me:$LINENO: result: yes" >&5
8851echo "${ECHO_T}yes" >&6
8852 else
8853 echo "$as_me:$LINENO: result: no" >&5
8854echo "${ECHO_T}no" >&6
8855 fi
8856
8857
8858 enablestring=
8859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8860echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8861 no_cache=0
8862 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8863if test "${enable_tipdlg+set}" = set; then
8864 enableval="$enable_tipdlg"
8865
8866 if test "$enableval" = yes; then
8867 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8868 else
8869 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8870 fi
8871
8872else
8873
8874 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8875 if test "x$LINE" != x ; then
8876 eval "DEFAULT_$LINE"
8877 else
8878 no_cache=1
8879 fi
8880
8881 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8882
8883fi;
8884
8885 eval "$ac_cv_use_tipdlg"
8886 if test "$no_cache" != 1; then
8887 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8888 fi
8889
8890 if test "$wxUSE_STARTUP_TIPS" = yes; then
8891 echo "$as_me:$LINENO: result: yes" >&5
8892echo "${ECHO_T}yes" >&6
8893 else
8894 echo "$as_me:$LINENO: result: no" >&5
8895echo "${ECHO_T}no" >&6
8896 fi
8897
8898
8899 enablestring=
8900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8901echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8902 no_cache=0
8903 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8904if test "${enable_progressdlg+set}" = set; then
8905 enableval="$enable_progressdlg"
8906
8907 if test "$enableval" = yes; then
8908 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8909 else
8910 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8911 fi
8912
8913else
8914
8915 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8916 if test "x$LINE" != x ; then
8917 eval "DEFAULT_$LINE"
8918 else
8919 no_cache=1
8920 fi
8921
8922 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8923
8924fi;
8925
8926 eval "$ac_cv_use_progressdlg"
8927 if test "$no_cache" != 1; then
8928 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8929 fi
8930
8931 if test "$wxUSE_PROGRESSDLG" = yes; then
8932 echo "$as_me:$LINENO: result: yes" >&5
8933echo "${ECHO_T}yes" >&6
8934 else
8935 echo "$as_me:$LINENO: result: no" >&5
8936echo "${ECHO_T}no" >&6
8937 fi
8938
8939
8940 enablestring=
8941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8942echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8943 no_cache=0
8944 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8945if test "${enable_wizarddlg+set}" = set; then
8946 enableval="$enable_wizarddlg"
8947
8948 if test "$enableval" = yes; then
8949 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8950 else
8951 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8952 fi
8953
8954else
8955
8956 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8957 if test "x$LINE" != x ; then
8958 eval "DEFAULT_$LINE"
8959 else
8960 no_cache=1
8961 fi
8962
8963 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8964
8965fi;
8966
8967 eval "$ac_cv_use_wizarddlg"
8968 if test "$no_cache" != 1; then
8969 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8970 fi
8971
8972 if test "$wxUSE_WIZARDDLG" = yes; then
8973 echo "$as_me:$LINENO: result: yes" >&5
8974echo "${ECHO_T}yes" >&6
8975 else
8976 echo "$as_me:$LINENO: result: no" >&5
8977echo "${ECHO_T}no" >&6
8978 fi
8979
8980
8981
8982
8983 enablestring=
8984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8985echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8986 no_cache=0
8987 # Check whether --enable-menus or --disable-menus was given.
8988if test "${enable_menus+set}" = set; then
8989 enableval="$enable_menus"
8990
8991 if test "$enableval" = yes; then
8992 ac_cv_use_menus='wxUSE_MENUS=yes'
8993 else
8994 ac_cv_use_menus='wxUSE_MENUS=no'
8995 fi
8996
8997else
8998
8999 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9000 if test "x$LINE" != x ; then
9001 eval "DEFAULT_$LINE"
9002 else
9003 no_cache=1
9004 fi
9005
9006 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9007
9008fi;
9009
9010 eval "$ac_cv_use_menus"
9011 if test "$no_cache" != 1; then
9012 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9013 fi
9014
9015 if test "$wxUSE_MENUS" = yes; then
9016 echo "$as_me:$LINENO: result: yes" >&5
9017echo "${ECHO_T}yes" >&6
9018 else
9019 echo "$as_me:$LINENO: result: no" >&5
9020echo "${ECHO_T}no" >&6
9021 fi
9022
9023
9024 enablestring=
9025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9026echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9027 no_cache=0
9028 # Check whether --enable-miniframe or --disable-miniframe was given.
9029if test "${enable_miniframe+set}" = set; then
9030 enableval="$enable_miniframe"
9031
9032 if test "$enableval" = yes; then
9033 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9034 else
9035 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9036 fi
9037
9038else
9039
9040 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9041 if test "x$LINE" != x ; then
9042 eval "DEFAULT_$LINE"
9043 else
9044 no_cache=1
9045 fi
9046
9047 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9048
9049fi;
9050
9051 eval "$ac_cv_use_miniframe"
9052 if test "$no_cache" != 1; then
9053 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9054 fi
9055
9056 if test "$wxUSE_MINIFRAME" = yes; then
9057 echo "$as_me:$LINENO: result: yes" >&5
9058echo "${ECHO_T}yes" >&6
9059 else
9060 echo "$as_me:$LINENO: result: no" >&5
9061echo "${ECHO_T}no" >&6
9062 fi
9063
9064
9065 enablestring=
9066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9067echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9068 no_cache=0
9069 # Check whether --enable-tooltips or --disable-tooltips was given.
9070if test "${enable_tooltips+set}" = set; then
9071 enableval="$enable_tooltips"
9072
9073 if test "$enableval" = yes; then
9074 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9075 else
9076 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9077 fi
9078
9079else
9080
9081 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9082 if test "x$LINE" != x ; then
9083 eval "DEFAULT_$LINE"
9084 else
9085 no_cache=1
9086 fi
9087
9088 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9089
9090fi;
9091
9092 eval "$ac_cv_use_tooltips"
9093 if test "$no_cache" != 1; then
9094 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9095 fi
9096
9097 if test "$wxUSE_TOOLTIPS" = yes; then
9098 echo "$as_me:$LINENO: result: yes" >&5
9099echo "${ECHO_T}yes" >&6
9100 else
9101 echo "$as_me:$LINENO: result: no" >&5
9102echo "${ECHO_T}no" >&6
9103 fi
9104
9105
9106 enablestring=
9107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9108echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9109 no_cache=0
9110 # Check whether --enable-splines or --disable-splines was given.
9111if test "${enable_splines+set}" = set; then
9112 enableval="$enable_splines"
9113
9114 if test "$enableval" = yes; then
9115 ac_cv_use_splines='wxUSE_SPLINES=yes'
9116 else
9117 ac_cv_use_splines='wxUSE_SPLINES=no'
9118 fi
9119
9120else
9121
9122 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9123 if test "x$LINE" != x ; then
9124 eval "DEFAULT_$LINE"
9125 else
9126 no_cache=1
9127 fi
9128
9129 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9130
9131fi;
9132
9133 eval "$ac_cv_use_splines"
9134 if test "$no_cache" != 1; then
9135 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9136 fi
9137
9138 if test "$wxUSE_SPLINES" = yes; then
9139 echo "$as_me:$LINENO: result: yes" >&5
9140echo "${ECHO_T}yes" >&6
9141 else
9142 echo "$as_me:$LINENO: result: no" >&5
9143echo "${ECHO_T}no" >&6
9144 fi
9145
9146
9147 enablestring=
9148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9149echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9150 no_cache=0
9151 # Check whether --enable-validators or --disable-validators was given.
9152if test "${enable_validators+set}" = set; then
9153 enableval="$enable_validators"
9154
9155 if test "$enableval" = yes; then
9156 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9157 else
9158 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9159 fi
9160
9161else
9162
9163 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9164 if test "x$LINE" != x ; then
9165 eval "DEFAULT_$LINE"
9166 else
9167 no_cache=1
9168 fi
9169
9170 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9171
9172fi;
9173
9174 eval "$ac_cv_use_validators"
9175 if test "$no_cache" != 1; then
9176 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9177 fi
9178
9179 if test "$wxUSE_VALIDATORS" = yes; then
9180 echo "$as_me:$LINENO: result: yes" >&5
9181echo "${ECHO_T}yes" >&6
9182 else
9183 echo "$as_me:$LINENO: result: no" >&5
9184echo "${ECHO_T}no" >&6
9185 fi
9186
9187
9188 enablestring=
9189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9190echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9191 no_cache=0
9192 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9193if test "${enable_busyinfo+set}" = set; then
9194 enableval="$enable_busyinfo"
9195
9196 if test "$enableval" = yes; then
9197 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9198 else
9199 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9200 fi
9201
9202else
9203
9204 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9205 if test "x$LINE" != x ; then
9206 eval "DEFAULT_$LINE"
9207 else
9208 no_cache=1
9209 fi
9210
9211 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9212
9213fi;
9214
9215 eval "$ac_cv_use_busyinfo"
9216 if test "$no_cache" != 1; then
9217 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9218 fi
9219
9220 if test "$wxUSE_BUSYINFO" = yes; then
9221 echo "$as_me:$LINENO: result: yes" >&5
9222echo "${ECHO_T}yes" >&6
9223 else
9224 echo "$as_me:$LINENO: result: no" >&5
9225echo "${ECHO_T}no" >&6
9226 fi
9227
9228
9229 enablestring=
9230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9231echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9232 no_cache=0
9233 # Check whether --enable-joystick or --disable-joystick was given.
9234if test "${enable_joystick+set}" = set; then
9235 enableval="$enable_joystick"
9236
9237 if test "$enableval" = yes; then
9238 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9239 else
9240 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9241 fi
9242
9243else
9244
9245 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9246 if test "x$LINE" != x ; then
9247 eval "DEFAULT_$LINE"
9248 else
9249 no_cache=1
9250 fi
9251
9252 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9253
9254fi;
9255
9256 eval "$ac_cv_use_joystick"
9257 if test "$no_cache" != 1; then
9258 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9259 fi
9260
9261 if test "$wxUSE_JOYSTICK" = yes; then
9262 echo "$as_me:$LINENO: result: yes" >&5
9263echo "${ECHO_T}yes" >&6
9264 else
9265 echo "$as_me:$LINENO: result: no" >&5
9266echo "${ECHO_T}no" >&6
9267 fi
9268
9269
9270 enablestring=
9271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9272echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9273 no_cache=0
9274 # Check whether --enable-metafile or --disable-metafile was given.
9275if test "${enable_metafile+set}" = set; then
9276 enableval="$enable_metafile"
9277
9278 if test "$enableval" = yes; then
9279 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9280 else
9281 ac_cv_use_metafile='wxUSE_METAFILE=no'
9282 fi
9283
9284else
9285
9286 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9287 if test "x$LINE" != x ; then
9288 eval "DEFAULT_$LINE"
9289 else
9290 no_cache=1
9291 fi
9292
9293 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9294
9295fi;
9296
9297 eval "$ac_cv_use_metafile"
9298 if test "$no_cache" != 1; then
9299 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9300 fi
9301
9302 if test "$wxUSE_METAFILE" = yes; then
9303 echo "$as_me:$LINENO: result: yes" >&5
9304echo "${ECHO_T}yes" >&6
9305 else
9306 echo "$as_me:$LINENO: result: no" >&5
9307echo "${ECHO_T}no" >&6
9308 fi
9309
9310
9311 enablestring=
9312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9313echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9314 no_cache=0
9315 # Check whether --enable-dragimage or --disable-dragimage was given.
9316if test "${enable_dragimage+set}" = set; then
9317 enableval="$enable_dragimage"
9318
9319 if test "$enableval" = yes; then
9320 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9321 else
9322 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9323 fi
9324
9325else
9326
9327 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9328 if test "x$LINE" != x ; then
9329 eval "DEFAULT_$LINE"
9330 else
9331 no_cache=1
9332 fi
9333
9334 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9335
9336fi;
9337
9338 eval "$ac_cv_use_dragimage"
9339 if test "$no_cache" != 1; then
9340 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9341 fi
9342
9343 if test "$wxUSE_DRAGIMAGE" = yes; then
9344 echo "$as_me:$LINENO: result: yes" >&5
9345echo "${ECHO_T}yes" >&6
9346 else
9347 echo "$as_me:$LINENO: result: no" >&5
9348echo "${ECHO_T}no" >&6
9349 fi
9350
9351
9352 enablestring=
9353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9354echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9355 no_cache=0
9356 # Check whether --enable-accessibility or --disable-accessibility was given.
9357if test "${enable_accessibility+set}" = set; then
9358 enableval="$enable_accessibility"
9359
9360 if test "$enableval" = yes; then
9361 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9362 else
9363 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9364 fi
9365
9366else
9367
9368 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9369 if test "x$LINE" != x ; then
9370 eval "DEFAULT_$LINE"
9371 else
9372 no_cache=1
9373 fi
9374
9375 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9376
9377fi;
9378
9379 eval "$ac_cv_use_accessibility"
9380 if test "$no_cache" != 1; then
9381 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9382 fi
9383
9384 if test "$wxUSE_ACCESSIBILITY" = yes; then
9385 echo "$as_me:$LINENO: result: yes" >&5
9386echo "${ECHO_T}yes" >&6
9387 else
9388 echo "$as_me:$LINENO: result: no" >&5
9389echo "${ECHO_T}no" >&6
9390 fi
9391
9392
9393
9394
9395 enablestring=
9396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9397echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9398 no_cache=0
9399 # Check whether --enable-palette or --disable-palette was given.
9400if test "${enable_palette+set}" = set; then
9401 enableval="$enable_palette"
9402
9403 if test "$enableval" = yes; then
9404 ac_cv_use_palette='wxUSE_PALETTE=yes'
9405 else
9406 ac_cv_use_palette='wxUSE_PALETTE=no'
9407 fi
9408
9409else
9410
9411 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9412 if test "x$LINE" != x ; then
9413 eval "DEFAULT_$LINE"
9414 else
9415 no_cache=1
9416 fi
9417
9418 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9419
9420fi;
9421
9422 eval "$ac_cv_use_palette"
9423 if test "$no_cache" != 1; then
9424 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9425 fi
9426
9427 if test "$wxUSE_PALETTE" = yes; then
9428 echo "$as_me:$LINENO: result: yes" >&5
9429echo "${ECHO_T}yes" >&6
9430 else
9431 echo "$as_me:$LINENO: result: no" >&5
9432echo "${ECHO_T}no" >&6
9433 fi
9434
9435
9436 enablestring=
9437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9438echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9439 no_cache=0
9440 # Check whether --enable-image or --disable-image was given.
9441if test "${enable_image+set}" = set; then
9442 enableval="$enable_image"
9443
9444 if test "$enableval" = yes; then
9445 ac_cv_use_image='wxUSE_IMAGE=yes'
9446 else
9447 ac_cv_use_image='wxUSE_IMAGE=no'
9448 fi
9449
9450else
9451
9452 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9453 if test "x$LINE" != x ; then
9454 eval "DEFAULT_$LINE"
9455 else
9456 no_cache=1
9457 fi
9458
9459 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9460
9461fi;
9462
9463 eval "$ac_cv_use_image"
9464 if test "$no_cache" != 1; then
9465 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9466 fi
9467
9468 if test "$wxUSE_IMAGE" = yes; then
9469 echo "$as_me:$LINENO: result: yes" >&5
9470echo "${ECHO_T}yes" >&6
9471 else
9472 echo "$as_me:$LINENO: result: no" >&5
9473echo "${ECHO_T}no" >&6
9474 fi
9475
9476
9477 enablestring=
9478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9479echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9480 no_cache=0
9481 # Check whether --enable-gif or --disable-gif was given.
9482if test "${enable_gif+set}" = set; then
9483 enableval="$enable_gif"
9484
9485 if test "$enableval" = yes; then
9486 ac_cv_use_gif='wxUSE_GIF=yes'
9487 else
9488 ac_cv_use_gif='wxUSE_GIF=no'
9489 fi
9490
9491else
9492
9493 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9494 if test "x$LINE" != x ; then
9495 eval "DEFAULT_$LINE"
9496 else
9497 no_cache=1
9498 fi
9499
9500 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9501
9502fi;
9503
9504 eval "$ac_cv_use_gif"
9505 if test "$no_cache" != 1; then
9506 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9507 fi
9508
9509 if test "$wxUSE_GIF" = yes; then
9510 echo "$as_me:$LINENO: result: yes" >&5
9511echo "${ECHO_T}yes" >&6
9512 else
9513 echo "$as_me:$LINENO: result: no" >&5
9514echo "${ECHO_T}no" >&6
9515 fi
9516
9517
9518 enablestring=
9519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9520echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9521 no_cache=0
9522 # Check whether --enable-pcx or --disable-pcx was given.
9523if test "${enable_pcx+set}" = set; then
9524 enableval="$enable_pcx"
9525
9526 if test "$enableval" = yes; then
9527 ac_cv_use_pcx='wxUSE_PCX=yes'
9528 else
9529 ac_cv_use_pcx='wxUSE_PCX=no'
9530 fi
9531
9532else
9533
9534 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9535 if test "x$LINE" != x ; then
9536 eval "DEFAULT_$LINE"
9537 else
9538 no_cache=1
9539 fi
9540
9541 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9542
9543fi;
9544
9545 eval "$ac_cv_use_pcx"
9546 if test "$no_cache" != 1; then
9547 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9548 fi
9549
9550 if test "$wxUSE_PCX" = yes; then
9551 echo "$as_me:$LINENO: result: yes" >&5
9552echo "${ECHO_T}yes" >&6
9553 else
9554 echo "$as_me:$LINENO: result: no" >&5
9555echo "${ECHO_T}no" >&6
9556 fi
9557
9558
9559 enablestring=
9560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9561echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9562 no_cache=0
9563 # Check whether --enable-iff or --disable-iff was given.
9564if test "${enable_iff+set}" = set; then
9565 enableval="$enable_iff"
9566
9567 if test "$enableval" = yes; then
9568 ac_cv_use_iff='wxUSE_IFF=yes'
9569 else
9570 ac_cv_use_iff='wxUSE_IFF=no'
9571 fi
9572
9573else
9574
9575 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9576 if test "x$LINE" != x ; then
9577 eval "DEFAULT_$LINE"
9578 else
9579 no_cache=1
9580 fi
9581
9582 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9583
9584fi;
9585
9586 eval "$ac_cv_use_iff"
9587 if test "$no_cache" != 1; then
9588 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9589 fi
9590
9591 if test "$wxUSE_IFF" = yes; then
9592 echo "$as_me:$LINENO: result: yes" >&5
9593echo "${ECHO_T}yes" >&6
9594 else
9595 echo "$as_me:$LINENO: result: no" >&5
9596echo "${ECHO_T}no" >&6
9597 fi
9598
9599
9600 enablestring=
9601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9602echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9603 no_cache=0
9604 # Check whether --enable-pnm or --disable-pnm was given.
9605if test "${enable_pnm+set}" = set; then
9606 enableval="$enable_pnm"
9607
9608 if test "$enableval" = yes; then
9609 ac_cv_use_pnm='wxUSE_PNM=yes'
9610 else
9611 ac_cv_use_pnm='wxUSE_PNM=no'
9612 fi
9613
9614else
9615
9616 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9617 if test "x$LINE" != x ; then
9618 eval "DEFAULT_$LINE"
9619 else
9620 no_cache=1
9621 fi
9622
9623 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9624
9625fi;
9626
9627 eval "$ac_cv_use_pnm"
9628 if test "$no_cache" != 1; then
9629 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9630 fi
9631
9632 if test "$wxUSE_PNM" = yes; then
9633 echo "$as_me:$LINENO: result: yes" >&5
9634echo "${ECHO_T}yes" >&6
9635 else
9636 echo "$as_me:$LINENO: result: no" >&5
9637echo "${ECHO_T}no" >&6
9638 fi
9639
9640
9641 enablestring=
9642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9643echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9644 no_cache=0
9645 # Check whether --enable-xpm or --disable-xpm was given.
9646if test "${enable_xpm+set}" = set; then
9647 enableval="$enable_xpm"
9648
9649 if test "$enableval" = yes; then
9650 ac_cv_use_xpm='wxUSE_XPM=yes'
9651 else
9652 ac_cv_use_xpm='wxUSE_XPM=no'
9653 fi
9654
9655else
9656
9657 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9658 if test "x$LINE" != x ; then
9659 eval "DEFAULT_$LINE"
9660 else
9661 no_cache=1
9662 fi
9663
9664 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9665
9666fi;
9667
9668 eval "$ac_cv_use_xpm"
9669 if test "$no_cache" != 1; then
9670 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9671 fi
9672
9673 if test "$wxUSE_XPM" = yes; then
9674 echo "$as_me:$LINENO: result: yes" >&5
9675echo "${ECHO_T}yes" >&6
9676 else
9677 echo "$as_me:$LINENO: result: no" >&5
9678echo "${ECHO_T}no" >&6
9679 fi
9680
9681
9682 enablestring=
9683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9684echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9685 no_cache=0
9686 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9687if test "${enable_ico_cur+set}" = set; then
9688 enableval="$enable_ico_cur"
9689
9690 if test "$enableval" = yes; then
9691 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9692 else
9693 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9694 fi
9695
9696else
9697
9698 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9699 if test "x$LINE" != x ; then
9700 eval "DEFAULT_$LINE"
9701 else
9702 no_cache=1
9703 fi
9704
9705 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9706
9707fi;
9708
9709 eval "$ac_cv_use_ico_cur"
9710 if test "$no_cache" != 1; then
9711 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9712 fi
9713
9714 if test "$wxUSE_ICO_CUR" = yes; then
9715 echo "$as_me:$LINENO: result: yes" >&5
9716echo "${ECHO_T}yes" >&6
9717 else
9718 echo "$as_me:$LINENO: result: no" >&5
9719echo "${ECHO_T}no" >&6
9720 fi
9721
9722
9723fi
9724
9725
9726
9727 enablestring=
9728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9729echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9730 no_cache=0
9731 # Check whether --enable-official_build or --disable-official_build was given.
9732if test "${enable_official_build+set}" = set; then
9733 enableval="$enable_official_build"
9734
9735 if test "$enableval" = yes; then
9736 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9737 else
9738 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9739 fi
9740
9741else
9742
9743 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9744 if test "x$LINE" != x ; then
9745 eval "DEFAULT_$LINE"
9746 else
9747 no_cache=1
9748 fi
9749
9750 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9751
9752fi;
9753
9754 eval "$ac_cv_use_official_build"
9755 if test "$no_cache" != 1; then
9756 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9757 fi
9758
9759 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9760 echo "$as_me:$LINENO: result: yes" >&5
9761echo "${ECHO_T}yes" >&6
9762 else
9763 echo "$as_me:$LINENO: result: no" >&5
9764echo "${ECHO_T}no" >&6
9765 fi
9766
9767# Check whether --enable-vendor or --disable-vendor was given.
9768if test "${enable_vendor+set}" = set; then
9769 enableval="$enable_vendor"
9770 VENDOR="$enableval"
9771fi;
9772if test "x$VENDOR" = "x"; then
9773 VENDOR="custom"
9774fi
9775
9776case "${host}" in
9777 *-pc-os2_emx | *-pc-os2-emx )
9778 PATH_IFS=';'
9779 ;;
9780 *)
9781 PATH_IFS=':'
9782 ;;
9783esac
9784
9785
9786
9787 echo "saving argument cache $wx_arg_cache_file"
9788 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9789
9790
9791
9792echo "$as_me:$LINENO: checking for toolkit" >&5
9793echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9794
9795# In Wine, we need to default to MSW, not GTK or MOTIF
9796if test "$wxUSE_WINE" = "yes"; then
9797 DEFAULT_DEFAULT_wxUSE_GTK=0
9798 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9799 DEFAULT_DEFAULT_wxUSE_MSW=1
9800 wxUSE_SHARED=no
9801fi
9802
9803if test "$wxUSE_GUI" = "yes"; then
9804
9805 if test "$USE_BEOS" = 1; then
9806 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9807echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9808 { (exit 1); exit 1; }; }
9809 fi
9810
9811 if test "$TOOLKIT_GIVEN" = 1; then
9812 for toolkit in `echo $ALL_TOOLKITS`; do
9813 var=wxUSE_$toolkit
9814 eval "value=\$${var}"
9815 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9816 done
9817 else
9818 for toolkit in `echo $ALL_TOOLKITS`; do
9819 if test "$has_toolkit_in_cache" != 1; then
9820 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9821 else
9822 var=DEFAULT_wxUSE_$toolkit
9823 fi
9824 eval "wxUSE_$toolkit=\$${var}"
9825 done
9826 fi
9827
9828 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9829 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9830 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9831
9832 case "${host}" in
9833 *-pc-os2_emx | *-pc-os2-emx )
9834 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9835 esac
9836
9837 case "$NUM_TOOLKITS" in
9838 1)
9839 ;;
9840 0)
9841 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9842echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9843 { (exit 1); exit 1; }; }
9844 ;;
9845 *)
9846 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9847echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9848 { (exit 1); exit 1; }; }
9849 esac
9850
9851 for toolkit in `echo $ALL_TOOLKITS`; do
9852 var=wxUSE_$toolkit
9853 eval "value=\$${var}"
9854 if test "x$value" != x; then
9855 cache_var=CACHE_$toolkit
9856 eval "cache=\$${cache_var}"
9857 if test "$cache" = 1; then
9858 echo "$var=$value" >> ${wx_arg_cache_file}
9859 fi
9860 if test "$value" = 1; then
9861 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9862 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9863echo "${ECHO_T}$toolkit_echo" >&6
9864 fi
9865 fi
9866 done
9867else
9868 if test "x$host_alias" != "x"; then
9869 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9870echo "${ECHO_T}base ($host_alias hosted) only" >&6
9871 else
9872 echo "$as_me:$LINENO: result: base only" >&5
9873echo "${ECHO_T}base only" >&6
9874 fi
9875fi
9876
9877wants_win32=0
9878doesnt_want_win32=0
9879case "${host}" in
9880 *-*-cygwin*)
9881 if test "$wxUSE_MSW" = 1 ; then
9882 wants_win32=1
9883 else
9884 doesnt_want_win32=1
9885 fi
9886 ;;
9887 *-*-mingw*)
9888 wants_win32=1
9889 ;;
9890esac
9891
9892if test "$wxUSE_WINE" = "yes"; then
9893 wants_win32=1
9894 CC=winegcc
9895 CXX=wineg++
9896 RESCOMP=wrc
9897 LDFLAGS_GUI="-mwindows"
9898fi
9899
9900if test "$wants_win32" = 1 ; then
9901 USE_UNIX=0
9902 USE_WIN32=1
9903 cat >>confdefs.h <<\_ACEOF
9904#define __WIN32__ 1
9905_ACEOF
9906
9907 cat >>confdefs.h <<\_ACEOF
9908#define __WIN95__ 1
9909_ACEOF
9910
9911 cat >>confdefs.h <<\_ACEOF
9912#define __WINDOWS__ 1
9913_ACEOF
9914
9915 cat >>confdefs.h <<\_ACEOF
9916#define __GNUWIN32__ 1
9917_ACEOF
9918
9919 cat >>confdefs.h <<\_ACEOF
9920#define STRICT 1
9921_ACEOF
9922
9923 cat >>confdefs.h <<\_ACEOF
9924#define WINVER 0x0400
9925_ACEOF
9926
9927fi
9928if test "$doesnt_want_win32" = 1 ; then
9929 USE_UNIX=1
9930 USE_WIN32=0
9931fi
9932
9933if test "$USE_UNIX" = 1 ; then
9934 wxUSE_UNIX=yes
9935 cat >>confdefs.h <<\_ACEOF
9936#define __UNIX__ 1
9937_ACEOF
9938
9939fi
9940
9941
9942cat >confcache <<\_ACEOF
9943# This file is a shell script that caches the results of configure
9944# tests run on this system so they can be shared between configure
9945# scripts and configure runs, see configure's option --config-cache.
9946# It is not useful on other systems. If it contains results you don't
9947# want to keep, you may remove or edit it.
9948#
9949# config.status only pays attention to the cache file if you give it
9950# the --recheck option to rerun configure.
9951#
9952# `ac_cv_env_foo' variables (set or unset) will be overridden when
9953# loading this file, other *unset* `ac_cv_foo' will be assigned the
9954# following values.
9955
9956_ACEOF
9957
9958# The following way of writing the cache mishandles newlines in values,
9959# but we know of no workaround that is simple, portable, and efficient.
9960# So, don't put newlines in cache variables' values.
9961# Ultrix sh set writes to stderr and can't be redirected directly,
9962# and sets the high bit in the cache file unless we assign to the vars.
9963{
9964 (set) 2>&1 |
9965 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9966 *ac_space=\ *)
9967 # `set' does not quote correctly, so add quotes (double-quote
9968 # substitution turns \\\\ into \\, and sed turns \\ into \).
9969 sed -n \
9970 "s/'/'\\\\''/g;
9971 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9972 ;;
9973 *)
9974 # `set' quotes correctly as required by POSIX, so do not add quotes.
9975 sed -n \
9976 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9977 ;;
9978 esac;
9979} |
9980 sed '
9981 t clear
9982 : clear
9983 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9984 t end
9985 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9986 : end' >>confcache
9987if diff $cache_file confcache >/dev/null 2>&1; then :; else
9988 if test -w $cache_file; then
9989 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9990 cat confcache >$cache_file
9991 else
9992 echo "not updating unwritable cache $cache_file"
9993 fi
9994fi
9995rm -f confcache
9996
9997if test "$build" != "$host" ; then
9998 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9999 CC=$host_alias-gcc
10000 CXX=$host_alias-c++
10001 AR=$host_alias-ar
10002 RANLIB=$host_alias-ranlib
10003 DLLTOOL=$host_alias-dlltool
10004 RESCOMP=$host_alias-windres
10005 LD=$host_alias-ld
10006 NM=$host_alias-nm
10007 STRIP=$host_alias-strip
10008 else
10009 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10010echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10011 { (exit 1); exit 1; }; }
10012 fi
10013fi
10014
10015CFLAGS=${CFLAGS:=}
10016ac_ext=c
10017ac_cpp='$CPP $CPPFLAGS'
10018ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10019ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10020ac_compiler_gnu=$ac_cv_c_compiler_gnu
10021if test -n "$ac_tool_prefix"; then
10022 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10023set dummy ${ac_tool_prefix}gcc; ac_word=$2
10024echo "$as_me:$LINENO: checking for $ac_word" >&5
10025echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10026if test "${ac_cv_prog_CC+set}" = set; then
10027 echo $ECHO_N "(cached) $ECHO_C" >&6
10028else
10029 if test -n "$CC"; then
10030 ac_cv_prog_CC="$CC" # Let the user override the test.
10031else
10032as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10033for as_dir in $PATH
10034do
10035 IFS=$as_save_IFS
10036 test -z "$as_dir" && as_dir=.
10037 for ac_exec_ext in '' $ac_executable_extensions; do
10038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10039 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10041 break 2
10042 fi
10043done
10044done
10045
10046fi
10047fi
10048CC=$ac_cv_prog_CC
10049if test -n "$CC"; then
10050 echo "$as_me:$LINENO: result: $CC" >&5
10051echo "${ECHO_T}$CC" >&6
10052else
10053 echo "$as_me:$LINENO: result: no" >&5
10054echo "${ECHO_T}no" >&6
10055fi
10056
10057fi
10058if test -z "$ac_cv_prog_CC"; then
10059 ac_ct_CC=$CC
10060 # Extract the first word of "gcc", so it can be a program name with args.
10061set dummy gcc; ac_word=$2
10062echo "$as_me:$LINENO: checking for $ac_word" >&5
10063echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10064if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10065 echo $ECHO_N "(cached) $ECHO_C" >&6
10066else
10067 if test -n "$ac_ct_CC"; then
10068 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10069else
10070as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10071for as_dir in $PATH
10072do
10073 IFS=$as_save_IFS
10074 test -z "$as_dir" && as_dir=.
10075 for ac_exec_ext in '' $ac_executable_extensions; do
10076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10077 ac_cv_prog_ac_ct_CC="gcc"
10078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10079 break 2
10080 fi
10081done
10082done
10083
10084fi
10085fi
10086ac_ct_CC=$ac_cv_prog_ac_ct_CC
10087if test -n "$ac_ct_CC"; then
10088 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10089echo "${ECHO_T}$ac_ct_CC" >&6
10090else
10091 echo "$as_me:$LINENO: result: no" >&5
10092echo "${ECHO_T}no" >&6
10093fi
10094
10095 CC=$ac_ct_CC
10096else
10097 CC="$ac_cv_prog_CC"
10098fi
10099
10100if test -z "$CC"; then
10101 if test -n "$ac_tool_prefix"; then
10102 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10103set dummy ${ac_tool_prefix}cc; ac_word=$2
10104echo "$as_me:$LINENO: checking for $ac_word" >&5
10105echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10106if test "${ac_cv_prog_CC+set}" = set; then
10107 echo $ECHO_N "(cached) $ECHO_C" >&6
10108else
10109 if test -n "$CC"; then
10110 ac_cv_prog_CC="$CC" # Let the user override the test.
10111else
10112as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10113for as_dir in $PATH
10114do
10115 IFS=$as_save_IFS
10116 test -z "$as_dir" && as_dir=.
10117 for ac_exec_ext in '' $ac_executable_extensions; do
10118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10119 ac_cv_prog_CC="${ac_tool_prefix}cc"
10120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10121 break 2
10122 fi
10123done
10124done
10125
10126fi
10127fi
10128CC=$ac_cv_prog_CC
10129if test -n "$CC"; then
10130 echo "$as_me:$LINENO: result: $CC" >&5
10131echo "${ECHO_T}$CC" >&6
10132else
10133 echo "$as_me:$LINENO: result: no" >&5
10134echo "${ECHO_T}no" >&6
10135fi
10136
10137fi
10138if test -z "$ac_cv_prog_CC"; then
10139 ac_ct_CC=$CC
10140 # Extract the first word of "cc", so it can be a program name with args.
10141set dummy cc; ac_word=$2
10142echo "$as_me:$LINENO: checking for $ac_word" >&5
10143echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10144if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10145 echo $ECHO_N "(cached) $ECHO_C" >&6
10146else
10147 if test -n "$ac_ct_CC"; then
10148 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10149else
10150as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10151for as_dir in $PATH
10152do
10153 IFS=$as_save_IFS
10154 test -z "$as_dir" && as_dir=.
10155 for ac_exec_ext in '' $ac_executable_extensions; do
10156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10157 ac_cv_prog_ac_ct_CC="cc"
10158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10159 break 2
10160 fi
10161done
10162done
10163
10164fi
10165fi
10166ac_ct_CC=$ac_cv_prog_ac_ct_CC
10167if test -n "$ac_ct_CC"; then
10168 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10169echo "${ECHO_T}$ac_ct_CC" >&6
10170else
10171 echo "$as_me:$LINENO: result: no" >&5
10172echo "${ECHO_T}no" >&6
10173fi
10174
10175 CC=$ac_ct_CC
10176else
10177 CC="$ac_cv_prog_CC"
10178fi
10179
10180fi
10181if test -z "$CC"; then
10182 # Extract the first word of "cc", so it can be a program name with args.
10183set dummy cc; ac_word=$2
10184echo "$as_me:$LINENO: checking for $ac_word" >&5
10185echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10186if test "${ac_cv_prog_CC+set}" = set; then
10187 echo $ECHO_N "(cached) $ECHO_C" >&6
10188else
10189 if test -n "$CC"; then
10190 ac_cv_prog_CC="$CC" # Let the user override the test.
10191else
10192 ac_prog_rejected=no
10193as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10194for as_dir in $PATH
10195do
10196 IFS=$as_save_IFS
10197 test -z "$as_dir" && as_dir=.
10198 for ac_exec_ext in '' $ac_executable_extensions; do
10199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10200 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10201 ac_prog_rejected=yes
10202 continue
10203 fi
10204 ac_cv_prog_CC="cc"
10205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10206 break 2
10207 fi
10208done
10209done
10210
10211if test $ac_prog_rejected = yes; then
10212 # We found a bogon in the path, so make sure we never use it.
10213 set dummy $ac_cv_prog_CC
10214 shift
10215 if test $# != 0; then
10216 # We chose a different compiler from the bogus one.
10217 # However, it has the same basename, so the bogon will be chosen
10218 # first if we set CC to just the basename; use the full file name.
10219 shift
10220 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10221 fi
10222fi
10223fi
10224fi
10225CC=$ac_cv_prog_CC
10226if test -n "$CC"; then
10227 echo "$as_me:$LINENO: result: $CC" >&5
10228echo "${ECHO_T}$CC" >&6
10229else
10230 echo "$as_me:$LINENO: result: no" >&5
10231echo "${ECHO_T}no" >&6
10232fi
10233
10234fi
10235if test -z "$CC"; then
10236 if test -n "$ac_tool_prefix"; then
10237 for ac_prog in cl
10238 do
10239 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10240set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10241echo "$as_me:$LINENO: checking for $ac_word" >&5
10242echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10243if test "${ac_cv_prog_CC+set}" = set; then
10244 echo $ECHO_N "(cached) $ECHO_C" >&6
10245else
10246 if test -n "$CC"; then
10247 ac_cv_prog_CC="$CC" # Let the user override the test.
10248else
10249as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10250for as_dir in $PATH
10251do
10252 IFS=$as_save_IFS
10253 test -z "$as_dir" && as_dir=.
10254 for ac_exec_ext in '' $ac_executable_extensions; do
10255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10256 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10258 break 2
10259 fi
10260done
10261done
10262
10263fi
10264fi
10265CC=$ac_cv_prog_CC
10266if test -n "$CC"; then
10267 echo "$as_me:$LINENO: result: $CC" >&5
10268echo "${ECHO_T}$CC" >&6
10269else
10270 echo "$as_me:$LINENO: result: no" >&5
10271echo "${ECHO_T}no" >&6
10272fi
10273
10274 test -n "$CC" && break
10275 done
10276fi
10277if test -z "$CC"; then
10278 ac_ct_CC=$CC
10279 for ac_prog in cl
10280do
10281 # Extract the first word of "$ac_prog", so it can be a program name with args.
10282set dummy $ac_prog; ac_word=$2
10283echo "$as_me:$LINENO: checking for $ac_word" >&5
10284echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10285if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10286 echo $ECHO_N "(cached) $ECHO_C" >&6
10287else
10288 if test -n "$ac_ct_CC"; then
10289 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10290else
10291as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10292for as_dir in $PATH
10293do
10294 IFS=$as_save_IFS
10295 test -z "$as_dir" && as_dir=.
10296 for ac_exec_ext in '' $ac_executable_extensions; do
10297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10298 ac_cv_prog_ac_ct_CC="$ac_prog"
10299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10300 break 2
10301 fi
10302done
10303done
10304
10305fi
10306fi
10307ac_ct_CC=$ac_cv_prog_ac_ct_CC
10308if test -n "$ac_ct_CC"; then
10309 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10310echo "${ECHO_T}$ac_ct_CC" >&6
10311else
10312 echo "$as_me:$LINENO: result: no" >&5
10313echo "${ECHO_T}no" >&6
10314fi
10315
10316 test -n "$ac_ct_CC" && break
10317done
10318
10319 CC=$ac_ct_CC
10320fi
10321
10322fi
10323
10324
10325test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10326See \`config.log' for more details." >&5
10327echo "$as_me: error: no acceptable C compiler found in \$PATH
10328See \`config.log' for more details." >&2;}
10329 { (exit 1); exit 1; }; }
10330
10331# Provide some information about the compiler.
10332echo "$as_me:$LINENO:" \
10333 "checking for C compiler version" >&5
10334ac_compiler=`set X $ac_compile; echo $2`
10335{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10336 (eval $ac_compiler --version </dev/null >&5) 2>&5
10337 ac_status=$?
10338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10339 (exit $ac_status); }
10340{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10341 (eval $ac_compiler -v </dev/null >&5) 2>&5
10342 ac_status=$?
10343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10344 (exit $ac_status); }
10345{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10346 (eval $ac_compiler -V </dev/null >&5) 2>&5
10347 ac_status=$?
10348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10349 (exit $ac_status); }
10350
10351cat >conftest.$ac_ext <<_ACEOF
10352#line $LINENO "configure"
10353/* confdefs.h. */
10354_ACEOF
10355cat confdefs.h >>conftest.$ac_ext
10356cat >>conftest.$ac_ext <<_ACEOF
10357/* end confdefs.h. */
10358
10359int
10360main ()
10361{
10362
10363 ;
10364 return 0;
10365}
10366_ACEOF
10367ac_clean_files_save=$ac_clean_files
10368ac_clean_files="$ac_clean_files a.out a.exe b.out"
10369# Try to create an executable without -o first, disregard a.out.
10370# It will help us diagnose broken compilers, and finding out an intuition
10371# of exeext.
10372echo "$as_me:$LINENO: checking for C compiler default output" >&5
10373echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10374ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10375if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10376 (eval $ac_link_default) 2>&5
10377 ac_status=$?
10378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10379 (exit $ac_status); }; then
10380 # Find the output, starting from the most likely. This scheme is
10381# not robust to junk in `.', hence go to wildcards (a.*) only as a last
10382# resort.
10383
10384# Be careful to initialize this variable, since it used to be cached.
10385# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10386ac_cv_exeext=
10387# b.out is created by i960 compilers.
10388for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10389do
10390 test -f "$ac_file" || continue
10391 case $ac_file in
10392 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10393 ;;
10394 conftest.$ac_ext )
10395 # This is the source file.
10396 ;;
10397 [ab].out )
10398 # We found the default executable, but exeext='' is most
10399 # certainly right.
10400 break;;
10401 *.* )
10402 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10403 # FIXME: I believe we export ac_cv_exeext for Libtool,
10404 # but it would be cool to find out if it's true. Does anybody
10405 # maintain Libtool? --akim.
10406 export ac_cv_exeext
10407 break;;
10408 * )
10409 break;;
10410 esac
10411done
10412else
10413 echo "$as_me: failed program was:" >&5
10414sed 's/^/| /' conftest.$ac_ext >&5
10415
10416{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
10417See \`config.log' for more details." >&5
10418echo "$as_me: error: C compiler cannot create executables
10419See \`config.log' for more details." >&2;}
10420 { (exit 77); exit 77; }; }
10421fi
10422
10423ac_exeext=$ac_cv_exeext
10424echo "$as_me:$LINENO: result: $ac_file" >&5
10425echo "${ECHO_T}$ac_file" >&6
10426
10427# Check the compiler produces executables we can run. If not, either
10428# the compiler is broken, or we cross compile.
10429echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10430echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10431# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10432# If not cross compiling, check that we can run a simple program.
10433if test "$cross_compiling" != yes; then
10434 if { ac_try='./$ac_file'
10435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10436 (eval $ac_try) 2>&5
10437 ac_status=$?
10438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10439 (exit $ac_status); }; }; then
10440 cross_compiling=no
10441 else
10442 if test "$cross_compiling" = maybe; then
10443 cross_compiling=yes
10444 else
10445 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10446If you meant to cross compile, use \`--host'.
10447See \`config.log' for more details." >&5
10448echo "$as_me: error: cannot run C compiled programs.
10449If you meant to cross compile, use \`--host'.
10450See \`config.log' for more details." >&2;}
10451 { (exit 1); exit 1; }; }
10452 fi
10453 fi
10454fi
10455echo "$as_me:$LINENO: result: yes" >&5
10456echo "${ECHO_T}yes" >&6
10457
10458rm -f a.out a.exe conftest$ac_cv_exeext b.out
10459ac_clean_files=$ac_clean_files_save
10460# Check the compiler produces executables we can run. If not, either
10461# the compiler is broken, or we cross compile.
10462echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10463echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10464echo "$as_me:$LINENO: result: $cross_compiling" >&5
10465echo "${ECHO_T}$cross_compiling" >&6
10466
10467echo "$as_me:$LINENO: checking for suffix of executables" >&5
10468echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10469if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10470 (eval $ac_link) 2>&5
10471 ac_status=$?
10472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10473 (exit $ac_status); }; then
10474 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10475# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10476# work properly (i.e., refer to `conftest.exe'), while it won't with
10477# `rm'.
10478for ac_file in conftest.exe conftest conftest.*; do
10479 test -f "$ac_file" || continue
10480 case $ac_file in
10481 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10482 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10483 export ac_cv_exeext
10484 break;;
10485 * ) break;;
10486 esac
10487done
10488else
10489 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10490See \`config.log' for more details." >&5
10491echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10492See \`config.log' for more details." >&2;}
10493 { (exit 1); exit 1; }; }
10494fi
10495
10496rm -f conftest$ac_cv_exeext
10497echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10498echo "${ECHO_T}$ac_cv_exeext" >&6
10499
10500rm -f conftest.$ac_ext
10501EXEEXT=$ac_cv_exeext
10502ac_exeext=$EXEEXT
10503echo "$as_me:$LINENO: checking for suffix of object files" >&5
10504echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10505if test "${ac_cv_objext+set}" = set; then
10506 echo $ECHO_N "(cached) $ECHO_C" >&6
10507else
10508 cat >conftest.$ac_ext <<_ACEOF
10509#line $LINENO "configure"
10510/* confdefs.h. */
10511_ACEOF
10512cat confdefs.h >>conftest.$ac_ext
10513cat >>conftest.$ac_ext <<_ACEOF
10514/* end confdefs.h. */
10515
10516int
10517main ()
10518{
10519
10520 ;
10521 return 0;
10522}
10523_ACEOF
10524rm -f conftest.o conftest.obj
10525if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10526 (eval $ac_compile) 2>&5
10527 ac_status=$?
10528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10529 (exit $ac_status); }; then
10530 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10531 case $ac_file in
10532 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10533 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10534 break;;
10535 esac
10536done
10537else
10538 echo "$as_me: failed program was:" >&5
10539sed 's/^/| /' conftest.$ac_ext >&5
10540
10541{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10542See \`config.log' for more details." >&5
10543echo "$as_me: error: cannot compute suffix of object files: cannot compile
10544See \`config.log' for more details." >&2;}
10545 { (exit 1); exit 1; }; }
10546fi
10547
10548rm -f conftest.$ac_cv_objext conftest.$ac_ext
10549fi
10550echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10551echo "${ECHO_T}$ac_cv_objext" >&6
10552OBJEXT=$ac_cv_objext
10553ac_objext=$OBJEXT
10554echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10555echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10556if test "${ac_cv_c_compiler_gnu+set}" = set; then
10557 echo $ECHO_N "(cached) $ECHO_C" >&6
10558else
10559 cat >conftest.$ac_ext <<_ACEOF
10560#line $LINENO "configure"
10561/* confdefs.h. */
10562_ACEOF
10563cat confdefs.h >>conftest.$ac_ext
10564cat >>conftest.$ac_ext <<_ACEOF
10565/* end confdefs.h. */
10566
10567int
10568main ()
10569{
10570#ifndef __GNUC__
10571 choke me
10572#endif
10573
10574 ;
10575 return 0;
10576}
10577_ACEOF
10578rm -f conftest.$ac_objext
10579if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10580 (eval $ac_compile) 2>&5
10581 ac_status=$?
10582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10583 (exit $ac_status); } &&
10584 { ac_try='test -s conftest.$ac_objext'
10585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10586 (eval $ac_try) 2>&5
10587 ac_status=$?
10588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10589 (exit $ac_status); }; }; then
10590 ac_compiler_gnu=yes
10591else
10592 echo "$as_me: failed program was:" >&5
10593sed 's/^/| /' conftest.$ac_ext >&5
10594
10595ac_compiler_gnu=no
10596fi
10597rm -f conftest.$ac_objext conftest.$ac_ext
10598ac_cv_c_compiler_gnu=$ac_compiler_gnu
10599
10600fi
10601echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10602echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10603GCC=`test $ac_compiler_gnu = yes && echo yes`
10604ac_test_CFLAGS=${CFLAGS+set}
10605ac_save_CFLAGS=$CFLAGS
10606CFLAGS="-g"
10607echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10608echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10609if test "${ac_cv_prog_cc_g+set}" = set; then
10610 echo $ECHO_N "(cached) $ECHO_C" >&6
10611else
10612 cat >conftest.$ac_ext <<_ACEOF
10613#line $LINENO "configure"
10614/* confdefs.h. */
10615_ACEOF
10616cat confdefs.h >>conftest.$ac_ext
10617cat >>conftest.$ac_ext <<_ACEOF
10618/* end confdefs.h. */
10619
10620int
10621main ()
10622{
10623
10624 ;
10625 return 0;
10626}
10627_ACEOF
10628rm -f conftest.$ac_objext
10629if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10630 (eval $ac_compile) 2>&5
10631 ac_status=$?
10632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10633 (exit $ac_status); } &&
10634 { ac_try='test -s conftest.$ac_objext'
10635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10636 (eval $ac_try) 2>&5
10637 ac_status=$?
10638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10639 (exit $ac_status); }; }; then
10640 ac_cv_prog_cc_g=yes
10641else
10642 echo "$as_me: failed program was:" >&5
10643sed 's/^/| /' conftest.$ac_ext >&5
10644
10645ac_cv_prog_cc_g=no
10646fi
10647rm -f conftest.$ac_objext conftest.$ac_ext
10648fi
10649echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10650echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10651if test "$ac_test_CFLAGS" = set; then
10652 CFLAGS=$ac_save_CFLAGS
10653elif test $ac_cv_prog_cc_g = yes; then
10654 if test "$GCC" = yes; then
10655 CFLAGS="-g -O2"
10656 else
10657 CFLAGS="-g"
10658 fi
10659else
10660 if test "$GCC" = yes; then
10661 CFLAGS="-O2"
10662 else
10663 CFLAGS=
10664 fi
10665fi
10666echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10667echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10668if test "${ac_cv_prog_cc_stdc+set}" = set; then
10669 echo $ECHO_N "(cached) $ECHO_C" >&6
10670else
10671 ac_cv_prog_cc_stdc=no
10672ac_save_CC=$CC
10673cat >conftest.$ac_ext <<_ACEOF
10674#line $LINENO "configure"
10675/* confdefs.h. */
10676_ACEOF
10677cat confdefs.h >>conftest.$ac_ext
10678cat >>conftest.$ac_ext <<_ACEOF
10679/* end confdefs.h. */
10680#include <stdarg.h>
10681#include <stdio.h>
10682#include <sys/types.h>
10683#include <sys/stat.h>
10684/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10685struct buf { int x; };
10686FILE * (*rcsopen) (struct buf *, struct stat *, int);
10687static char *e (p, i)
10688 char **p;
10689 int i;
10690{
10691 return p[i];
10692}
10693static char *f (char * (*g) (char **, int), char **p, ...)
10694{
10695 char *s;
10696 va_list v;
10697 va_start (v,p);
10698 s = g (p, va_arg (v,int));
10699 va_end (v);
10700 return s;
10701}
10702int test (int i, double x);
10703struct s1 {int (*f) (int a);};
10704struct s2 {int (*f) (double a);};
10705int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10706int argc;
10707char **argv;
10708int
10709main ()
10710{
10711return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10712 ;
10713 return 0;
10714}
10715_ACEOF
10716# Don't try gcc -ansi; that turns off useful extensions and
10717# breaks some systems' header files.
10718# AIX -qlanglvl=ansi
10719# Ultrix and OSF/1 -std1
10720# HP-UX 10.20 and later -Ae
10721# HP-UX older versions -Aa -D_HPUX_SOURCE
10722# SVR4 -Xc -D__EXTENSIONS__
10723for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10724do
10725 CC="$ac_save_CC $ac_arg"
10726 rm -f conftest.$ac_objext
10727if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10728 (eval $ac_compile) 2>&5
10729 ac_status=$?
10730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10731 (exit $ac_status); } &&
10732 { ac_try='test -s conftest.$ac_objext'
10733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10734 (eval $ac_try) 2>&5
10735 ac_status=$?
10736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10737 (exit $ac_status); }; }; then
10738 ac_cv_prog_cc_stdc=$ac_arg
10739break
10740else
10741 echo "$as_me: failed program was:" >&5
10742sed 's/^/| /' conftest.$ac_ext >&5
10743
10744fi
10745rm -f conftest.$ac_objext
10746done
10747rm -f conftest.$ac_ext conftest.$ac_objext
10748CC=$ac_save_CC
10749
10750fi
10751
10752case "x$ac_cv_prog_cc_stdc" in
10753 x|xno)
10754 echo "$as_me:$LINENO: result: none needed" >&5
10755echo "${ECHO_T}none needed" >&6 ;;
10756 *)
10757 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10758echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10759 CC="$CC $ac_cv_prog_cc_stdc" ;;
10760esac
10761
10762# Some people use a C++ compiler to compile C. Since we use `exit',
10763# in C++ we need to declare it. In case someone uses the same compiler
10764# for both compiling C and C++ we need to have the C++ compiler decide
10765# the declaration of exit, since it's the most demanding environment.
10766cat >conftest.$ac_ext <<_ACEOF
10767#ifndef __cplusplus
10768 choke me
10769#endif
10770_ACEOF
10771rm -f conftest.$ac_objext
10772if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10773 (eval $ac_compile) 2>&5
10774 ac_status=$?
10775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10776 (exit $ac_status); } &&
10777 { ac_try='test -s conftest.$ac_objext'
10778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10779 (eval $ac_try) 2>&5
10780 ac_status=$?
10781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10782 (exit $ac_status); }; }; then
10783 for ac_declaration in \
10784 '' \
10785 'extern "C" void std::exit (int) throw (); using std::exit;' \
10786 'extern "C" void std::exit (int); using std::exit;' \
10787 'extern "C" void exit (int) throw ();' \
10788 'extern "C" void exit (int);' \
10789 'void exit (int);'
10790do
10791 cat >conftest.$ac_ext <<_ACEOF
10792#line $LINENO "configure"
10793/* confdefs.h. */
10794_ACEOF
10795cat confdefs.h >>conftest.$ac_ext
10796cat >>conftest.$ac_ext <<_ACEOF
10797/* end confdefs.h. */
10798$ac_declaration
10799#include <stdlib.h>
10800int
10801main ()
10802{
10803exit (42);
10804 ;
10805 return 0;
10806}
10807_ACEOF
10808rm -f conftest.$ac_objext
10809if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10810 (eval $ac_compile) 2>&5
10811 ac_status=$?
10812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10813 (exit $ac_status); } &&
10814 { ac_try='test -s conftest.$ac_objext'
10815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10816 (eval $ac_try) 2>&5
10817 ac_status=$?
10818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10819 (exit $ac_status); }; }; then
10820 :
10821else
10822 echo "$as_me: failed program was:" >&5
10823sed 's/^/| /' conftest.$ac_ext >&5
10824
10825continue
10826fi
10827rm -f conftest.$ac_objext conftest.$ac_ext
10828 cat >conftest.$ac_ext <<_ACEOF
10829#line $LINENO "configure"
10830/* confdefs.h. */
10831_ACEOF
10832cat confdefs.h >>conftest.$ac_ext
10833cat >>conftest.$ac_ext <<_ACEOF
10834/* end confdefs.h. */
10835$ac_declaration
10836int
10837main ()
10838{
10839exit (42);
10840 ;
10841 return 0;
10842}
10843_ACEOF
10844rm -f conftest.$ac_objext
10845if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10846 (eval $ac_compile) 2>&5
10847 ac_status=$?
10848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849 (exit $ac_status); } &&
10850 { ac_try='test -s conftest.$ac_objext'
10851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10852 (eval $ac_try) 2>&5
10853 ac_status=$?
10854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10855 (exit $ac_status); }; }; then
10856 break
10857else
10858 echo "$as_me: failed program was:" >&5
10859sed 's/^/| /' conftest.$ac_ext >&5
10860
10861fi
10862rm -f conftest.$ac_objext conftest.$ac_ext
10863done
10864rm -f conftest*
10865if test -n "$ac_declaration"; then
10866 echo '#ifdef __cplusplus' >>confdefs.h
10867 echo $ac_declaration >>confdefs.h
10868 echo '#endif' >>confdefs.h
10869fi
10870
10871else
10872 echo "$as_me: failed program was:" >&5
10873sed 's/^/| /' conftest.$ac_ext >&5
10874
10875fi
10876rm -f conftest.$ac_objext conftest.$ac_ext
10877ac_ext=c
10878ac_cpp='$CPP $CPPFLAGS'
10879ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10880ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10881ac_compiler_gnu=$ac_cv_c_compiler_gnu
10882
10883
10884
10885ac_ext=c
10886ac_cpp='$CPP $CPPFLAGS'
10887ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10888ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10889ac_compiler_gnu=$ac_cv_c_compiler_gnu
10890echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10891echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10892# On Suns, sometimes $CPP names a directory.
10893if test -n "$CPP" && test -d "$CPP"; then
10894 CPP=
10895fi
10896if test -z "$CPP"; then
10897 if test "${ac_cv_prog_CPP+set}" = set; then
10898 echo $ECHO_N "(cached) $ECHO_C" >&6
10899else
10900 # Double quotes because CPP needs to be expanded
10901 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10902 do
10903 ac_preproc_ok=false
10904for ac_c_preproc_warn_flag in '' yes
10905do
10906 # Use a header file that comes with gcc, so configuring glibc
10907 # with a fresh cross-compiler works.
10908 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10909 # <limits.h> exists even on freestanding compilers.
10910 # On the NeXT, cc -E runs the code through the compiler's parser,
10911 # not just through cpp. "Syntax error" is here to catch this case.
10912 cat >conftest.$ac_ext <<_ACEOF
10913#line $LINENO "configure"
10914/* confdefs.h. */
10915_ACEOF
10916cat confdefs.h >>conftest.$ac_ext
10917cat >>conftest.$ac_ext <<_ACEOF
10918/* end confdefs.h. */
10919#ifdef __STDC__
10920# include <limits.h>
10921#else
10922# include <assert.h>
10923#endif
10924 Syntax error
10925_ACEOF
10926if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10927 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10928 ac_status=$?
10929 grep -v '^ *+' conftest.er1 >conftest.err
10930 rm -f conftest.er1
10931 cat conftest.err >&5
10932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10933 (exit $ac_status); } >/dev/null; then
10934 if test -s conftest.err; then
10935 ac_cpp_err=$ac_c_preproc_warn_flag
10936 else
10937 ac_cpp_err=
10938 fi
10939else
10940 ac_cpp_err=yes
10941fi
10942if test -z "$ac_cpp_err"; then
10943 :
10944else
10945 echo "$as_me: failed program was:" >&5
10946sed 's/^/| /' conftest.$ac_ext >&5
10947
10948 # Broken: fails on valid input.
10949continue
10950fi
10951rm -f conftest.err conftest.$ac_ext
10952
10953 # OK, works on sane cases. Now check whether non-existent headers
10954 # can be detected and how.
10955 cat >conftest.$ac_ext <<_ACEOF
10956#line $LINENO "configure"
10957/* confdefs.h. */
10958_ACEOF
10959cat confdefs.h >>conftest.$ac_ext
10960cat >>conftest.$ac_ext <<_ACEOF
10961/* end confdefs.h. */
10962#include <ac_nonexistent.h>
10963_ACEOF
10964if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10965 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10966 ac_status=$?
10967 grep -v '^ *+' conftest.er1 >conftest.err
10968 rm -f conftest.er1
10969 cat conftest.err >&5
10970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10971 (exit $ac_status); } >/dev/null; then
10972 if test -s conftest.err; then
10973 ac_cpp_err=$ac_c_preproc_warn_flag
10974 else
10975 ac_cpp_err=
10976 fi
10977else
10978 ac_cpp_err=yes
10979fi
10980if test -z "$ac_cpp_err"; then
10981 # Broken: success on invalid input.
10982continue
10983else
10984 echo "$as_me: failed program was:" >&5
10985sed 's/^/| /' conftest.$ac_ext >&5
10986
10987 # Passes both tests.
10988ac_preproc_ok=:
10989break
10990fi
10991rm -f conftest.err conftest.$ac_ext
10992
10993done
10994# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10995rm -f conftest.err conftest.$ac_ext
10996if $ac_preproc_ok; then
10997 break
10998fi
10999
11000 done
11001 ac_cv_prog_CPP=$CPP
11002
11003fi
11004 CPP=$ac_cv_prog_CPP
11005else
11006 ac_cv_prog_CPP=$CPP
11007fi
11008echo "$as_me:$LINENO: result: $CPP" >&5
11009echo "${ECHO_T}$CPP" >&6
11010ac_preproc_ok=false
11011for ac_c_preproc_warn_flag in '' yes
11012do
11013 # Use a header file that comes with gcc, so configuring glibc
11014 # with a fresh cross-compiler works.
11015 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11016 # <limits.h> exists even on freestanding compilers.
11017 # On the NeXT, cc -E runs the code through the compiler's parser,
11018 # not just through cpp. "Syntax error" is here to catch this case.
11019 cat >conftest.$ac_ext <<_ACEOF
11020#line $LINENO "configure"
11021/* confdefs.h. */
11022_ACEOF
11023cat confdefs.h >>conftest.$ac_ext
11024cat >>conftest.$ac_ext <<_ACEOF
11025/* end confdefs.h. */
11026#ifdef __STDC__
11027# include <limits.h>
11028#else
11029# include <assert.h>
11030#endif
11031 Syntax error
11032_ACEOF
11033if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11034 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11035 ac_status=$?
11036 grep -v '^ *+' conftest.er1 >conftest.err
11037 rm -f conftest.er1
11038 cat conftest.err >&5
11039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11040 (exit $ac_status); } >/dev/null; then
11041 if test -s conftest.err; then
11042 ac_cpp_err=$ac_c_preproc_warn_flag
11043 else
11044 ac_cpp_err=
11045 fi
11046else
11047 ac_cpp_err=yes
11048fi
11049if test -z "$ac_cpp_err"; then
11050 :
11051else
11052 echo "$as_me: failed program was:" >&5
11053sed 's/^/| /' conftest.$ac_ext >&5
11054
11055 # Broken: fails on valid input.
11056continue
11057fi
11058rm -f conftest.err conftest.$ac_ext
11059
11060 # OK, works on sane cases. Now check whether non-existent headers
11061 # can be detected and how.
11062 cat >conftest.$ac_ext <<_ACEOF
11063#line $LINENO "configure"
11064/* confdefs.h. */
11065_ACEOF
11066cat confdefs.h >>conftest.$ac_ext
11067cat >>conftest.$ac_ext <<_ACEOF
11068/* end confdefs.h. */
11069#include <ac_nonexistent.h>
11070_ACEOF
11071if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11072 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11073 ac_status=$?
11074 grep -v '^ *+' conftest.er1 >conftest.err
11075 rm -f conftest.er1
11076 cat conftest.err >&5
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); } >/dev/null; then
11079 if test -s conftest.err; then
11080 ac_cpp_err=$ac_c_preproc_warn_flag
11081 else
11082 ac_cpp_err=
11083 fi
11084else
11085 ac_cpp_err=yes
11086fi
11087if test -z "$ac_cpp_err"; then
11088 # Broken: success on invalid input.
11089continue
11090else
11091 echo "$as_me: failed program was:" >&5
11092sed 's/^/| /' conftest.$ac_ext >&5
11093
11094 # Passes both tests.
11095ac_preproc_ok=:
11096break
11097fi
11098rm -f conftest.err conftest.$ac_ext
11099
11100done
11101# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11102rm -f conftest.err conftest.$ac_ext
11103if $ac_preproc_ok; then
11104 :
11105else
11106 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11107See \`config.log' for more details." >&5
11108echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11109See \`config.log' for more details." >&2;}
11110 { (exit 1); exit 1; }; }
11111fi
11112
11113ac_ext=c
11114ac_cpp='$CPP $CPPFLAGS'
11115ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11116ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11117ac_compiler_gnu=$ac_cv_c_compiler_gnu
11118
11119
11120echo "$as_me:$LINENO: checking for egrep" >&5
11121echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11122if test "${ac_cv_prog_egrep+set}" = set; then
11123 echo $ECHO_N "(cached) $ECHO_C" >&6
11124else
11125 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11126 then ac_cv_prog_egrep='grep -E'
11127 else ac_cv_prog_egrep='egrep'
11128 fi
11129fi
11130echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11131echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11132 EGREP=$ac_cv_prog_egrep
11133
11134
11135if test $ac_cv_c_compiler_gnu = yes; then
11136 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11137echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11138if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11139 echo $ECHO_N "(cached) $ECHO_C" >&6
11140else
11141 ac_pattern="Autoconf.*'x'"
11142 cat >conftest.$ac_ext <<_ACEOF
11143#line $LINENO "configure"
11144/* confdefs.h. */
11145_ACEOF
11146cat confdefs.h >>conftest.$ac_ext
11147cat >>conftest.$ac_ext <<_ACEOF
11148/* end confdefs.h. */
11149#include <sgtty.h>
11150Autoconf TIOCGETP
11151_ACEOF
11152if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11153 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11154 ac_cv_prog_gcc_traditional=yes
11155else
11156 ac_cv_prog_gcc_traditional=no
11157fi
11158rm -f conftest*
11159
11160
11161 if test $ac_cv_prog_gcc_traditional = no; then
11162 cat >conftest.$ac_ext <<_ACEOF
11163#line $LINENO "configure"
11164/* confdefs.h. */
11165_ACEOF
11166cat confdefs.h >>conftest.$ac_ext
11167cat >>conftest.$ac_ext <<_ACEOF
11168/* end confdefs.h. */
11169#include <termio.h>
11170Autoconf TCGETA
11171_ACEOF
11172if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11173 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11174 ac_cv_prog_gcc_traditional=yes
11175fi
11176rm -f conftest*
11177
11178 fi
11179fi
11180echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11181echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11182 if test $ac_cv_prog_gcc_traditional = yes; then
11183 CC="$CC -traditional"
11184 fi
11185fi
11186
11187
11188
11189
11190ac_ext=cc
11191ac_cpp='$CXXCPP $CPPFLAGS'
11192ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11193ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11194ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11195
11196
11197CXXFLAGS=${CXXFLAGS:=}
11198ac_ext=cc
11199ac_cpp='$CXXCPP $CPPFLAGS'
11200ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11201ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11202ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11203if test -n "$ac_tool_prefix"; then
11204 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11205 do
11206 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11207set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11208echo "$as_me:$LINENO: checking for $ac_word" >&5
11209echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11210if test "${ac_cv_prog_CXX+set}" = set; then
11211 echo $ECHO_N "(cached) $ECHO_C" >&6
11212else
11213 if test -n "$CXX"; then
11214 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11215else
11216as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11217for as_dir in $PATH
11218do
11219 IFS=$as_save_IFS
11220 test -z "$as_dir" && as_dir=.
11221 for ac_exec_ext in '' $ac_executable_extensions; do
11222 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11223 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11225 break 2
11226 fi
11227done
11228done
11229
11230fi
11231fi
11232CXX=$ac_cv_prog_CXX
11233if test -n "$CXX"; then
11234 echo "$as_me:$LINENO: result: $CXX" >&5
11235echo "${ECHO_T}$CXX" >&6
11236else
11237 echo "$as_me:$LINENO: result: no" >&5
11238echo "${ECHO_T}no" >&6
11239fi
11240
11241 test -n "$CXX" && break
11242 done
11243fi
11244if test -z "$CXX"; then
11245 ac_ct_CXX=$CXX
11246 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11247do
11248 # Extract the first word of "$ac_prog", so it can be a program name with args.
11249set dummy $ac_prog; ac_word=$2
11250echo "$as_me:$LINENO: checking for $ac_word" >&5
11251echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11252if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11253 echo $ECHO_N "(cached) $ECHO_C" >&6
11254else
11255 if test -n "$ac_ct_CXX"; then
11256 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11257else
11258as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11259for as_dir in $PATH
11260do
11261 IFS=$as_save_IFS
11262 test -z "$as_dir" && as_dir=.
11263 for ac_exec_ext in '' $ac_executable_extensions; do
11264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11265 ac_cv_prog_ac_ct_CXX="$ac_prog"
11266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11267 break 2
11268 fi
11269done
11270done
11271
11272fi
11273fi
11274ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11275if test -n "$ac_ct_CXX"; then
11276 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11277echo "${ECHO_T}$ac_ct_CXX" >&6
11278else
11279 echo "$as_me:$LINENO: result: no" >&5
11280echo "${ECHO_T}no" >&6
11281fi
11282
11283 test -n "$ac_ct_CXX" && break
11284done
11285test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11286
11287 CXX=$ac_ct_CXX
11288fi
11289
11290
11291# Provide some information about the compiler.
11292echo "$as_me:$LINENO:" \
11293 "checking for C++ compiler version" >&5
11294ac_compiler=`set X $ac_compile; echo $2`
11295{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11296 (eval $ac_compiler --version </dev/null >&5) 2>&5
11297 ac_status=$?
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); }
11300{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11301 (eval $ac_compiler -v </dev/null >&5) 2>&5
11302 ac_status=$?
11303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11304 (exit $ac_status); }
11305{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11306 (eval $ac_compiler -V </dev/null >&5) 2>&5
11307 ac_status=$?
11308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309 (exit $ac_status); }
11310
11311echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11312echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11313if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11314 echo $ECHO_N "(cached) $ECHO_C" >&6
11315else
11316 cat >conftest.$ac_ext <<_ACEOF
11317#line $LINENO "configure"
11318/* confdefs.h. */
11319_ACEOF
11320cat confdefs.h >>conftest.$ac_ext
11321cat >>conftest.$ac_ext <<_ACEOF
11322/* end confdefs.h. */
11323
11324int
11325main ()
11326{
11327#ifndef __GNUC__
11328 choke me
11329#endif
11330
11331 ;
11332 return 0;
11333}
11334_ACEOF
11335rm -f conftest.$ac_objext
11336if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11337 (eval $ac_compile) 2>&5
11338 ac_status=$?
11339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11340 (exit $ac_status); } &&
11341 { ac_try='test -s conftest.$ac_objext'
11342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11343 (eval $ac_try) 2>&5
11344 ac_status=$?
11345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11346 (exit $ac_status); }; }; then
11347 ac_compiler_gnu=yes
11348else
11349 echo "$as_me: failed program was:" >&5
11350sed 's/^/| /' conftest.$ac_ext >&5
11351
11352ac_compiler_gnu=no
11353fi
11354rm -f conftest.$ac_objext conftest.$ac_ext
11355ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11356
11357fi
11358echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11359echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11360GXX=`test $ac_compiler_gnu = yes && echo yes`
11361ac_test_CXXFLAGS=${CXXFLAGS+set}
11362ac_save_CXXFLAGS=$CXXFLAGS
11363CXXFLAGS="-g"
11364echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11365echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11366if test "${ac_cv_prog_cxx_g+set}" = set; then
11367 echo $ECHO_N "(cached) $ECHO_C" >&6
11368else
11369 cat >conftest.$ac_ext <<_ACEOF
11370#line $LINENO "configure"
11371/* confdefs.h. */
11372_ACEOF
11373cat confdefs.h >>conftest.$ac_ext
11374cat >>conftest.$ac_ext <<_ACEOF
11375/* end confdefs.h. */
11376
11377int
11378main ()
11379{
11380
11381 ;
11382 return 0;
11383}
11384_ACEOF
11385rm -f conftest.$ac_objext
11386if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11387 (eval $ac_compile) 2>&5
11388 ac_status=$?
11389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11390 (exit $ac_status); } &&
11391 { ac_try='test -s conftest.$ac_objext'
11392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11393 (eval $ac_try) 2>&5
11394 ac_status=$?
11395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396 (exit $ac_status); }; }; then
11397 ac_cv_prog_cxx_g=yes
11398else
11399 echo "$as_me: failed program was:" >&5
11400sed 's/^/| /' conftest.$ac_ext >&5
11401
11402ac_cv_prog_cxx_g=no
11403fi
11404rm -f conftest.$ac_objext conftest.$ac_ext
11405fi
11406echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11407echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11408if test "$ac_test_CXXFLAGS" = set; then
11409 CXXFLAGS=$ac_save_CXXFLAGS
11410elif test $ac_cv_prog_cxx_g = yes; then
11411 if test "$GXX" = yes; then
11412 CXXFLAGS="-g -O2"
11413 else
11414 CXXFLAGS="-g"
11415 fi
11416else
11417 if test "$GXX" = yes; then
11418 CXXFLAGS="-O2"
11419 else
11420 CXXFLAGS=
11421 fi
11422fi
11423for ac_declaration in \
11424 '' \
11425 'extern "C" void std::exit (int) throw (); using std::exit;' \
11426 'extern "C" void std::exit (int); using std::exit;' \
11427 'extern "C" void exit (int) throw ();' \
11428 'extern "C" void exit (int);' \
11429 'void exit (int);'
11430do
11431 cat >conftest.$ac_ext <<_ACEOF
11432#line $LINENO "configure"
11433/* confdefs.h. */
11434_ACEOF
11435cat confdefs.h >>conftest.$ac_ext
11436cat >>conftest.$ac_ext <<_ACEOF
11437/* end confdefs.h. */
11438$ac_declaration
11439#include <stdlib.h>
11440int
11441main ()
11442{
11443exit (42);
11444 ;
11445 return 0;
11446}
11447_ACEOF
11448rm -f conftest.$ac_objext
11449if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11450 (eval $ac_compile) 2>&5
11451 ac_status=$?
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453 (exit $ac_status); } &&
11454 { ac_try='test -s conftest.$ac_objext'
11455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11456 (eval $ac_try) 2>&5
11457 ac_status=$?
11458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11459 (exit $ac_status); }; }; then
11460 :
11461else
11462 echo "$as_me: failed program was:" >&5
11463sed 's/^/| /' conftest.$ac_ext >&5
11464
11465continue
11466fi
11467rm -f conftest.$ac_objext conftest.$ac_ext
11468 cat >conftest.$ac_ext <<_ACEOF
11469#line $LINENO "configure"
11470/* confdefs.h. */
11471_ACEOF
11472cat confdefs.h >>conftest.$ac_ext
11473cat >>conftest.$ac_ext <<_ACEOF
11474/* end confdefs.h. */
11475$ac_declaration
11476int
11477main ()
11478{
11479exit (42);
11480 ;
11481 return 0;
11482}
11483_ACEOF
11484rm -f conftest.$ac_objext
11485if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11486 (eval $ac_compile) 2>&5
11487 ac_status=$?
11488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11489 (exit $ac_status); } &&
11490 { ac_try='test -s conftest.$ac_objext'
11491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11492 (eval $ac_try) 2>&5
11493 ac_status=$?
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); }; }; then
11496 break
11497else
11498 echo "$as_me: failed program was:" >&5
11499sed 's/^/| /' conftest.$ac_ext >&5
11500
11501fi
11502rm -f conftest.$ac_objext conftest.$ac_ext
11503done
11504rm -f conftest*
11505if test -n "$ac_declaration"; then
11506 echo '#ifdef __cplusplus' >>confdefs.h
11507 echo $ac_declaration >>confdefs.h
11508 echo '#endif' >>confdefs.h
11509fi
11510
11511ac_ext=cc
11512ac_cpp='$CXXCPP $CPPFLAGS'
11513ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11514ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11515ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11516
11517
11518ac_ext=c
11519ac_cpp='$CPP $CPPFLAGS'
11520ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11521ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11522ac_compiler_gnu=$ac_cv_c_compiler_gnu
11523
11524
11525if test -n "$ac_tool_prefix"; then
11526 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11527set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11528echo "$as_me:$LINENO: checking for $ac_word" >&5
11529echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11530if test "${ac_cv_prog_RANLIB+set}" = set; then
11531 echo $ECHO_N "(cached) $ECHO_C" >&6
11532else
11533 if test -n "$RANLIB"; then
11534 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11535else
11536as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11537for as_dir in $PATH
11538do
11539 IFS=$as_save_IFS
11540 test -z "$as_dir" && as_dir=.
11541 for ac_exec_ext in '' $ac_executable_extensions; do
11542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11543 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11545 break 2
11546 fi
11547done
11548done
11549
11550fi
11551fi
11552RANLIB=$ac_cv_prog_RANLIB
11553if test -n "$RANLIB"; then
11554 echo "$as_me:$LINENO: result: $RANLIB" >&5
11555echo "${ECHO_T}$RANLIB" >&6
11556else
11557 echo "$as_me:$LINENO: result: no" >&5
11558echo "${ECHO_T}no" >&6
11559fi
11560
11561fi
11562if test -z "$ac_cv_prog_RANLIB"; then
11563 ac_ct_RANLIB=$RANLIB
11564 # Extract the first word of "ranlib", so it can be a program name with args.
11565set dummy ranlib; ac_word=$2
11566echo "$as_me:$LINENO: checking for $ac_word" >&5
11567echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11568if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11569 echo $ECHO_N "(cached) $ECHO_C" >&6
11570else
11571 if test -n "$ac_ct_RANLIB"; then
11572 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11573else
11574as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11575for as_dir in $PATH
11576do
11577 IFS=$as_save_IFS
11578 test -z "$as_dir" && as_dir=.
11579 for ac_exec_ext in '' $ac_executable_extensions; do
11580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11581 ac_cv_prog_ac_ct_RANLIB="ranlib"
11582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11583 break 2
11584 fi
11585done
11586done
11587
11588 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11589fi
11590fi
11591ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11592if test -n "$ac_ct_RANLIB"; then
11593 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11594echo "${ECHO_T}$ac_ct_RANLIB" >&6
11595else
11596 echo "$as_me:$LINENO: result: no" >&5
11597echo "${ECHO_T}no" >&6
11598fi
11599
11600 RANLIB=$ac_ct_RANLIB
11601else
11602 RANLIB="$ac_cv_prog_RANLIB"
11603fi
11604
11605
11606# Extract the first word of "ar", so it can be a program name with args.
11607set dummy ar; ac_word=$2
11608echo "$as_me:$LINENO: checking for $ac_word" >&5
11609echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11610if test "${ac_cv_prog_AR+set}" = set; then
11611 echo $ECHO_N "(cached) $ECHO_C" >&6
11612else
11613 if test -n "$AR"; then
11614 ac_cv_prog_AR="$AR" # Let the user override the test.
11615else
11616as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11617for as_dir in $PATH
11618do
11619 IFS=$as_save_IFS
11620 test -z "$as_dir" && as_dir=.
11621 for ac_exec_ext in '' $ac_executable_extensions; do
11622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11623 ac_cv_prog_AR="ar"
11624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11625 break 2
11626 fi
11627done
11628done
11629
11630fi
11631fi
11632AR=$ac_cv_prog_AR
11633if test -n "$AR"; then
11634 echo "$as_me:$LINENO: result: $AR" >&5
11635echo "${ECHO_T}$AR" >&6
11636else
11637 echo "$as_me:$LINENO: result: no" >&5
11638echo "${ECHO_T}no" >&6
11639fi
11640
11641if test "x$AR" = "x" ; then
11642 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11643echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11644 { (exit 1); exit 1; }; }
11645fi
11646
11647# Find a good install program. We prefer a C program (faster),
11648# so one script is as good as another. But avoid the broken or
11649# incompatible versions:
11650# SysV /etc/install, /usr/sbin/install
11651# SunOS /usr/etc/install
11652# IRIX /sbin/install
11653# AIX /bin/install
11654# AmigaOS /C/install, which installs bootblocks on floppy discs
11655# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11656# AFS /usr/afsws/bin/install, which mishandles nonexistent args
11657# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11658# ./install, which can be erroneously created by make from ./install.sh.
11659echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11660echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11661if test -z "$INSTALL"; then
11662if test "${ac_cv_path_install+set}" = set; then
11663 echo $ECHO_N "(cached) $ECHO_C" >&6
11664else
11665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11666for as_dir in $PATH
11667do
11668 IFS=$as_save_IFS
11669 test -z "$as_dir" && as_dir=.
11670 # Account for people who put trailing slashes in PATH elements.
11671case $as_dir/ in
11672 ./ | .// | /cC/* | \
11673 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11674 /usr/ucb/* ) ;;
11675 *)
11676 # OSF1 and SCO ODT 3.0 have their own names for install.
11677 # Don't use installbsd from OSF since it installs stuff as root
11678 # by default.
11679 for ac_prog in ginstall scoinst install; do
11680 for ac_exec_ext in '' $ac_executable_extensions; do
11681 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11682 if test $ac_prog = install &&
11683 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11684 # AIX install. It has an incompatible calling convention.
11685 :
11686 elif test $ac_prog = install &&
11687 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11688 # program-specific install script used by HP pwplus--don't use.
11689 :
11690 else
11691 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11692 break 3
11693 fi
11694 fi
11695 done
11696 done
11697 ;;
11698esac
11699done
11700
11701
11702fi
11703 if test "${ac_cv_path_install+set}" = set; then
11704 INSTALL=$ac_cv_path_install
11705 else
11706 # As a last resort, use the slow shell script. We don't cache a
11707 # path for INSTALL within a source directory, because that will
11708 # break other packages using the cache if that directory is
11709 # removed, or if the path is relative.
11710 INSTALL=$ac_install_sh
11711 fi
11712fi
11713echo "$as_me:$LINENO: result: $INSTALL" >&5
11714echo "${ECHO_T}$INSTALL" >&6
11715
11716# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11717# It thinks the first close brace ends the variable substitution.
11718test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11719
11720test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11721
11722test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11723
11724
11725case ${INSTALL} in
11726 /* ) # Absolute
11727 ;;
11728 ?:* ) # Drive letter, considered as absolute.
11729 ;;
11730 *)
11731 INSTALL=`pwd`/${INSTALL} ;;
11732esac
11733
11734case ${host} in
11735 *-hp-hpux* )
11736 INSTALL_DIR="mkdir"
11737 ;;
11738
11739 *) INSTALL_DIR="$INSTALL -d"
11740 ;;
11741esac
11742
11743
11744case "${host}" in
11745
11746 powerpc-*-darwin* )
11747 INSTALL_PROGRAM="cp -fp"
11748 INSTALL_DATA="cp -fp"
11749 ;;
11750 *)
11751 ;;
11752esac
11753
11754# Extract the first word of "strip", so it can be a program name with args.
11755set dummy strip; ac_word=$2
11756echo "$as_me:$LINENO: checking for $ac_word" >&5
11757echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11758if test "${ac_cv_prog_STRIP+set}" = set; then
11759 echo $ECHO_N "(cached) $ECHO_C" >&6
11760else
11761 if test -n "$STRIP"; then
11762 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11763else
11764as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11765for as_dir in $PATH
11766do
11767 IFS=$as_save_IFS
11768 test -z "$as_dir" && as_dir=.
11769 for ac_exec_ext in '' $ac_executable_extensions; do
11770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11771 ac_cv_prog_STRIP="strip"
11772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11773 break 2
11774 fi
11775done
11776done
11777
11778 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11779fi
11780fi
11781STRIP=$ac_cv_prog_STRIP
11782if test -n "$STRIP"; then
11783 echo "$as_me:$LINENO: result: $STRIP" >&5
11784echo "${ECHO_T}$STRIP" >&6
11785else
11786 echo "$as_me:$LINENO: result: no" >&5
11787echo "${ECHO_T}no" >&6
11788fi
11789
11790
11791echo "$as_me:$LINENO: checking if make is GNU make" >&5
11792echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11793if test "${wx_cv_prog_makeisgnu+set}" = set; then
11794 echo $ECHO_N "(cached) $ECHO_C" >&6
11795else
11796
11797 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11798 egrep -s GNU > /dev/null); then
11799 wx_cv_prog_makeisgnu="yes"
11800 else
11801 wx_cv_prog_makeisgnu="no"
11802 fi
11803
11804fi
11805echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11806echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11807
11808if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11809 IF_GNU_MAKE=""
11810else
11811 IF_GNU_MAKE="#"
11812fi
11813
11814
11815
11816if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11817echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11818echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11819if test "${wx_cv_prog_makevpath+set}" = set; then
11820 echo $ECHO_N "(cached) $ECHO_C" >&6
11821else
11822
11823cat - << EOF > confMake
11824check : file
11825 cp \$? \$@
11826 cp \$? final_file
11827EOF
11828
11829if test ! -d sub ; then
11830 mkdir sub
11831fi
11832echo dummy > sub/file
11833${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11834RESULT=$?
11835rm -f sub/file check final_file confMake
11836rmdir sub
11837if test "$RESULT" = 0; then
11838 wx_cv_prog_makevpath="yes"
11839else
11840 wx_cv_prog_makevpath="no"
11841fi
11842
11843fi
11844echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11845echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11846
11847if test "x$wx_cv_prog_makevpath" != "xyes"; then
11848{ { echo "$as_me:$LINENO: error:
11849You need a make-utility that is able to use the variable
11850VPATH correctly.
11851If your version of make does not support VPATH correctly,
11852please install GNU-make (possibly as gmake), and start
11853configure with the following command:
11854export MAKE=gmake; ./configure for sh-type shells
11855setenv MAKE gmake; ./configure for csh-type shells
11856Also please do remember to use gmake in this case every time
11857you are trying to compile.
11858" >&5
11859echo "$as_me: error:
11860You need a make-utility that is able to use the variable
11861VPATH correctly.
11862If your version of make does not support VPATH correctly,
11863please install GNU-make (possibly as gmake), and start
11864configure with the following command:
11865export MAKE=gmake; ./configure for sh-type shells
11866setenv MAKE gmake; ./configure for csh-type shells
11867Also please do remember to use gmake in this case every time
11868you are trying to compile.
11869" >&2;}
11870 { (exit 1); exit 1; }; }
11871fi fi
11872echo "$as_me:$LINENO: checking whether ln -s works" >&5
11873echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11874LN_S=$as_ln_s
11875if test "$LN_S" = "ln -s"; then
11876 echo "$as_me:$LINENO: result: yes" >&5
11877echo "${ECHO_T}yes" >&6
11878else
11879 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11880echo "${ECHO_T}no, using $LN_S" >&6
11881fi
11882
11883
11884case "${host}" in
11885 *-pc-os2_emx | *-pc-os2-emx )
11886 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11887 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11888echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11889if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11890 echo $ECHO_N "(cached) $ECHO_C" >&6
11891else
11892 ac_check_lib_save_LIBS=$LIBS
11893LIBS="-lcExt $LIBS"
11894cat >conftest.$ac_ext <<_ACEOF
11895#line $LINENO "configure"
11896/* confdefs.h. */
11897_ACEOF
11898cat confdefs.h >>conftest.$ac_ext
11899cat >>conftest.$ac_ext <<_ACEOF
11900/* end confdefs.h. */
11901
11902/* Override any gcc2 internal prototype to avoid an error. */
11903#ifdef __cplusplus
11904extern "C"
11905#endif
11906/* We use char because int might match the return type of a gcc2
11907 builtin and then its argument prototype would still apply. */
11908char drand48 ();
11909int
11910main ()
11911{
11912drand48 ();
11913 ;
11914 return 0;
11915}
11916_ACEOF
11917rm -f conftest.$ac_objext conftest$ac_exeext
11918if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11919 (eval $ac_link) 2>&5
11920 ac_status=$?
11921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11922 (exit $ac_status); } &&
11923 { ac_try='test -s conftest$ac_exeext'
11924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11925 (eval $ac_try) 2>&5
11926 ac_status=$?
11927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11928 (exit $ac_status); }; }; then
11929 ac_cv_lib_cExt_drand48=yes
11930else
11931 echo "$as_me: failed program was:" >&5
11932sed 's/^/| /' conftest.$ac_ext >&5
11933
11934ac_cv_lib_cExt_drand48=no
11935fi
11936rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11937LIBS=$ac_check_lib_save_LIBS
11938fi
11939echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11940echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11941if test $ac_cv_lib_cExt_drand48 = yes; then
11942 LIBS="$LIBS -lcExt"
11943fi
11944
11945 else
11946 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11947 fi
11948 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
11949echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
11950if test "${wx_cv_gcc3+set}" = set; then
11951 echo $ECHO_N "(cached) $ECHO_C" >&6
11952else
11953
11954 cat >conftest.$ac_ext <<_ACEOF
11955#line $LINENO "configure"
11956/* confdefs.h. */
11957_ACEOF
11958cat confdefs.h >>conftest.$ac_ext
11959cat >>conftest.$ac_ext <<_ACEOF
11960/* end confdefs.h. */
11961
11962int
11963main ()
11964{
11965
11966 #if (__GNUC__ < 3)
11967 #error old gcc
11968 #endif
11969
11970 ;
11971 return 0;
11972}
11973_ACEOF
11974rm -f conftest.$ac_objext
11975if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11976 (eval $ac_compile) 2>&5
11977 ac_status=$?
11978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979 (exit $ac_status); } &&
11980 { ac_try='test -s conftest.$ac_objext'
11981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11982 (eval $ac_try) 2>&5
11983 ac_status=$?
11984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11985 (exit $ac_status); }; }; then
11986
11987 wx_cv_gcc3=yes
11988
11989else
11990 echo "$as_me: failed program was:" >&5
11991sed 's/^/| /' conftest.$ac_ext >&5
11992
11993
11994 wx_cv_gcc3=no
11995
11996
11997fi
11998rm -f conftest.$ac_objext conftest.$ac_ext
11999
12000fi
12001echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
12002echo "${ECHO_T}$wx_cv_gcc3" >&6
12003 if test "$wx_cv_gcc3" = "no"; then
12004 LIBS="$LIBS -lstdcpp"
12005 else
12006 LIBS="$LIBS -lstdcxx"
12007 fi
12008 ;;
12009esac
12010
12011
12012
12013
12014ac_ext=cc
12015ac_cpp='$CXXCPP $CPPFLAGS'
12016ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12017ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12018ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12019
12020
12021
12022echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12023echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12024if test "${ac_cv_string_strcasecmp+set}" = set; then
12025 echo $ECHO_N "(cached) $ECHO_C" >&6
12026else
12027
12028 cat >conftest.$ac_ext <<_ACEOF
12029#line $LINENO "configure"
12030/* confdefs.h. */
12031_ACEOF
12032cat confdefs.h >>conftest.$ac_ext
12033cat >>conftest.$ac_ext <<_ACEOF
12034/* end confdefs.h. */
12035
12036 #include <string.h>
12037
12038int
12039main ()
12040{
12041
12042 strcasecmp("foo", "bar");
12043
12044 ;
12045 return 0;
12046}
12047_ACEOF
12048rm -f conftest.$ac_objext conftest$ac_exeext
12049if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12050 (eval $ac_link) 2>&5
12051 ac_status=$?
12052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12053 (exit $ac_status); } &&
12054 { ac_try='test -s conftest$ac_exeext'
12055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12056 (eval $ac_try) 2>&5
12057 ac_status=$?
12058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12059 (exit $ac_status); }; }; then
12060 ac_cv_string_strcasecmp=yes
12061else
12062 echo "$as_me: failed program was:" >&5
12063sed 's/^/| /' conftest.$ac_ext >&5
12064
12065ac_cv_string_strcasecmp=no
12066
12067fi
12068rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12069
12070fi
12071echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12072echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12073
12074if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12075 cat >>confdefs.h <<\_ACEOF
12076#define HAVE_STRCASECMP_IN_STRING_H 1
12077_ACEOF
12078
12079else
12080 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12081echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12082if test "${ac_cv_strings_strcasecmp+set}" = set; then
12083 echo $ECHO_N "(cached) $ECHO_C" >&6
12084else
12085
12086 cat >conftest.$ac_ext <<_ACEOF
12087#line $LINENO "configure"
12088/* confdefs.h. */
12089_ACEOF
12090cat confdefs.h >>conftest.$ac_ext
12091cat >>conftest.$ac_ext <<_ACEOF
12092/* end confdefs.h. */
12093
12094 #include <strings.h>
12095
12096int
12097main ()
12098{
12099
12100 strcasecmp("foo", "bar");
12101
12102 ;
12103 return 0;
12104}
12105_ACEOF
12106rm -f conftest.$ac_objext conftest$ac_exeext
12107if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12108 (eval $ac_link) 2>&5
12109 ac_status=$?
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); } &&
12112 { ac_try='test -s conftest$ac_exeext'
12113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12114 (eval $ac_try) 2>&5
12115 ac_status=$?
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); }; }; then
12118 ac_cv_strings_strcasecmp=yes
12119else
12120 echo "$as_me: failed program was:" >&5
12121sed 's/^/| /' conftest.$ac_ext >&5
12122
12123ac_cv_strings_strcasecmp=no
12124
12125fi
12126rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12127
12128fi
12129echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12130echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12131
12132 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12133 cat >>confdefs.h <<\_ACEOF
12134#define HAVE_STRCASECMP_IN_STRINGS_H 1
12135_ACEOF
12136
12137 else
12138 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12139echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12140 { (exit 1); exit 1; }; }
12141 fi
12142fi
12143
12144ac_ext=c
12145ac_cpp='$CPP $CPPFLAGS'
12146ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12147ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12148ac_compiler_gnu=$ac_cv_c_compiler_gnu
12149
12150
12151echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12152echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12153if test "${ac_cv_header_stdc+set}" = set; then
12154 echo $ECHO_N "(cached) $ECHO_C" >&6
12155else
12156 cat >conftest.$ac_ext <<_ACEOF
12157#line $LINENO "configure"
12158/* confdefs.h. */
12159_ACEOF
12160cat confdefs.h >>conftest.$ac_ext
12161cat >>conftest.$ac_ext <<_ACEOF
12162/* end confdefs.h. */
12163#include <stdlib.h>
12164#include <stdarg.h>
12165#include <string.h>
12166#include <float.h>
12167
12168int
12169main ()
12170{
12171
12172 ;
12173 return 0;
12174}
12175_ACEOF
12176rm -f conftest.$ac_objext
12177if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12178 (eval $ac_compile) 2>&5
12179 ac_status=$?
12180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181 (exit $ac_status); } &&
12182 { ac_try='test -s conftest.$ac_objext'
12183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12184 (eval $ac_try) 2>&5
12185 ac_status=$?
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); }; }; then
12188 ac_cv_header_stdc=yes
12189else
12190 echo "$as_me: failed program was:" >&5
12191sed 's/^/| /' conftest.$ac_ext >&5
12192
12193ac_cv_header_stdc=no
12194fi
12195rm -f conftest.$ac_objext conftest.$ac_ext
12196
12197if test $ac_cv_header_stdc = yes; then
12198 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12199 cat >conftest.$ac_ext <<_ACEOF
12200#line $LINENO "configure"
12201/* confdefs.h. */
12202_ACEOF
12203cat confdefs.h >>conftest.$ac_ext
12204cat >>conftest.$ac_ext <<_ACEOF
12205/* end confdefs.h. */
12206#include <string.h>
12207
12208_ACEOF
12209if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12210 $EGREP "memchr" >/dev/null 2>&1; then
12211 :
12212else
12213 ac_cv_header_stdc=no
12214fi
12215rm -f conftest*
12216
12217fi
12218
12219if test $ac_cv_header_stdc = yes; then
12220 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12221 cat >conftest.$ac_ext <<_ACEOF
12222#line $LINENO "configure"
12223/* confdefs.h. */
12224_ACEOF
12225cat confdefs.h >>conftest.$ac_ext
12226cat >>conftest.$ac_ext <<_ACEOF
12227/* end confdefs.h. */
12228#include <stdlib.h>
12229
12230_ACEOF
12231if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12232 $EGREP "free" >/dev/null 2>&1; then
12233 :
12234else
12235 ac_cv_header_stdc=no
12236fi
12237rm -f conftest*
12238
12239fi
12240
12241if test $ac_cv_header_stdc = yes; then
12242 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12243 if test "$cross_compiling" = yes; then
12244 :
12245else
12246 cat >conftest.$ac_ext <<_ACEOF
12247#line $LINENO "configure"
12248/* confdefs.h. */
12249_ACEOF
12250cat confdefs.h >>conftest.$ac_ext
12251cat >>conftest.$ac_ext <<_ACEOF
12252/* end confdefs.h. */
12253#include <ctype.h>
12254#if ((' ' & 0x0FF) == 0x020)
12255# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12256# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12257#else
12258# define ISLOWER(c) \
12259 (('a' <= (c) && (c) <= 'i') \
12260 || ('j' <= (c) && (c) <= 'r') \
12261 || ('s' <= (c) && (c) <= 'z'))
12262# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12263#endif
12264
12265#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12266int
12267main ()
12268{
12269 int i;
12270 for (i = 0; i < 256; i++)
12271 if (XOR (islower (i), ISLOWER (i))
12272 || toupper (i) != TOUPPER (i))
12273 exit(2);
12274 exit (0);
12275}
12276_ACEOF
12277rm -f conftest$ac_exeext
12278if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12279 (eval $ac_link) 2>&5
12280 ac_status=$?
12281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12284 (eval $ac_try) 2>&5
12285 ac_status=$?
12286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287 (exit $ac_status); }; }; then
12288 :
12289else
12290 echo "$as_me: program exited with status $ac_status" >&5
12291echo "$as_me: failed program was:" >&5
12292sed 's/^/| /' conftest.$ac_ext >&5
12293
12294( exit $ac_status )
12295ac_cv_header_stdc=no
12296fi
12297rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12298fi
12299fi
12300fi
12301echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12302echo "${ECHO_T}$ac_cv_header_stdc" >&6
12303if test $ac_cv_header_stdc = yes; then
12304
12305cat >>confdefs.h <<\_ACEOF
12306#define STDC_HEADERS 1
12307_ACEOF
12308
12309fi
12310
12311# On IRIX 5.3, sys/types and inttypes.h are conflicting.
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12322 inttypes.h stdint.h unistd.h
12323do
12324as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12325echo "$as_me:$LINENO: checking for $ac_header" >&5
12326echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12327if eval "test \"\${$as_ac_Header+set}\" = set"; then
12328 echo $ECHO_N "(cached) $ECHO_C" >&6
12329else
12330 cat >conftest.$ac_ext <<_ACEOF
12331#line $LINENO "configure"
12332/* confdefs.h. */
12333_ACEOF
12334cat confdefs.h >>conftest.$ac_ext
12335cat >>conftest.$ac_ext <<_ACEOF
12336/* end confdefs.h. */
12337$ac_includes_default
12338
12339#include <$ac_header>
12340_ACEOF
12341rm -f conftest.$ac_objext
12342if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12343 (eval $ac_compile) 2>&5
12344 ac_status=$?
12345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12346 (exit $ac_status); } &&
12347 { ac_try='test -s conftest.$ac_objext'
12348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12349 (eval $ac_try) 2>&5
12350 ac_status=$?
12351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12352 (exit $ac_status); }; }; then
12353 eval "$as_ac_Header=yes"
12354else
12355 echo "$as_me: failed program was:" >&5
12356sed 's/^/| /' conftest.$ac_ext >&5
12357
12358eval "$as_ac_Header=no"
12359fi
12360rm -f conftest.$ac_objext conftest.$ac_ext
12361fi
12362echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12363echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12364if test `eval echo '${'$as_ac_Header'}'` = yes; then
12365 cat >>confdefs.h <<_ACEOF
12366#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12367_ACEOF
12368
12369fi
12370
12371done
12372
12373
12374
12375for ac_header in stdlib.h
12376do
12377as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12378if eval "test \"\${$as_ac_Header+set}\" = set"; then
12379 echo "$as_me:$LINENO: checking for $ac_header" >&5
12380echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12381if eval "test \"\${$as_ac_Header+set}\" = set"; then
12382 echo $ECHO_N "(cached) $ECHO_C" >&6
12383fi
12384echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12385echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12386else
12387 # Is the header compilable?
12388echo "$as_me:$LINENO: checking $ac_header usability" >&5
12389echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12390cat >conftest.$ac_ext <<_ACEOF
12391#line $LINENO "configure"
12392/* confdefs.h. */
12393_ACEOF
12394cat confdefs.h >>conftest.$ac_ext
12395cat >>conftest.$ac_ext <<_ACEOF
12396/* end confdefs.h. */
12397$ac_includes_default
12398#include <$ac_header>
12399_ACEOF
12400rm -f conftest.$ac_objext
12401if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12402 (eval $ac_compile) 2>&5
12403 ac_status=$?
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); } &&
12406 { ac_try='test -s conftest.$ac_objext'
12407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12408 (eval $ac_try) 2>&5
12409 ac_status=$?
12410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12411 (exit $ac_status); }; }; then
12412 ac_header_compiler=yes
12413else
12414 echo "$as_me: failed program was:" >&5
12415sed 's/^/| /' conftest.$ac_ext >&5
12416
12417ac_header_compiler=no
12418fi
12419rm -f conftest.$ac_objext conftest.$ac_ext
12420echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12421echo "${ECHO_T}$ac_header_compiler" >&6
12422
12423# Is the header present?
12424echo "$as_me:$LINENO: checking $ac_header presence" >&5
12425echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12426cat >conftest.$ac_ext <<_ACEOF
12427#line $LINENO "configure"
12428/* confdefs.h. */
12429_ACEOF
12430cat confdefs.h >>conftest.$ac_ext
12431cat >>conftest.$ac_ext <<_ACEOF
12432/* end confdefs.h. */
12433#include <$ac_header>
12434_ACEOF
12435if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12436 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12437 ac_status=$?
12438 grep -v '^ *+' conftest.er1 >conftest.err
12439 rm -f conftest.er1
12440 cat conftest.err >&5
12441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12442 (exit $ac_status); } >/dev/null; then
12443 if test -s conftest.err; then
12444 ac_cpp_err=$ac_c_preproc_warn_flag
12445 else
12446 ac_cpp_err=
12447 fi
12448else
12449 ac_cpp_err=yes
12450fi
12451if test -z "$ac_cpp_err"; then
12452 ac_header_preproc=yes
12453else
12454 echo "$as_me: failed program was:" >&5
12455sed 's/^/| /' conftest.$ac_ext >&5
12456
12457 ac_header_preproc=no
12458fi
12459rm -f conftest.err conftest.$ac_ext
12460echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12461echo "${ECHO_T}$ac_header_preproc" >&6
12462
12463# So? What about this header?
12464case $ac_header_compiler:$ac_header_preproc in
12465 yes:no )
12466 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12467echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12469echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12470 (
12471 cat <<\_ASBOX
12472## ------------------------------------ ##
12473## Report this to bug-autoconf@gnu.org. ##
12474## ------------------------------------ ##
12475_ASBOX
12476 ) |
12477 sed "s/^/$as_me: WARNING: /" >&2
12478 ;;
12479 no:yes )
12480 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12481echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12482 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12483echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12485echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12486 (
12487 cat <<\_ASBOX
12488## ------------------------------------ ##
12489## Report this to bug-autoconf@gnu.org. ##
12490## ------------------------------------ ##
12491_ASBOX
12492 ) |
12493 sed "s/^/$as_me: WARNING: /" >&2
12494 ;;
12495esac
12496echo "$as_me:$LINENO: checking for $ac_header" >&5
12497echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12498if eval "test \"\${$as_ac_Header+set}\" = set"; then
12499 echo $ECHO_N "(cached) $ECHO_C" >&6
12500else
12501 eval "$as_ac_Header=$ac_header_preproc"
12502fi
12503echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12504echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12505
12506fi
12507if test `eval echo '${'$as_ac_Header'}'` = yes; then
12508 cat >>confdefs.h <<_ACEOF
12509#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12510_ACEOF
12511
12512fi
12513
12514done
12515
12516
12517for ac_header in malloc.h
12518do
12519as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12520if eval "test \"\${$as_ac_Header+set}\" = set"; then
12521 echo "$as_me:$LINENO: checking for $ac_header" >&5
12522echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12523if eval "test \"\${$as_ac_Header+set}\" = set"; then
12524 echo $ECHO_N "(cached) $ECHO_C" >&6
12525fi
12526echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12527echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12528else
12529 # Is the header compilable?
12530echo "$as_me:$LINENO: checking $ac_header usability" >&5
12531echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12532cat >conftest.$ac_ext <<_ACEOF
12533#line $LINENO "configure"
12534/* confdefs.h. */
12535_ACEOF
12536cat confdefs.h >>conftest.$ac_ext
12537cat >>conftest.$ac_ext <<_ACEOF
12538/* end confdefs.h. */
12539$ac_includes_default
12540#include <$ac_header>
12541_ACEOF
12542rm -f conftest.$ac_objext
12543if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12544 (eval $ac_compile) 2>&5
12545 ac_status=$?
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } &&
12548 { ac_try='test -s conftest.$ac_objext'
12549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12550 (eval $ac_try) 2>&5
12551 ac_status=$?
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); }; }; then
12554 ac_header_compiler=yes
12555else
12556 echo "$as_me: failed program was:" >&5
12557sed 's/^/| /' conftest.$ac_ext >&5
12558
12559ac_header_compiler=no
12560fi
12561rm -f conftest.$ac_objext conftest.$ac_ext
12562echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12563echo "${ECHO_T}$ac_header_compiler" >&6
12564
12565# Is the header present?
12566echo "$as_me:$LINENO: checking $ac_header presence" >&5
12567echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12568cat >conftest.$ac_ext <<_ACEOF
12569#line $LINENO "configure"
12570/* confdefs.h. */
12571_ACEOF
12572cat confdefs.h >>conftest.$ac_ext
12573cat >>conftest.$ac_ext <<_ACEOF
12574/* end confdefs.h. */
12575#include <$ac_header>
12576_ACEOF
12577if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12578 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12579 ac_status=$?
12580 grep -v '^ *+' conftest.er1 >conftest.err
12581 rm -f conftest.er1
12582 cat conftest.err >&5
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); } >/dev/null; then
12585 if test -s conftest.err; then
12586 ac_cpp_err=$ac_c_preproc_warn_flag
12587 else
12588 ac_cpp_err=
12589 fi
12590else
12591 ac_cpp_err=yes
12592fi
12593if test -z "$ac_cpp_err"; then
12594 ac_header_preproc=yes
12595else
12596 echo "$as_me: failed program was:" >&5
12597sed 's/^/| /' conftest.$ac_ext >&5
12598
12599 ac_header_preproc=no
12600fi
12601rm -f conftest.err conftest.$ac_ext
12602echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12603echo "${ECHO_T}$ac_header_preproc" >&6
12604
12605# So? What about this header?
12606case $ac_header_compiler:$ac_header_preproc in
12607 yes:no )
12608 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12609echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12611echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12612 (
12613 cat <<\_ASBOX
12614## ------------------------------------ ##
12615## Report this to bug-autoconf@gnu.org. ##
12616## ------------------------------------ ##
12617_ASBOX
12618 ) |
12619 sed "s/^/$as_me: WARNING: /" >&2
12620 ;;
12621 no:yes )
12622 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12623echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12624 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12625echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12627echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12628 (
12629 cat <<\_ASBOX
12630## ------------------------------------ ##
12631## Report this to bug-autoconf@gnu.org. ##
12632## ------------------------------------ ##
12633_ASBOX
12634 ) |
12635 sed "s/^/$as_me: WARNING: /" >&2
12636 ;;
12637esac
12638echo "$as_me:$LINENO: checking for $ac_header" >&5
12639echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12640if eval "test \"\${$as_ac_Header+set}\" = set"; then
12641 echo $ECHO_N "(cached) $ECHO_C" >&6
12642else
12643 eval "$as_ac_Header=$ac_header_preproc"
12644fi
12645echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12646echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12647
12648fi
12649if test `eval echo '${'$as_ac_Header'}'` = yes; then
12650 cat >>confdefs.h <<_ACEOF
12651#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12652_ACEOF
12653
12654fi
12655
12656done
12657
12658
12659for ac_header in unistd.h
12660do
12661as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12662if eval "test \"\${$as_ac_Header+set}\" = set"; then
12663 echo "$as_me:$LINENO: checking for $ac_header" >&5
12664echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12665if eval "test \"\${$as_ac_Header+set}\" = set"; then
12666 echo $ECHO_N "(cached) $ECHO_C" >&6
12667fi
12668echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12669echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12670else
12671 # Is the header compilable?
12672echo "$as_me:$LINENO: checking $ac_header usability" >&5
12673echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12674cat >conftest.$ac_ext <<_ACEOF
12675#line $LINENO "configure"
12676/* confdefs.h. */
12677_ACEOF
12678cat confdefs.h >>conftest.$ac_ext
12679cat >>conftest.$ac_ext <<_ACEOF
12680/* end confdefs.h. */
12681$ac_includes_default
12682#include <$ac_header>
12683_ACEOF
12684rm -f conftest.$ac_objext
12685if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12686 (eval $ac_compile) 2>&5
12687 ac_status=$?
12688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689 (exit $ac_status); } &&
12690 { ac_try='test -s conftest.$ac_objext'
12691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12692 (eval $ac_try) 2>&5
12693 ac_status=$?
12694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12695 (exit $ac_status); }; }; then
12696 ac_header_compiler=yes
12697else
12698 echo "$as_me: failed program was:" >&5
12699sed 's/^/| /' conftest.$ac_ext >&5
12700
12701ac_header_compiler=no
12702fi
12703rm -f conftest.$ac_objext conftest.$ac_ext
12704echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12705echo "${ECHO_T}$ac_header_compiler" >&6
12706
12707# Is the header present?
12708echo "$as_me:$LINENO: checking $ac_header presence" >&5
12709echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12710cat >conftest.$ac_ext <<_ACEOF
12711#line $LINENO "configure"
12712/* confdefs.h. */
12713_ACEOF
12714cat confdefs.h >>conftest.$ac_ext
12715cat >>conftest.$ac_ext <<_ACEOF
12716/* end confdefs.h. */
12717#include <$ac_header>
12718_ACEOF
12719if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12720 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12721 ac_status=$?
12722 grep -v '^ *+' conftest.er1 >conftest.err
12723 rm -f conftest.er1
12724 cat conftest.err >&5
12725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12726 (exit $ac_status); } >/dev/null; then
12727 if test -s conftest.err; then
12728 ac_cpp_err=$ac_c_preproc_warn_flag
12729 else
12730 ac_cpp_err=
12731 fi
12732else
12733 ac_cpp_err=yes
12734fi
12735if test -z "$ac_cpp_err"; then
12736 ac_header_preproc=yes
12737else
12738 echo "$as_me: failed program was:" >&5
12739sed 's/^/| /' conftest.$ac_ext >&5
12740
12741 ac_header_preproc=no
12742fi
12743rm -f conftest.err conftest.$ac_ext
12744echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12745echo "${ECHO_T}$ac_header_preproc" >&6
12746
12747# So? What about this header?
12748case $ac_header_compiler:$ac_header_preproc in
12749 yes:no )
12750 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12751echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12753echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12754 (
12755 cat <<\_ASBOX
12756## ------------------------------------ ##
12757## Report this to bug-autoconf@gnu.org. ##
12758## ------------------------------------ ##
12759_ASBOX
12760 ) |
12761 sed "s/^/$as_me: WARNING: /" >&2
12762 ;;
12763 no:yes )
12764 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12765echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12766 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12767echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12768 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12769echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12770 (
12771 cat <<\_ASBOX
12772## ------------------------------------ ##
12773## Report this to bug-autoconf@gnu.org. ##
12774## ------------------------------------ ##
12775_ASBOX
12776 ) |
12777 sed "s/^/$as_me: WARNING: /" >&2
12778 ;;
12779esac
12780echo "$as_me:$LINENO: checking for $ac_header" >&5
12781echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12782if eval "test \"\${$as_ac_Header+set}\" = set"; then
12783 echo $ECHO_N "(cached) $ECHO_C" >&6
12784else
12785 eval "$as_ac_Header=$ac_header_preproc"
12786fi
12787echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12788echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12789
12790fi
12791if test `eval echo '${'$as_ac_Header'}'` = yes; then
12792 cat >>confdefs.h <<_ACEOF
12793#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12794_ACEOF
12795
12796fi
12797
12798done
12799
12800
12801for ac_header in wchar.h
12802do
12803as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12804if eval "test \"\${$as_ac_Header+set}\" = set"; then
12805 echo "$as_me:$LINENO: checking for $ac_header" >&5
12806echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12807if eval "test \"\${$as_ac_Header+set}\" = set"; then
12808 echo $ECHO_N "(cached) $ECHO_C" >&6
12809fi
12810echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12811echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12812else
12813 # Is the header compilable?
12814echo "$as_me:$LINENO: checking $ac_header usability" >&5
12815echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12816cat >conftest.$ac_ext <<_ACEOF
12817#line $LINENO "configure"
12818/* confdefs.h. */
12819_ACEOF
12820cat confdefs.h >>conftest.$ac_ext
12821cat >>conftest.$ac_ext <<_ACEOF
12822/* end confdefs.h. */
12823$ac_includes_default
12824#include <$ac_header>
12825_ACEOF
12826rm -f conftest.$ac_objext
12827if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12828 (eval $ac_compile) 2>&5
12829 ac_status=$?
12830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12831 (exit $ac_status); } &&
12832 { ac_try='test -s conftest.$ac_objext'
12833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12834 (eval $ac_try) 2>&5
12835 ac_status=$?
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); }; }; then
12838 ac_header_compiler=yes
12839else
12840 echo "$as_me: failed program was:" >&5
12841sed 's/^/| /' conftest.$ac_ext >&5
12842
12843ac_header_compiler=no
12844fi
12845rm -f conftest.$ac_objext conftest.$ac_ext
12846echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12847echo "${ECHO_T}$ac_header_compiler" >&6
12848
12849# Is the header present?
12850echo "$as_me:$LINENO: checking $ac_header presence" >&5
12851echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12852cat >conftest.$ac_ext <<_ACEOF
12853#line $LINENO "configure"
12854/* confdefs.h. */
12855_ACEOF
12856cat confdefs.h >>conftest.$ac_ext
12857cat >>conftest.$ac_ext <<_ACEOF
12858/* end confdefs.h. */
12859#include <$ac_header>
12860_ACEOF
12861if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12862 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12863 ac_status=$?
12864 grep -v '^ *+' conftest.er1 >conftest.err
12865 rm -f conftest.er1
12866 cat conftest.err >&5
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); } >/dev/null; then
12869 if test -s conftest.err; then
12870 ac_cpp_err=$ac_c_preproc_warn_flag
12871 else
12872 ac_cpp_err=
12873 fi
12874else
12875 ac_cpp_err=yes
12876fi
12877if test -z "$ac_cpp_err"; then
12878 ac_header_preproc=yes
12879else
12880 echo "$as_me: failed program was:" >&5
12881sed 's/^/| /' conftest.$ac_ext >&5
12882
12883 ac_header_preproc=no
12884fi
12885rm -f conftest.err conftest.$ac_ext
12886echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12887echo "${ECHO_T}$ac_header_preproc" >&6
12888
12889# So? What about this header?
12890case $ac_header_compiler:$ac_header_preproc in
12891 yes:no )
12892 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12893echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12894 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12895echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12896 (
12897 cat <<\_ASBOX
12898## ------------------------------------ ##
12899## Report this to bug-autoconf@gnu.org. ##
12900## ------------------------------------ ##
12901_ASBOX
12902 ) |
12903 sed "s/^/$as_me: WARNING: /" >&2
12904 ;;
12905 no:yes )
12906 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12907echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12908 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12909echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12910 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12911echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12912 (
12913 cat <<\_ASBOX
12914## ------------------------------------ ##
12915## Report this to bug-autoconf@gnu.org. ##
12916## ------------------------------------ ##
12917_ASBOX
12918 ) |
12919 sed "s/^/$as_me: WARNING: /" >&2
12920 ;;
12921esac
12922echo "$as_me:$LINENO: checking for $ac_header" >&5
12923echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12924if eval "test \"\${$as_ac_Header+set}\" = set"; then
12925 echo $ECHO_N "(cached) $ECHO_C" >&6
12926else
12927 eval "$as_ac_Header=$ac_header_preproc"
12928fi
12929echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12930echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12931
12932fi
12933if test `eval echo '${'$as_ac_Header'}'` = yes; then
12934 cat >>confdefs.h <<_ACEOF
12935#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12936_ACEOF
12937
12938fi
12939
12940done
12941
12942
12943if test "$ac_cv_header_wchar_h" != "yes"; then
12944
12945for ac_header in wcstr.h
12946do
12947as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12948if eval "test \"\${$as_ac_Header+set}\" = set"; then
12949 echo "$as_me:$LINENO: checking for $ac_header" >&5
12950echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12951if eval "test \"\${$as_ac_Header+set}\" = set"; then
12952 echo $ECHO_N "(cached) $ECHO_C" >&6
12953fi
12954echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12955echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12956else
12957 # Is the header compilable?
12958echo "$as_me:$LINENO: checking $ac_header usability" >&5
12959echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12960cat >conftest.$ac_ext <<_ACEOF
12961#line $LINENO "configure"
12962/* confdefs.h. */
12963_ACEOF
12964cat confdefs.h >>conftest.$ac_ext
12965cat >>conftest.$ac_ext <<_ACEOF
12966/* end confdefs.h. */
12967$ac_includes_default
12968#include <$ac_header>
12969_ACEOF
12970rm -f conftest.$ac_objext
12971if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12972 (eval $ac_compile) 2>&5
12973 ac_status=$?
12974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12975 (exit $ac_status); } &&
12976 { ac_try='test -s conftest.$ac_objext'
12977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12978 (eval $ac_try) 2>&5
12979 ac_status=$?
12980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12981 (exit $ac_status); }; }; then
12982 ac_header_compiler=yes
12983else
12984 echo "$as_me: failed program was:" >&5
12985sed 's/^/| /' conftest.$ac_ext >&5
12986
12987ac_header_compiler=no
12988fi
12989rm -f conftest.$ac_objext conftest.$ac_ext
12990echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12991echo "${ECHO_T}$ac_header_compiler" >&6
12992
12993# Is the header present?
12994echo "$as_me:$LINENO: checking $ac_header presence" >&5
12995echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12996cat >conftest.$ac_ext <<_ACEOF
12997#line $LINENO "configure"
12998/* confdefs.h. */
12999_ACEOF
13000cat confdefs.h >>conftest.$ac_ext
13001cat >>conftest.$ac_ext <<_ACEOF
13002/* end confdefs.h. */
13003#include <$ac_header>
13004_ACEOF
13005if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13006 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13007 ac_status=$?
13008 grep -v '^ *+' conftest.er1 >conftest.err
13009 rm -f conftest.er1
13010 cat conftest.err >&5
13011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13012 (exit $ac_status); } >/dev/null; then
13013 if test -s conftest.err; then
13014 ac_cpp_err=$ac_c_preproc_warn_flag
13015 else
13016 ac_cpp_err=
13017 fi
13018else
13019 ac_cpp_err=yes
13020fi
13021if test -z "$ac_cpp_err"; then
13022 ac_header_preproc=yes
13023else
13024 echo "$as_me: failed program was:" >&5
13025sed 's/^/| /' conftest.$ac_ext >&5
13026
13027 ac_header_preproc=no
13028fi
13029rm -f conftest.err conftest.$ac_ext
13030echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13031echo "${ECHO_T}$ac_header_preproc" >&6
13032
13033# So? What about this header?
13034case $ac_header_compiler:$ac_header_preproc in
13035 yes:no )
13036 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13037echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13039echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13040 (
13041 cat <<\_ASBOX
13042## ------------------------------------ ##
13043## Report this to bug-autoconf@gnu.org. ##
13044## ------------------------------------ ##
13045_ASBOX
13046 ) |
13047 sed "s/^/$as_me: WARNING: /" >&2
13048 ;;
13049 no:yes )
13050 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13051echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13052 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13053echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13054 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13055echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13056 (
13057 cat <<\_ASBOX
13058## ------------------------------------ ##
13059## Report this to bug-autoconf@gnu.org. ##
13060## ------------------------------------ ##
13061_ASBOX
13062 ) |
13063 sed "s/^/$as_me: WARNING: /" >&2
13064 ;;
13065esac
13066echo "$as_me:$LINENO: checking for $ac_header" >&5
13067echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13068if eval "test \"\${$as_ac_Header+set}\" = set"; then
13069 echo $ECHO_N "(cached) $ECHO_C" >&6
13070else
13071 eval "$as_ac_Header=$ac_header_preproc"
13072fi
13073echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13074echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13075
13076fi
13077if test `eval echo '${'$as_ac_Header'}'` = yes; then
13078 cat >>confdefs.h <<_ACEOF
13079#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13080_ACEOF
13081
13082fi
13083
13084done
13085
13086fi
13087
13088
13089for ac_header in fnmatch.h
13090do
13091as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13092if eval "test \"\${$as_ac_Header+set}\" = set"; then
13093 echo "$as_me:$LINENO: checking for $ac_header" >&5
13094echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13095if eval "test \"\${$as_ac_Header+set}\" = set"; then
13096 echo $ECHO_N "(cached) $ECHO_C" >&6
13097fi
13098echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13099echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13100else
13101 # Is the header compilable?
13102echo "$as_me:$LINENO: checking $ac_header usability" >&5
13103echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13104cat >conftest.$ac_ext <<_ACEOF
13105#line $LINENO "configure"
13106/* confdefs.h. */
13107_ACEOF
13108cat confdefs.h >>conftest.$ac_ext
13109cat >>conftest.$ac_ext <<_ACEOF
13110/* end confdefs.h. */
13111$ac_includes_default
13112#include <$ac_header>
13113_ACEOF
13114rm -f conftest.$ac_objext
13115if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13116 (eval $ac_compile) 2>&5
13117 ac_status=$?
13118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13119 (exit $ac_status); } &&
13120 { ac_try='test -s conftest.$ac_objext'
13121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13122 (eval $ac_try) 2>&5
13123 ac_status=$?
13124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13125 (exit $ac_status); }; }; then
13126 ac_header_compiler=yes
13127else
13128 echo "$as_me: failed program was:" >&5
13129sed 's/^/| /' conftest.$ac_ext >&5
13130
13131ac_header_compiler=no
13132fi
13133rm -f conftest.$ac_objext conftest.$ac_ext
13134echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13135echo "${ECHO_T}$ac_header_compiler" >&6
13136
13137# Is the header present?
13138echo "$as_me:$LINENO: checking $ac_header presence" >&5
13139echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13140cat >conftest.$ac_ext <<_ACEOF
13141#line $LINENO "configure"
13142/* confdefs.h. */
13143_ACEOF
13144cat confdefs.h >>conftest.$ac_ext
13145cat >>conftest.$ac_ext <<_ACEOF
13146/* end confdefs.h. */
13147#include <$ac_header>
13148_ACEOF
13149if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13150 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13151 ac_status=$?
13152 grep -v '^ *+' conftest.er1 >conftest.err
13153 rm -f conftest.er1
13154 cat conftest.err >&5
13155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); } >/dev/null; then
13157 if test -s conftest.err; then
13158 ac_cpp_err=$ac_c_preproc_warn_flag
13159 else
13160 ac_cpp_err=
13161 fi
13162else
13163 ac_cpp_err=yes
13164fi
13165if test -z "$ac_cpp_err"; then
13166 ac_header_preproc=yes
13167else
13168 echo "$as_me: failed program was:" >&5
13169sed 's/^/| /' conftest.$ac_ext >&5
13170
13171 ac_header_preproc=no
13172fi
13173rm -f conftest.err conftest.$ac_ext
13174echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13175echo "${ECHO_T}$ac_header_preproc" >&6
13176
13177# So? What about this header?
13178case $ac_header_compiler:$ac_header_preproc in
13179 yes:no )
13180 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13181echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13182 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13183echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13184 (
13185 cat <<\_ASBOX
13186## ------------------------------------ ##
13187## Report this to bug-autoconf@gnu.org. ##
13188## ------------------------------------ ##
13189_ASBOX
13190 ) |
13191 sed "s/^/$as_me: WARNING: /" >&2
13192 ;;
13193 no:yes )
13194 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13195echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13196 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13197echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13199echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13200 (
13201 cat <<\_ASBOX
13202## ------------------------------------ ##
13203## Report this to bug-autoconf@gnu.org. ##
13204## ------------------------------------ ##
13205_ASBOX
13206 ) |
13207 sed "s/^/$as_me: WARNING: /" >&2
13208 ;;
13209esac
13210echo "$as_me:$LINENO: checking for $ac_header" >&5
13211echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13212if eval "test \"\${$as_ac_Header+set}\" = set"; then
13213 echo $ECHO_N "(cached) $ECHO_C" >&6
13214else
13215 eval "$as_ac_Header=$ac_header_preproc"
13216fi
13217echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13218echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13219
13220fi
13221if test `eval echo '${'$as_ac_Header'}'` = yes; then
13222 cat >>confdefs.h <<_ACEOF
13223#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13224_ACEOF
13225
13226fi
13227
13228done
13229
13230
13231if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13232
13233for ac_func in fnmatch
13234do
13235as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13236echo "$as_me:$LINENO: checking for $ac_func" >&5
13237echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13238if eval "test \"\${$as_ac_var+set}\" = set"; then
13239 echo $ECHO_N "(cached) $ECHO_C" >&6
13240else
13241 cat >conftest.$ac_ext <<_ACEOF
13242#line $LINENO "configure"
13243/* confdefs.h. */
13244_ACEOF
13245cat confdefs.h >>conftest.$ac_ext
13246cat >>conftest.$ac_ext <<_ACEOF
13247/* end confdefs.h. */
13248/* System header to define __stub macros and hopefully few prototypes,
13249 which can conflict with char $ac_func (); below.
13250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13251 <limits.h> exists even on freestanding compilers. */
13252#ifdef __STDC__
13253# include <limits.h>
13254#else
13255# include <assert.h>
13256#endif
13257/* Override any gcc2 internal prototype to avoid an error. */
13258#ifdef __cplusplus
13259extern "C"
13260{
13261#endif
13262/* We use char because int might match the return type of a gcc2
13263 builtin and then its argument prototype would still apply. */
13264char $ac_func ();
13265/* The GNU C library defines this for functions which it implements
13266 to always fail with ENOSYS. Some functions are actually named
13267 something starting with __ and the normal name is an alias. */
13268#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13269choke me
13270#else
13271char (*f) () = $ac_func;
13272#endif
13273#ifdef __cplusplus
13274}
13275#endif
13276
13277int
13278main ()
13279{
13280return f != $ac_func;
13281 ;
13282 return 0;
13283}
13284_ACEOF
13285rm -f conftest.$ac_objext conftest$ac_exeext
13286if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13287 (eval $ac_link) 2>&5
13288 ac_status=$?
13289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13290 (exit $ac_status); } &&
13291 { ac_try='test -s conftest$ac_exeext'
13292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13293 (eval $ac_try) 2>&5
13294 ac_status=$?
13295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13296 (exit $ac_status); }; }; then
13297 eval "$as_ac_var=yes"
13298else
13299 echo "$as_me: failed program was:" >&5
13300sed 's/^/| /' conftest.$ac_ext >&5
13301
13302eval "$as_ac_var=no"
13303fi
13304rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13305fi
13306echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13307echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13308if test `eval echo '${'$as_ac_var'}'` = yes; then
13309 cat >>confdefs.h <<_ACEOF
13310#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13311_ACEOF
13312
13313fi
13314done
13315
13316fi
13317
13318
13319for ac_header in langinfo.h
13320do
13321as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13322if eval "test \"\${$as_ac_Header+set}\" = set"; then
13323 echo "$as_me:$LINENO: checking for $ac_header" >&5
13324echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13325if eval "test \"\${$as_ac_Header+set}\" = set"; then
13326 echo $ECHO_N "(cached) $ECHO_C" >&6
13327fi
13328echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13329echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13330else
13331 # Is the header compilable?
13332echo "$as_me:$LINENO: checking $ac_header usability" >&5
13333echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13334cat >conftest.$ac_ext <<_ACEOF
13335#line $LINENO "configure"
13336/* confdefs.h. */
13337_ACEOF
13338cat confdefs.h >>conftest.$ac_ext
13339cat >>conftest.$ac_ext <<_ACEOF
13340/* end confdefs.h. */
13341$ac_includes_default
13342#include <$ac_header>
13343_ACEOF
13344rm -f conftest.$ac_objext
13345if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13346 (eval $ac_compile) 2>&5
13347 ac_status=$?
13348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); } &&
13350 { ac_try='test -s conftest.$ac_objext'
13351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13352 (eval $ac_try) 2>&5
13353 ac_status=$?
13354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 (exit $ac_status); }; }; then
13356 ac_header_compiler=yes
13357else
13358 echo "$as_me: failed program was:" >&5
13359sed 's/^/| /' conftest.$ac_ext >&5
13360
13361ac_header_compiler=no
13362fi
13363rm -f conftest.$ac_objext conftest.$ac_ext
13364echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13365echo "${ECHO_T}$ac_header_compiler" >&6
13366
13367# Is the header present?
13368echo "$as_me:$LINENO: checking $ac_header presence" >&5
13369echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13370cat >conftest.$ac_ext <<_ACEOF
13371#line $LINENO "configure"
13372/* confdefs.h. */
13373_ACEOF
13374cat confdefs.h >>conftest.$ac_ext
13375cat >>conftest.$ac_ext <<_ACEOF
13376/* end confdefs.h. */
13377#include <$ac_header>
13378_ACEOF
13379if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13380 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13381 ac_status=$?
13382 grep -v '^ *+' conftest.er1 >conftest.err
13383 rm -f conftest.er1
13384 cat conftest.err >&5
13385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13386 (exit $ac_status); } >/dev/null; then
13387 if test -s conftest.err; then
13388 ac_cpp_err=$ac_c_preproc_warn_flag
13389 else
13390 ac_cpp_err=
13391 fi
13392else
13393 ac_cpp_err=yes
13394fi
13395if test -z "$ac_cpp_err"; then
13396 ac_header_preproc=yes
13397else
13398 echo "$as_me: failed program was:" >&5
13399sed 's/^/| /' conftest.$ac_ext >&5
13400
13401 ac_header_preproc=no
13402fi
13403rm -f conftest.err conftest.$ac_ext
13404echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13405echo "${ECHO_T}$ac_header_preproc" >&6
13406
13407# So? What about this header?
13408case $ac_header_compiler:$ac_header_preproc in
13409 yes:no )
13410 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13411echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13412 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13413echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13414 (
13415 cat <<\_ASBOX
13416## ------------------------------------ ##
13417## Report this to bug-autoconf@gnu.org. ##
13418## ------------------------------------ ##
13419_ASBOX
13420 ) |
13421 sed "s/^/$as_me: WARNING: /" >&2
13422 ;;
13423 no:yes )
13424 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13425echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13426 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13427echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13428 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13429echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13430 (
13431 cat <<\_ASBOX
13432## ------------------------------------ ##
13433## Report this to bug-autoconf@gnu.org. ##
13434## ------------------------------------ ##
13435_ASBOX
13436 ) |
13437 sed "s/^/$as_me: WARNING: /" >&2
13438 ;;
13439esac
13440echo "$as_me:$LINENO: checking for $ac_header" >&5
13441echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13442if eval "test \"\${$as_ac_Header+set}\" = set"; then
13443 echo $ECHO_N "(cached) $ECHO_C" >&6
13444else
13445 eval "$as_ac_Header=$ac_header_preproc"
13446fi
13447echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13448echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13449
13450fi
13451if test `eval echo '${'$as_ac_Header'}'` = yes; then
13452 cat >>confdefs.h <<_ACEOF
13453#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13454_ACEOF
13455
13456fi
13457
13458done
13459
13460
13461case "${host}" in
13462 *-pc-os2_emx | *-pc-os2-emx )
13463 if test $ac_cv_header_langinfo_h = "yes"; then
13464 LIBS="$LIBS -lintl"
13465 fi
13466 ;;
13467esac
13468
13469if test "$wxUSE_GUI" = "yes"; then
13470 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13471
13472for ac_header in X11/Xlib.h
13473do
13474as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13475if eval "test \"\${$as_ac_Header+set}\" = set"; then
13476 echo "$as_me:$LINENO: checking for $ac_header" >&5
13477echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13478if eval "test \"\${$as_ac_Header+set}\" = set"; then
13479 echo $ECHO_N "(cached) $ECHO_C" >&6
13480fi
13481echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13482echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13483else
13484 # Is the header compilable?
13485echo "$as_me:$LINENO: checking $ac_header usability" >&5
13486echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13487cat >conftest.$ac_ext <<_ACEOF
13488#line $LINENO "configure"
13489/* confdefs.h. */
13490_ACEOF
13491cat confdefs.h >>conftest.$ac_ext
13492cat >>conftest.$ac_ext <<_ACEOF
13493/* end confdefs.h. */
13494$ac_includes_default
13495#include <$ac_header>
13496_ACEOF
13497rm -f conftest.$ac_objext
13498if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13499 (eval $ac_compile) 2>&5
13500 ac_status=$?
13501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13502 (exit $ac_status); } &&
13503 { ac_try='test -s conftest.$ac_objext'
13504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13505 (eval $ac_try) 2>&5
13506 ac_status=$?
13507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13508 (exit $ac_status); }; }; then
13509 ac_header_compiler=yes
13510else
13511 echo "$as_me: failed program was:" >&5
13512sed 's/^/| /' conftest.$ac_ext >&5
13513
13514ac_header_compiler=no
13515fi
13516rm -f conftest.$ac_objext conftest.$ac_ext
13517echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13518echo "${ECHO_T}$ac_header_compiler" >&6
13519
13520# Is the header present?
13521echo "$as_me:$LINENO: checking $ac_header presence" >&5
13522echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13523cat >conftest.$ac_ext <<_ACEOF
13524#line $LINENO "configure"
13525/* confdefs.h. */
13526_ACEOF
13527cat confdefs.h >>conftest.$ac_ext
13528cat >>conftest.$ac_ext <<_ACEOF
13529/* end confdefs.h. */
13530#include <$ac_header>
13531_ACEOF
13532if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13533 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13534 ac_status=$?
13535 grep -v '^ *+' conftest.er1 >conftest.err
13536 rm -f conftest.er1
13537 cat conftest.err >&5
13538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13539 (exit $ac_status); } >/dev/null; then
13540 if test -s conftest.err; then
13541 ac_cpp_err=$ac_c_preproc_warn_flag
13542 else
13543 ac_cpp_err=
13544 fi
13545else
13546 ac_cpp_err=yes
13547fi
13548if test -z "$ac_cpp_err"; then
13549 ac_header_preproc=yes
13550else
13551 echo "$as_me: failed program was:" >&5
13552sed 's/^/| /' conftest.$ac_ext >&5
13553
13554 ac_header_preproc=no
13555fi
13556rm -f conftest.err conftest.$ac_ext
13557echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13558echo "${ECHO_T}$ac_header_preproc" >&6
13559
13560# So? What about this header?
13561case $ac_header_compiler:$ac_header_preproc in
13562 yes:no )
13563 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13564echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13566echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13567 (
13568 cat <<\_ASBOX
13569## ------------------------------------ ##
13570## Report this to bug-autoconf@gnu.org. ##
13571## ------------------------------------ ##
13572_ASBOX
13573 ) |
13574 sed "s/^/$as_me: WARNING: /" >&2
13575 ;;
13576 no:yes )
13577 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13578echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13579 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13580echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13581 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13582echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13583 (
13584 cat <<\_ASBOX
13585## ------------------------------------ ##
13586## Report this to bug-autoconf@gnu.org. ##
13587## ------------------------------------ ##
13588_ASBOX
13589 ) |
13590 sed "s/^/$as_me: WARNING: /" >&2
13591 ;;
13592esac
13593echo "$as_me:$LINENO: checking for $ac_header" >&5
13594echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13595if eval "test \"\${$as_ac_Header+set}\" = set"; then
13596 echo $ECHO_N "(cached) $ECHO_C" >&6
13597else
13598 eval "$as_ac_Header=$ac_header_preproc"
13599fi
13600echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13601echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13602
13603fi
13604if test `eval echo '${'$as_ac_Header'}'` = yes; then
13605 cat >>confdefs.h <<_ACEOF
13606#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13607_ACEOF
13608
13609fi
13610
13611done
13612
13613
13614for ac_header in X11/XKBlib.h
13615do
13616as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13617echo "$as_me:$LINENO: checking for $ac_header" >&5
13618echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13619if eval "test \"\${$as_ac_Header+set}\" = set"; then
13620 echo $ECHO_N "(cached) $ECHO_C" >&6
13621else
13622 cat >conftest.$ac_ext <<_ACEOF
13623#line $LINENO "configure"
13624/* confdefs.h. */
13625_ACEOF
13626cat confdefs.h >>conftest.$ac_ext
13627cat >>conftest.$ac_ext <<_ACEOF
13628/* end confdefs.h. */
13629
13630 #if HAVE_X11_XLIB_H
13631 #include <X11/Xlib.h>
13632 #endif
13633
13634
13635#include <$ac_header>
13636_ACEOF
13637rm -f conftest.$ac_objext
13638if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13639 (eval $ac_compile) 2>&5
13640 ac_status=$?
13641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642 (exit $ac_status); } &&
13643 { ac_try='test -s conftest.$ac_objext'
13644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13645 (eval $ac_try) 2>&5
13646 ac_status=$?
13647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13648 (exit $ac_status); }; }; then
13649 eval "$as_ac_Header=yes"
13650else
13651 echo "$as_me: failed program was:" >&5
13652sed 's/^/| /' conftest.$ac_ext >&5
13653
13654eval "$as_ac_Header=no"
13655fi
13656rm -f conftest.$ac_objext conftest.$ac_ext
13657fi
13658echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13659echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13660if test `eval echo '${'$as_ac_Header'}'` = yes; then
13661 cat >>confdefs.h <<_ACEOF
13662#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13663_ACEOF
13664
13665fi
13666
13667done
13668
13669 fi
13670fi
13671
13672
13673echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13674echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13675if test "${ac_cv_c_const+set}" = set; then
13676 echo $ECHO_N "(cached) $ECHO_C" >&6
13677else
13678 cat >conftest.$ac_ext <<_ACEOF
13679#line $LINENO "configure"
13680/* confdefs.h. */
13681_ACEOF
13682cat confdefs.h >>conftest.$ac_ext
13683cat >>conftest.$ac_ext <<_ACEOF
13684/* end confdefs.h. */
13685
13686int
13687main ()
13688{
13689/* FIXME: Include the comments suggested by Paul. */
13690#ifndef __cplusplus
13691 /* Ultrix mips cc rejects this. */
13692 typedef int charset[2];
13693 const charset x;
13694 /* SunOS 4.1.1 cc rejects this. */
13695 char const *const *ccp;
13696 char **p;
13697 /* NEC SVR4.0.2 mips cc rejects this. */
13698 struct point {int x, y;};
13699 static struct point const zero = {0,0};
13700 /* AIX XL C 1.02.0.0 rejects this.
13701 It does not let you subtract one const X* pointer from another in
13702 an arm of an if-expression whose if-part is not a constant
13703 expression */
13704 const char *g = "string";
13705 ccp = &g + (g ? g-g : 0);
13706 /* HPUX 7.0 cc rejects these. */
13707 ++ccp;
13708 p = (char**) ccp;
13709 ccp = (char const *const *) p;
13710 { /* SCO 3.2v4 cc rejects this. */
13711 char *t;
13712 char const *s = 0 ? (char *) 0 : (char const *) 0;
13713
13714 *t++ = 0;
13715 }
13716 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13717 int x[] = {25, 17};
13718 const int *foo = &x[0];
13719 ++foo;
13720 }
13721 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13722 typedef const int *iptr;
13723 iptr p = 0;
13724 ++p;
13725 }
13726 { /* AIX XL C 1.02.0.0 rejects this saying
13727 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13728 struct s { int j; const int *ap[3]; };
13729 struct s *b; b->j = 5;
13730 }
13731 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13732 const int foo = 10;
13733 }
13734#endif
13735
13736 ;
13737 return 0;
13738}
13739_ACEOF
13740rm -f conftest.$ac_objext
13741if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13742 (eval $ac_compile) 2>&5
13743 ac_status=$?
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); } &&
13746 { ac_try='test -s conftest.$ac_objext'
13747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13748 (eval $ac_try) 2>&5
13749 ac_status=$?
13750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 (exit $ac_status); }; }; then
13752 ac_cv_c_const=yes
13753else
13754 echo "$as_me: failed program was:" >&5
13755sed 's/^/| /' conftest.$ac_ext >&5
13756
13757ac_cv_c_const=no
13758fi
13759rm -f conftest.$ac_objext conftest.$ac_ext
13760fi
13761echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13762echo "${ECHO_T}$ac_cv_c_const" >&6
13763if test $ac_cv_c_const = no; then
13764
13765cat >>confdefs.h <<\_ACEOF
13766#define const
13767_ACEOF
13768
13769fi
13770
13771echo "$as_me:$LINENO: checking for inline" >&5
13772echo $ECHO_N "checking for inline... $ECHO_C" >&6
13773if test "${ac_cv_c_inline+set}" = set; then
13774 echo $ECHO_N "(cached) $ECHO_C" >&6
13775else
13776 ac_cv_c_inline=no
13777for ac_kw in inline __inline__ __inline; do
13778 cat >conftest.$ac_ext <<_ACEOF
13779#line $LINENO "configure"
13780/* confdefs.h. */
13781_ACEOF
13782cat confdefs.h >>conftest.$ac_ext
13783cat >>conftest.$ac_ext <<_ACEOF
13784/* end confdefs.h. */
13785#ifndef __cplusplus
13786typedef int foo_t;
13787static $ac_kw foo_t static_foo () {return 0; }
13788$ac_kw foo_t foo () {return 0; }
13789#endif
13790
13791_ACEOF
13792rm -f conftest.$ac_objext
13793if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13794 (eval $ac_compile) 2>&5
13795 ac_status=$?
13796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13797 (exit $ac_status); } &&
13798 { ac_try='test -s conftest.$ac_objext'
13799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13800 (eval $ac_try) 2>&5
13801 ac_status=$?
13802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13803 (exit $ac_status); }; }; then
13804 ac_cv_c_inline=$ac_kw; break
13805else
13806 echo "$as_me: failed program was:" >&5
13807sed 's/^/| /' conftest.$ac_ext >&5
13808
13809fi
13810rm -f conftest.$ac_objext conftest.$ac_ext
13811done
13812
13813fi
13814echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13815echo "${ECHO_T}$ac_cv_c_inline" >&6
13816case $ac_cv_c_inline in
13817 inline | yes) ;;
13818 no)
13819cat >>confdefs.h <<\_ACEOF
13820#define inline
13821_ACEOF
13822 ;;
13823 *) cat >>confdefs.h <<_ACEOF
13824#define inline $ac_cv_c_inline
13825_ACEOF
13826 ;;
13827esac
13828
13829
13830echo "$as_me:$LINENO: checking for char" >&5
13831echo $ECHO_N "checking for char... $ECHO_C" >&6
13832if test "${ac_cv_type_char+set}" = set; then
13833 echo $ECHO_N "(cached) $ECHO_C" >&6
13834else
13835 cat >conftest.$ac_ext <<_ACEOF
13836#line $LINENO "configure"
13837/* confdefs.h. */
13838_ACEOF
13839cat confdefs.h >>conftest.$ac_ext
13840cat >>conftest.$ac_ext <<_ACEOF
13841/* end confdefs.h. */
13842$ac_includes_default
13843int
13844main ()
13845{
13846if ((char *) 0)
13847 return 0;
13848if (sizeof (char))
13849 return 0;
13850 ;
13851 return 0;
13852}
13853_ACEOF
13854rm -f conftest.$ac_objext
13855if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13856 (eval $ac_compile) 2>&5
13857 ac_status=$?
13858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859 (exit $ac_status); } &&
13860 { ac_try='test -s conftest.$ac_objext'
13861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13862 (eval $ac_try) 2>&5
13863 ac_status=$?
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); }; }; then
13866 ac_cv_type_char=yes
13867else
13868 echo "$as_me: failed program was:" >&5
13869sed 's/^/| /' conftest.$ac_ext >&5
13870
13871ac_cv_type_char=no
13872fi
13873rm -f conftest.$ac_objext conftest.$ac_ext
13874fi
13875echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13876echo "${ECHO_T}$ac_cv_type_char" >&6
13877
13878echo "$as_me:$LINENO: checking size of char" >&5
13879echo $ECHO_N "checking size of char... $ECHO_C" >&6
13880if test "${ac_cv_sizeof_char+set}" = set; then
13881 echo $ECHO_N "(cached) $ECHO_C" >&6
13882else
13883 if test "$ac_cv_type_char" = yes; then
13884 # The cast to unsigned long works around a bug in the HP C Compiler
13885 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13886 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13887 # This bug is HP SR number 8606223364.
13888 if test "$cross_compiling" = yes; then
13889 # Depending upon the size, compute the lo and hi bounds.
13890cat >conftest.$ac_ext <<_ACEOF
13891#line $LINENO "configure"
13892/* confdefs.h. */
13893_ACEOF
13894cat confdefs.h >>conftest.$ac_ext
13895cat >>conftest.$ac_ext <<_ACEOF
13896/* end confdefs.h. */
13897$ac_includes_default
13898int
13899main ()
13900{
13901static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13902test_array [0] = 0
13903
13904 ;
13905 return 0;
13906}
13907_ACEOF
13908rm -f conftest.$ac_objext
13909if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13910 (eval $ac_compile) 2>&5
13911 ac_status=$?
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); } &&
13914 { ac_try='test -s conftest.$ac_objext'
13915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13916 (eval $ac_try) 2>&5
13917 ac_status=$?
13918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13919 (exit $ac_status); }; }; then
13920 ac_lo=0 ac_mid=0
13921 while :; do
13922 cat >conftest.$ac_ext <<_ACEOF
13923#line $LINENO "configure"
13924/* confdefs.h. */
13925_ACEOF
13926cat confdefs.h >>conftest.$ac_ext
13927cat >>conftest.$ac_ext <<_ACEOF
13928/* end confdefs.h. */
13929$ac_includes_default
13930int
13931main ()
13932{
13933static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13934test_array [0] = 0
13935
13936 ;
13937 return 0;
13938}
13939_ACEOF
13940rm -f conftest.$ac_objext
13941if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13942 (eval $ac_compile) 2>&5
13943 ac_status=$?
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 (exit $ac_status); } &&
13946 { ac_try='test -s conftest.$ac_objext'
13947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13948 (eval $ac_try) 2>&5
13949 ac_status=$?
13950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13951 (exit $ac_status); }; }; then
13952 ac_hi=$ac_mid; break
13953else
13954 echo "$as_me: failed program was:" >&5
13955sed 's/^/| /' conftest.$ac_ext >&5
13956
13957ac_lo=`expr $ac_mid + 1`
13958 if test $ac_lo -le $ac_mid; then
13959 ac_lo= ac_hi=
13960 break
13961 fi
13962 ac_mid=`expr 2 '*' $ac_mid + 1`
13963fi
13964rm -f conftest.$ac_objext conftest.$ac_ext
13965 done
13966else
13967 echo "$as_me: failed program was:" >&5
13968sed 's/^/| /' conftest.$ac_ext >&5
13969
13970cat >conftest.$ac_ext <<_ACEOF
13971#line $LINENO "configure"
13972/* confdefs.h. */
13973_ACEOF
13974cat confdefs.h >>conftest.$ac_ext
13975cat >>conftest.$ac_ext <<_ACEOF
13976/* end confdefs.h. */
13977$ac_includes_default
13978int
13979main ()
13980{
13981static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13982test_array [0] = 0
13983
13984 ;
13985 return 0;
13986}
13987_ACEOF
13988rm -f conftest.$ac_objext
13989if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13990 (eval $ac_compile) 2>&5
13991 ac_status=$?
13992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13993 (exit $ac_status); } &&
13994 { ac_try='test -s conftest.$ac_objext'
13995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13996 (eval $ac_try) 2>&5
13997 ac_status=$?
13998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13999 (exit $ac_status); }; }; then
14000 ac_hi=-1 ac_mid=-1
14001 while :; do
14002 cat >conftest.$ac_ext <<_ACEOF
14003#line $LINENO "configure"
14004/* confdefs.h. */
14005_ACEOF
14006cat confdefs.h >>conftest.$ac_ext
14007cat >>conftest.$ac_ext <<_ACEOF
14008/* end confdefs.h. */
14009$ac_includes_default
14010int
14011main ()
14012{
14013static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14014test_array [0] = 0
14015
14016 ;
14017 return 0;
14018}
14019_ACEOF
14020rm -f conftest.$ac_objext
14021if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14022 (eval $ac_compile) 2>&5
14023 ac_status=$?
14024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14025 (exit $ac_status); } &&
14026 { ac_try='test -s conftest.$ac_objext'
14027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14028 (eval $ac_try) 2>&5
14029 ac_status=$?
14030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14031 (exit $ac_status); }; }; then
14032 ac_lo=$ac_mid; break
14033else
14034 echo "$as_me: failed program was:" >&5
14035sed 's/^/| /' conftest.$ac_ext >&5
14036
14037ac_hi=`expr '(' $ac_mid ')' - 1`
14038 if test $ac_mid -le $ac_hi; then
14039 ac_lo= ac_hi=
14040 break
14041 fi
14042 ac_mid=`expr 2 '*' $ac_mid`
14043fi
14044rm -f conftest.$ac_objext conftest.$ac_ext
14045 done
14046else
14047 echo "$as_me: failed program was:" >&5
14048sed 's/^/| /' conftest.$ac_ext >&5
14049
14050ac_lo= ac_hi=
14051fi
14052rm -f conftest.$ac_objext conftest.$ac_ext
14053fi
14054rm -f conftest.$ac_objext conftest.$ac_ext
14055# Binary search between lo and hi bounds.
14056while test "x$ac_lo" != "x$ac_hi"; do
14057 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14058 cat >conftest.$ac_ext <<_ACEOF
14059#line $LINENO "configure"
14060/* confdefs.h. */
14061_ACEOF
14062cat confdefs.h >>conftest.$ac_ext
14063cat >>conftest.$ac_ext <<_ACEOF
14064/* end confdefs.h. */
14065$ac_includes_default
14066int
14067main ()
14068{
14069static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14070test_array [0] = 0
14071
14072 ;
14073 return 0;
14074}
14075_ACEOF
14076rm -f conftest.$ac_objext
14077if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14078 (eval $ac_compile) 2>&5
14079 ac_status=$?
14080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14081 (exit $ac_status); } &&
14082 { ac_try='test -s conftest.$ac_objext'
14083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14084 (eval $ac_try) 2>&5
14085 ac_status=$?
14086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14087 (exit $ac_status); }; }; then
14088 ac_hi=$ac_mid
14089else
14090 echo "$as_me: failed program was:" >&5
14091sed 's/^/| /' conftest.$ac_ext >&5
14092
14093ac_lo=`expr '(' $ac_mid ')' + 1`
14094fi
14095rm -f conftest.$ac_objext conftest.$ac_ext
14096done
14097case $ac_lo in
14098?*) ac_cv_sizeof_char=$ac_lo;;
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; }; } ;;
14104esac
14105else
14106 if test "$cross_compiling" = yes; then
14107 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14108See \`config.log' for more details." >&5
14109echo "$as_me: error: cannot run test program while cross compiling
14110See \`config.log' for more details." >&2;}
14111 { (exit 1); exit 1; }; }
14112else
14113 cat >conftest.$ac_ext <<_ACEOF
14114#line $LINENO "configure"
14115/* confdefs.h. */
14116_ACEOF
14117cat confdefs.h >>conftest.$ac_ext
14118cat >>conftest.$ac_ext <<_ACEOF
14119/* end confdefs.h. */
14120$ac_includes_default
14121long longval () { return (long) (sizeof (char)); }
14122unsigned long ulongval () { return (long) (sizeof (char)); }
14123#include <stdio.h>
14124#include <stdlib.h>
14125int
14126main ()
14127{
14128
14129 FILE *f = fopen ("conftest.val", "w");
14130 if (! f)
14131 exit (1);
14132 if (((long) (sizeof (char))) < 0)
14133 {
14134 long i = longval ();
14135 if (i != ((long) (sizeof (char))))
14136 exit (1);
14137 fprintf (f, "%ld\n", i);
14138 }
14139 else
14140 {
14141 unsigned long i = ulongval ();
14142 if (i != ((long) (sizeof (char))))
14143 exit (1);
14144 fprintf (f, "%lu\n", i);
14145 }
14146 exit (ferror (f) || fclose (f) != 0);
14147
14148 ;
14149 return 0;
14150}
14151_ACEOF
14152rm -f conftest$ac_exeext
14153if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14154 (eval $ac_link) 2>&5
14155 ac_status=$?
14156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14157 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14159 (eval $ac_try) 2>&5
14160 ac_status=$?
14161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14162 (exit $ac_status); }; }; then
14163 ac_cv_sizeof_char=`cat conftest.val`
14164else
14165 echo "$as_me: program exited with status $ac_status" >&5
14166echo "$as_me: failed program was:" >&5
14167sed 's/^/| /' conftest.$ac_ext >&5
14168
14169( exit $ac_status )
14170{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14171See \`config.log' for more details." >&5
14172echo "$as_me: error: cannot compute sizeof (char), 77
14173See \`config.log' for more details." >&2;}
14174 { (exit 1); exit 1; }; }
14175fi
14176rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14177fi
14178fi
14179rm -f conftest.val
14180else
14181 ac_cv_sizeof_char=0
14182fi
14183fi
14184echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14185echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14186cat >>confdefs.h <<_ACEOF
14187#define SIZEOF_CHAR $ac_cv_sizeof_char
14188_ACEOF
14189
14190
14191echo "$as_me:$LINENO: checking for short" >&5
14192echo $ECHO_N "checking for short... $ECHO_C" >&6
14193if test "${ac_cv_type_short+set}" = set; then
14194 echo $ECHO_N "(cached) $ECHO_C" >&6
14195else
14196 cat >conftest.$ac_ext <<_ACEOF
14197#line $LINENO "configure"
14198/* confdefs.h. */
14199_ACEOF
14200cat confdefs.h >>conftest.$ac_ext
14201cat >>conftest.$ac_ext <<_ACEOF
14202/* end confdefs.h. */
14203$ac_includes_default
14204int
14205main ()
14206{
14207if ((short *) 0)
14208 return 0;
14209if (sizeof (short))
14210 return 0;
14211 ;
14212 return 0;
14213}
14214_ACEOF
14215rm -f conftest.$ac_objext
14216if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14217 (eval $ac_compile) 2>&5
14218 ac_status=$?
14219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14220 (exit $ac_status); } &&
14221 { ac_try='test -s conftest.$ac_objext'
14222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14223 (eval $ac_try) 2>&5
14224 ac_status=$?
14225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226 (exit $ac_status); }; }; then
14227 ac_cv_type_short=yes
14228else
14229 echo "$as_me: failed program was:" >&5
14230sed 's/^/| /' conftest.$ac_ext >&5
14231
14232ac_cv_type_short=no
14233fi
14234rm -f conftest.$ac_objext conftest.$ac_ext
14235fi
14236echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14237echo "${ECHO_T}$ac_cv_type_short" >&6
14238
14239echo "$as_me:$LINENO: checking size of short" >&5
14240echo $ECHO_N "checking size of short... $ECHO_C" >&6
14241if test "${ac_cv_sizeof_short+set}" = set; then
14242 echo $ECHO_N "(cached) $ECHO_C" >&6
14243else
14244 if test "$ac_cv_type_short" = yes; then
14245 # The cast to unsigned long works around a bug in the HP C Compiler
14246 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14247 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14248 # This bug is HP SR number 8606223364.
14249 if test "$cross_compiling" = yes; then
14250 # Depending upon the size, compute the lo and hi bounds.
14251cat >conftest.$ac_ext <<_ACEOF
14252#line $LINENO "configure"
14253/* confdefs.h. */
14254_ACEOF
14255cat confdefs.h >>conftest.$ac_ext
14256cat >>conftest.$ac_ext <<_ACEOF
14257/* end confdefs.h. */
14258$ac_includes_default
14259int
14260main ()
14261{
14262static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14263test_array [0] = 0
14264
14265 ;
14266 return 0;
14267}
14268_ACEOF
14269rm -f conftest.$ac_objext
14270if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14271 (eval $ac_compile) 2>&5
14272 ac_status=$?
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); } &&
14275 { ac_try='test -s conftest.$ac_objext'
14276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14277 (eval $ac_try) 2>&5
14278 ac_status=$?
14279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280 (exit $ac_status); }; }; then
14281 ac_lo=0 ac_mid=0
14282 while :; do
14283 cat >conftest.$ac_ext <<_ACEOF
14284#line $LINENO "configure"
14285/* confdefs.h. */
14286_ACEOF
14287cat confdefs.h >>conftest.$ac_ext
14288cat >>conftest.$ac_ext <<_ACEOF
14289/* end confdefs.h. */
14290$ac_includes_default
14291int
14292main ()
14293{
14294static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14295test_array [0] = 0
14296
14297 ;
14298 return 0;
14299}
14300_ACEOF
14301rm -f conftest.$ac_objext
14302if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14303 (eval $ac_compile) 2>&5
14304 ac_status=$?
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); } &&
14307 { ac_try='test -s conftest.$ac_objext'
14308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14309 (eval $ac_try) 2>&5
14310 ac_status=$?
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 (exit $ac_status); }; }; then
14313 ac_hi=$ac_mid; break
14314else
14315 echo "$as_me: failed program was:" >&5
14316sed 's/^/| /' conftest.$ac_ext >&5
14317
14318ac_lo=`expr $ac_mid + 1`
14319 if test $ac_lo -le $ac_mid; then
14320 ac_lo= ac_hi=
14321 break
14322 fi
14323 ac_mid=`expr 2 '*' $ac_mid + 1`
14324fi
14325rm -f conftest.$ac_objext conftest.$ac_ext
14326 done
14327else
14328 echo "$as_me: failed program was:" >&5
14329sed 's/^/| /' conftest.$ac_ext >&5
14330
14331cat >conftest.$ac_ext <<_ACEOF
14332#line $LINENO "configure"
14333/* confdefs.h. */
14334_ACEOF
14335cat confdefs.h >>conftest.$ac_ext
14336cat >>conftest.$ac_ext <<_ACEOF
14337/* end confdefs.h. */
14338$ac_includes_default
14339int
14340main ()
14341{
14342static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14343test_array [0] = 0
14344
14345 ;
14346 return 0;
14347}
14348_ACEOF
14349rm -f conftest.$ac_objext
14350if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14351 (eval $ac_compile) 2>&5
14352 ac_status=$?
14353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14354 (exit $ac_status); } &&
14355 { ac_try='test -s conftest.$ac_objext'
14356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14357 (eval $ac_try) 2>&5
14358 ac_status=$?
14359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14360 (exit $ac_status); }; }; then
14361 ac_hi=-1 ac_mid=-1
14362 while :; do
14363 cat >conftest.$ac_ext <<_ACEOF
14364#line $LINENO "configure"
14365/* confdefs.h. */
14366_ACEOF
14367cat confdefs.h >>conftest.$ac_ext
14368cat >>conftest.$ac_ext <<_ACEOF
14369/* end confdefs.h. */
14370$ac_includes_default
14371int
14372main ()
14373{
14374static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14375test_array [0] = 0
14376
14377 ;
14378 return 0;
14379}
14380_ACEOF
14381rm -f conftest.$ac_objext
14382if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14383 (eval $ac_compile) 2>&5
14384 ac_status=$?
14385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14386 (exit $ac_status); } &&
14387 { ac_try='test -s conftest.$ac_objext'
14388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14389 (eval $ac_try) 2>&5
14390 ac_status=$?
14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); }; }; then
14393 ac_lo=$ac_mid; break
14394else
14395 echo "$as_me: failed program was:" >&5
14396sed 's/^/| /' conftest.$ac_ext >&5
14397
14398ac_hi=`expr '(' $ac_mid ')' - 1`
14399 if test $ac_mid -le $ac_hi; then
14400 ac_lo= ac_hi=
14401 break
14402 fi
14403 ac_mid=`expr 2 '*' $ac_mid`
14404fi
14405rm -f conftest.$ac_objext conftest.$ac_ext
14406 done
14407else
14408 echo "$as_me: failed program was:" >&5
14409sed 's/^/| /' conftest.$ac_ext >&5
14410
14411ac_lo= ac_hi=
14412fi
14413rm -f conftest.$ac_objext conftest.$ac_ext
14414fi
14415rm -f conftest.$ac_objext conftest.$ac_ext
14416# Binary search between lo and hi bounds.
14417while test "x$ac_lo" != "x$ac_hi"; do
14418 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14419 cat >conftest.$ac_ext <<_ACEOF
14420#line $LINENO "configure"
14421/* confdefs.h. */
14422_ACEOF
14423cat confdefs.h >>conftest.$ac_ext
14424cat >>conftest.$ac_ext <<_ACEOF
14425/* end confdefs.h. */
14426$ac_includes_default
14427int
14428main ()
14429{
14430static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14431test_array [0] = 0
14432
14433 ;
14434 return 0;
14435}
14436_ACEOF
14437rm -f conftest.$ac_objext
14438if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14439 (eval $ac_compile) 2>&5
14440 ac_status=$?
14441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); } &&
14443 { ac_try='test -s conftest.$ac_objext'
14444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14445 (eval $ac_try) 2>&5
14446 ac_status=$?
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); }; }; then
14449 ac_hi=$ac_mid
14450else
14451 echo "$as_me: failed program was:" >&5
14452sed 's/^/| /' conftest.$ac_ext >&5
14453
14454ac_lo=`expr '(' $ac_mid ')' + 1`
14455fi
14456rm -f conftest.$ac_objext conftest.$ac_ext
14457done
14458case $ac_lo in
14459?*) ac_cv_sizeof_short=$ac_lo;;
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; }; } ;;
14465esac
14466else
14467 if test "$cross_compiling" = yes; then
14468 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14469See \`config.log' for more details." >&5
14470echo "$as_me: error: cannot run test program while cross compiling
14471See \`config.log' for more details." >&2;}
14472 { (exit 1); exit 1; }; }
14473else
14474 cat >conftest.$ac_ext <<_ACEOF
14475#line $LINENO "configure"
14476/* confdefs.h. */
14477_ACEOF
14478cat confdefs.h >>conftest.$ac_ext
14479cat >>conftest.$ac_ext <<_ACEOF
14480/* end confdefs.h. */
14481$ac_includes_default
14482long longval () { return (long) (sizeof (short)); }
14483unsigned long ulongval () { return (long) (sizeof (short)); }
14484#include <stdio.h>
14485#include <stdlib.h>
14486int
14487main ()
14488{
14489
14490 FILE *f = fopen ("conftest.val", "w");
14491 if (! f)
14492 exit (1);
14493 if (((long) (sizeof (short))) < 0)
14494 {
14495 long i = longval ();
14496 if (i != ((long) (sizeof (short))))
14497 exit (1);
14498 fprintf (f, "%ld\n", i);
14499 }
14500 else
14501 {
14502 unsigned long i = ulongval ();
14503 if (i != ((long) (sizeof (short))))
14504 exit (1);
14505 fprintf (f, "%lu\n", i);
14506 }
14507 exit (ferror (f) || fclose (f) != 0);
14508
14509 ;
14510 return 0;
14511}
14512_ACEOF
14513rm -f conftest$ac_exeext
14514if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14515 (eval $ac_link) 2>&5
14516 ac_status=$?
14517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14518 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14520 (eval $ac_try) 2>&5
14521 ac_status=$?
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); }; }; then
14524 ac_cv_sizeof_short=`cat conftest.val`
14525else
14526 echo "$as_me: program exited with status $ac_status" >&5
14527echo "$as_me: failed program was:" >&5
14528sed 's/^/| /' conftest.$ac_ext >&5
14529
14530( exit $ac_status )
14531{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14532See \`config.log' for more details." >&5
14533echo "$as_me: error: cannot compute sizeof (short), 77
14534See \`config.log' for more details." >&2;}
14535 { (exit 1); exit 1; }; }
14536fi
14537rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14538fi
14539fi
14540rm -f conftest.val
14541else
14542 ac_cv_sizeof_short=0
14543fi
14544fi
14545echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14546echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14547cat >>confdefs.h <<_ACEOF
14548#define SIZEOF_SHORT $ac_cv_sizeof_short
14549_ACEOF
14550
14551
14552echo "$as_me:$LINENO: checking for void *" >&5
14553echo $ECHO_N "checking for void *... $ECHO_C" >&6
14554if test "${ac_cv_type_void_p+set}" = set; then
14555 echo $ECHO_N "(cached) $ECHO_C" >&6
14556else
14557 cat >conftest.$ac_ext <<_ACEOF
14558#line $LINENO "configure"
14559/* confdefs.h. */
14560_ACEOF
14561cat confdefs.h >>conftest.$ac_ext
14562cat >>conftest.$ac_ext <<_ACEOF
14563/* end confdefs.h. */
14564$ac_includes_default
14565int
14566main ()
14567{
14568if ((void * *) 0)
14569 return 0;
14570if (sizeof (void *))
14571 return 0;
14572 ;
14573 return 0;
14574}
14575_ACEOF
14576rm -f conftest.$ac_objext
14577if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14578 (eval $ac_compile) 2>&5
14579 ac_status=$?
14580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581 (exit $ac_status); } &&
14582 { ac_try='test -s conftest.$ac_objext'
14583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14584 (eval $ac_try) 2>&5
14585 ac_status=$?
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); }; }; then
14588 ac_cv_type_void_p=yes
14589else
14590 echo "$as_me: failed program was:" >&5
14591sed 's/^/| /' conftest.$ac_ext >&5
14592
14593ac_cv_type_void_p=no
14594fi
14595rm -f conftest.$ac_objext conftest.$ac_ext
14596fi
14597echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14598echo "${ECHO_T}$ac_cv_type_void_p" >&6
14599
14600echo "$as_me:$LINENO: checking size of void *" >&5
14601echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14602if test "${ac_cv_sizeof_void_p+set}" = set; then
14603 echo $ECHO_N "(cached) $ECHO_C" >&6
14604else
14605 if test "$ac_cv_type_void_p" = yes; then
14606 # The cast to unsigned long works around a bug in the HP C Compiler
14607 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14608 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14609 # This bug is HP SR number 8606223364.
14610 if test "$cross_compiling" = yes; then
14611 # Depending upon the size, compute the lo and hi bounds.
14612cat >conftest.$ac_ext <<_ACEOF
14613#line $LINENO "configure"
14614/* confdefs.h. */
14615_ACEOF
14616cat confdefs.h >>conftest.$ac_ext
14617cat >>conftest.$ac_ext <<_ACEOF
14618/* end confdefs.h. */
14619$ac_includes_default
14620int
14621main ()
14622{
14623static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14624test_array [0] = 0
14625
14626 ;
14627 return 0;
14628}
14629_ACEOF
14630rm -f conftest.$ac_objext
14631if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14632 (eval $ac_compile) 2>&5
14633 ac_status=$?
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); } &&
14636 { ac_try='test -s conftest.$ac_objext'
14637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14638 (eval $ac_try) 2>&5
14639 ac_status=$?
14640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14641 (exit $ac_status); }; }; then
14642 ac_lo=0 ac_mid=0
14643 while :; do
14644 cat >conftest.$ac_ext <<_ACEOF
14645#line $LINENO "configure"
14646/* confdefs.h. */
14647_ACEOF
14648cat confdefs.h >>conftest.$ac_ext
14649cat >>conftest.$ac_ext <<_ACEOF
14650/* end confdefs.h. */
14651$ac_includes_default
14652int
14653main ()
14654{
14655static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14656test_array [0] = 0
14657
14658 ;
14659 return 0;
14660}
14661_ACEOF
14662rm -f conftest.$ac_objext
14663if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14664 (eval $ac_compile) 2>&5
14665 ac_status=$?
14666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14667 (exit $ac_status); } &&
14668 { ac_try='test -s conftest.$ac_objext'
14669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14670 (eval $ac_try) 2>&5
14671 ac_status=$?
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); }; }; then
14674 ac_hi=$ac_mid; break
14675else
14676 echo "$as_me: failed program was:" >&5
14677sed 's/^/| /' conftest.$ac_ext >&5
14678
14679ac_lo=`expr $ac_mid + 1`
14680 if test $ac_lo -le $ac_mid; then
14681 ac_lo= ac_hi=
14682 break
14683 fi
14684 ac_mid=`expr 2 '*' $ac_mid + 1`
14685fi
14686rm -f conftest.$ac_objext conftest.$ac_ext
14687 done
14688else
14689 echo "$as_me: failed program was:" >&5
14690sed 's/^/| /' conftest.$ac_ext >&5
14691
14692cat >conftest.$ac_ext <<_ACEOF
14693#line $LINENO "configure"
14694/* confdefs.h. */
14695_ACEOF
14696cat confdefs.h >>conftest.$ac_ext
14697cat >>conftest.$ac_ext <<_ACEOF
14698/* end confdefs.h. */
14699$ac_includes_default
14700int
14701main ()
14702{
14703static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14704test_array [0] = 0
14705
14706 ;
14707 return 0;
14708}
14709_ACEOF
14710rm -f conftest.$ac_objext
14711if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14712 (eval $ac_compile) 2>&5
14713 ac_status=$?
14714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14715 (exit $ac_status); } &&
14716 { ac_try='test -s conftest.$ac_objext'
14717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14718 (eval $ac_try) 2>&5
14719 ac_status=$?
14720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721 (exit $ac_status); }; }; then
14722 ac_hi=-1 ac_mid=-1
14723 while :; do
14724 cat >conftest.$ac_ext <<_ACEOF
14725#line $LINENO "configure"
14726/* confdefs.h. */
14727_ACEOF
14728cat confdefs.h >>conftest.$ac_ext
14729cat >>conftest.$ac_ext <<_ACEOF
14730/* end confdefs.h. */
14731$ac_includes_default
14732int
14733main ()
14734{
14735static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14736test_array [0] = 0
14737
14738 ;
14739 return 0;
14740}
14741_ACEOF
14742rm -f conftest.$ac_objext
14743if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14744 (eval $ac_compile) 2>&5
14745 ac_status=$?
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); } &&
14748 { ac_try='test -s conftest.$ac_objext'
14749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14750 (eval $ac_try) 2>&5
14751 ac_status=$?
14752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14753 (exit $ac_status); }; }; then
14754 ac_lo=$ac_mid; break
14755else
14756 echo "$as_me: failed program was:" >&5
14757sed 's/^/| /' conftest.$ac_ext >&5
14758
14759ac_hi=`expr '(' $ac_mid ')' - 1`
14760 if test $ac_mid -le $ac_hi; then
14761 ac_lo= ac_hi=
14762 break
14763 fi
14764 ac_mid=`expr 2 '*' $ac_mid`
14765fi
14766rm -f conftest.$ac_objext conftest.$ac_ext
14767 done
14768else
14769 echo "$as_me: failed program was:" >&5
14770sed 's/^/| /' conftest.$ac_ext >&5
14771
14772ac_lo= ac_hi=
14773fi
14774rm -f conftest.$ac_objext conftest.$ac_ext
14775fi
14776rm -f conftest.$ac_objext conftest.$ac_ext
14777# Binary search between lo and hi bounds.
14778while test "x$ac_lo" != "x$ac_hi"; do
14779 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14780 cat >conftest.$ac_ext <<_ACEOF
14781#line $LINENO "configure"
14782/* confdefs.h. */
14783_ACEOF
14784cat confdefs.h >>conftest.$ac_ext
14785cat >>conftest.$ac_ext <<_ACEOF
14786/* end confdefs.h. */
14787$ac_includes_default
14788int
14789main ()
14790{
14791static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14792test_array [0] = 0
14793
14794 ;
14795 return 0;
14796}
14797_ACEOF
14798rm -f conftest.$ac_objext
14799if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14800 (eval $ac_compile) 2>&5
14801 ac_status=$?
14802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14803 (exit $ac_status); } &&
14804 { ac_try='test -s conftest.$ac_objext'
14805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14806 (eval $ac_try) 2>&5
14807 ac_status=$?
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); }; }; then
14810 ac_hi=$ac_mid
14811else
14812 echo "$as_me: failed program was:" >&5
14813sed 's/^/| /' conftest.$ac_ext >&5
14814
14815ac_lo=`expr '(' $ac_mid ')' + 1`
14816fi
14817rm -f conftest.$ac_objext conftest.$ac_ext
14818done
14819case $ac_lo in
14820?*) ac_cv_sizeof_void_p=$ac_lo;;
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; }; } ;;
14826esac
14827else
14828 if test "$cross_compiling" = yes; then
14829 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14830See \`config.log' for more details." >&5
14831echo "$as_me: error: cannot run test program while cross compiling
14832See \`config.log' for more details." >&2;}
14833 { (exit 1); exit 1; }; }
14834else
14835 cat >conftest.$ac_ext <<_ACEOF
14836#line $LINENO "configure"
14837/* confdefs.h. */
14838_ACEOF
14839cat confdefs.h >>conftest.$ac_ext
14840cat >>conftest.$ac_ext <<_ACEOF
14841/* end confdefs.h. */
14842$ac_includes_default
14843long longval () { return (long) (sizeof (void *)); }
14844unsigned long ulongval () { return (long) (sizeof (void *)); }
14845#include <stdio.h>
14846#include <stdlib.h>
14847int
14848main ()
14849{
14850
14851 FILE *f = fopen ("conftest.val", "w");
14852 if (! f)
14853 exit (1);
14854 if (((long) (sizeof (void *))) < 0)
14855 {
14856 long i = longval ();
14857 if (i != ((long) (sizeof (void *))))
14858 exit (1);
14859 fprintf (f, "%ld\n", i);
14860 }
14861 else
14862 {
14863 unsigned long i = ulongval ();
14864 if (i != ((long) (sizeof (void *))))
14865 exit (1);
14866 fprintf (f, "%lu\n", i);
14867 }
14868 exit (ferror (f) || fclose (f) != 0);
14869
14870 ;
14871 return 0;
14872}
14873_ACEOF
14874rm -f conftest$ac_exeext
14875if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14876 (eval $ac_link) 2>&5
14877 ac_status=$?
14878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14881 (eval $ac_try) 2>&5
14882 ac_status=$?
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); }; }; then
14885 ac_cv_sizeof_void_p=`cat conftest.val`
14886else
14887 echo "$as_me: program exited with status $ac_status" >&5
14888echo "$as_me: failed program was:" >&5
14889sed 's/^/| /' conftest.$ac_ext >&5
14890
14891( exit $ac_status )
14892{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14893See \`config.log' for more details." >&5
14894echo "$as_me: error: cannot compute sizeof (void *), 77
14895See \`config.log' for more details." >&2;}
14896 { (exit 1); exit 1; }; }
14897fi
14898rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14899fi
14900fi
14901rm -f conftest.val
14902else
14903 ac_cv_sizeof_void_p=0
14904fi
14905fi
14906echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14907echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14908cat >>confdefs.h <<_ACEOF
14909#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14910_ACEOF
14911
14912
14913echo "$as_me:$LINENO: checking for int" >&5
14914echo $ECHO_N "checking for int... $ECHO_C" >&6
14915if test "${ac_cv_type_int+set}" = set; then
14916 echo $ECHO_N "(cached) $ECHO_C" >&6
14917else
14918 cat >conftest.$ac_ext <<_ACEOF
14919#line $LINENO "configure"
14920/* confdefs.h. */
14921_ACEOF
14922cat confdefs.h >>conftest.$ac_ext
14923cat >>conftest.$ac_ext <<_ACEOF
14924/* end confdefs.h. */
14925$ac_includes_default
14926int
14927main ()
14928{
14929if ((int *) 0)
14930 return 0;
14931if (sizeof (int))
14932 return 0;
14933 ;
14934 return 0;
14935}
14936_ACEOF
14937rm -f conftest.$ac_objext
14938if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14939 (eval $ac_compile) 2>&5
14940 ac_status=$?
14941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14942 (exit $ac_status); } &&
14943 { ac_try='test -s conftest.$ac_objext'
14944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14945 (eval $ac_try) 2>&5
14946 ac_status=$?
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); }; }; then
14949 ac_cv_type_int=yes
14950else
14951 echo "$as_me: failed program was:" >&5
14952sed 's/^/| /' conftest.$ac_ext >&5
14953
14954ac_cv_type_int=no
14955fi
14956rm -f conftest.$ac_objext conftest.$ac_ext
14957fi
14958echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14959echo "${ECHO_T}$ac_cv_type_int" >&6
14960
14961echo "$as_me:$LINENO: checking size of int" >&5
14962echo $ECHO_N "checking size of int... $ECHO_C" >&6
14963if test "${ac_cv_sizeof_int+set}" = set; then
14964 echo $ECHO_N "(cached) $ECHO_C" >&6
14965else
14966 if test "$ac_cv_type_int" = yes; then
14967 # The cast to unsigned long works around a bug in the HP C Compiler
14968 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14969 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14970 # This bug is HP SR number 8606223364.
14971 if test "$cross_compiling" = yes; then
14972 # Depending upon the size, compute the lo and hi bounds.
14973cat >conftest.$ac_ext <<_ACEOF
14974#line $LINENO "configure"
14975/* confdefs.h. */
14976_ACEOF
14977cat confdefs.h >>conftest.$ac_ext
14978cat >>conftest.$ac_ext <<_ACEOF
14979/* end confdefs.h. */
14980$ac_includes_default
14981int
14982main ()
14983{
14984static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14985test_array [0] = 0
14986
14987 ;
14988 return 0;
14989}
14990_ACEOF
14991rm -f conftest.$ac_objext
14992if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14993 (eval $ac_compile) 2>&5
14994 ac_status=$?
14995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14996 (exit $ac_status); } &&
14997 { ac_try='test -s conftest.$ac_objext'
14998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14999 (eval $ac_try) 2>&5
15000 ac_status=$?
15001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 (exit $ac_status); }; }; then
15003 ac_lo=0 ac_mid=0
15004 while :; do
15005 cat >conftest.$ac_ext <<_ACEOF
15006#line $LINENO "configure"
15007/* confdefs.h. */
15008_ACEOF
15009cat confdefs.h >>conftest.$ac_ext
15010cat >>conftest.$ac_ext <<_ACEOF
15011/* end confdefs.h. */
15012$ac_includes_default
15013int
15014main ()
15015{
15016static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15017test_array [0] = 0
15018
15019 ;
15020 return 0;
15021}
15022_ACEOF
15023rm -f conftest.$ac_objext
15024if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15025 (eval $ac_compile) 2>&5
15026 ac_status=$?
15027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15028 (exit $ac_status); } &&
15029 { ac_try='test -s conftest.$ac_objext'
15030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15031 (eval $ac_try) 2>&5
15032 ac_status=$?
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); }; }; then
15035 ac_hi=$ac_mid; break
15036else
15037 echo "$as_me: failed program was:" >&5
15038sed 's/^/| /' conftest.$ac_ext >&5
15039
15040ac_lo=`expr $ac_mid + 1`
15041 if test $ac_lo -le $ac_mid; then
15042 ac_lo= ac_hi=
15043 break
15044 fi
15045 ac_mid=`expr 2 '*' $ac_mid + 1`
15046fi
15047rm -f conftest.$ac_objext conftest.$ac_ext
15048 done
15049else
15050 echo "$as_me: failed program was:" >&5
15051sed 's/^/| /' conftest.$ac_ext >&5
15052
15053cat >conftest.$ac_ext <<_ACEOF
15054#line $LINENO "configure"
15055/* confdefs.h. */
15056_ACEOF
15057cat confdefs.h >>conftest.$ac_ext
15058cat >>conftest.$ac_ext <<_ACEOF
15059/* end confdefs.h. */
15060$ac_includes_default
15061int
15062main ()
15063{
15064static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15065test_array [0] = 0
15066
15067 ;
15068 return 0;
15069}
15070_ACEOF
15071rm -f conftest.$ac_objext
15072if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15073 (eval $ac_compile) 2>&5
15074 ac_status=$?
15075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 (exit $ac_status); } &&
15077 { ac_try='test -s conftest.$ac_objext'
15078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15079 (eval $ac_try) 2>&5
15080 ac_status=$?
15081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15082 (exit $ac_status); }; }; then
15083 ac_hi=-1 ac_mid=-1
15084 while :; do
15085 cat >conftest.$ac_ext <<_ACEOF
15086#line $LINENO "configure"
15087/* confdefs.h. */
15088_ACEOF
15089cat confdefs.h >>conftest.$ac_ext
15090cat >>conftest.$ac_ext <<_ACEOF
15091/* end confdefs.h. */
15092$ac_includes_default
15093int
15094main ()
15095{
15096static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15097test_array [0] = 0
15098
15099 ;
15100 return 0;
15101}
15102_ACEOF
15103rm -f conftest.$ac_objext
15104if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15105 (eval $ac_compile) 2>&5
15106 ac_status=$?
15107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15108 (exit $ac_status); } &&
15109 { ac_try='test -s conftest.$ac_objext'
15110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15111 (eval $ac_try) 2>&5
15112 ac_status=$?
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); }; }; then
15115 ac_lo=$ac_mid; break
15116else
15117 echo "$as_me: failed program was:" >&5
15118sed 's/^/| /' conftest.$ac_ext >&5
15119
15120ac_hi=`expr '(' $ac_mid ')' - 1`
15121 if test $ac_mid -le $ac_hi; then
15122 ac_lo= ac_hi=
15123 break
15124 fi
15125 ac_mid=`expr 2 '*' $ac_mid`
15126fi
15127rm -f conftest.$ac_objext conftest.$ac_ext
15128 done
15129else
15130 echo "$as_me: failed program was:" >&5
15131sed 's/^/| /' conftest.$ac_ext >&5
15132
15133ac_lo= ac_hi=
15134fi
15135rm -f conftest.$ac_objext conftest.$ac_ext
15136fi
15137rm -f conftest.$ac_objext conftest.$ac_ext
15138# Binary search between lo and hi bounds.
15139while test "x$ac_lo" != "x$ac_hi"; do
15140 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15141 cat >conftest.$ac_ext <<_ACEOF
15142#line $LINENO "configure"
15143/* confdefs.h. */
15144_ACEOF
15145cat confdefs.h >>conftest.$ac_ext
15146cat >>conftest.$ac_ext <<_ACEOF
15147/* end confdefs.h. */
15148$ac_includes_default
15149int
15150main ()
15151{
15152static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15153test_array [0] = 0
15154
15155 ;
15156 return 0;
15157}
15158_ACEOF
15159rm -f conftest.$ac_objext
15160if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15161 (eval $ac_compile) 2>&5
15162 ac_status=$?
15163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15164 (exit $ac_status); } &&
15165 { ac_try='test -s conftest.$ac_objext'
15166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15167 (eval $ac_try) 2>&5
15168 ac_status=$?
15169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); }; }; then
15171 ac_hi=$ac_mid
15172else
15173 echo "$as_me: failed program was:" >&5
15174sed 's/^/| /' conftest.$ac_ext >&5
15175
15176ac_lo=`expr '(' $ac_mid ')' + 1`
15177fi
15178rm -f conftest.$ac_objext conftest.$ac_ext
15179done
15180case $ac_lo in
15181?*) ac_cv_sizeof_int=$ac_lo;;
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; }; } ;;
15187esac
15188else
15189 if test "$cross_compiling" = yes; then
15190 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15191See \`config.log' for more details." >&5
15192echo "$as_me: error: cannot run test program while cross compiling
15193See \`config.log' for more details." >&2;}
15194 { (exit 1); exit 1; }; }
15195else
15196 cat >conftest.$ac_ext <<_ACEOF
15197#line $LINENO "configure"
15198/* confdefs.h. */
15199_ACEOF
15200cat confdefs.h >>conftest.$ac_ext
15201cat >>conftest.$ac_ext <<_ACEOF
15202/* end confdefs.h. */
15203$ac_includes_default
15204long longval () { return (long) (sizeof (int)); }
15205unsigned long ulongval () { return (long) (sizeof (int)); }
15206#include <stdio.h>
15207#include <stdlib.h>
15208int
15209main ()
15210{
15211
15212 FILE *f = fopen ("conftest.val", "w");
15213 if (! f)
15214 exit (1);
15215 if (((long) (sizeof (int))) < 0)
15216 {
15217 long i = longval ();
15218 if (i != ((long) (sizeof (int))))
15219 exit (1);
15220 fprintf (f, "%ld\n", i);
15221 }
15222 else
15223 {
15224 unsigned long i = ulongval ();
15225 if (i != ((long) (sizeof (int))))
15226 exit (1);
15227 fprintf (f, "%lu\n", i);
15228 }
15229 exit (ferror (f) || fclose (f) != 0);
15230
15231 ;
15232 return 0;
15233}
15234_ACEOF
15235rm -f conftest$ac_exeext
15236if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15237 (eval $ac_link) 2>&5
15238 ac_status=$?
15239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15240 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15242 (eval $ac_try) 2>&5
15243 ac_status=$?
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); }; }; then
15246 ac_cv_sizeof_int=`cat conftest.val`
15247else
15248 echo "$as_me: program exited with status $ac_status" >&5
15249echo "$as_me: failed program was:" >&5
15250sed 's/^/| /' conftest.$ac_ext >&5
15251
15252( exit $ac_status )
15253{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15254See \`config.log' for more details." >&5
15255echo "$as_me: error: cannot compute sizeof (int), 77
15256See \`config.log' for more details." >&2;}
15257 { (exit 1); exit 1; }; }
15258fi
15259rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15260fi
15261fi
15262rm -f conftest.val
15263else
15264 ac_cv_sizeof_int=0
15265fi
15266fi
15267echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15268echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15269cat >>confdefs.h <<_ACEOF
15270#define SIZEOF_INT $ac_cv_sizeof_int
15271_ACEOF
15272
15273
15274echo "$as_me:$LINENO: checking for long" >&5
15275echo $ECHO_N "checking for long... $ECHO_C" >&6
15276if test "${ac_cv_type_long+set}" = set; then
15277 echo $ECHO_N "(cached) $ECHO_C" >&6
15278else
15279 cat >conftest.$ac_ext <<_ACEOF
15280#line $LINENO "configure"
15281/* confdefs.h. */
15282_ACEOF
15283cat confdefs.h >>conftest.$ac_ext
15284cat >>conftest.$ac_ext <<_ACEOF
15285/* end confdefs.h. */
15286$ac_includes_default
15287int
15288main ()
15289{
15290if ((long *) 0)
15291 return 0;
15292if (sizeof (long))
15293 return 0;
15294 ;
15295 return 0;
15296}
15297_ACEOF
15298rm -f conftest.$ac_objext
15299if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15300 (eval $ac_compile) 2>&5
15301 ac_status=$?
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); } &&
15304 { ac_try='test -s conftest.$ac_objext'
15305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15306 (eval $ac_try) 2>&5
15307 ac_status=$?
15308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309 (exit $ac_status); }; }; then
15310 ac_cv_type_long=yes
15311else
15312 echo "$as_me: failed program was:" >&5
15313sed 's/^/| /' conftest.$ac_ext >&5
15314
15315ac_cv_type_long=no
15316fi
15317rm -f conftest.$ac_objext conftest.$ac_ext
15318fi
15319echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15320echo "${ECHO_T}$ac_cv_type_long" >&6
15321
15322echo "$as_me:$LINENO: checking size of long" >&5
15323echo $ECHO_N "checking size of long... $ECHO_C" >&6
15324if test "${ac_cv_sizeof_long+set}" = set; then
15325 echo $ECHO_N "(cached) $ECHO_C" >&6
15326else
15327 if test "$ac_cv_type_long" = yes; then
15328 # The cast to unsigned long works around a bug in the HP C Compiler
15329 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15330 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15331 # This bug is HP SR number 8606223364.
15332 if test "$cross_compiling" = yes; then
15333 # Depending upon the size, compute the lo and hi bounds.
15334cat >conftest.$ac_ext <<_ACEOF
15335#line $LINENO "configure"
15336/* confdefs.h. */
15337_ACEOF
15338cat confdefs.h >>conftest.$ac_ext
15339cat >>conftest.$ac_ext <<_ACEOF
15340/* end confdefs.h. */
15341$ac_includes_default
15342int
15343main ()
15344{
15345static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15346test_array [0] = 0
15347
15348 ;
15349 return 0;
15350}
15351_ACEOF
15352rm -f conftest.$ac_objext
15353if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15354 (eval $ac_compile) 2>&5
15355 ac_status=$?
15356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15357 (exit $ac_status); } &&
15358 { ac_try='test -s conftest.$ac_objext'
15359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15360 (eval $ac_try) 2>&5
15361 ac_status=$?
15362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363 (exit $ac_status); }; }; then
15364 ac_lo=0 ac_mid=0
15365 while :; do
15366 cat >conftest.$ac_ext <<_ACEOF
15367#line $LINENO "configure"
15368/* confdefs.h. */
15369_ACEOF
15370cat confdefs.h >>conftest.$ac_ext
15371cat >>conftest.$ac_ext <<_ACEOF
15372/* end confdefs.h. */
15373$ac_includes_default
15374int
15375main ()
15376{
15377static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15378test_array [0] = 0
15379
15380 ;
15381 return 0;
15382}
15383_ACEOF
15384rm -f conftest.$ac_objext
15385if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15386 (eval $ac_compile) 2>&5
15387 ac_status=$?
15388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389 (exit $ac_status); } &&
15390 { ac_try='test -s conftest.$ac_objext'
15391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15392 (eval $ac_try) 2>&5
15393 ac_status=$?
15394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15395 (exit $ac_status); }; }; then
15396 ac_hi=$ac_mid; break
15397else
15398 echo "$as_me: failed program was:" >&5
15399sed 's/^/| /' conftest.$ac_ext >&5
15400
15401ac_lo=`expr $ac_mid + 1`
15402 if test $ac_lo -le $ac_mid; then
15403 ac_lo= ac_hi=
15404 break
15405 fi
15406 ac_mid=`expr 2 '*' $ac_mid + 1`
15407fi
15408rm -f conftest.$ac_objext conftest.$ac_ext
15409 done
15410else
15411 echo "$as_me: failed program was:" >&5
15412sed 's/^/| /' conftest.$ac_ext >&5
15413
15414cat >conftest.$ac_ext <<_ACEOF
15415#line $LINENO "configure"
15416/* confdefs.h. */
15417_ACEOF
15418cat confdefs.h >>conftest.$ac_ext
15419cat >>conftest.$ac_ext <<_ACEOF
15420/* end confdefs.h. */
15421$ac_includes_default
15422int
15423main ()
15424{
15425static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15426test_array [0] = 0
15427
15428 ;
15429 return 0;
15430}
15431_ACEOF
15432rm -f conftest.$ac_objext
15433if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15434 (eval $ac_compile) 2>&5
15435 ac_status=$?
15436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437 (exit $ac_status); } &&
15438 { ac_try='test -s conftest.$ac_objext'
15439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15440 (eval $ac_try) 2>&5
15441 ac_status=$?
15442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15443 (exit $ac_status); }; }; then
15444 ac_hi=-1 ac_mid=-1
15445 while :; do
15446 cat >conftest.$ac_ext <<_ACEOF
15447#line $LINENO "configure"
15448/* confdefs.h. */
15449_ACEOF
15450cat confdefs.h >>conftest.$ac_ext
15451cat >>conftest.$ac_ext <<_ACEOF
15452/* end confdefs.h. */
15453$ac_includes_default
15454int
15455main ()
15456{
15457static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15458test_array [0] = 0
15459
15460 ;
15461 return 0;
15462}
15463_ACEOF
15464rm -f conftest.$ac_objext
15465if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15466 (eval $ac_compile) 2>&5
15467 ac_status=$?
15468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469 (exit $ac_status); } &&
15470 { ac_try='test -s conftest.$ac_objext'
15471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15472 (eval $ac_try) 2>&5
15473 ac_status=$?
15474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475 (exit $ac_status); }; }; then
15476 ac_lo=$ac_mid; break
15477else
15478 echo "$as_me: failed program was:" >&5
15479sed 's/^/| /' conftest.$ac_ext >&5
15480
15481ac_hi=`expr '(' $ac_mid ')' - 1`
15482 if test $ac_mid -le $ac_hi; then
15483 ac_lo= ac_hi=
15484 break
15485 fi
15486 ac_mid=`expr 2 '*' $ac_mid`
15487fi
15488rm -f conftest.$ac_objext conftest.$ac_ext
15489 done
15490else
15491 echo "$as_me: failed program was:" >&5
15492sed 's/^/| /' conftest.$ac_ext >&5
15493
15494ac_lo= ac_hi=
15495fi
15496rm -f conftest.$ac_objext conftest.$ac_ext
15497fi
15498rm -f conftest.$ac_objext conftest.$ac_ext
15499# Binary search between lo and hi bounds.
15500while test "x$ac_lo" != "x$ac_hi"; do
15501 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15502 cat >conftest.$ac_ext <<_ACEOF
15503#line $LINENO "configure"
15504/* confdefs.h. */
15505_ACEOF
15506cat confdefs.h >>conftest.$ac_ext
15507cat >>conftest.$ac_ext <<_ACEOF
15508/* end confdefs.h. */
15509$ac_includes_default
15510int
15511main ()
15512{
15513static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15514test_array [0] = 0
15515
15516 ;
15517 return 0;
15518}
15519_ACEOF
15520rm -f conftest.$ac_objext
15521if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15522 (eval $ac_compile) 2>&5
15523 ac_status=$?
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); } &&
15526 { ac_try='test -s conftest.$ac_objext'
15527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15528 (eval $ac_try) 2>&5
15529 ac_status=$?
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); }; }; then
15532 ac_hi=$ac_mid
15533else
15534 echo "$as_me: failed program was:" >&5
15535sed 's/^/| /' conftest.$ac_ext >&5
15536
15537ac_lo=`expr '(' $ac_mid ')' + 1`
15538fi
15539rm -f conftest.$ac_objext conftest.$ac_ext
15540done
15541case $ac_lo in
15542?*) ac_cv_sizeof_long=$ac_lo;;
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; }; } ;;
15548esac
15549else
15550 if test "$cross_compiling" = yes; then
15551 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15552See \`config.log' for more details." >&5
15553echo "$as_me: error: cannot run test program while cross compiling
15554See \`config.log' for more details." >&2;}
15555 { (exit 1); exit 1; }; }
15556else
15557 cat >conftest.$ac_ext <<_ACEOF
15558#line $LINENO "configure"
15559/* confdefs.h. */
15560_ACEOF
15561cat confdefs.h >>conftest.$ac_ext
15562cat >>conftest.$ac_ext <<_ACEOF
15563/* end confdefs.h. */
15564$ac_includes_default
15565long longval () { return (long) (sizeof (long)); }
15566unsigned long ulongval () { return (long) (sizeof (long)); }
15567#include <stdio.h>
15568#include <stdlib.h>
15569int
15570main ()
15571{
15572
15573 FILE *f = fopen ("conftest.val", "w");
15574 if (! f)
15575 exit (1);
15576 if (((long) (sizeof (long))) < 0)
15577 {
15578 long i = longval ();
15579 if (i != ((long) (sizeof (long))))
15580 exit (1);
15581 fprintf (f, "%ld\n", i);
15582 }
15583 else
15584 {
15585 unsigned long i = ulongval ();
15586 if (i != ((long) (sizeof (long))))
15587 exit (1);
15588 fprintf (f, "%lu\n", i);
15589 }
15590 exit (ferror (f) || fclose (f) != 0);
15591
15592 ;
15593 return 0;
15594}
15595_ACEOF
15596rm -f conftest$ac_exeext
15597if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15598 (eval $ac_link) 2>&5
15599 ac_status=$?
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15603 (eval $ac_try) 2>&5
15604 ac_status=$?
15605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15606 (exit $ac_status); }; }; then
15607 ac_cv_sizeof_long=`cat conftest.val`
15608else
15609 echo "$as_me: program exited with status $ac_status" >&5
15610echo "$as_me: failed program was:" >&5
15611sed 's/^/| /' conftest.$ac_ext >&5
15612
15613( exit $ac_status )
15614{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15615See \`config.log' for more details." >&5
15616echo "$as_me: error: cannot compute sizeof (long), 77
15617See \`config.log' for more details." >&2;}
15618 { (exit 1); exit 1; }; }
15619fi
15620rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15621fi
15622fi
15623rm -f conftest.val
15624else
15625 ac_cv_sizeof_long=0
15626fi
15627fi
15628echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15629echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15630cat >>confdefs.h <<_ACEOF
15631#define SIZEOF_LONG $ac_cv_sizeof_long
15632_ACEOF
15633
15634
15635echo "$as_me:$LINENO: checking for size_t" >&5
15636echo $ECHO_N "checking for size_t... $ECHO_C" >&6
15637if test "${ac_cv_type_size_t+set}" = set; then
15638 echo $ECHO_N "(cached) $ECHO_C" >&6
15639else
15640 cat >conftest.$ac_ext <<_ACEOF
15641#line $LINENO "configure"
15642/* confdefs.h. */
15643_ACEOF
15644cat confdefs.h >>conftest.$ac_ext
15645cat >>conftest.$ac_ext <<_ACEOF
15646/* end confdefs.h. */
15647$ac_includes_default
15648int
15649main ()
15650{
15651if ((size_t *) 0)
15652 return 0;
15653if (sizeof (size_t))
15654 return 0;
15655 ;
15656 return 0;
15657}
15658_ACEOF
15659rm -f conftest.$ac_objext
15660if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15661 (eval $ac_compile) 2>&5
15662 ac_status=$?
15663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15664 (exit $ac_status); } &&
15665 { ac_try='test -s conftest.$ac_objext'
15666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15667 (eval $ac_try) 2>&5
15668 ac_status=$?
15669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15670 (exit $ac_status); }; }; then
15671 ac_cv_type_size_t=yes
15672else
15673 echo "$as_me: failed program was:" >&5
15674sed 's/^/| /' conftest.$ac_ext >&5
15675
15676ac_cv_type_size_t=no
15677fi
15678rm -f conftest.$ac_objext conftest.$ac_ext
15679fi
15680echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
15681echo "${ECHO_T}$ac_cv_type_size_t" >&6
15682
15683echo "$as_me:$LINENO: checking size of size_t" >&5
15684echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
15685if test "${ac_cv_sizeof_size_t+set}" = set; then
15686 echo $ECHO_N "(cached) $ECHO_C" >&6
15687else
15688 if test "$ac_cv_type_size_t" = yes; then
15689 # The cast to unsigned long works around a bug in the HP C Compiler
15690 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15691 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15692 # This bug is HP SR number 8606223364.
15693 if test "$cross_compiling" = yes; then
15694 # Depending upon the size, compute the lo and hi bounds.
15695cat >conftest.$ac_ext <<_ACEOF
15696#line $LINENO "configure"
15697/* confdefs.h. */
15698_ACEOF
15699cat confdefs.h >>conftest.$ac_ext
15700cat >>conftest.$ac_ext <<_ACEOF
15701/* end confdefs.h. */
15702$ac_includes_default
15703int
15704main ()
15705{
15706static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
15707test_array [0] = 0
15708
15709 ;
15710 return 0;
15711}
15712_ACEOF
15713rm -f conftest.$ac_objext
15714if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15715 (eval $ac_compile) 2>&5
15716 ac_status=$?
15717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718 (exit $ac_status); } &&
15719 { ac_try='test -s conftest.$ac_objext'
15720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15721 (eval $ac_try) 2>&5
15722 ac_status=$?
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); }; }; then
15725 ac_lo=0 ac_mid=0
15726 while :; do
15727 cat >conftest.$ac_ext <<_ACEOF
15728#line $LINENO "configure"
15729/* confdefs.h. */
15730_ACEOF
15731cat confdefs.h >>conftest.$ac_ext
15732cat >>conftest.$ac_ext <<_ACEOF
15733/* end confdefs.h. */
15734$ac_includes_default
15735int
15736main ()
15737{
15738static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
15739test_array [0] = 0
15740
15741 ;
15742 return 0;
15743}
15744_ACEOF
15745rm -f conftest.$ac_objext
15746if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15747 (eval $ac_compile) 2>&5
15748 ac_status=$?
15749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750 (exit $ac_status); } &&
15751 { ac_try='test -s conftest.$ac_objext'
15752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15753 (eval $ac_try) 2>&5
15754 ac_status=$?
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); }; }; then
15757 ac_hi=$ac_mid; break
15758else
15759 echo "$as_me: failed program was:" >&5
15760sed 's/^/| /' conftest.$ac_ext >&5
15761
15762ac_lo=`expr $ac_mid + 1`
15763 if test $ac_lo -le $ac_mid; then
15764 ac_lo= ac_hi=
15765 break
15766 fi
15767 ac_mid=`expr 2 '*' $ac_mid + 1`
15768fi
15769rm -f conftest.$ac_objext conftest.$ac_ext
15770 done
15771else
15772 echo "$as_me: failed program was:" >&5
15773sed 's/^/| /' conftest.$ac_ext >&5
15774
15775cat >conftest.$ac_ext <<_ACEOF
15776#line $LINENO "configure"
15777/* confdefs.h. */
15778_ACEOF
15779cat confdefs.h >>conftest.$ac_ext
15780cat >>conftest.$ac_ext <<_ACEOF
15781/* end confdefs.h. */
15782$ac_includes_default
15783int
15784main ()
15785{
15786static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
15787test_array [0] = 0
15788
15789 ;
15790 return 0;
15791}
15792_ACEOF
15793rm -f conftest.$ac_objext
15794if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15795 (eval $ac_compile) 2>&5
15796 ac_status=$?
15797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15798 (exit $ac_status); } &&
15799 { ac_try='test -s conftest.$ac_objext'
15800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15801 (eval $ac_try) 2>&5
15802 ac_status=$?
15803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804 (exit $ac_status); }; }; then
15805 ac_hi=-1 ac_mid=-1
15806 while :; do
15807 cat >conftest.$ac_ext <<_ACEOF
15808#line $LINENO "configure"
15809/* confdefs.h. */
15810_ACEOF
15811cat confdefs.h >>conftest.$ac_ext
15812cat >>conftest.$ac_ext <<_ACEOF
15813/* end confdefs.h. */
15814$ac_includes_default
15815int
15816main ()
15817{
15818static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
15819test_array [0] = 0
15820
15821 ;
15822 return 0;
15823}
15824_ACEOF
15825rm -f conftest.$ac_objext
15826if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15827 (eval $ac_compile) 2>&5
15828 ac_status=$?
15829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15830 (exit $ac_status); } &&
15831 { ac_try='test -s conftest.$ac_objext'
15832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15833 (eval $ac_try) 2>&5
15834 ac_status=$?
15835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15836 (exit $ac_status); }; }; then
15837 ac_lo=$ac_mid; break
15838else
15839 echo "$as_me: failed program was:" >&5
15840sed 's/^/| /' conftest.$ac_ext >&5
15841
15842ac_hi=`expr '(' $ac_mid ')' - 1`
15843 if test $ac_mid -le $ac_hi; then
15844 ac_lo= ac_hi=
15845 break
15846 fi
15847 ac_mid=`expr 2 '*' $ac_mid`
15848fi
15849rm -f conftest.$ac_objext conftest.$ac_ext
15850 done
15851else
15852 echo "$as_me: failed program was:" >&5
15853sed 's/^/| /' conftest.$ac_ext >&5
15854
15855ac_lo= ac_hi=
15856fi
15857rm -f conftest.$ac_objext conftest.$ac_ext
15858fi
15859rm -f conftest.$ac_objext conftest.$ac_ext
15860# Binary search between lo and hi bounds.
15861while test "x$ac_lo" != "x$ac_hi"; do
15862 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15863 cat >conftest.$ac_ext <<_ACEOF
15864#line $LINENO "configure"
15865/* confdefs.h. */
15866_ACEOF
15867cat confdefs.h >>conftest.$ac_ext
15868cat >>conftest.$ac_ext <<_ACEOF
15869/* end confdefs.h. */
15870$ac_includes_default
15871int
15872main ()
15873{
15874static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
15875test_array [0] = 0
15876
15877 ;
15878 return 0;
15879}
15880_ACEOF
15881rm -f conftest.$ac_objext
15882if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15883 (eval $ac_compile) 2>&5
15884 ac_status=$?
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); } &&
15887 { ac_try='test -s conftest.$ac_objext'
15888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15889 (eval $ac_try) 2>&5
15890 ac_status=$?
15891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892 (exit $ac_status); }; }; then
15893 ac_hi=$ac_mid
15894else
15895 echo "$as_me: failed program was:" >&5
15896sed 's/^/| /' conftest.$ac_ext >&5
15897
15898ac_lo=`expr '(' $ac_mid ')' + 1`
15899fi
15900rm -f conftest.$ac_objext conftest.$ac_ext
15901done
15902case $ac_lo in
15903?*) ac_cv_sizeof_size_t=$ac_lo;;
15904'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
15905See \`config.log' for more details." >&5
15906echo "$as_me: error: cannot compute sizeof (size_t), 77
15907See \`config.log' for more details." >&2;}
15908 { (exit 1); exit 1; }; } ;;
15909esac
15910else
15911 if test "$cross_compiling" = yes; then
15912 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15913See \`config.log' for more details." >&5
15914echo "$as_me: error: cannot run test program while cross compiling
15915See \`config.log' for more details." >&2;}
15916 { (exit 1); exit 1; }; }
15917else
15918 cat >conftest.$ac_ext <<_ACEOF
15919#line $LINENO "configure"
15920/* confdefs.h. */
15921_ACEOF
15922cat confdefs.h >>conftest.$ac_ext
15923cat >>conftest.$ac_ext <<_ACEOF
15924/* end confdefs.h. */
15925$ac_includes_default
15926long longval () { return (long) (sizeof (size_t)); }
15927unsigned long ulongval () { return (long) (sizeof (size_t)); }
15928#include <stdio.h>
15929#include <stdlib.h>
15930int
15931main ()
15932{
15933
15934 FILE *f = fopen ("conftest.val", "w");
15935 if (! f)
15936 exit (1);
15937 if (((long) (sizeof (size_t))) < 0)
15938 {
15939 long i = longval ();
15940 if (i != ((long) (sizeof (size_t))))
15941 exit (1);
15942 fprintf (f, "%ld\n", i);
15943 }
15944 else
15945 {
15946 unsigned long i = ulongval ();
15947 if (i != ((long) (sizeof (size_t))))
15948 exit (1);
15949 fprintf (f, "%lu\n", i);
15950 }
15951 exit (ferror (f) || fclose (f) != 0);
15952
15953 ;
15954 return 0;
15955}
15956_ACEOF
15957rm -f conftest$ac_exeext
15958if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15959 (eval $ac_link) 2>&5
15960 ac_status=$?
15961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15964 (eval $ac_try) 2>&5
15965 ac_status=$?
15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967 (exit $ac_status); }; }; then
15968 ac_cv_sizeof_size_t=`cat conftest.val`
15969else
15970 echo "$as_me: program exited with status $ac_status" >&5
15971echo "$as_me: failed program was:" >&5
15972sed 's/^/| /' conftest.$ac_ext >&5
15973
15974( exit $ac_status )
15975{ { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
15976See \`config.log' for more details." >&5
15977echo "$as_me: error: cannot compute sizeof (size_t), 77
15978See \`config.log' for more details." >&2;}
15979 { (exit 1); exit 1; }; }
15980fi
15981rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15982fi
15983fi
15984rm -f conftest.val
15985else
15986 ac_cv_sizeof_size_t=0
15987fi
15988fi
15989echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
15990echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
15991cat >>confdefs.h <<_ACEOF
15992#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
15993_ACEOF
15994
15995
15996
15997case "${host}" in
15998 arm-*-linux* )
15999 echo "$as_me:$LINENO: checking for long long" >&5
16000echo $ECHO_N "checking for long long... $ECHO_C" >&6
16001if test "${ac_cv_type_long_long+set}" = set; then
16002 echo $ECHO_N "(cached) $ECHO_C" >&6
16003else
16004 cat >conftest.$ac_ext <<_ACEOF
16005#line $LINENO "configure"
16006/* confdefs.h. */
16007_ACEOF
16008cat confdefs.h >>conftest.$ac_ext
16009cat >>conftest.$ac_ext <<_ACEOF
16010/* end confdefs.h. */
16011$ac_includes_default
16012int
16013main ()
16014{
16015if ((long long *) 0)
16016 return 0;
16017if (sizeof (long long))
16018 return 0;
16019 ;
16020 return 0;
16021}
16022_ACEOF
16023rm -f conftest.$ac_objext
16024if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16025 (eval $ac_compile) 2>&5
16026 ac_status=$?
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); } &&
16029 { ac_try='test -s conftest.$ac_objext'
16030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16031 (eval $ac_try) 2>&5
16032 ac_status=$?
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); }; }; then
16035 ac_cv_type_long_long=yes
16036else
16037 echo "$as_me: failed program was:" >&5
16038sed 's/^/| /' conftest.$ac_ext >&5
16039
16040ac_cv_type_long_long=no
16041fi
16042rm -f conftest.$ac_objext conftest.$ac_ext
16043fi
16044echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16045echo "${ECHO_T}$ac_cv_type_long_long" >&6
16046
16047echo "$as_me:$LINENO: checking size of long long" >&5
16048echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16049if test "${ac_cv_sizeof_long_long+set}" = set; then
16050 echo $ECHO_N "(cached) $ECHO_C" >&6
16051else
16052 if test "$ac_cv_type_long_long" = yes; then
16053 # The cast to unsigned long works around a bug in the HP C Compiler
16054 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16055 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16056 # This bug is HP SR number 8606223364.
16057 if test "$cross_compiling" = yes; then
16058 # Depending upon the size, compute the lo and hi bounds.
16059cat >conftest.$ac_ext <<_ACEOF
16060#line $LINENO "configure"
16061/* confdefs.h. */
16062_ACEOF
16063cat confdefs.h >>conftest.$ac_ext
16064cat >>conftest.$ac_ext <<_ACEOF
16065/* end confdefs.h. */
16066$ac_includes_default
16067int
16068main ()
16069{
16070static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16071test_array [0] = 0
16072
16073 ;
16074 return 0;
16075}
16076_ACEOF
16077rm -f conftest.$ac_objext
16078if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16079 (eval $ac_compile) 2>&5
16080 ac_status=$?
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); } &&
16083 { ac_try='test -s conftest.$ac_objext'
16084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16085 (eval $ac_try) 2>&5
16086 ac_status=$?
16087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16088 (exit $ac_status); }; }; then
16089 ac_lo=0 ac_mid=0
16090 while :; do
16091 cat >conftest.$ac_ext <<_ACEOF
16092#line $LINENO "configure"
16093/* confdefs.h. */
16094_ACEOF
16095cat confdefs.h >>conftest.$ac_ext
16096cat >>conftest.$ac_ext <<_ACEOF
16097/* end confdefs.h. */
16098$ac_includes_default
16099int
16100main ()
16101{
16102static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16103test_array [0] = 0
16104
16105 ;
16106 return 0;
16107}
16108_ACEOF
16109rm -f conftest.$ac_objext
16110if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16111 (eval $ac_compile) 2>&5
16112 ac_status=$?
16113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16114 (exit $ac_status); } &&
16115 { ac_try='test -s conftest.$ac_objext'
16116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16117 (eval $ac_try) 2>&5
16118 ac_status=$?
16119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16120 (exit $ac_status); }; }; then
16121 ac_hi=$ac_mid; break
16122else
16123 echo "$as_me: failed program was:" >&5
16124sed 's/^/| /' conftest.$ac_ext >&5
16125
16126ac_lo=`expr $ac_mid + 1`
16127 if test $ac_lo -le $ac_mid; then
16128 ac_lo= ac_hi=
16129 break
16130 fi
16131 ac_mid=`expr 2 '*' $ac_mid + 1`
16132fi
16133rm -f conftest.$ac_objext conftest.$ac_ext
16134 done
16135else
16136 echo "$as_me: failed program was:" >&5
16137sed 's/^/| /' conftest.$ac_ext >&5
16138
16139cat >conftest.$ac_ext <<_ACEOF
16140#line $LINENO "configure"
16141/* confdefs.h. */
16142_ACEOF
16143cat confdefs.h >>conftest.$ac_ext
16144cat >>conftest.$ac_ext <<_ACEOF
16145/* end confdefs.h. */
16146$ac_includes_default
16147int
16148main ()
16149{
16150static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16151test_array [0] = 0
16152
16153 ;
16154 return 0;
16155}
16156_ACEOF
16157rm -f conftest.$ac_objext
16158if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16159 (eval $ac_compile) 2>&5
16160 ac_status=$?
16161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16162 (exit $ac_status); } &&
16163 { ac_try='test -s conftest.$ac_objext'
16164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16165 (eval $ac_try) 2>&5
16166 ac_status=$?
16167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168 (exit $ac_status); }; }; then
16169 ac_hi=-1 ac_mid=-1
16170 while :; do
16171 cat >conftest.$ac_ext <<_ACEOF
16172#line $LINENO "configure"
16173/* confdefs.h. */
16174_ACEOF
16175cat confdefs.h >>conftest.$ac_ext
16176cat >>conftest.$ac_ext <<_ACEOF
16177/* end confdefs.h. */
16178$ac_includes_default
16179int
16180main ()
16181{
16182static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16183test_array [0] = 0
16184
16185 ;
16186 return 0;
16187}
16188_ACEOF
16189rm -f conftest.$ac_objext
16190if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16191 (eval $ac_compile) 2>&5
16192 ac_status=$?
16193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16194 (exit $ac_status); } &&
16195 { ac_try='test -s conftest.$ac_objext'
16196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16197 (eval $ac_try) 2>&5
16198 ac_status=$?
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); }; }; then
16201 ac_lo=$ac_mid; break
16202else
16203 echo "$as_me: failed program was:" >&5
16204sed 's/^/| /' conftest.$ac_ext >&5
16205
16206ac_hi=`expr '(' $ac_mid ')' - 1`
16207 if test $ac_mid -le $ac_hi; then
16208 ac_lo= ac_hi=
16209 break
16210 fi
16211 ac_mid=`expr 2 '*' $ac_mid`
16212fi
16213rm -f conftest.$ac_objext conftest.$ac_ext
16214 done
16215else
16216 echo "$as_me: failed program was:" >&5
16217sed 's/^/| /' conftest.$ac_ext >&5
16218
16219ac_lo= ac_hi=
16220fi
16221rm -f conftest.$ac_objext conftest.$ac_ext
16222fi
16223rm -f conftest.$ac_objext conftest.$ac_ext
16224# Binary search between lo and hi bounds.
16225while test "x$ac_lo" != "x$ac_hi"; do
16226 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16227 cat >conftest.$ac_ext <<_ACEOF
16228#line $LINENO "configure"
16229/* confdefs.h. */
16230_ACEOF
16231cat confdefs.h >>conftest.$ac_ext
16232cat >>conftest.$ac_ext <<_ACEOF
16233/* end confdefs.h. */
16234$ac_includes_default
16235int
16236main ()
16237{
16238static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16239test_array [0] = 0
16240
16241 ;
16242 return 0;
16243}
16244_ACEOF
16245rm -f conftest.$ac_objext
16246if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16247 (eval $ac_compile) 2>&5
16248 ac_status=$?
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); } &&
16251 { ac_try='test -s conftest.$ac_objext'
16252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16253 (eval $ac_try) 2>&5
16254 ac_status=$?
16255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16256 (exit $ac_status); }; }; then
16257 ac_hi=$ac_mid
16258else
16259 echo "$as_me: failed program was:" >&5
16260sed 's/^/| /' conftest.$ac_ext >&5
16261
16262ac_lo=`expr '(' $ac_mid ')' + 1`
16263fi
16264rm -f conftest.$ac_objext conftest.$ac_ext
16265done
16266case $ac_lo in
16267?*) ac_cv_sizeof_long_long=$ac_lo;;
16268'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16269See \`config.log' for more details." >&5
16270echo "$as_me: error: cannot compute sizeof (long long), 77
16271See \`config.log' for more details." >&2;}
16272 { (exit 1); exit 1; }; } ;;
16273esac
16274else
16275 if test "$cross_compiling" = yes; then
16276 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16277See \`config.log' for more details." >&5
16278echo "$as_me: error: cannot run test program while cross compiling
16279See \`config.log' for more details." >&2;}
16280 { (exit 1); exit 1; }; }
16281else
16282 cat >conftest.$ac_ext <<_ACEOF
16283#line $LINENO "configure"
16284/* confdefs.h. */
16285_ACEOF
16286cat confdefs.h >>conftest.$ac_ext
16287cat >>conftest.$ac_ext <<_ACEOF
16288/* end confdefs.h. */
16289$ac_includes_default
16290long longval () { return (long) (sizeof (long long)); }
16291unsigned long ulongval () { return (long) (sizeof (long long)); }
16292#include <stdio.h>
16293#include <stdlib.h>
16294int
16295main ()
16296{
16297
16298 FILE *f = fopen ("conftest.val", "w");
16299 if (! f)
16300 exit (1);
16301 if (((long) (sizeof (long long))) < 0)
16302 {
16303 long i = longval ();
16304 if (i != ((long) (sizeof (long long))))
16305 exit (1);
16306 fprintf (f, "%ld\n", i);
16307 }
16308 else
16309 {
16310 unsigned long i = ulongval ();
16311 if (i != ((long) (sizeof (long long))))
16312 exit (1);
16313 fprintf (f, "%lu\n", i);
16314 }
16315 exit (ferror (f) || fclose (f) != 0);
16316
16317 ;
16318 return 0;
16319}
16320_ACEOF
16321rm -f conftest$ac_exeext
16322if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16323 (eval $ac_link) 2>&5
16324 ac_status=$?
16325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16326 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_sizeof_long_long=`cat conftest.val`
16333else
16334 echo "$as_me: program exited with status $ac_status" >&5
16335echo "$as_me: failed program was:" >&5
16336sed 's/^/| /' conftest.$ac_ext >&5
16337
16338( exit $ac_status )
16339{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16340See \`config.log' for more details." >&5
16341echo "$as_me: error: cannot compute sizeof (long long), 77
16342See \`config.log' for more details." >&2;}
16343 { (exit 1); exit 1; }; }
16344fi
16345rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16346fi
16347fi
16348rm -f conftest.val
16349else
16350 ac_cv_sizeof_long_long=0
16351fi
16352fi
16353echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16354echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16355cat >>confdefs.h <<_ACEOF
16356#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16357_ACEOF
16358
16359
16360 ;;
16361 *-hp-hpux* )
16362 echo "$as_me:$LINENO: checking for long long" >&5
16363echo $ECHO_N "checking for long long... $ECHO_C" >&6
16364if test "${ac_cv_type_long_long+set}" = set; then
16365 echo $ECHO_N "(cached) $ECHO_C" >&6
16366else
16367 cat >conftest.$ac_ext <<_ACEOF
16368#line $LINENO "configure"
16369/* confdefs.h. */
16370_ACEOF
16371cat confdefs.h >>conftest.$ac_ext
16372cat >>conftest.$ac_ext <<_ACEOF
16373/* end confdefs.h. */
16374$ac_includes_default
16375int
16376main ()
16377{
16378if ((long long *) 0)
16379 return 0;
16380if (sizeof (long long))
16381 return 0;
16382 ;
16383 return 0;
16384}
16385_ACEOF
16386rm -f conftest.$ac_objext
16387if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16388 (eval $ac_compile) 2>&5
16389 ac_status=$?
16390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391 (exit $ac_status); } &&
16392 { ac_try='test -s conftest.$ac_objext'
16393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16394 (eval $ac_try) 2>&5
16395 ac_status=$?
16396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397 (exit $ac_status); }; }; then
16398 ac_cv_type_long_long=yes
16399else
16400 echo "$as_me: failed program was:" >&5
16401sed 's/^/| /' conftest.$ac_ext >&5
16402
16403ac_cv_type_long_long=no
16404fi
16405rm -f conftest.$ac_objext conftest.$ac_ext
16406fi
16407echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16408echo "${ECHO_T}$ac_cv_type_long_long" >&6
16409
16410echo "$as_me:$LINENO: checking size of long long" >&5
16411echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16412if test "${ac_cv_sizeof_long_long+set}" = set; then
16413 echo $ECHO_N "(cached) $ECHO_C" >&6
16414else
16415 if test "$ac_cv_type_long_long" = yes; then
16416 # The cast to unsigned long works around a bug in the HP C Compiler
16417 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16418 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16419 # This bug is HP SR number 8606223364.
16420 if test "$cross_compiling" = yes; then
16421 # Depending upon the size, compute the lo and hi bounds.
16422cat >conftest.$ac_ext <<_ACEOF
16423#line $LINENO "configure"
16424/* confdefs.h. */
16425_ACEOF
16426cat confdefs.h >>conftest.$ac_ext
16427cat >>conftest.$ac_ext <<_ACEOF
16428/* end confdefs.h. */
16429$ac_includes_default
16430int
16431main ()
16432{
16433static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16434test_array [0] = 0
16435
16436 ;
16437 return 0;
16438}
16439_ACEOF
16440rm -f conftest.$ac_objext
16441if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16442 (eval $ac_compile) 2>&5
16443 ac_status=$?
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); } &&
16446 { ac_try='test -s conftest.$ac_objext'
16447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16448 (eval $ac_try) 2>&5
16449 ac_status=$?
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); }; }; then
16452 ac_lo=0 ac_mid=0
16453 while :; do
16454 cat >conftest.$ac_ext <<_ACEOF
16455#line $LINENO "configure"
16456/* confdefs.h. */
16457_ACEOF
16458cat confdefs.h >>conftest.$ac_ext
16459cat >>conftest.$ac_ext <<_ACEOF
16460/* end confdefs.h. */
16461$ac_includes_default
16462int
16463main ()
16464{
16465static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16466test_array [0] = 0
16467
16468 ;
16469 return 0;
16470}
16471_ACEOF
16472rm -f conftest.$ac_objext
16473if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16474 (eval $ac_compile) 2>&5
16475 ac_status=$?
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); } &&
16478 { ac_try='test -s conftest.$ac_objext'
16479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16480 (eval $ac_try) 2>&5
16481 ac_status=$?
16482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16483 (exit $ac_status); }; }; then
16484 ac_hi=$ac_mid; break
16485else
16486 echo "$as_me: failed program was:" >&5
16487sed 's/^/| /' conftest.$ac_ext >&5
16488
16489ac_lo=`expr $ac_mid + 1`
16490 if test $ac_lo -le $ac_mid; then
16491 ac_lo= ac_hi=
16492 break
16493 fi
16494 ac_mid=`expr 2 '*' $ac_mid + 1`
16495fi
16496rm -f conftest.$ac_objext conftest.$ac_ext
16497 done
16498else
16499 echo "$as_me: failed program was:" >&5
16500sed 's/^/| /' conftest.$ac_ext >&5
16501
16502cat >conftest.$ac_ext <<_ACEOF
16503#line $LINENO "configure"
16504/* confdefs.h. */
16505_ACEOF
16506cat confdefs.h >>conftest.$ac_ext
16507cat >>conftest.$ac_ext <<_ACEOF
16508/* end confdefs.h. */
16509$ac_includes_default
16510int
16511main ()
16512{
16513static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16514test_array [0] = 0
16515
16516 ;
16517 return 0;
16518}
16519_ACEOF
16520rm -f conftest.$ac_objext
16521if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16522 (eval $ac_compile) 2>&5
16523 ac_status=$?
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); } &&
16526 { ac_try='test -s conftest.$ac_objext'
16527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16528 (eval $ac_try) 2>&5
16529 ac_status=$?
16530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531 (exit $ac_status); }; }; then
16532 ac_hi=-1 ac_mid=-1
16533 while :; do
16534 cat >conftest.$ac_ext <<_ACEOF
16535#line $LINENO "configure"
16536/* confdefs.h. */
16537_ACEOF
16538cat confdefs.h >>conftest.$ac_ext
16539cat >>conftest.$ac_ext <<_ACEOF
16540/* end confdefs.h. */
16541$ac_includes_default
16542int
16543main ()
16544{
16545static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16546test_array [0] = 0
16547
16548 ;
16549 return 0;
16550}
16551_ACEOF
16552rm -f conftest.$ac_objext
16553if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16554 (eval $ac_compile) 2>&5
16555 ac_status=$?
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); } &&
16558 { ac_try='test -s conftest.$ac_objext'
16559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16560 (eval $ac_try) 2>&5
16561 ac_status=$?
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); }; }; then
16564 ac_lo=$ac_mid; break
16565else
16566 echo "$as_me: failed program was:" >&5
16567sed 's/^/| /' conftest.$ac_ext >&5
16568
16569ac_hi=`expr '(' $ac_mid ')' - 1`
16570 if test $ac_mid -le $ac_hi; then
16571 ac_lo= ac_hi=
16572 break
16573 fi
16574 ac_mid=`expr 2 '*' $ac_mid`
16575fi
16576rm -f conftest.$ac_objext conftest.$ac_ext
16577 done
16578else
16579 echo "$as_me: failed program was:" >&5
16580sed 's/^/| /' conftest.$ac_ext >&5
16581
16582ac_lo= ac_hi=
16583fi
16584rm -f conftest.$ac_objext conftest.$ac_ext
16585fi
16586rm -f conftest.$ac_objext conftest.$ac_ext
16587# Binary search between lo and hi bounds.
16588while test "x$ac_lo" != "x$ac_hi"; do
16589 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16590 cat >conftest.$ac_ext <<_ACEOF
16591#line $LINENO "configure"
16592/* confdefs.h. */
16593_ACEOF
16594cat confdefs.h >>conftest.$ac_ext
16595cat >>conftest.$ac_ext <<_ACEOF
16596/* end confdefs.h. */
16597$ac_includes_default
16598int
16599main ()
16600{
16601static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16602test_array [0] = 0
16603
16604 ;
16605 return 0;
16606}
16607_ACEOF
16608rm -f conftest.$ac_objext
16609if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16610 (eval $ac_compile) 2>&5
16611 ac_status=$?
16612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613 (exit $ac_status); } &&
16614 { ac_try='test -s conftest.$ac_objext'
16615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16616 (eval $ac_try) 2>&5
16617 ac_status=$?
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); }; }; then
16620 ac_hi=$ac_mid
16621else
16622 echo "$as_me: failed program was:" >&5
16623sed 's/^/| /' conftest.$ac_ext >&5
16624
16625ac_lo=`expr '(' $ac_mid ')' + 1`
16626fi
16627rm -f conftest.$ac_objext conftest.$ac_ext
16628done
16629case $ac_lo in
16630?*) ac_cv_sizeof_long_long=$ac_lo;;
16631'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16632See \`config.log' for more details." >&5
16633echo "$as_me: error: cannot compute sizeof (long long), 77
16634See \`config.log' for more details." >&2;}
16635 { (exit 1); exit 1; }; } ;;
16636esac
16637else
16638 if test "$cross_compiling" = yes; then
16639 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16640See \`config.log' for more details." >&5
16641echo "$as_me: error: cannot run test program while cross compiling
16642See \`config.log' for more details." >&2;}
16643 { (exit 1); exit 1; }; }
16644else
16645 cat >conftest.$ac_ext <<_ACEOF
16646#line $LINENO "configure"
16647/* confdefs.h. */
16648_ACEOF
16649cat confdefs.h >>conftest.$ac_ext
16650cat >>conftest.$ac_ext <<_ACEOF
16651/* end confdefs.h. */
16652$ac_includes_default
16653long longval () { return (long) (sizeof (long long)); }
16654unsigned long ulongval () { return (long) (sizeof (long long)); }
16655#include <stdio.h>
16656#include <stdlib.h>
16657int
16658main ()
16659{
16660
16661 FILE *f = fopen ("conftest.val", "w");
16662 if (! f)
16663 exit (1);
16664 if (((long) (sizeof (long long))) < 0)
16665 {
16666 long i = longval ();
16667 if (i != ((long) (sizeof (long long))))
16668 exit (1);
16669 fprintf (f, "%ld\n", i);
16670 }
16671 else
16672 {
16673 unsigned long i = ulongval ();
16674 if (i != ((long) (sizeof (long long))))
16675 exit (1);
16676 fprintf (f, "%lu\n", i);
16677 }
16678 exit (ferror (f) || fclose (f) != 0);
16679
16680 ;
16681 return 0;
16682}
16683_ACEOF
16684rm -f conftest$ac_exeext
16685if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16686 (eval $ac_link) 2>&5
16687 ac_status=$?
16688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16689 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16691 (eval $ac_try) 2>&5
16692 ac_status=$?
16693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16694 (exit $ac_status); }; }; then
16695 ac_cv_sizeof_long_long=`cat conftest.val`
16696else
16697 echo "$as_me: program exited with status $ac_status" >&5
16698echo "$as_me: failed program was:" >&5
16699sed 's/^/| /' conftest.$ac_ext >&5
16700
16701( exit $ac_status )
16702{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16703See \`config.log' for more details." >&5
16704echo "$as_me: error: cannot compute sizeof (long long), 77
16705See \`config.log' for more details." >&2;}
16706 { (exit 1); exit 1; }; }
16707fi
16708rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16709fi
16710fi
16711rm -f conftest.val
16712else
16713 ac_cv_sizeof_long_long=0
16714fi
16715fi
16716echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16717echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16718cat >>confdefs.h <<_ACEOF
16719#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16720_ACEOF
16721
16722
16723 if test "$ac_cv_sizeof_long_long" != "0"; then
16724 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16725 fi
16726 ;;
16727 * )
16728 echo "$as_me:$LINENO: checking for long long" >&5
16729echo $ECHO_N "checking for long long... $ECHO_C" >&6
16730if test "${ac_cv_type_long_long+set}" = set; then
16731 echo $ECHO_N "(cached) $ECHO_C" >&6
16732else
16733 cat >conftest.$ac_ext <<_ACEOF
16734#line $LINENO "configure"
16735/* confdefs.h. */
16736_ACEOF
16737cat confdefs.h >>conftest.$ac_ext
16738cat >>conftest.$ac_ext <<_ACEOF
16739/* end confdefs.h. */
16740$ac_includes_default
16741int
16742main ()
16743{
16744if ((long long *) 0)
16745 return 0;
16746if (sizeof (long long))
16747 return 0;
16748 ;
16749 return 0;
16750}
16751_ACEOF
16752rm -f conftest.$ac_objext
16753if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16754 (eval $ac_compile) 2>&5
16755 ac_status=$?
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); } &&
16758 { ac_try='test -s conftest.$ac_objext'
16759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16760 (eval $ac_try) 2>&5
16761 ac_status=$?
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); }; }; then
16764 ac_cv_type_long_long=yes
16765else
16766 echo "$as_me: failed program was:" >&5
16767sed 's/^/| /' conftest.$ac_ext >&5
16768
16769ac_cv_type_long_long=no
16770fi
16771rm -f conftest.$ac_objext conftest.$ac_ext
16772fi
16773echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16774echo "${ECHO_T}$ac_cv_type_long_long" >&6
16775
16776echo "$as_me:$LINENO: checking size of long long" >&5
16777echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16778if test "${ac_cv_sizeof_long_long+set}" = set; then
16779 echo $ECHO_N "(cached) $ECHO_C" >&6
16780else
16781 if test "$ac_cv_type_long_long" = yes; then
16782 # The cast to unsigned long works around a bug in the HP C Compiler
16783 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16784 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16785 # This bug is HP SR number 8606223364.
16786 if test "$cross_compiling" = yes; then
16787 # Depending upon the size, compute the lo and hi bounds.
16788cat >conftest.$ac_ext <<_ACEOF
16789#line $LINENO "configure"
16790/* confdefs.h. */
16791_ACEOF
16792cat confdefs.h >>conftest.$ac_ext
16793cat >>conftest.$ac_ext <<_ACEOF
16794/* end confdefs.h. */
16795$ac_includes_default
16796int
16797main ()
16798{
16799static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16800test_array [0] = 0
16801
16802 ;
16803 return 0;
16804}
16805_ACEOF
16806rm -f conftest.$ac_objext
16807if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16808 (eval $ac_compile) 2>&5
16809 ac_status=$?
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); } &&
16812 { ac_try='test -s conftest.$ac_objext'
16813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16814 (eval $ac_try) 2>&5
16815 ac_status=$?
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); }; }; then
16818 ac_lo=0 ac_mid=0
16819 while :; do
16820 cat >conftest.$ac_ext <<_ACEOF
16821#line $LINENO "configure"
16822/* confdefs.h. */
16823_ACEOF
16824cat confdefs.h >>conftest.$ac_ext
16825cat >>conftest.$ac_ext <<_ACEOF
16826/* end confdefs.h. */
16827$ac_includes_default
16828int
16829main ()
16830{
16831static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16832test_array [0] = 0
16833
16834 ;
16835 return 0;
16836}
16837_ACEOF
16838rm -f conftest.$ac_objext
16839if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16840 (eval $ac_compile) 2>&5
16841 ac_status=$?
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); } &&
16844 { ac_try='test -s conftest.$ac_objext'
16845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16846 (eval $ac_try) 2>&5
16847 ac_status=$?
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); }; }; then
16850 ac_hi=$ac_mid; break
16851else
16852 echo "$as_me: failed program was:" >&5
16853sed 's/^/| /' conftest.$ac_ext >&5
16854
16855ac_lo=`expr $ac_mid + 1`
16856 if test $ac_lo -le $ac_mid; then
16857 ac_lo= ac_hi=
16858 break
16859 fi
16860 ac_mid=`expr 2 '*' $ac_mid + 1`
16861fi
16862rm -f conftest.$ac_objext conftest.$ac_ext
16863 done
16864else
16865 echo "$as_me: failed program was:" >&5
16866sed 's/^/| /' conftest.$ac_ext >&5
16867
16868cat >conftest.$ac_ext <<_ACEOF
16869#line $LINENO "configure"
16870/* confdefs.h. */
16871_ACEOF
16872cat confdefs.h >>conftest.$ac_ext
16873cat >>conftest.$ac_ext <<_ACEOF
16874/* end confdefs.h. */
16875$ac_includes_default
16876int
16877main ()
16878{
16879static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16880test_array [0] = 0
16881
16882 ;
16883 return 0;
16884}
16885_ACEOF
16886rm -f conftest.$ac_objext
16887if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16888 (eval $ac_compile) 2>&5
16889 ac_status=$?
16890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891 (exit $ac_status); } &&
16892 { ac_try='test -s conftest.$ac_objext'
16893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16894 (eval $ac_try) 2>&5
16895 ac_status=$?
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); }; }; then
16898 ac_hi=-1 ac_mid=-1
16899 while :; do
16900 cat >conftest.$ac_ext <<_ACEOF
16901#line $LINENO "configure"
16902/* confdefs.h. */
16903_ACEOF
16904cat confdefs.h >>conftest.$ac_ext
16905cat >>conftest.$ac_ext <<_ACEOF
16906/* end confdefs.h. */
16907$ac_includes_default
16908int
16909main ()
16910{
16911static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16912test_array [0] = 0
16913
16914 ;
16915 return 0;
16916}
16917_ACEOF
16918rm -f conftest.$ac_objext
16919if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16920 (eval $ac_compile) 2>&5
16921 ac_status=$?
16922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16923 (exit $ac_status); } &&
16924 { ac_try='test -s conftest.$ac_objext'
16925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16926 (eval $ac_try) 2>&5
16927 ac_status=$?
16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929 (exit $ac_status); }; }; then
16930 ac_lo=$ac_mid; break
16931else
16932 echo "$as_me: failed program was:" >&5
16933sed 's/^/| /' conftest.$ac_ext >&5
16934
16935ac_hi=`expr '(' $ac_mid ')' - 1`
16936 if test $ac_mid -le $ac_hi; then
16937 ac_lo= ac_hi=
16938 break
16939 fi
16940 ac_mid=`expr 2 '*' $ac_mid`
16941fi
16942rm -f conftest.$ac_objext conftest.$ac_ext
16943 done
16944else
16945 echo "$as_me: failed program was:" >&5
16946sed 's/^/| /' conftest.$ac_ext >&5
16947
16948ac_lo= ac_hi=
16949fi
16950rm -f conftest.$ac_objext conftest.$ac_ext
16951fi
16952rm -f conftest.$ac_objext conftest.$ac_ext
16953# Binary search between lo and hi bounds.
16954while test "x$ac_lo" != "x$ac_hi"; do
16955 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16956 cat >conftest.$ac_ext <<_ACEOF
16957#line $LINENO "configure"
16958/* confdefs.h. */
16959_ACEOF
16960cat confdefs.h >>conftest.$ac_ext
16961cat >>conftest.$ac_ext <<_ACEOF
16962/* end confdefs.h. */
16963$ac_includes_default
16964int
16965main ()
16966{
16967static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16968test_array [0] = 0
16969
16970 ;
16971 return 0;
16972}
16973_ACEOF
16974rm -f conftest.$ac_objext
16975if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16976 (eval $ac_compile) 2>&5
16977 ac_status=$?
16978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979 (exit $ac_status); } &&
16980 { ac_try='test -s conftest.$ac_objext'
16981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16982 (eval $ac_try) 2>&5
16983 ac_status=$?
16984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16985 (exit $ac_status); }; }; then
16986 ac_hi=$ac_mid
16987else
16988 echo "$as_me: failed program was:" >&5
16989sed 's/^/| /' conftest.$ac_ext >&5
16990
16991ac_lo=`expr '(' $ac_mid ')' + 1`
16992fi
16993rm -f conftest.$ac_objext conftest.$ac_ext
16994done
16995case $ac_lo in
16996?*) ac_cv_sizeof_long_long=$ac_lo;;
16997'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16998See \`config.log' for more details." >&5
16999echo "$as_me: error: cannot compute sizeof (long long), 77
17000See \`config.log' for more details." >&2;}
17001 { (exit 1); exit 1; }; } ;;
17002esac
17003else
17004 if test "$cross_compiling" = yes; then
17005 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17006See \`config.log' for more details." >&5
17007echo "$as_me: error: cannot run test program while cross compiling
17008See \`config.log' for more details." >&2;}
17009 { (exit 1); exit 1; }; }
17010else
17011 cat >conftest.$ac_ext <<_ACEOF
17012#line $LINENO "configure"
17013/* confdefs.h. */
17014_ACEOF
17015cat confdefs.h >>conftest.$ac_ext
17016cat >>conftest.$ac_ext <<_ACEOF
17017/* end confdefs.h. */
17018$ac_includes_default
17019long longval () { return (long) (sizeof (long long)); }
17020unsigned long ulongval () { return (long) (sizeof (long long)); }
17021#include <stdio.h>
17022#include <stdlib.h>
17023int
17024main ()
17025{
17026
17027 FILE *f = fopen ("conftest.val", "w");
17028 if (! f)
17029 exit (1);
17030 if (((long) (sizeof (long long))) < 0)
17031 {
17032 long i = longval ();
17033 if (i != ((long) (sizeof (long long))))
17034 exit (1);
17035 fprintf (f, "%ld\n", i);
17036 }
17037 else
17038 {
17039 unsigned long i = ulongval ();
17040 if (i != ((long) (sizeof (long long))))
17041 exit (1);
17042 fprintf (f, "%lu\n", i);
17043 }
17044 exit (ferror (f) || fclose (f) != 0);
17045
17046 ;
17047 return 0;
17048}
17049_ACEOF
17050rm -f conftest$ac_exeext
17051if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17052 (eval $ac_link) 2>&5
17053 ac_status=$?
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17057 (eval $ac_try) 2>&5
17058 ac_status=$?
17059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17060 (exit $ac_status); }; }; then
17061 ac_cv_sizeof_long_long=`cat conftest.val`
17062else
17063 echo "$as_me: program exited with status $ac_status" >&5
17064echo "$as_me: failed program was:" >&5
17065sed 's/^/| /' conftest.$ac_ext >&5
17066
17067( exit $ac_status )
17068{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17069See \`config.log' for more details." >&5
17070echo "$as_me: error: cannot compute sizeof (long long), 77
17071See \`config.log' for more details." >&2;}
17072 { (exit 1); exit 1; }; }
17073fi
17074rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17075fi
17076fi
17077rm -f conftest.val
17078else
17079 ac_cv_sizeof_long_long=0
17080fi
17081fi
17082echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17083echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17084cat >>confdefs.h <<_ACEOF
17085#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17086_ACEOF
17087
17088
17089esac
17090
17091echo "$as_me:$LINENO: checking size of wchar_t" >&5
17092echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
17093if test "${wx_cv_sizeof_wchar_t+set}" = set; then
17094 echo $ECHO_N "(cached) $ECHO_C" >&6
17095else
17096
17097 if test "$cross_compiling" = yes; then
17098
17099 case "${host}" in
17100 *-pc-msdosdjgpp )
17101 wx_cv_sizeof_wchar_t=0
17102 ;;
17103 * )
17104 wx_cv_sizeof_wchar_t=4
17105 ;;
17106 esac
17107
17108
17109else
17110 cat >conftest.$ac_ext <<_ACEOF
17111#line $LINENO "configure"
17112/* confdefs.h. */
17113_ACEOF
17114cat confdefs.h >>conftest.$ac_ext
17115cat >>conftest.$ac_ext <<_ACEOF
17116/* end confdefs.h. */
17117
17118 /* DJGPP only has fake wchar_t: */
17119 #ifdef __DJGPP__
17120 # error "fake wchar_t"
17121 #endif
17122 #ifdef HAVE_WCHAR_H
17123 # ifdef __CYGWIN__
17124 # include <stddef.h>
17125 # endif
17126 # include <wchar.h>
17127 #endif
17128 #ifdef HAVE_STDLIB_H
17129 # include <stdlib.h>
17130 #endif
17131 #include <stdio.h>
17132 int main()
17133 {
17134 FILE *f=fopen("conftestval", "w");
17135 if (!f) exit(1);
17136 fprintf(f, "%i", sizeof(wchar_t));
17137 exit(0);
17138 }
17139
17140_ACEOF
17141rm -f conftest$ac_exeext
17142if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17143 (eval $ac_link) 2>&5
17144 ac_status=$?
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17148 (eval $ac_try) 2>&5
17149 ac_status=$?
17150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17151 (exit $ac_status); }; }; then
17152 wx_cv_sizeof_wchar_t=`cat conftestval`
17153else
17154 echo "$as_me: program exited with status $ac_status" >&5
17155echo "$as_me: failed program was:" >&5
17156sed 's/^/| /' conftest.$ac_ext >&5
17157
17158( exit $ac_status )
17159wx_cv_sizeof_wchar_t=0
17160fi
17161rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17162fi
17163
17164fi
17165echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
17166echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
17167
17168cat >>confdefs.h <<_ACEOF
17169#define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
17170_ACEOF
17171
17172
17173# Check whether --enable-largefile or --disable-largefile was given.
17174if test "${enable_largefile+set}" = set; then
17175 enableval="$enable_largefile"
17176
17177fi;
17178if test "$enable_largefile" != no; then
17179 wx_largefile=no
17180
17181 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17182echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
17183if test "${ac_cv_sys_file_offset_bits+set}" = set; then
17184 echo $ECHO_N "(cached) $ECHO_C" >&6
17185else
17186
17187 cat >conftest.$ac_ext <<_ACEOF
17188#line $LINENO "configure"
17189/* confdefs.h. */
17190_ACEOF
17191cat confdefs.h >>conftest.$ac_ext
17192cat >>conftest.$ac_ext <<_ACEOF
17193/* end confdefs.h. */
17194#define _FILE_OFFSET_BITS 64
17195 #include <sys/types.h>
17196int
17197main ()
17198{
17199typedef struct {
17200 unsigned int field: sizeof(off_t) == 8;
17201} wxlf;
17202
17203 ;
17204 return 0;
17205}
17206_ACEOF
17207rm -f conftest.$ac_objext
17208if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17209 (eval $ac_compile) 2>&5
17210 ac_status=$?
17211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17212 (exit $ac_status); } &&
17213 { ac_try='test -s conftest.$ac_objext'
17214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17215 (eval $ac_try) 2>&5
17216 ac_status=$?
17217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17218 (exit $ac_status); }; }; then
17219 ac_cv_sys_file_offset_bits=64
17220else
17221 echo "$as_me: failed program was:" >&5
17222sed 's/^/| /' conftest.$ac_ext >&5
17223
17224ac_cv_sys_file_offset_bits=no
17225fi
17226rm -f conftest.$ac_objext conftest.$ac_ext
17227
17228
17229fi
17230echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
17231echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
17232
17233 if test "$ac_cv_sys_file_offset_bits" != no; then
17234 wx_largefile=yes
17235 cat >>confdefs.h <<_ACEOF
17236#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
17237_ACEOF
17238
17239 fi
17240
17241 if test "x$wx_largefile" != "xyes"; then
17242
17243 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
17244echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
17245if test "${ac_cv_sys_large_files+set}" = set; then
17246 echo $ECHO_N "(cached) $ECHO_C" >&6
17247else
17248
17249 cat >conftest.$ac_ext <<_ACEOF
17250#line $LINENO "configure"
17251/* confdefs.h. */
17252_ACEOF
17253cat confdefs.h >>conftest.$ac_ext
17254cat >>conftest.$ac_ext <<_ACEOF
17255/* end confdefs.h. */
17256#define _LARGE_FILES 1
17257 #include <sys/types.h>
17258int
17259main ()
17260{
17261typedef struct {
17262 unsigned int field: sizeof(off_t) == 8;
17263} wxlf;
17264
17265 ;
17266 return 0;
17267}
17268_ACEOF
17269rm -f conftest.$ac_objext
17270if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17271 (eval $ac_compile) 2>&5
17272 ac_status=$?
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } &&
17275 { ac_try='test -s conftest.$ac_objext'
17276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17277 (eval $ac_try) 2>&5
17278 ac_status=$?
17279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 (exit $ac_status); }; }; then
17281 ac_cv_sys_large_files=1
17282else
17283 echo "$as_me: failed program was:" >&5
17284sed 's/^/| /' conftest.$ac_ext >&5
17285
17286ac_cv_sys_large_files=no
17287fi
17288rm -f conftest.$ac_objext conftest.$ac_ext
17289
17290
17291fi
17292echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
17293echo "${ECHO_T}$ac_cv_sys_large_files" >&6
17294
17295 if test "$ac_cv_sys_large_files" != no; then
17296 wx_largefile=yes
17297 cat >>confdefs.h <<_ACEOF
17298#define _LARGE_FILES $ac_cv_sys_large_files
17299_ACEOF
17300
17301 fi
17302
17303 fi
17304
17305 echo "$as_me:$LINENO: checking if large file support is available" >&5
17306echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
17307 if test "x$wx_largefile" = "xyes"; then
17308 cat >>confdefs.h <<\_ACEOF
17309#define HAVE_LARGEFILE_SUPPORT 1
17310_ACEOF
17311
17312 fi
17313 echo "$as_me:$LINENO: result: $wx_largefile" >&5
17314echo "${ECHO_T}$wx_largefile" >&6
17315fi
17316
17317
17318if test "x$wx_largefile" = "xyes"; then
17319 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
17320 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
17321 else
17322 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
17323 fi
17324 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
17325fi
17326
17327echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
17328echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
17329if test "${ac_cv_c_bigendian+set}" = set; then
17330 echo $ECHO_N "(cached) $ECHO_C" >&6
17331else
17332 ac_cv_c_bigendian=unknown
17333# See if sys/param.h defines the BYTE_ORDER macro.
17334cat >conftest.$ac_ext <<_ACEOF
17335#line $LINENO "configure"
17336/* confdefs.h. */
17337_ACEOF
17338cat confdefs.h >>conftest.$ac_ext
17339cat >>conftest.$ac_ext <<_ACEOF
17340/* end confdefs.h. */
17341#include <sys/types.h>
17342#include <sys/param.h>
17343int
17344main ()
17345{
17346
17347#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
17348 bogus endian macros
17349#endif
17350 ;
17351 return 0;
17352}
17353_ACEOF
17354rm -f conftest.$ac_objext
17355if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17356 (eval $ac_compile) 2>&5
17357 ac_status=$?
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); } &&
17360 { ac_try='test -s conftest.$ac_objext'
17361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17362 (eval $ac_try) 2>&5
17363 ac_status=$?
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); }; }; then
17366 # It does; now see whether it defined to BIG_ENDIAN or not.
17367cat >conftest.$ac_ext <<_ACEOF
17368#line $LINENO "configure"
17369/* confdefs.h. */
17370_ACEOF
17371cat confdefs.h >>conftest.$ac_ext
17372cat >>conftest.$ac_ext <<_ACEOF
17373/* end confdefs.h. */
17374#include <sys/types.h>
17375#include <sys/param.h>
17376int
17377main ()
17378{
17379
17380#if BYTE_ORDER != BIG_ENDIAN
17381 not big endian
17382#endif
17383 ;
17384 return 0;
17385}
17386_ACEOF
17387rm -f conftest.$ac_objext
17388if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17389 (eval $ac_compile) 2>&5
17390 ac_status=$?
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); } &&
17393 { ac_try='test -s conftest.$ac_objext'
17394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17395 (eval $ac_try) 2>&5
17396 ac_status=$?
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); }; }; then
17399 ac_cv_c_bigendian=yes
17400else
17401 echo "$as_me: failed program was:" >&5
17402sed 's/^/| /' conftest.$ac_ext >&5
17403
17404ac_cv_c_bigendian=no
17405fi
17406rm -f conftest.$ac_objext conftest.$ac_ext
17407else
17408 echo "$as_me: failed program was:" >&5
17409sed 's/^/| /' conftest.$ac_ext >&5
17410
17411fi
17412rm -f conftest.$ac_objext conftest.$ac_ext
17413if test $ac_cv_c_bigendian = unknown; then
17414if test "$cross_compiling" = yes; then
17415 ac_cv_c_bigendian=unknown
17416else
17417 cat >conftest.$ac_ext <<_ACEOF
17418#line $LINENO "configure"
17419/* confdefs.h. */
17420_ACEOF
17421cat confdefs.h >>conftest.$ac_ext
17422cat >>conftest.$ac_ext <<_ACEOF
17423/* end confdefs.h. */
17424main () {
17425 /* Are we little or big endian? From Harbison&Steele. */
17426 union
17427 {
17428 long l;
17429 char c[sizeof (long)];
17430 } u;
17431 u.l = 1;
17432 exit (u.c[sizeof (long) - 1] == 1);
17433}
17434_ACEOF
17435rm -f conftest$ac_exeext
17436if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17437 (eval $ac_link) 2>&5
17438 ac_status=$?
17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17442 (eval $ac_try) 2>&5
17443 ac_status=$?
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); }; }; then
17446 ac_cv_c_bigendian=no
17447else
17448 echo "$as_me: program exited with status $ac_status" >&5
17449echo "$as_me: failed program was:" >&5
17450sed 's/^/| /' conftest.$ac_ext >&5
17451
17452( exit $ac_status )
17453ac_cv_c_bigendian=yes
17454fi
17455rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17456fi
17457fi
17458fi
17459echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17460echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17461if test $ac_cv_c_bigendian = unknown; then
17462 { 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
17463echo "$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;}
17464fi
17465if test $ac_cv_c_bigendian = yes; then
17466 cat >>confdefs.h <<\_ACEOF
17467#define WORDS_BIGENDIAN 1
17468_ACEOF
17469
17470fi
17471
17472
17473ac_ext=cc
17474ac_cpp='$CXXCPP $CPPFLAGS'
17475ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17476ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17477ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17478echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17479echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17480if test -z "$CXXCPP"; then
17481 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17482 echo $ECHO_N "(cached) $ECHO_C" >&6
17483else
17484 # Double quotes because CXXCPP needs to be expanded
17485 for CXXCPP in "$CXX -E" "/lib/cpp"
17486 do
17487 ac_preproc_ok=false
17488for ac_cxx_preproc_warn_flag in '' yes
17489do
17490 # Use a header file that comes with gcc, so configuring glibc
17491 # with a fresh cross-compiler works.
17492 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17493 # <limits.h> exists even on freestanding compilers.
17494 # On the NeXT, cc -E runs the code through the compiler's parser,
17495 # not just through cpp. "Syntax error" is here to catch this case.
17496 cat >conftest.$ac_ext <<_ACEOF
17497#line $LINENO "configure"
17498/* confdefs.h. */
17499_ACEOF
17500cat confdefs.h >>conftest.$ac_ext
17501cat >>conftest.$ac_ext <<_ACEOF
17502/* end confdefs.h. */
17503#ifdef __STDC__
17504# include <limits.h>
17505#else
17506# include <assert.h>
17507#endif
17508 Syntax error
17509_ACEOF
17510if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17511 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17512 ac_status=$?
17513 grep -v '^ *+' conftest.er1 >conftest.err
17514 rm -f conftest.er1
17515 cat conftest.err >&5
17516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517 (exit $ac_status); } >/dev/null; then
17518 if test -s conftest.err; then
17519 ac_cpp_err=$ac_cxx_preproc_warn_flag
17520 else
17521 ac_cpp_err=
17522 fi
17523else
17524 ac_cpp_err=yes
17525fi
17526if test -z "$ac_cpp_err"; then
17527 :
17528else
17529 echo "$as_me: failed program was:" >&5
17530sed 's/^/| /' conftest.$ac_ext >&5
17531
17532 # Broken: fails on valid input.
17533continue
17534fi
17535rm -f conftest.err conftest.$ac_ext
17536
17537 # OK, works on sane cases. Now check whether non-existent headers
17538 # can be detected and how.
17539 cat >conftest.$ac_ext <<_ACEOF
17540#line $LINENO "configure"
17541/* confdefs.h. */
17542_ACEOF
17543cat confdefs.h >>conftest.$ac_ext
17544cat >>conftest.$ac_ext <<_ACEOF
17545/* end confdefs.h. */
17546#include <ac_nonexistent.h>
17547_ACEOF
17548if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17549 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17550 ac_status=$?
17551 grep -v '^ *+' conftest.er1 >conftest.err
17552 rm -f conftest.er1
17553 cat conftest.err >&5
17554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17555 (exit $ac_status); } >/dev/null; then
17556 if test -s conftest.err; then
17557 ac_cpp_err=$ac_cxx_preproc_warn_flag
17558 else
17559 ac_cpp_err=
17560 fi
17561else
17562 ac_cpp_err=yes
17563fi
17564if test -z "$ac_cpp_err"; then
17565 # Broken: success on invalid input.
17566continue
17567else
17568 echo "$as_me: failed program was:" >&5
17569sed 's/^/| /' conftest.$ac_ext >&5
17570
17571 # Passes both tests.
17572ac_preproc_ok=:
17573break
17574fi
17575rm -f conftest.err conftest.$ac_ext
17576
17577done
17578# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17579rm -f conftest.err conftest.$ac_ext
17580if $ac_preproc_ok; then
17581 break
17582fi
17583
17584 done
17585 ac_cv_prog_CXXCPP=$CXXCPP
17586
17587fi
17588 CXXCPP=$ac_cv_prog_CXXCPP
17589else
17590 ac_cv_prog_CXXCPP=$CXXCPP
17591fi
17592echo "$as_me:$LINENO: result: $CXXCPP" >&5
17593echo "${ECHO_T}$CXXCPP" >&6
17594ac_preproc_ok=false
17595for ac_cxx_preproc_warn_flag in '' yes
17596do
17597 # Use a header file that comes with gcc, so configuring glibc
17598 # with a fresh cross-compiler works.
17599 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17600 # <limits.h> exists even on freestanding compilers.
17601 # On the NeXT, cc -E runs the code through the compiler's parser,
17602 # not just through cpp. "Syntax error" is here to catch this case.
17603 cat >conftest.$ac_ext <<_ACEOF
17604#line $LINENO "configure"
17605/* confdefs.h. */
17606_ACEOF
17607cat confdefs.h >>conftest.$ac_ext
17608cat >>conftest.$ac_ext <<_ACEOF
17609/* end confdefs.h. */
17610#ifdef __STDC__
17611# include <limits.h>
17612#else
17613# include <assert.h>
17614#endif
17615 Syntax error
17616_ACEOF
17617if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17618 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17619 ac_status=$?
17620 grep -v '^ *+' conftest.er1 >conftest.err
17621 rm -f conftest.er1
17622 cat conftest.err >&5
17623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17624 (exit $ac_status); } >/dev/null; then
17625 if test -s conftest.err; then
17626 ac_cpp_err=$ac_cxx_preproc_warn_flag
17627 else
17628 ac_cpp_err=
17629 fi
17630else
17631 ac_cpp_err=yes
17632fi
17633if test -z "$ac_cpp_err"; then
17634 :
17635else
17636 echo "$as_me: failed program was:" >&5
17637sed 's/^/| /' conftest.$ac_ext >&5
17638
17639 # Broken: fails on valid input.
17640continue
17641fi
17642rm -f conftest.err conftest.$ac_ext
17643
17644 # OK, works on sane cases. Now check whether non-existent headers
17645 # can be detected and how.
17646 cat >conftest.$ac_ext <<_ACEOF
17647#line $LINENO "configure"
17648/* confdefs.h. */
17649_ACEOF
17650cat confdefs.h >>conftest.$ac_ext
17651cat >>conftest.$ac_ext <<_ACEOF
17652/* end confdefs.h. */
17653#include <ac_nonexistent.h>
17654_ACEOF
17655if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17657 ac_status=$?
17658 grep -v '^ *+' conftest.er1 >conftest.err
17659 rm -f conftest.er1
17660 cat conftest.err >&5
17661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662 (exit $ac_status); } >/dev/null; then
17663 if test -s conftest.err; then
17664 ac_cpp_err=$ac_cxx_preproc_warn_flag
17665 else
17666 ac_cpp_err=
17667 fi
17668else
17669 ac_cpp_err=yes
17670fi
17671if test -z "$ac_cpp_err"; then
17672 # Broken: success on invalid input.
17673continue
17674else
17675 echo "$as_me: failed program was:" >&5
17676sed 's/^/| /' conftest.$ac_ext >&5
17677
17678 # Passes both tests.
17679ac_preproc_ok=:
17680break
17681fi
17682rm -f conftest.err conftest.$ac_ext
17683
17684done
17685# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17686rm -f conftest.err conftest.$ac_ext
17687if $ac_preproc_ok; then
17688 :
17689else
17690 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17691See \`config.log' for more details." >&5
17692echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17693See \`config.log' for more details." >&2;}
17694 { (exit 1); exit 1; }; }
17695fi
17696
17697ac_ext=cc
17698ac_cpp='$CXXCPP $CPPFLAGS'
17699ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17700ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17701ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17702
17703
17704
17705 if test "$cross_compiling" = "yes"; then
17706 cat >>confdefs.h <<\_ACEOF
17707#define wxUSE_IOSTREAMH 1
17708_ACEOF
17709
17710 else
17711
17712
17713 ac_ext=cc
17714ac_cpp='$CXXCPP $CPPFLAGS'
17715ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17716ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17717ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17718
17719
17720
17721for ac_header in iostream
17722do
17723as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17724if eval "test \"\${$as_ac_Header+set}\" = set"; then
17725 echo "$as_me:$LINENO: checking for $ac_header" >&5
17726echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17727if eval "test \"\${$as_ac_Header+set}\" = set"; then
17728 echo $ECHO_N "(cached) $ECHO_C" >&6
17729fi
17730echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17731echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17732else
17733 # Is the header compilable?
17734echo "$as_me:$LINENO: checking $ac_header usability" >&5
17735echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17736cat >conftest.$ac_ext <<_ACEOF
17737#line $LINENO "configure"
17738/* confdefs.h. */
17739_ACEOF
17740cat confdefs.h >>conftest.$ac_ext
17741cat >>conftest.$ac_ext <<_ACEOF
17742/* end confdefs.h. */
17743$ac_includes_default
17744#include <$ac_header>
17745_ACEOF
17746rm -f conftest.$ac_objext
17747if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17748 (eval $ac_compile) 2>&5
17749 ac_status=$?
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); } &&
17752 { ac_try='test -s conftest.$ac_objext'
17753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17754 (eval $ac_try) 2>&5
17755 ac_status=$?
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); }; }; then
17758 ac_header_compiler=yes
17759else
17760 echo "$as_me: failed program was:" >&5
17761sed 's/^/| /' conftest.$ac_ext >&5
17762
17763ac_header_compiler=no
17764fi
17765rm -f conftest.$ac_objext conftest.$ac_ext
17766echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17767echo "${ECHO_T}$ac_header_compiler" >&6
17768
17769# Is the header present?
17770echo "$as_me:$LINENO: checking $ac_header presence" >&5
17771echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17772cat >conftest.$ac_ext <<_ACEOF
17773#line $LINENO "configure"
17774/* confdefs.h. */
17775_ACEOF
17776cat confdefs.h >>conftest.$ac_ext
17777cat >>conftest.$ac_ext <<_ACEOF
17778/* end confdefs.h. */
17779#include <$ac_header>
17780_ACEOF
17781if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17782 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17783 ac_status=$?
17784 grep -v '^ *+' conftest.er1 >conftest.err
17785 rm -f conftest.er1
17786 cat conftest.err >&5
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); } >/dev/null; then
17789 if test -s conftest.err; then
17790 ac_cpp_err=$ac_cxx_preproc_warn_flag
17791 else
17792 ac_cpp_err=
17793 fi
17794else
17795 ac_cpp_err=yes
17796fi
17797if test -z "$ac_cpp_err"; then
17798 ac_header_preproc=yes
17799else
17800 echo "$as_me: failed program was:" >&5
17801sed 's/^/| /' conftest.$ac_ext >&5
17802
17803 ac_header_preproc=no
17804fi
17805rm -f conftest.err conftest.$ac_ext
17806echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17807echo "${ECHO_T}$ac_header_preproc" >&6
17808
17809# So? What about this header?
17810case $ac_header_compiler:$ac_header_preproc in
17811 yes:no )
17812 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17813echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17814 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17815echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17816 (
17817 cat <<\_ASBOX
17818## ------------------------------------ ##
17819## Report this to bug-autoconf@gnu.org. ##
17820## ------------------------------------ ##
17821_ASBOX
17822 ) |
17823 sed "s/^/$as_me: WARNING: /" >&2
17824 ;;
17825 no:yes )
17826 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17827echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17828 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17829echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17831echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17832 (
17833 cat <<\_ASBOX
17834## ------------------------------------ ##
17835## Report this to bug-autoconf@gnu.org. ##
17836## ------------------------------------ ##
17837_ASBOX
17838 ) |
17839 sed "s/^/$as_me: WARNING: /" >&2
17840 ;;
17841esac
17842echo "$as_me:$LINENO: checking for $ac_header" >&5
17843echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17844if eval "test \"\${$as_ac_Header+set}\" = set"; then
17845 echo $ECHO_N "(cached) $ECHO_C" >&6
17846else
17847 eval "$as_ac_Header=$ac_header_preproc"
17848fi
17849echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17850echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17851
17852fi
17853if test `eval echo '${'$as_ac_Header'}'` = yes; then
17854 cat >>confdefs.h <<_ACEOF
17855#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17856_ACEOF
17857
17858fi
17859
17860done
17861
17862
17863 if test "$ac_cv_header_iostream" = "yes" ; then
17864 :
17865 else
17866 cat >>confdefs.h <<\_ACEOF
17867#define wxUSE_IOSTREAMH 1
17868_ACEOF
17869
17870 fi
17871
17872 ac_ext=c
17873ac_cpp='$CPP $CPPFLAGS'
17874ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17875ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17876ac_compiler_gnu=$ac_cv_c_compiler_gnu
17877
17878 fi
17879
17880
17881
17882 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17883echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17884if test "${wx_cv_cpp_bool+set}" = set; then
17885 echo $ECHO_N "(cached) $ECHO_C" >&6
17886else
17887
17888
17889
17890 ac_ext=cc
17891ac_cpp='$CXXCPP $CPPFLAGS'
17892ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17893ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17894ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17895
17896
17897 cat >conftest.$ac_ext <<_ACEOF
17898#line $LINENO "configure"
17899/* confdefs.h. */
17900_ACEOF
17901cat confdefs.h >>conftest.$ac_ext
17902cat >>conftest.$ac_ext <<_ACEOF
17903/* end confdefs.h. */
17904
17905
17906int
17907main ()
17908{
17909
17910 bool b = true;
17911
17912 return 0;
17913
17914 ;
17915 return 0;
17916}
17917_ACEOF
17918rm -f conftest.$ac_objext
17919if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17920 (eval $ac_compile) 2>&5
17921 ac_status=$?
17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 (exit $ac_status); } &&
17924 { ac_try='test -s conftest.$ac_objext'
17925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17926 (eval $ac_try) 2>&5
17927 ac_status=$?
17928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17929 (exit $ac_status); }; }; then
17930
17931 wx_cv_cpp_bool=yes
17932
17933else
17934 echo "$as_me: failed program was:" >&5
17935sed 's/^/| /' conftest.$ac_ext >&5
17936
17937
17938 wx_cv_cpp_bool=no
17939
17940
17941fi
17942rm -f conftest.$ac_objext conftest.$ac_ext
17943
17944 ac_ext=c
17945ac_cpp='$CPP $CPPFLAGS'
17946ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17947ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17948ac_compiler_gnu=$ac_cv_c_compiler_gnu
17949
17950
17951fi
17952echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17953echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17954
17955 if test "$wx_cv_cpp_bool" = "yes"; then
17956 cat >>confdefs.h <<\_ACEOF
17957#define HAVE_BOOL 1
17958_ACEOF
17959
17960 fi
17961
17962
17963
17964 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17965echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17966if test "${wx_cv_explicit+set}" = set; then
17967 echo $ECHO_N "(cached) $ECHO_C" >&6
17968else
17969
17970
17971
17972 ac_ext=cc
17973ac_cpp='$CXXCPP $CPPFLAGS'
17974ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17975ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17976ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17977
17978
17979 cat >conftest.$ac_ext <<_ACEOF
17980#line $LINENO "configure"
17981/* confdefs.h. */
17982_ACEOF
17983cat confdefs.h >>conftest.$ac_ext
17984cat >>conftest.$ac_ext <<_ACEOF
17985/* end confdefs.h. */
17986
17987 class Foo { public: explicit Foo(int) {} };
17988
17989int
17990main ()
17991{
17992
17993 return 0;
17994
17995 ;
17996 return 0;
17997}
17998_ACEOF
17999rm -f conftest.$ac_objext
18000if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18001 (eval $ac_compile) 2>&5
18002 ac_status=$?
18003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18004 (exit $ac_status); } &&
18005 { ac_try='test -s conftest.$ac_objext'
18006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18007 (eval $ac_try) 2>&5
18008 ac_status=$?
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); }; }; then
18011
18012 cat >conftest.$ac_ext <<_ACEOF
18013#line $LINENO "configure"
18014/* confdefs.h. */
18015_ACEOF
18016cat confdefs.h >>conftest.$ac_ext
18017cat >>conftest.$ac_ext <<_ACEOF
18018/* end confdefs.h. */
18019
18020 class Foo { public: explicit Foo(int) {} };
18021 static void TakeFoo(const Foo& foo) { }
18022
18023int
18024main ()
18025{
18026
18027 TakeFoo(17);
18028 return 0;
18029
18030 ;
18031 return 0;
18032}
18033_ACEOF
18034rm -f conftest.$ac_objext
18035if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18036 (eval $ac_compile) 2>&5
18037 ac_status=$?
18038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039 (exit $ac_status); } &&
18040 { ac_try='test -s conftest.$ac_objext'
18041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18042 (eval $ac_try) 2>&5
18043 ac_status=$?
18044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045 (exit $ac_status); }; }; then
18046 wx_cv_explicit=no
18047else
18048 echo "$as_me: failed program was:" >&5
18049sed 's/^/| /' conftest.$ac_ext >&5
18050
18051wx_cv_explicit=yes
18052
18053fi
18054rm -f conftest.$ac_objext conftest.$ac_ext
18055
18056else
18057 echo "$as_me: failed program was:" >&5
18058sed 's/^/| /' conftest.$ac_ext >&5
18059
18060wx_cv_explicit=no
18061
18062fi
18063rm -f conftest.$ac_objext conftest.$ac_ext
18064
18065 ac_ext=c
18066ac_cpp='$CPP $CPPFLAGS'
18067ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18068ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18069ac_compiler_gnu=$ac_cv_c_compiler_gnu
18070
18071
18072fi
18073echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
18074echo "${ECHO_T}$wx_cv_explicit" >&6
18075
18076 if test "$wx_cv_explicit" = "yes"; then
18077 cat >>confdefs.h <<\_ACEOF
18078#define HAVE_EXPLICIT 1
18079_ACEOF
18080
18081 fi
18082
18083
18084echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
18085echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
18086if test "${ac_cv_cxx_const_cast+set}" = set; then
18087 echo $ECHO_N "(cached) $ECHO_C" >&6
18088else
18089
18090
18091 ac_ext=cc
18092ac_cpp='$CXXCPP $CPPFLAGS'
18093ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18094ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18095ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18096
18097 cat >conftest.$ac_ext <<_ACEOF
18098#line $LINENO "configure"
18099/* confdefs.h. */
18100_ACEOF
18101cat confdefs.h >>conftest.$ac_ext
18102cat >>conftest.$ac_ext <<_ACEOF
18103/* end confdefs.h. */
18104
18105int
18106main ()
18107{
18108int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
18109 ;
18110 return 0;
18111}
18112_ACEOF
18113rm -f conftest.$ac_objext
18114if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18115 (eval $ac_compile) 2>&5
18116 ac_status=$?
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); } &&
18119 { ac_try='test -s conftest.$ac_objext'
18120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18121 (eval $ac_try) 2>&5
18122 ac_status=$?
18123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124 (exit $ac_status); }; }; then
18125 ac_cv_cxx_const_cast=yes
18126else
18127 echo "$as_me: failed program was:" >&5
18128sed 's/^/| /' conftest.$ac_ext >&5
18129
18130ac_cv_cxx_const_cast=no
18131fi
18132rm -f conftest.$ac_objext conftest.$ac_ext
18133 ac_ext=c
18134ac_cpp='$CPP $CPPFLAGS'
18135ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18136ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18137ac_compiler_gnu=$ac_cv_c_compiler_gnu
18138
18139
18140fi
18141echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
18142echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
18143if test "$ac_cv_cxx_const_cast" = yes; then
18144
18145cat >>confdefs.h <<\_ACEOF
18146#define HAVE_CONST_CAST
18147_ACEOF
18148
18149fi
18150
18151echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
18152echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
18153if test "${ac_cv_cxx_static_cast+set}" = set; then
18154 echo $ECHO_N "(cached) $ECHO_C" >&6
18155else
18156
18157
18158 ac_ext=cc
18159ac_cpp='$CXXCPP $CPPFLAGS'
18160ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18161ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18162ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18163
18164 cat >conftest.$ac_ext <<_ACEOF
18165#line $LINENO "configure"
18166/* confdefs.h. */
18167_ACEOF
18168cat confdefs.h >>conftest.$ac_ext
18169cat >>conftest.$ac_ext <<_ACEOF
18170/* end confdefs.h. */
18171#include <typeinfo>
18172class Base { public : Base () {} virtual void f () = 0; };
18173class Derived : public Base { public : Derived () {} virtual void f () {} };
18174int g (Derived&) { return 0; }
18175int
18176main ()
18177{
18178
18179Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
18180 ;
18181 return 0;
18182}
18183_ACEOF
18184rm -f conftest.$ac_objext
18185if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18186 (eval $ac_compile) 2>&5
18187 ac_status=$?
18188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189 (exit $ac_status); } &&
18190 { ac_try='test -s conftest.$ac_objext'
18191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18192 (eval $ac_try) 2>&5
18193 ac_status=$?
18194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18195 (exit $ac_status); }; }; then
18196 ac_cv_cxx_static_cast=yes
18197else
18198 echo "$as_me: failed program was:" >&5
18199sed 's/^/| /' conftest.$ac_ext >&5
18200
18201ac_cv_cxx_static_cast=no
18202fi
18203rm -f conftest.$ac_objext conftest.$ac_ext
18204 ac_ext=c
18205ac_cpp='$CPP $CPPFLAGS'
18206ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18207ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18208ac_compiler_gnu=$ac_cv_c_compiler_gnu
18209
18210
18211fi
18212echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
18213echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
18214if test "$ac_cv_cxx_static_cast" = yes; then
18215
18216cat >>confdefs.h <<\_ACEOF
18217#define HAVE_STATIC_CAST
18218_ACEOF
18219
18220fi
18221
18222
18223if test "$wxUSE_STL" = "yes"; then
18224 ac_ext=cc
18225ac_cpp='$CXXCPP $CPPFLAGS'
18226ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18227ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18228ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18229
18230
18231 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
18232echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
18233 cat >conftest.$ac_ext <<_ACEOF
18234#line $LINENO "configure"
18235/* confdefs.h. */
18236_ACEOF
18237cat confdefs.h >>conftest.$ac_ext
18238cat >>conftest.$ac_ext <<_ACEOF
18239/* end confdefs.h. */
18240#include <string>
18241 #include <functional>
18242 #include <algorithm>
18243 #include <vector>
18244 #include <list>
18245int
18246main ()
18247{
18248std::vector<int> moo;
18249 std::list<int> foo;
18250 std::vector<int>::iterator it =
18251 std::find_if(moo.begin(), moo.end(),
18252 std::bind2nd(std::less<int>(), 3));
18253 ;
18254 return 0;
18255}
18256_ACEOF
18257rm -f conftest.$ac_objext
18258if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18259 (eval $ac_compile) 2>&5
18260 ac_status=$?
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); } &&
18263 { ac_try='test -s conftest.$ac_objext'
18264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18265 (eval $ac_try) 2>&5
18266 ac_status=$?
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); }; }; then
18269 echo "$as_me:$LINENO: result: yes" >&5
18270echo "${ECHO_T}yes" >&6
18271else
18272 echo "$as_me: failed program was:" >&5
18273sed 's/^/| /' conftest.$ac_ext >&5
18274
18275echo "$as_me:$LINENO: result: no" >&5
18276echo "${ECHO_T}no" >&6
18277 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
18278echo "$as_me: error: Basic STL functionality missing" >&2;}
18279 { (exit 1); exit 1; }; }
18280fi
18281rm -f conftest.$ac_objext conftest.$ac_ext
18282
18283 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
18284echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
18285 cat >conftest.$ac_ext <<_ACEOF
18286#line $LINENO "configure"
18287/* confdefs.h. */
18288_ACEOF
18289cat confdefs.h >>conftest.$ac_ext
18290cat >>conftest.$ac_ext <<_ACEOF
18291/* end confdefs.h. */
18292#include <string>
18293int
18294main ()
18295{
18296std::wstring foo;
18297 ;
18298 return 0;
18299}
18300_ACEOF
18301rm -f conftest.$ac_objext
18302if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18303 (eval $ac_compile) 2>&5
18304 ac_status=$?
18305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18306 (exit $ac_status); } &&
18307 { ac_try='test -s conftest.$ac_objext'
18308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18309 (eval $ac_try) 2>&5
18310 ac_status=$?
18311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18312 (exit $ac_status); }; }; then
18313 echo "$as_me:$LINENO: result: yes" >&5
18314echo "${ECHO_T}yes" >&6
18315 cat >>confdefs.h <<\_ACEOF
18316#define HAVE_STD_WSTRING 1
18317_ACEOF
18318
18319else
18320 echo "$as_me: failed program was:" >&5
18321sed 's/^/| /' conftest.$ac_ext >&5
18322
18323echo "$as_me:$LINENO: result: no" >&5
18324echo "${ECHO_T}no" >&6
18325fi
18326rm -f conftest.$ac_objext conftest.$ac_ext
18327
18328 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
18329echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
18330 cat >conftest.$ac_ext <<_ACEOF
18331#line $LINENO "configure"
18332/* confdefs.h. */
18333_ACEOF
18334cat confdefs.h >>conftest.$ac_ext
18335cat >>conftest.$ac_ext <<_ACEOF
18336/* end confdefs.h. */
18337#include <string>
18338int
18339main ()
18340{
18341std::string foo, bar;
18342 foo.compare(bar);
18343 foo.compare(1, 1, bar);
18344 foo.compare(1, 1, bar, 1, 1);
18345 foo.compare("");
18346 foo.compare(1, 1, "");
18347 foo.compare(1, 1, "", 2);
18348 ;
18349 return 0;
18350}
18351_ACEOF
18352rm -f conftest.$ac_objext
18353if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18354 (eval $ac_compile) 2>&5
18355 ac_status=$?
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); } &&
18358 { ac_try='test -s conftest.$ac_objext'
18359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18360 (eval $ac_try) 2>&5
18361 ac_status=$?
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); }; }; then
18364 echo "$as_me:$LINENO: result: yes" >&5
18365echo "${ECHO_T}yes" >&6
18366 cat >>confdefs.h <<\_ACEOF
18367#define HAVE_STD_STRING_COMPARE 1
18368_ACEOF
18369
18370else
18371 echo "$as_me: failed program was:" >&5
18372sed 's/^/| /' conftest.$ac_ext >&5
18373
18374echo "$as_me:$LINENO: result: no" >&5
18375echo "${ECHO_T}no" >&6
18376fi
18377rm -f conftest.$ac_objext conftest.$ac_ext
18378
18379 ac_ext=c
18380ac_cpp='$CPP $CPPFLAGS'
18381ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18382ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18383ac_compiler_gnu=$ac_cv_c_compiler_gnu
18384
18385fi
18386
18387
18388SEARCH_INCLUDE="\
18389 /usr/local/include \
18390 \
18391 /usr/Motif-2.1/include \
18392 /usr/Motif-1.2/include \
18393 /usr/include/Motif1.2 \
18394 /opt/xpm/include/X11 \
18395 /opt/GBxpm/include/ \
18396 /opt/GBxpm/X11/include/ \
18397 \
18398 /usr/dt/include \
18399 /usr/openwin/include \
18400 \
18401 /usr/include/Xm \
18402 \
18403 /usr/X11R6/include \
18404 /usr/X11R6.4/include \
18405 /usr/X11R5/include \
18406 /usr/X11R4/include \
18407 \
18408 /usr/include/X11R6 \
18409 /usr/include/X11R5 \
18410 /usr/include/X11R4 \
18411 \
18412 /usr/local/X11R6/include \
18413 /usr/local/X11R5/include \
18414 /usr/local/X11R4/include \
18415 \
18416 /usr/local/include/X11R6 \
18417 /usr/local/include/X11R5 \
18418 /usr/local/include/X11R4 \
18419 \
18420 /usr/X11/include \
18421 /usr/include/X11 \
18422 /usr/local/X11/include \
18423 /usr/local/include/X11 \
18424 \
18425 /usr/X386/include \
18426 /usr/x386/include \
18427 /usr/XFree86/include/X11 \
18428 \
18429 X:/XFree86/include \
18430 X:/XFree86/include/X11 \
18431 \
18432 /usr/include/gtk \
18433 /usr/local/include/gtk \
18434 /usr/include/glib \
18435 /usr/local/include/glib \
18436 \
18437 /usr/include/qt \
18438 /usr/local/include/qt \
18439 \
18440 /usr/include/windows \
18441 /usr/include/wine \
18442 /usr/local/include/wine \
18443 \
18444 /usr/unsupported/include \
18445 /usr/athena/include \
18446 /usr/local/x11r5/include \
18447 /usr/lpp/Xamples/include \
18448 \
18449 /usr/openwin/share/include"
18450
18451SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
18452
18453
18454cat >confcache <<\_ACEOF
18455# This file is a shell script that caches the results of configure
18456# tests run on this system so they can be shared between configure
18457# scripts and configure runs, see configure's option --config-cache.
18458# It is not useful on other systems. If it contains results you don't
18459# want to keep, you may remove or edit it.
18460#
18461# config.status only pays attention to the cache file if you give it
18462# the --recheck option to rerun configure.
18463#
18464# `ac_cv_env_foo' variables (set or unset) will be overridden when
18465# loading this file, other *unset* `ac_cv_foo' will be assigned the
18466# following values.
18467
18468_ACEOF
18469
18470# The following way of writing the cache mishandles newlines in values,
18471# but we know of no workaround that is simple, portable, and efficient.
18472# So, don't put newlines in cache variables' values.
18473# Ultrix sh set writes to stderr and can't be redirected directly,
18474# and sets the high bit in the cache file unless we assign to the vars.
18475{
18476 (set) 2>&1 |
18477 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18478 *ac_space=\ *)
18479 # `set' does not quote correctly, so add quotes (double-quote
18480 # substitution turns \\\\ into \\, and sed turns \\ into \).
18481 sed -n \
18482 "s/'/'\\\\''/g;
18483 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18484 ;;
18485 *)
18486 # `set' quotes correctly as required by POSIX, so do not add quotes.
18487 sed -n \
18488 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18489 ;;
18490 esac;
18491} |
18492 sed '
18493 t clear
18494 : clear
18495 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18496 t end
18497 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18498 : end' >>confcache
18499if diff $cache_file confcache >/dev/null 2>&1; then :; else
18500 if test -w $cache_file; then
18501 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18502 cat confcache >$cache_file
18503 else
18504 echo "not updating unwritable cache $cache_file"
18505 fi
18506fi
18507rm -f confcache
18508
18509if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18510 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18511echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18512if test "${wx_cv_lib_glibc21+set}" = set; then
18513 echo $ECHO_N "(cached) $ECHO_C" >&6
18514else
18515
18516 cat >conftest.$ac_ext <<_ACEOF
18517#line $LINENO "configure"
18518/* confdefs.h. */
18519_ACEOF
18520cat confdefs.h >>conftest.$ac_ext
18521cat >>conftest.$ac_ext <<_ACEOF
18522/* end confdefs.h. */
18523#include <features.h>
18524int
18525main ()
18526{
18527
18528 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18529 #error not glibc2.1
18530 #endif
18531
18532 ;
18533 return 0;
18534}
18535_ACEOF
18536rm -f conftest.$ac_objext
18537if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18538 (eval $ac_compile) 2>&5
18539 ac_status=$?
18540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18541 (exit $ac_status); } &&
18542 { ac_try='test -s conftest.$ac_objext'
18543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18544 (eval $ac_try) 2>&5
18545 ac_status=$?
18546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18547 (exit $ac_status); }; }; then
18548
18549 wx_cv_lib_glibc21=yes
18550
18551else
18552 echo "$as_me: failed program was:" >&5
18553sed 's/^/| /' conftest.$ac_ext >&5
18554
18555
18556 wx_cv_lib_glibc21=no
18557
18558
18559fi
18560rm -f conftest.$ac_objext conftest.$ac_ext
18561
18562fi
18563echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18564echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18565 if test "$wx_cv_lib_glibc21" = "yes"; then
18566 cat >>confdefs.h <<\_ACEOF
18567#define wxHAVE_GLIBC2 1
18568_ACEOF
18569
18570 fi
18571fi
18572
18573if test "x$wx_cv_lib_glibc21" = "xyes"; then
18574 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18575 cat >>confdefs.h <<\_ACEOF
18576#define _GNU_SOURCE 1
18577_ACEOF
18578
18579 fi
18580fi
18581
18582
18583
18584if test "$wxUSE_REGEX" != "no"; then
18585 cat >>confdefs.h <<\_ACEOF
18586#define wxUSE_REGEX 1
18587_ACEOF
18588
18589
18590 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
18591 { echo "$as_me:$LINENO: WARNING: Unicode build requires built-in regex library, will use it instead" >&5
18592echo "$as_me: WARNING: Unicode build requires built-in regex library, will use it instead" >&2;}
18593 wxUSE_REGEX=builtin
18594 fi
18595
18596 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18597 if test "${ac_cv_header_regex_h+set}" = set; then
18598 echo "$as_me:$LINENO: checking for regex.h" >&5
18599echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18600if test "${ac_cv_header_regex_h+set}" = set; then
18601 echo $ECHO_N "(cached) $ECHO_C" >&6
18602fi
18603echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18604echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18605else
18606 # Is the header compilable?
18607echo "$as_me:$LINENO: checking regex.h usability" >&5
18608echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18609cat >conftest.$ac_ext <<_ACEOF
18610#line $LINENO "configure"
18611/* confdefs.h. */
18612_ACEOF
18613cat confdefs.h >>conftest.$ac_ext
18614cat >>conftest.$ac_ext <<_ACEOF
18615/* end confdefs.h. */
18616$ac_includes_default
18617#include <regex.h>
18618_ACEOF
18619rm -f conftest.$ac_objext
18620if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18621 (eval $ac_compile) 2>&5
18622 ac_status=$?
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); } &&
18625 { ac_try='test -s conftest.$ac_objext'
18626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18627 (eval $ac_try) 2>&5
18628 ac_status=$?
18629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630 (exit $ac_status); }; }; then
18631 ac_header_compiler=yes
18632else
18633 echo "$as_me: failed program was:" >&5
18634sed 's/^/| /' conftest.$ac_ext >&5
18635
18636ac_header_compiler=no
18637fi
18638rm -f conftest.$ac_objext conftest.$ac_ext
18639echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18640echo "${ECHO_T}$ac_header_compiler" >&6
18641
18642# Is the header present?
18643echo "$as_me:$LINENO: checking regex.h presence" >&5
18644echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18645cat >conftest.$ac_ext <<_ACEOF
18646#line $LINENO "configure"
18647/* confdefs.h. */
18648_ACEOF
18649cat confdefs.h >>conftest.$ac_ext
18650cat >>conftest.$ac_ext <<_ACEOF
18651/* end confdefs.h. */
18652#include <regex.h>
18653_ACEOF
18654if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18655 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18656 ac_status=$?
18657 grep -v '^ *+' conftest.er1 >conftest.err
18658 rm -f conftest.er1
18659 cat conftest.err >&5
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); } >/dev/null; then
18662 if test -s conftest.err; then
18663 ac_cpp_err=$ac_c_preproc_warn_flag
18664 else
18665 ac_cpp_err=
18666 fi
18667else
18668 ac_cpp_err=yes
18669fi
18670if test -z "$ac_cpp_err"; then
18671 ac_header_preproc=yes
18672else
18673 echo "$as_me: failed program was:" >&5
18674sed 's/^/| /' conftest.$ac_ext >&5
18675
18676 ac_header_preproc=no
18677fi
18678rm -f conftest.err conftest.$ac_ext
18679echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18680echo "${ECHO_T}$ac_header_preproc" >&6
18681
18682# So? What about this header?
18683case $ac_header_compiler:$ac_header_preproc in
18684 yes:no )
18685 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18686echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18687 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18688echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18689 (
18690 cat <<\_ASBOX
18691## ------------------------------------ ##
18692## Report this to bug-autoconf@gnu.org. ##
18693## ------------------------------------ ##
18694_ASBOX
18695 ) |
18696 sed "s/^/$as_me: WARNING: /" >&2
18697 ;;
18698 no:yes )
18699 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18700echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18701 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18702echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18703 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18704echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18705 (
18706 cat <<\_ASBOX
18707## ------------------------------------ ##
18708## Report this to bug-autoconf@gnu.org. ##
18709## ------------------------------------ ##
18710_ASBOX
18711 ) |
18712 sed "s/^/$as_me: WARNING: /" >&2
18713 ;;
18714esac
18715echo "$as_me:$LINENO: checking for regex.h" >&5
18716echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18717if test "${ac_cv_header_regex_h+set}" = set; then
18718 echo $ECHO_N "(cached) $ECHO_C" >&6
18719else
18720 ac_cv_header_regex_h=$ac_header_preproc
18721fi
18722echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18723echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18724
18725fi
18726if test $ac_cv_header_regex_h = yes; then
18727
18728for ac_func in regcomp
18729do
18730as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18731echo "$as_me:$LINENO: checking for $ac_func" >&5
18732echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18733if eval "test \"\${$as_ac_var+set}\" = set"; then
18734 echo $ECHO_N "(cached) $ECHO_C" >&6
18735else
18736 cat >conftest.$ac_ext <<_ACEOF
18737#line $LINENO "configure"
18738/* confdefs.h. */
18739_ACEOF
18740cat confdefs.h >>conftest.$ac_ext
18741cat >>conftest.$ac_ext <<_ACEOF
18742/* end confdefs.h. */
18743/* System header to define __stub macros and hopefully few prototypes,
18744 which can conflict with char $ac_func (); below.
18745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18746 <limits.h> exists even on freestanding compilers. */
18747#ifdef __STDC__
18748# include <limits.h>
18749#else
18750# include <assert.h>
18751#endif
18752/* Override any gcc2 internal prototype to avoid an error. */
18753#ifdef __cplusplus
18754extern "C"
18755{
18756#endif
18757/* We use char because int might match the return type of a gcc2
18758 builtin and then its argument prototype would still apply. */
18759char $ac_func ();
18760/* The GNU C library defines this for functions which it implements
18761 to always fail with ENOSYS. Some functions are actually named
18762 something starting with __ and the normal name is an alias. */
18763#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18764choke me
18765#else
18766char (*f) () = $ac_func;
18767#endif
18768#ifdef __cplusplus
18769}
18770#endif
18771
18772int
18773main ()
18774{
18775return f != $ac_func;
18776 ;
18777 return 0;
18778}
18779_ACEOF
18780rm -f conftest.$ac_objext conftest$ac_exeext
18781if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18782 (eval $ac_link) 2>&5
18783 ac_status=$?
18784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18785 (exit $ac_status); } &&
18786 { ac_try='test -s conftest$ac_exeext'
18787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18788 (eval $ac_try) 2>&5
18789 ac_status=$?
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); }; }; then
18792 eval "$as_ac_var=yes"
18793else
18794 echo "$as_me: failed program was:" >&5
18795sed 's/^/| /' conftest.$ac_ext >&5
18796
18797eval "$as_ac_var=no"
18798fi
18799rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18800fi
18801echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18802echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18803if test `eval echo '${'$as_ac_var'}'` = yes; then
18804 cat >>confdefs.h <<_ACEOF
18805#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18806_ACEOF
18807
18808fi
18809done
18810
18811fi
18812
18813
18814
18815 if test "x$ac_cv_func_regcomp" != "xyes"; then
18816 if test "$wxUSE_REGEX" = "sys" ; then
18817 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18818echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18819 { (exit 1); exit 1; }; }
18820 else
18821 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18822echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18823 wxUSE_REGEX=builtin
18824 fi
18825 else
18826 wxUSE_REGEX=sys
18827 fi
18828 fi
18829fi
18830
18831
18832ZLIB_LINK=
18833if test "$wxUSE_ZLIB" != "no" ; then
18834 cat >>confdefs.h <<\_ACEOF
18835#define wxUSE_ZLIB 1
18836_ACEOF
18837
18838
18839 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18840 if test "$USE_DARWIN" = 1; then
18841 system_zlib_h_ok="yes"
18842 else
18843 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18844echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18845if test "${ac_cv_header_zlib_h+set}" = set; then
18846 echo $ECHO_N "(cached) $ECHO_C" >&6
18847else
18848 if test "$cross_compiling" = yes; then
18849 unset ac_cv_header_zlib_h
18850
18851else
18852 cat >conftest.$ac_ext <<_ACEOF
18853#line $LINENO "configure"
18854/* confdefs.h. */
18855_ACEOF
18856cat confdefs.h >>conftest.$ac_ext
18857cat >>conftest.$ac_ext <<_ACEOF
18858/* end confdefs.h. */
18859
18860 #include <zlib.h>
18861 #include <stdio.h>
18862
18863 int main()
18864 {
18865 FILE *f=fopen("conftestval", "w");
18866 if (!f) exit(1);
18867 fprintf(f, "%s",
18868 ZLIB_VERSION[0] == '1' &&
18869 (ZLIB_VERSION[2] > '1' ||
18870 (ZLIB_VERSION[2] == '1' &&
18871 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18872 exit(0);
18873 }
18874
18875_ACEOF
18876rm -f conftest$ac_exeext
18877if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18878 (eval $ac_link) 2>&5
18879 ac_status=$?
18880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18883 (eval $ac_try) 2>&5
18884 ac_status=$?
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); }; }; then
18887 ac_cv_header_zlib_h=`cat conftestval`
18888else
18889 echo "$as_me: program exited with status $ac_status" >&5
18890echo "$as_me: failed program was:" >&5
18891sed 's/^/| /' conftest.$ac_ext >&5
18892
18893( exit $ac_status )
18894ac_cv_header_zlib_h=no
18895fi
18896rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18897fi
18898
18899fi
18900echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18901echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18902 if test "${ac_cv_header_zlib_h+set}" = set; then
18903 echo "$as_me:$LINENO: checking for zlib.h" >&5
18904echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18905if test "${ac_cv_header_zlib_h+set}" = set; then
18906 echo $ECHO_N "(cached) $ECHO_C" >&6
18907fi
18908echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18909echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18910else
18911 # Is the header compilable?
18912echo "$as_me:$LINENO: checking zlib.h usability" >&5
18913echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18914cat >conftest.$ac_ext <<_ACEOF
18915#line $LINENO "configure"
18916/* confdefs.h. */
18917_ACEOF
18918cat confdefs.h >>conftest.$ac_ext
18919cat >>conftest.$ac_ext <<_ACEOF
18920/* end confdefs.h. */
18921$ac_includes_default
18922#include <zlib.h>
18923_ACEOF
18924rm -f conftest.$ac_objext
18925if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18926 (eval $ac_compile) 2>&5
18927 ac_status=$?
18928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18929 (exit $ac_status); } &&
18930 { ac_try='test -s conftest.$ac_objext'
18931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18932 (eval $ac_try) 2>&5
18933 ac_status=$?
18934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18935 (exit $ac_status); }; }; then
18936 ac_header_compiler=yes
18937else
18938 echo "$as_me: failed program was:" >&5
18939sed 's/^/| /' conftest.$ac_ext >&5
18940
18941ac_header_compiler=no
18942fi
18943rm -f conftest.$ac_objext conftest.$ac_ext
18944echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18945echo "${ECHO_T}$ac_header_compiler" >&6
18946
18947# Is the header present?
18948echo "$as_me:$LINENO: checking zlib.h presence" >&5
18949echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18950cat >conftest.$ac_ext <<_ACEOF
18951#line $LINENO "configure"
18952/* confdefs.h. */
18953_ACEOF
18954cat confdefs.h >>conftest.$ac_ext
18955cat >>conftest.$ac_ext <<_ACEOF
18956/* end confdefs.h. */
18957#include <zlib.h>
18958_ACEOF
18959if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18960 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18961 ac_status=$?
18962 grep -v '^ *+' conftest.er1 >conftest.err
18963 rm -f conftest.er1
18964 cat conftest.err >&5
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); } >/dev/null; then
18967 if test -s conftest.err; then
18968 ac_cpp_err=$ac_c_preproc_warn_flag
18969 else
18970 ac_cpp_err=
18971 fi
18972else
18973 ac_cpp_err=yes
18974fi
18975if test -z "$ac_cpp_err"; then
18976 ac_header_preproc=yes
18977else
18978 echo "$as_me: failed program was:" >&5
18979sed 's/^/| /' conftest.$ac_ext >&5
18980
18981 ac_header_preproc=no
18982fi
18983rm -f conftest.err conftest.$ac_ext
18984echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18985echo "${ECHO_T}$ac_header_preproc" >&6
18986
18987# So? What about this header?
18988case $ac_header_compiler:$ac_header_preproc in
18989 yes:no )
18990 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18991echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18992 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18993echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18994 (
18995 cat <<\_ASBOX
18996## ------------------------------------ ##
18997## Report this to bug-autoconf@gnu.org. ##
18998## ------------------------------------ ##
18999_ASBOX
19000 ) |
19001 sed "s/^/$as_me: WARNING: /" >&2
19002 ;;
19003 no:yes )
19004 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
19005echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
19006 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
19007echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
19008 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
19009echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
19010 (
19011 cat <<\_ASBOX
19012## ------------------------------------ ##
19013## Report this to bug-autoconf@gnu.org. ##
19014## ------------------------------------ ##
19015_ASBOX
19016 ) |
19017 sed "s/^/$as_me: WARNING: /" >&2
19018 ;;
19019esac
19020echo "$as_me:$LINENO: checking for zlib.h" >&5
19021echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19022if test "${ac_cv_header_zlib_h+set}" = set; then
19023 echo $ECHO_N "(cached) $ECHO_C" >&6
19024else
19025 ac_cv_header_zlib_h=$ac_header_preproc
19026fi
19027echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19028echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19029
19030fi
19031
19032
19033
19034 system_zlib_h_ok=$ac_cv_header_zlib_h
19035 fi
19036
19037 if test "$system_zlib_h_ok" = "yes"; then
19038 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
19039echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
19040if test "${ac_cv_lib_z_deflate+set}" = set; then
19041 echo $ECHO_N "(cached) $ECHO_C" >&6
19042else
19043 ac_check_lib_save_LIBS=$LIBS
19044LIBS="-lz $LIBS"
19045cat >conftest.$ac_ext <<_ACEOF
19046#line $LINENO "configure"
19047/* confdefs.h. */
19048_ACEOF
19049cat confdefs.h >>conftest.$ac_ext
19050cat >>conftest.$ac_ext <<_ACEOF
19051/* end confdefs.h. */
19052
19053/* Override any gcc2 internal prototype to avoid an error. */
19054#ifdef __cplusplus
19055extern "C"
19056#endif
19057/* We use char because int might match the return type of a gcc2
19058 builtin and then its argument prototype would still apply. */
19059char deflate ();
19060int
19061main ()
19062{
19063deflate ();
19064 ;
19065 return 0;
19066}
19067_ACEOF
19068rm -f conftest.$ac_objext conftest$ac_exeext
19069if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19070 (eval $ac_link) 2>&5
19071 ac_status=$?
19072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); } &&
19074 { ac_try='test -s conftest$ac_exeext'
19075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19076 (eval $ac_try) 2>&5
19077 ac_status=$?
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); }; }; then
19080 ac_cv_lib_z_deflate=yes
19081else
19082 echo "$as_me: failed program was:" >&5
19083sed 's/^/| /' conftest.$ac_ext >&5
19084
19085ac_cv_lib_z_deflate=no
19086fi
19087rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19088LIBS=$ac_check_lib_save_LIBS
19089fi
19090echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
19091echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
19092if test $ac_cv_lib_z_deflate = yes; then
19093 ZLIB_LINK=" -lz"
19094fi
19095
19096 fi
19097
19098 if test "x$ZLIB_LINK" = "x" ; then
19099 if test "$wxUSE_ZLIB" = "sys" ; then
19100 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
19101echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
19102 { (exit 1); exit 1; }; }
19103 else
19104 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
19105echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
19106 wxUSE_ZLIB=builtin
19107 fi
19108 else
19109 wxUSE_ZLIB=sys
19110 fi
19111 fi
19112fi
19113
19114
19115PNG_LINK=
19116if test "$wxUSE_LIBPNG" != "no" ; then
19117 cat >>confdefs.h <<\_ACEOF
19118#define wxUSE_LIBPNG 1
19119_ACEOF
19120
19121
19122 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
19123 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
19124echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
19125 wxUSE_LIBPNG=sys
19126 fi
19127
19128 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
19129 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
19130echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
19131 wxUSE_LIBPNG=builtin
19132 fi
19133
19134 if test "$wxUSE_MGL" != 1 ; then
19135 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
19136 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
19137echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
19138if test "${ac_cv_header_png_h+set}" = set; then
19139 echo $ECHO_N "(cached) $ECHO_C" >&6
19140else
19141 if test "$cross_compiling" = yes; then
19142 unset ac_cv_header_png_h
19143
19144else
19145 cat >conftest.$ac_ext <<_ACEOF
19146#line $LINENO "configure"
19147/* confdefs.h. */
19148_ACEOF
19149cat confdefs.h >>conftest.$ac_ext
19150cat >>conftest.$ac_ext <<_ACEOF
19151/* end confdefs.h. */
19152
19153 #include <png.h>
19154 #include <stdio.h>
19155
19156 int main()
19157 {
19158 FILE *f=fopen("conftestval", "w");
19159 if (!f) exit(1);
19160 fprintf(f, "%s",
19161 PNG_LIBPNG_VER > 90 ? "yes" : "no");
19162 exit(0);
19163 }
19164
19165_ACEOF
19166rm -f conftest$ac_exeext
19167if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19168 (eval $ac_link) 2>&5
19169 ac_status=$?
19170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19171 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19173 (eval $ac_try) 2>&5
19174 ac_status=$?
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); }; }; then
19177 ac_cv_header_png_h=`cat conftestval`
19178else
19179 echo "$as_me: program exited with status $ac_status" >&5
19180echo "$as_me: failed program was:" >&5
19181sed 's/^/| /' conftest.$ac_ext >&5
19182
19183( exit $ac_status )
19184ac_cv_header_png_h=no
19185fi
19186rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19187fi
19188
19189fi
19190echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19191echo "${ECHO_T}$ac_cv_header_png_h" >&6
19192 if test "${ac_cv_header_png_h+set}" = set; then
19193 echo "$as_me:$LINENO: checking for png.h" >&5
19194echo $ECHO_N "checking for png.h... $ECHO_C" >&6
19195if test "${ac_cv_header_png_h+set}" = set; then
19196 echo $ECHO_N "(cached) $ECHO_C" >&6
19197fi
19198echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19199echo "${ECHO_T}$ac_cv_header_png_h" >&6
19200else
19201 # Is the header compilable?
19202echo "$as_me:$LINENO: checking png.h usability" >&5
19203echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
19204cat >conftest.$ac_ext <<_ACEOF
19205#line $LINENO "configure"
19206/* confdefs.h. */
19207_ACEOF
19208cat confdefs.h >>conftest.$ac_ext
19209cat >>conftest.$ac_ext <<_ACEOF
19210/* end confdefs.h. */
19211$ac_includes_default
19212#include <png.h>
19213_ACEOF
19214rm -f conftest.$ac_objext
19215if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19216 (eval $ac_compile) 2>&5
19217 ac_status=$?
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); } &&
19220 { ac_try='test -s conftest.$ac_objext'
19221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19222 (eval $ac_try) 2>&5
19223 ac_status=$?
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); }; }; then
19226 ac_header_compiler=yes
19227else
19228 echo "$as_me: failed program was:" >&5
19229sed 's/^/| /' conftest.$ac_ext >&5
19230
19231ac_header_compiler=no
19232fi
19233rm -f conftest.$ac_objext conftest.$ac_ext
19234echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19235echo "${ECHO_T}$ac_header_compiler" >&6
19236
19237# Is the header present?
19238echo "$as_me:$LINENO: checking png.h presence" >&5
19239echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
19240cat >conftest.$ac_ext <<_ACEOF
19241#line $LINENO "configure"
19242/* confdefs.h. */
19243_ACEOF
19244cat confdefs.h >>conftest.$ac_ext
19245cat >>conftest.$ac_ext <<_ACEOF
19246/* end confdefs.h. */
19247#include <png.h>
19248_ACEOF
19249if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19250 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19251 ac_status=$?
19252 grep -v '^ *+' conftest.er1 >conftest.err
19253 rm -f conftest.er1
19254 cat conftest.err >&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); } >/dev/null; then
19257 if test -s conftest.err; then
19258 ac_cpp_err=$ac_c_preproc_warn_flag
19259 else
19260 ac_cpp_err=
19261 fi
19262else
19263 ac_cpp_err=yes
19264fi
19265if test -z "$ac_cpp_err"; then
19266 ac_header_preproc=yes
19267else
19268 echo "$as_me: failed program was:" >&5
19269sed 's/^/| /' conftest.$ac_ext >&5
19270
19271 ac_header_preproc=no
19272fi
19273rm -f conftest.err conftest.$ac_ext
19274echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19275echo "${ECHO_T}$ac_header_preproc" >&6
19276
19277# So? What about this header?
19278case $ac_header_compiler:$ac_header_preproc in
19279 yes:no )
19280 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
19281echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19282 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
19283echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
19284 (
19285 cat <<\_ASBOX
19286## ------------------------------------ ##
19287## Report this to bug-autoconf@gnu.org. ##
19288## ------------------------------------ ##
19289_ASBOX
19290 ) |
19291 sed "s/^/$as_me: WARNING: /" >&2
19292 ;;
19293 no:yes )
19294 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
19295echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
19296 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
19297echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
19298 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
19299echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
19300 (
19301 cat <<\_ASBOX
19302## ------------------------------------ ##
19303## Report this to bug-autoconf@gnu.org. ##
19304## ------------------------------------ ##
19305_ASBOX
19306 ) |
19307 sed "s/^/$as_me: WARNING: /" >&2
19308 ;;
19309esac
19310echo "$as_me:$LINENO: checking for png.h" >&5
19311echo $ECHO_N "checking for png.h... $ECHO_C" >&6
19312if test "${ac_cv_header_png_h+set}" = set; then
19313 echo $ECHO_N "(cached) $ECHO_C" >&6
19314else
19315 ac_cv_header_png_h=$ac_header_preproc
19316fi
19317echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19318echo "${ECHO_T}$ac_cv_header_png_h" >&6
19319
19320fi
19321
19322
19323
19324 if test "$ac_cv_header_png_h" = "yes"; then
19325 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
19326echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
19327if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
19328 echo $ECHO_N "(cached) $ECHO_C" >&6
19329else
19330 ac_check_lib_save_LIBS=$LIBS
19331LIBS="-lpng -lz -lm $LIBS"
19332cat >conftest.$ac_ext <<_ACEOF
19333#line $LINENO "configure"
19334/* confdefs.h. */
19335_ACEOF
19336cat confdefs.h >>conftest.$ac_ext
19337cat >>conftest.$ac_ext <<_ACEOF
19338/* end confdefs.h. */
19339
19340/* Override any gcc2 internal prototype to avoid an error. */
19341#ifdef __cplusplus
19342extern "C"
19343#endif
19344/* We use char because int might match the return type of a gcc2
19345 builtin and then its argument prototype would still apply. */
19346char png_check_sig ();
19347int
19348main ()
19349{
19350png_check_sig ();
19351 ;
19352 return 0;
19353}
19354_ACEOF
19355rm -f conftest.$ac_objext conftest$ac_exeext
19356if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19357 (eval $ac_link) 2>&5
19358 ac_status=$?
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } &&
19361 { ac_try='test -s conftest$ac_exeext'
19362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19363 (eval $ac_try) 2>&5
19364 ac_status=$?
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366 (exit $ac_status); }; }; then
19367 ac_cv_lib_png_png_check_sig=yes
19368else
19369 echo "$as_me: failed program was:" >&5
19370sed 's/^/| /' conftest.$ac_ext >&5
19371
19372ac_cv_lib_png_png_check_sig=no
19373fi
19374rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19375LIBS=$ac_check_lib_save_LIBS
19376fi
19377echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
19378echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
19379if test $ac_cv_lib_png_png_check_sig = yes; then
19380 PNG_LINK=" -lpng"
19381fi
19382
19383 fi
19384
19385 if test "x$PNG_LINK" = "x" ; then
19386 if test "$wxUSE_LIBPNG" = "sys" ; then
19387 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
19388echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
19389 { (exit 1); exit 1; }; }
19390 else
19391 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
19392echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
19393 wxUSE_LIBPNG=builtin
19394 fi
19395 else
19396 wxUSE_LIBPNG=sys
19397 fi
19398 fi
19399 fi
19400
19401 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
19402fi
19403
19404
19405JPEG_LINK=
19406if test "$wxUSE_LIBJPEG" != "no" ; then
19407 cat >>confdefs.h <<\_ACEOF
19408#define wxUSE_LIBJPEG 1
19409_ACEOF
19410
19411
19412 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
19413 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
19414echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
19415 wxUSE_LIBJPEG=sys
19416 fi
19417
19418 if test "$wxUSE_MGL" != 1 ; then
19419 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
19420 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
19421echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
19422 if test "${ac_cv_header_jpeglib_h+set}" = set; then
19423 echo $ECHO_N "(cached) $ECHO_C" >&6
19424else
19425 cat >conftest.$ac_ext <<_ACEOF
19426#line $LINENO "configure"
19427/* confdefs.h. */
19428_ACEOF
19429cat confdefs.h >>conftest.$ac_ext
19430cat >>conftest.$ac_ext <<_ACEOF
19431/* end confdefs.h. */
19432
19433 #undef HAVE_STDLIB_H
19434 #include <stdio.h>
19435 #include <jpeglib.h>
19436
19437int
19438main ()
19439{
19440
19441
19442 ;
19443 return 0;
19444}
19445_ACEOF
19446rm -f conftest.$ac_objext
19447if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19448 (eval $ac_compile) 2>&5
19449 ac_status=$?
19450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451 (exit $ac_status); } &&
19452 { ac_try='test -s conftest.$ac_objext'
19453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19454 (eval $ac_try) 2>&5
19455 ac_status=$?
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); }; }; then
19458 ac_cv_header_jpeglib_h=yes
19459else
19460 echo "$as_me: failed program was:" >&5
19461sed 's/^/| /' conftest.$ac_ext >&5
19462
19463ac_cv_header_jpeglib_h=no
19464
19465fi
19466rm -f conftest.$ac_objext conftest.$ac_ext
19467
19468fi
19469
19470 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
19471echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
19472
19473 if test "$ac_cv_header_jpeglib_h" = "yes"; then
19474 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
19475echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
19476if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
19477 echo $ECHO_N "(cached) $ECHO_C" >&6
19478else
19479 ac_check_lib_save_LIBS=$LIBS
19480LIBS="-ljpeg $LIBS"
19481cat >conftest.$ac_ext <<_ACEOF
19482#line $LINENO "configure"
19483/* confdefs.h. */
19484_ACEOF
19485cat confdefs.h >>conftest.$ac_ext
19486cat >>conftest.$ac_ext <<_ACEOF
19487/* end confdefs.h. */
19488
19489/* Override any gcc2 internal prototype to avoid an error. */
19490#ifdef __cplusplus
19491extern "C"
19492#endif
19493/* We use char because int might match the return type of a gcc2
19494 builtin and then its argument prototype would still apply. */
19495char jpeg_read_header ();
19496int
19497main ()
19498{
19499jpeg_read_header ();
19500 ;
19501 return 0;
19502}
19503_ACEOF
19504rm -f conftest.$ac_objext conftest$ac_exeext
19505if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19506 (eval $ac_link) 2>&5
19507 ac_status=$?
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); } &&
19510 { ac_try='test -s conftest$ac_exeext'
19511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19512 (eval $ac_try) 2>&5
19513 ac_status=$?
19514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); }; }; then
19516 ac_cv_lib_jpeg_jpeg_read_header=yes
19517else
19518 echo "$as_me: failed program was:" >&5
19519sed 's/^/| /' conftest.$ac_ext >&5
19520
19521ac_cv_lib_jpeg_jpeg_read_header=no
19522fi
19523rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19524LIBS=$ac_check_lib_save_LIBS
19525fi
19526echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19527echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19528if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19529 JPEG_LINK=" -ljpeg"
19530fi
19531
19532 fi
19533
19534 if test "x$JPEG_LINK" = "x" ; then
19535 if test "$wxUSE_LIBJPEG" = "sys" ; then
19536 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19537echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19538 { (exit 1); exit 1; }; }
19539 else
19540 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19541echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19542 wxUSE_LIBJPEG=builtin
19543 fi
19544 else
19545 wxUSE_LIBJPEG=sys
19546 fi
19547 fi
19548 fi
19549fi
19550
19551
19552TIFF_LINK=
19553TIFF_PREREQ_LINKS=-lm
19554if test "$wxUSE_LIBTIFF" != "no" ; then
19555 cat >>confdefs.h <<\_ACEOF
19556#define wxUSE_LIBTIFF 1
19557_ACEOF
19558
19559
19560 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19561 if test "$wxUSE_LIBJPEG" = "sys"; then
19562 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
19563 fi
19564 if test "$wxUSE_ZLIB" = "sys"; then
19565 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19566 fi
19567 if test "${ac_cv_header_tiffio_h+set}" = set; then
19568 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19569echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19570if test "${ac_cv_header_tiffio_h+set}" = set; then
19571 echo $ECHO_N "(cached) $ECHO_C" >&6
19572fi
19573echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19574echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19575else
19576 # Is the header compilable?
19577echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19578echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19579cat >conftest.$ac_ext <<_ACEOF
19580#line $LINENO "configure"
19581/* confdefs.h. */
19582_ACEOF
19583cat confdefs.h >>conftest.$ac_ext
19584cat >>conftest.$ac_ext <<_ACEOF
19585/* end confdefs.h. */
19586$ac_includes_default
19587#include <tiffio.h>
19588_ACEOF
19589rm -f conftest.$ac_objext
19590if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19591 (eval $ac_compile) 2>&5
19592 ac_status=$?
19593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594 (exit $ac_status); } &&
19595 { ac_try='test -s conftest.$ac_objext'
19596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19597 (eval $ac_try) 2>&5
19598 ac_status=$?
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); }; }; then
19601 ac_header_compiler=yes
19602else
19603 echo "$as_me: failed program was:" >&5
19604sed 's/^/| /' conftest.$ac_ext >&5
19605
19606ac_header_compiler=no
19607fi
19608rm -f conftest.$ac_objext conftest.$ac_ext
19609echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19610echo "${ECHO_T}$ac_header_compiler" >&6
19611
19612# Is the header present?
19613echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19614echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19615cat >conftest.$ac_ext <<_ACEOF
19616#line $LINENO "configure"
19617/* confdefs.h. */
19618_ACEOF
19619cat confdefs.h >>conftest.$ac_ext
19620cat >>conftest.$ac_ext <<_ACEOF
19621/* end confdefs.h. */
19622#include <tiffio.h>
19623_ACEOF
19624if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19625 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19626 ac_status=$?
19627 grep -v '^ *+' conftest.er1 >conftest.err
19628 rm -f conftest.er1
19629 cat conftest.err >&5
19630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19631 (exit $ac_status); } >/dev/null; then
19632 if test -s conftest.err; then
19633 ac_cpp_err=$ac_c_preproc_warn_flag
19634 else
19635 ac_cpp_err=
19636 fi
19637else
19638 ac_cpp_err=yes
19639fi
19640if test -z "$ac_cpp_err"; then
19641 ac_header_preproc=yes
19642else
19643 echo "$as_me: failed program was:" >&5
19644sed 's/^/| /' conftest.$ac_ext >&5
19645
19646 ac_header_preproc=no
19647fi
19648rm -f conftest.err conftest.$ac_ext
19649echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19650echo "${ECHO_T}$ac_header_preproc" >&6
19651
19652# So? What about this header?
19653case $ac_header_compiler:$ac_header_preproc in
19654 yes:no )
19655 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19656echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19657 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19658echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19659 (
19660 cat <<\_ASBOX
19661## ------------------------------------ ##
19662## Report this to bug-autoconf@gnu.org. ##
19663## ------------------------------------ ##
19664_ASBOX
19665 ) |
19666 sed "s/^/$as_me: WARNING: /" >&2
19667 ;;
19668 no:yes )
19669 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19670echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19671 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19672echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19673 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19674echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19675 (
19676 cat <<\_ASBOX
19677## ------------------------------------ ##
19678## Report this to bug-autoconf@gnu.org. ##
19679## ------------------------------------ ##
19680_ASBOX
19681 ) |
19682 sed "s/^/$as_me: WARNING: /" >&2
19683 ;;
19684esac
19685echo "$as_me:$LINENO: checking for tiffio.h" >&5
19686echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19687if test "${ac_cv_header_tiffio_h+set}" = set; then
19688 echo $ECHO_N "(cached) $ECHO_C" >&6
19689else
19690 ac_cv_header_tiffio_h=$ac_header_preproc
19691fi
19692echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19693echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19694
19695fi
19696if test $ac_cv_header_tiffio_h = yes; then
19697
19698 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19699echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19700if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19701 echo $ECHO_N "(cached) $ECHO_C" >&6
19702else
19703 ac_check_lib_save_LIBS=$LIBS
19704LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19705cat >conftest.$ac_ext <<_ACEOF
19706#line $LINENO "configure"
19707/* confdefs.h. */
19708_ACEOF
19709cat confdefs.h >>conftest.$ac_ext
19710cat >>conftest.$ac_ext <<_ACEOF
19711/* end confdefs.h. */
19712
19713/* Override any gcc2 internal prototype to avoid an error. */
19714#ifdef __cplusplus
19715extern "C"
19716#endif
19717/* We use char because int might match the return type of a gcc2
19718 builtin and then its argument prototype would still apply. */
19719char TIFFError ();
19720int
19721main ()
19722{
19723TIFFError ();
19724 ;
19725 return 0;
19726}
19727_ACEOF
19728rm -f conftest.$ac_objext conftest$ac_exeext
19729if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19730 (eval $ac_link) 2>&5
19731 ac_status=$?
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); } &&
19734 { ac_try='test -s conftest$ac_exeext'
19735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19736 (eval $ac_try) 2>&5
19737 ac_status=$?
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); }; }; then
19740 ac_cv_lib_tiff_TIFFError=yes
19741else
19742 echo "$as_me: failed program was:" >&5
19743sed 's/^/| /' conftest.$ac_ext >&5
19744
19745ac_cv_lib_tiff_TIFFError=no
19746fi
19747rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19748LIBS=$ac_check_lib_save_LIBS
19749fi
19750echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19751echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19752if test $ac_cv_lib_tiff_TIFFError = yes; then
19753 TIFF_LINK=" -ltiff"
19754fi
19755
19756
19757
19758fi
19759
19760
19761
19762 if test "x$TIFF_LINK" = "x" ; then
19763 if test "$wxUSE_LIBTIFF" = "sys" ; then
19764 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19765echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19766 { (exit 1); exit 1; }; }
19767 else
19768 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19769echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19770 wxUSE_LIBTIFF=builtin
19771 fi
19772 else
19773 wxUSE_LIBTIFF=sys
19774 fi
19775 fi
19776fi
19777
19778
19779if test "$wxUSE_EXPAT" != "no"; then
19780 wxUSE_XML=yes
19781 cat >>confdefs.h <<\_ACEOF
19782#define wxUSE_EXPAT 1
19783_ACEOF
19784
19785 cat >>confdefs.h <<\_ACEOF
19786#define wxUSE_XML 1
19787_ACEOF
19788
19789
19790 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19791 if test "${ac_cv_header_expat_h+set}" = set; then
19792 echo "$as_me:$LINENO: checking for expat.h" >&5
19793echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19794if test "${ac_cv_header_expat_h+set}" = set; then
19795 echo $ECHO_N "(cached) $ECHO_C" >&6
19796fi
19797echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19798echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19799else
19800 # Is the header compilable?
19801echo "$as_me:$LINENO: checking expat.h usability" >&5
19802echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19803cat >conftest.$ac_ext <<_ACEOF
19804#line $LINENO "configure"
19805/* confdefs.h. */
19806_ACEOF
19807cat confdefs.h >>conftest.$ac_ext
19808cat >>conftest.$ac_ext <<_ACEOF
19809/* end confdefs.h. */
19810$ac_includes_default
19811#include <expat.h>
19812_ACEOF
19813rm -f conftest.$ac_objext
19814if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19815 (eval $ac_compile) 2>&5
19816 ac_status=$?
19817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19818 (exit $ac_status); } &&
19819 { ac_try='test -s conftest.$ac_objext'
19820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19821 (eval $ac_try) 2>&5
19822 ac_status=$?
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824 (exit $ac_status); }; }; then
19825 ac_header_compiler=yes
19826else
19827 echo "$as_me: failed program was:" >&5
19828sed 's/^/| /' conftest.$ac_ext >&5
19829
19830ac_header_compiler=no
19831fi
19832rm -f conftest.$ac_objext conftest.$ac_ext
19833echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19834echo "${ECHO_T}$ac_header_compiler" >&6
19835
19836# Is the header present?
19837echo "$as_me:$LINENO: checking expat.h presence" >&5
19838echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19839cat >conftest.$ac_ext <<_ACEOF
19840#line $LINENO "configure"
19841/* confdefs.h. */
19842_ACEOF
19843cat confdefs.h >>conftest.$ac_ext
19844cat >>conftest.$ac_ext <<_ACEOF
19845/* end confdefs.h. */
19846#include <expat.h>
19847_ACEOF
19848if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19849 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19850 ac_status=$?
19851 grep -v '^ *+' conftest.er1 >conftest.err
19852 rm -f conftest.er1
19853 cat conftest.err >&5
19854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19855 (exit $ac_status); } >/dev/null; then
19856 if test -s conftest.err; then
19857 ac_cpp_err=$ac_c_preproc_warn_flag
19858 else
19859 ac_cpp_err=
19860 fi
19861else
19862 ac_cpp_err=yes
19863fi
19864if test -z "$ac_cpp_err"; then
19865 ac_header_preproc=yes
19866else
19867 echo "$as_me: failed program was:" >&5
19868sed 's/^/| /' conftest.$ac_ext >&5
19869
19870 ac_header_preproc=no
19871fi
19872rm -f conftest.err conftest.$ac_ext
19873echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19874echo "${ECHO_T}$ac_header_preproc" >&6
19875
19876# So? What about this header?
19877case $ac_header_compiler:$ac_header_preproc in
19878 yes:no )
19879 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19880echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19881 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19882echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19883 (
19884 cat <<\_ASBOX
19885## ------------------------------------ ##
19886## Report this to bug-autoconf@gnu.org. ##
19887## ------------------------------------ ##
19888_ASBOX
19889 ) |
19890 sed "s/^/$as_me: WARNING: /" >&2
19891 ;;
19892 no:yes )
19893 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19894echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19895 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19896echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19897 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19898echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19899 (
19900 cat <<\_ASBOX
19901## ------------------------------------ ##
19902## Report this to bug-autoconf@gnu.org. ##
19903## ------------------------------------ ##
19904_ASBOX
19905 ) |
19906 sed "s/^/$as_me: WARNING: /" >&2
19907 ;;
19908esac
19909echo "$as_me:$LINENO: checking for expat.h" >&5
19910echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19911if test "${ac_cv_header_expat_h+set}" = set; then
19912 echo $ECHO_N "(cached) $ECHO_C" >&6
19913else
19914 ac_cv_header_expat_h=$ac_header_preproc
19915fi
19916echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19917echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19918
19919fi
19920if test $ac_cv_header_expat_h = yes; then
19921 found_expat_h=1
19922fi
19923
19924
19925 if test "x$found_expat_h" = "x1"; then
19926 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19927echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19928if test "${wx_cv_expat_is_not_broken+set}" = set; then
19929 echo $ECHO_N "(cached) $ECHO_C" >&6
19930else
19931
19932
19933
19934 ac_ext=cc
19935ac_cpp='$CXXCPP $CPPFLAGS'
19936ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19937ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19938ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19939
19940 cat >conftest.$ac_ext <<_ACEOF
19941#line $LINENO "configure"
19942/* confdefs.h. */
19943_ACEOF
19944cat confdefs.h >>conftest.$ac_ext
19945cat >>conftest.$ac_ext <<_ACEOF
19946/* end confdefs.h. */
19947#include <expat.h>
19948int
19949main ()
19950{
19951
19952 ;
19953 return 0;
19954}
19955_ACEOF
19956rm -f conftest.$ac_objext
19957if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19958 (eval $ac_compile) 2>&5
19959 ac_status=$?
19960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19961 (exit $ac_status); } &&
19962 { ac_try='test -s conftest.$ac_objext'
19963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19964 (eval $ac_try) 2>&5
19965 ac_status=$?
19966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19967 (exit $ac_status); }; }; then
19968 wx_cv_expat_is_not_broken=yes
19969else
19970 echo "$as_me: failed program was:" >&5
19971sed 's/^/| /' conftest.$ac_ext >&5
19972
19973wx_cv_expat_is_not_broken=no
19974
19975fi
19976rm -f conftest.$ac_objext conftest.$ac_ext
19977 ac_ext=c
19978ac_cpp='$CPP $CPPFLAGS'
19979ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19980ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19981ac_compiler_gnu=$ac_cv_c_compiler_gnu
19982
19983
19984
19985fi
19986echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19987echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19988 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19989 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19990echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19991if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19992 echo $ECHO_N "(cached) $ECHO_C" >&6
19993else
19994 ac_check_lib_save_LIBS=$LIBS
19995LIBS="-lexpat $LIBS"
19996cat >conftest.$ac_ext <<_ACEOF
19997#line $LINENO "configure"
19998/* confdefs.h. */
19999_ACEOF
20000cat confdefs.h >>conftest.$ac_ext
20001cat >>conftest.$ac_ext <<_ACEOF
20002/* end confdefs.h. */
20003
20004/* Override any gcc2 internal prototype to avoid an error. */
20005#ifdef __cplusplus
20006extern "C"
20007#endif
20008/* We use char because int might match the return type of a gcc2
20009 builtin and then its argument prototype would still apply. */
20010char XML_ParserCreate ();
20011int
20012main ()
20013{
20014XML_ParserCreate ();
20015 ;
20016 return 0;
20017}
20018_ACEOF
20019rm -f conftest.$ac_objext conftest$ac_exeext
20020if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20021 (eval $ac_link) 2>&5
20022 ac_status=$?
20023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024 (exit $ac_status); } &&
20025 { ac_try='test -s conftest$ac_exeext'
20026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20027 (eval $ac_try) 2>&5
20028 ac_status=$?
20029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030 (exit $ac_status); }; }; then
20031 ac_cv_lib_expat_XML_ParserCreate=yes
20032else
20033 echo "$as_me: failed program was:" >&5
20034sed 's/^/| /' conftest.$ac_ext >&5
20035
20036ac_cv_lib_expat_XML_ParserCreate=no
20037fi
20038rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20039LIBS=$ac_check_lib_save_LIBS
20040fi
20041echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
20042echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
20043if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
20044 EXPAT_LINK=" -lexpat"
20045fi
20046
20047 fi
20048 fi
20049 if test "x$EXPAT_LINK" = "x" ; then
20050 if test "$wxUSE_EXPAT" = "sys" ; then
20051 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
20052echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
20053 { (exit 1); exit 1; }; }
20054 else
20055 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
20056echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
20057 wxUSE_EXPAT=builtin
20058 fi
20059 else
20060 wxUSE_EXPAT=sys
20061 fi
20062 fi
20063 if test "$wxUSE_EXPAT" = "builtin" ; then
20064
20065
20066subdirs="$subdirs src/expat"
20067
20068 fi
20069fi
20070
20071
20072
20073if test "$wxUSE_LIBMSPACK" != "no"; then
20074
20075 if test "${ac_cv_header_mspack_h+set}" = set; then
20076 echo "$as_me:$LINENO: checking for mspack.h" >&5
20077echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
20078if test "${ac_cv_header_mspack_h+set}" = set; then
20079 echo $ECHO_N "(cached) $ECHO_C" >&6
20080fi
20081echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
20082echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
20083else
20084 # Is the header compilable?
20085echo "$as_me:$LINENO: checking mspack.h usability" >&5
20086echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
20087cat >conftest.$ac_ext <<_ACEOF
20088#line $LINENO "configure"
20089/* confdefs.h. */
20090_ACEOF
20091cat confdefs.h >>conftest.$ac_ext
20092cat >>conftest.$ac_ext <<_ACEOF
20093/* end confdefs.h. */
20094$ac_includes_default
20095#include <mspack.h>
20096_ACEOF
20097rm -f conftest.$ac_objext
20098if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20099 (eval $ac_compile) 2>&5
20100 ac_status=$?
20101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20102 (exit $ac_status); } &&
20103 { ac_try='test -s conftest.$ac_objext'
20104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20105 (eval $ac_try) 2>&5
20106 ac_status=$?
20107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108 (exit $ac_status); }; }; then
20109 ac_header_compiler=yes
20110else
20111 echo "$as_me: failed program was:" >&5
20112sed 's/^/| /' conftest.$ac_ext >&5
20113
20114ac_header_compiler=no
20115fi
20116rm -f conftest.$ac_objext conftest.$ac_ext
20117echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20118echo "${ECHO_T}$ac_header_compiler" >&6
20119
20120# Is the header present?
20121echo "$as_me:$LINENO: checking mspack.h presence" >&5
20122echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
20123cat >conftest.$ac_ext <<_ACEOF
20124#line $LINENO "configure"
20125/* confdefs.h. */
20126_ACEOF
20127cat confdefs.h >>conftest.$ac_ext
20128cat >>conftest.$ac_ext <<_ACEOF
20129/* end confdefs.h. */
20130#include <mspack.h>
20131_ACEOF
20132if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20133 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20134 ac_status=$?
20135 grep -v '^ *+' conftest.er1 >conftest.err
20136 rm -f conftest.er1
20137 cat conftest.err >&5
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); } >/dev/null; then
20140 if test -s conftest.err; then
20141 ac_cpp_err=$ac_c_preproc_warn_flag
20142 else
20143 ac_cpp_err=
20144 fi
20145else
20146 ac_cpp_err=yes
20147fi
20148if test -z "$ac_cpp_err"; then
20149 ac_header_preproc=yes
20150else
20151 echo "$as_me: failed program was:" >&5
20152sed 's/^/| /' conftest.$ac_ext >&5
20153
20154 ac_header_preproc=no
20155fi
20156rm -f conftest.err conftest.$ac_ext
20157echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20158echo "${ECHO_T}$ac_header_preproc" >&6
20159
20160# So? What about this header?
20161case $ac_header_compiler:$ac_header_preproc in
20162 yes:no )
20163 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
20164echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20165 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
20166echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
20167 (
20168 cat <<\_ASBOX
20169## ------------------------------------ ##
20170## Report this to bug-autoconf@gnu.org. ##
20171## ------------------------------------ ##
20172_ASBOX
20173 ) |
20174 sed "s/^/$as_me: WARNING: /" >&2
20175 ;;
20176 no:yes )
20177 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
20178echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
20179 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
20180echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
20181 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
20182echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
20183 (
20184 cat <<\_ASBOX
20185## ------------------------------------ ##
20186## Report this to bug-autoconf@gnu.org. ##
20187## ------------------------------------ ##
20188_ASBOX
20189 ) |
20190 sed "s/^/$as_me: WARNING: /" >&2
20191 ;;
20192esac
20193echo "$as_me:$LINENO: checking for mspack.h" >&5
20194echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
20195if test "${ac_cv_header_mspack_h+set}" = set; then
20196 echo $ECHO_N "(cached) $ECHO_C" >&6
20197else
20198 ac_cv_header_mspack_h=$ac_header_preproc
20199fi
20200echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
20201echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
20202
20203fi
20204if test $ac_cv_header_mspack_h = yes; then
20205 found_mspack_h=1
20206fi
20207
20208
20209 if test "x$found_mspack_h" = "x1"; then
20210 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
20211echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
20212if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
20213 echo $ECHO_N "(cached) $ECHO_C" >&6
20214else
20215 ac_check_lib_save_LIBS=$LIBS
20216LIBS="-lmspack $LIBS"
20217cat >conftest.$ac_ext <<_ACEOF
20218#line $LINENO "configure"
20219/* confdefs.h. */
20220_ACEOF
20221cat confdefs.h >>conftest.$ac_ext
20222cat >>conftest.$ac_ext <<_ACEOF
20223/* end confdefs.h. */
20224
20225/* Override any gcc2 internal prototype to avoid an error. */
20226#ifdef __cplusplus
20227extern "C"
20228#endif
20229/* We use char because int might match the return type of a gcc2
20230 builtin and then its argument prototype would still apply. */
20231char mspack_create_chm_decompressor ();
20232int
20233main ()
20234{
20235mspack_create_chm_decompressor ();
20236 ;
20237 return 0;
20238}
20239_ACEOF
20240rm -f conftest.$ac_objext conftest$ac_exeext
20241if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20242 (eval $ac_link) 2>&5
20243 ac_status=$?
20244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20245 (exit $ac_status); } &&
20246 { ac_try='test -s conftest$ac_exeext'
20247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20248 (eval $ac_try) 2>&5
20249 ac_status=$?
20250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20251 (exit $ac_status); }; }; then
20252 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
20253else
20254 echo "$as_me: failed program was:" >&5
20255sed 's/^/| /' conftest.$ac_ext >&5
20256
20257ac_cv_lib_mspack_mspack_create_chm_decompressor=no
20258fi
20259rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20260LIBS=$ac_check_lib_save_LIBS
20261fi
20262echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
20263echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
20264if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
20265 MSPACK_LINK=" -lmspack"
20266fi
20267
20268 fi
20269 if test "x$MSPACK_LINK" = "x" ; then
20270 wxUSE_LIBMSPACK=no
20271 else
20272 cat >>confdefs.h <<\_ACEOF
20273#define wxUSE_LIBMSPACK 1
20274_ACEOF
20275
20276 fi
20277fi
20278
20279
20280
20281AFMINSTALL=
20282WIN32INSTALL=
20283
20284TOOLKIT=
20285TOOLKIT_INCLUDE=
20286WIDGET_SET=
20287
20288if test "$USE_WIN32" = 1 ; then
20289
20290for ac_header in w32api.h
20291do
20292as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20293if eval "test \"\${$as_ac_Header+set}\" = set"; then
20294 echo "$as_me:$LINENO: checking for $ac_header" >&5
20295echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20296if eval "test \"\${$as_ac_Header+set}\" = set"; then
20297 echo $ECHO_N "(cached) $ECHO_C" >&6
20298fi
20299echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20300echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20301else
20302 # Is the header compilable?
20303echo "$as_me:$LINENO: checking $ac_header usability" >&5
20304echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20305cat >conftest.$ac_ext <<_ACEOF
20306#line $LINENO "configure"
20307/* confdefs.h. */
20308_ACEOF
20309cat confdefs.h >>conftest.$ac_ext
20310cat >>conftest.$ac_ext <<_ACEOF
20311/* end confdefs.h. */
20312$ac_includes_default
20313#include <$ac_header>
20314_ACEOF
20315rm -f conftest.$ac_objext
20316if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20317 (eval $ac_compile) 2>&5
20318 ac_status=$?
20319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20320 (exit $ac_status); } &&
20321 { ac_try='test -s conftest.$ac_objext'
20322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20323 (eval $ac_try) 2>&5
20324 ac_status=$?
20325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20326 (exit $ac_status); }; }; then
20327 ac_header_compiler=yes
20328else
20329 echo "$as_me: failed program was:" >&5
20330sed 's/^/| /' conftest.$ac_ext >&5
20331
20332ac_header_compiler=no
20333fi
20334rm -f conftest.$ac_objext conftest.$ac_ext
20335echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20336echo "${ECHO_T}$ac_header_compiler" >&6
20337
20338# Is the header present?
20339echo "$as_me:$LINENO: checking $ac_header presence" >&5
20340echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20341cat >conftest.$ac_ext <<_ACEOF
20342#line $LINENO "configure"
20343/* confdefs.h. */
20344_ACEOF
20345cat confdefs.h >>conftest.$ac_ext
20346cat >>conftest.$ac_ext <<_ACEOF
20347/* end confdefs.h. */
20348#include <$ac_header>
20349_ACEOF
20350if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20351 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20352 ac_status=$?
20353 grep -v '^ *+' conftest.er1 >conftest.err
20354 rm -f conftest.er1
20355 cat conftest.err >&5
20356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357 (exit $ac_status); } >/dev/null; then
20358 if test -s conftest.err; then
20359 ac_cpp_err=$ac_c_preproc_warn_flag
20360 else
20361 ac_cpp_err=
20362 fi
20363else
20364 ac_cpp_err=yes
20365fi
20366if test -z "$ac_cpp_err"; then
20367 ac_header_preproc=yes
20368else
20369 echo "$as_me: failed program was:" >&5
20370sed 's/^/| /' conftest.$ac_ext >&5
20371
20372 ac_header_preproc=no
20373fi
20374rm -f conftest.err conftest.$ac_ext
20375echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20376echo "${ECHO_T}$ac_header_preproc" >&6
20377
20378# So? What about this header?
20379case $ac_header_compiler:$ac_header_preproc in
20380 yes:no )
20381 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20382echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20383 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20384echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20385 (
20386 cat <<\_ASBOX
20387## ------------------------------------ ##
20388## Report this to bug-autoconf@gnu.org. ##
20389## ------------------------------------ ##
20390_ASBOX
20391 ) |
20392 sed "s/^/$as_me: WARNING: /" >&2
20393 ;;
20394 no:yes )
20395 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20396echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20397 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20398echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20400echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20401 (
20402 cat <<\_ASBOX
20403## ------------------------------------ ##
20404## Report this to bug-autoconf@gnu.org. ##
20405## ------------------------------------ ##
20406_ASBOX
20407 ) |
20408 sed "s/^/$as_me: WARNING: /" >&2
20409 ;;
20410esac
20411echo "$as_me:$LINENO: checking for $ac_header" >&5
20412echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20413if eval "test \"\${$as_ac_Header+set}\" = set"; then
20414 echo $ECHO_N "(cached) $ECHO_C" >&6
20415else
20416 eval "$as_ac_Header=$ac_header_preproc"
20417fi
20418echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20419echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20420
20421fi
20422if test `eval echo '${'$as_ac_Header'}'` = yes; then
20423 cat >>confdefs.h <<_ACEOF
20424#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20425_ACEOF
20426
20427fi
20428
20429done
20430
20431 if test "${ac_cv_header_windows_h+set}" = set; then
20432 echo "$as_me:$LINENO: checking for windows.h" >&5
20433echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20434if test "${ac_cv_header_windows_h+set}" = set; then
20435 echo $ECHO_N "(cached) $ECHO_C" >&6
20436fi
20437echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20438echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20439else
20440 # Is the header compilable?
20441echo "$as_me:$LINENO: checking windows.h usability" >&5
20442echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
20443cat >conftest.$ac_ext <<_ACEOF
20444#line $LINENO "configure"
20445/* confdefs.h. */
20446_ACEOF
20447cat confdefs.h >>conftest.$ac_ext
20448cat >>conftest.$ac_ext <<_ACEOF
20449/* end confdefs.h. */
20450$ac_includes_default
20451#include <windows.h>
20452_ACEOF
20453rm -f conftest.$ac_objext
20454if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20455 (eval $ac_compile) 2>&5
20456 ac_status=$?
20457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458 (exit $ac_status); } &&
20459 { ac_try='test -s conftest.$ac_objext'
20460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20461 (eval $ac_try) 2>&5
20462 ac_status=$?
20463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464 (exit $ac_status); }; }; then
20465 ac_header_compiler=yes
20466else
20467 echo "$as_me: failed program was:" >&5
20468sed 's/^/| /' conftest.$ac_ext >&5
20469
20470ac_header_compiler=no
20471fi
20472rm -f conftest.$ac_objext conftest.$ac_ext
20473echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20474echo "${ECHO_T}$ac_header_compiler" >&6
20475
20476# Is the header present?
20477echo "$as_me:$LINENO: checking windows.h presence" >&5
20478echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
20479cat >conftest.$ac_ext <<_ACEOF
20480#line $LINENO "configure"
20481/* confdefs.h. */
20482_ACEOF
20483cat confdefs.h >>conftest.$ac_ext
20484cat >>conftest.$ac_ext <<_ACEOF
20485/* end confdefs.h. */
20486#include <windows.h>
20487_ACEOF
20488if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20489 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20490 ac_status=$?
20491 grep -v '^ *+' conftest.er1 >conftest.err
20492 rm -f conftest.er1
20493 cat conftest.err >&5
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); } >/dev/null; then
20496 if test -s conftest.err; then
20497 ac_cpp_err=$ac_c_preproc_warn_flag
20498 else
20499 ac_cpp_err=
20500 fi
20501else
20502 ac_cpp_err=yes
20503fi
20504if test -z "$ac_cpp_err"; then
20505 ac_header_preproc=yes
20506else
20507 echo "$as_me: failed program was:" >&5
20508sed 's/^/| /' conftest.$ac_ext >&5
20509
20510 ac_header_preproc=no
20511fi
20512rm -f conftest.err conftest.$ac_ext
20513echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20514echo "${ECHO_T}$ac_header_preproc" >&6
20515
20516# So? What about this header?
20517case $ac_header_compiler:$ac_header_preproc in
20518 yes:no )
20519 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
20520echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20521 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20522echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20523 (
20524 cat <<\_ASBOX
20525## ------------------------------------ ##
20526## Report this to bug-autoconf@gnu.org. ##
20527## ------------------------------------ ##
20528_ASBOX
20529 ) |
20530 sed "s/^/$as_me: WARNING: /" >&2
20531 ;;
20532 no:yes )
20533 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
20534echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
20535 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
20536echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
20537 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20538echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20539 (
20540 cat <<\_ASBOX
20541## ------------------------------------ ##
20542## Report this to bug-autoconf@gnu.org. ##
20543## ------------------------------------ ##
20544_ASBOX
20545 ) |
20546 sed "s/^/$as_me: WARNING: /" >&2
20547 ;;
20548esac
20549echo "$as_me:$LINENO: checking for windows.h" >&5
20550echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20551if test "${ac_cv_header_windows_h+set}" = set; then
20552 echo $ECHO_N "(cached) $ECHO_C" >&6
20553else
20554 ac_cv_header_windows_h=$ac_header_preproc
20555fi
20556echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20557echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20558
20559fi
20560if test $ac_cv_header_windows_h = yes; then
20561 :
20562else
20563
20564 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
20565echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
20566 { (exit 1); exit 1; }; }
20567
20568fi
20569
20570
20571
20572 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
20573
20574 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
20575 LIBS="$LIBS -loleacc"
20576 fi
20577
20578 case "${host}" in
20579 *-*-cygwin* )
20580 LIBS="$LIBS -lkernel32 -luser32"
20581 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
20582 esac
20583
20584 if test "$wxUSE_ODBC" = "sys" ; then
20585 wxUSE_ODBC = "yes"
20586 fi
20587 if test "$wxUSE_ODBC" = "yes" ; then
20588 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
20589 cat >>confdefs.h <<\_ACEOF
20590#define wxUSE_ODBC 1
20591_ACEOF
20592
20593 fi
20594
20595 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
20596 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
20597
20598 WIN32INSTALL=win32install
20599fi
20600
20601if test "$wxUSE_GUI" = "yes"; then
20602 USE_GUI=1
20603
20604 GUI_TK_LIBRARY=
20605
20606 WXGTK12=
20607 WXGTK127=
20608 WXGTK20=
20609
20610 if test "$wxUSE_MSW" = 1 ; then
20611 TOOLKIT=MSW
20612 GUIDIST=MSW_DIST
20613
20614 case "${host}" in
20615 *-*-mingw32* )
20616 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
20617 esac
20618 fi
20619
20620 if test "$wxUSE_GTK" = 1; then
20621 echo "$as_me:$LINENO: checking for GTK+ version" >&5
20622echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
20623
20624 gtk_version_cached=1
20625 if test "${wx_cv_lib_gtk+set}" = set; then
20626 echo $ECHO_N "(cached) $ECHO_C" >&6
20627else
20628
20629 gtk_version_cached=0
20630 echo "$as_me:$LINENO: result: " >&5
20631echo "${ECHO_T}" >&6
20632
20633 GTK_MODULES=
20634 if test "$wxUSE_THREADS" = "yes"; then
20635 GTK_MODULES=gthread
20636 fi
20637
20638 wx_cv_lib_gtk=
20639 if test "x$wxUSE_GTK2" = "xyes"; then
20640 # Check whether --enable-gtktest or --disable-gtktest was given.
20641if test "${enable_gtktest+set}" = set; then
20642 enableval="$enable_gtktest"
20643
20644else
20645 enable_gtktest=yes
20646fi;
20647
20648 pkg_config_args=gtk+-2.0
20649 for module in . $GTK_MODULES
20650 do
20651 case "$module" in
20652 gthread)
20653 pkg_config_args="$pkg_config_args gthread-2.0"
20654 ;;
20655 esac
20656 done
20657
20658 no_gtk=""
20659
20660 # Extract the first word of "pkg-config", so it can be a program name with args.
20661set dummy pkg-config; ac_word=$2
20662echo "$as_me:$LINENO: checking for $ac_word" >&5
20663echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20664if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20665 echo $ECHO_N "(cached) $ECHO_C" >&6
20666else
20667 case $PKG_CONFIG in
20668 [\\/]* | ?:[\\/]*)
20669 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20670 ;;
20671 *)
20672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20673for as_dir in $PATH
20674do
20675 IFS=$as_save_IFS
20676 test -z "$as_dir" && as_dir=.
20677 for ac_exec_ext in '' $ac_executable_extensions; do
20678 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20679 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20681 break 2
20682 fi
20683done
20684done
20685
20686 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20687 ;;
20688esac
20689fi
20690PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20691
20692if test -n "$PKG_CONFIG"; then
20693 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20694echo "${ECHO_T}$PKG_CONFIG" >&6
20695else
20696 echo "$as_me:$LINENO: result: no" >&5
20697echo "${ECHO_T}no" >&6
20698fi
20699
20700
20701 if test x$PKG_CONFIG != xno ; then
20702 if pkg-config --atleast-pkgconfig-version 0.7 ; then
20703 :
20704 else
20705 echo *** pkg-config too old; version 0.7 or better required.
20706 no_gtk=yes
20707 PKG_CONFIG=no
20708 fi
20709 else
20710 no_gtk=yes
20711 fi
20712
20713 min_gtk_version=2.0.0
20714 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20715echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20716
20717 if test x$PKG_CONFIG != xno ; then
20718 ## don't try to run the test against uninstalled libtool libs
20719 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20720 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20721 enable_gtktest=no
20722 fi
20723
20724 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20725 :
20726 else
20727 no_gtk=yes
20728 fi
20729 fi
20730
20731 if test x"$no_gtk" = x ; then
20732 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
20733 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
20734 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20735 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20736 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20737 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20738 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20739 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20740 if test "x$enable_gtktest" = "xyes" ; then
20741 ac_save_CFLAGS="$CFLAGS"
20742 ac_save_LIBS="$LIBS"
20743 CFLAGS="$CFLAGS $GTK_CFLAGS"
20744 LIBS="$GTK_LIBS $LIBS"
20745 rm -f conf.gtktest
20746 if test "$cross_compiling" = yes; then
20747 echo $ac_n "cross compiling; assumed OK... $ac_c"
20748else
20749 cat >conftest.$ac_ext <<_ACEOF
20750#line $LINENO "configure"
20751/* confdefs.h. */
20752_ACEOF
20753cat confdefs.h >>conftest.$ac_ext
20754cat >>conftest.$ac_ext <<_ACEOF
20755/* end confdefs.h. */
20756
20757#include <gtk/gtk.h>
20758#include <stdio.h>
20759#include <stdlib.h>
20760
20761int
20762main ()
20763{
20764 int major, minor, micro;
20765 char *tmp_version;
20766
20767 system ("touch conf.gtktest");
20768
20769 /* HP/UX 9 (%@#!) writes to sscanf strings */
20770 tmp_version = g_strdup("$min_gtk_version");
20771 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20772 printf("%s, bad version string\n", "$min_gtk_version");
20773 exit(1);
20774 }
20775
20776 if ((gtk_major_version != $gtk_config_major_version) ||
20777 (gtk_minor_version != $gtk_config_minor_version) ||
20778 (gtk_micro_version != $gtk_config_micro_version))
20779 {
20780 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20781 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20782 gtk_major_version, gtk_minor_version, gtk_micro_version);
20783 printf ("*** was found! If pkg-config was correct, then it is best\n");
20784 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20785 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20786 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20787 printf("*** required on your system.\n");
20788 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20789 printf("*** to point to the correct configuration files\n");
20790 }
20791 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20792 (gtk_minor_version != GTK_MINOR_VERSION) ||
20793 (gtk_micro_version != GTK_MICRO_VERSION))
20794 {
20795 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20796 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20797 printf("*** library (version %d.%d.%d)\n",
20798 gtk_major_version, gtk_minor_version, gtk_micro_version);
20799 }
20800 else
20801 {
20802 if ((gtk_major_version > major) ||
20803 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20804 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20805 {
20806 return 0;
20807 }
20808 else
20809 {
20810 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20811 gtk_major_version, gtk_minor_version, gtk_micro_version);
20812 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20813 major, minor, micro);
20814 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20815 printf("***\n");
20816 printf("*** If you have already installed a sufficiently new version, this error\n");
20817 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20818 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20819 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20820 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20821 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20822 printf("*** so that the correct libraries are found at run-time))\n");
20823 }
20824 }
20825 return 1;
20826}
20827
20828_ACEOF
20829rm -f conftest$ac_exeext
20830if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20831 (eval $ac_link) 2>&5
20832 ac_status=$?
20833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20836 (eval $ac_try) 2>&5
20837 ac_status=$?
20838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20839 (exit $ac_status); }; }; then
20840 :
20841else
20842 echo "$as_me: program exited with status $ac_status" >&5
20843echo "$as_me: failed program was:" >&5
20844sed 's/^/| /' conftest.$ac_ext >&5
20845
20846( exit $ac_status )
20847no_gtk=yes
20848fi
20849rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20850fi
20851 CFLAGS="$ac_save_CFLAGS"
20852 LIBS="$ac_save_LIBS"
20853 fi
20854 fi
20855 if test "x$no_gtk" = x ; then
20856 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20857echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20858 wx_cv_lib_gtk=2.0
20859 else
20860 echo "$as_me:$LINENO: result: no" >&5
20861echo "${ECHO_T}no" >&6
20862 if test "$PKG_CONFIG" = "no" ; then
20863 echo "*** A new enough version of pkg-config was not found."
20864 echo "*** See http://pkgconfig.sourceforge.net"
20865 else
20866 if test -f conf.gtktest ; then
20867 :
20868 else
20869 echo "*** Could not run GTK+ test program, checking why..."
20870 ac_save_CFLAGS="$CFLAGS"
20871 ac_save_LIBS="$LIBS"
20872 CFLAGS="$CFLAGS $GTK_CFLAGS"
20873 LIBS="$LIBS $GTK_LIBS"
20874 cat >conftest.$ac_ext <<_ACEOF
20875#line $LINENO "configure"
20876/* confdefs.h. */
20877_ACEOF
20878cat confdefs.h >>conftest.$ac_ext
20879cat >>conftest.$ac_ext <<_ACEOF
20880/* end confdefs.h. */
20881
20882#include <gtk/gtk.h>
20883#include <stdio.h>
20884
20885int
20886main ()
20887{
20888 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20889 ;
20890 return 0;
20891}
20892_ACEOF
20893rm -f conftest.$ac_objext conftest$ac_exeext
20894if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20895 (eval $ac_link) 2>&5
20896 ac_status=$?
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); } &&
20899 { ac_try='test -s conftest$ac_exeext'
20900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20901 (eval $ac_try) 2>&5
20902 ac_status=$?
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); }; }; then
20905 echo "*** The test program compiled, but did not run. This usually means"
20906 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20907 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20908 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20909 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20910 echo "*** is required on your system"
20911 echo "***"
20912 echo "*** If you have an old version installed, it is best to remove it, although"
20913 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20914else
20915 echo "$as_me: failed program was:" >&5
20916sed 's/^/| /' conftest.$ac_ext >&5
20917
20918 echo "*** The test program failed to compile or link. See the file config.log for the"
20919 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20920fi
20921rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20922 CFLAGS="$ac_save_CFLAGS"
20923 LIBS="$ac_save_LIBS"
20924 fi
20925 fi
20926 GTK_CFLAGS=""
20927 GTK_LIBS=""
20928 :
20929 fi
20930
20931
20932 rm -f conf.gtktest
20933
20934 else
20935
20936# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20937if test "${with_gtk_prefix+set}" = set; then
20938 withval="$with_gtk_prefix"
20939 gtk_config_prefix="$withval"
20940else
20941 gtk_config_prefix=""
20942fi;
20943
20944# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20945if test "${with_gtk_exec_prefix+set}" = set; then
20946 withval="$with_gtk_exec_prefix"
20947 gtk_config_exec_prefix="$withval"
20948else
20949 gtk_config_exec_prefix=""
20950fi;
20951# Check whether --enable-gtktest or --disable-gtktest was given.
20952if test "${enable_gtktest+set}" = set; then
20953 enableval="$enable_gtktest"
20954
20955else
20956 enable_gtktest=yes
20957fi;
20958
20959 for module in . $GTK_MODULES
20960 do
20961 case "$module" in
20962 gthread)
20963 gtk_config_args="$gtk_config_args gthread"
20964 ;;
20965 esac
20966 done
20967
20968 if test x$gtk_config_exec_prefix != x ; then
20969 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20970 if test x${GTK_CONFIG+set} != xset ; then
20971 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20972 fi
20973 fi
20974 if test x$gtk_config_prefix != x ; then
20975 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20976 if test x${GTK_CONFIG+set} != xset ; then
20977 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20978 fi
20979 fi
20980
20981 # Extract the first word of "gtk-config", so it can be a program name with args.
20982set dummy gtk-config; ac_word=$2
20983echo "$as_me:$LINENO: checking for $ac_word" >&5
20984echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20985if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20986 echo $ECHO_N "(cached) $ECHO_C" >&6
20987else
20988 case $GTK_CONFIG in
20989 [\\/]* | ?:[\\/]*)
20990 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20991 ;;
20992 *)
20993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20994for as_dir in $PATH
20995do
20996 IFS=$as_save_IFS
20997 test -z "$as_dir" && as_dir=.
20998 for ac_exec_ext in '' $ac_executable_extensions; do
20999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21000 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21002 break 2
21003 fi
21004done
21005done
21006
21007 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
21008 ;;
21009esac
21010fi
21011GTK_CONFIG=$ac_cv_path_GTK_CONFIG
21012
21013if test -n "$GTK_CONFIG"; then
21014 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
21015echo "${ECHO_T}$GTK_CONFIG" >&6
21016else
21017 echo "$as_me:$LINENO: result: no" >&5
21018echo "${ECHO_T}no" >&6
21019fi
21020
21021 min_gtk_version=1.2.7
21022 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
21023echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
21024 no_gtk=""
21025 if test "$GTK_CONFIG" = "no" ; then
21026 no_gtk=yes
21027 else
21028 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
21029 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
21030 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
21031 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21032 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
21033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21034 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
21035 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21036 if test "x$enable_gtktest" = "xyes" ; then
21037 ac_save_CFLAGS="$CFLAGS"
21038 ac_save_LIBS="$LIBS"
21039 CFLAGS="$CFLAGS $GTK_CFLAGS"
21040 LIBS="$GTK_LIBS $LIBS"
21041 rm -f conf.gtktest
21042 if test "$cross_compiling" = yes; then
21043 echo $ac_n "cross compiling; assumed OK... $ac_c"
21044else
21045 cat >conftest.$ac_ext <<_ACEOF
21046#line $LINENO "configure"
21047/* confdefs.h. */
21048_ACEOF
21049cat confdefs.h >>conftest.$ac_ext
21050cat >>conftest.$ac_ext <<_ACEOF
21051/* end confdefs.h. */
21052
21053#include <gtk/gtk.h>
21054#include <stdio.h>
21055#include <stdlib.h>
21056
21057int
21058main ()
21059{
21060 int major, minor, micro;
21061 char *tmp_version;
21062
21063 system ("touch conf.gtktest");
21064
21065 /* HP/UX 9 (%@#!) writes to sscanf strings */
21066 tmp_version = g_strdup("$min_gtk_version");
21067 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
21068 printf("%s, bad version string\n", "$min_gtk_version");
21069 exit(1);
21070 }
21071
21072 if ((gtk_major_version != $gtk_config_major_version) ||
21073 (gtk_minor_version != $gtk_config_minor_version) ||
21074 (gtk_micro_version != $gtk_config_micro_version))
21075 {
21076 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21077 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21078 gtk_major_version, gtk_minor_version, gtk_micro_version);
21079 printf ("*** was found! If gtk-config was correct, then it is best\n");
21080 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21081 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21082 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21083 printf("*** required on your system.\n");
21084 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
21085 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
21086 printf("*** before re-running configure\n");
21087 }
21088#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
21089 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21090 (gtk_minor_version != GTK_MINOR_VERSION) ||
21091 (gtk_micro_version != GTK_MICRO_VERSION))
21092 {
21093 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21094 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21095 printf("*** library (version %d.%d.%d)\n",
21096 gtk_major_version, gtk_minor_version, gtk_micro_version);
21097 }
21098#endif /* defined (GTK_MAJOR_VERSION) ... */
21099 else
21100 {
21101 if ((gtk_major_version > major) ||
21102 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21103 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21104 {
21105 return 0;
21106 }
21107 else
21108 {
21109 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21110 gtk_major_version, gtk_minor_version, gtk_micro_version);
21111 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21112 major, minor, micro);
21113 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21114 printf("***\n");
21115 printf("*** If you have already installed a sufficiently new version, this error\n");
21116 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
21117 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21118 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
21119 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
21120 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21121 printf("*** so that the correct libraries are found at run-time))\n");
21122 }
21123 }
21124 return 1;
21125}
21126
21127_ACEOF
21128rm -f conftest$ac_exeext
21129if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21130 (eval $ac_link) 2>&5
21131 ac_status=$?
21132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21133 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21135 (eval $ac_try) 2>&5
21136 ac_status=$?
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); }; }; then
21139 :
21140else
21141 echo "$as_me: program exited with status $ac_status" >&5
21142echo "$as_me: failed program was:" >&5
21143sed 's/^/| /' conftest.$ac_ext >&5
21144
21145( exit $ac_status )
21146no_gtk=yes
21147fi
21148rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21149fi
21150 CFLAGS="$ac_save_CFLAGS"
21151 LIBS="$ac_save_LIBS"
21152 fi
21153 fi
21154 if test "x$no_gtk" = x ; then
21155 echo "$as_me:$LINENO: result: yes" >&5
21156echo "${ECHO_T}yes" >&6
21157 wx_cv_lib_gtk=1.2.7
21158 else
21159 echo "$as_me:$LINENO: result: no" >&5
21160echo "${ECHO_T}no" >&6
21161 if test "$GTK_CONFIG" = "no" ; then
21162 echo "*** The gtk-config script installed by GTK could not be found"
21163 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
21164 echo "*** your path, or set the GTK_CONFIG environment variable to the"
21165 echo "*** full path to gtk-config."
21166 else
21167 if test -f conf.gtktest ; then
21168 :
21169 else
21170 echo "*** Could not run GTK test program, checking why..."
21171 CFLAGS="$CFLAGS $GTK_CFLAGS"
21172 LIBS="$LIBS $GTK_LIBS"
21173 cat >conftest.$ac_ext <<_ACEOF
21174#line $LINENO "configure"
21175/* confdefs.h. */
21176_ACEOF
21177cat confdefs.h >>conftest.$ac_ext
21178cat >>conftest.$ac_ext <<_ACEOF
21179/* end confdefs.h. */
21180
21181#include <gtk/gtk.h>
21182#include <stdio.h>
21183
21184int
21185main ()
21186{
21187 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21188 ;
21189 return 0;
21190}
21191_ACEOF
21192rm -f conftest.$ac_objext conftest$ac_exeext
21193if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21194 (eval $ac_link) 2>&5
21195 ac_status=$?
21196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21197 (exit $ac_status); } &&
21198 { ac_try='test -s conftest$ac_exeext'
21199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21200 (eval $ac_try) 2>&5
21201 ac_status=$?
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); }; }; then
21204 echo "*** The test program compiled, but did not run. This usually means"
21205 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21206 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21207 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21208 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21209 echo "*** is required on your system"
21210 echo "***"
21211 echo "*** If you have an old version installed, it is best to remove it, although"
21212 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21213 echo "***"
21214 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21215 echo "*** came with the system with the command"
21216 echo "***"
21217 echo "*** rpm --erase --nodeps gtk gtk-devel"
21218else
21219 echo "$as_me: failed program was:" >&5
21220sed 's/^/| /' conftest.$ac_ext >&5
21221
21222 echo "*** The test program failed to compile or link. See the file config.log for the"
21223 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21224 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21225 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21226fi
21227rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21228 CFLAGS="$ac_save_CFLAGS"
21229 LIBS="$ac_save_LIBS"
21230 fi
21231 fi
21232 GTK_CFLAGS=""
21233 GTK_LIBS=""
21234 :
21235 fi
21236
21237
21238 rm -f conf.gtktest
21239
21240
21241 if test -z "$wx_cv_lib_gtk"; then
21242
21243# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
21244if test "${with_gtk_prefix+set}" = set; then
21245 withval="$with_gtk_prefix"
21246 gtk_config_prefix="$withval"
21247else
21248 gtk_config_prefix=""
21249fi;
21250
21251# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
21252if test "${with_gtk_exec_prefix+set}" = set; then
21253 withval="$with_gtk_exec_prefix"
21254 gtk_config_exec_prefix="$withval"
21255else
21256 gtk_config_exec_prefix=""
21257fi;
21258# Check whether --enable-gtktest or --disable-gtktest was given.
21259if test "${enable_gtktest+set}" = set; then
21260 enableval="$enable_gtktest"
21261
21262else
21263 enable_gtktest=yes
21264fi;
21265
21266 for module in . $GTK_MODULES
21267 do
21268 case "$module" in
21269 gthread)
21270 gtk_config_args="$gtk_config_args gthread"
21271 ;;
21272 esac
21273 done
21274
21275 if test x$gtk_config_exec_prefix != x ; then
21276 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
21277 if test x${GTK_CONFIG+set} != xset ; then
21278 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
21279 fi
21280 fi
21281 if test x$gtk_config_prefix != x ; then
21282 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
21283 if test x${GTK_CONFIG+set} != xset ; then
21284 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
21285 fi
21286 fi
21287
21288 # Extract the first word of "gtk-config", so it can be a program name with args.
21289set dummy gtk-config; ac_word=$2
21290echo "$as_me:$LINENO: checking for $ac_word" >&5
21291echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21292if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
21293 echo $ECHO_N "(cached) $ECHO_C" >&6
21294else
21295 case $GTK_CONFIG in
21296 [\\/]* | ?:[\\/]*)
21297 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
21298 ;;
21299 *)
21300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21301for as_dir in $PATH
21302do
21303 IFS=$as_save_IFS
21304 test -z "$as_dir" && as_dir=.
21305 for ac_exec_ext in '' $ac_executable_extensions; do
21306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21307 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21309 break 2
21310 fi
21311done
21312done
21313
21314 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
21315 ;;
21316esac
21317fi
21318GTK_CONFIG=$ac_cv_path_GTK_CONFIG
21319
21320if test -n "$GTK_CONFIG"; then
21321 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
21322echo "${ECHO_T}$GTK_CONFIG" >&6
21323else
21324 echo "$as_me:$LINENO: result: no" >&5
21325echo "${ECHO_T}no" >&6
21326fi
21327
21328 min_gtk_version=1.2.3
21329 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
21330echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
21331 no_gtk=""
21332 if test "$GTK_CONFIG" = "no" ; then
21333 no_gtk=yes
21334 else
21335 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
21336 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
21337 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
21338 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21339 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
21340 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21341 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
21342 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21343 if test "x$enable_gtktest" = "xyes" ; then
21344 ac_save_CFLAGS="$CFLAGS"
21345 ac_save_LIBS="$LIBS"
21346 CFLAGS="$CFLAGS $GTK_CFLAGS"
21347 LIBS="$GTK_LIBS $LIBS"
21348 rm -f conf.gtktest
21349 if test "$cross_compiling" = yes; then
21350 echo $ac_n "cross compiling; assumed OK... $ac_c"
21351else
21352 cat >conftest.$ac_ext <<_ACEOF
21353#line $LINENO "configure"
21354/* confdefs.h. */
21355_ACEOF
21356cat confdefs.h >>conftest.$ac_ext
21357cat >>conftest.$ac_ext <<_ACEOF
21358/* end confdefs.h. */
21359
21360#include <gtk/gtk.h>
21361#include <stdio.h>
21362#include <stdlib.h>
21363
21364int
21365main ()
21366{
21367 int major, minor, micro;
21368 char *tmp_version;
21369
21370 system ("touch conf.gtktest");
21371
21372 /* HP/UX 9 (%@#!) writes to sscanf strings */
21373 tmp_version = g_strdup("$min_gtk_version");
21374 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
21375 printf("%s, bad version string\n", "$min_gtk_version");
21376 exit(1);
21377 }
21378
21379 if ((gtk_major_version != $gtk_config_major_version) ||
21380 (gtk_minor_version != $gtk_config_minor_version) ||
21381 (gtk_micro_version != $gtk_config_micro_version))
21382 {
21383 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21384 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21385 gtk_major_version, gtk_minor_version, gtk_micro_version);
21386 printf ("*** was found! If gtk-config was correct, then it is best\n");
21387 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21388 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21389 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21390 printf("*** required on your system.\n");
21391 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
21392 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
21393 printf("*** before re-running configure\n");
21394 }
21395#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
21396 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21397 (gtk_minor_version != GTK_MINOR_VERSION) ||
21398 (gtk_micro_version != GTK_MICRO_VERSION))
21399 {
21400 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21401 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21402 printf("*** library (version %d.%d.%d)\n",
21403 gtk_major_version, gtk_minor_version, gtk_micro_version);
21404 }
21405#endif /* defined (GTK_MAJOR_VERSION) ... */
21406 else
21407 {
21408 if ((gtk_major_version > major) ||
21409 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21410 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21411 {
21412 return 0;
21413 }
21414 else
21415 {
21416 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21417 gtk_major_version, gtk_minor_version, gtk_micro_version);
21418 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21419 major, minor, micro);
21420 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21421 printf("***\n");
21422 printf("*** If you have already installed a sufficiently new version, this error\n");
21423 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
21424 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21425 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
21426 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
21427 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21428 printf("*** so that the correct libraries are found at run-time))\n");
21429 }
21430 }
21431 return 1;
21432}
21433
21434_ACEOF
21435rm -f conftest$ac_exeext
21436if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21437 (eval $ac_link) 2>&5
21438 ac_status=$?
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21442 (eval $ac_try) 2>&5
21443 ac_status=$?
21444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21445 (exit $ac_status); }; }; then
21446 :
21447else
21448 echo "$as_me: program exited with status $ac_status" >&5
21449echo "$as_me: failed program was:" >&5
21450sed 's/^/| /' conftest.$ac_ext >&5
21451
21452( exit $ac_status )
21453no_gtk=yes
21454fi
21455rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21456fi
21457 CFLAGS="$ac_save_CFLAGS"
21458 LIBS="$ac_save_LIBS"
21459 fi
21460 fi
21461 if test "x$no_gtk" = x ; then
21462 echo "$as_me:$LINENO: result: yes" >&5
21463echo "${ECHO_T}yes" >&6
21464 wx_cv_lib_gtk=1.2.3
21465 else
21466 echo "$as_me:$LINENO: result: no" >&5
21467echo "${ECHO_T}no" >&6
21468 if test "$GTK_CONFIG" = "no" ; then
21469 echo "*** The gtk-config script installed by GTK could not be found"
21470 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
21471 echo "*** your path, or set the GTK_CONFIG environment variable to the"
21472 echo "*** full path to gtk-config."
21473 else
21474 if test -f conf.gtktest ; then
21475 :
21476 else
21477 echo "*** Could not run GTK test program, checking why..."
21478 CFLAGS="$CFLAGS $GTK_CFLAGS"
21479 LIBS="$LIBS $GTK_LIBS"
21480 cat >conftest.$ac_ext <<_ACEOF
21481#line $LINENO "configure"
21482/* confdefs.h. */
21483_ACEOF
21484cat confdefs.h >>conftest.$ac_ext
21485cat >>conftest.$ac_ext <<_ACEOF
21486/* end confdefs.h. */
21487
21488#include <gtk/gtk.h>
21489#include <stdio.h>
21490
21491int
21492main ()
21493{
21494 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21495 ;
21496 return 0;
21497}
21498_ACEOF
21499rm -f conftest.$ac_objext conftest$ac_exeext
21500if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21501 (eval $ac_link) 2>&5
21502 ac_status=$?
21503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504 (exit $ac_status); } &&
21505 { ac_try='test -s conftest$ac_exeext'
21506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21507 (eval $ac_try) 2>&5
21508 ac_status=$?
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); }; }; then
21511 echo "*** The test program compiled, but did not run. This usually means"
21512 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21513 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21514 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21515 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21516 echo "*** is required on your system"
21517 echo "***"
21518 echo "*** If you have an old version installed, it is best to remove it, although"
21519 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21520 echo "***"
21521 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21522 echo "*** came with the system with the command"
21523 echo "***"
21524 echo "*** rpm --erase --nodeps gtk gtk-devel"
21525else
21526 echo "$as_me: failed program was:" >&5
21527sed 's/^/| /' conftest.$ac_ext >&5
21528
21529 echo "*** The test program failed to compile or link. See the file config.log for the"
21530 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21531 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21532 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21533fi
21534rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21535 CFLAGS="$ac_save_CFLAGS"
21536 LIBS="$ac_save_LIBS"
21537 fi
21538 fi
21539 GTK_CFLAGS=""
21540 GTK_LIBS=""
21541 :
21542 fi
21543
21544
21545 rm -f conf.gtktest
21546
21547 fi
21548 fi
21549
21550 if test -z "$wx_cv_lib_gtk"; then
21551 wx_cv_lib_gtk=none
21552 else
21553 wx_cv_cflags_gtk=$GTK_CFLAGS
21554 wx_cv_libs_gtk=$GTK_LIBS
21555 fi
21556
21557
21558fi
21559
21560
21561 if test "$gtk_version_cached" = 1; then
21562 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
21563echo "${ECHO_T}$wx_cv_lib_gtk" >&6
21564 fi
21565
21566 case "$wx_cv_lib_gtk" in
21567 2.0) WXGTK20=1
21568 TOOLKIT_VERSION=2
21569 ;;
21570 1.2.7) WXGTK127=1
21571 WXGTK12=1
21572 ;;
21573 1.2.3) WXGTK12=1
21574 ;;
21575 *) { { echo "$as_me:$LINENO: error:
21576Please check that gtk-config is in path, the directory
21577where GTK+ libraries are installed (returned by
21578'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21579equivalent variable and GTK+ is version 1.2.3 or above.
21580 " >&5
21581echo "$as_me: error:
21582Please check that gtk-config is in path, the directory
21583where GTK+ libraries are installed (returned by
21584'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21585equivalent variable and GTK+ is version 1.2.3 or above.
21586 " >&2;}
21587 { (exit 1); exit 1; }; }
21588 ;;
21589 esac
21590
21591 if test "$WXGTK20" = 1; then
21592 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21593
21594 succeeded=no
21595
21596 if test -z "$PKG_CONFIG"; then
21597 # Extract the first word of "pkg-config", so it can be a program name with args.
21598set dummy pkg-config; ac_word=$2
21599echo "$as_me:$LINENO: checking for $ac_word" >&5
21600echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21601if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21602 echo $ECHO_N "(cached) $ECHO_C" >&6
21603else
21604 case $PKG_CONFIG in
21605 [\\/]* | ?:[\\/]*)
21606 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21607 ;;
21608 *)
21609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21610for as_dir in $PATH
21611do
21612 IFS=$as_save_IFS
21613 test -z "$as_dir" && as_dir=.
21614 for ac_exec_ext in '' $ac_executable_extensions; do
21615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21616 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21618 break 2
21619 fi
21620done
21621done
21622
21623 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21624 ;;
21625esac
21626fi
21627PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21628
21629if test -n "$PKG_CONFIG"; then
21630 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21631echo "${ECHO_T}$PKG_CONFIG" >&6
21632else
21633 echo "$as_me:$LINENO: result: no" >&5
21634echo "${ECHO_T}no" >&6
21635fi
21636
21637 fi
21638
21639 if test "$PKG_CONFIG" = "no" ; then
21640 echo "*** The pkg-config script could not be found. Make sure it is"
21641 echo "*** in your path, or set the PKG_CONFIG environment variable"
21642 echo "*** to the full path to pkg-config."
21643 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21644 else
21645 PKG_CONFIG_MIN_VERSION=0.9.0
21646 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21647 echo "$as_me:$LINENO: checking for pangoft2" >&5
21648echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
21649
21650 if $PKG_CONFIG --exists "pangoft2" ; then
21651 echo "$as_me:$LINENO: result: yes" >&5
21652echo "${ECHO_T}yes" >&6
21653 succeeded=yes
21654
21655 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
21656echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
21657 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
21658 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
21659echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
21660
21661 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
21662echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
21663 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
21664 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
21665echo "${ECHO_T}$PANGOFT2_LIBS" >&6
21666 else
21667 PANGOFT2_CFLAGS=""
21668 PANGOFT2_LIBS=""
21669 ## If we have a custom action on failure, don't print errors, but
21670 ## do set a variable so people can do so.
21671 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
21672
21673 fi
21674
21675
21676
21677 else
21678 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21679 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21680 fi
21681 fi
21682
21683 if test $succeeded = yes; then
21684
21685 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
21686 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
21687
21688 else
21689
21690 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
21691echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
21692 wxUSE_PRINTING_ARCHITECTURE="no"
21693
21694
21695 fi
21696
21697 fi
21698 else
21699 if test "$wxUSE_UNICODE" = "yes"; then
21700 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
21701echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
21702 wxUSE_UNICODE=no
21703 fi
21704 fi
21705
21706 if test "$USE_DARWIN" != 1; then
21707
21708for ac_func in poll
21709do
21710as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21711echo "$as_me:$LINENO: checking for $ac_func" >&5
21712echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21713if eval "test \"\${$as_ac_var+set}\" = set"; then
21714 echo $ECHO_N "(cached) $ECHO_C" >&6
21715else
21716 cat >conftest.$ac_ext <<_ACEOF
21717#line $LINENO "configure"
21718/* confdefs.h. */
21719_ACEOF
21720cat confdefs.h >>conftest.$ac_ext
21721cat >>conftest.$ac_ext <<_ACEOF
21722/* end confdefs.h. */
21723/* System header to define __stub macros and hopefully few prototypes,
21724 which can conflict with char $ac_func (); below.
21725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21726 <limits.h> exists even on freestanding compilers. */
21727#ifdef __STDC__
21728# include <limits.h>
21729#else
21730# include <assert.h>
21731#endif
21732/* Override any gcc2 internal prototype to avoid an error. */
21733#ifdef __cplusplus
21734extern "C"
21735{
21736#endif
21737/* We use char because int might match the return type of a gcc2
21738 builtin and then its argument prototype would still apply. */
21739char $ac_func ();
21740/* The GNU C library defines this for functions which it implements
21741 to always fail with ENOSYS. Some functions are actually named
21742 something starting with __ and the normal name is an alias. */
21743#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21744choke me
21745#else
21746char (*f) () = $ac_func;
21747#endif
21748#ifdef __cplusplus
21749}
21750#endif
21751
21752int
21753main ()
21754{
21755return f != $ac_func;
21756 ;
21757 return 0;
21758}
21759_ACEOF
21760rm -f conftest.$ac_objext conftest$ac_exeext
21761if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21762 (eval $ac_link) 2>&5
21763 ac_status=$?
21764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21765 (exit $ac_status); } &&
21766 { ac_try='test -s conftest$ac_exeext'
21767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21768 (eval $ac_try) 2>&5
21769 ac_status=$?
21770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21771 (exit $ac_status); }; }; then
21772 eval "$as_ac_var=yes"
21773else
21774 echo "$as_me: failed program was:" >&5
21775sed 's/^/| /' conftest.$ac_ext >&5
21776
21777eval "$as_ac_var=no"
21778fi
21779rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21780fi
21781echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21782echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21783if test `eval echo '${'$as_ac_var'}'` = yes; then
21784 cat >>confdefs.h <<_ACEOF
21785#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21786_ACEOF
21787
21788fi
21789done
21790
21791 fi
21792
21793 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
21794 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21795
21796 AFMINSTALL=afminstall
21797 TOOLKIT=GTK
21798 GUIDIST=GTK_DIST
21799
21800 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21801echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21802if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21803 echo $ECHO_N "(cached) $ECHO_C" >&6
21804else
21805 ac_check_lib_save_LIBS=$LIBS
21806LIBS="-lgdk $LIBS"
21807cat >conftest.$ac_ext <<_ACEOF
21808#line $LINENO "configure"
21809/* confdefs.h. */
21810_ACEOF
21811cat confdefs.h >>conftest.$ac_ext
21812cat >>conftest.$ac_ext <<_ACEOF
21813/* end confdefs.h. */
21814
21815/* Override any gcc2 internal prototype to avoid an error. */
21816#ifdef __cplusplus
21817extern "C"
21818#endif
21819/* We use char because int might match the return type of a gcc2
21820 builtin and then its argument prototype would still apply. */
21821char gdk_im_open ();
21822int
21823main ()
21824{
21825gdk_im_open ();
21826 ;
21827 return 0;
21828}
21829_ACEOF
21830rm -f conftest.$ac_objext conftest$ac_exeext
21831if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21832 (eval $ac_link) 2>&5
21833 ac_status=$?
21834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21835 (exit $ac_status); } &&
21836 { ac_try='test -s conftest$ac_exeext'
21837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21838 (eval $ac_try) 2>&5
21839 ac_status=$?
21840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21841 (exit $ac_status); }; }; then
21842 ac_cv_lib_gdk_gdk_im_open=yes
21843else
21844 echo "$as_me: failed program was:" >&5
21845sed 's/^/| /' conftest.$ac_ext >&5
21846
21847ac_cv_lib_gdk_gdk_im_open=no
21848fi
21849rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21850LIBS=$ac_check_lib_save_LIBS
21851fi
21852echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21853echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21854if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21855 cat >>confdefs.h <<\_ACEOF
21856#define HAVE_XIM 1
21857_ACEOF
21858
21859fi
21860
21861 fi
21862
21863 if test "$wxUSE_MGL" = 1; then
21864 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21865echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21866 if test "x$MGL_ROOT" = x ; then
21867 echo "$as_me:$LINENO: result: not found" >&5
21868echo "${ECHO_T}not found" >&6
21869 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21870echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21871 { (exit 1); exit 1; }; }
21872 else
21873 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21874echo "${ECHO_T}$MGL_ROOT" >&6
21875 fi
21876
21877 echo "$as_me:$LINENO: checking for libmgl location" >&5
21878echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21879 case "${host}" in
21880 *-*-linux* )
21881 if test "x$wxUSE_SHARED" = xyes ; then
21882 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
21883 else
21884 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
21885 fi
21886 ;;
21887 *-pc-msdosdjgpp )
21888 mgl_os_candidates="dos32/dj2"
21889 ;;
21890 *)
21891 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21892echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21893 { (exit 1); exit 1; }; }
21894 esac
21895
21896 mgl_lib_type=""
21897 mgl_os=""
21898
21899 for mgl_os_i in $mgl_os_candidates ; do
21900 if test "x$mgl_os" = x ; then
21901 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21902 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
21903 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
21904 mgl_lib_type=debug
21905 mgl_os=$mgl_os_i
21906 fi
21907 fi
21908 if test "x$mgl_lib_type" = x ; then
21909 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
21910 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
21911 mgl_lib_type=release
21912 mgl_os=$mgl_os_i
21913 fi
21914 fi
21915 fi
21916 done
21917
21918 if test "x$mgl_os" = x ; then
21919 echo "$as_me:$LINENO: result: not found" >&5
21920echo "${ECHO_T}not found" >&6
21921 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21922echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21923 { (exit 1); exit 1; }; }
21924 fi
21925 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21926echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21927
21928 wxUSE_UNIVERSAL="yes"
21929
21930 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
21931 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21932
21933 AFMINSTALL=afminstall
21934 TOOLKIT=MGL
21935 GUIDIST=MGL_DIST
21936 fi
21937
21938 if test "$wxUSE_MICROWIN" = 1; then
21939 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21940echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21941 if test "x$MICROWINDOWS" = x ; then
21942 echo "$as_me:$LINENO: result: not found" >&5
21943echo "${ECHO_T}not found" >&6
21944 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21945echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21946 { (exit 1); exit 1; }; }
21947 else
21948 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21949echo "${ECHO_T}$MICROWINDOWS" >&6
21950 fi
21951
21952 if test -f $MICROWINDOWS/lib/libmwin.a; then
21953 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21954echo "${ECHO_T}MicroWindows' libraries found." >&6
21955 else
21956 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21957echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21958 { (exit 1); exit 1; }; }
21959 fi
21960
21961 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
21962 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21963
21964 wxUSE_UNIVERSAL="yes"
21965
21966 AFMINSTALL=afminstall
21967 TOOLKIT=MICROWIN
21968 GUIDIST=MICROWIN_DIST
21969
21970 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21971 fi
21972
21973 if test "$wxUSE_X11" = 1; then
21974 echo "$as_me:$LINENO: checking for X" >&5
21975echo $ECHO_N "checking for X... $ECHO_C" >&6
21976
21977
21978# Check whether --with-x or --without-x was given.
21979if test "${with_x+set}" = set; then
21980 withval="$with_x"
21981
21982fi;
21983# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21984if test "x$with_x" = xno; then
21985 # The user explicitly disabled X.
21986 have_x=disabled
21987else
21988 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
21989 # Both variables are already set.
21990 have_x=yes
21991 else
21992 if test "${ac_cv_have_x+set}" = set; then
21993 echo $ECHO_N "(cached) $ECHO_C" >&6
21994else
21995 # One or both of the vars are not set, and there is no cached value.
21996ac_x_includes=no ac_x_libraries=no
21997rm -fr conftest.dir
21998if mkdir conftest.dir; then
21999 cd conftest.dir
22000 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
22001 cat >Imakefile <<'_ACEOF'
22002acfindx:
22003 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
22004_ACEOF
22005 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
22006 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22007 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
22008 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22009 for ac_extension in a so sl; do
22010 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
22011 test -f $ac_im_libdir/libX11.$ac_extension; then
22012 ac_im_usrlibdir=$ac_im_libdir; break
22013 fi
22014 done
22015 # Screen out bogus values from the imake configuration. They are
22016 # bogus both because they are the default anyway, and because
22017 # using them would break gcc on systems where it needs fixed includes.
22018 case $ac_im_incroot in
22019 /usr/include) ;;
22020 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
22021 esac
22022 case $ac_im_usrlibdir in
22023 /usr/lib | /lib) ;;
22024 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
22025 esac
22026 fi
22027 cd ..
22028 rm -fr conftest.dir
22029fi
22030
22031# Standard set of common directories for X headers.
22032# Check X11 before X11Rn because it is often a symlink to the current release.
22033ac_x_header_dirs='
22034/usr/X11/include
22035/usr/X11R6/include
22036/usr/X11R5/include
22037/usr/X11R4/include
22038
22039/usr/include/X11
22040/usr/include/X11R6
22041/usr/include/X11R5
22042/usr/include/X11R4
22043
22044/usr/local/X11/include
22045/usr/local/X11R6/include
22046/usr/local/X11R5/include
22047/usr/local/X11R4/include
22048
22049/usr/local/include/X11
22050/usr/local/include/X11R6
22051/usr/local/include/X11R5
22052/usr/local/include/X11R4
22053
22054/usr/X386/include
22055/usr/x386/include
22056/usr/XFree86/include/X11
22057
22058/usr/include
22059/usr/local/include
22060/usr/unsupported/include
22061/usr/athena/include
22062/usr/local/x11r5/include
22063/usr/lpp/Xamples/include
22064
22065/usr/openwin/include
22066/usr/openwin/share/include'
22067
22068if test "$ac_x_includes" = no; then
22069 # Guess where to find include files, by looking for Intrinsic.h.
22070 # First, try using that file with no special directory specified.
22071 cat >conftest.$ac_ext <<_ACEOF
22072#line $LINENO "configure"
22073/* confdefs.h. */
22074_ACEOF
22075cat confdefs.h >>conftest.$ac_ext
22076cat >>conftest.$ac_ext <<_ACEOF
22077/* end confdefs.h. */
22078#include <X11/Intrinsic.h>
22079_ACEOF
22080if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22081 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22082 ac_status=$?
22083 grep -v '^ *+' conftest.er1 >conftest.err
22084 rm -f conftest.er1
22085 cat conftest.err >&5
22086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22087 (exit $ac_status); } >/dev/null; then
22088 if test -s conftest.err; then
22089 ac_cpp_err=$ac_c_preproc_warn_flag
22090 else
22091 ac_cpp_err=
22092 fi
22093else
22094 ac_cpp_err=yes
22095fi
22096if test -z "$ac_cpp_err"; then
22097 # We can compile using X headers with no special include directory.
22098ac_x_includes=
22099else
22100 echo "$as_me: failed program was:" >&5
22101sed 's/^/| /' conftest.$ac_ext >&5
22102
22103 for ac_dir in $ac_x_header_dirs; do
22104 if test -r "$ac_dir/X11/Intrinsic.h"; then
22105 ac_x_includes=$ac_dir
22106 break
22107 fi
22108done
22109fi
22110rm -f conftest.err conftest.$ac_ext
22111fi # $ac_x_includes = no
22112
22113if test "$ac_x_libraries" = no; then
22114 # Check for the libraries.
22115 # See if we find them without any special options.
22116 # Don't add to $LIBS permanently.
22117 ac_save_LIBS=$LIBS
22118 LIBS="-lXt $LIBS"
22119 cat >conftest.$ac_ext <<_ACEOF
22120#line $LINENO "configure"
22121/* confdefs.h. */
22122_ACEOF
22123cat confdefs.h >>conftest.$ac_ext
22124cat >>conftest.$ac_ext <<_ACEOF
22125/* end confdefs.h. */
22126#include <X11/Intrinsic.h>
22127int
22128main ()
22129{
22130XtMalloc (0)
22131 ;
22132 return 0;
22133}
22134_ACEOF
22135rm -f conftest.$ac_objext conftest$ac_exeext
22136if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22137 (eval $ac_link) 2>&5
22138 ac_status=$?
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); } &&
22141 { ac_try='test -s conftest$ac_exeext'
22142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22143 (eval $ac_try) 2>&5
22144 ac_status=$?
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); }; }; then
22147 LIBS=$ac_save_LIBS
22148# We can link X programs with no special library path.
22149ac_x_libraries=
22150else
22151 echo "$as_me: failed program was:" >&5
22152sed 's/^/| /' conftest.$ac_ext >&5
22153
22154LIBS=$ac_save_LIBS
22155for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22156do
22157 # Don't even attempt the hair of trying to link an X program!
22158 for ac_extension in a so sl; do
22159 if test -r $ac_dir/libXt.$ac_extension; then
22160 ac_x_libraries=$ac_dir
22161 break 2
22162 fi
22163 done
22164done
22165fi
22166rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22167fi # $ac_x_libraries = no
22168
22169if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
22170 # Didn't find X anywhere. Cache the known absence of X.
22171 ac_cv_have_x="have_x=no"
22172else
22173 # Record where we found X for the cache.
22174 ac_cv_have_x="have_x=yes \
22175 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
22176fi
22177fi
22178
22179 fi
22180 eval "$ac_cv_have_x"
22181fi # $with_x != no
22182
22183if test "$have_x" != yes; then
22184 echo "$as_me:$LINENO: result: $have_x" >&5
22185echo "${ECHO_T}$have_x" >&6
22186 no_x=yes
22187else
22188 # If each of the values was on the command line, it overrides each guess.
22189 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
22190 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
22191 # Update the cache value to reflect the command line values.
22192 ac_cv_have_x="have_x=yes \
22193 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
22194 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
22195echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
22196fi
22197
22198if test "$no_x" = yes; then
22199 # Not all programs may use this symbol, but it does not hurt to define it.
22200
22201cat >>confdefs.h <<\_ACEOF
22202#define X_DISPLAY_MISSING 1
22203_ACEOF
22204
22205 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22206else
22207 if test -n "$x_includes"; then
22208 X_CFLAGS="$X_CFLAGS -I$x_includes"
22209 fi
22210
22211 # It would also be nice to do this for all -L options, not just this one.
22212 if test -n "$x_libraries"; then
22213 X_LIBS="$X_LIBS -L$x_libraries"
22214 # For Solaris; some versions of Sun CC require a space after -R and
22215 # others require no space. Words are not sufficient . . . .
22216 case `(uname -sr) 2>/dev/null` in
22217 "SunOS 5"*)
22218 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22219echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22220 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22221 cat >conftest.$ac_ext <<_ACEOF
22222#line $LINENO "configure"
22223/* confdefs.h. */
22224_ACEOF
22225cat confdefs.h >>conftest.$ac_ext
22226cat >>conftest.$ac_ext <<_ACEOF
22227/* end confdefs.h. */
22228
22229int
22230main ()
22231{
22232
22233 ;
22234 return 0;
22235}
22236_ACEOF
22237rm -f conftest.$ac_objext conftest$ac_exeext
22238if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22239 (eval $ac_link) 2>&5
22240 ac_status=$?
22241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242 (exit $ac_status); } &&
22243 { ac_try='test -s conftest$ac_exeext'
22244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22245 (eval $ac_try) 2>&5
22246 ac_status=$?
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); }; }; then
22249 ac_R_nospace=yes
22250else
22251 echo "$as_me: failed program was:" >&5
22252sed 's/^/| /' conftest.$ac_ext >&5
22253
22254ac_R_nospace=no
22255fi
22256rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22257 if test $ac_R_nospace = yes; then
22258 echo "$as_me:$LINENO: result: no" >&5
22259echo "${ECHO_T}no" >&6
22260 X_LIBS="$X_LIBS -R$x_libraries"
22261 else
22262 LIBS="$ac_xsave_LIBS -R $x_libraries"
22263 cat >conftest.$ac_ext <<_ACEOF
22264#line $LINENO "configure"
22265/* confdefs.h. */
22266_ACEOF
22267cat confdefs.h >>conftest.$ac_ext
22268cat >>conftest.$ac_ext <<_ACEOF
22269/* end confdefs.h. */
22270
22271int
22272main ()
22273{
22274
22275 ;
22276 return 0;
22277}
22278_ACEOF
22279rm -f conftest.$ac_objext conftest$ac_exeext
22280if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22281 (eval $ac_link) 2>&5
22282 ac_status=$?
22283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22284 (exit $ac_status); } &&
22285 { ac_try='test -s conftest$ac_exeext'
22286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22287 (eval $ac_try) 2>&5
22288 ac_status=$?
22289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22290 (exit $ac_status); }; }; then
22291 ac_R_space=yes
22292else
22293 echo "$as_me: failed program was:" >&5
22294sed 's/^/| /' conftest.$ac_ext >&5
22295
22296ac_R_space=no
22297fi
22298rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22299 if test $ac_R_space = yes; then
22300 echo "$as_me:$LINENO: result: yes" >&5
22301echo "${ECHO_T}yes" >&6
22302 X_LIBS="$X_LIBS -R $x_libraries"
22303 else
22304 echo "$as_me:$LINENO: result: neither works" >&5
22305echo "${ECHO_T}neither works" >&6
22306 fi
22307 fi
22308 LIBS=$ac_xsave_LIBS
22309 esac
22310 fi
22311
22312 # Check for system-dependent libraries X programs must link with.
22313 # Do this before checking for the system-independent R6 libraries
22314 # (-lICE), since we may need -lsocket or whatever for X linking.
22315
22316 if test "$ISC" = yes; then
22317 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22318 else
22319 # Martyn Johnson says this is needed for Ultrix, if the X
22320 # libraries were built with DECnet support. And Karl Berry says
22321 # the Alpha needs dnet_stub (dnet does not exist).
22322 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22323 cat >conftest.$ac_ext <<_ACEOF
22324#line $LINENO "configure"
22325/* confdefs.h. */
22326_ACEOF
22327cat confdefs.h >>conftest.$ac_ext
22328cat >>conftest.$ac_ext <<_ACEOF
22329/* end confdefs.h. */
22330
22331/* Override any gcc2 internal prototype to avoid an error. */
22332#ifdef __cplusplus
22333extern "C"
22334#endif
22335/* We use char because int might match the return type of a gcc2
22336 builtin and then its argument prototype would still apply. */
22337char XOpenDisplay ();
22338int
22339main ()
22340{
22341XOpenDisplay ();
22342 ;
22343 return 0;
22344}
22345_ACEOF
22346rm -f conftest.$ac_objext conftest$ac_exeext
22347if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22348 (eval $ac_link) 2>&5
22349 ac_status=$?
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); } &&
22352 { ac_try='test -s conftest$ac_exeext'
22353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22354 (eval $ac_try) 2>&5
22355 ac_status=$?
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); }; }; then
22358 :
22359else
22360 echo "$as_me: failed program was:" >&5
22361sed 's/^/| /' conftest.$ac_ext >&5
22362
22363echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22364echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22365if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22366 echo $ECHO_N "(cached) $ECHO_C" >&6
22367else
22368 ac_check_lib_save_LIBS=$LIBS
22369LIBS="-ldnet $LIBS"
22370cat >conftest.$ac_ext <<_ACEOF
22371#line $LINENO "configure"
22372/* confdefs.h. */
22373_ACEOF
22374cat confdefs.h >>conftest.$ac_ext
22375cat >>conftest.$ac_ext <<_ACEOF
22376/* end confdefs.h. */
22377
22378/* Override any gcc2 internal prototype to avoid an error. */
22379#ifdef __cplusplus
22380extern "C"
22381#endif
22382/* We use char because int might match the return type of a gcc2
22383 builtin and then its argument prototype would still apply. */
22384char dnet_ntoa ();
22385int
22386main ()
22387{
22388dnet_ntoa ();
22389 ;
22390 return 0;
22391}
22392_ACEOF
22393rm -f conftest.$ac_objext conftest$ac_exeext
22394if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22395 (eval $ac_link) 2>&5
22396 ac_status=$?
22397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); } &&
22399 { ac_try='test -s conftest$ac_exeext'
22400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22401 (eval $ac_try) 2>&5
22402 ac_status=$?
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); }; }; then
22405 ac_cv_lib_dnet_dnet_ntoa=yes
22406else
22407 echo "$as_me: failed program was:" >&5
22408sed 's/^/| /' conftest.$ac_ext >&5
22409
22410ac_cv_lib_dnet_dnet_ntoa=no
22411fi
22412rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22413LIBS=$ac_check_lib_save_LIBS
22414fi
22415echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22416echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22417if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22418 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22419fi
22420
22421 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22422 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22423echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22424if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22425 echo $ECHO_N "(cached) $ECHO_C" >&6
22426else
22427 ac_check_lib_save_LIBS=$LIBS
22428LIBS="-ldnet_stub $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 dnet_ntoa ();
22444int
22445main ()
22446{
22447dnet_ntoa ();
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_dnet_stub_dnet_ntoa=yes
22465else
22466 echo "$as_me: failed program was:" >&5
22467sed 's/^/| /' conftest.$ac_ext >&5
22468
22469ac_cv_lib_dnet_stub_dnet_ntoa=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_dnet_stub_dnet_ntoa" >&5
22475echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
22476if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22477 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
22478fi
22479
22480 fi
22481fi
22482rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22483 LIBS="$ac_xsave_LIBS"
22484
22485 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22486 # to get the SysV transport functions.
22487 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22488 # needs -lnsl.
22489 # The nsl library prevents programs from opening the X display
22490 # on Irix 5.2, according to T.E. Dickey.
22491 # The functions gethostbyname, getservbyname, and inet_addr are
22492 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22493 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22494echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22495if test "${ac_cv_func_gethostbyname+set}" = set; then
22496 echo $ECHO_N "(cached) $ECHO_C" >&6
22497else
22498 cat >conftest.$ac_ext <<_ACEOF
22499#line $LINENO "configure"
22500/* confdefs.h. */
22501_ACEOF
22502cat confdefs.h >>conftest.$ac_ext
22503cat >>conftest.$ac_ext <<_ACEOF
22504/* end confdefs.h. */
22505/* System header to define __stub macros and hopefully few prototypes,
22506 which can conflict with char gethostbyname (); below.
22507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22508 <limits.h> exists even on freestanding compilers. */
22509#ifdef __STDC__
22510# include <limits.h>
22511#else
22512# include <assert.h>
22513#endif
22514/* Override any gcc2 internal prototype to avoid an error. */
22515#ifdef __cplusplus
22516extern "C"
22517{
22518#endif
22519/* We use char because int might match the return type of a gcc2
22520 builtin and then its argument prototype would still apply. */
22521char gethostbyname ();
22522/* The GNU C library defines this for functions which it implements
22523 to always fail with ENOSYS. Some functions are actually named
22524 something starting with __ and the normal name is an alias. */
22525#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22526choke me
22527#else
22528char (*f) () = gethostbyname;
22529#endif
22530#ifdef __cplusplus
22531}
22532#endif
22533
22534int
22535main ()
22536{
22537return f != gethostbyname;
22538 ;
22539 return 0;
22540}
22541_ACEOF
22542rm -f conftest.$ac_objext conftest$ac_exeext
22543if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22544 (eval $ac_link) 2>&5
22545 ac_status=$?
22546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22547 (exit $ac_status); } &&
22548 { ac_try='test -s conftest$ac_exeext'
22549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22550 (eval $ac_try) 2>&5
22551 ac_status=$?
22552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22553 (exit $ac_status); }; }; then
22554 ac_cv_func_gethostbyname=yes
22555else
22556 echo "$as_me: failed program was:" >&5
22557sed 's/^/| /' conftest.$ac_ext >&5
22558
22559ac_cv_func_gethostbyname=no
22560fi
22561rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22562fi
22563echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22564echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22565
22566 if test $ac_cv_func_gethostbyname = no; then
22567 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22568echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22569if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22570 echo $ECHO_N "(cached) $ECHO_C" >&6
22571else
22572 ac_check_lib_save_LIBS=$LIBS
22573LIBS="-lnsl $LIBS"
22574cat >conftest.$ac_ext <<_ACEOF
22575#line $LINENO "configure"
22576/* confdefs.h. */
22577_ACEOF
22578cat confdefs.h >>conftest.$ac_ext
22579cat >>conftest.$ac_ext <<_ACEOF
22580/* end confdefs.h. */
22581
22582/* Override any gcc2 internal prototype to avoid an error. */
22583#ifdef __cplusplus
22584extern "C"
22585#endif
22586/* We use char because int might match the return type of a gcc2
22587 builtin and then its argument prototype would still apply. */
22588char gethostbyname ();
22589int
22590main ()
22591{
22592gethostbyname ();
22593 ;
22594 return 0;
22595}
22596_ACEOF
22597rm -f conftest.$ac_objext conftest$ac_exeext
22598if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22599 (eval $ac_link) 2>&5
22600 ac_status=$?
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); } &&
22603 { ac_try='test -s conftest$ac_exeext'
22604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22605 (eval $ac_try) 2>&5
22606 ac_status=$?
22607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22608 (exit $ac_status); }; }; then
22609 ac_cv_lib_nsl_gethostbyname=yes
22610else
22611 echo "$as_me: failed program was:" >&5
22612sed 's/^/| /' conftest.$ac_ext >&5
22613
22614ac_cv_lib_nsl_gethostbyname=no
22615fi
22616rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22617LIBS=$ac_check_lib_save_LIBS
22618fi
22619echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22620echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22621if test $ac_cv_lib_nsl_gethostbyname = yes; then
22622 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22623fi
22624
22625 if test $ac_cv_lib_nsl_gethostbyname = no; then
22626 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22627echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22628if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22629 echo $ECHO_N "(cached) $ECHO_C" >&6
22630else
22631 ac_check_lib_save_LIBS=$LIBS
22632LIBS="-lbsd $LIBS"
22633cat >conftest.$ac_ext <<_ACEOF
22634#line $LINENO "configure"
22635/* confdefs.h. */
22636_ACEOF
22637cat confdefs.h >>conftest.$ac_ext
22638cat >>conftest.$ac_ext <<_ACEOF
22639/* end confdefs.h. */
22640
22641/* Override any gcc2 internal prototype to avoid an error. */
22642#ifdef __cplusplus
22643extern "C"
22644#endif
22645/* We use char because int might match the return type of a gcc2
22646 builtin and then its argument prototype would still apply. */
22647char gethostbyname ();
22648int
22649main ()
22650{
22651gethostbyname ();
22652 ;
22653 return 0;
22654}
22655_ACEOF
22656rm -f conftest.$ac_objext conftest$ac_exeext
22657if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22658 (eval $ac_link) 2>&5
22659 ac_status=$?
22660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22661 (exit $ac_status); } &&
22662 { ac_try='test -s conftest$ac_exeext'
22663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22664 (eval $ac_try) 2>&5
22665 ac_status=$?
22666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22667 (exit $ac_status); }; }; then
22668 ac_cv_lib_bsd_gethostbyname=yes
22669else
22670 echo "$as_me: failed program was:" >&5
22671sed 's/^/| /' conftest.$ac_ext >&5
22672
22673ac_cv_lib_bsd_gethostbyname=no
22674fi
22675rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22676LIBS=$ac_check_lib_save_LIBS
22677fi
22678echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22679echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22680if test $ac_cv_lib_bsd_gethostbyname = yes; then
22681 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
22682fi
22683
22684 fi
22685 fi
22686
22687 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22688 # socket/setsockopt and other routines are undefined under SCO ODT
22689 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22690 # on later versions), says Simon Leinen: it contains gethostby*
22691 # variants that don't use the name server (or something). -lsocket
22692 # must be given before -lnsl if both are needed. We assume that
22693 # if connect needs -lnsl, so does gethostbyname.
22694 echo "$as_me:$LINENO: checking for connect" >&5
22695echo $ECHO_N "checking for connect... $ECHO_C" >&6
22696if test "${ac_cv_func_connect+set}" = set; then
22697 echo $ECHO_N "(cached) $ECHO_C" >&6
22698else
22699 cat >conftest.$ac_ext <<_ACEOF
22700#line $LINENO "configure"
22701/* confdefs.h. */
22702_ACEOF
22703cat confdefs.h >>conftest.$ac_ext
22704cat >>conftest.$ac_ext <<_ACEOF
22705/* end confdefs.h. */
22706/* System header to define __stub macros and hopefully few prototypes,
22707 which can conflict with char connect (); below.
22708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22709 <limits.h> exists even on freestanding compilers. */
22710#ifdef __STDC__
22711# include <limits.h>
22712#else
22713# include <assert.h>
22714#endif
22715/* Override any gcc2 internal prototype to avoid an error. */
22716#ifdef __cplusplus
22717extern "C"
22718{
22719#endif
22720/* We use char because int might match the return type of a gcc2
22721 builtin and then its argument prototype would still apply. */
22722char connect ();
22723/* The GNU C library defines this for functions which it implements
22724 to always fail with ENOSYS. Some functions are actually named
22725 something starting with __ and the normal name is an alias. */
22726#if defined (__stub_connect) || defined (__stub___connect)
22727choke me
22728#else
22729char (*f) () = connect;
22730#endif
22731#ifdef __cplusplus
22732}
22733#endif
22734
22735int
22736main ()
22737{
22738return f != connect;
22739 ;
22740 return 0;
22741}
22742_ACEOF
22743rm -f conftest.$ac_objext conftest$ac_exeext
22744if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22745 (eval $ac_link) 2>&5
22746 ac_status=$?
22747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22748 (exit $ac_status); } &&
22749 { ac_try='test -s conftest$ac_exeext'
22750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22751 (eval $ac_try) 2>&5
22752 ac_status=$?
22753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22754 (exit $ac_status); }; }; then
22755 ac_cv_func_connect=yes
22756else
22757 echo "$as_me: failed program was:" >&5
22758sed 's/^/| /' conftest.$ac_ext >&5
22759
22760ac_cv_func_connect=no
22761fi
22762rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22763fi
22764echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22765echo "${ECHO_T}$ac_cv_func_connect" >&6
22766
22767 if test $ac_cv_func_connect = no; then
22768 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22769echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22770if test "${ac_cv_lib_socket_connect+set}" = set; then
22771 echo $ECHO_N "(cached) $ECHO_C" >&6
22772else
22773 ac_check_lib_save_LIBS=$LIBS
22774LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
22775cat >conftest.$ac_ext <<_ACEOF
22776#line $LINENO "configure"
22777/* confdefs.h. */
22778_ACEOF
22779cat confdefs.h >>conftest.$ac_ext
22780cat >>conftest.$ac_ext <<_ACEOF
22781/* end confdefs.h. */
22782
22783/* Override any gcc2 internal prototype to avoid an error. */
22784#ifdef __cplusplus
22785extern "C"
22786#endif
22787/* We use char because int might match the return type of a gcc2
22788 builtin and then its argument prototype would still apply. */
22789char connect ();
22790int
22791main ()
22792{
22793connect ();
22794 ;
22795 return 0;
22796}
22797_ACEOF
22798rm -f conftest.$ac_objext conftest$ac_exeext
22799if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22800 (eval $ac_link) 2>&5
22801 ac_status=$?
22802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22803 (exit $ac_status); } &&
22804 { ac_try='test -s conftest$ac_exeext'
22805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22806 (eval $ac_try) 2>&5
22807 ac_status=$?
22808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22809 (exit $ac_status); }; }; then
22810 ac_cv_lib_socket_connect=yes
22811else
22812 echo "$as_me: failed program was:" >&5
22813sed 's/^/| /' conftest.$ac_ext >&5
22814
22815ac_cv_lib_socket_connect=no
22816fi
22817rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22818LIBS=$ac_check_lib_save_LIBS
22819fi
22820echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22821echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22822if test $ac_cv_lib_socket_connect = yes; then
22823 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
22824fi
22825
22826 fi
22827
22828 # Guillermo Gomez says -lposix is necessary on A/UX.
22829 echo "$as_me:$LINENO: checking for remove" >&5
22830echo $ECHO_N "checking for remove... $ECHO_C" >&6
22831if test "${ac_cv_func_remove+set}" = set; then
22832 echo $ECHO_N "(cached) $ECHO_C" >&6
22833else
22834 cat >conftest.$ac_ext <<_ACEOF
22835#line $LINENO "configure"
22836/* confdefs.h. */
22837_ACEOF
22838cat confdefs.h >>conftest.$ac_ext
22839cat >>conftest.$ac_ext <<_ACEOF
22840/* end confdefs.h. */
22841/* System header to define __stub macros and hopefully few prototypes,
22842 which can conflict with char remove (); below.
22843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22844 <limits.h> exists even on freestanding compilers. */
22845#ifdef __STDC__
22846# include <limits.h>
22847#else
22848# include <assert.h>
22849#endif
22850/* Override any gcc2 internal prototype to avoid an error. */
22851#ifdef __cplusplus
22852extern "C"
22853{
22854#endif
22855/* We use char because int might match the return type of a gcc2
22856 builtin and then its argument prototype would still apply. */
22857char remove ();
22858/* The GNU C library defines this for functions which it implements
22859 to always fail with ENOSYS. Some functions are actually named
22860 something starting with __ and the normal name is an alias. */
22861#if defined (__stub_remove) || defined (__stub___remove)
22862choke me
22863#else
22864char (*f) () = remove;
22865#endif
22866#ifdef __cplusplus
22867}
22868#endif
22869
22870int
22871main ()
22872{
22873return f != remove;
22874 ;
22875 return 0;
22876}
22877_ACEOF
22878rm -f conftest.$ac_objext conftest$ac_exeext
22879if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22880 (eval $ac_link) 2>&5
22881 ac_status=$?
22882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883 (exit $ac_status); } &&
22884 { ac_try='test -s conftest$ac_exeext'
22885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22886 (eval $ac_try) 2>&5
22887 ac_status=$?
22888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22889 (exit $ac_status); }; }; then
22890 ac_cv_func_remove=yes
22891else
22892 echo "$as_me: failed program was:" >&5
22893sed 's/^/| /' conftest.$ac_ext >&5
22894
22895ac_cv_func_remove=no
22896fi
22897rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22898fi
22899echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22900echo "${ECHO_T}$ac_cv_func_remove" >&6
22901
22902 if test $ac_cv_func_remove = no; then
22903 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22904echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22905if test "${ac_cv_lib_posix_remove+set}" = set; then
22906 echo $ECHO_N "(cached) $ECHO_C" >&6
22907else
22908 ac_check_lib_save_LIBS=$LIBS
22909LIBS="-lposix $LIBS"
22910cat >conftest.$ac_ext <<_ACEOF
22911#line $LINENO "configure"
22912/* confdefs.h. */
22913_ACEOF
22914cat confdefs.h >>conftest.$ac_ext
22915cat >>conftest.$ac_ext <<_ACEOF
22916/* end confdefs.h. */
22917
22918/* Override any gcc2 internal prototype to avoid an error. */
22919#ifdef __cplusplus
22920extern "C"
22921#endif
22922/* We use char because int might match the return type of a gcc2
22923 builtin and then its argument prototype would still apply. */
22924char remove ();
22925int
22926main ()
22927{
22928remove ();
22929 ;
22930 return 0;
22931}
22932_ACEOF
22933rm -f conftest.$ac_objext conftest$ac_exeext
22934if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22935 (eval $ac_link) 2>&5
22936 ac_status=$?
22937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22938 (exit $ac_status); } &&
22939 { ac_try='test -s conftest$ac_exeext'
22940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22941 (eval $ac_try) 2>&5
22942 ac_status=$?
22943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944 (exit $ac_status); }; }; then
22945 ac_cv_lib_posix_remove=yes
22946else
22947 echo "$as_me: failed program was:" >&5
22948sed 's/^/| /' conftest.$ac_ext >&5
22949
22950ac_cv_lib_posix_remove=no
22951fi
22952rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22953LIBS=$ac_check_lib_save_LIBS
22954fi
22955echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22956echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22957if test $ac_cv_lib_posix_remove = yes; then
22958 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22959fi
22960
22961 fi
22962
22963 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22964 echo "$as_me:$LINENO: checking for shmat" >&5
22965echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22966if test "${ac_cv_func_shmat+set}" = set; then
22967 echo $ECHO_N "(cached) $ECHO_C" >&6
22968else
22969 cat >conftest.$ac_ext <<_ACEOF
22970#line $LINENO "configure"
22971/* confdefs.h. */
22972_ACEOF
22973cat confdefs.h >>conftest.$ac_ext
22974cat >>conftest.$ac_ext <<_ACEOF
22975/* end confdefs.h. */
22976/* System header to define __stub macros and hopefully few prototypes,
22977 which can conflict with char shmat (); below.
22978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22979 <limits.h> exists even on freestanding compilers. */
22980#ifdef __STDC__
22981# include <limits.h>
22982#else
22983# include <assert.h>
22984#endif
22985/* Override any gcc2 internal prototype to avoid an error. */
22986#ifdef __cplusplus
22987extern "C"
22988{
22989#endif
22990/* We use char because int might match the return type of a gcc2
22991 builtin and then its argument prototype would still apply. */
22992char shmat ();
22993/* The GNU C library defines this for functions which it implements
22994 to always fail with ENOSYS. Some functions are actually named
22995 something starting with __ and the normal name is an alias. */
22996#if defined (__stub_shmat) || defined (__stub___shmat)
22997choke me
22998#else
22999char (*f) () = shmat;
23000#endif
23001#ifdef __cplusplus
23002}
23003#endif
23004
23005int
23006main ()
23007{
23008return f != shmat;
23009 ;
23010 return 0;
23011}
23012_ACEOF
23013rm -f conftest.$ac_objext conftest$ac_exeext
23014if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23015 (eval $ac_link) 2>&5
23016 ac_status=$?
23017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23018 (exit $ac_status); } &&
23019 { ac_try='test -s conftest$ac_exeext'
23020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23021 (eval $ac_try) 2>&5
23022 ac_status=$?
23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024 (exit $ac_status); }; }; then
23025 ac_cv_func_shmat=yes
23026else
23027 echo "$as_me: failed program was:" >&5
23028sed 's/^/| /' conftest.$ac_ext >&5
23029
23030ac_cv_func_shmat=no
23031fi
23032rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23033fi
23034echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23035echo "${ECHO_T}$ac_cv_func_shmat" >&6
23036
23037 if test $ac_cv_func_shmat = no; then
23038 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23039echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23040if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23041 echo $ECHO_N "(cached) $ECHO_C" >&6
23042else
23043 ac_check_lib_save_LIBS=$LIBS
23044LIBS="-lipc $LIBS"
23045cat >conftest.$ac_ext <<_ACEOF
23046#line $LINENO "configure"
23047/* confdefs.h. */
23048_ACEOF
23049cat confdefs.h >>conftest.$ac_ext
23050cat >>conftest.$ac_ext <<_ACEOF
23051/* end confdefs.h. */
23052
23053/* Override any gcc2 internal prototype to avoid an error. */
23054#ifdef __cplusplus
23055extern "C"
23056#endif
23057/* We use char because int might match the return type of a gcc2
23058 builtin and then its argument prototype would still apply. */
23059char shmat ();
23060int
23061main ()
23062{
23063shmat ();
23064 ;
23065 return 0;
23066}
23067_ACEOF
23068rm -f conftest.$ac_objext conftest$ac_exeext
23069if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23070 (eval $ac_link) 2>&5
23071 ac_status=$?
23072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23073 (exit $ac_status); } &&
23074 { ac_try='test -s conftest$ac_exeext'
23075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23076 (eval $ac_try) 2>&5
23077 ac_status=$?
23078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23079 (exit $ac_status); }; }; then
23080 ac_cv_lib_ipc_shmat=yes
23081else
23082 echo "$as_me: failed program was:" >&5
23083sed 's/^/| /' conftest.$ac_ext >&5
23084
23085ac_cv_lib_ipc_shmat=no
23086fi
23087rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23088LIBS=$ac_check_lib_save_LIBS
23089fi
23090echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23091echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23092if test $ac_cv_lib_ipc_shmat = yes; then
23093 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23094fi
23095
23096 fi
23097 fi
23098
23099 # Check for libraries that X11R6 Xt/Xaw programs need.
23100 ac_save_LDFLAGS=$LDFLAGS
23101 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23102 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23103 # check for ICE first), but we must link in the order -lSM -lICE or
23104 # we get undefined symbols. So assume we have SM if we have ICE.
23105 # These have to be linked with before -lX11, unlike the other
23106 # libraries we check for below, so use a different variable.
23107 # John Interrante, Karl Berry
23108 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23109echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23110if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23111 echo $ECHO_N "(cached) $ECHO_C" >&6
23112else
23113 ac_check_lib_save_LIBS=$LIBS
23114LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23115cat >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
23123/* Override any gcc2 internal prototype to avoid an error. */
23124#ifdef __cplusplus
23125extern "C"
23126#endif
23127/* We use char because int might match the return type of a gcc2
23128 builtin and then its argument prototype would still apply. */
23129char IceConnectionNumber ();
23130int
23131main ()
23132{
23133IceConnectionNumber ();
23134 ;
23135 return 0;
23136}
23137_ACEOF
23138rm -f conftest.$ac_objext conftest$ac_exeext
23139if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23140 (eval $ac_link) 2>&5
23141 ac_status=$?
23142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23143 (exit $ac_status); } &&
23144 { ac_try='test -s conftest$ac_exeext'
23145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23146 (eval $ac_try) 2>&5
23147 ac_status=$?
23148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23149 (exit $ac_status); }; }; then
23150 ac_cv_lib_ICE_IceConnectionNumber=yes
23151else
23152 echo "$as_me: failed program was:" >&5
23153sed 's/^/| /' conftest.$ac_ext >&5
23154
23155ac_cv_lib_ICE_IceConnectionNumber=no
23156fi
23157rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23158LIBS=$ac_check_lib_save_LIBS
23159fi
23160echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23161echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23162if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23163 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23164fi
23165
23166 LDFLAGS=$ac_save_LDFLAGS
23167
23168fi
23169
23170
23171 if test "$no_x" = "yes"; then
23172 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23173echo "$as_me: error: X11 not found" >&2;}
23174 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23175 fi
23176
23177 GUI_TK_LIBRARY="$X_LIBS"
23178 TOOLKIT_INCLUDE="$X_CFLAGS"
23179 AFMINSTALL=afminstall
23180 COMPILED_X_PROGRAM=0
23181
23182 if test "$wxUSE_NANOX" = "yes"; then
23183 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
23184echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
23185 if test "x$MICROWIN" = x ; then
23186 echo "$as_me:$LINENO: result: not found" >&5
23187echo "${ECHO_T}not found" >&6
23188 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
23189echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
23190 { (exit 1); exit 1; }; }
23191 else
23192 echo "$as_me:$LINENO: result: $MICROWIN" >&5
23193echo "${ECHO_T}$MICROWIN" >&6
23194 cat >>confdefs.h <<\_ACEOF
23195#define wxUSE_NANOX 1
23196_ACEOF
23197
23198 fi
23199 fi
23200
23201 if test "$wxUSE_UNICODE" = "yes"; then
23202
23203 succeeded=no
23204
23205 if test -z "$PKG_CONFIG"; then
23206 # Extract the first word of "pkg-config", so it can be a program name with args.
23207set dummy pkg-config; ac_word=$2
23208echo "$as_me:$LINENO: checking for $ac_word" >&5
23209echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23210if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23211 echo $ECHO_N "(cached) $ECHO_C" >&6
23212else
23213 case $PKG_CONFIG in
23214 [\\/]* | ?:[\\/]*)
23215 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23216 ;;
23217 *)
23218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23219for as_dir in $PATH
23220do
23221 IFS=$as_save_IFS
23222 test -z "$as_dir" && as_dir=.
23223 for ac_exec_ext in '' $ac_executable_extensions; do
23224 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23225 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23227 break 2
23228 fi
23229done
23230done
23231
23232 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23233 ;;
23234esac
23235fi
23236PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23237
23238if test -n "$PKG_CONFIG"; then
23239 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23240echo "${ECHO_T}$PKG_CONFIG" >&6
23241else
23242 echo "$as_me:$LINENO: result: no" >&5
23243echo "${ECHO_T}no" >&6
23244fi
23245
23246 fi
23247
23248 if test "$PKG_CONFIG" = "no" ; then
23249 echo "*** The pkg-config script could not be found. Make sure it is"
23250 echo "*** in your path, or set the PKG_CONFIG environment variable"
23251 echo "*** to the full path to pkg-config."
23252 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23253 else
23254 PKG_CONFIG_MIN_VERSION=0.9.0
23255 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23256 echo "$as_me:$LINENO: checking for pangox" >&5
23257echo $ECHO_N "checking for pangox... $ECHO_C" >&6
23258
23259 if $PKG_CONFIG --exists "pangox" ; then
23260 echo "$as_me:$LINENO: result: yes" >&5
23261echo "${ECHO_T}yes" >&6
23262 succeeded=yes
23263
23264 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
23265echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
23266 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
23267 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
23268echo "${ECHO_T}$PANGOX_CFLAGS" >&6
23269
23270 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
23271echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
23272 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
23273 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
23274echo "${ECHO_T}$PANGOX_LIBS" >&6
23275 else
23276 PANGOX_CFLAGS=""
23277 PANGOX_LIBS=""
23278 ## If we have a custom action on failure, don't print errors, but
23279 ## do set a variable so people can do so.
23280 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
23281
23282 fi
23283
23284
23285
23286 else
23287 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23288 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23289 fi
23290 fi
23291
23292 if test $succeeded = yes; then
23293
23294 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
23295 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
23296
23297 else
23298
23299 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
23300echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
23301 { (exit 1); exit 1; }; }
23302
23303
23304 fi
23305
23306
23307 succeeded=no
23308
23309 if test -z "$PKG_CONFIG"; then
23310 # Extract the first word of "pkg-config", so it can be a program name with args.
23311set dummy pkg-config; ac_word=$2
23312echo "$as_me:$LINENO: checking for $ac_word" >&5
23313echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23314if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23315 echo $ECHO_N "(cached) $ECHO_C" >&6
23316else
23317 case $PKG_CONFIG in
23318 [\\/]* | ?:[\\/]*)
23319 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23320 ;;
23321 *)
23322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23323for as_dir in $PATH
23324do
23325 IFS=$as_save_IFS
23326 test -z "$as_dir" && as_dir=.
23327 for ac_exec_ext in '' $ac_executable_extensions; do
23328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23329 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23331 break 2
23332 fi
23333done
23334done
23335
23336 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23337 ;;
23338esac
23339fi
23340PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23341
23342if test -n "$PKG_CONFIG"; then
23343 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23344echo "${ECHO_T}$PKG_CONFIG" >&6
23345else
23346 echo "$as_me:$LINENO: result: no" >&5
23347echo "${ECHO_T}no" >&6
23348fi
23349
23350 fi
23351
23352 if test "$PKG_CONFIG" = "no" ; then
23353 echo "*** The pkg-config script could not be found. Make sure it is"
23354 echo "*** in your path, or set the PKG_CONFIG environment variable"
23355 echo "*** to the full path to pkg-config."
23356 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23357 else
23358 PKG_CONFIG_MIN_VERSION=0.9.0
23359 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23360 echo "$as_me:$LINENO: checking for pangoft2" >&5
23361echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23362
23363 if $PKG_CONFIG --exists "pangoft2" ; then
23364 echo "$as_me:$LINENO: result: yes" >&5
23365echo "${ECHO_T}yes" >&6
23366 succeeded=yes
23367
23368 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23369echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23370 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
23371 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23372echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23373
23374 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23375echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23376 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
23377 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23378echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23379 else
23380 PANGOFT2_CFLAGS=""
23381 PANGOFT2_LIBS=""
23382 ## If we have a custom action on failure, don't print errors, but
23383 ## do set a variable so people can do so.
23384 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23385
23386 fi
23387
23388
23389
23390 else
23391 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23392 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23393 fi
23394 fi
23395
23396 if test $succeeded = yes; then
23397
23398 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
23399 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23400
23401 else
23402
23403 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23404echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23405 wxUSE_PRINTING_ARCHITECTURE="no"
23406
23407
23408 fi
23409
23410
23411 succeeded=no
23412
23413 if test -z "$PKG_CONFIG"; then
23414 # Extract the first word of "pkg-config", so it can be a program name with args.
23415set dummy pkg-config; ac_word=$2
23416echo "$as_me:$LINENO: checking for $ac_word" >&5
23417echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23418if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23419 echo $ECHO_N "(cached) $ECHO_C" >&6
23420else
23421 case $PKG_CONFIG in
23422 [\\/]* | ?:[\\/]*)
23423 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23424 ;;
23425 *)
23426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23427for as_dir in $PATH
23428do
23429 IFS=$as_save_IFS
23430 test -z "$as_dir" && as_dir=.
23431 for ac_exec_ext in '' $ac_executable_extensions; do
23432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23433 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23435 break 2
23436 fi
23437done
23438done
23439
23440 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23441 ;;
23442esac
23443fi
23444PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23445
23446if test -n "$PKG_CONFIG"; then
23447 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23448echo "${ECHO_T}$PKG_CONFIG" >&6
23449else
23450 echo "$as_me:$LINENO: result: no" >&5
23451echo "${ECHO_T}no" >&6
23452fi
23453
23454 fi
23455
23456 if test "$PKG_CONFIG" = "no" ; then
23457 echo "*** The pkg-config script could not be found. Make sure it is"
23458 echo "*** in your path, or set the PKG_CONFIG environment variable"
23459 echo "*** to the full path to pkg-config."
23460 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23461 else
23462 PKG_CONFIG_MIN_VERSION=0.9.0
23463 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23464 echo "$as_me:$LINENO: checking for pangoxft" >&5
23465echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
23466
23467 if $PKG_CONFIG --exists "pangoxft" ; then
23468 echo "$as_me:$LINENO: result: yes" >&5
23469echo "${ECHO_T}yes" >&6
23470 succeeded=yes
23471
23472 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
23473echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
23474 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
23475 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
23476echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
23477
23478 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
23479echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
23480 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
23481 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
23482echo "${ECHO_T}$PANGOXFT_LIBS" >&6
23483 else
23484 PANGOXFT_CFLAGS=""
23485 PANGOXFT_LIBS=""
23486 ## If we have a custom action on failure, don't print errors, but
23487 ## do set a variable so people can do so.
23488 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
23489
23490 fi
23491
23492
23493
23494 else
23495 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23496 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23497 fi
23498 fi
23499
23500 if test $succeeded = yes; then
23501
23502 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
23503 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
23504
23505 else
23506
23507 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
23508echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
23509
23510
23511 fi
23512
23513 fi
23514
23515 wxUSE_UNIVERSAL="yes"
23516
23517 if test "$wxUSE_NANOX" = "yes"; then
23518 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
23519 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"
23520 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
23521 else
23522 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
23523 fi
23524
23525 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
23526 TOOLKIT=X11
23527 GUIDIST=X11_DIST
23528 fi
23529
23530 if test "$wxUSE_MOTIF" = 1; then
23531 if test "$no_x" = yes; then
23532 # Not all programs may use this symbol, but it does not hurt to define it.
23533
23534cat >>confdefs.h <<\_ACEOF
23535#define X_DISPLAY_MISSING 1
23536_ACEOF
23537
23538 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
23539else
23540 if test -n "$x_includes"; then
23541 X_CFLAGS="$X_CFLAGS -I$x_includes"
23542 fi
23543
23544 # It would also be nice to do this for all -L options, not just this one.
23545 if test -n "$x_libraries"; then
23546 X_LIBS="$X_LIBS -L$x_libraries"
23547 # For Solaris; some versions of Sun CC require a space after -R and
23548 # others require no space. Words are not sufficient . . . .
23549 case `(uname -sr) 2>/dev/null` in
23550 "SunOS 5"*)
23551 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23552echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23553 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23554 cat >conftest.$ac_ext <<_ACEOF
23555#line $LINENO "configure"
23556/* confdefs.h. */
23557_ACEOF
23558cat confdefs.h >>conftest.$ac_ext
23559cat >>conftest.$ac_ext <<_ACEOF
23560/* end confdefs.h. */
23561
23562int
23563main ()
23564{
23565
23566 ;
23567 return 0;
23568}
23569_ACEOF
23570rm -f conftest.$ac_objext conftest$ac_exeext
23571if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23572 (eval $ac_link) 2>&5
23573 ac_status=$?
23574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575 (exit $ac_status); } &&
23576 { ac_try='test -s conftest$ac_exeext'
23577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23578 (eval $ac_try) 2>&5
23579 ac_status=$?
23580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); }; }; then
23582 ac_R_nospace=yes
23583else
23584 echo "$as_me: failed program was:" >&5
23585sed 's/^/| /' conftest.$ac_ext >&5
23586
23587ac_R_nospace=no
23588fi
23589rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23590 if test $ac_R_nospace = yes; then
23591 echo "$as_me:$LINENO: result: no" >&5
23592echo "${ECHO_T}no" >&6
23593 X_LIBS="$X_LIBS -R$x_libraries"
23594 else
23595 LIBS="$ac_xsave_LIBS -R $x_libraries"
23596 cat >conftest.$ac_ext <<_ACEOF
23597#line $LINENO "configure"
23598/* confdefs.h. */
23599_ACEOF
23600cat confdefs.h >>conftest.$ac_ext
23601cat >>conftest.$ac_ext <<_ACEOF
23602/* end confdefs.h. */
23603
23604int
23605main ()
23606{
23607
23608 ;
23609 return 0;
23610}
23611_ACEOF
23612rm -f conftest.$ac_objext conftest$ac_exeext
23613if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23614 (eval $ac_link) 2>&5
23615 ac_status=$?
23616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23617 (exit $ac_status); } &&
23618 { ac_try='test -s conftest$ac_exeext'
23619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23620 (eval $ac_try) 2>&5
23621 ac_status=$?
23622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23623 (exit $ac_status); }; }; then
23624 ac_R_space=yes
23625else
23626 echo "$as_me: failed program was:" >&5
23627sed 's/^/| /' conftest.$ac_ext >&5
23628
23629ac_R_space=no
23630fi
23631rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23632 if test $ac_R_space = yes; then
23633 echo "$as_me:$LINENO: result: yes" >&5
23634echo "${ECHO_T}yes" >&6
23635 X_LIBS="$X_LIBS -R $x_libraries"
23636 else
23637 echo "$as_me:$LINENO: result: neither works" >&5
23638echo "${ECHO_T}neither works" >&6
23639 fi
23640 fi
23641 LIBS=$ac_xsave_LIBS
23642 esac
23643 fi
23644
23645 # Check for system-dependent libraries X programs must link with.
23646 # Do this before checking for the system-independent R6 libraries
23647 # (-lICE), since we may need -lsocket or whatever for X linking.
23648
23649 if test "$ISC" = yes; then
23650 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23651 else
23652 # Martyn Johnson says this is needed for Ultrix, if the X
23653 # libraries were built with DECnet support. And Karl Berry says
23654 # the Alpha needs dnet_stub (dnet does not exist).
23655 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23656 cat >conftest.$ac_ext <<_ACEOF
23657#line $LINENO "configure"
23658/* confdefs.h. */
23659_ACEOF
23660cat confdefs.h >>conftest.$ac_ext
23661cat >>conftest.$ac_ext <<_ACEOF
23662/* end confdefs.h. */
23663
23664/* Override any gcc2 internal prototype to avoid an error. */
23665#ifdef __cplusplus
23666extern "C"
23667#endif
23668/* We use char because int might match the return type of a gcc2
23669 builtin and then its argument prototype would still apply. */
23670char XOpenDisplay ();
23671int
23672main ()
23673{
23674XOpenDisplay ();
23675 ;
23676 return 0;
23677}
23678_ACEOF
23679rm -f conftest.$ac_objext conftest$ac_exeext
23680if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23681 (eval $ac_link) 2>&5
23682 ac_status=$?
23683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684 (exit $ac_status); } &&
23685 { ac_try='test -s conftest$ac_exeext'
23686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23687 (eval $ac_try) 2>&5
23688 ac_status=$?
23689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23690 (exit $ac_status); }; }; then
23691 :
23692else
23693 echo "$as_me: failed program was:" >&5
23694sed 's/^/| /' conftest.$ac_ext >&5
23695
23696echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23697echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23698if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23699 echo $ECHO_N "(cached) $ECHO_C" >&6
23700else
23701 ac_check_lib_save_LIBS=$LIBS
23702LIBS="-ldnet $LIBS"
23703cat >conftest.$ac_ext <<_ACEOF
23704#line $LINENO "configure"
23705/* confdefs.h. */
23706_ACEOF
23707cat confdefs.h >>conftest.$ac_ext
23708cat >>conftest.$ac_ext <<_ACEOF
23709/* end confdefs.h. */
23710
23711/* Override any gcc2 internal prototype to avoid an error. */
23712#ifdef __cplusplus
23713extern "C"
23714#endif
23715/* We use char because int might match the return type of a gcc2
23716 builtin and then its argument prototype would still apply. */
23717char dnet_ntoa ();
23718int
23719main ()
23720{
23721dnet_ntoa ();
23722 ;
23723 return 0;
23724}
23725_ACEOF
23726rm -f conftest.$ac_objext conftest$ac_exeext
23727if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23728 (eval $ac_link) 2>&5
23729 ac_status=$?
23730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23731 (exit $ac_status); } &&
23732 { ac_try='test -s conftest$ac_exeext'
23733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23734 (eval $ac_try) 2>&5
23735 ac_status=$?
23736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23737 (exit $ac_status); }; }; then
23738 ac_cv_lib_dnet_dnet_ntoa=yes
23739else
23740 echo "$as_me: failed program was:" >&5
23741sed 's/^/| /' conftest.$ac_ext >&5
23742
23743ac_cv_lib_dnet_dnet_ntoa=no
23744fi
23745rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23746LIBS=$ac_check_lib_save_LIBS
23747fi
23748echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23749echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23750if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23751 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23752fi
23753
23754 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23755 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23756echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23757if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23758 echo $ECHO_N "(cached) $ECHO_C" >&6
23759else
23760 ac_check_lib_save_LIBS=$LIBS
23761LIBS="-ldnet_stub $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 dnet_ntoa ();
23777int
23778main ()
23779{
23780dnet_ntoa ();
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_dnet_stub_dnet_ntoa=yes
23798else
23799 echo "$as_me: failed program was:" >&5
23800sed 's/^/| /' conftest.$ac_ext >&5
23801
23802ac_cv_lib_dnet_stub_dnet_ntoa=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_dnet_stub_dnet_ntoa" >&5
23808echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23809if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23810 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23811fi
23812
23813 fi
23814fi
23815rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23816 LIBS="$ac_xsave_LIBS"
23817
23818 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23819 # to get the SysV transport functions.
23820 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23821 # needs -lnsl.
23822 # The nsl library prevents programs from opening the X display
23823 # on Irix 5.2, according to T.E. Dickey.
23824 # The functions gethostbyname, getservbyname, and inet_addr are
23825 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23826 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23827echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23828if test "${ac_cv_func_gethostbyname+set}" = set; then
23829 echo $ECHO_N "(cached) $ECHO_C" >&6
23830else
23831 cat >conftest.$ac_ext <<_ACEOF
23832#line $LINENO "configure"
23833/* confdefs.h. */
23834_ACEOF
23835cat confdefs.h >>conftest.$ac_ext
23836cat >>conftest.$ac_ext <<_ACEOF
23837/* end confdefs.h. */
23838/* System header to define __stub macros and hopefully few prototypes,
23839 which can conflict with char gethostbyname (); below.
23840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23841 <limits.h> exists even on freestanding compilers. */
23842#ifdef __STDC__
23843# include <limits.h>
23844#else
23845# include <assert.h>
23846#endif
23847/* Override any gcc2 internal prototype to avoid an error. */
23848#ifdef __cplusplus
23849extern "C"
23850{
23851#endif
23852/* We use char because int might match the return type of a gcc2
23853 builtin and then its argument prototype would still apply. */
23854char gethostbyname ();
23855/* The GNU C library defines this for functions which it implements
23856 to always fail with ENOSYS. Some functions are actually named
23857 something starting with __ and the normal name is an alias. */
23858#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23859choke me
23860#else
23861char (*f) () = gethostbyname;
23862#endif
23863#ifdef __cplusplus
23864}
23865#endif
23866
23867int
23868main ()
23869{
23870return f != gethostbyname;
23871 ;
23872 return 0;
23873}
23874_ACEOF
23875rm -f conftest.$ac_objext conftest$ac_exeext
23876if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23877 (eval $ac_link) 2>&5
23878 ac_status=$?
23879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23880 (exit $ac_status); } &&
23881 { ac_try='test -s conftest$ac_exeext'
23882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23883 (eval $ac_try) 2>&5
23884 ac_status=$?
23885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23886 (exit $ac_status); }; }; then
23887 ac_cv_func_gethostbyname=yes
23888else
23889 echo "$as_me: failed program was:" >&5
23890sed 's/^/| /' conftest.$ac_ext >&5
23891
23892ac_cv_func_gethostbyname=no
23893fi
23894rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23895fi
23896echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23897echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23898
23899 if test $ac_cv_func_gethostbyname = no; then
23900 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23901echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23902if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23903 echo $ECHO_N "(cached) $ECHO_C" >&6
23904else
23905 ac_check_lib_save_LIBS=$LIBS
23906LIBS="-lnsl $LIBS"
23907cat >conftest.$ac_ext <<_ACEOF
23908#line $LINENO "configure"
23909/* confdefs.h. */
23910_ACEOF
23911cat confdefs.h >>conftest.$ac_ext
23912cat >>conftest.$ac_ext <<_ACEOF
23913/* end confdefs.h. */
23914
23915/* Override any gcc2 internal prototype to avoid an error. */
23916#ifdef __cplusplus
23917extern "C"
23918#endif
23919/* We use char because int might match the return type of a gcc2
23920 builtin and then its argument prototype would still apply. */
23921char gethostbyname ();
23922int
23923main ()
23924{
23925gethostbyname ();
23926 ;
23927 return 0;
23928}
23929_ACEOF
23930rm -f conftest.$ac_objext conftest$ac_exeext
23931if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23932 (eval $ac_link) 2>&5
23933 ac_status=$?
23934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23935 (exit $ac_status); } &&
23936 { ac_try='test -s conftest$ac_exeext'
23937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23938 (eval $ac_try) 2>&5
23939 ac_status=$?
23940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23941 (exit $ac_status); }; }; then
23942 ac_cv_lib_nsl_gethostbyname=yes
23943else
23944 echo "$as_me: failed program was:" >&5
23945sed 's/^/| /' conftest.$ac_ext >&5
23946
23947ac_cv_lib_nsl_gethostbyname=no
23948fi
23949rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23950LIBS=$ac_check_lib_save_LIBS
23951fi
23952echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23953echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23954if test $ac_cv_lib_nsl_gethostbyname = yes; then
23955 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23956fi
23957
23958 if test $ac_cv_lib_nsl_gethostbyname = no; then
23959 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23960echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23961if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23962 echo $ECHO_N "(cached) $ECHO_C" >&6
23963else
23964 ac_check_lib_save_LIBS=$LIBS
23965LIBS="-lbsd $LIBS"
23966cat >conftest.$ac_ext <<_ACEOF
23967#line $LINENO "configure"
23968/* confdefs.h. */
23969_ACEOF
23970cat confdefs.h >>conftest.$ac_ext
23971cat >>conftest.$ac_ext <<_ACEOF
23972/* end confdefs.h. */
23973
23974/* Override any gcc2 internal prototype to avoid an error. */
23975#ifdef __cplusplus
23976extern "C"
23977#endif
23978/* We use char because int might match the return type of a gcc2
23979 builtin and then its argument prototype would still apply. */
23980char gethostbyname ();
23981int
23982main ()
23983{
23984gethostbyname ();
23985 ;
23986 return 0;
23987}
23988_ACEOF
23989rm -f conftest.$ac_objext conftest$ac_exeext
23990if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23991 (eval $ac_link) 2>&5
23992 ac_status=$?
23993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23994 (exit $ac_status); } &&
23995 { ac_try='test -s conftest$ac_exeext'
23996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23997 (eval $ac_try) 2>&5
23998 ac_status=$?
23999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24000 (exit $ac_status); }; }; then
24001 ac_cv_lib_bsd_gethostbyname=yes
24002else
24003 echo "$as_me: failed program was:" >&5
24004sed 's/^/| /' conftest.$ac_ext >&5
24005
24006ac_cv_lib_bsd_gethostbyname=no
24007fi
24008rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24009LIBS=$ac_check_lib_save_LIBS
24010fi
24011echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24012echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24013if test $ac_cv_lib_bsd_gethostbyname = yes; then
24014 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24015fi
24016
24017 fi
24018 fi
24019
24020 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24021 # socket/setsockopt and other routines are undefined under SCO ODT
24022 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24023 # on later versions), says Simon Leinen: it contains gethostby*
24024 # variants that don't use the name server (or something). -lsocket
24025 # must be given before -lnsl if both are needed. We assume that
24026 # if connect needs -lnsl, so does gethostbyname.
24027 echo "$as_me:$LINENO: checking for connect" >&5
24028echo $ECHO_N "checking for connect... $ECHO_C" >&6
24029if test "${ac_cv_func_connect+set}" = set; then
24030 echo $ECHO_N "(cached) $ECHO_C" >&6
24031else
24032 cat >conftest.$ac_ext <<_ACEOF
24033#line $LINENO "configure"
24034/* confdefs.h. */
24035_ACEOF
24036cat confdefs.h >>conftest.$ac_ext
24037cat >>conftest.$ac_ext <<_ACEOF
24038/* end confdefs.h. */
24039/* System header to define __stub macros and hopefully few prototypes,
24040 which can conflict with char connect (); below.
24041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24042 <limits.h> exists even on freestanding compilers. */
24043#ifdef __STDC__
24044# include <limits.h>
24045#else
24046# include <assert.h>
24047#endif
24048/* Override any gcc2 internal prototype to avoid an error. */
24049#ifdef __cplusplus
24050extern "C"
24051{
24052#endif
24053/* We use char because int might match the return type of a gcc2
24054 builtin and then its argument prototype would still apply. */
24055char connect ();
24056/* The GNU C library defines this for functions which it implements
24057 to always fail with ENOSYS. Some functions are actually named
24058 something starting with __ and the normal name is an alias. */
24059#if defined (__stub_connect) || defined (__stub___connect)
24060choke me
24061#else
24062char (*f) () = connect;
24063#endif
24064#ifdef __cplusplus
24065}
24066#endif
24067
24068int
24069main ()
24070{
24071return f != connect;
24072 ;
24073 return 0;
24074}
24075_ACEOF
24076rm -f conftest.$ac_objext conftest$ac_exeext
24077if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24078 (eval $ac_link) 2>&5
24079 ac_status=$?
24080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24081 (exit $ac_status); } &&
24082 { ac_try='test -s conftest$ac_exeext'
24083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24084 (eval $ac_try) 2>&5
24085 ac_status=$?
24086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24087 (exit $ac_status); }; }; then
24088 ac_cv_func_connect=yes
24089else
24090 echo "$as_me: failed program was:" >&5
24091sed 's/^/| /' conftest.$ac_ext >&5
24092
24093ac_cv_func_connect=no
24094fi
24095rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24096fi
24097echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24098echo "${ECHO_T}$ac_cv_func_connect" >&6
24099
24100 if test $ac_cv_func_connect = no; then
24101 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24102echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24103if test "${ac_cv_lib_socket_connect+set}" = set; then
24104 echo $ECHO_N "(cached) $ECHO_C" >&6
24105else
24106 ac_check_lib_save_LIBS=$LIBS
24107LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24108cat >conftest.$ac_ext <<_ACEOF
24109#line $LINENO "configure"
24110/* confdefs.h. */
24111_ACEOF
24112cat confdefs.h >>conftest.$ac_ext
24113cat >>conftest.$ac_ext <<_ACEOF
24114/* end confdefs.h. */
24115
24116/* Override any gcc2 internal prototype to avoid an error. */
24117#ifdef __cplusplus
24118extern "C"
24119#endif
24120/* We use char because int might match the return type of a gcc2
24121 builtin and then its argument prototype would still apply. */
24122char connect ();
24123int
24124main ()
24125{
24126connect ();
24127 ;
24128 return 0;
24129}
24130_ACEOF
24131rm -f conftest.$ac_objext conftest$ac_exeext
24132if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24133 (eval $ac_link) 2>&5
24134 ac_status=$?
24135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24136 (exit $ac_status); } &&
24137 { ac_try='test -s conftest$ac_exeext'
24138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24139 (eval $ac_try) 2>&5
24140 ac_status=$?
24141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24142 (exit $ac_status); }; }; then
24143 ac_cv_lib_socket_connect=yes
24144else
24145 echo "$as_me: failed program was:" >&5
24146sed 's/^/| /' conftest.$ac_ext >&5
24147
24148ac_cv_lib_socket_connect=no
24149fi
24150rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24151LIBS=$ac_check_lib_save_LIBS
24152fi
24153echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24154echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24155if test $ac_cv_lib_socket_connect = yes; then
24156 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24157fi
24158
24159 fi
24160
24161 # Guillermo Gomez says -lposix is necessary on A/UX.
24162 echo "$as_me:$LINENO: checking for remove" >&5
24163echo $ECHO_N "checking for remove... $ECHO_C" >&6
24164if test "${ac_cv_func_remove+set}" = set; then
24165 echo $ECHO_N "(cached) $ECHO_C" >&6
24166else
24167 cat >conftest.$ac_ext <<_ACEOF
24168#line $LINENO "configure"
24169/* confdefs.h. */
24170_ACEOF
24171cat confdefs.h >>conftest.$ac_ext
24172cat >>conftest.$ac_ext <<_ACEOF
24173/* end confdefs.h. */
24174/* System header to define __stub macros and hopefully few prototypes,
24175 which can conflict with char remove (); below.
24176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24177 <limits.h> exists even on freestanding compilers. */
24178#ifdef __STDC__
24179# include <limits.h>
24180#else
24181# include <assert.h>
24182#endif
24183/* Override any gcc2 internal prototype to avoid an error. */
24184#ifdef __cplusplus
24185extern "C"
24186{
24187#endif
24188/* We use char because int might match the return type of a gcc2
24189 builtin and then its argument prototype would still apply. */
24190char remove ();
24191/* The GNU C library defines this for functions which it implements
24192 to always fail with ENOSYS. Some functions are actually named
24193 something starting with __ and the normal name is an alias. */
24194#if defined (__stub_remove) || defined (__stub___remove)
24195choke me
24196#else
24197char (*f) () = remove;
24198#endif
24199#ifdef __cplusplus
24200}
24201#endif
24202
24203int
24204main ()
24205{
24206return f != remove;
24207 ;
24208 return 0;
24209}
24210_ACEOF
24211rm -f conftest.$ac_objext conftest$ac_exeext
24212if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24213 (eval $ac_link) 2>&5
24214 ac_status=$?
24215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24216 (exit $ac_status); } &&
24217 { ac_try='test -s conftest$ac_exeext'
24218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24219 (eval $ac_try) 2>&5
24220 ac_status=$?
24221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24222 (exit $ac_status); }; }; then
24223 ac_cv_func_remove=yes
24224else
24225 echo "$as_me: failed program was:" >&5
24226sed 's/^/| /' conftest.$ac_ext >&5
24227
24228ac_cv_func_remove=no
24229fi
24230rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24231fi
24232echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24233echo "${ECHO_T}$ac_cv_func_remove" >&6
24234
24235 if test $ac_cv_func_remove = no; then
24236 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24237echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24238if test "${ac_cv_lib_posix_remove+set}" = set; then
24239 echo $ECHO_N "(cached) $ECHO_C" >&6
24240else
24241 ac_check_lib_save_LIBS=$LIBS
24242LIBS="-lposix $LIBS"
24243cat >conftest.$ac_ext <<_ACEOF
24244#line $LINENO "configure"
24245/* confdefs.h. */
24246_ACEOF
24247cat confdefs.h >>conftest.$ac_ext
24248cat >>conftest.$ac_ext <<_ACEOF
24249/* end confdefs.h. */
24250
24251/* Override any gcc2 internal prototype to avoid an error. */
24252#ifdef __cplusplus
24253extern "C"
24254#endif
24255/* We use char because int might match the return type of a gcc2
24256 builtin and then its argument prototype would still apply. */
24257char remove ();
24258int
24259main ()
24260{
24261remove ();
24262 ;
24263 return 0;
24264}
24265_ACEOF
24266rm -f conftest.$ac_objext conftest$ac_exeext
24267if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24268 (eval $ac_link) 2>&5
24269 ac_status=$?
24270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24271 (exit $ac_status); } &&
24272 { ac_try='test -s conftest$ac_exeext'
24273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24274 (eval $ac_try) 2>&5
24275 ac_status=$?
24276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24277 (exit $ac_status); }; }; then
24278 ac_cv_lib_posix_remove=yes
24279else
24280 echo "$as_me: failed program was:" >&5
24281sed 's/^/| /' conftest.$ac_ext >&5
24282
24283ac_cv_lib_posix_remove=no
24284fi
24285rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24286LIBS=$ac_check_lib_save_LIBS
24287fi
24288echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24289echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24290if test $ac_cv_lib_posix_remove = yes; then
24291 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24292fi
24293
24294 fi
24295
24296 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24297 echo "$as_me:$LINENO: checking for shmat" >&5
24298echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24299if test "${ac_cv_func_shmat+set}" = set; then
24300 echo $ECHO_N "(cached) $ECHO_C" >&6
24301else
24302 cat >conftest.$ac_ext <<_ACEOF
24303#line $LINENO "configure"
24304/* confdefs.h. */
24305_ACEOF
24306cat confdefs.h >>conftest.$ac_ext
24307cat >>conftest.$ac_ext <<_ACEOF
24308/* end confdefs.h. */
24309/* System header to define __stub macros and hopefully few prototypes,
24310 which can conflict with char shmat (); below.
24311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24312 <limits.h> exists even on freestanding compilers. */
24313#ifdef __STDC__
24314# include <limits.h>
24315#else
24316# include <assert.h>
24317#endif
24318/* Override any gcc2 internal prototype to avoid an error. */
24319#ifdef __cplusplus
24320extern "C"
24321{
24322#endif
24323/* We use char because int might match the return type of a gcc2
24324 builtin and then its argument prototype would still apply. */
24325char shmat ();
24326/* The GNU C library defines this for functions which it implements
24327 to always fail with ENOSYS. Some functions are actually named
24328 something starting with __ and the normal name is an alias. */
24329#if defined (__stub_shmat) || defined (__stub___shmat)
24330choke me
24331#else
24332char (*f) () = shmat;
24333#endif
24334#ifdef __cplusplus
24335}
24336#endif
24337
24338int
24339main ()
24340{
24341return f != shmat;
24342 ;
24343 return 0;
24344}
24345_ACEOF
24346rm -f conftest.$ac_objext conftest$ac_exeext
24347if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24348 (eval $ac_link) 2>&5
24349 ac_status=$?
24350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24351 (exit $ac_status); } &&
24352 { ac_try='test -s conftest$ac_exeext'
24353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24354 (eval $ac_try) 2>&5
24355 ac_status=$?
24356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24357 (exit $ac_status); }; }; then
24358 ac_cv_func_shmat=yes
24359else
24360 echo "$as_me: failed program was:" >&5
24361sed 's/^/| /' conftest.$ac_ext >&5
24362
24363ac_cv_func_shmat=no
24364fi
24365rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24366fi
24367echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24368echo "${ECHO_T}$ac_cv_func_shmat" >&6
24369
24370 if test $ac_cv_func_shmat = no; then
24371 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24372echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
24373if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24374 echo $ECHO_N "(cached) $ECHO_C" >&6
24375else
24376 ac_check_lib_save_LIBS=$LIBS
24377LIBS="-lipc $LIBS"
24378cat >conftest.$ac_ext <<_ACEOF
24379#line $LINENO "configure"
24380/* confdefs.h. */
24381_ACEOF
24382cat confdefs.h >>conftest.$ac_ext
24383cat >>conftest.$ac_ext <<_ACEOF
24384/* end confdefs.h. */
24385
24386/* Override any gcc2 internal prototype to avoid an error. */
24387#ifdef __cplusplus
24388extern "C"
24389#endif
24390/* We use char because int might match the return type of a gcc2
24391 builtin and then its argument prototype would still apply. */
24392char shmat ();
24393int
24394main ()
24395{
24396shmat ();
24397 ;
24398 return 0;
24399}
24400_ACEOF
24401rm -f conftest.$ac_objext conftest$ac_exeext
24402if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24403 (eval $ac_link) 2>&5
24404 ac_status=$?
24405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24406 (exit $ac_status); } &&
24407 { ac_try='test -s conftest$ac_exeext'
24408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24409 (eval $ac_try) 2>&5
24410 ac_status=$?
24411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24412 (exit $ac_status); }; }; then
24413 ac_cv_lib_ipc_shmat=yes
24414else
24415 echo "$as_me: failed program was:" >&5
24416sed 's/^/| /' conftest.$ac_ext >&5
24417
24418ac_cv_lib_ipc_shmat=no
24419fi
24420rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24421LIBS=$ac_check_lib_save_LIBS
24422fi
24423echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24424echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24425if test $ac_cv_lib_ipc_shmat = yes; then
24426 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
24427fi
24428
24429 fi
24430 fi
24431
24432 # Check for libraries that X11R6 Xt/Xaw programs need.
24433 ac_save_LDFLAGS=$LDFLAGS
24434 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
24435 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24436 # check for ICE first), but we must link in the order -lSM -lICE or
24437 # we get undefined symbols. So assume we have SM if we have ICE.
24438 # These have to be linked with before -lX11, unlike the other
24439 # libraries we check for below, so use a different variable.
24440 # John Interrante, Karl Berry
24441 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24442echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24443if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24444 echo $ECHO_N "(cached) $ECHO_C" >&6
24445else
24446 ac_check_lib_save_LIBS=$LIBS
24447LIBS="-lICE $X_EXTRA_LIBS $LIBS"
24448cat >conftest.$ac_ext <<_ACEOF
24449#line $LINENO "configure"
24450/* confdefs.h. */
24451_ACEOF
24452cat confdefs.h >>conftest.$ac_ext
24453cat >>conftest.$ac_ext <<_ACEOF
24454/* end confdefs.h. */
24455
24456/* Override any gcc2 internal prototype to avoid an error. */
24457#ifdef __cplusplus
24458extern "C"
24459#endif
24460/* We use char because int might match the return type of a gcc2
24461 builtin and then its argument prototype would still apply. */
24462char IceConnectionNumber ();
24463int
24464main ()
24465{
24466IceConnectionNumber ();
24467 ;
24468 return 0;
24469}
24470_ACEOF
24471rm -f conftest.$ac_objext conftest$ac_exeext
24472if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24473 (eval $ac_link) 2>&5
24474 ac_status=$?
24475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24476 (exit $ac_status); } &&
24477 { ac_try='test -s conftest$ac_exeext'
24478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24479 (eval $ac_try) 2>&5
24480 ac_status=$?
24481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24482 (exit $ac_status); }; }; then
24483 ac_cv_lib_ICE_IceConnectionNumber=yes
24484else
24485 echo "$as_me: failed program was:" >&5
24486sed 's/^/| /' conftest.$ac_ext >&5
24487
24488ac_cv_lib_ICE_IceConnectionNumber=no
24489fi
24490rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24491LIBS=$ac_check_lib_save_LIBS
24492fi
24493echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24494echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24495if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24496 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
24497fi
24498
24499 LDFLAGS=$ac_save_LDFLAGS
24500
24501fi
24502
24503
24504 if test "$no_x" = "yes"; then
24505 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24506echo "$as_me: error: X11 not found" >&2;}
24507 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
24508 fi
24509
24510 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
24511 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
24512 AFMINSTALL=afminstall
24513 COMPILED_X_PROGRAM=0
24514
24515 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
24516echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
24517
24518ac_find_includes=
24519for ac_dir in $SEARCH_INCLUDE /usr/include;
24520 do
24521 if test -f "$ac_dir/Xm/Xm.h"; then
24522 ac_find_includes=$ac_dir
24523 break
24524 fi
24525 done
24526
24527 if test "$ac_find_includes" != "" ; then
24528 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24529echo "${ECHO_T}found in $ac_find_includes" >&6
24530
24531 if test "x$ac_find_includes" = "x/usr/include"; then
24532 ac_path_to_include=""
24533 else
24534 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
24535 result=$?
24536 if test $result = 0; then
24537 ac_path_to_include=""
24538 else
24539 ac_path_to_include=" -I$ac_find_includes"
24540 fi
24541 fi
24542
24543 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
24544 else
24545 cat >conftest.$ac_ext <<_ACEOF
24546#line $LINENO "configure"
24547/* confdefs.h. */
24548_ACEOF
24549cat confdefs.h >>conftest.$ac_ext
24550cat >>conftest.$ac_ext <<_ACEOF
24551/* end confdefs.h. */
24552
24553 #include <Xm/Xm.h>
24554
24555int
24556main ()
24557{
24558
24559 int version;
24560 version = xmUseVersion;
24561
24562 ;
24563 return 0;
24564}
24565_ACEOF
24566rm -f conftest.$ac_objext
24567if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24568 (eval $ac_compile) 2>&5
24569 ac_status=$?
24570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24571 (exit $ac_status); } &&
24572 { ac_try='test -s conftest.$ac_objext'
24573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24574 (eval $ac_try) 2>&5
24575 ac_status=$?
24576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24577 (exit $ac_status); }; }; then
24578
24579 echo "$as_me:$LINENO: result: found in default search path" >&5
24580echo "${ECHO_T}found in default search path" >&6
24581 COMPILED_X_PROGRAM=1
24582
24583else
24584 echo "$as_me: failed program was:" >&5
24585sed 's/^/| /' conftest.$ac_ext >&5
24586
24587
24588 echo "$as_me:$LINENO: result: no" >&5
24589echo "${ECHO_T}no" >&6
24590 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24591echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24592 { (exit 1); exit 1; }; }
24593
24594
24595fi
24596rm -f conftest.$ac_objext conftest.$ac_ext
24597 fi
24598
24599 if test "$COMPILED_X_PROGRAM" = 0; then
24600 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24601echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24602
24603ac_find_libraries=
24604for ac_dir in $SEARCH_LIB /usr/lib;
24605 do
24606 for ac_extension in a so sl dylib; do
24607 if test -f "$ac_dir/libXm.$ac_extension"; then
24608 ac_find_libraries=$ac_dir
24609 break 2
24610 fi
24611 done
24612 done
24613
24614 if test "$ac_find_libraries" != "" ; then
24615 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24616echo "${ECHO_T}found at $ac_find_libraries" >&6
24617
24618
24619 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24620 result=$?
24621 if test $result = 0; then
24622 ac_path_to_link=""
24623 else
24624 ac_path_to_link=" -L$ac_find_libraries"
24625 fi
24626
24627 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24628 else
24629 save_CFLAGS=$CFLAGS
24630 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24631
24632 cat >conftest.$ac_ext <<_ACEOF
24633#line $LINENO "configure"
24634/* confdefs.h. */
24635_ACEOF
24636cat confdefs.h >>conftest.$ac_ext
24637cat >>conftest.$ac_ext <<_ACEOF
24638/* end confdefs.h. */
24639
24640 #include <Xm/Xm.h>
24641
24642int
24643main ()
24644{
24645
24646 int version;
24647 version = xmUseVersion;
24648
24649 ;
24650 return 0;
24651}
24652_ACEOF
24653rm -f conftest.$ac_objext
24654if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24655 (eval $ac_compile) 2>&5
24656 ac_status=$?
24657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658 (exit $ac_status); } &&
24659 { ac_try='test -s conftest.$ac_objext'
24660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24661 (eval $ac_try) 2>&5
24662 ac_status=$?
24663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24664 (exit $ac_status); }; }; then
24665
24666 echo "$as_me:$LINENO: result: found in default search path" >&5
24667echo "${ECHO_T}found in default search path" >&6
24668 COMPILED_X_PROGRAM=1
24669
24670else
24671 echo "$as_me: failed program was:" >&5
24672sed 's/^/| /' conftest.$ac_ext >&5
24673
24674
24675 echo "$as_me:$LINENO: result: no" >&5
24676echo "${ECHO_T}no" >&6
24677 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24678echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24679 { (exit 1); exit 1; }; }
24680
24681
24682fi
24683rm -f conftest.$ac_objext conftest.$ac_ext
24684
24685 CFLAGS=$save_CFLAGS
24686 fi
24687 fi
24688
24689 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24690echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24691 libp_link=""
24692 libsm_ice_link=""
24693 libs_found=0
24694 for libp in "" " -lXp"; do
24695 if test "$libs_found" = "0"; then
24696 for libsm_ice in "" " -lSM -lICE"; do
24697 if test "$libs_found" = "0"; then
24698 save_LIBS="$LIBS"
24699 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24700 save_CFLAGS=$CFLAGS
24701 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24702
24703 cat >conftest.$ac_ext <<_ACEOF
24704#line $LINENO "configure"
24705/* confdefs.h. */
24706_ACEOF
24707cat confdefs.h >>conftest.$ac_ext
24708cat >>conftest.$ac_ext <<_ACEOF
24709/* end confdefs.h. */
24710
24711 #include <Xm/Xm.h>
24712 #include <Xm/List.h>
24713
24714int
24715main ()
24716{
24717
24718 XmString string = NULL;
24719 Widget w = NULL;
24720 int position = 0;
24721 XmListAddItem(w, string, position);
24722
24723 ;
24724 return 0;
24725}
24726_ACEOF
24727rm -f conftest.$ac_objext conftest$ac_exeext
24728if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24729 (eval $ac_link) 2>&5
24730 ac_status=$?
24731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24732 (exit $ac_status); } &&
24733 { ac_try='test -s conftest$ac_exeext'
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
24740 libp_link="$libp"
24741 libsm_ice_link="$libsm_ice"
24742 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24743echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24744 libs_found=1
24745
24746else
24747 echo "$as_me: failed program was:" >&5
24748sed 's/^/| /' conftest.$ac_ext >&5
24749
24750
24751
24752fi
24753rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24754
24755 LIBS="$save_LIBS"
24756 CFLAGS=$save_CFLAGS
24757 fi
24758 done
24759 fi
24760 done
24761
24762 if test "$libs_found" = "0"; then
24763 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24764echo "${ECHO_T}can't find the right libraries" >&6
24765 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24766echo "$as_me: error: can't link a simple motif program" >&2;}
24767 { (exit 1); exit 1; }; }
24768 fi
24769
24770 save_CFLAGS=$CFLAGS
24771 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24772 echo "$as_me:$LINENO: checking for Motif 2" >&5
24773echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24774 cat >conftest.$ac_ext <<_ACEOF
24775#line $LINENO "configure"
24776/* confdefs.h. */
24777_ACEOF
24778cat confdefs.h >>conftest.$ac_ext
24779cat >>conftest.$ac_ext <<_ACEOF
24780/* end confdefs.h. */
24781
24782 #include <Xm/Xm.h>
24783
24784int
24785main ()
24786{
24787
24788 #if XmVersion < 2000
24789 #error "Not Motif 2"
24790 #endif
24791
24792 ;
24793 return 0;
24794}
24795_ACEOF
24796rm -f conftest.$ac_objext
24797if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24798 (eval $ac_compile) 2>&5
24799 ac_status=$?
24800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24801 (exit $ac_status); } &&
24802 { ac_try='test -s conftest.$ac_objext'
24803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24804 (eval $ac_try) 2>&5
24805 ac_status=$?
24806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24807 (exit $ac_status); }; }; then
24808
24809 cat >>confdefs.h <<\_ACEOF
24810#define __WXMOTIF20__ 1
24811_ACEOF
24812
24813 echo "$as_me:$LINENO: result: found" >&5
24814echo "${ECHO_T}found" >&6
24815
24816else
24817 echo "$as_me: failed program was:" >&5
24818sed 's/^/| /' conftest.$ac_ext >&5
24819
24820
24821 cat >>confdefs.h <<\_ACEOF
24822#define __WXMOTIF20__ 0
24823_ACEOF
24824
24825 echo "$as_me:$LINENO: result: not found" >&5
24826echo "${ECHO_T}not found" >&6
24827
24828fi
24829rm -f conftest.$ac_objext conftest.$ac_ext
24830 CFLAGS=$save_CFLAGS
24831
24832 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24833 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24834 TOOLKIT=MOTIF
24835 GUIDIST=MOTIF_DIST
24836 fi
24837
24838 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24839 if test "$wxUSE_LIBXPM" = "sys"; then
24840 echo "$as_me:$LINENO: checking for Xpm library" >&5
24841echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24842
24843ac_find_libraries=
24844for ac_dir in $SEARCH_LIB /usr/lib;
24845 do
24846 for ac_extension in a so sl dylib; do
24847 if test -f "$ac_dir/libXpm.$ac_extension"; then
24848 ac_find_libraries=$ac_dir
24849 break 2
24850 fi
24851 done
24852 done
24853
24854 if test "$ac_find_libraries" != "" ; then
24855
24856 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24857 result=$?
24858 if test $result = 0; then
24859 ac_path_to_link=""
24860 else
24861 ac_path_to_link=" -L$ac_find_libraries"
24862 fi
24863
24864 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24865 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24866echo "${ECHO_T}found at $ac_find_libraries" >&6
24867
24868 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
24869echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
24870if test "${wx_cv_x11_xpm_h+set}" = set; then
24871 echo $ECHO_N "(cached) $ECHO_C" >&6
24872else
24873
24874 save_CFLAGS=$CFLAGS
24875 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24876
24877 cat >conftest.$ac_ext <<_ACEOF
24878#line $LINENO "configure"
24879/* confdefs.h. */
24880_ACEOF
24881cat confdefs.h >>conftest.$ac_ext
24882cat >>conftest.$ac_ext <<_ACEOF
24883/* end confdefs.h. */
24884
24885 #include <X11/xpm.h>
24886
24887int
24888main ()
24889{
24890
24891 int version;
24892 version = XpmLibraryVersion();
24893
24894 ;
24895 return 0;
24896}
24897_ACEOF
24898rm -f conftest.$ac_objext
24899if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24900 (eval $ac_compile) 2>&5
24901 ac_status=$?
24902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24903 (exit $ac_status); } &&
24904 { ac_try='test -s conftest.$ac_objext'
24905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24906 (eval $ac_try) 2>&5
24907 ac_status=$?
24908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909 (exit $ac_status); }; }; then
24910 wx_cv_x11_xpm_h=yes
24911else
24912 echo "$as_me: failed program was:" >&5
24913sed 's/^/| /' conftest.$ac_ext >&5
24914
24915wx_cv_x11_xpm_h=no
24916
24917fi
24918rm -f conftest.$ac_objext conftest.$ac_ext
24919
24920 CFLAGS=$save_CFLAGS
24921
24922
24923fi
24924echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
24925echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
24926
24927 if test $wx_cv_x11_xpm_h = "yes"; then
24928 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
24929 cat >>confdefs.h <<\_ACEOF
24930#define wxHAVE_LIB_XPM 1
24931_ACEOF
24932
24933 else
24934 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
24935echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
24936 fi
24937 fi
24938
24939 fi
24940
24941 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
24942echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
24943if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
24944 echo $ECHO_N "(cached) $ECHO_C" >&6
24945else
24946 ac_check_lib_save_LIBS=$LIBS
24947LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
24948cat >conftest.$ac_ext <<_ACEOF
24949#line $LINENO "configure"
24950/* confdefs.h. */
24951_ACEOF
24952cat confdefs.h >>conftest.$ac_ext
24953cat >>conftest.$ac_ext <<_ACEOF
24954/* end confdefs.h. */
24955
24956/* Override any gcc2 internal prototype to avoid an error. */
24957#ifdef __cplusplus
24958extern "C"
24959#endif
24960/* We use char because int might match the return type of a gcc2
24961 builtin and then its argument prototype would still apply. */
24962char XShapeQueryExtension ();
24963int
24964main ()
24965{
24966XShapeQueryExtension ();
24967 ;
24968 return 0;
24969}
24970_ACEOF
24971rm -f conftest.$ac_objext conftest$ac_exeext
24972if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24973 (eval $ac_link) 2>&5
24974 ac_status=$?
24975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24976 (exit $ac_status); } &&
24977 { ac_try='test -s conftest$ac_exeext'
24978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24979 (eval $ac_try) 2>&5
24980 ac_status=$?
24981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24982 (exit $ac_status); }; }; then
24983 ac_cv_lib_Xext_XShapeQueryExtension=yes
24984else
24985 echo "$as_me: failed program was:" >&5
24986sed 's/^/| /' conftest.$ac_ext >&5
24987
24988ac_cv_lib_Xext_XShapeQueryExtension=no
24989fi
24990rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24991LIBS=$ac_check_lib_save_LIBS
24992fi
24993echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
24994echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
24995if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
24996
24997 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
24998 wxHAVE_XEXT_LIB=1
24999
25000fi
25001
25002
25003 if test "$wxHAVE_XEXT_LIB" = 1; then
25004 save_CFLAGS="$CFLAGS"
25005 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25006
25007 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
25008echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
25009 cat >conftest.$ac_ext <<_ACEOF
25010#line $LINENO "configure"
25011/* confdefs.h. */
25012_ACEOF
25013cat confdefs.h >>conftest.$ac_ext
25014cat >>conftest.$ac_ext <<_ACEOF
25015/* end confdefs.h. */
25016
25017 #include <X11/Xlib.h>
25018 #include <X11/extensions/shape.h>
25019
25020int
25021main ()
25022{
25023
25024 int dummy1, dummy2;
25025 XShapeQueryExtension((Display*)NULL,
25026 (int*)NULL, (int*)NULL);
25027
25028 ;
25029 return 0;
25030}
25031_ACEOF
25032rm -f conftest.$ac_objext
25033if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25034 (eval $ac_compile) 2>&5
25035 ac_status=$?
25036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25037 (exit $ac_status); } &&
25038 { ac_try='test -s conftest.$ac_objext'
25039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25040 (eval $ac_try) 2>&5
25041 ac_status=$?
25042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25043 (exit $ac_status); }; }; then
25044
25045 cat >>confdefs.h <<\_ACEOF
25046#define HAVE_XSHAPE 1
25047_ACEOF
25048
25049 echo "$as_me:$LINENO: result: found" >&5
25050echo "${ECHO_T}found" >&6
25051
25052else
25053 echo "$as_me: failed program was:" >&5
25054sed 's/^/| /' conftest.$ac_ext >&5
25055
25056
25057 echo "$as_me:$LINENO: result: not found" >&5
25058echo "${ECHO_T}not found" >&6
25059
25060fi
25061rm -f conftest.$ac_objext conftest.$ac_ext
25062 CFLAGS="$save_CFLAGS"
25063
25064 fi
25065 fi
25066
25067 if test "$wxUSE_MAC" = 1; then
25068 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
25069echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
25070 if test "$GCC" = yes; then
25071 echo "$as_me:$LINENO: result: gcc" >&5
25072echo "${ECHO_T}gcc" >&6
25073 CPPFLAGS_PASCAL="-fpascal-strings"
25074 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
25075 echo "$as_me:$LINENO: result: xlc" >&5
25076echo "${ECHO_T}xlc" >&6
25077 CPPFLAGS_PASCAL="-qmacpstr"
25078 else
25079 echo "$as_me:$LINENO: result: none" >&5
25080echo "${ECHO_T}none" >&6
25081 fi
25082
25083 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
25084
25085 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
25086 TOOLKIT=MAC
25087 GUIDIST=MACX_DIST
25088 WXBASEPORT="_carbon"
25089 fi
25090
25091 if test "$wxUSE_COCOA" = 1; then
25092 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
25093 TOOLKIT=COCOA
25094 GUIDIST=COCOA_DIST
25095 fi
25096
25097 if test "$wxUSE_PM" = 1; then
25098 TOOLKIT=PM
25099 GUIDIST=GTK_DIST
25100 fi
25101
25102 if test "$TOOLKIT" = "PM" ; then
25103 TOOLKIT_DIR="os2"
25104 else
25105 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
25106 fi
25107
25108 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
25109
25110 if test "$wxUSE_UNIVERSAL" = "yes"; then
25111 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
25112
25113 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
25114 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
25115
25116 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
25117 if test "$wxUSE_X11" = 1; then
25118 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
25119 else
25120 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
25121 fi
25122 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
25123 WIDGET_SET=univ
25124 else
25125 ALL_OBJECTS="\$(GUIOBJS)"
25126 ALL_SOURCES="\$(ALL_SOURCES)"
25127 ALL_HEADERS="\$(ALL_HEADERS)"
25128 fi
25129
25130 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
25131
25132 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
25133 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
25134 fi
25135
25136 if test "$wxUSE_HTML" = "yes"; then
25137 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
25138 fi
25139
25140 if test "$wxUSE_LIBJPEG" = "builtin" ; then
25141 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
25142 fi
25143 if test "$wxUSE_LIBTIFF" = "builtin" ; then
25144 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
25145 fi
25146 if test "$wxUSE_LIBPNG" = "builtin" ; then
25147 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
25148 fi
25149
25150 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
25151 DISTDIR="wx\$(TOOLKIT)"
25152else
25153 USE_GUI=0
25154
25155 TOOLKIT_DIR="base"
25156
25157 if test "$USE_WIN32" = 1 ; then
25158 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
25159 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
25160
25161 TOOLKIT="MSW"
25162 else
25163 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
25164 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
25165 fi
25166
25167 ALL_SOURCES="\$(ALL_SOURCES)"
25168 ALL_HEADERS="\$(ALL_HEADERS)"
25169
25170 PORT_FILES="\${top_srcdir}/src/files.lst"
25171
25172 GUIDIST="BASE_DIST"
25173 DISTDIR="wxBase"
25174fi
25175
25176
25177
25178
25179IODBC_C_SRC=""
25180
25181
25182if test "$TOOLKIT" != "MSW" ; then
25183
25184 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
25185
25186 if test "${ac_cv_header_sql_h+set}" = set; then
25187 echo "$as_me:$LINENO: checking for sql.h" >&5
25188echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
25189if test "${ac_cv_header_sql_h+set}" = set; then
25190 echo $ECHO_N "(cached) $ECHO_C" >&6
25191fi
25192echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
25193echo "${ECHO_T}$ac_cv_header_sql_h" >&6
25194else
25195 # Is the header compilable?
25196echo "$as_me:$LINENO: checking sql.h usability" >&5
25197echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
25198cat >conftest.$ac_ext <<_ACEOF
25199#line $LINENO "configure"
25200/* confdefs.h. */
25201_ACEOF
25202cat confdefs.h >>conftest.$ac_ext
25203cat >>conftest.$ac_ext <<_ACEOF
25204/* end confdefs.h. */
25205$ac_includes_default
25206#include <sql.h>
25207_ACEOF
25208rm -f conftest.$ac_objext
25209if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25210 (eval $ac_compile) 2>&5
25211 ac_status=$?
25212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25213 (exit $ac_status); } &&
25214 { ac_try='test -s conftest.$ac_objext'
25215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25216 (eval $ac_try) 2>&5
25217 ac_status=$?
25218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25219 (exit $ac_status); }; }; then
25220 ac_header_compiler=yes
25221else
25222 echo "$as_me: failed program was:" >&5
25223sed 's/^/| /' conftest.$ac_ext >&5
25224
25225ac_header_compiler=no
25226fi
25227rm -f conftest.$ac_objext conftest.$ac_ext
25228echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25229echo "${ECHO_T}$ac_header_compiler" >&6
25230
25231# Is the header present?
25232echo "$as_me:$LINENO: checking sql.h presence" >&5
25233echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
25234cat >conftest.$ac_ext <<_ACEOF
25235#line $LINENO "configure"
25236/* confdefs.h. */
25237_ACEOF
25238cat confdefs.h >>conftest.$ac_ext
25239cat >>conftest.$ac_ext <<_ACEOF
25240/* end confdefs.h. */
25241#include <sql.h>
25242_ACEOF
25243if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25244 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25245 ac_status=$?
25246 grep -v '^ *+' conftest.er1 >conftest.err
25247 rm -f conftest.er1
25248 cat conftest.err >&5
25249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25250 (exit $ac_status); } >/dev/null; then
25251 if test -s conftest.err; then
25252 ac_cpp_err=$ac_c_preproc_warn_flag
25253 else
25254 ac_cpp_err=
25255 fi
25256else
25257 ac_cpp_err=yes
25258fi
25259if test -z "$ac_cpp_err"; then
25260 ac_header_preproc=yes
25261else
25262 echo "$as_me: failed program was:" >&5
25263sed 's/^/| /' conftest.$ac_ext >&5
25264
25265 ac_header_preproc=no
25266fi
25267rm -f conftest.err conftest.$ac_ext
25268echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25269echo "${ECHO_T}$ac_header_preproc" >&6
25270
25271# So? What about this header?
25272case $ac_header_compiler:$ac_header_preproc in
25273 yes:no )
25274 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
25275echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25276 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
25277echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
25278 (
25279 cat <<\_ASBOX
25280## ------------------------------------ ##
25281## Report this to bug-autoconf@gnu.org. ##
25282## ------------------------------------ ##
25283_ASBOX
25284 ) |
25285 sed "s/^/$as_me: WARNING: /" >&2
25286 ;;
25287 no:yes )
25288 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
25289echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
25290 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
25291echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
25292 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
25293echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
25294 (
25295 cat <<\_ASBOX
25296## ------------------------------------ ##
25297## Report this to bug-autoconf@gnu.org. ##
25298## ------------------------------------ ##
25299_ASBOX
25300 ) |
25301 sed "s/^/$as_me: WARNING: /" >&2
25302 ;;
25303esac
25304echo "$as_me:$LINENO: checking for sql.h" >&5
25305echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
25306if test "${ac_cv_header_sql_h+set}" = set; then
25307 echo $ECHO_N "(cached) $ECHO_C" >&6
25308else
25309 ac_cv_header_sql_h=$ac_header_preproc
25310fi
25311echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
25312echo "${ECHO_T}$ac_cv_header_sql_h" >&6
25313
25314fi
25315if test $ac_cv_header_sql_h = yes; then
25316 found_sql_h=1
25317fi
25318
25319
25320 if test "x$found_sql_h" = "x1" ; then
25321 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
25322echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
25323if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
25324 echo $ECHO_N "(cached) $ECHO_C" >&6
25325else
25326 ac_check_lib_save_LIBS=$LIBS
25327LIBS="-liodbc $LIBS"
25328cat >conftest.$ac_ext <<_ACEOF
25329#line $LINENO "configure"
25330/* confdefs.h. */
25331_ACEOF
25332cat confdefs.h >>conftest.$ac_ext
25333cat >>conftest.$ac_ext <<_ACEOF
25334/* end confdefs.h. */
25335
25336/* Override any gcc2 internal prototype to avoid an error. */
25337#ifdef __cplusplus
25338extern "C"
25339#endif
25340/* We use char because int might match the return type of a gcc2
25341 builtin and then its argument prototype would still apply. */
25342char SQLAllocEnv ();
25343int
25344main ()
25345{
25346SQLAllocEnv ();
25347 ;
25348 return 0;
25349}
25350_ACEOF
25351rm -f conftest.$ac_objext conftest$ac_exeext
25352if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25353 (eval $ac_link) 2>&5
25354 ac_status=$?
25355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25356 (exit $ac_status); } &&
25357 { ac_try='test -s conftest$ac_exeext'
25358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25359 (eval $ac_try) 2>&5
25360 ac_status=$?
25361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25362 (exit $ac_status); }; }; then
25363 ac_cv_lib_iodbc_SQLAllocEnv=yes
25364else
25365 echo "$as_me: failed program was:" >&5
25366sed 's/^/| /' conftest.$ac_ext >&5
25367
25368ac_cv_lib_iodbc_SQLAllocEnv=no
25369fi
25370rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25371LIBS=$ac_check_lib_save_LIBS
25372fi
25373echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
25374echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
25375if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
25376 ODBC_LINK=" -liodbc"
25377else
25378
25379 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
25380echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
25381if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
25382 echo $ECHO_N "(cached) $ECHO_C" >&6
25383else
25384 ac_check_lib_save_LIBS=$LIBS
25385LIBS="-lunixodbc $LIBS"
25386cat >conftest.$ac_ext <<_ACEOF
25387#line $LINENO "configure"
25388/* confdefs.h. */
25389_ACEOF
25390cat confdefs.h >>conftest.$ac_ext
25391cat >>conftest.$ac_ext <<_ACEOF
25392/* end confdefs.h. */
25393
25394/* Override any gcc2 internal prototype to avoid an error. */
25395#ifdef __cplusplus
25396extern "C"
25397#endif
25398/* We use char because int might match the return type of a gcc2
25399 builtin and then its argument prototype would still apply. */
25400char SQLAllocEnv ();
25401int
25402main ()
25403{
25404SQLAllocEnv ();
25405 ;
25406 return 0;
25407}
25408_ACEOF
25409rm -f conftest.$ac_objext conftest$ac_exeext
25410if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25411 (eval $ac_link) 2>&5
25412 ac_status=$?
25413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25414 (exit $ac_status); } &&
25415 { ac_try='test -s conftest$ac_exeext'
25416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25417 (eval $ac_try) 2>&5
25418 ac_status=$?
25419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25420 (exit $ac_status); }; }; then
25421 ac_cv_lib_unixodbc_SQLAllocEnv=yes
25422else
25423 echo "$as_me: failed program was:" >&5
25424sed 's/^/| /' conftest.$ac_ext >&5
25425
25426ac_cv_lib_unixodbc_SQLAllocEnv=no
25427fi
25428rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25429LIBS=$ac_check_lib_save_LIBS
25430fi
25431echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
25432echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
25433if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
25434 ODBC_LINK=" -lunixodbc"
25435else
25436
25437 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
25438echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
25439if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
25440 echo $ECHO_N "(cached) $ECHO_C" >&6
25441else
25442 ac_check_lib_save_LIBS=$LIBS
25443LIBS="-lodbc $LIBS"
25444cat >conftest.$ac_ext <<_ACEOF
25445#line $LINENO "configure"
25446/* confdefs.h. */
25447_ACEOF
25448cat confdefs.h >>conftest.$ac_ext
25449cat >>conftest.$ac_ext <<_ACEOF
25450/* end confdefs.h. */
25451
25452/* Override any gcc2 internal prototype to avoid an error. */
25453#ifdef __cplusplus
25454extern "C"
25455#endif
25456/* We use char because int might match the return type of a gcc2
25457 builtin and then its argument prototype would still apply. */
25458char SQLAllocEnv ();
25459int
25460main ()
25461{
25462SQLAllocEnv ();
25463 ;
25464 return 0;
25465}
25466_ACEOF
25467rm -f conftest.$ac_objext conftest$ac_exeext
25468if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25469 (eval $ac_link) 2>&5
25470 ac_status=$?
25471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25472 (exit $ac_status); } &&
25473 { ac_try='test -s conftest$ac_exeext'
25474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25475 (eval $ac_try) 2>&5
25476 ac_status=$?
25477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25478 (exit $ac_status); }; }; then
25479 ac_cv_lib_odbc_SQLAllocEnv=yes
25480else
25481 echo "$as_me: failed program was:" >&5
25482sed 's/^/| /' conftest.$ac_ext >&5
25483
25484ac_cv_lib_odbc_SQLAllocEnv=no
25485fi
25486rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25487LIBS=$ac_check_lib_save_LIBS
25488fi
25489echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
25490echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
25491if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
25492 ODBC_LINK=" -lodbc"
25493fi
25494
25495
25496fi
25497
25498
25499fi
25500
25501 fi
25502 if test "x$ODBC_LINK" = "x" ; then
25503 if test "$wxUSE_ODBC" = "sys" ; then
25504 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
25505echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
25506 { (exit 1); exit 1; }; }
25507 else
25508 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
25509echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
25510 wxUSE_ODBC=builtin
25511 fi
25512 else
25513 wxUSE_ODBC=sys
25514 fi
25515 fi
25516 if test "$wxUSE_ODBC" != "no" ; then
25517 cat >>confdefs.h <<\_ACEOF
25518#define wxUSE_ODBC 1
25519_ACEOF
25520
25521 if test "$wxUSE_ODBC" = "builtin" ; then
25522 cat >>confdefs.h <<\_ACEOF
25523#define wxUSE_BUILTIN_IODBC 1
25524_ACEOF
25525
25526 fi
25527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
25528
25529 WXODBCFLAG="-D_IODBC_"
25530 fi
25531fi
25532
25533if test "$wxUSE_REGEX" = "builtin" ; then
25534 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
25535fi
25536if test "$wxUSE_ZLIB" = "builtin" ; then
25537 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
25538fi
25539
25540if test "$wxUSE_DISPLAY" = "yes"; then
25541 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
25542 echo "$as_me:$LINENO: checking for Xinerama" >&5
25543echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
25544
25545ac_find_libraries=
25546for ac_dir in $SEARCH_LIB /usr/lib;
25547 do
25548 for ac_extension in a so sl dylib; do
25549 if test -f "$ac_dir/libXinerama.$ac_extension"; then
25550 ac_find_libraries=$ac_dir
25551 break 2
25552 fi
25553 done
25554 done
25555
25556 if test "$ac_find_libraries" != "" ; then
25557
25558 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25559 result=$?
25560 if test $result = 0; then
25561 ac_path_to_link=""
25562 else
25563 ac_path_to_link=" -L$ac_find_libraries"
25564 fi
25565
25566 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25567 LDFLAGS="$LDFLAGS $ac_path_to_link"
25568 fi
25569 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
25570 echo "$as_me:$LINENO: result: yes" >&5
25571echo "${ECHO_T}yes" >&6
25572
25573 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
25574echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
25575
25576ac_find_libraries=
25577for ac_dir in $SEARCH_LIB /usr/lib;
25578 do
25579 for ac_extension in a so sl dylib; do
25580 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
25581 ac_find_libraries=$ac_dir
25582 break 2
25583 fi
25584 done
25585 done
25586
25587 if test "$ac_find_libraries" != "" ; then
25588 echo "$as_me:$LINENO: result: yes" >&5
25589echo "${ECHO_T}yes" >&6
25590
25591for ac_header in X11/extensions/xf86vmode.h
25592do
25593as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25594echo "$as_me:$LINENO: checking for $ac_header" >&5
25595echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25596if eval "test \"\${$as_ac_Header+set}\" = set"; then
25597 echo $ECHO_N "(cached) $ECHO_C" >&6
25598else
25599 cat >conftest.$ac_ext <<_ACEOF
25600#line $LINENO "configure"
25601/* confdefs.h. */
25602_ACEOF
25603cat confdefs.h >>conftest.$ac_ext
25604cat >>conftest.$ac_ext <<_ACEOF
25605/* end confdefs.h. */
25606
25607 #if HAVE_X11_XLIB_H
25608 #include <X11/Xlib.h>
25609 #endif
25610
25611
25612#include <$ac_header>
25613_ACEOF
25614rm -f conftest.$ac_objext
25615if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25616 (eval $ac_compile) 2>&5
25617 ac_status=$?
25618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25619 (exit $ac_status); } &&
25620 { ac_try='test -s conftest.$ac_objext'
25621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25622 (eval $ac_try) 2>&5
25623 ac_status=$?
25624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25625 (exit $ac_status); }; }; then
25626 eval "$as_ac_Header=yes"
25627else
25628 echo "$as_me: failed program was:" >&5
25629sed 's/^/| /' conftest.$ac_ext >&5
25630
25631eval "$as_ac_Header=no"
25632fi
25633rm -f conftest.$ac_objext conftest.$ac_ext
25634fi
25635echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25636echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25637if test `eval echo '${'$as_ac_Header'}'` = yes; then
25638 cat >>confdefs.h <<_ACEOF
25639#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25640_ACEOF
25641
25642 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
25643
25644fi
25645
25646done
25647
25648 else
25649 echo "$as_me:$LINENO: result: no" >&5
25650echo "${ECHO_T}no" >&6
25651 fi
25652
25653 else
25654 echo "$as_me:$LINENO: result: no" >&5
25655echo "${ECHO_T}no" >&6
25656 { echo "$as_me:$LINENO: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&5
25657echo "$as_me: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&2;}
25658 wxUSE_DISPLAY="no"
25659 fi
25660 fi
25661fi
25662
25663
25664USE_OPENGL=0
25665if test "$wxUSE_OPENGL" = "yes"; then
25666 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
25667 OPENGL_LIBS="-framework OpenGL -framework AGL"
25668 elif test "$wxUSE_MSW" = 1; then
25669 OPENGL_LIBS="-lopengl32 -lglu32"
25670 else
25671
25672
25673ac_find_includes=
25674for ac_dir in $SEARCH_INCLUDE /usr/include;
25675 do
25676 if test -f "$ac_dir/GL/gl.h"; then
25677 ac_find_includes=$ac_dir
25678 break
25679 fi
25680 done
25681
25682 if test "$ac_find_includes" != "" ; then
25683 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25684echo "${ECHO_T}found in $ac_find_includes" >&6
25685
25686 if test "x$ac_find_includes" = "x/usr/include"; then
25687 ac_path_to_include=""
25688 else
25689 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
25690 result=$?
25691 if test $result = 0; then
25692 ac_path_to_include=""
25693 else
25694 ac_path_to_include=" -I$ac_find_includes"
25695 fi
25696 fi
25697
25698 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
25699 fi
25700
25701 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25702 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25703echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25704if test "${ac_cv_header_GL_gl_h+set}" = set; then
25705 echo $ECHO_N "(cached) $ECHO_C" >&6
25706fi
25707echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25708echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25709else
25710 # Is the header compilable?
25711echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
25712echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
25713cat >conftest.$ac_ext <<_ACEOF
25714#line $LINENO "configure"
25715/* confdefs.h. */
25716_ACEOF
25717cat confdefs.h >>conftest.$ac_ext
25718cat >>conftest.$ac_ext <<_ACEOF
25719/* end confdefs.h. */
25720$ac_includes_default
25721#include <GL/gl.h>
25722_ACEOF
25723rm -f conftest.$ac_objext
25724if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25725 (eval $ac_compile) 2>&5
25726 ac_status=$?
25727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25728 (exit $ac_status); } &&
25729 { ac_try='test -s conftest.$ac_objext'
25730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25731 (eval $ac_try) 2>&5
25732 ac_status=$?
25733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25734 (exit $ac_status); }; }; then
25735 ac_header_compiler=yes
25736else
25737 echo "$as_me: failed program was:" >&5
25738sed 's/^/| /' conftest.$ac_ext >&5
25739
25740ac_header_compiler=no
25741fi
25742rm -f conftest.$ac_objext conftest.$ac_ext
25743echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25744echo "${ECHO_T}$ac_header_compiler" >&6
25745
25746# Is the header present?
25747echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
25748echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
25749cat >conftest.$ac_ext <<_ACEOF
25750#line $LINENO "configure"
25751/* confdefs.h. */
25752_ACEOF
25753cat confdefs.h >>conftest.$ac_ext
25754cat >>conftest.$ac_ext <<_ACEOF
25755/* end confdefs.h. */
25756#include <GL/gl.h>
25757_ACEOF
25758if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25759 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25760 ac_status=$?
25761 grep -v '^ *+' conftest.er1 >conftest.err
25762 rm -f conftest.er1
25763 cat conftest.err >&5
25764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25765 (exit $ac_status); } >/dev/null; then
25766 if test -s conftest.err; then
25767 ac_cpp_err=$ac_c_preproc_warn_flag
25768 else
25769 ac_cpp_err=
25770 fi
25771else
25772 ac_cpp_err=yes
25773fi
25774if test -z "$ac_cpp_err"; then
25775 ac_header_preproc=yes
25776else
25777 echo "$as_me: failed program was:" >&5
25778sed 's/^/| /' conftest.$ac_ext >&5
25779
25780 ac_header_preproc=no
25781fi
25782rm -f conftest.err conftest.$ac_ext
25783echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25784echo "${ECHO_T}$ac_header_preproc" >&6
25785
25786# So? What about this header?
25787case $ac_header_compiler:$ac_header_preproc in
25788 yes:no )
25789 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
25790echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25791 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25792echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25793 (
25794 cat <<\_ASBOX
25795## ------------------------------------ ##
25796## Report this to bug-autoconf@gnu.org. ##
25797## ------------------------------------ ##
25798_ASBOX
25799 ) |
25800 sed "s/^/$as_me: WARNING: /" >&2
25801 ;;
25802 no:yes )
25803 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
25804echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
25805 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
25806echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
25807 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25808echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25809 (
25810 cat <<\_ASBOX
25811## ------------------------------------ ##
25812## Report this to bug-autoconf@gnu.org. ##
25813## ------------------------------------ ##
25814_ASBOX
25815 ) |
25816 sed "s/^/$as_me: WARNING: /" >&2
25817 ;;
25818esac
25819echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25820echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25821if test "${ac_cv_header_GL_gl_h+set}" = set; then
25822 echo $ECHO_N "(cached) $ECHO_C" >&6
25823else
25824 ac_cv_header_GL_gl_h=$ac_header_preproc
25825fi
25826echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25827echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25828
25829fi
25830if test $ac_cv_header_GL_gl_h = yes; then
25831
25832 found_gl=0
25833
25834 echo "$as_me:$LINENO: checking for -lGL" >&5
25835echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25836
25837ac_find_libraries=
25838for ac_dir in $SEARCH_LIB /usr/lib;
25839 do
25840 for ac_extension in a so sl dylib; do
25841 if test -f "$ac_dir/libGL.$ac_extension"; then
25842 ac_find_libraries=$ac_dir
25843 break 2
25844 fi
25845 done
25846 done
25847
25848 if test "$ac_find_libraries" != "" ; then
25849
25850 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25851 result=$?
25852 if test $result = 0; then
25853 ac_path_to_link=""
25854 else
25855 ac_path_to_link=" -L$ac_find_libraries"
25856 fi
25857
25858 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25859 LDFLAGS_GL="$ac_path_to_link"
25860 fi
25861
25862
25863ac_find_libraries=
25864for ac_dir in $SEARCH_LIB /usr/lib;
25865 do
25866 for ac_extension in a so sl dylib; do
25867 if test -f "$ac_dir/libGLU.$ac_extension"; then
25868 ac_find_libraries=$ac_dir
25869 break 2
25870 fi
25871 done
25872 done
25873
25874 if test "$ac_find_libraries" != "" ; then
25875
25876 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25877 result=$?
25878 if test $result = 0; then
25879 ac_path_to_link=""
25880 else
25881 ac_path_to_link=" -L$ac_find_libraries"
25882 fi
25883
25884 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25885 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25886 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
25887 fi
25888
25889 found_gl=1
25890 OPENGL_LIBS="-lGL -lGLU"
25891 echo "$as_me:$LINENO: result: yes" >&5
25892echo "${ECHO_T}yes" >&6
25893 fi
25894 fi
25895
25896 if test "$found_gl" != 1; then
25897 echo "$as_me:$LINENO: result: no" >&5
25898echo "${ECHO_T}no" >&6
25899 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25900echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25901
25902ac_find_libraries=
25903for ac_dir in $SEARCH_LIB /usr/lib;
25904 do
25905 for ac_extension in a so sl dylib; do
25906 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25907 ac_find_libraries=$ac_dir
25908 break 2
25909 fi
25910 done
25911 done
25912
25913 if test "$ac_find_libraries" != "" ; then
25914
25915 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25916 result=$?
25917 if test $result = 0; then
25918 ac_path_to_link=""
25919 else
25920 ac_path_to_link=" -L$ac_find_libraries"
25921 fi
25922
25923 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
25924 OPENGL_LIBS="-lMesaGL -lMesaGLU"
25925 echo "$as_me:$LINENO: result: yes" >&5
25926echo "${ECHO_T}yes" >&6
25927 else
25928 echo "$as_me:$LINENO: result: no" >&5
25929echo "${ECHO_T}no" >&6
25930 fi
25931 fi
25932
25933fi
25934
25935
25936
25937 if test "x$OPENGL_LIBS" = "x"; then
25938 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25939echo "$as_me: error: OpenGL libraries not available" >&2;}
25940 { (exit 1); exit 1; }; }
25941 fi
25942 fi
25943
25944 if test "$wxUSE_OPENGL" = "yes"; then
25945 USE_OPENGL=1
25946 cat >>confdefs.h <<\_ACEOF
25947#define wxUSE_OPENGL 1
25948_ACEOF
25949
25950 cat >>confdefs.h <<\_ACEOF
25951#define wxUSE_GLCANVAS 1
25952_ACEOF
25953
25954 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25955 fi
25956fi
25957
25958if test -z "$TOOLKIT_VPATH" ; then
25959 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
25960fi
25961
25962if test -n "$TOOLKIT" ; then
25963 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25964fi
25965
25966UNICODE=0
25967lib_unicode_suffix=
25968if test "$wxUSE_UNICODE" = "yes"; then
25969 lib_unicode_suffix=u
25970 UNICODE=1
25971fi
25972
25973lib_debug_suffix=
25974DEBUG_FLAG=0
25975if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25976 lib_debug_suffix=d
25977 DEBUG_FLAG=1
25978fi
25979
25980DEBUG_INFO=0
25981if test "$wxUSE_DEBUG_INFO" = "yes"; then
25982 DEBUG_INFO=1
25983fi
25984
25985WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25986
25987TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25988TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25989
25990if test "$cross_compiling" = "yes"; then
25991 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
25992 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
25993 HOST_SUFFIX="-${host_alias}"
25994fi
25995
25996WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
25997WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
25998WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25999WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
26000
26001WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
26002WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
26003
26004WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
26005WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
26006WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
26007WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26008
26009case "${host}" in
26010 *-*-cygwin* | *-*-mingw32* )
26011 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
26012 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26013 ;;
26014
26015 *-*-darwin* )
26016
26017 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
26018 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
26019
26020 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
26021 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
26022 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
26023 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26024
26025 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
26026 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
26027 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
26028 fi
26029 ;;
26030esac
26031
26032WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
26033WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
26034
26035WXCONFIG_LIBS="-l${WX_LIBRARY}"
26036WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
26037
26038if test "$wxUSE_OPENGL" = "yes"; then
26039 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
26040 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
26041fi
26042
26043
26044
26045if test "$wxUSE_SHARED" = "yes"; then
26046 case "${host}" in
26047 *-pc-os2_emx | *-pc-os2-emx | \
26048 *-pc-msdosdjgpp )
26049 wxUSE_SHARED=no
26050 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
26051echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
26052 ;;
26053 esac
26054fi
26055
26056SHARED=0
26057if test "$wxUSE_SHARED" = "yes"; then
26058 SHARED=1
26059
26060
26061 found_versioning=no
26062
26063
26064 if test $found_versioning = no ; then
26065 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
26066echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
26067if test "${wx_cv_version_script+set}" = set; then
26068 echo $ECHO_N "(cached) $ECHO_C" >&6
26069else
26070
26071 echo "VER_1 { *; };" >conftest.sym
26072 echo "int main() { return 0; }" >conftest.cpp
26073
26074 if { ac_try='
26075 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
26076 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
26077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26078 (eval $ac_try) 2>&5
26079 ac_status=$?
26080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26081 (exit $ac_status); }; } ; then
26082 if test -s conftest.stderr ; then
26083 wx_cv_version_script=no
26084 else
26085 wx_cv_version_script=yes
26086 fi
26087 else
26088 wx_cv_version_script=no
26089 fi
26090 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
26091
26092fi
26093echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
26094echo "${ECHO_T}$wx_cv_version_script" >&6
26095 if test $wx_cv_version_script = yes ; then
26096 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
26097 fi
26098 fi
26099
26100
26101 case "${host}" in
26102 *-*-linux* | *-*-gnu* )
26103 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
26104 ;;
26105
26106 *-*-solaris2* )
26107 if test "$GCC" = yes ; then
26108 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
26109
26110 saveLdflags="$LDFLAGS"
26111 LDFLAGS="$saveLdflags -Wl,-rpath,/"
26112 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
26113echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
26114 cat >conftest.$ac_ext <<_ACEOF
26115#line $LINENO "configure"
26116/* confdefs.h. */
26117_ACEOF
26118cat confdefs.h >>conftest.$ac_ext
26119cat >>conftest.$ac_ext <<_ACEOF
26120/* end confdefs.h. */
26121
26122int
26123main ()
26124{
26125
26126 ;
26127 return 0;
26128}
26129_ACEOF
26130rm -f conftest.$ac_objext conftest$ac_exeext
26131if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26132 (eval $ac_link) 2>&5
26133 ac_status=$?
26134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26135 (exit $ac_status); } &&
26136 { ac_try='test -s conftest$ac_exeext'
26137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26138 (eval $ac_try) 2>&5
26139 ac_status=$?
26140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26141 (exit $ac_status); }; }; then
26142
26143 echo "$as_me:$LINENO: result: yes" >&5
26144echo "${ECHO_T}yes" >&6
26145 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
26146
26147else
26148 echo "$as_me: failed program was:" >&5
26149sed 's/^/| /' conftest.$ac_ext >&5
26150
26151
26152 echo "$as_me:$LINENO: result: no" >&5
26153echo "${ECHO_T}no" >&6
26154 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
26155echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
26156 LDFLAGS="$saveLdflags -Wl,-R,/"
26157 cat >conftest.$ac_ext <<_ACEOF
26158#line $LINENO "configure"
26159/* confdefs.h. */
26160_ACEOF
26161cat confdefs.h >>conftest.$ac_ext
26162cat >>conftest.$ac_ext <<_ACEOF
26163/* end confdefs.h. */
26164
26165int
26166main ()
26167{
26168
26169 ;
26170 return 0;
26171}
26172_ACEOF
26173rm -f conftest.$ac_objext conftest$ac_exeext
26174if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26175 (eval $ac_link) 2>&5
26176 ac_status=$?
26177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26178 (exit $ac_status); } &&
26179 { ac_try='test -s conftest$ac_exeext'
26180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26181 (eval $ac_try) 2>&5
26182 ac_status=$?
26183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26184 (exit $ac_status); }; }; then
26185
26186 echo "$as_me:$LINENO: result: yes" >&5
26187echo "${ECHO_T}yes" >&6
26188 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
26189else
26190 echo "$as_me: failed program was:" >&5
26191sed 's/^/| /' conftest.$ac_ext >&5
26192
26193
26194 echo "$as_me:$LINENO: result: no" >&5
26195echo "${ECHO_T}no" >&6
26196
26197fi
26198rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26199
26200fi
26201rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26202 LDFLAGS="$saveLdflags"
26203 else
26204 SHARED_LD="${CXX} -G -o"
26205 PIC_FLAG="-KPIC"
26206 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
26207 fi
26208 ;;
26209
26210 powerpc-*-darwin* )
26211 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
26212 cat <<EOF >change-install-names
26213#!/bin/sh
26214libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
26215inst_cmd="install_name_tool "
26216for i in \${libnames} ; do
26217 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
26218done
26219\${inst_cmd} \${3}
26220EOF
26221 chmod +x change-install-names
26222 ;;
26223
26224 esac
26225
26226 if test "x$WX_TARGET_LIBRARY" = "x"; then
26227 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
26228 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
26229 fi
26230
26231 WX_TARGET_LIBRARY_TYPE="so"
26232 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
26233fi
26234
26235if test "$wxUSE_SHARED" = "no"; then
26236
26237 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
26238 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
26239 fi
26240
26241 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
26242 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
26243 fi
26244
26245 if test "$wxUSE_OPENGL" = "yes"; then
26246 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
26247 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
26248 else
26249 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
26250 fi
26251
26252 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
26253 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
26254
26255 WX_TARGET_LIBRARY_TYPE="a"
26256 INSTALL_LIBRARY='$(INSTALL_DATA)'
26257
26258 STATIC_FLAG="yes"
26259else
26260 STATIC_FLAG="no"
26261fi
26262
26263if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
26264 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
26265 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
26266 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
26267
26268 # Extract the first word of "Rez", so it can be a program name with args.
26269set dummy Rez; ac_word=$2
26270echo "$as_me:$LINENO: checking for $ac_word" >&5
26271echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26272if test "${ac_cv_prog_RESCOMP+set}" = set; then
26273 echo $ECHO_N "(cached) $ECHO_C" >&6
26274else
26275 if test -n "$RESCOMP"; then
26276 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
26277else
26278as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26279for as_dir in $PATH
26280do
26281 IFS=$as_save_IFS
26282 test -z "$as_dir" && as_dir=.
26283 for ac_exec_ext in '' $ac_executable_extensions; do
26284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26285 ac_cv_prog_RESCOMP="Rez"
26286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26287 break 2
26288 fi
26289done
26290done
26291
26292 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
26293fi
26294fi
26295RESCOMP=$ac_cv_prog_RESCOMP
26296if test -n "$RESCOMP"; then
26297 echo "$as_me:$LINENO: result: $RESCOMP" >&5
26298echo "${ECHO_T}$RESCOMP" >&6
26299else
26300 echo "$as_me:$LINENO: result: no" >&5
26301echo "${ECHO_T}no" >&6
26302fi
26303
26304 # Extract the first word of "DeRez", so it can be a program name with args.
26305set dummy DeRez; ac_word=$2
26306echo "$as_me:$LINENO: checking for $ac_word" >&5
26307echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26308if test "${ac_cv_prog_DEREZ+set}" = set; then
26309 echo $ECHO_N "(cached) $ECHO_C" >&6
26310else
26311 if test -n "$DEREZ"; then
26312 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
26313else
26314as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26315for as_dir in $PATH
26316do
26317 IFS=$as_save_IFS
26318 test -z "$as_dir" && as_dir=.
26319 for ac_exec_ext in '' $ac_executable_extensions; do
26320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26321 ac_cv_prog_DEREZ="DeRez"
26322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26323 break 2
26324 fi
26325done
26326done
26327
26328 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
26329fi
26330fi
26331DEREZ=$ac_cv_prog_DEREZ
26332if test -n "$DEREZ"; then
26333 echo "$as_me:$LINENO: result: $DEREZ" >&5
26334echo "${ECHO_T}$DEREZ" >&6
26335else
26336 echo "$as_me:$LINENO: result: no" >&5
26337echo "${ECHO_T}no" >&6
26338fi
26339
26340 # Extract the first word of "SetFile", so it can be a program name with args.
26341set dummy SetFile; ac_word=$2
26342echo "$as_me:$LINENO: checking for $ac_word" >&5
26343echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26344if test "${ac_cv_prog_SETFILE+set}" = set; then
26345 echo $ECHO_N "(cached) $ECHO_C" >&6
26346else
26347 if test -n "$SETFILE"; then
26348 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
26349else
26350as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26351for as_dir in $PATH
26352do
26353 IFS=$as_save_IFS
26354 test -z "$as_dir" && as_dir=.
26355 for ac_exec_ext in '' $ac_executable_extensions; do
26356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26357 ac_cv_prog_SETFILE="SetFile"
26358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26359 break 2
26360 fi
26361done
26362done
26363
26364 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
26365fi
26366fi
26367SETFILE=$ac_cv_prog_SETFILE
26368if test -n "$SETFILE"; then
26369 echo "$as_me:$LINENO: result: $SETFILE" >&5
26370echo "${ECHO_T}$SETFILE" >&6
26371else
26372 echo "$as_me:$LINENO: result: no" >&5
26373echo "${ECHO_T}no" >&6
26374fi
26375
26376
26377 MACSETFILE="\$(SETFILE)"
26378
26379 if test "$wxUSE_MAC" = 1; then
26380 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
26381
26382 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
26383 else
26384 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
26385 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
26386 fi
26387else
26388 MACSETFILE="@#"
26389 MACRESWXCONFIG="#"
26390
26391 if test "$wxUSE_PM" = 1; then
26392 MACRESCOMP="emxbind -ep"
26393 else
26394 MACRESCOMP="@#"
26395 fi
26396fi
26397
26398
26399
26400echo "$as_me:$LINENO: checking for mode_t" >&5
26401echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
26402if test "${ac_cv_type_mode_t+set}" = set; then
26403 echo $ECHO_N "(cached) $ECHO_C" >&6
26404else
26405 cat >conftest.$ac_ext <<_ACEOF
26406#line $LINENO "configure"
26407/* confdefs.h. */
26408_ACEOF
26409cat confdefs.h >>conftest.$ac_ext
26410cat >>conftest.$ac_ext <<_ACEOF
26411/* end confdefs.h. */
26412$ac_includes_default
26413int
26414main ()
26415{
26416if ((mode_t *) 0)
26417 return 0;
26418if (sizeof (mode_t))
26419 return 0;
26420 ;
26421 return 0;
26422}
26423_ACEOF
26424rm -f conftest.$ac_objext
26425if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26426 (eval $ac_compile) 2>&5
26427 ac_status=$?
26428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26429 (exit $ac_status); } &&
26430 { ac_try='test -s conftest.$ac_objext'
26431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26432 (eval $ac_try) 2>&5
26433 ac_status=$?
26434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26435 (exit $ac_status); }; }; then
26436 ac_cv_type_mode_t=yes
26437else
26438 echo "$as_me: failed program was:" >&5
26439sed 's/^/| /' conftest.$ac_ext >&5
26440
26441ac_cv_type_mode_t=no
26442fi
26443rm -f conftest.$ac_objext conftest.$ac_ext
26444fi
26445echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
26446echo "${ECHO_T}$ac_cv_type_mode_t" >&6
26447if test $ac_cv_type_mode_t = yes; then
26448 :
26449else
26450
26451cat >>confdefs.h <<_ACEOF
26452#define mode_t int
26453_ACEOF
26454
26455fi
26456
26457echo "$as_me:$LINENO: checking for off_t" >&5
26458echo $ECHO_N "checking for off_t... $ECHO_C" >&6
26459if test "${ac_cv_type_off_t+set}" = set; then
26460 echo $ECHO_N "(cached) $ECHO_C" >&6
26461else
26462 cat >conftest.$ac_ext <<_ACEOF
26463#line $LINENO "configure"
26464/* confdefs.h. */
26465_ACEOF
26466cat confdefs.h >>conftest.$ac_ext
26467cat >>conftest.$ac_ext <<_ACEOF
26468/* end confdefs.h. */
26469$ac_includes_default
26470int
26471main ()
26472{
26473if ((off_t *) 0)
26474 return 0;
26475if (sizeof (off_t))
26476 return 0;
26477 ;
26478 return 0;
26479}
26480_ACEOF
26481rm -f conftest.$ac_objext
26482if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26483 (eval $ac_compile) 2>&5
26484 ac_status=$?
26485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26486 (exit $ac_status); } &&
26487 { ac_try='test -s conftest.$ac_objext'
26488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26489 (eval $ac_try) 2>&5
26490 ac_status=$?
26491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26492 (exit $ac_status); }; }; then
26493 ac_cv_type_off_t=yes
26494else
26495 echo "$as_me: failed program was:" >&5
26496sed 's/^/| /' conftest.$ac_ext >&5
26497
26498ac_cv_type_off_t=no
26499fi
26500rm -f conftest.$ac_objext conftest.$ac_ext
26501fi
26502echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
26503echo "${ECHO_T}$ac_cv_type_off_t" >&6
26504if test $ac_cv_type_off_t = yes; then
26505 :
26506else
26507
26508cat >>confdefs.h <<_ACEOF
26509#define off_t long
26510_ACEOF
26511
26512fi
26513
26514echo "$as_me:$LINENO: checking for pid_t" >&5
26515echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
26516if test "${ac_cv_type_pid_t+set}" = set; then
26517 echo $ECHO_N "(cached) $ECHO_C" >&6
26518else
26519 cat >conftest.$ac_ext <<_ACEOF
26520#line $LINENO "configure"
26521/* confdefs.h. */
26522_ACEOF
26523cat confdefs.h >>conftest.$ac_ext
26524cat >>conftest.$ac_ext <<_ACEOF
26525/* end confdefs.h. */
26526$ac_includes_default
26527int
26528main ()
26529{
26530if ((pid_t *) 0)
26531 return 0;
26532if (sizeof (pid_t))
26533 return 0;
26534 ;
26535 return 0;
26536}
26537_ACEOF
26538rm -f conftest.$ac_objext
26539if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26540 (eval $ac_compile) 2>&5
26541 ac_status=$?
26542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26543 (exit $ac_status); } &&
26544 { ac_try='test -s conftest.$ac_objext'
26545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26546 (eval $ac_try) 2>&5
26547 ac_status=$?
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); }; }; then
26550 ac_cv_type_pid_t=yes
26551else
26552 echo "$as_me: failed program was:" >&5
26553sed 's/^/| /' conftest.$ac_ext >&5
26554
26555ac_cv_type_pid_t=no
26556fi
26557rm -f conftest.$ac_objext conftest.$ac_ext
26558fi
26559echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
26560echo "${ECHO_T}$ac_cv_type_pid_t" >&6
26561if test $ac_cv_type_pid_t = yes; then
26562 :
26563else
26564
26565cat >>confdefs.h <<_ACEOF
26566#define pid_t int
26567_ACEOF
26568
26569fi
26570
26571echo "$as_me:$LINENO: checking for size_t" >&5
26572echo $ECHO_N "checking for size_t... $ECHO_C" >&6
26573if test "${ac_cv_type_size_t+set}" = set; then
26574 echo $ECHO_N "(cached) $ECHO_C" >&6
26575else
26576 cat >conftest.$ac_ext <<_ACEOF
26577#line $LINENO "configure"
26578/* confdefs.h. */
26579_ACEOF
26580cat confdefs.h >>conftest.$ac_ext
26581cat >>conftest.$ac_ext <<_ACEOF
26582/* end confdefs.h. */
26583$ac_includes_default
26584int
26585main ()
26586{
26587if ((size_t *) 0)
26588 return 0;
26589if (sizeof (size_t))
26590 return 0;
26591 ;
26592 return 0;
26593}
26594_ACEOF
26595rm -f conftest.$ac_objext
26596if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26597 (eval $ac_compile) 2>&5
26598 ac_status=$?
26599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26600 (exit $ac_status); } &&
26601 { ac_try='test -s conftest.$ac_objext'
26602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26603 (eval $ac_try) 2>&5
26604 ac_status=$?
26605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26606 (exit $ac_status); }; }; then
26607 ac_cv_type_size_t=yes
26608else
26609 echo "$as_me: failed program was:" >&5
26610sed 's/^/| /' conftest.$ac_ext >&5
26611
26612ac_cv_type_size_t=no
26613fi
26614rm -f conftest.$ac_objext conftest.$ac_ext
26615fi
26616echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26617echo "${ECHO_T}$ac_cv_type_size_t" >&6
26618if test $ac_cv_type_size_t = yes; then
26619 :
26620else
26621
26622cat >>confdefs.h <<_ACEOF
26623#define size_t unsigned
26624_ACEOF
26625
26626fi
26627
26628echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
26629echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
26630if test "${ac_cv_type_uid_t+set}" = set; then
26631 echo $ECHO_N "(cached) $ECHO_C" >&6
26632else
26633 cat >conftest.$ac_ext <<_ACEOF
26634#line $LINENO "configure"
26635/* confdefs.h. */
26636_ACEOF
26637cat confdefs.h >>conftest.$ac_ext
26638cat >>conftest.$ac_ext <<_ACEOF
26639/* end confdefs.h. */
26640#include <sys/types.h>
26641
26642_ACEOF
26643if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26644 $EGREP "uid_t" >/dev/null 2>&1; then
26645 ac_cv_type_uid_t=yes
26646else
26647 ac_cv_type_uid_t=no
26648fi
26649rm -f conftest*
26650
26651fi
26652echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
26653echo "${ECHO_T}$ac_cv_type_uid_t" >&6
26654if test $ac_cv_type_uid_t = no; then
26655
26656cat >>confdefs.h <<\_ACEOF
26657#define uid_t int
26658_ACEOF
26659
26660
26661cat >>confdefs.h <<\_ACEOF
26662#define gid_t int
26663_ACEOF
26664
26665fi
26666
26667
26668
26669
26670ac_ext=cc
26671ac_cpp='$CXXCPP $CPPFLAGS'
26672ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26673ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26674ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26675
26676echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
26677echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
26678if test "${wx_cv_size_t_is_uint+set}" = set; then
26679 echo $ECHO_N "(cached) $ECHO_C" >&6
26680else
26681
26682 cat >conftest.$ac_ext <<_ACEOF
26683#line $LINENO "configure"
26684/* confdefs.h. */
26685_ACEOF
26686cat confdefs.h >>conftest.$ac_ext
26687cat >>conftest.$ac_ext <<_ACEOF
26688/* end confdefs.h. */
26689#include <stddef.h>
26690int
26691main ()
26692{
26693
26694 return 0; }
26695
26696 struct Foo { void foo(size_t); void foo(unsigned int); };
26697
26698 int bar() {
26699
26700 ;
26701 return 0;
26702}
26703_ACEOF
26704rm -f conftest.$ac_objext
26705if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26706 (eval $ac_compile) 2>&5
26707 ac_status=$?
26708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26709 (exit $ac_status); } &&
26710 { ac_try='test -s conftest.$ac_objext'
26711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26712 (eval $ac_try) 2>&5
26713 ac_status=$?
26714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26715 (exit $ac_status); }; }; then
26716 wx_cv_size_t_is_uint=no
26717else
26718 echo "$as_me: failed program was:" >&5
26719sed 's/^/| /' conftest.$ac_ext >&5
26720
26721wx_cv_size_t_is_uint=yes
26722
26723fi
26724rm -f conftest.$ac_objext conftest.$ac_ext
26725
26726
26727fi
26728echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26729echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26730
26731if test "$wx_cv_size_t_is_uint" = "yes"; then
26732 cat >>confdefs.h <<\_ACEOF
26733#define wxSIZE_T_IS_UINT 1
26734_ACEOF
26735
26736else
26737 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26738echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26739if test "${wx_cv_size_t_is_ulong+set}" = set; then
26740 echo $ECHO_N "(cached) $ECHO_C" >&6
26741else
26742 cat >conftest.$ac_ext <<_ACEOF
26743#line $LINENO "configure"
26744/* confdefs.h. */
26745_ACEOF
26746cat confdefs.h >>conftest.$ac_ext
26747cat >>conftest.$ac_ext <<_ACEOF
26748/* end confdefs.h. */
26749#include <stddef.h>
26750int
26751main ()
26752{
26753
26754 return 0; }
26755
26756 struct Foo { void foo(size_t); void foo(unsigned long); };
26757
26758 int bar() {
26759
26760 ;
26761 return 0;
26762}
26763_ACEOF
26764rm -f conftest.$ac_objext
26765if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26766 (eval $ac_compile) 2>&5
26767 ac_status=$?
26768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26769 (exit $ac_status); } &&
26770 { ac_try='test -s conftest.$ac_objext'
26771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26772 (eval $ac_try) 2>&5
26773 ac_status=$?
26774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26775 (exit $ac_status); }; }; then
26776 wx_cv_size_t_is_ulong=no
26777else
26778 echo "$as_me: failed program was:" >&5
26779sed 's/^/| /' conftest.$ac_ext >&5
26780
26781wx_cv_size_t_is_ulong=yes
26782
26783fi
26784rm -f conftest.$ac_objext conftest.$ac_ext
26785
26786fi
26787echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26788echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26789
26790 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26791 cat >>confdefs.h <<\_ACEOF
26792#define wxSIZE_T_IS_ULONG 1
26793_ACEOF
26794
26795 fi
26796fi
26797
26798ac_ext=c
26799ac_cpp='$CPP $CPPFLAGS'
26800ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26801ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26802ac_compiler_gnu=$ac_cv_c_compiler_gnu
26803
26804
26805
26806echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26807echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26808if test "${wx_cv_struct_pw_gecos+set}" = set; then
26809 echo $ECHO_N "(cached) $ECHO_C" >&6
26810else
26811
26812 cat >conftest.$ac_ext <<_ACEOF
26813#line $LINENO "configure"
26814/* confdefs.h. */
26815_ACEOF
26816cat confdefs.h >>conftest.$ac_ext
26817cat >>conftest.$ac_ext <<_ACEOF
26818/* end confdefs.h. */
26819#include <pwd.h>
26820int
26821main ()
26822{
26823
26824 char *p;
26825 struct passwd *pw;
26826 p = pw->pw_gecos;
26827
26828 ;
26829 return 0;
26830}
26831_ACEOF
26832rm -f conftest.$ac_objext
26833if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26834 (eval $ac_compile) 2>&5
26835 ac_status=$?
26836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26837 (exit $ac_status); } &&
26838 { ac_try='test -s conftest.$ac_objext'
26839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26840 (eval $ac_try) 2>&5
26841 ac_status=$?
26842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26843 (exit $ac_status); }; }; then
26844
26845 wx_cv_struct_pw_gecos=yes
26846
26847else
26848 echo "$as_me: failed program was:" >&5
26849sed 's/^/| /' conftest.$ac_ext >&5
26850
26851
26852 wx_cv_struct_pw_gecos=no
26853
26854
26855fi
26856rm -f conftest.$ac_objext conftest.$ac_ext
26857
26858
26859fi
26860echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26861echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26862
26863if test "$wx_cv_struct_pw_gecos" = "yes"; then
26864 cat >>confdefs.h <<\_ACEOF
26865#define HAVE_PW_GECOS 1
26866_ACEOF
26867
26868fi
26869
26870
26871if test "$wx_cv_sizeof_wchar_t" != "0"; then
26872 cat >>confdefs.h <<\_ACEOF
26873#define wxUSE_WCHAR_T 1
26874_ACEOF
26875
26876
26877 WCSLEN_FOUND=0
26878 WCHAR_LINK=
26879
26880for ac_func in wcslen
26881do
26882as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26883echo "$as_me:$LINENO: checking for $ac_func" >&5
26884echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26885if eval "test \"\${$as_ac_var+set}\" = set"; then
26886 echo $ECHO_N "(cached) $ECHO_C" >&6
26887else
26888 cat >conftest.$ac_ext <<_ACEOF
26889#line $LINENO "configure"
26890/* confdefs.h. */
26891_ACEOF
26892cat confdefs.h >>conftest.$ac_ext
26893cat >>conftest.$ac_ext <<_ACEOF
26894/* end confdefs.h. */
26895/* System header to define __stub macros and hopefully few prototypes,
26896 which can conflict with char $ac_func (); below.
26897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26898 <limits.h> exists even on freestanding compilers. */
26899#ifdef __STDC__
26900# include <limits.h>
26901#else
26902# include <assert.h>
26903#endif
26904/* Override any gcc2 internal prototype to avoid an error. */
26905#ifdef __cplusplus
26906extern "C"
26907{
26908#endif
26909/* We use char because int might match the return type of a gcc2
26910 builtin and then its argument prototype would still apply. */
26911char $ac_func ();
26912/* The GNU C library defines this for functions which it implements
26913 to always fail with ENOSYS. Some functions are actually named
26914 something starting with __ and the normal name is an alias. */
26915#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26916choke me
26917#else
26918char (*f) () = $ac_func;
26919#endif
26920#ifdef __cplusplus
26921}
26922#endif
26923
26924int
26925main ()
26926{
26927return f != $ac_func;
26928 ;
26929 return 0;
26930}
26931_ACEOF
26932rm -f conftest.$ac_objext conftest$ac_exeext
26933if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26934 (eval $ac_link) 2>&5
26935 ac_status=$?
26936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26937 (exit $ac_status); } &&
26938 { ac_try='test -s conftest$ac_exeext'
26939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26940 (eval $ac_try) 2>&5
26941 ac_status=$?
26942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26943 (exit $ac_status); }; }; then
26944 eval "$as_ac_var=yes"
26945else
26946 echo "$as_me: failed program was:" >&5
26947sed 's/^/| /' conftest.$ac_ext >&5
26948
26949eval "$as_ac_var=no"
26950fi
26951rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26952fi
26953echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26954echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26955if test `eval echo '${'$as_ac_var'}'` = yes; then
26956 cat >>confdefs.h <<_ACEOF
26957#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26958_ACEOF
26959 WCSLEN_FOUND=1
26960fi
26961done
26962
26963
26964 if test "$WCSLEN_FOUND" = 0; then
26965 if test "$TOOLKIT" = "MSW"; then
26966 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26967echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26968if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26969 echo $ECHO_N "(cached) $ECHO_C" >&6
26970else
26971 ac_check_lib_save_LIBS=$LIBS
26972LIBS="-lmsvcrt $LIBS"
26973cat >conftest.$ac_ext <<_ACEOF
26974#line $LINENO "configure"
26975/* confdefs.h. */
26976_ACEOF
26977cat confdefs.h >>conftest.$ac_ext
26978cat >>conftest.$ac_ext <<_ACEOF
26979/* end confdefs.h. */
26980
26981/* Override any gcc2 internal prototype to avoid an error. */
26982#ifdef __cplusplus
26983extern "C"
26984#endif
26985/* We use char because int might match the return type of a gcc2
26986 builtin and then its argument prototype would still apply. */
26987char wcslen ();
26988int
26989main ()
26990{
26991wcslen ();
26992 ;
26993 return 0;
26994}
26995_ACEOF
26996rm -f conftest.$ac_objext conftest$ac_exeext
26997if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26998 (eval $ac_link) 2>&5
26999 ac_status=$?
27000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27001 (exit $ac_status); } &&
27002 { ac_try='test -s conftest$ac_exeext'
27003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27004 (eval $ac_try) 2>&5
27005 ac_status=$?
27006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27007 (exit $ac_status); }; }; then
27008 ac_cv_lib_msvcrt_wcslen=yes
27009else
27010 echo "$as_me: failed program was:" >&5
27011sed 's/^/| /' conftest.$ac_ext >&5
27012
27013ac_cv_lib_msvcrt_wcslen=no
27014fi
27015rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27016LIBS=$ac_check_lib_save_LIBS
27017fi
27018echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
27019echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
27020if test $ac_cv_lib_msvcrt_wcslen = yes; then
27021 WCHAR_OK=1
27022fi
27023
27024 else
27025 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
27026echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
27027if test "${ac_cv_lib_w_wcslen+set}" = set; then
27028 echo $ECHO_N "(cached) $ECHO_C" >&6
27029else
27030 ac_check_lib_save_LIBS=$LIBS
27031LIBS="-lw $LIBS"
27032cat >conftest.$ac_ext <<_ACEOF
27033#line $LINENO "configure"
27034/* confdefs.h. */
27035_ACEOF
27036cat confdefs.h >>conftest.$ac_ext
27037cat >>conftest.$ac_ext <<_ACEOF
27038/* end confdefs.h. */
27039
27040/* Override any gcc2 internal prototype to avoid an error. */
27041#ifdef __cplusplus
27042extern "C"
27043#endif
27044/* We use char because int might match the return type of a gcc2
27045 builtin and then its argument prototype would still apply. */
27046char wcslen ();
27047int
27048main ()
27049{
27050wcslen ();
27051 ;
27052 return 0;
27053}
27054_ACEOF
27055rm -f conftest.$ac_objext conftest$ac_exeext
27056if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27057 (eval $ac_link) 2>&5
27058 ac_status=$?
27059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27060 (exit $ac_status); } &&
27061 { ac_try='test -s conftest$ac_exeext'
27062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27063 (eval $ac_try) 2>&5
27064 ac_status=$?
27065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27066 (exit $ac_status); }; }; then
27067 ac_cv_lib_w_wcslen=yes
27068else
27069 echo "$as_me: failed program was:" >&5
27070sed 's/^/| /' conftest.$ac_ext >&5
27071
27072ac_cv_lib_w_wcslen=no
27073fi
27074rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27075LIBS=$ac_check_lib_save_LIBS
27076fi
27077echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
27078echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
27079if test $ac_cv_lib_w_wcslen = yes; then
27080
27081 WCHAR_LINK=" -lw"
27082 WCSLEN_FOUND=1
27083
27084fi
27085
27086 fi
27087 fi
27088
27089 if test "$WCSLEN_FOUND" = 1; then
27090 cat >>confdefs.h <<\_ACEOF
27091#define HAVE_WCSLEN 1
27092_ACEOF
27093
27094 fi
27095
27096
27097for ac_func in wcsrtombs
27098do
27099as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27100echo "$as_me:$LINENO: checking for $ac_func" >&5
27101echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27102if eval "test \"\${$as_ac_var+set}\" = set"; then
27103 echo $ECHO_N "(cached) $ECHO_C" >&6
27104else
27105 cat >conftest.$ac_ext <<_ACEOF
27106#line $LINENO "configure"
27107/* confdefs.h. */
27108_ACEOF
27109cat confdefs.h >>conftest.$ac_ext
27110cat >>conftest.$ac_ext <<_ACEOF
27111/* end confdefs.h. */
27112/* System header to define __stub macros and hopefully few prototypes,
27113 which can conflict with char $ac_func (); below.
27114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27115 <limits.h> exists even on freestanding compilers. */
27116#ifdef __STDC__
27117# include <limits.h>
27118#else
27119# include <assert.h>
27120#endif
27121/* Override any gcc2 internal prototype to avoid an error. */
27122#ifdef __cplusplus
27123extern "C"
27124{
27125#endif
27126/* We use char because int might match the return type of a gcc2
27127 builtin and then its argument prototype would still apply. */
27128char $ac_func ();
27129/* The GNU C library defines this for functions which it implements
27130 to always fail with ENOSYS. Some functions are actually named
27131 something starting with __ and the normal name is an alias. */
27132#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27133choke me
27134#else
27135char (*f) () = $ac_func;
27136#endif
27137#ifdef __cplusplus
27138}
27139#endif
27140
27141int
27142main ()
27143{
27144return f != $ac_func;
27145 ;
27146 return 0;
27147}
27148_ACEOF
27149rm -f conftest.$ac_objext conftest$ac_exeext
27150if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27151 (eval $ac_link) 2>&5
27152 ac_status=$?
27153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27154 (exit $ac_status); } &&
27155 { ac_try='test -s conftest$ac_exeext'
27156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27157 (eval $ac_try) 2>&5
27158 ac_status=$?
27159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27160 (exit $ac_status); }; }; then
27161 eval "$as_ac_var=yes"
27162else
27163 echo "$as_me: failed program was:" >&5
27164sed 's/^/| /' conftest.$ac_ext >&5
27165
27166eval "$as_ac_var=no"
27167fi
27168rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27169fi
27170echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27171echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27172if test `eval echo '${'$as_ac_var'}'` = yes; then
27173 cat >>confdefs.h <<_ACEOF
27174#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27175_ACEOF
27176
27177fi
27178done
27179
27180else
27181 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
27182echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
27183fi
27184
27185
27186
27187ac_ext=cc
27188ac_cpp='$CXXCPP $CPPFLAGS'
27189ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27190ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27191ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27192
27193
27194
27195for ac_func in vsnprintf
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
27279if test "$ac_cv_func_vsnprintf" = "yes"; then
27280 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
27281echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
27282if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
27283 echo $ECHO_N "(cached) $ECHO_C" >&6
27284else
27285
27286 cat >conftest.$ac_ext <<_ACEOF
27287#line $LINENO "configure"
27288/* confdefs.h. */
27289_ACEOF
27290cat confdefs.h >>conftest.$ac_ext
27291cat >>conftest.$ac_ext <<_ACEOF
27292/* end confdefs.h. */
27293
27294 #include <stdio.h>
27295 #include <stdarg.h>
27296
27297int
27298main ()
27299{
27300
27301 char *buf;
27302 va_list ap;
27303 vsnprintf(buf, 10u, "%s", ap);
27304
27305 ;
27306 return 0;
27307}
27308_ACEOF
27309rm -f conftest.$ac_objext
27310if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27311 (eval $ac_compile) 2>&5
27312 ac_status=$?
27313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27314 (exit $ac_status); } &&
27315 { ac_try='test -s conftest.$ac_objext'
27316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27317 (eval $ac_try) 2>&5
27318 ac_status=$?
27319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27320 (exit $ac_status); }; }; then
27321 wx_cv_func_vsnprintf_decl=yes
27322else
27323 echo "$as_me: failed program was:" >&5
27324sed 's/^/| /' conftest.$ac_ext >&5
27325
27326wx_cv_func_vsnprintf_decl=no
27327
27328fi
27329rm -f conftest.$ac_objext conftest.$ac_ext
27330
27331
27332fi
27333echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
27334echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
27335
27336 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
27337 cat >>confdefs.h <<\_ACEOF
27338#define HAVE_VSNPRINTF_DECL 1
27339_ACEOF
27340
27341 fi
27342fi
27343
27344if test "$wxUSE_UNICODE" = yes; then
27345
27346
27347
27348for ac_func in fputwc wprintf vswprintf
27349do
27350as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27351echo "$as_me:$LINENO: checking for $ac_func" >&5
27352echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27353if eval "test \"\${$as_ac_var+set}\" = set"; then
27354 echo $ECHO_N "(cached) $ECHO_C" >&6
27355else
27356 cat >conftest.$ac_ext <<_ACEOF
27357#line $LINENO "configure"
27358/* confdefs.h. */
27359_ACEOF
27360cat confdefs.h >>conftest.$ac_ext
27361cat >>conftest.$ac_ext <<_ACEOF
27362/* end confdefs.h. */
27363/* System header to define __stub macros and hopefully few prototypes,
27364 which can conflict with char $ac_func (); below.
27365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27366 <limits.h> exists even on freestanding compilers. */
27367#ifdef __STDC__
27368# include <limits.h>
27369#else
27370# include <assert.h>
27371#endif
27372/* Override any gcc2 internal prototype to avoid an error. */
27373#ifdef __cplusplus
27374extern "C"
27375{
27376#endif
27377/* We use char because int might match the return type of a gcc2
27378 builtin and then its argument prototype would still apply. */
27379char $ac_func ();
27380/* The GNU C library defines this for functions which it implements
27381 to always fail with ENOSYS. Some functions are actually named
27382 something starting with __ and the normal name is an alias. */
27383#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27384choke me
27385#else
27386char (*f) () = $ac_func;
27387#endif
27388#ifdef __cplusplus
27389}
27390#endif
27391
27392int
27393main ()
27394{
27395return f != $ac_func;
27396 ;
27397 return 0;
27398}
27399_ACEOF
27400rm -f conftest.$ac_objext conftest$ac_exeext
27401if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27402 (eval $ac_link) 2>&5
27403 ac_status=$?
27404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27405 (exit $ac_status); } &&
27406 { ac_try='test -s conftest$ac_exeext'
27407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27408 (eval $ac_try) 2>&5
27409 ac_status=$?
27410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27411 (exit $ac_status); }; }; then
27412 eval "$as_ac_var=yes"
27413else
27414 echo "$as_me: failed program was:" >&5
27415sed 's/^/| /' conftest.$ac_ext >&5
27416
27417eval "$as_ac_var=no"
27418fi
27419rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27420fi
27421echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27422echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27423if test `eval echo '${'$as_ac_var'}'` = yes; then
27424 cat >>confdefs.h <<_ACEOF
27425#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27426_ACEOF
27427
27428fi
27429done
27430
27431
27432 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
27433echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
27434 cat >conftest.$ac_ext <<_ACEOF
27435#line $LINENO "configure"
27436/* confdefs.h. */
27437_ACEOF
27438cat confdefs.h >>conftest.$ac_ext
27439cat >>conftest.$ac_ext <<_ACEOF
27440/* end confdefs.h. */
27441#include <wchar.h>
27442int
27443main ()
27444{
27445&_vsnwprintf;
27446 ;
27447 return 0;
27448}
27449_ACEOF
27450rm -f conftest.$ac_objext
27451if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27452 (eval $ac_compile) 2>&5
27453 ac_status=$?
27454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27455 (exit $ac_status); } &&
27456 { ac_try='test -s conftest.$ac_objext'
27457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27458 (eval $ac_try) 2>&5
27459 ac_status=$?
27460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27461 (exit $ac_status); }; }; then
27462 echo "$as_me:$LINENO: result: yes" >&5
27463echo "${ECHO_T}yes" >&6
27464 cat >>confdefs.h <<\_ACEOF
27465#define HAVE__VSNWPRINTF 1
27466_ACEOF
27467
27468else
27469 echo "$as_me: failed program was:" >&5
27470sed 's/^/| /' conftest.$ac_ext >&5
27471
27472echo "$as_me:$LINENO: result: no" >&5
27473echo "${ECHO_T}no" >&6
27474fi
27475rm -f conftest.$ac_objext conftest.$ac_ext;
27476fi
27477
27478ac_ext=c
27479ac_cpp='$CPP $CPPFLAGS'
27480ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27481ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27482ac_compiler_gnu=$ac_cv_c_compiler_gnu
27483
27484
27485
27486
27487if test "$TOOLKIT" != "MSW"; then
27488
27489
27490
27491
27492ac_ext=cc
27493ac_cpp='$CXXCPP $CPPFLAGS'
27494ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27495ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27496ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27497
27498
27499
27500
27501# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
27502if test "${with_libiconv_prefix+set}" = set; then
27503 withval="$with_libiconv_prefix"
27504
27505 for dir in `echo "$withval" | tr : ' '`; do
27506 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
27507 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
27508 done
27509
27510fi;
27511
27512 echo "$as_me:$LINENO: checking for iconv" >&5
27513echo $ECHO_N "checking for iconv... $ECHO_C" >&6
27514if test "${am_cv_func_iconv+set}" = set; then
27515 echo $ECHO_N "(cached) $ECHO_C" >&6
27516else
27517
27518 am_cv_func_iconv="no, consider installing GNU libiconv"
27519 am_cv_lib_iconv=no
27520 cat >conftest.$ac_ext <<_ACEOF
27521#line $LINENO "configure"
27522/* confdefs.h. */
27523_ACEOF
27524cat confdefs.h >>conftest.$ac_ext
27525cat >>conftest.$ac_ext <<_ACEOF
27526/* end confdefs.h. */
27527#include <stdlib.h>
27528#include <iconv.h>
27529int
27530main ()
27531{
27532iconv_t cd = iconv_open("","");
27533 iconv(cd,NULL,NULL,NULL,NULL);
27534 iconv_close(cd);
27535 ;
27536 return 0;
27537}
27538_ACEOF
27539rm -f conftest.$ac_objext conftest$ac_exeext
27540if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27541 (eval $ac_link) 2>&5
27542 ac_status=$?
27543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27544 (exit $ac_status); } &&
27545 { ac_try='test -s conftest$ac_exeext'
27546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27547 (eval $ac_try) 2>&5
27548 ac_status=$?
27549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550 (exit $ac_status); }; }; then
27551 am_cv_func_iconv=yes
27552else
27553 echo "$as_me: failed program was:" >&5
27554sed 's/^/| /' conftest.$ac_ext >&5
27555
27556fi
27557rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27558 if test "$am_cv_func_iconv" != yes; then
27559 am_save_LIBS="$LIBS"
27560 LIBS="$LIBS -liconv"
27561 cat >conftest.$ac_ext <<_ACEOF
27562#line $LINENO "configure"
27563/* confdefs.h. */
27564_ACEOF
27565cat confdefs.h >>conftest.$ac_ext
27566cat >>conftest.$ac_ext <<_ACEOF
27567/* end confdefs.h. */
27568#include <stdlib.h>
27569#include <iconv.h>
27570int
27571main ()
27572{
27573iconv_t cd = iconv_open("","");
27574 iconv(cd,NULL,NULL,NULL,NULL);
27575 iconv_close(cd);
27576 ;
27577 return 0;
27578}
27579_ACEOF
27580rm -f conftest.$ac_objext conftest$ac_exeext
27581if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27582 (eval $ac_link) 2>&5
27583 ac_status=$?
27584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27585 (exit $ac_status); } &&
27586 { ac_try='test -s conftest$ac_exeext'
27587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27588 (eval $ac_try) 2>&5
27589 ac_status=$?
27590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27591 (exit $ac_status); }; }; then
27592 am_cv_lib_iconv=yes
27593 am_cv_func_iconv=yes
27594else
27595 echo "$as_me: failed program was:" >&5
27596sed 's/^/| /' conftest.$ac_ext >&5
27597
27598fi
27599rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27600 LIBS="$am_save_LIBS"
27601 fi
27602
27603fi
27604echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
27605echo "${ECHO_T}$am_cv_func_iconv" >&6
27606 if test "$am_cv_func_iconv" = yes; then
27607
27608cat >>confdefs.h <<\_ACEOF
27609#define HAVE_ICONV 1
27610_ACEOF
27611
27612 echo "$as_me:$LINENO: checking if iconv needs const" >&5
27613echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
27614if test "${wx_cv_func_iconv_const+set}" = set; then
27615 echo $ECHO_N "(cached) $ECHO_C" >&6
27616else
27617 cat >conftest.$ac_ext <<_ACEOF
27618#line $LINENO "configure"
27619/* confdefs.h. */
27620_ACEOF
27621cat confdefs.h >>conftest.$ac_ext
27622cat >>conftest.$ac_ext <<_ACEOF
27623/* end confdefs.h. */
27624
27625#include <stdlib.h>
27626#include <iconv.h>
27627extern
27628#ifdef __cplusplus
27629"C"
27630#endif
27631#if defined(__STDC__) || defined(__cplusplus)
27632size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27633#else
27634size_t iconv();
27635#endif
27636
27637int
27638main ()
27639{
27640
27641 ;
27642 return 0;
27643}
27644_ACEOF
27645rm -f conftest.$ac_objext
27646if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27647 (eval $ac_compile) 2>&5
27648 ac_status=$?
27649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27650 (exit $ac_status); } &&
27651 { ac_try='test -s conftest.$ac_objext'
27652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27653 (eval $ac_try) 2>&5
27654 ac_status=$?
27655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27656 (exit $ac_status); }; }; then
27657 wx_cv_func_iconv_const="no"
27658else
27659 echo "$as_me: failed program was:" >&5
27660sed 's/^/| /' conftest.$ac_ext >&5
27661
27662wx_cv_func_iconv_const="yes"
27663
27664fi
27665rm -f conftest.$ac_objext conftest.$ac_ext
27666
27667fi
27668echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
27669echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
27670
27671 iconv_const=
27672 if test "x$wx_cv_func_iconv_const" = "xyes"; then
27673 iconv_const="const"
27674 fi
27675
27676
27677cat >>confdefs.h <<_ACEOF
27678#define ICONV_CONST $iconv_const
27679_ACEOF
27680
27681 fi
27682 LIBICONV=
27683 if test "$am_cv_lib_iconv" = yes; then
27684 LIBICONV="-liconv"
27685 fi
27686
27687
27688LIBS="$LIBICONV $LIBS"
27689ac_ext=c
27690ac_cpp='$CPP $CPPFLAGS'
27691ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27692ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27693ac_compiler_gnu=$ac_cv_c_compiler_gnu
27694
27695
27696if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
27697
27698for ac_func in sigaction
27699do
27700as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27701echo "$as_me:$LINENO: checking for $ac_func" >&5
27702echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27703if eval "test \"\${$as_ac_var+set}\" = set"; then
27704 echo $ECHO_N "(cached) $ECHO_C" >&6
27705else
27706 cat >conftest.$ac_ext <<_ACEOF
27707#line $LINENO "configure"
27708/* confdefs.h. */
27709_ACEOF
27710cat confdefs.h >>conftest.$ac_ext
27711cat >>conftest.$ac_ext <<_ACEOF
27712/* end confdefs.h. */
27713/* System header to define __stub macros and hopefully few prototypes,
27714 which can conflict with char $ac_func (); below.
27715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27716 <limits.h> exists even on freestanding compilers. */
27717#ifdef __STDC__
27718# include <limits.h>
27719#else
27720# include <assert.h>
27721#endif
27722/* Override any gcc2 internal prototype to avoid an error. */
27723#ifdef __cplusplus
27724extern "C"
27725{
27726#endif
27727/* We use char because int might match the return type of a gcc2
27728 builtin and then its argument prototype would still apply. */
27729char $ac_func ();
27730/* The GNU C library defines this for functions which it implements
27731 to always fail with ENOSYS. Some functions are actually named
27732 something starting with __ and the normal name is an alias. */
27733#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27734choke me
27735#else
27736char (*f) () = $ac_func;
27737#endif
27738#ifdef __cplusplus
27739}
27740#endif
27741
27742int
27743main ()
27744{
27745return f != $ac_func;
27746 ;
27747 return 0;
27748}
27749_ACEOF
27750rm -f conftest.$ac_objext conftest$ac_exeext
27751if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27752 (eval $ac_link) 2>&5
27753 ac_status=$?
27754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27755 (exit $ac_status); } &&
27756 { ac_try='test -s conftest$ac_exeext'
27757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27758 (eval $ac_try) 2>&5
27759 ac_status=$?
27760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27761 (exit $ac_status); }; }; then
27762 eval "$as_ac_var=yes"
27763else
27764 echo "$as_me: failed program was:" >&5
27765sed 's/^/| /' conftest.$ac_ext >&5
27766
27767eval "$as_ac_var=no"
27768fi
27769rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27770fi
27771echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27772echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27773if test `eval echo '${'$as_ac_var'}'` = yes; then
27774 cat >>confdefs.h <<_ACEOF
27775#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27776_ACEOF
27777
27778fi
27779done
27780
27781
27782 if test "$ac_cv_func_sigaction" = "no"; then
27783 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27784echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27785 wxUSE_ON_FATAL_EXCEPTION=no
27786 fi
27787
27788 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27789
27790
27791 ac_ext=cc
27792ac_cpp='$CXXCPP $CPPFLAGS'
27793ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27794ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27795ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27796
27797
27798 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27799echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27800if test "${wx_cv_type_sa_handler+set}" = set; then
27801 echo $ECHO_N "(cached) $ECHO_C" >&6
27802else
27803
27804 cat >conftest.$ac_ext <<_ACEOF
27805#line $LINENO "configure"
27806/* confdefs.h. */
27807_ACEOF
27808cat confdefs.h >>conftest.$ac_ext
27809cat >>conftest.$ac_ext <<_ACEOF
27810/* end confdefs.h. */
27811#include <signal.h>
27812int
27813main ()
27814{
27815
27816 extern void testSigHandler(int);
27817
27818 struct sigaction sa;
27819 sa.sa_handler = testSigHandler;
27820
27821 ;
27822 return 0;
27823}
27824_ACEOF
27825rm -f conftest.$ac_objext
27826if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27827 (eval $ac_compile) 2>&5
27828 ac_status=$?
27829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27830 (exit $ac_status); } &&
27831 { ac_try='test -s conftest.$ac_objext'
27832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27833 (eval $ac_try) 2>&5
27834 ac_status=$?
27835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27836 (exit $ac_status); }; }; then
27837
27838 wx_cv_type_sa_handler=int
27839
27840else
27841 echo "$as_me: failed program was:" >&5
27842sed 's/^/| /' conftest.$ac_ext >&5
27843
27844
27845 wx_cv_type_sa_handler=void
27846
27847fi
27848rm -f conftest.$ac_objext conftest.$ac_ext
27849
27850fi
27851echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27852echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27853
27854 ac_ext=c
27855ac_cpp='$CPP $CPPFLAGS'
27856ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27857ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27858ac_compiler_gnu=$ac_cv_c_compiler_gnu
27859
27860
27861 cat >>confdefs.h <<_ACEOF
27862#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27863_ACEOF
27864
27865 fi
27866fi
27867
27868
27869
27870for ac_func in mkstemp mktemp
27871do
27872as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27873echo "$as_me:$LINENO: checking for $ac_func" >&5
27874echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27875if eval "test \"\${$as_ac_var+set}\" = set"; then
27876 echo $ECHO_N "(cached) $ECHO_C" >&6
27877else
27878 cat >conftest.$ac_ext <<_ACEOF
27879#line $LINENO "configure"
27880/* confdefs.h. */
27881_ACEOF
27882cat confdefs.h >>conftest.$ac_ext
27883cat >>conftest.$ac_ext <<_ACEOF
27884/* end confdefs.h. */
27885/* System header to define __stub macros and hopefully few prototypes,
27886 which can conflict with char $ac_func (); below.
27887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27888 <limits.h> exists even on freestanding compilers. */
27889#ifdef __STDC__
27890# include <limits.h>
27891#else
27892# include <assert.h>
27893#endif
27894/* Override any gcc2 internal prototype to avoid an error. */
27895#ifdef __cplusplus
27896extern "C"
27897{
27898#endif
27899/* We use char because int might match the return type of a gcc2
27900 builtin and then its argument prototype would still apply. */
27901char $ac_func ();
27902/* The GNU C library defines this for functions which it implements
27903 to always fail with ENOSYS. Some functions are actually named
27904 something starting with __ and the normal name is an alias. */
27905#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27906choke me
27907#else
27908char (*f) () = $ac_func;
27909#endif
27910#ifdef __cplusplus
27911}
27912#endif
27913
27914int
27915main ()
27916{
27917return f != $ac_func;
27918 ;
27919 return 0;
27920}
27921_ACEOF
27922rm -f conftest.$ac_objext conftest$ac_exeext
27923if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27924 (eval $ac_link) 2>&5
27925 ac_status=$?
27926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27927 (exit $ac_status); } &&
27928 { ac_try='test -s conftest$ac_exeext'
27929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27930 (eval $ac_try) 2>&5
27931 ac_status=$?
27932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27933 (exit $ac_status); }; }; then
27934 eval "$as_ac_var=yes"
27935else
27936 echo "$as_me: failed program was:" >&5
27937sed 's/^/| /' conftest.$ac_ext >&5
27938
27939eval "$as_ac_var=no"
27940fi
27941rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27942fi
27943echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27944echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27945if test `eval echo '${'$as_ac_var'}'` = yes; then
27946 cat >>confdefs.h <<_ACEOF
27947#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27948_ACEOF
27949 break
27950fi
27951done
27952
27953
27954echo "$as_me:$LINENO: checking for statfs" >&5
27955echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27956if test "${wx_cv_func_statfs+set}" = set; then
27957 echo $ECHO_N "(cached) $ECHO_C" >&6
27958else
27959 cat >conftest.$ac_ext <<_ACEOF
27960#line $LINENO "configure"
27961/* confdefs.h. */
27962_ACEOF
27963cat confdefs.h >>conftest.$ac_ext
27964cat >>conftest.$ac_ext <<_ACEOF
27965/* end confdefs.h. */
27966
27967 #if defined(__BSD__)
27968 #include <sys/param.h>
27969 #include <sys/mount.h>
27970 #else
27971 #include <sys/vfs.h>
27972 #endif
27973
27974int
27975main ()
27976{
27977
27978 long l;
27979 struct statfs fs;
27980 statfs("/", &fs);
27981 l = fs.f_bsize;
27982 l += fs.f_blocks;
27983 l += fs.f_bavail;
27984
27985 ;
27986 return 0;
27987}
27988_ACEOF
27989rm -f conftest.$ac_objext
27990if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27991 (eval $ac_compile) 2>&5
27992 ac_status=$?
27993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27994 (exit $ac_status); } &&
27995 { ac_try='test -s conftest.$ac_objext'
27996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27997 (eval $ac_try) 2>&5
27998 ac_status=$?
27999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28000 (exit $ac_status); }; }; then
28001
28002 wx_cv_func_statfs=yes
28003
28004else
28005 echo "$as_me: failed program was:" >&5
28006sed 's/^/| /' conftest.$ac_ext >&5
28007
28008
28009 wx_cv_func_statfs=no
28010
28011
28012fi
28013rm -f conftest.$ac_objext conftest.$ac_ext
28014
28015fi
28016echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
28017echo "${ECHO_T}$wx_cv_func_statfs" >&6
28018
28019if test "$wx_cv_func_statfs" = "yes"; then
28020 wx_cv_type_statvfs_t="struct statfs"
28021 cat >>confdefs.h <<\_ACEOF
28022#define HAVE_STATFS 1
28023_ACEOF
28024
28025else
28026 echo "$as_me:$LINENO: checking for statvfs" >&5
28027echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
28028if test "${wx_cv_func_statvfs+set}" = set; then
28029 echo $ECHO_N "(cached) $ECHO_C" >&6
28030else
28031 cat >conftest.$ac_ext <<_ACEOF
28032#line $LINENO "configure"
28033/* confdefs.h. */
28034_ACEOF
28035cat confdefs.h >>conftest.$ac_ext
28036cat >>conftest.$ac_ext <<_ACEOF
28037/* end confdefs.h. */
28038
28039 #include <stddef.h>
28040 #include <sys/statvfs.h>
28041
28042int
28043main ()
28044{
28045
28046 statvfs("/", NULL);
28047
28048 ;
28049 return 0;
28050}
28051_ACEOF
28052rm -f conftest.$ac_objext
28053if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28054 (eval $ac_compile) 2>&5
28055 ac_status=$?
28056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28057 (exit $ac_status); } &&
28058 { ac_try='test -s conftest.$ac_objext'
28059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28060 (eval $ac_try) 2>&5
28061 ac_status=$?
28062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28063 (exit $ac_status); }; }; then
28064 wx_cv_func_statvfs=yes
28065else
28066 echo "$as_me: failed program was:" >&5
28067sed 's/^/| /' conftest.$ac_ext >&5
28068
28069wx_cv_func_statvfs=no
28070
28071fi
28072rm -f conftest.$ac_objext conftest.$ac_ext
28073
28074fi
28075echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
28076echo "${ECHO_T}$wx_cv_func_statvfs" >&6
28077
28078 if test "$wx_cv_func_statvfs" = "yes"; then
28079
28080
28081 ac_ext=cc
28082ac_cpp='$CXXCPP $CPPFLAGS'
28083ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28084ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28085ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28086
28087
28088 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
28089echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
28090if test "${wx_cv_type_statvfs_t+set}" = set; then
28091 echo $ECHO_N "(cached) $ECHO_C" >&6
28092else
28093 cat >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 #include <sys/statvfs.h>
28102
28103int
28104main ()
28105{
28106
28107 long l;
28108 statvfs_t fs;
28109 statvfs("/", &fs);
28110 l = fs.f_bsize;
28111 l += fs.f_blocks;
28112 l += fs.f_bavail;
28113
28114 ;
28115 return 0;
28116}
28117_ACEOF
28118rm -f conftest.$ac_objext
28119if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28120 (eval $ac_compile) 2>&5
28121 ac_status=$?
28122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 (exit $ac_status); } &&
28124 { ac_try='test -s conftest.$ac_objext'
28125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28126 (eval $ac_try) 2>&5
28127 ac_status=$?
28128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28129 (exit $ac_status); }; }; then
28130 wx_cv_type_statvfs_t=statvfs_t
28131else
28132 echo "$as_me: failed program was:" >&5
28133sed 's/^/| /' conftest.$ac_ext >&5
28134
28135
28136 cat >conftest.$ac_ext <<_ACEOF
28137#line $LINENO "configure"
28138/* confdefs.h. */
28139_ACEOF
28140cat confdefs.h >>conftest.$ac_ext
28141cat >>conftest.$ac_ext <<_ACEOF
28142/* end confdefs.h. */
28143
28144 #include <sys/statvfs.h>
28145
28146int
28147main ()
28148{
28149
28150 long l;
28151 struct statvfs fs;
28152 statvfs("/", &fs);
28153 l = fs.f_bsize;
28154 l += fs.f_blocks;
28155 l += fs.f_bavail;
28156
28157 ;
28158 return 0;
28159}
28160_ACEOF
28161rm -f conftest.$ac_objext
28162if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28163 (eval $ac_compile) 2>&5
28164 ac_status=$?
28165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28166 (exit $ac_status); } &&
28167 { ac_try='test -s conftest.$ac_objext'
28168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28169 (eval $ac_try) 2>&5
28170 ac_status=$?
28171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28172 (exit $ac_status); }; }; then
28173 wx_cv_type_statvfs_t="struct statvfs"
28174else
28175 echo "$as_me: failed program was:" >&5
28176sed 's/^/| /' conftest.$ac_ext >&5
28177
28178wx_cv_type_statvfs_t="unknown"
28179
28180fi
28181rm -f conftest.$ac_objext conftest.$ac_ext
28182
28183
28184fi
28185rm -f conftest.$ac_objext conftest.$ac_ext
28186
28187fi
28188echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
28189echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
28190
28191 ac_ext=c
28192ac_cpp='$CPP $CPPFLAGS'
28193ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28194ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28195ac_compiler_gnu=$ac_cv_c_compiler_gnu
28196
28197
28198 if test "$wx_cv_type_statvfs_t" != "unknown"; then
28199 cat >>confdefs.h <<\_ACEOF
28200#define HAVE_STATVFS 1
28201_ACEOF
28202
28203 fi
28204 else
28205 wx_cv_type_statvfs_t="unknown"
28206 fi
28207fi
28208
28209if test "$wx_cv_type_statvfs_t" != "unknown"; then
28210 cat >>confdefs.h <<_ACEOF
28211#define WX_STATFS_T $wx_cv_type_statvfs_t
28212_ACEOF
28213
28214else
28215 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
28216echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
28217fi
28218
28219if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
28220
28221
28222for ac_func in fcntl flock
28223do
28224as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28225echo "$as_me:$LINENO: checking for $ac_func" >&5
28226echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28227if eval "test \"\${$as_ac_var+set}\" = set"; then
28228 echo $ECHO_N "(cached) $ECHO_C" >&6
28229else
28230 cat >conftest.$ac_ext <<_ACEOF
28231#line $LINENO "configure"
28232/* confdefs.h. */
28233_ACEOF
28234cat confdefs.h >>conftest.$ac_ext
28235cat >>conftest.$ac_ext <<_ACEOF
28236/* end confdefs.h. */
28237/* System header to define __stub macros and hopefully few prototypes,
28238 which can conflict with char $ac_func (); below.
28239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28240 <limits.h> exists even on freestanding compilers. */
28241#ifdef __STDC__
28242# include <limits.h>
28243#else
28244# include <assert.h>
28245#endif
28246/* Override any gcc2 internal prototype to avoid an error. */
28247#ifdef __cplusplus
28248extern "C"
28249{
28250#endif
28251/* We use char because int might match the return type of a gcc2
28252 builtin and then its argument prototype would still apply. */
28253char $ac_func ();
28254/* The GNU C library defines this for functions which it implements
28255 to always fail with ENOSYS. Some functions are actually named
28256 something starting with __ and the normal name is an alias. */
28257#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28258choke me
28259#else
28260char (*f) () = $ac_func;
28261#endif
28262#ifdef __cplusplus
28263}
28264#endif
28265
28266int
28267main ()
28268{
28269return f != $ac_func;
28270 ;
28271 return 0;
28272}
28273_ACEOF
28274rm -f conftest.$ac_objext conftest$ac_exeext
28275if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28276 (eval $ac_link) 2>&5
28277 ac_status=$?
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); } &&
28280 { ac_try='test -s conftest$ac_exeext'
28281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28282 (eval $ac_try) 2>&5
28283 ac_status=$?
28284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28285 (exit $ac_status); }; }; then
28286 eval "$as_ac_var=yes"
28287else
28288 echo "$as_me: failed program was:" >&5
28289sed 's/^/| /' conftest.$ac_ext >&5
28290
28291eval "$as_ac_var=no"
28292fi
28293rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28294fi
28295echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28296echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28297if test `eval echo '${'$as_ac_var'}'` = yes; then
28298 cat >>confdefs.h <<_ACEOF
28299#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28300_ACEOF
28301 break
28302fi
28303done
28304
28305
28306 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
28307 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
28308echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
28309 wxUSE_SNGLINST_CHECKER=no
28310 fi
28311fi
28312
28313
28314for ac_func in timegm
28315do
28316as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28317echo "$as_me:$LINENO: checking for $ac_func" >&5
28318echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28319if eval "test \"\${$as_ac_var+set}\" = set"; then
28320 echo $ECHO_N "(cached) $ECHO_C" >&6
28321else
28322 cat >conftest.$ac_ext <<_ACEOF
28323#line $LINENO "configure"
28324/* confdefs.h. */
28325_ACEOF
28326cat confdefs.h >>conftest.$ac_ext
28327cat >>conftest.$ac_ext <<_ACEOF
28328/* end confdefs.h. */
28329/* System header to define __stub macros and hopefully few prototypes,
28330 which can conflict with char $ac_func (); below.
28331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28332 <limits.h> exists even on freestanding compilers. */
28333#ifdef __STDC__
28334# include <limits.h>
28335#else
28336# include <assert.h>
28337#endif
28338/* Override any gcc2 internal prototype to avoid an error. */
28339#ifdef __cplusplus
28340extern "C"
28341{
28342#endif
28343/* We use char because int might match the return type of a gcc2
28344 builtin and then its argument prototype would still apply. */
28345char $ac_func ();
28346/* The GNU C library defines this for functions which it implements
28347 to always fail with ENOSYS. Some functions are actually named
28348 something starting with __ and the normal name is an alias. */
28349#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28350choke me
28351#else
28352char (*f) () = $ac_func;
28353#endif
28354#ifdef __cplusplus
28355}
28356#endif
28357
28358int
28359main ()
28360{
28361return f != $ac_func;
28362 ;
28363 return 0;
28364}
28365_ACEOF
28366rm -f conftest.$ac_objext conftest$ac_exeext
28367if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28368 (eval $ac_link) 2>&5
28369 ac_status=$?
28370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28371 (exit $ac_status); } &&
28372 { ac_try='test -s conftest$ac_exeext'
28373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28374 (eval $ac_try) 2>&5
28375 ac_status=$?
28376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28377 (exit $ac_status); }; }; then
28378 eval "$as_ac_var=yes"
28379else
28380 echo "$as_me: failed program was:" >&5
28381sed 's/^/| /' conftest.$ac_ext >&5
28382
28383eval "$as_ac_var=no"
28384fi
28385rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28386fi
28387echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28388echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28389if test `eval echo '${'$as_ac_var'}'` = yes; then
28390 cat >>confdefs.h <<_ACEOF
28391#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28392_ACEOF
28393
28394fi
28395done
28396
28397
28398
28399
28400for ac_func in putenv setenv
28401do
28402as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28403echo "$as_me:$LINENO: checking for $ac_func" >&5
28404echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28405if eval "test \"\${$as_ac_var+set}\" = set"; then
28406 echo $ECHO_N "(cached) $ECHO_C" >&6
28407else
28408 cat >conftest.$ac_ext <<_ACEOF
28409#line $LINENO "configure"
28410/* confdefs.h. */
28411_ACEOF
28412cat confdefs.h >>conftest.$ac_ext
28413cat >>conftest.$ac_ext <<_ACEOF
28414/* end confdefs.h. */
28415/* System header to define __stub macros and hopefully few prototypes,
28416 which can conflict with char $ac_func (); below.
28417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28418 <limits.h> exists even on freestanding compilers. */
28419#ifdef __STDC__
28420# include <limits.h>
28421#else
28422# include <assert.h>
28423#endif
28424/* Override any gcc2 internal prototype to avoid an error. */
28425#ifdef __cplusplus
28426extern "C"
28427{
28428#endif
28429/* We use char because int might match the return type of a gcc2
28430 builtin and then its argument prototype would still apply. */
28431char $ac_func ();
28432/* The GNU C library defines this for functions which it implements
28433 to always fail with ENOSYS. Some functions are actually named
28434 something starting with __ and the normal name is an alias. */
28435#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28436choke me
28437#else
28438char (*f) () = $ac_func;
28439#endif
28440#ifdef __cplusplus
28441}
28442#endif
28443
28444int
28445main ()
28446{
28447return f != $ac_func;
28448 ;
28449 return 0;
28450}
28451_ACEOF
28452rm -f conftest.$ac_objext conftest$ac_exeext
28453if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28454 (eval $ac_link) 2>&5
28455 ac_status=$?
28456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28457 (exit $ac_status); } &&
28458 { ac_try='test -s conftest$ac_exeext'
28459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28460 (eval $ac_try) 2>&5
28461 ac_status=$?
28462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28463 (exit $ac_status); }; }; then
28464 eval "$as_ac_var=yes"
28465else
28466 echo "$as_me: failed program was:" >&5
28467sed 's/^/| /' conftest.$ac_ext >&5
28468
28469eval "$as_ac_var=no"
28470fi
28471rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28472fi
28473echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28474echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28475if test `eval echo '${'$as_ac_var'}'` = yes; then
28476 cat >>confdefs.h <<_ACEOF
28477#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28478_ACEOF
28479 break
28480fi
28481done
28482
28483
28484HAVE_SOME_SLEEP_FUNC=0
28485if test "$USE_BEOS" = 1; then
28486 cat >>confdefs.h <<\_ACEOF
28487#define HAVE_SLEEP 1
28488_ACEOF
28489
28490 HAVE_SOME_SLEEP_FUNC=1
28491fi
28492
28493if test "$USE_DARWIN" = 1; then
28494 cat >>confdefs.h <<\_ACEOF
28495#define HAVE_USLEEP 1
28496_ACEOF
28497
28498 HAVE_SOME_SLEEP_FUNC=1
28499fi
28500
28501if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
28502 POSIX4_LINK=
28503
28504for ac_func in nanosleep
28505do
28506as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28507echo "$as_me:$LINENO: checking for $ac_func" >&5
28508echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28509if eval "test \"\${$as_ac_var+set}\" = set"; then
28510 echo $ECHO_N "(cached) $ECHO_C" >&6
28511else
28512 cat >conftest.$ac_ext <<_ACEOF
28513#line $LINENO "configure"
28514/* confdefs.h. */
28515_ACEOF
28516cat confdefs.h >>conftest.$ac_ext
28517cat >>conftest.$ac_ext <<_ACEOF
28518/* end confdefs.h. */
28519/* System header to define __stub macros and hopefully few prototypes,
28520 which can conflict with char $ac_func (); below.
28521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28522 <limits.h> exists even on freestanding compilers. */
28523#ifdef __STDC__
28524# include <limits.h>
28525#else
28526# include <assert.h>
28527#endif
28528/* Override any gcc2 internal prototype to avoid an error. */
28529#ifdef __cplusplus
28530extern "C"
28531{
28532#endif
28533/* We use char because int might match the return type of a gcc2
28534 builtin and then its argument prototype would still apply. */
28535char $ac_func ();
28536/* The GNU C library defines this for functions which it implements
28537 to always fail with ENOSYS. Some functions are actually named
28538 something starting with __ and the normal name is an alias. */
28539#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28540choke me
28541#else
28542char (*f) () = $ac_func;
28543#endif
28544#ifdef __cplusplus
28545}
28546#endif
28547
28548int
28549main ()
28550{
28551return f != $ac_func;
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 eval "$as_ac_var=yes"
28569else
28570 echo "$as_me: failed program was:" >&5
28571sed 's/^/| /' conftest.$ac_ext >&5
28572
28573eval "$as_ac_var=no"
28574fi
28575rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28576fi
28577echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28578echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28579if test `eval echo '${'$as_ac_var'}'` = yes; then
28580 cat >>confdefs.h <<_ACEOF
28581#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28582_ACEOF
28583 cat >>confdefs.h <<\_ACEOF
28584#define HAVE_NANOSLEEP 1
28585_ACEOF
28586
28587else
28588
28589 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
28590echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
28591if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
28592 echo $ECHO_N "(cached) $ECHO_C" >&6
28593else
28594 ac_check_lib_save_LIBS=$LIBS
28595LIBS="-lposix4 $LIBS"
28596cat >conftest.$ac_ext <<_ACEOF
28597#line $LINENO "configure"
28598/* confdefs.h. */
28599_ACEOF
28600cat confdefs.h >>conftest.$ac_ext
28601cat >>conftest.$ac_ext <<_ACEOF
28602/* end confdefs.h. */
28603
28604/* Override any gcc2 internal prototype to avoid an error. */
28605#ifdef __cplusplus
28606extern "C"
28607#endif
28608/* We use char because int might match the return type of a gcc2
28609 builtin and then its argument prototype would still apply. */
28610char nanosleep ();
28611int
28612main ()
28613{
28614nanosleep ();
28615 ;
28616 return 0;
28617}
28618_ACEOF
28619rm -f conftest.$ac_objext conftest$ac_exeext
28620if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28621 (eval $ac_link) 2>&5
28622 ac_status=$?
28623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28624 (exit $ac_status); } &&
28625 { ac_try='test -s conftest$ac_exeext'
28626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28627 (eval $ac_try) 2>&5
28628 ac_status=$?
28629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28630 (exit $ac_status); }; }; then
28631 ac_cv_lib_posix4_nanosleep=yes
28632else
28633 echo "$as_me: failed program was:" >&5
28634sed 's/^/| /' conftest.$ac_ext >&5
28635
28636ac_cv_lib_posix4_nanosleep=no
28637fi
28638rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28639LIBS=$ac_check_lib_save_LIBS
28640fi
28641echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
28642echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
28643if test $ac_cv_lib_posix4_nanosleep = yes; then
28644
28645 cat >>confdefs.h <<\_ACEOF
28646#define HAVE_NANOSLEEP 1
28647_ACEOF
28648
28649 POSIX4_LINK=" -lposix4"
28650
28651else
28652
28653
28654for ac_func in usleep
28655do
28656as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28657echo "$as_me:$LINENO: checking for $ac_func" >&5
28658echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28659if eval "test \"\${$as_ac_var+set}\" = set"; then
28660 echo $ECHO_N "(cached) $ECHO_C" >&6
28661else
28662 cat >conftest.$ac_ext <<_ACEOF
28663#line $LINENO "configure"
28664/* confdefs.h. */
28665_ACEOF
28666cat confdefs.h >>conftest.$ac_ext
28667cat >>conftest.$ac_ext <<_ACEOF
28668/* end confdefs.h. */
28669/* System header to define __stub macros and hopefully few prototypes,
28670 which can conflict with char $ac_func (); below.
28671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28672 <limits.h> exists even on freestanding compilers. */
28673#ifdef __STDC__
28674# include <limits.h>
28675#else
28676# include <assert.h>
28677#endif
28678/* Override any gcc2 internal prototype to avoid an error. */
28679#ifdef __cplusplus
28680extern "C"
28681{
28682#endif
28683/* We use char because int might match the return type of a gcc2
28684 builtin and then its argument prototype would still apply. */
28685char $ac_func ();
28686/* The GNU C library defines this for functions which it implements
28687 to always fail with ENOSYS. Some functions are actually named
28688 something starting with __ and the normal name is an alias. */
28689#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28690choke me
28691#else
28692char (*f) () = $ac_func;
28693#endif
28694#ifdef __cplusplus
28695}
28696#endif
28697
28698int
28699main ()
28700{
28701return f != $ac_func;
28702 ;
28703 return 0;
28704}
28705_ACEOF
28706rm -f conftest.$ac_objext conftest$ac_exeext
28707if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28708 (eval $ac_link) 2>&5
28709 ac_status=$?
28710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28711 (exit $ac_status); } &&
28712 { ac_try='test -s conftest$ac_exeext'
28713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28714 (eval $ac_try) 2>&5
28715 ac_status=$?
28716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28717 (exit $ac_status); }; }; then
28718 eval "$as_ac_var=yes"
28719else
28720 echo "$as_me: failed program was:" >&5
28721sed 's/^/| /' conftest.$ac_ext >&5
28722
28723eval "$as_ac_var=no"
28724fi
28725rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28726fi
28727echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28728echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28729if test `eval echo '${'$as_ac_var'}'` = yes; then
28730 cat >>confdefs.h <<_ACEOF
28731#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28732_ACEOF
28733 cat >>confdefs.h <<\_ACEOF
28734#define HAVE_USLEEP 1
28735_ACEOF
28736
28737else
28738 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28739echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28740
28741fi
28742done
28743
28744
28745
28746fi
28747
28748
28749
28750fi
28751done
28752
28753fi
28754
28755
28756
28757for ac_func in uname gethostname
28758do
28759as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28760echo "$as_me:$LINENO: checking for $ac_func" >&5
28761echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28762if eval "test \"\${$as_ac_var+set}\" = set"; then
28763 echo $ECHO_N "(cached) $ECHO_C" >&6
28764else
28765 cat >conftest.$ac_ext <<_ACEOF
28766#line $LINENO "configure"
28767/* confdefs.h. */
28768_ACEOF
28769cat confdefs.h >>conftest.$ac_ext
28770cat >>conftest.$ac_ext <<_ACEOF
28771/* end confdefs.h. */
28772/* System header to define __stub macros and hopefully few prototypes,
28773 which can conflict with char $ac_func (); below.
28774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28775 <limits.h> exists even on freestanding compilers. */
28776#ifdef __STDC__
28777# include <limits.h>
28778#else
28779# include <assert.h>
28780#endif
28781/* Override any gcc2 internal prototype to avoid an error. */
28782#ifdef __cplusplus
28783extern "C"
28784{
28785#endif
28786/* We use char because int might match the return type of a gcc2
28787 builtin and then its argument prototype would still apply. */
28788char $ac_func ();
28789/* The GNU C library defines this for functions which it implements
28790 to always fail with ENOSYS. Some functions are actually named
28791 something starting with __ and the normal name is an alias. */
28792#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28793choke me
28794#else
28795char (*f) () = $ac_func;
28796#endif
28797#ifdef __cplusplus
28798}
28799#endif
28800
28801int
28802main ()
28803{
28804return f != $ac_func;
28805 ;
28806 return 0;
28807}
28808_ACEOF
28809rm -f conftest.$ac_objext conftest$ac_exeext
28810if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28811 (eval $ac_link) 2>&5
28812 ac_status=$?
28813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28814 (exit $ac_status); } &&
28815 { ac_try='test -s conftest$ac_exeext'
28816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28817 (eval $ac_try) 2>&5
28818 ac_status=$?
28819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28820 (exit $ac_status); }; }; then
28821 eval "$as_ac_var=yes"
28822else
28823 echo "$as_me: failed program was:" >&5
28824sed 's/^/| /' conftest.$ac_ext >&5
28825
28826eval "$as_ac_var=no"
28827fi
28828rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28829fi
28830echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28831echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28832if test `eval echo '${'$as_ac_var'}'` = yes; then
28833 cat >>confdefs.h <<_ACEOF
28834#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28835_ACEOF
28836 break
28837fi
28838done
28839
28840
28841
28842
28843ac_ext=cc
28844ac_cpp='$CXXCPP $CPPFLAGS'
28845ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28846ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28847ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28848
28849
28850
28851for ac_func in strtok_r
28852do
28853as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28854echo "$as_me:$LINENO: checking for $ac_func" >&5
28855echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28856if eval "test \"\${$as_ac_var+set}\" = set"; then
28857 echo $ECHO_N "(cached) $ECHO_C" >&6
28858else
28859 cat >conftest.$ac_ext <<_ACEOF
28860#line $LINENO "configure"
28861/* confdefs.h. */
28862_ACEOF
28863cat confdefs.h >>conftest.$ac_ext
28864cat >>conftest.$ac_ext <<_ACEOF
28865/* end confdefs.h. */
28866/* System header to define __stub macros and hopefully few prototypes,
28867 which can conflict with char $ac_func (); below.
28868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28869 <limits.h> exists even on freestanding compilers. */
28870#ifdef __STDC__
28871# include <limits.h>
28872#else
28873# include <assert.h>
28874#endif
28875/* Override any gcc2 internal prototype to avoid an error. */
28876#ifdef __cplusplus
28877extern "C"
28878{
28879#endif
28880/* We use char because int might match the return type of a gcc2
28881 builtin and then its argument prototype would still apply. */
28882char $ac_func ();
28883/* The GNU C library defines this for functions which it implements
28884 to always fail with ENOSYS. Some functions are actually named
28885 something starting with __ and the normal name is an alias. */
28886#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28887choke me
28888#else
28889char (*f) () = $ac_func;
28890#endif
28891#ifdef __cplusplus
28892}
28893#endif
28894
28895int
28896main ()
28897{
28898return f != $ac_func;
28899 ;
28900 return 0;
28901}
28902_ACEOF
28903rm -f conftest.$ac_objext conftest$ac_exeext
28904if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28905 (eval $ac_link) 2>&5
28906 ac_status=$?
28907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908 (exit $ac_status); } &&
28909 { ac_try='test -s conftest$ac_exeext'
28910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28911 (eval $ac_try) 2>&5
28912 ac_status=$?
28913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28914 (exit $ac_status); }; }; then
28915 eval "$as_ac_var=yes"
28916else
28917 echo "$as_me: failed program was:" >&5
28918sed 's/^/| /' conftest.$ac_ext >&5
28919
28920eval "$as_ac_var=no"
28921fi
28922rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28923fi
28924echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28925echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28926if test `eval echo '${'$as_ac_var'}'` = yes; then
28927 cat >>confdefs.h <<_ACEOF
28928#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28929_ACEOF
28930
28931fi
28932done
28933
28934
28935ac_ext=c
28936ac_cpp='$CPP $CPPFLAGS'
28937ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28938ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28939ac_compiler_gnu=$ac_cv_c_compiler_gnu
28940
28941
28942INET_LINK=
28943
28944for ac_func in inet_addr
28945do
28946as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28947echo "$as_me:$LINENO: checking for $ac_func" >&5
28948echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28949if eval "test \"\${$as_ac_var+set}\" = set"; then
28950 echo $ECHO_N "(cached) $ECHO_C" >&6
28951else
28952 cat >conftest.$ac_ext <<_ACEOF
28953#line $LINENO "configure"
28954/* confdefs.h. */
28955_ACEOF
28956cat confdefs.h >>conftest.$ac_ext
28957cat >>conftest.$ac_ext <<_ACEOF
28958/* end confdefs.h. */
28959/* System header to define __stub macros and hopefully few prototypes,
28960 which can conflict with char $ac_func (); below.
28961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28962 <limits.h> exists even on freestanding compilers. */
28963#ifdef __STDC__
28964# include <limits.h>
28965#else
28966# include <assert.h>
28967#endif
28968/* Override any gcc2 internal prototype to avoid an error. */
28969#ifdef __cplusplus
28970extern "C"
28971{
28972#endif
28973/* We use char because int might match the return type of a gcc2
28974 builtin and then its argument prototype would still apply. */
28975char $ac_func ();
28976/* The GNU C library defines this for functions which it implements
28977 to always fail with ENOSYS. Some functions are actually named
28978 something starting with __ and the normal name is an alias. */
28979#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28980choke me
28981#else
28982char (*f) () = $ac_func;
28983#endif
28984#ifdef __cplusplus
28985}
28986#endif
28987
28988int
28989main ()
28990{
28991return f != $ac_func;
28992 ;
28993 return 0;
28994}
28995_ACEOF
28996rm -f conftest.$ac_objext conftest$ac_exeext
28997if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28998 (eval $ac_link) 2>&5
28999 ac_status=$?
29000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29001 (exit $ac_status); } &&
29002 { ac_try='test -s conftest$ac_exeext'
29003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29004 (eval $ac_try) 2>&5
29005 ac_status=$?
29006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29007 (exit $ac_status); }; }; then
29008 eval "$as_ac_var=yes"
29009else
29010 echo "$as_me: failed program was:" >&5
29011sed 's/^/| /' conftest.$ac_ext >&5
29012
29013eval "$as_ac_var=no"
29014fi
29015rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29016fi
29017echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29018echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29019if test `eval echo '${'$as_ac_var'}'` = yes; then
29020 cat >>confdefs.h <<_ACEOF
29021#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29022_ACEOF
29023 cat >>confdefs.h <<\_ACEOF
29024#define HAVE_INET_ADDR 1
29025_ACEOF
29026
29027else
29028
29029 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
29030echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
29031if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
29032 echo $ECHO_N "(cached) $ECHO_C" >&6
29033else
29034 ac_check_lib_save_LIBS=$LIBS
29035LIBS="-lnsl $LIBS"
29036cat >conftest.$ac_ext <<_ACEOF
29037#line $LINENO "configure"
29038/* confdefs.h. */
29039_ACEOF
29040cat confdefs.h >>conftest.$ac_ext
29041cat >>conftest.$ac_ext <<_ACEOF
29042/* end confdefs.h. */
29043
29044/* Override any gcc2 internal prototype to avoid an error. */
29045#ifdef __cplusplus
29046extern "C"
29047#endif
29048/* We use char because int might match the return type of a gcc2
29049 builtin and then its argument prototype would still apply. */
29050char inet_addr ();
29051int
29052main ()
29053{
29054inet_addr ();
29055 ;
29056 return 0;
29057}
29058_ACEOF
29059rm -f conftest.$ac_objext conftest$ac_exeext
29060if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29061 (eval $ac_link) 2>&5
29062 ac_status=$?
29063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29064 (exit $ac_status); } &&
29065 { ac_try='test -s conftest$ac_exeext'
29066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29067 (eval $ac_try) 2>&5
29068 ac_status=$?
29069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29070 (exit $ac_status); }; }; then
29071 ac_cv_lib_nsl_inet_addr=yes
29072else
29073 echo "$as_me: failed program was:" >&5
29074sed 's/^/| /' conftest.$ac_ext >&5
29075
29076ac_cv_lib_nsl_inet_addr=no
29077fi
29078rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29079LIBS=$ac_check_lib_save_LIBS
29080fi
29081echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
29082echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
29083if test $ac_cv_lib_nsl_inet_addr = yes; then
29084 INET_LINK="nsl"
29085else
29086
29087 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
29088echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
29089if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
29090 echo $ECHO_N "(cached) $ECHO_C" >&6
29091else
29092 ac_check_lib_save_LIBS=$LIBS
29093LIBS="-lresolv $LIBS"
29094cat >conftest.$ac_ext <<_ACEOF
29095#line $LINENO "configure"
29096/* confdefs.h. */
29097_ACEOF
29098cat confdefs.h >>conftest.$ac_ext
29099cat >>conftest.$ac_ext <<_ACEOF
29100/* end confdefs.h. */
29101
29102/* Override any gcc2 internal prototype to avoid an error. */
29103#ifdef __cplusplus
29104extern "C"
29105#endif
29106/* We use char because int might match the return type of a gcc2
29107 builtin and then its argument prototype would still apply. */
29108char inet_addr ();
29109int
29110main ()
29111{
29112inet_addr ();
29113 ;
29114 return 0;
29115}
29116_ACEOF
29117rm -f conftest.$ac_objext conftest$ac_exeext
29118if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29119 (eval $ac_link) 2>&5
29120 ac_status=$?
29121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29122 (exit $ac_status); } &&
29123 { ac_try='test -s conftest$ac_exeext'
29124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29125 (eval $ac_try) 2>&5
29126 ac_status=$?
29127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29128 (exit $ac_status); }; }; then
29129 ac_cv_lib_resolv_inet_addr=yes
29130else
29131 echo "$as_me: failed program was:" >&5
29132sed 's/^/| /' conftest.$ac_ext >&5
29133
29134ac_cv_lib_resolv_inet_addr=no
29135fi
29136rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29137LIBS=$ac_check_lib_save_LIBS
29138fi
29139echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
29140echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
29141if test $ac_cv_lib_resolv_inet_addr = yes; then
29142 INET_LINK="resolv"
29143else
29144
29145 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
29146echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
29147if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
29148 echo $ECHO_N "(cached) $ECHO_C" >&6
29149else
29150 ac_check_lib_save_LIBS=$LIBS
29151LIBS="-lsocket $LIBS"
29152cat >conftest.$ac_ext <<_ACEOF
29153#line $LINENO "configure"
29154/* confdefs.h. */
29155_ACEOF
29156cat confdefs.h >>conftest.$ac_ext
29157cat >>conftest.$ac_ext <<_ACEOF
29158/* end confdefs.h. */
29159
29160/* Override any gcc2 internal prototype to avoid an error. */
29161#ifdef __cplusplus
29162extern "C"
29163#endif
29164/* We use char because int might match the return type of a gcc2
29165 builtin and then its argument prototype would still apply. */
29166char inet_addr ();
29167int
29168main ()
29169{
29170inet_addr ();
29171 ;
29172 return 0;
29173}
29174_ACEOF
29175rm -f conftest.$ac_objext conftest$ac_exeext
29176if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29177 (eval $ac_link) 2>&5
29178 ac_status=$?
29179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29180 (exit $ac_status); } &&
29181 { ac_try='test -s conftest$ac_exeext'
29182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29183 (eval $ac_try) 2>&5
29184 ac_status=$?
29185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29186 (exit $ac_status); }; }; then
29187 ac_cv_lib_socket_inet_addr=yes
29188else
29189 echo "$as_me: failed program was:" >&5
29190sed 's/^/| /' conftest.$ac_ext >&5
29191
29192ac_cv_lib_socket_inet_addr=no
29193fi
29194rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29195LIBS=$ac_check_lib_save_LIBS
29196fi
29197echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
29198echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
29199if test $ac_cv_lib_socket_inet_addr = yes; then
29200 INET_LINK="socket"
29201
29202fi
29203
29204
29205
29206fi
29207
29208
29209
29210fi
29211
29212
29213
29214fi
29215done
29216
29217
29218
29219for ac_func in inet_aton
29220do
29221as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29222echo "$as_me:$LINENO: checking for $ac_func" >&5
29223echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29224if eval "test \"\${$as_ac_var+set}\" = set"; then
29225 echo $ECHO_N "(cached) $ECHO_C" >&6
29226else
29227 cat >conftest.$ac_ext <<_ACEOF
29228#line $LINENO "configure"
29229/* confdefs.h. */
29230_ACEOF
29231cat confdefs.h >>conftest.$ac_ext
29232cat >>conftest.$ac_ext <<_ACEOF
29233/* end confdefs.h. */
29234/* System header to define __stub macros and hopefully few prototypes,
29235 which can conflict with char $ac_func (); below.
29236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29237 <limits.h> exists even on freestanding compilers. */
29238#ifdef __STDC__
29239# include <limits.h>
29240#else
29241# include <assert.h>
29242#endif
29243/* Override any gcc2 internal prototype to avoid an error. */
29244#ifdef __cplusplus
29245extern "C"
29246{
29247#endif
29248/* We use char because int might match the return type of a gcc2
29249 builtin and then its argument prototype would still apply. */
29250char $ac_func ();
29251/* The GNU C library defines this for functions which it implements
29252 to always fail with ENOSYS. Some functions are actually named
29253 something starting with __ and the normal name is an alias. */
29254#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29255choke me
29256#else
29257char (*f) () = $ac_func;
29258#endif
29259#ifdef __cplusplus
29260}
29261#endif
29262
29263int
29264main ()
29265{
29266return f != $ac_func;
29267 ;
29268 return 0;
29269}
29270_ACEOF
29271rm -f conftest.$ac_objext conftest$ac_exeext
29272if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29273 (eval $ac_link) 2>&5
29274 ac_status=$?
29275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29276 (exit $ac_status); } &&
29277 { ac_try='test -s conftest$ac_exeext'
29278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29279 (eval $ac_try) 2>&5
29280 ac_status=$?
29281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29282 (exit $ac_status); }; }; then
29283 eval "$as_ac_var=yes"
29284else
29285 echo "$as_me: failed program was:" >&5
29286sed 's/^/| /' conftest.$ac_ext >&5
29287
29288eval "$as_ac_var=no"
29289fi
29290rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29291fi
29292echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29293echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29294if test `eval echo '${'$as_ac_var'}'` = yes; then
29295 cat >>confdefs.h <<_ACEOF
29296#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29297_ACEOF
29298 cat >>confdefs.h <<\_ACEOF
29299#define HAVE_INET_ATON 1
29300_ACEOF
29301
29302else
29303
29304 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
29305echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
29306echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
29307if eval "test \"\${$as_ac_Lib+set}\" = set"; then
29308 echo $ECHO_N "(cached) $ECHO_C" >&6
29309else
29310 ac_check_lib_save_LIBS=$LIBS
29311LIBS="-l$INET_LINK $LIBS"
29312cat >conftest.$ac_ext <<_ACEOF
29313#line $LINENO "configure"
29314/* confdefs.h. */
29315_ACEOF
29316cat confdefs.h >>conftest.$ac_ext
29317cat >>conftest.$ac_ext <<_ACEOF
29318/* end confdefs.h. */
29319
29320/* Override any gcc2 internal prototype to avoid an error. */
29321#ifdef __cplusplus
29322extern "C"
29323#endif
29324/* We use char because int might match the return type of a gcc2
29325 builtin and then its argument prototype would still apply. */
29326char inet_aton ();
29327int
29328main ()
29329{
29330inet_aton ();
29331 ;
29332 return 0;
29333}
29334_ACEOF
29335rm -f conftest.$ac_objext conftest$ac_exeext
29336if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29337 (eval $ac_link) 2>&5
29338 ac_status=$?
29339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29340 (exit $ac_status); } &&
29341 { ac_try='test -s conftest$ac_exeext'
29342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29343 (eval $ac_try) 2>&5
29344 ac_status=$?
29345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29346 (exit $ac_status); }; }; then
29347 eval "$as_ac_Lib=yes"
29348else
29349 echo "$as_me: failed program was:" >&5
29350sed 's/^/| /' conftest.$ac_ext >&5
29351
29352eval "$as_ac_Lib=no"
29353fi
29354rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29355LIBS=$ac_check_lib_save_LIBS
29356fi
29357echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
29358echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
29359if test `eval echo '${'$as_ac_Lib'}'` = yes; then
29360 cat >>confdefs.h <<\_ACEOF
29361#define HAVE_INET_ATON 1
29362_ACEOF
29363
29364fi
29365
29366
29367fi
29368done
29369
29370
29371if test "x$INET_LINK" != "x"; then
29372 cat >>confdefs.h <<\_ACEOF
29373#define HAVE_INET_ADDR 1
29374_ACEOF
29375
29376 INET_LINK=" -l$INET_LINK"
29377fi
29378
29379fi
29380
29381
29382
29383EXTRALIBS_ESD=
29384echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
29385echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
29386if test "${ac_cv_lib_esd_esd_close+set}" = set; then
29387 echo $ECHO_N "(cached) $ECHO_C" >&6
29388else
29389 ac_check_lib_save_LIBS=$LIBS
29390LIBS="-lesd $LIBS"
29391cat >conftest.$ac_ext <<_ACEOF
29392#line $LINENO "configure"
29393/* confdefs.h. */
29394_ACEOF
29395cat confdefs.h >>conftest.$ac_ext
29396cat >>conftest.$ac_ext <<_ACEOF
29397/* end confdefs.h. */
29398
29399/* Override any gcc2 internal prototype to avoid an error. */
29400#ifdef __cplusplus
29401extern "C"
29402#endif
29403/* We use char because int might match the return type of a gcc2
29404 builtin and then its argument prototype would still apply. */
29405char esd_close ();
29406int
29407main ()
29408{
29409esd_close ();
29410 ;
29411 return 0;
29412}
29413_ACEOF
29414rm -f conftest.$ac_objext conftest$ac_exeext
29415if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29416 (eval $ac_link) 2>&5
29417 ac_status=$?
29418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29419 (exit $ac_status); } &&
29420 { ac_try='test -s conftest$ac_exeext'
29421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29422 (eval $ac_try) 2>&5
29423 ac_status=$?
29424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29425 (exit $ac_status); }; }; then
29426 ac_cv_lib_esd_esd_close=yes
29427else
29428 echo "$as_me: failed program was:" >&5
29429sed 's/^/| /' conftest.$ac_ext >&5
29430
29431ac_cv_lib_esd_esd_close=no
29432fi
29433rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29434LIBS=$ac_check_lib_save_LIBS
29435fi
29436echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
29437echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
29438if test $ac_cv_lib_esd_esd_close = yes; then
29439
29440
29441for ac_header in esd.h
29442do
29443as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29444if eval "test \"\${$as_ac_Header+set}\" = set"; then
29445 echo "$as_me:$LINENO: checking for $ac_header" >&5
29446echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29447if eval "test \"\${$as_ac_Header+set}\" = set"; then
29448 echo $ECHO_N "(cached) $ECHO_C" >&6
29449fi
29450echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29451echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29452else
29453 # Is the header compilable?
29454echo "$as_me:$LINENO: checking $ac_header usability" >&5
29455echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29456cat >conftest.$ac_ext <<_ACEOF
29457#line $LINENO "configure"
29458/* confdefs.h. */
29459_ACEOF
29460cat confdefs.h >>conftest.$ac_ext
29461cat >>conftest.$ac_ext <<_ACEOF
29462/* end confdefs.h. */
29463$ac_includes_default
29464#include <$ac_header>
29465_ACEOF
29466rm -f conftest.$ac_objext
29467if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29468 (eval $ac_compile) 2>&5
29469 ac_status=$?
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); } &&
29472 { ac_try='test -s conftest.$ac_objext'
29473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29474 (eval $ac_try) 2>&5
29475 ac_status=$?
29476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29477 (exit $ac_status); }; }; then
29478 ac_header_compiler=yes
29479else
29480 echo "$as_me: failed program was:" >&5
29481sed 's/^/| /' conftest.$ac_ext >&5
29482
29483ac_header_compiler=no
29484fi
29485rm -f conftest.$ac_objext conftest.$ac_ext
29486echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29487echo "${ECHO_T}$ac_header_compiler" >&6
29488
29489# Is the header present?
29490echo "$as_me:$LINENO: checking $ac_header presence" >&5
29491echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29492cat >conftest.$ac_ext <<_ACEOF
29493#line $LINENO "configure"
29494/* confdefs.h. */
29495_ACEOF
29496cat confdefs.h >>conftest.$ac_ext
29497cat >>conftest.$ac_ext <<_ACEOF
29498/* end confdefs.h. */
29499#include <$ac_header>
29500_ACEOF
29501if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29502 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29503 ac_status=$?
29504 grep -v '^ *+' conftest.er1 >conftest.err
29505 rm -f conftest.er1
29506 cat conftest.err >&5
29507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29508 (exit $ac_status); } >/dev/null; then
29509 if test -s conftest.err; then
29510 ac_cpp_err=$ac_c_preproc_warn_flag
29511 else
29512 ac_cpp_err=
29513 fi
29514else
29515 ac_cpp_err=yes
29516fi
29517if test -z "$ac_cpp_err"; then
29518 ac_header_preproc=yes
29519else
29520 echo "$as_me: failed program was:" >&5
29521sed 's/^/| /' conftest.$ac_ext >&5
29522
29523 ac_header_preproc=no
29524fi
29525rm -f conftest.err conftest.$ac_ext
29526echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29527echo "${ECHO_T}$ac_header_preproc" >&6
29528
29529# So? What about this header?
29530case $ac_header_compiler:$ac_header_preproc in
29531 yes:no )
29532 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29533echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29534 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29535echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29536 (
29537 cat <<\_ASBOX
29538## ------------------------------------ ##
29539## Report this to bug-autoconf@gnu.org. ##
29540## ------------------------------------ ##
29541_ASBOX
29542 ) |
29543 sed "s/^/$as_me: WARNING: /" >&2
29544 ;;
29545 no:yes )
29546 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29547echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29548 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29549echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29551echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29552 (
29553 cat <<\_ASBOX
29554## ------------------------------------ ##
29555## Report this to bug-autoconf@gnu.org. ##
29556## ------------------------------------ ##
29557_ASBOX
29558 ) |
29559 sed "s/^/$as_me: WARNING: /" >&2
29560 ;;
29561esac
29562echo "$as_me:$LINENO: checking for $ac_header" >&5
29563echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29564if eval "test \"\${$as_ac_Header+set}\" = set"; then
29565 echo $ECHO_N "(cached) $ECHO_C" >&6
29566else
29567 eval "$as_ac_Header=$ac_header_preproc"
29568fi
29569echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29570echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29571
29572fi
29573if test `eval echo '${'$as_ac_Header'}'` = yes; then
29574 cat >>confdefs.h <<_ACEOF
29575#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29576_ACEOF
29577
29578 EXTRALIBS_ESD="-lesd"
29579
29580fi
29581
29582done
29583
29584
29585fi
29586
29587
29588
29589echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
29590echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
29591cat >conftest.$ac_ext <<_ACEOF
29592#line $LINENO "configure"
29593/* confdefs.h. */
29594_ACEOF
29595cat confdefs.h >>conftest.$ac_ext
29596cat >>conftest.$ac_ext <<_ACEOF
29597/* end confdefs.h. */
29598#ifdef __linux__
29599 #include <linux/cdrom.h>
29600 #else
29601 /* For Solaris */
29602 #include <sys/cdio.h>
29603 #endif
29604
29605int
29606main ()
29607{
29608struct cdrom_tocentry entry, old_entry;
29609 ;
29610 return 0;
29611}
29612_ACEOF
29613rm -f conftest.$ac_objext
29614if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29615 (eval $ac_compile) 2>&5
29616 ac_status=$?
29617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29618 (exit $ac_status); } &&
29619 { ac_try='test -s conftest.$ac_objext'
29620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29621 (eval $ac_try) 2>&5
29622 ac_status=$?
29623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29624 (exit $ac_status); }; }; then
29625 echo "$as_me:$LINENO: result: yes" >&5
29626echo "${ECHO_T}yes" >&6
29627 cat >>confdefs.h <<\_ACEOF
29628#define HAVE_KNOWN_CDROM_INTERFACE 1
29629_ACEOF
29630
29631else
29632 echo "$as_me: failed program was:" >&5
29633sed 's/^/| /' conftest.$ac_ext >&5
29634
29635echo "$as_me:$LINENO: result: no" >&5
29636echo "${ECHO_T}no" >&6
29637fi
29638rm -f conftest.$ac_objext conftest.$ac_ext
29639
29640
29641cat >confcache <<\_ACEOF
29642# This file is a shell script that caches the results of configure
29643# tests run on this system so they can be shared between configure
29644# scripts and configure runs, see configure's option --config-cache.
29645# It is not useful on other systems. If it contains results you don't
29646# want to keep, you may remove or edit it.
29647#
29648# config.status only pays attention to the cache file if you give it
29649# the --recheck option to rerun configure.
29650#
29651# `ac_cv_env_foo' variables (set or unset) will be overridden when
29652# loading this file, other *unset* `ac_cv_foo' will be assigned the
29653# following values.
29654
29655_ACEOF
29656
29657# The following way of writing the cache mishandles newlines in values,
29658# but we know of no workaround that is simple, portable, and efficient.
29659# So, don't put newlines in cache variables' values.
29660# Ultrix sh set writes to stderr and can't be redirected directly,
29661# and sets the high bit in the cache file unless we assign to the vars.
29662{
29663 (set) 2>&1 |
29664 case `(ac_space=' '; set | grep ac_space) 2>&1` in
29665 *ac_space=\ *)
29666 # `set' does not quote correctly, so add quotes (double-quote
29667 # substitution turns \\\\ into \\, and sed turns \\ into \).
29668 sed -n \
29669 "s/'/'\\\\''/g;
29670 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29671 ;;
29672 *)
29673 # `set' quotes correctly as required by POSIX, so do not add quotes.
29674 sed -n \
29675 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29676 ;;
29677 esac;
29678} |
29679 sed '
29680 t clear
29681 : clear
29682 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29683 t end
29684 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29685 : end' >>confcache
29686if diff $cache_file confcache >/dev/null 2>&1; then :; else
29687 if test -w $cache_file; then
29688 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29689 cat confcache >$cache_file
29690 else
29691 echo "not updating unwritable cache $cache_file"
29692 fi
29693fi
29694rm -f confcache
29695
29696
29697CPP_MT_FLAG=
29698if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
29699
29700
29701 THREADS_LINK=
29702 THREADS_CFLAGS=
29703
29704 if test "$wxUSE_THREADS" = "yes" ; then
29705 if test "$USE_BEOS" = 1; then
29706 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
29707echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
29708 wxUSE_THREADS="no"
29709 fi
29710 fi
29711
29712 if test "$wxUSE_THREADS" = "yes" ; then
29713
29714
29715 THREAD_OPTS="-pthread"
29716 case "${host}" in
29717 *-*-solaris2* | *-*-sunos4* )
29718 if test "x$GCC" = "xyes"; then
29719 THREAD_OPTS="-pthreads $THREAD_OPTS"
29720 else
29721 THREAD_OPTS="-mt $THREAD_OPTS"
29722 fi
29723 ;;
29724 *-*-freebsd*)
29725 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
29726 ;;
29727 *-*-darwin* | *-*-cygwin* )
29728 THREAD_OPTS=""
29729 ;;
29730 *-*-aix*)
29731 THREAD_OPTS="pthreads"
29732 ;;
29733 *-hp-hpux* )
29734 if test "x$GCC" != "xyes"; then
29735 THREAD_OPTS=""
29736 fi
29737 ;;
29738
29739 *-*-irix* )
29740 if test "x$GCC" = "xyes"; then
29741 THREAD_OPTS=""
29742 fi
29743 ;;
29744
29745 *-*-*UnixWare*)
29746 if test "x$GCC" != "xyes"; then
29747 THREAD_OPTS="-Ethread"
29748 fi
29749 ;;
29750 esac
29751
29752 THREAD_OPTS="$THREAD_OPTS pthread none"
29753
29754 THREADS_OK=no
29755 for flag in $THREAD_OPTS; do
29756 case $flag in
29757 none)
29758 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29759echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29760 ;;
29761
29762 -*)
29763 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29764echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29765 THREADS_CFLAGS="$flag"
29766 ;;
29767
29768 *)
29769 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29770echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29771 THREADS_LINK="-l$flag"
29772 ;;
29773 esac
29774
29775 save_LIBS="$LIBS"
29776 save_CFLAGS="$CFLAGS"
29777 LIBS="$THREADS_LINK $LIBS"
29778 CFLAGS="$THREADS_CFLAGS $CFLAGS"
29779
29780 cat >conftest.$ac_ext <<_ACEOF
29781#line $LINENO "configure"
29782/* confdefs.h. */
29783_ACEOF
29784cat confdefs.h >>conftest.$ac_ext
29785cat >>conftest.$ac_ext <<_ACEOF
29786/* end confdefs.h. */
29787#include <pthread.h>
29788int
29789main ()
29790{
29791pthread_create(0,0,0,0);
29792 ;
29793 return 0;
29794}
29795_ACEOF
29796rm -f conftest.$ac_objext conftest$ac_exeext
29797if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29798 (eval $ac_link) 2>&5
29799 ac_status=$?
29800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29801 (exit $ac_status); } &&
29802 { ac_try='test -s conftest$ac_exeext'
29803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29804 (eval $ac_try) 2>&5
29805 ac_status=$?
29806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29807 (exit $ac_status); }; }; then
29808 THREADS_OK=yes
29809else
29810 echo "$as_me: failed program was:" >&5
29811sed 's/^/| /' conftest.$ac_ext >&5
29812
29813fi
29814rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29815
29816 LIBS="$save_LIBS"
29817 CFLAGS="$save_CFLAGS"
29818
29819 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29820echo "${ECHO_T}$THREADS_OK" >&6
29821 if test "x$THREADS_OK" = "xyes"; then
29822 break;
29823 fi
29824
29825 THREADS_LINK=""
29826 THREADS_CFLAGS=""
29827 done
29828
29829 if test "x$THREADS_OK" != "xyes"; then
29830 wxUSE_THREADS=no
29831 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29832echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29833 else
29834 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
29835 LIBS="$THREADS_LINK $LIBS"
29836
29837 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29838echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29839 flag=no
29840 case "${host}" in
29841 *-aix*)
29842 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
29843 flag="-D_THREAD_SAFE"
29844 ;;
29845 *-freebsd*)
29846 flag="-D_THREAD_SAFE"
29847 ;;
29848 *-hp-hpux* )
29849 flag="-D_REENTRANT"
29850 if test "x$GCC" != "xyes"; then
29851 flag="$flag -D_RWSTD_MULTI_THREAD"
29852 fi
29853 ;;
29854 *solaris* | alpha*-osf*)
29855 flag="-D_REENTRANT"
29856 ;;
29857 esac
29858 echo "$as_me:$LINENO: result: ${flag}" >&5
29859echo "${ECHO_T}${flag}" >&6
29860 if test "x$flag" != xno; then
29861 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
29862 fi
29863
29864 if test "x$THREADS_CFLAGS" != "x"; then
29865 CFLAGS="$CFLAGS $THREADS_CFLAGS"
29866 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
29867 fi
29868 fi
29869 fi
29870
29871 if test "$wxUSE_THREADS" = "yes" ; then
29872
29873for ac_func in thr_setconcurrency
29874do
29875as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29876echo "$as_me:$LINENO: checking for $ac_func" >&5
29877echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29878if eval "test \"\${$as_ac_var+set}\" = set"; then
29879 echo $ECHO_N "(cached) $ECHO_C" >&6
29880else
29881 cat >conftest.$ac_ext <<_ACEOF
29882#line $LINENO "configure"
29883/* confdefs.h. */
29884_ACEOF
29885cat confdefs.h >>conftest.$ac_ext
29886cat >>conftest.$ac_ext <<_ACEOF
29887/* end confdefs.h. */
29888/* System header to define __stub macros and hopefully few prototypes,
29889 which can conflict with char $ac_func (); below.
29890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29891 <limits.h> exists even on freestanding compilers. */
29892#ifdef __STDC__
29893# include <limits.h>
29894#else
29895# include <assert.h>
29896#endif
29897/* Override any gcc2 internal prototype to avoid an error. */
29898#ifdef __cplusplus
29899extern "C"
29900{
29901#endif
29902/* We use char because int might match the return type of a gcc2
29903 builtin and then its argument prototype would still apply. */
29904char $ac_func ();
29905/* The GNU C library defines this for functions which it implements
29906 to always fail with ENOSYS. Some functions are actually named
29907 something starting with __ and the normal name is an alias. */
29908#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29909choke me
29910#else
29911char (*f) () = $ac_func;
29912#endif
29913#ifdef __cplusplus
29914}
29915#endif
29916
29917int
29918main ()
29919{
29920return f != $ac_func;
29921 ;
29922 return 0;
29923}
29924_ACEOF
29925rm -f conftest.$ac_objext conftest$ac_exeext
29926if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29927 (eval $ac_link) 2>&5
29928 ac_status=$?
29929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29930 (exit $ac_status); } &&
29931 { ac_try='test -s conftest$ac_exeext'
29932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29933 (eval $ac_try) 2>&5
29934 ac_status=$?
29935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29936 (exit $ac_status); }; }; then
29937 eval "$as_ac_var=yes"
29938else
29939 echo "$as_me: failed program was:" >&5
29940sed 's/^/| /' conftest.$ac_ext >&5
29941
29942eval "$as_ac_var=no"
29943fi
29944rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29945fi
29946echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29947echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29948if test `eval echo '${'$as_ac_var'}'` = yes; then
29949 cat >>confdefs.h <<_ACEOF
29950#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29951_ACEOF
29952
29953fi
29954done
29955
29956
29957
29958for ac_header in sched.h
29959do
29960as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29961if eval "test \"\${$as_ac_Header+set}\" = set"; then
29962 echo "$as_me:$LINENO: checking for $ac_header" >&5
29963echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29964if eval "test \"\${$as_ac_Header+set}\" = set"; then
29965 echo $ECHO_N "(cached) $ECHO_C" >&6
29966fi
29967echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29968echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29969else
29970 # Is the header compilable?
29971echo "$as_me:$LINENO: checking $ac_header usability" >&5
29972echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29973cat >conftest.$ac_ext <<_ACEOF
29974#line $LINENO "configure"
29975/* confdefs.h. */
29976_ACEOF
29977cat confdefs.h >>conftest.$ac_ext
29978cat >>conftest.$ac_ext <<_ACEOF
29979/* end confdefs.h. */
29980$ac_includes_default
29981#include <$ac_header>
29982_ACEOF
29983rm -f conftest.$ac_objext
29984if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29985 (eval $ac_compile) 2>&5
29986 ac_status=$?
29987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29988 (exit $ac_status); } &&
29989 { ac_try='test -s conftest.$ac_objext'
29990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29991 (eval $ac_try) 2>&5
29992 ac_status=$?
29993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29994 (exit $ac_status); }; }; then
29995 ac_header_compiler=yes
29996else
29997 echo "$as_me: failed program was:" >&5
29998sed 's/^/| /' conftest.$ac_ext >&5
29999
30000ac_header_compiler=no
30001fi
30002rm -f conftest.$ac_objext conftest.$ac_ext
30003echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30004echo "${ECHO_T}$ac_header_compiler" >&6
30005
30006# Is the header present?
30007echo "$as_me:$LINENO: checking $ac_header presence" >&5
30008echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30009cat >conftest.$ac_ext <<_ACEOF
30010#line $LINENO "configure"
30011/* confdefs.h. */
30012_ACEOF
30013cat confdefs.h >>conftest.$ac_ext
30014cat >>conftest.$ac_ext <<_ACEOF
30015/* end confdefs.h. */
30016#include <$ac_header>
30017_ACEOF
30018if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30019 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30020 ac_status=$?
30021 grep -v '^ *+' conftest.er1 >conftest.err
30022 rm -f conftest.er1
30023 cat conftest.err >&5
30024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30025 (exit $ac_status); } >/dev/null; then
30026 if test -s conftest.err; then
30027 ac_cpp_err=$ac_c_preproc_warn_flag
30028 else
30029 ac_cpp_err=
30030 fi
30031else
30032 ac_cpp_err=yes
30033fi
30034if test -z "$ac_cpp_err"; then
30035 ac_header_preproc=yes
30036else
30037 echo "$as_me: failed program was:" >&5
30038sed 's/^/| /' conftest.$ac_ext >&5
30039
30040 ac_header_preproc=no
30041fi
30042rm -f conftest.err conftest.$ac_ext
30043echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30044echo "${ECHO_T}$ac_header_preproc" >&6
30045
30046# So? What about this header?
30047case $ac_header_compiler:$ac_header_preproc in
30048 yes:no )
30049 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30050echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30052echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30053 (
30054 cat <<\_ASBOX
30055## ------------------------------------ ##
30056## Report this to bug-autoconf@gnu.org. ##
30057## ------------------------------------ ##
30058_ASBOX
30059 ) |
30060 sed "s/^/$as_me: WARNING: /" >&2
30061 ;;
30062 no:yes )
30063 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30064echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30065 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30066echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30067 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30068echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30069 (
30070 cat <<\_ASBOX
30071## ------------------------------------ ##
30072## Report this to bug-autoconf@gnu.org. ##
30073## ------------------------------------ ##
30074_ASBOX
30075 ) |
30076 sed "s/^/$as_me: WARNING: /" >&2
30077 ;;
30078esac
30079echo "$as_me:$LINENO: checking for $ac_header" >&5
30080echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30081if eval "test \"\${$as_ac_Header+set}\" = set"; then
30082 echo $ECHO_N "(cached) $ECHO_C" >&6
30083else
30084 eval "$as_ac_Header=$ac_header_preproc"
30085fi
30086echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30087echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30088
30089fi
30090if test `eval echo '${'$as_ac_Header'}'` = yes; then
30091 cat >>confdefs.h <<_ACEOF
30092#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30093_ACEOF
30094
30095fi
30096
30097done
30098
30099 if test "$ac_cv_header_sched_h" = "yes"; then
30100 echo "$as_me:$LINENO: checking for sched_yield" >&5
30101echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
30102if test "${ac_cv_func_sched_yield+set}" = set; then
30103 echo $ECHO_N "(cached) $ECHO_C" >&6
30104else
30105 cat >conftest.$ac_ext <<_ACEOF
30106#line $LINENO "configure"
30107/* confdefs.h. */
30108_ACEOF
30109cat confdefs.h >>conftest.$ac_ext
30110cat >>conftest.$ac_ext <<_ACEOF
30111/* end confdefs.h. */
30112/* System header to define __stub macros and hopefully few prototypes,
30113 which can conflict with char sched_yield (); below.
30114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30115 <limits.h> exists even on freestanding compilers. */
30116#ifdef __STDC__
30117# include <limits.h>
30118#else
30119# include <assert.h>
30120#endif
30121/* Override any gcc2 internal prototype to avoid an error. */
30122#ifdef __cplusplus
30123extern "C"
30124{
30125#endif
30126/* We use char because int might match the return type of a gcc2
30127 builtin and then its argument prototype would still apply. */
30128char sched_yield ();
30129/* The GNU C library defines this for functions which it implements
30130 to always fail with ENOSYS. Some functions are actually named
30131 something starting with __ and the normal name is an alias. */
30132#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
30133choke me
30134#else
30135char (*f) () = sched_yield;
30136#endif
30137#ifdef __cplusplus
30138}
30139#endif
30140
30141int
30142main ()
30143{
30144return f != sched_yield;
30145 ;
30146 return 0;
30147}
30148_ACEOF
30149rm -f conftest.$ac_objext conftest$ac_exeext
30150if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30151 (eval $ac_link) 2>&5
30152 ac_status=$?
30153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30154 (exit $ac_status); } &&
30155 { ac_try='test -s conftest$ac_exeext'
30156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30157 (eval $ac_try) 2>&5
30158 ac_status=$?
30159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30160 (exit $ac_status); }; }; then
30161 ac_cv_func_sched_yield=yes
30162else
30163 echo "$as_me: failed program was:" >&5
30164sed 's/^/| /' conftest.$ac_ext >&5
30165
30166ac_cv_func_sched_yield=no
30167fi
30168rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30169fi
30170echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
30171echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
30172if test $ac_cv_func_sched_yield = yes; then
30173 cat >>confdefs.h <<\_ACEOF
30174#define HAVE_SCHED_YIELD 1
30175_ACEOF
30176
30177else
30178
30179 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
30180echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
30181if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
30182 echo $ECHO_N "(cached) $ECHO_C" >&6
30183else
30184 ac_check_lib_save_LIBS=$LIBS
30185LIBS="-lposix4 $LIBS"
30186cat >conftest.$ac_ext <<_ACEOF
30187#line $LINENO "configure"
30188/* confdefs.h. */
30189_ACEOF
30190cat confdefs.h >>conftest.$ac_ext
30191cat >>conftest.$ac_ext <<_ACEOF
30192/* end confdefs.h. */
30193
30194/* Override any gcc2 internal prototype to avoid an error. */
30195#ifdef __cplusplus
30196extern "C"
30197#endif
30198/* We use char because int might match the return type of a gcc2
30199 builtin and then its argument prototype would still apply. */
30200char sched_yield ();
30201int
30202main ()
30203{
30204sched_yield ();
30205 ;
30206 return 0;
30207}
30208_ACEOF
30209rm -f conftest.$ac_objext conftest$ac_exeext
30210if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30211 (eval $ac_link) 2>&5
30212 ac_status=$?
30213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30214 (exit $ac_status); } &&
30215 { ac_try='test -s conftest$ac_exeext'
30216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30217 (eval $ac_try) 2>&5
30218 ac_status=$?
30219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30220 (exit $ac_status); }; }; then
30221 ac_cv_lib_posix4_sched_yield=yes
30222else
30223 echo "$as_me: failed program was:" >&5
30224sed 's/^/| /' conftest.$ac_ext >&5
30225
30226ac_cv_lib_posix4_sched_yield=no
30227fi
30228rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30229LIBS=$ac_check_lib_save_LIBS
30230fi
30231echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
30232echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
30233if test $ac_cv_lib_posix4_sched_yield = yes; then
30234 cat >>confdefs.h <<\_ACEOF
30235#define HAVE_SCHED_YIELD 1
30236_ACEOF
30237 POSIX4_LINK=" -lposix4"
30238else
30239 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
30240echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
30241
30242fi
30243
30244
30245
30246fi
30247
30248 fi
30249
30250 HAVE_PRIOR_FUNCS=0
30251 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
30252echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
30253if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
30254 echo $ECHO_N "(cached) $ECHO_C" >&6
30255else
30256 cat >conftest.$ac_ext <<_ACEOF
30257#line $LINENO "configure"
30258/* confdefs.h. */
30259_ACEOF
30260cat confdefs.h >>conftest.$ac_ext
30261cat >>conftest.$ac_ext <<_ACEOF
30262/* end confdefs.h. */
30263/* System header to define __stub macros and hopefully few prototypes,
30264 which can conflict with char pthread_attr_getschedpolicy (); below.
30265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30266 <limits.h> exists even on freestanding compilers. */
30267#ifdef __STDC__
30268# include <limits.h>
30269#else
30270# include <assert.h>
30271#endif
30272/* Override any gcc2 internal prototype to avoid an error. */
30273#ifdef __cplusplus
30274extern "C"
30275{
30276#endif
30277/* We use char because int might match the return type of a gcc2
30278 builtin and then its argument prototype would still apply. */
30279char pthread_attr_getschedpolicy ();
30280/* The GNU C library defines this for functions which it implements
30281 to always fail with ENOSYS. Some functions are actually named
30282 something starting with __ and the normal name is an alias. */
30283#if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
30284choke me
30285#else
30286char (*f) () = pthread_attr_getschedpolicy;
30287#endif
30288#ifdef __cplusplus
30289}
30290#endif
30291
30292int
30293main ()
30294{
30295return f != pthread_attr_getschedpolicy;
30296 ;
30297 return 0;
30298}
30299_ACEOF
30300rm -f conftest.$ac_objext conftest$ac_exeext
30301if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30302 (eval $ac_link) 2>&5
30303 ac_status=$?
30304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30305 (exit $ac_status); } &&
30306 { ac_try='test -s conftest$ac_exeext'
30307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30308 (eval $ac_try) 2>&5
30309 ac_status=$?
30310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30311 (exit $ac_status); }; }; then
30312 ac_cv_func_pthread_attr_getschedpolicy=yes
30313else
30314 echo "$as_me: failed program was:" >&5
30315sed 's/^/| /' conftest.$ac_ext >&5
30316
30317ac_cv_func_pthread_attr_getschedpolicy=no
30318fi
30319rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30320fi
30321echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
30322echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
30323if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
30324 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
30325echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
30326if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
30327 echo $ECHO_N "(cached) $ECHO_C" >&6
30328else
30329 cat >conftest.$ac_ext <<_ACEOF
30330#line $LINENO "configure"
30331/* confdefs.h. */
30332_ACEOF
30333cat confdefs.h >>conftest.$ac_ext
30334cat >>conftest.$ac_ext <<_ACEOF
30335/* end confdefs.h. */
30336/* System header to define __stub macros and hopefully few prototypes,
30337 which can conflict with char pthread_attr_setschedparam (); below.
30338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30339 <limits.h> exists even on freestanding compilers. */
30340#ifdef __STDC__
30341# include <limits.h>
30342#else
30343# include <assert.h>
30344#endif
30345/* Override any gcc2 internal prototype to avoid an error. */
30346#ifdef __cplusplus
30347extern "C"
30348{
30349#endif
30350/* We use char because int might match the return type of a gcc2
30351 builtin and then its argument prototype would still apply. */
30352char pthread_attr_setschedparam ();
30353/* The GNU C library defines this for functions which it implements
30354 to always fail with ENOSYS. Some functions are actually named
30355 something starting with __ and the normal name is an alias. */
30356#if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
30357choke me
30358#else
30359char (*f) () = pthread_attr_setschedparam;
30360#endif
30361#ifdef __cplusplus
30362}
30363#endif
30364
30365int
30366main ()
30367{
30368return f != pthread_attr_setschedparam;
30369 ;
30370 return 0;
30371}
30372_ACEOF
30373rm -f conftest.$ac_objext conftest$ac_exeext
30374if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30375 (eval $ac_link) 2>&5
30376 ac_status=$?
30377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30378 (exit $ac_status); } &&
30379 { ac_try='test -s conftest$ac_exeext'
30380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30381 (eval $ac_try) 2>&5
30382 ac_status=$?
30383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30384 (exit $ac_status); }; }; then
30385 ac_cv_func_pthread_attr_setschedparam=yes
30386else
30387 echo "$as_me: failed program was:" >&5
30388sed 's/^/| /' conftest.$ac_ext >&5
30389
30390ac_cv_func_pthread_attr_setschedparam=no
30391fi
30392rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30393fi
30394echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
30395echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
30396if test $ac_cv_func_pthread_attr_setschedparam = yes; then
30397 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
30398echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
30399if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
30400 echo $ECHO_N "(cached) $ECHO_C" >&6
30401else
30402 cat >conftest.$ac_ext <<_ACEOF
30403#line $LINENO "configure"
30404/* confdefs.h. */
30405_ACEOF
30406cat confdefs.h >>conftest.$ac_ext
30407cat >>conftest.$ac_ext <<_ACEOF
30408/* end confdefs.h. */
30409/* System header to define __stub macros and hopefully few prototypes,
30410 which can conflict with char sched_get_priority_max (); below.
30411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30412 <limits.h> exists even on freestanding compilers. */
30413#ifdef __STDC__
30414# include <limits.h>
30415#else
30416# include <assert.h>
30417#endif
30418/* Override any gcc2 internal prototype to avoid an error. */
30419#ifdef __cplusplus
30420extern "C"
30421{
30422#endif
30423/* We use char because int might match the return type of a gcc2
30424 builtin and then its argument prototype would still apply. */
30425char sched_get_priority_max ();
30426/* The GNU C library defines this for functions which it implements
30427 to always fail with ENOSYS. Some functions are actually named
30428 something starting with __ and the normal name is an alias. */
30429#if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
30430choke me
30431#else
30432char (*f) () = sched_get_priority_max;
30433#endif
30434#ifdef __cplusplus
30435}
30436#endif
30437
30438int
30439main ()
30440{
30441return f != sched_get_priority_max;
30442 ;
30443 return 0;
30444}
30445_ACEOF
30446rm -f conftest.$ac_objext conftest$ac_exeext
30447if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30448 (eval $ac_link) 2>&5
30449 ac_status=$?
30450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30451 (exit $ac_status); } &&
30452 { ac_try='test -s conftest$ac_exeext'
30453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30454 (eval $ac_try) 2>&5
30455 ac_status=$?
30456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30457 (exit $ac_status); }; }; then
30458 ac_cv_func_sched_get_priority_max=yes
30459else
30460 echo "$as_me: failed program was:" >&5
30461sed 's/^/| /' conftest.$ac_ext >&5
30462
30463ac_cv_func_sched_get_priority_max=no
30464fi
30465rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30466fi
30467echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
30468echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
30469if test $ac_cv_func_sched_get_priority_max = yes; then
30470 HAVE_PRIOR_FUNCS=1
30471else
30472 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
30473echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
30474if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
30475 echo $ECHO_N "(cached) $ECHO_C" >&6
30476else
30477 ac_check_lib_save_LIBS=$LIBS
30478LIBS="-lposix4 $LIBS"
30479cat >conftest.$ac_ext <<_ACEOF
30480#line $LINENO "configure"
30481/* confdefs.h. */
30482_ACEOF
30483cat confdefs.h >>conftest.$ac_ext
30484cat >>conftest.$ac_ext <<_ACEOF
30485/* end confdefs.h. */
30486
30487/* Override any gcc2 internal prototype to avoid an error. */
30488#ifdef __cplusplus
30489extern "C"
30490#endif
30491/* We use char because int might match the return type of a gcc2
30492 builtin and then its argument prototype would still apply. */
30493char sched_get_priority_max ();
30494int
30495main ()
30496{
30497sched_get_priority_max ();
30498 ;
30499 return 0;
30500}
30501_ACEOF
30502rm -f conftest.$ac_objext conftest$ac_exeext
30503if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30504 (eval $ac_link) 2>&5
30505 ac_status=$?
30506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30507 (exit $ac_status); } &&
30508 { ac_try='test -s conftest$ac_exeext'
30509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30510 (eval $ac_try) 2>&5
30511 ac_status=$?
30512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30513 (exit $ac_status); }; }; then
30514 ac_cv_lib_posix4_sched_get_priority_max=yes
30515else
30516 echo "$as_me: failed program was:" >&5
30517sed 's/^/| /' conftest.$ac_ext >&5
30518
30519ac_cv_lib_posix4_sched_get_priority_max=no
30520fi
30521rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30522LIBS=$ac_check_lib_save_LIBS
30523fi
30524echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
30525echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
30526if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
30527
30528 HAVE_PRIOR_FUNCS=1
30529 POSIX4_LINK=" -lposix4"
30530
30531fi
30532
30533
30534fi
30535
30536
30537fi
30538
30539
30540fi
30541
30542
30543 if test "$HAVE_PRIOR_FUNCS" = 1; then
30544 cat >>confdefs.h <<\_ACEOF
30545#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
30546_ACEOF
30547
30548 else
30549 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
30550echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
30551 fi
30552
30553 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
30554echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
30555if test "${ac_cv_func_pthread_cancel+set}" = set; then
30556 echo $ECHO_N "(cached) $ECHO_C" >&6
30557else
30558 cat >conftest.$ac_ext <<_ACEOF
30559#line $LINENO "configure"
30560/* confdefs.h. */
30561_ACEOF
30562cat confdefs.h >>conftest.$ac_ext
30563cat >>conftest.$ac_ext <<_ACEOF
30564/* end confdefs.h. */
30565/* System header to define __stub macros and hopefully few prototypes,
30566 which can conflict with char pthread_cancel (); below.
30567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30568 <limits.h> exists even on freestanding compilers. */
30569#ifdef __STDC__
30570# include <limits.h>
30571#else
30572# include <assert.h>
30573#endif
30574/* Override any gcc2 internal prototype to avoid an error. */
30575#ifdef __cplusplus
30576extern "C"
30577{
30578#endif
30579/* We use char because int might match the return type of a gcc2
30580 builtin and then its argument prototype would still apply. */
30581char pthread_cancel ();
30582/* The GNU C library defines this for functions which it implements
30583 to always fail with ENOSYS. Some functions are actually named
30584 something starting with __ and the normal name is an alias. */
30585#if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
30586choke me
30587#else
30588char (*f) () = pthread_cancel;
30589#endif
30590#ifdef __cplusplus
30591}
30592#endif
30593
30594int
30595main ()
30596{
30597return f != pthread_cancel;
30598 ;
30599 return 0;
30600}
30601_ACEOF
30602rm -f conftest.$ac_objext conftest$ac_exeext
30603if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30604 (eval $ac_link) 2>&5
30605 ac_status=$?
30606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30607 (exit $ac_status); } &&
30608 { ac_try='test -s conftest$ac_exeext'
30609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30610 (eval $ac_try) 2>&5
30611 ac_status=$?
30612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30613 (exit $ac_status); }; }; then
30614 ac_cv_func_pthread_cancel=yes
30615else
30616 echo "$as_me: failed program was:" >&5
30617sed 's/^/| /' conftest.$ac_ext >&5
30618
30619ac_cv_func_pthread_cancel=no
30620fi
30621rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30622fi
30623echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
30624echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
30625if test $ac_cv_func_pthread_cancel = yes; then
30626 cat >>confdefs.h <<\_ACEOF
30627#define HAVE_PTHREAD_CANCEL 1
30628_ACEOF
30629
30630else
30631 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
30632echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
30633fi
30634
30635
30636
30637
30638 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
30639echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
30640if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
30641 echo $ECHO_N "(cached) $ECHO_C" >&6
30642else
30643
30644 cat >conftest.$ac_ext <<_ACEOF
30645#line $LINENO "configure"
30646/* confdefs.h. */
30647_ACEOF
30648cat confdefs.h >>conftest.$ac_ext
30649cat >>conftest.$ac_ext <<_ACEOF
30650/* end confdefs.h. */
30651#include <pthread.h>
30652int
30653main ()
30654{
30655
30656 pthread_mutexattr_t attr;
30657 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
30658
30659 ;
30660 return 0;
30661}
30662_ACEOF
30663rm -f conftest.$ac_objext
30664if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30665 (eval $ac_compile) 2>&5
30666 ac_status=$?
30667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30668 (exit $ac_status); } &&
30669 { ac_try='test -s conftest.$ac_objext'
30670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30671 (eval $ac_try) 2>&5
30672 ac_status=$?
30673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30674 (exit $ac_status); }; }; then
30675
30676 wx_cv_type_pthread_mutexattr_t=yes
30677
30678else
30679 echo "$as_me: failed program was:" >&5
30680sed 's/^/| /' conftest.$ac_ext >&5
30681
30682
30683 wx_cv_type_pthread_mutexattr_t=no
30684
30685
30686fi
30687rm -f conftest.$ac_objext conftest.$ac_ext
30688
30689fi
30690echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
30691echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
30692
30693 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
30694 cat >>confdefs.h <<\_ACEOF
30695#define HAVE_PTHREAD_MUTEXATTR_T 1
30696_ACEOF
30697
30698 else
30699 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
30700echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
30701if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
30702 echo $ECHO_N "(cached) $ECHO_C" >&6
30703else
30704
30705 cat >conftest.$ac_ext <<_ACEOF
30706#line $LINENO "configure"
30707/* confdefs.h. */
30708_ACEOF
30709cat confdefs.h >>conftest.$ac_ext
30710cat >>conftest.$ac_ext <<_ACEOF
30711/* end confdefs.h. */
30712#include <pthread.h>
30713int
30714main ()
30715{
30716
30717 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
30718
30719 ;
30720 return 0;
30721}
30722_ACEOF
30723rm -f conftest.$ac_objext
30724if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30725 (eval $ac_compile) 2>&5
30726 ac_status=$?
30727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30728 (exit $ac_status); } &&
30729 { ac_try='test -s conftest.$ac_objext'
30730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30731 (eval $ac_try) 2>&5
30732 ac_status=$?
30733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30734 (exit $ac_status); }; }; then
30735
30736 wx_cv_type_pthread_rec_mutex_init=yes
30737
30738else
30739 echo "$as_me: failed program was:" >&5
30740sed 's/^/| /' conftest.$ac_ext >&5
30741
30742
30743 wx_cv_type_pthread_rec_mutex_init=no
30744
30745
30746fi
30747rm -f conftest.$ac_objext conftest.$ac_ext
30748
30749fi
30750echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30751echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30752 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30753 cat >>confdefs.h <<\_ACEOF
30754#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30755_ACEOF
30756
30757 else
30758 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30759echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30760 fi
30761 fi
30762 fi
30763
30764else
30765 if test "$wxUSE_THREADS" = "yes" ; then
30766 case "${host}" in
30767 *-*-mingw32* )
30768 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30769echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30770if test "${wx_cv_cflags_mthread+set}" = set; then
30771 echo $ECHO_N "(cached) $ECHO_C" >&6
30772else
30773
30774 CFLAGS_OLD="$CFLAGS"
30775 CFLAGS="$CFLAGS -mthreads"
30776 cat >conftest.$ac_ext <<_ACEOF
30777#line $LINENO "configure"
30778/* confdefs.h. */
30779_ACEOF
30780cat confdefs.h >>conftest.$ac_ext
30781cat >>conftest.$ac_ext <<_ACEOF
30782/* end confdefs.h. */
30783
30784int
30785main ()
30786{
30787
30788 ;
30789 return 0;
30790}
30791_ACEOF
30792rm -f conftest.$ac_objext
30793if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30794 (eval $ac_compile) 2>&5
30795 ac_status=$?
30796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30797 (exit $ac_status); } &&
30798 { ac_try='test -s conftest.$ac_objext'
30799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30800 (eval $ac_try) 2>&5
30801 ac_status=$?
30802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30803 (exit $ac_status); }; }; then
30804 wx_cv_cflags_mthread=yes
30805else
30806 echo "$as_me: failed program was:" >&5
30807sed 's/^/| /' conftest.$ac_ext >&5
30808
30809wx_cv_cflags_mthread=no
30810
30811fi
30812rm -f conftest.$ac_objext conftest.$ac_ext
30813
30814
30815fi
30816echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30817echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30818
30819 if test "$wx_cv_cflags_mthread" = "yes"; then
30820 CXXFLAGS="$CXXFLAGS -mthreads"
30821 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
30822 LDFLAGS="$LDFLAGS -mthreads"
30823 else
30824 CFLAGS="$CFLAGS_OLD"
30825 fi
30826 ;;
30827 *-pc-os2*emx )
30828 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
30829 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
30830 LDFLAGS="$LDFLAGS -Zmt"
30831 ;;
30832 esac
30833 fi
30834fi
30835
30836if test "$wxUSE_THREADS" = "yes"; then
30837 cat >>confdefs.h <<\_ACEOF
30838#define wxUSE_THREADS 1
30839_ACEOF
30840
30841
30842 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
30843else
30844 if test "$ac_cv_func_strtok_r" = "yes"; then
30845 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30846echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30847 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30848 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
30849 echo "$as_me:$LINENO: result: yes" >&5
30850echo "${ECHO_T}yes" >&6
30851 else
30852 echo "$as_me:$LINENO: result: no" >&5
30853echo "${ECHO_T}no" >&6
30854 fi
30855 fi
30856fi
30857
30858if test "$WXGTK20" = 1 ; then
30859 cat >>confdefs.h <<_ACEOF
30860#define __WXGTK20__ $WXGTK20
30861_ACEOF
30862
30863 WXGTK12=1
30864fi
30865
30866if test "$WXGTK12" = 1 ; then
30867 cat >>confdefs.h <<_ACEOF
30868#define __WXGTK12__ $WXGTK12
30869_ACEOF
30870
30871fi
30872
30873if test "$WXGTK127" = 1 ; then
30874 cat >>confdefs.h <<_ACEOF
30875#define __WXGTK127__ $WXGTK127
30876_ACEOF
30877
30878fi
30879
30880WXDEBUG=
30881
30882if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30883 WXDEBUG="-g"
30884 wxUSE_OPTIMISE=no
30885fi
30886
30887if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30888 wxUSE_DEBUG_INFO=yes
30889 WXDEBUG="-ggdb"
30890fi
30891
30892if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30893 cat >>confdefs.h <<\_ACEOF
30894#define WXDEBUG 1
30895_ACEOF
30896
30897 WXDEBUG_DEFINE="-D__WXDEBUG__"
30898else
30899 if test "$wxUSE_GTK" = 1 ; then
30900 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
30901 fi
30902fi
30903
30904if test "$wxUSE_MEM_TRACING" = "yes" ; then
30905 cat >>confdefs.h <<\_ACEOF
30906#define wxUSE_MEMORY_TRACING 1
30907_ACEOF
30908
30909 cat >>confdefs.h <<\_ACEOF
30910#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30911_ACEOF
30912
30913 cat >>confdefs.h <<\_ACEOF
30914#define wxUSE_DEBUG_NEW_ALWAYS 1
30915_ACEOF
30916
30917 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
30918fi
30919
30920if test "$wxUSE_DMALLOC" = "yes" ; then
30921 DMALLOC_LIBS="-ldmalloc"
30922fi
30923
30924PROFILE=
30925if test "$wxUSE_PROFILE" = "yes" ; then
30926 PROFILE=" -pg"
30927fi
30928
30929CODE_GEN_FLAGS=
30930CODE_GEN_FLAGS_CXX=
30931if test "$GCC" = "yes" ; then
30932 if test "$wxUSE_NO_RTTI" = "yes" ; then
30933 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
30934 fi
30935 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30936 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30937 fi
30938 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30939 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
30940 fi
30941
30942 case "${host}" in
30943 powerpc*-*-aix* )
30944 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
30945 ;;
30946 *-hppa* )
30947 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
30948 ;;
30949 esac
30950fi
30951
30952OPTIMISE=
30953if test "$wxUSE_OPTIMISE" = "no" ; then
30954 if test "$GCC" = yes ; then
30955 OPTIMISE="-O0"
30956 fi
30957else
30958 if test "$GCC" = yes ; then
30959 OPTIMISE="-O2"
30960
30961 case "${host}" in
30962 i586-*-*|i686-*-* )
30963 OPTIMISE="${OPTIMISE} "
30964 ;;
30965 esac
30966 else
30967 OPTIMISE="-O"
30968 fi
30969fi
30970
30971
30972if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30973 cat >>confdefs.h <<\_ACEOF
30974#define WXWIN_COMPATIBILITY_2_2 1
30975_ACEOF
30976
30977
30978 WXWIN_COMPATIBILITY_2_4="yes"
30979fi
30980
30981if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30982 cat >>confdefs.h <<\_ACEOF
30983#define WXWIN_COMPATIBILITY_2_4 1
30984_ACEOF
30985
30986fi
30987
30988
30989if test "$wxUSE_GUI" = "yes"; then
30990 cat >>confdefs.h <<\_ACEOF
30991#define wxUSE_GUI 1
30992_ACEOF
30993
30994
30995 else
30996 cat >>confdefs.h <<\_ACEOF
30997#define wxUSE_NOGUI 1
30998_ACEOF
30999
31000fi
31001
31002
31003if test "$wxUSE_UNIX" = "yes"; then
31004 cat >>confdefs.h <<\_ACEOF
31005#define wxUSE_UNIX 1
31006_ACEOF
31007
31008fi
31009
31010
31011if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31012
31013 HAVE_DL_FUNCS=0
31014 HAVE_SHL_FUNCS=0
31015 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31016 if test "$USE_DARWIN" = 1; then
31017 HAVE_DL_FUNCS=1
31018 else
31019
31020for ac_func in dlopen
31021do
31022as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31023echo "$as_me:$LINENO: checking for $ac_func" >&5
31024echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31025if eval "test \"\${$as_ac_var+set}\" = set"; then
31026 echo $ECHO_N "(cached) $ECHO_C" >&6
31027else
31028 cat >conftest.$ac_ext <<_ACEOF
31029#line $LINENO "configure"
31030/* confdefs.h. */
31031_ACEOF
31032cat confdefs.h >>conftest.$ac_ext
31033cat >>conftest.$ac_ext <<_ACEOF
31034/* end confdefs.h. */
31035/* System header to define __stub macros and hopefully few prototypes,
31036 which can conflict with char $ac_func (); below.
31037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31038 <limits.h> exists even on freestanding compilers. */
31039#ifdef __STDC__
31040# include <limits.h>
31041#else
31042# include <assert.h>
31043#endif
31044/* Override any gcc2 internal prototype to avoid an error. */
31045#ifdef __cplusplus
31046extern "C"
31047{
31048#endif
31049/* We use char because int might match the return type of a gcc2
31050 builtin and then its argument prototype would still apply. */
31051char $ac_func ();
31052/* The GNU C library defines this for functions which it implements
31053 to always fail with ENOSYS. Some functions are actually named
31054 something starting with __ and the normal name is an alias. */
31055#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31056choke me
31057#else
31058char (*f) () = $ac_func;
31059#endif
31060#ifdef __cplusplus
31061}
31062#endif
31063
31064int
31065main ()
31066{
31067return f != $ac_func;
31068 ;
31069 return 0;
31070}
31071_ACEOF
31072rm -f conftest.$ac_objext conftest$ac_exeext
31073if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31074 (eval $ac_link) 2>&5
31075 ac_status=$?
31076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31077 (exit $ac_status); } &&
31078 { ac_try='test -s conftest$ac_exeext'
31079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31080 (eval $ac_try) 2>&5
31081 ac_status=$?
31082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31083 (exit $ac_status); }; }; then
31084 eval "$as_ac_var=yes"
31085else
31086 echo "$as_me: failed program was:" >&5
31087sed 's/^/| /' conftest.$ac_ext >&5
31088
31089eval "$as_ac_var=no"
31090fi
31091rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31092fi
31093echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31094echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31095if test `eval echo '${'$as_ac_var'}'` = yes; then
31096 cat >>confdefs.h <<_ACEOF
31097#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31098_ACEOF
31099
31100 cat >>confdefs.h <<\_ACEOF
31101#define HAVE_DLOPEN 1
31102_ACEOF
31103
31104 HAVE_DL_FUNCS=1
31105
31106else
31107
31108 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31109echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31110if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31111 echo $ECHO_N "(cached) $ECHO_C" >&6
31112else
31113 ac_check_lib_save_LIBS=$LIBS
31114LIBS="-ldl $LIBS"
31115cat >conftest.$ac_ext <<_ACEOF
31116#line $LINENO "configure"
31117/* confdefs.h. */
31118_ACEOF
31119cat confdefs.h >>conftest.$ac_ext
31120cat >>conftest.$ac_ext <<_ACEOF
31121/* end confdefs.h. */
31122
31123/* Override any gcc2 internal prototype to avoid an error. */
31124#ifdef __cplusplus
31125extern "C"
31126#endif
31127/* We use char because int might match the return type of a gcc2
31128 builtin and then its argument prototype would still apply. */
31129char dlopen ();
31130int
31131main ()
31132{
31133dlopen ();
31134 ;
31135 return 0;
31136}
31137_ACEOF
31138rm -f conftest.$ac_objext conftest$ac_exeext
31139if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31140 (eval $ac_link) 2>&5
31141 ac_status=$?
31142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31143 (exit $ac_status); } &&
31144 { ac_try='test -s conftest$ac_exeext'
31145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31146 (eval $ac_try) 2>&5
31147 ac_status=$?
31148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31149 (exit $ac_status); }; }; then
31150 ac_cv_lib_dl_dlopen=yes
31151else
31152 echo "$as_me: failed program was:" >&5
31153sed 's/^/| /' conftest.$ac_ext >&5
31154
31155ac_cv_lib_dl_dlopen=no
31156fi
31157rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31158LIBS=$ac_check_lib_save_LIBS
31159fi
31160echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31161echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31162if test $ac_cv_lib_dl_dlopen = yes; then
31163
31164 cat >>confdefs.h <<\_ACEOF
31165#define HAVE_DLOPEN 1
31166_ACEOF
31167
31168 HAVE_DL_FUNCS=1
31169 DL_LINK=" -ldl$DL_LINK"
31170
31171else
31172
31173
31174for ac_func in shl_load
31175do
31176as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31177echo "$as_me:$LINENO: checking for $ac_func" >&5
31178echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31179if eval "test \"\${$as_ac_var+set}\" = set"; then
31180 echo $ECHO_N "(cached) $ECHO_C" >&6
31181else
31182 cat >conftest.$ac_ext <<_ACEOF
31183#line $LINENO "configure"
31184/* confdefs.h. */
31185_ACEOF
31186cat confdefs.h >>conftest.$ac_ext
31187cat >>conftest.$ac_ext <<_ACEOF
31188/* end confdefs.h. */
31189/* System header to define __stub macros and hopefully few prototypes,
31190 which can conflict with char $ac_func (); below.
31191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31192 <limits.h> exists even on freestanding compilers. */
31193#ifdef __STDC__
31194# include <limits.h>
31195#else
31196# include <assert.h>
31197#endif
31198/* Override any gcc2 internal prototype to avoid an error. */
31199#ifdef __cplusplus
31200extern "C"
31201{
31202#endif
31203/* We use char because int might match the return type of a gcc2
31204 builtin and then its argument prototype would still apply. */
31205char $ac_func ();
31206/* The GNU C library defines this for functions which it implements
31207 to always fail with ENOSYS. Some functions are actually named
31208 something starting with __ and the normal name is an alias. */
31209#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31210choke me
31211#else
31212char (*f) () = $ac_func;
31213#endif
31214#ifdef __cplusplus
31215}
31216#endif
31217
31218int
31219main ()
31220{
31221return f != $ac_func;
31222 ;
31223 return 0;
31224}
31225_ACEOF
31226rm -f conftest.$ac_objext conftest$ac_exeext
31227if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31228 (eval $ac_link) 2>&5
31229 ac_status=$?
31230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31231 (exit $ac_status); } &&
31232 { ac_try='test -s conftest$ac_exeext'
31233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31234 (eval $ac_try) 2>&5
31235 ac_status=$?
31236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31237 (exit $ac_status); }; }; then
31238 eval "$as_ac_var=yes"
31239else
31240 echo "$as_me: failed program was:" >&5
31241sed 's/^/| /' conftest.$ac_ext >&5
31242
31243eval "$as_ac_var=no"
31244fi
31245rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31246fi
31247echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31248echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31249if test `eval echo '${'$as_ac_var'}'` = yes; then
31250 cat >>confdefs.h <<_ACEOF
31251#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31252_ACEOF
31253
31254 cat >>confdefs.h <<\_ACEOF
31255#define HAVE_SHL_LOAD 1
31256_ACEOF
31257
31258 HAVE_SHL_FUNCS=1
31259
31260else
31261
31262 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31263echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31264if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31265 echo $ECHO_N "(cached) $ECHO_C" >&6
31266else
31267 ac_check_lib_save_LIBS=$LIBS
31268LIBS="-lshl_load $LIBS"
31269cat >conftest.$ac_ext <<_ACEOF
31270#line $LINENO "configure"
31271/* confdefs.h. */
31272_ACEOF
31273cat confdefs.h >>conftest.$ac_ext
31274cat >>conftest.$ac_ext <<_ACEOF
31275/* end confdefs.h. */
31276
31277/* Override any gcc2 internal prototype to avoid an error. */
31278#ifdef __cplusplus
31279extern "C"
31280#endif
31281/* We use char because int might match the return type of a gcc2
31282 builtin and then its argument prototype would still apply. */
31283char dld ();
31284int
31285main ()
31286{
31287dld ();
31288 ;
31289 return 0;
31290}
31291_ACEOF
31292rm -f conftest.$ac_objext conftest$ac_exeext
31293if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31294 (eval $ac_link) 2>&5
31295 ac_status=$?
31296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31297 (exit $ac_status); } &&
31298 { ac_try='test -s conftest$ac_exeext'
31299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31300 (eval $ac_try) 2>&5
31301 ac_status=$?
31302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31303 (exit $ac_status); }; }; then
31304 ac_cv_lib_shl_load_dld=yes
31305else
31306 echo "$as_me: failed program was:" >&5
31307sed 's/^/| /' conftest.$ac_ext >&5
31308
31309ac_cv_lib_shl_load_dld=no
31310fi
31311rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31312LIBS=$ac_check_lib_save_LIBS
31313fi
31314echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31315echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31316if test $ac_cv_lib_shl_load_dld = yes; then
31317
31318 HAVE_SHL_FUNCS=1
31319 DL_LINK=" -ldld$DL_LINK"
31320
31321fi
31322
31323
31324fi
31325done
31326
31327
31328fi
31329
31330
31331fi
31332done
31333
31334
31335 if test "$HAVE_DL_FUNCS" = 1; then
31336
31337for ac_func in dlerror
31338do
31339as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31340echo "$as_me:$LINENO: checking for $ac_func" >&5
31341echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31342if eval "test \"\${$as_ac_var+set}\" = set"; then
31343 echo $ECHO_N "(cached) $ECHO_C" >&6
31344else
31345 cat >conftest.$ac_ext <<_ACEOF
31346#line $LINENO "configure"
31347/* confdefs.h. */
31348_ACEOF
31349cat confdefs.h >>conftest.$ac_ext
31350cat >>conftest.$ac_ext <<_ACEOF
31351/* end confdefs.h. */
31352/* System header to define __stub macros and hopefully few prototypes,
31353 which can conflict with char $ac_func (); below.
31354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31355 <limits.h> exists even on freestanding compilers. */
31356#ifdef __STDC__
31357# include <limits.h>
31358#else
31359# include <assert.h>
31360#endif
31361/* Override any gcc2 internal prototype to avoid an error. */
31362#ifdef __cplusplus
31363extern "C"
31364{
31365#endif
31366/* We use char because int might match the return type of a gcc2
31367 builtin and then its argument prototype would still apply. */
31368char $ac_func ();
31369/* The GNU C library defines this for functions which it implements
31370 to always fail with ENOSYS. Some functions are actually named
31371 something starting with __ and the normal name is an alias. */
31372#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31373choke me
31374#else
31375char (*f) () = $ac_func;
31376#endif
31377#ifdef __cplusplus
31378}
31379#endif
31380
31381int
31382main ()
31383{
31384return f != $ac_func;
31385 ;
31386 return 0;
31387}
31388_ACEOF
31389rm -f conftest.$ac_objext conftest$ac_exeext
31390if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31391 (eval $ac_link) 2>&5
31392 ac_status=$?
31393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31394 (exit $ac_status); } &&
31395 { ac_try='test -s conftest$ac_exeext'
31396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31397 (eval $ac_try) 2>&5
31398 ac_status=$?
31399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31400 (exit $ac_status); }; }; then
31401 eval "$as_ac_var=yes"
31402else
31403 echo "$as_me: failed program was:" >&5
31404sed 's/^/| /' conftest.$ac_ext >&5
31405
31406eval "$as_ac_var=no"
31407fi
31408rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31409fi
31410echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31411echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31412if test `eval echo '${'$as_ac_var'}'` = yes; then
31413 cat >>confdefs.h <<_ACEOF
31414#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31415_ACEOF
31416 cat >>confdefs.h <<\_ACEOF
31417#define HAVE_DLERROR 1
31418_ACEOF
31419
31420else
31421
31422 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31423echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31424if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31425 echo $ECHO_N "(cached) $ECHO_C" >&6
31426else
31427 ac_check_lib_save_LIBS=$LIBS
31428LIBS="-ldl $LIBS"
31429cat >conftest.$ac_ext <<_ACEOF
31430#line $LINENO "configure"
31431/* confdefs.h. */
31432_ACEOF
31433cat confdefs.h >>conftest.$ac_ext
31434cat >>conftest.$ac_ext <<_ACEOF
31435/* end confdefs.h. */
31436
31437/* Override any gcc2 internal prototype to avoid an error. */
31438#ifdef __cplusplus
31439extern "C"
31440#endif
31441/* We use char because int might match the return type of a gcc2
31442 builtin and then its argument prototype would still apply. */
31443char dlerror ();
31444int
31445main ()
31446{
31447dlerror ();
31448 ;
31449 return 0;
31450}
31451_ACEOF
31452rm -f conftest.$ac_objext conftest$ac_exeext
31453if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31454 (eval $ac_link) 2>&5
31455 ac_status=$?
31456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31457 (exit $ac_status); } &&
31458 { ac_try='test -s conftest$ac_exeext'
31459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31460 (eval $ac_try) 2>&5
31461 ac_status=$?
31462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31463 (exit $ac_status); }; }; then
31464 ac_cv_lib_dl_dlerror=yes
31465else
31466 echo "$as_me: failed program was:" >&5
31467sed 's/^/| /' conftest.$ac_ext >&5
31468
31469ac_cv_lib_dl_dlerror=no
31470fi
31471rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31472LIBS=$ac_check_lib_save_LIBS
31473fi
31474echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31475echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31476if test $ac_cv_lib_dl_dlerror = yes; then
31477 cat >>confdefs.h <<\_ACEOF
31478#define HAVE_DLERROR 1
31479_ACEOF
31480
31481fi
31482
31483
31484
31485fi
31486done
31487
31488 fi
31489 fi
31490
31491 if test "$HAVE_DL_FUNCS" = 0; then
31492 if test "$HAVE_SHL_FUNCS" = 0; then
31493 if test "$USE_UNIX" = 1; then
31494 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31495echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31496 wxUSE_DYNAMIC_LOADER=no
31497 wxUSE_DYNLIB_CLASS=no
31498 else
31499 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31500echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31501 fi
31502 fi
31503 fi
31504 fi
31505fi
31506
31507if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31508 cat >>confdefs.h <<\_ACEOF
31509#define wxUSE_DYNAMIC_LOADER 1
31510_ACEOF
31511
31512fi
31513if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31514 cat >>confdefs.h <<\_ACEOF
31515#define wxUSE_DYNLIB_CLASS 1
31516_ACEOF
31517
31518fi
31519
31520
31521
31522if test "$wxUSE_PLUGINS" = "yes" ; then
31523 if test "$wxUSE_SHARED" = "no" ; then
31524 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
31525echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
31526 wxUSE_PLUGINS=no
31527 fi
31528 if test "$wxUSE_MONOLITHIC" = "yes" ; then
31529 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
31530echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
31531 wxUSE_PLUGINS=no
31532 fi
31533 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
31534 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
31535echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
31536 wxUSE_PLUGINS=no
31537 fi
31538 if test "$wxUSE_PLUGINS" = "yes" ; then
31539 cat >>confdefs.h <<\_ACEOF
31540#define wxUSE_PLUGINS 1
31541_ACEOF
31542
31543 fi
31544fi
31545
31546
31547if test "$wxUSE_STL" = "yes"; then
31548 cat >>confdefs.h <<\_ACEOF
31549#define wxUSE_STL 1
31550_ACEOF
31551
31552fi
31553
31554if test "$wxUSE_APPLE_IEEE" = "yes"; then
31555 cat >>confdefs.h <<\_ACEOF
31556#define wxUSE_APPLE_IEEE 1
31557_ACEOF
31558
31559fi
31560
31561if test "$wxUSE_TIMER" = "yes"; then
31562 cat >>confdefs.h <<\_ACEOF
31563#define wxUSE_TIMER 1
31564_ACEOF
31565
31566fi
31567
31568WITH_PLUGIN_SDL=0
31569if test "$wxUSE_SOUND" = "yes"; then
31570 if test "$USE_UNIX" = "1" ; then
31571
31572for ac_header in sys/soundcard.h
31573do
31574as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31575if eval "test \"\${$as_ac_Header+set}\" = set"; then
31576 echo "$as_me:$LINENO: checking for $ac_header" >&5
31577echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31578if eval "test \"\${$as_ac_Header+set}\" = set"; then
31579 echo $ECHO_N "(cached) $ECHO_C" >&6
31580fi
31581echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31582echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31583else
31584 # Is the header compilable?
31585echo "$as_me:$LINENO: checking $ac_header usability" >&5
31586echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31587cat >conftest.$ac_ext <<_ACEOF
31588#line $LINENO "configure"
31589/* confdefs.h. */
31590_ACEOF
31591cat confdefs.h >>conftest.$ac_ext
31592cat >>conftest.$ac_ext <<_ACEOF
31593/* end confdefs.h. */
31594$ac_includes_default
31595#include <$ac_header>
31596_ACEOF
31597rm -f conftest.$ac_objext
31598if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31599 (eval $ac_compile) 2>&5
31600 ac_status=$?
31601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31602 (exit $ac_status); } &&
31603 { ac_try='test -s conftest.$ac_objext'
31604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31605 (eval $ac_try) 2>&5
31606 ac_status=$?
31607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31608 (exit $ac_status); }; }; then
31609 ac_header_compiler=yes
31610else
31611 echo "$as_me: failed program was:" >&5
31612sed 's/^/| /' conftest.$ac_ext >&5
31613
31614ac_header_compiler=no
31615fi
31616rm -f conftest.$ac_objext conftest.$ac_ext
31617echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31618echo "${ECHO_T}$ac_header_compiler" >&6
31619
31620# Is the header present?
31621echo "$as_me:$LINENO: checking $ac_header presence" >&5
31622echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31623cat >conftest.$ac_ext <<_ACEOF
31624#line $LINENO "configure"
31625/* confdefs.h. */
31626_ACEOF
31627cat confdefs.h >>conftest.$ac_ext
31628cat >>conftest.$ac_ext <<_ACEOF
31629/* end confdefs.h. */
31630#include <$ac_header>
31631_ACEOF
31632if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31633 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31634 ac_status=$?
31635 grep -v '^ *+' conftest.er1 >conftest.err
31636 rm -f conftest.er1
31637 cat conftest.err >&5
31638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31639 (exit $ac_status); } >/dev/null; then
31640 if test -s conftest.err; then
31641 ac_cpp_err=$ac_c_preproc_warn_flag
31642 else
31643 ac_cpp_err=
31644 fi
31645else
31646 ac_cpp_err=yes
31647fi
31648if test -z "$ac_cpp_err"; then
31649 ac_header_preproc=yes
31650else
31651 echo "$as_me: failed program was:" >&5
31652sed 's/^/| /' conftest.$ac_ext >&5
31653
31654 ac_header_preproc=no
31655fi
31656rm -f conftest.err conftest.$ac_ext
31657echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31658echo "${ECHO_T}$ac_header_preproc" >&6
31659
31660# So? What about this header?
31661case $ac_header_compiler:$ac_header_preproc in
31662 yes:no )
31663 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31664echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31665 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31666echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31667 (
31668 cat <<\_ASBOX
31669## ------------------------------------ ##
31670## Report this to bug-autoconf@gnu.org. ##
31671## ------------------------------------ ##
31672_ASBOX
31673 ) |
31674 sed "s/^/$as_me: WARNING: /" >&2
31675 ;;
31676 no:yes )
31677 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31678echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31679 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31680echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31681 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31682echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31683 (
31684 cat <<\_ASBOX
31685## ------------------------------------ ##
31686## Report this to bug-autoconf@gnu.org. ##
31687## ------------------------------------ ##
31688_ASBOX
31689 ) |
31690 sed "s/^/$as_me: WARNING: /" >&2
31691 ;;
31692esac
31693echo "$as_me:$LINENO: checking for $ac_header" >&5
31694echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31695if eval "test \"\${$as_ac_Header+set}\" = set"; then
31696 echo $ECHO_N "(cached) $ECHO_C" >&6
31697else
31698 eval "$as_ac_Header=$ac_header_preproc"
31699fi
31700echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31701echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31702
31703fi
31704if test `eval echo '${'$as_ac_Header'}'` = yes; then
31705 cat >>confdefs.h <<_ACEOF
31706#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31707_ACEOF
31708
31709fi
31710
31711done
31712
31713
31714 if test "$wxUSE_LIBSDL" != "no"; then
31715
31716# Check whether --with-sdl-prefix or --without-sdl-prefix was given.
31717if test "${with_sdl_prefix+set}" = set; then
31718 withval="$with_sdl_prefix"
31719 sdl_prefix="$withval"
31720else
31721 sdl_prefix=""
31722fi;
31723
31724# Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
31725if test "${with_sdl_exec_prefix+set}" = set; then
31726 withval="$with_sdl_exec_prefix"
31727 sdl_exec_prefix="$withval"
31728else
31729 sdl_exec_prefix=""
31730fi;
31731# Check whether --enable-sdltest or --disable-sdltest was given.
31732if test "${enable_sdltest+set}" = set; then
31733 enableval="$enable_sdltest"
31734
31735else
31736 enable_sdltest=yes
31737fi;
31738
31739 if test x$sdl_exec_prefix != x ; then
31740 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
31741 if test x${SDL_CONFIG+set} != xset ; then
31742 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
31743 fi
31744 fi
31745 if test x$sdl_prefix != x ; then
31746 sdl_args="$sdl_args --prefix=$sdl_prefix"
31747 if test x${SDL_CONFIG+set} != xset ; then
31748 SDL_CONFIG=$sdl_prefix/bin/sdl-config
31749 fi
31750 fi
31751
31752
31753 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
31754 # Extract the first word of "sdl-config", so it can be a program name with args.
31755set dummy sdl-config; ac_word=$2
31756echo "$as_me:$LINENO: checking for $ac_word" >&5
31757echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31758if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
31759 echo $ECHO_N "(cached) $ECHO_C" >&6
31760else
31761 case $SDL_CONFIG in
31762 [\\/]* | ?:[\\/]*)
31763 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
31764 ;;
31765 *)
31766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31767for as_dir in $PATH
31768do
31769 IFS=$as_save_IFS
31770 test -z "$as_dir" && as_dir=.
31771 for ac_exec_ext in '' $ac_executable_extensions; do
31772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31773 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31775 break 2
31776 fi
31777done
31778done
31779
31780 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
31781 ;;
31782esac
31783fi
31784SDL_CONFIG=$ac_cv_path_SDL_CONFIG
31785
31786if test -n "$SDL_CONFIG"; then
31787 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
31788echo "${ECHO_T}$SDL_CONFIG" >&6
31789else
31790 echo "$as_me:$LINENO: result: no" >&5
31791echo "${ECHO_T}no" >&6
31792fi
31793
31794 min_sdl_version=1.2.0
31795 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
31796echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
31797 no_sdl=""
31798 if test "$SDL_CONFIG" = "no" ; then
31799 no_sdl=yes
31800 else
31801 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
31802 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
31803
31804 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
31805 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31806 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
31807 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31808 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
31809 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31810 if test "x$enable_sdltest" = "xyes" ; then
31811 ac_save_CFLAGS="$CFLAGS"
31812 ac_save_LIBS="$LIBS"
31813 CFLAGS="$CFLAGS $SDL_CFLAGS"
31814 LIBS="$LIBS $SDL_LIBS"
31815 rm -f conf.sdltest
31816 if test "$cross_compiling" = yes; then
31817 echo $ac_n "cross compiling; assumed OK... $ac_c"
31818else
31819 cat >conftest.$ac_ext <<_ACEOF
31820#line $LINENO "configure"
31821/* confdefs.h. */
31822_ACEOF
31823cat confdefs.h >>conftest.$ac_ext
31824cat >>conftest.$ac_ext <<_ACEOF
31825/* end confdefs.h. */
31826
31827#include <stdio.h>
31828#include <stdlib.h>
31829#include <string.h>
31830#include "SDL.h"
31831
31832char*
31833my_strdup (char *str)
31834{
31835 char *new_str;
31836
31837 if (str)
31838 {
31839 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
31840 strcpy (new_str, str);
31841 }
31842 else
31843 new_str = NULL;
31844
31845 return new_str;
31846}
31847
31848int main (int argc, char *argv[])
31849{
31850 int major, minor, micro;
31851 char *tmp_version;
31852
31853 /* This hangs on some systems (?)
31854 system ("touch conf.sdltest");
31855 */
31856 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
31857
31858 /* HP/UX 9 (%@#!) writes to sscanf strings */
31859 tmp_version = my_strdup("$min_sdl_version");
31860 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31861 printf("%s, bad version string\n", "$min_sdl_version");
31862 exit(1);
31863 }
31864
31865 if (($sdl_major_version > major) ||
31866 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
31867 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
31868 {
31869 return 0;
31870 }
31871 else
31872 {
31873 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
31874 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
31875 printf("*** best to upgrade to the required version.\n");
31876 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
31877 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
31878 printf("*** config.cache before re-running configure\n");
31879 return 1;
31880 }
31881}
31882
31883
31884_ACEOF
31885rm -f conftest$ac_exeext
31886if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31887 (eval $ac_link) 2>&5
31888 ac_status=$?
31889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31890 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31892 (eval $ac_try) 2>&5
31893 ac_status=$?
31894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31895 (exit $ac_status); }; }; then
31896 :
31897else
31898 echo "$as_me: program exited with status $ac_status" >&5
31899echo "$as_me: failed program was:" >&5
31900sed 's/^/| /' conftest.$ac_ext >&5
31901
31902( exit $ac_status )
31903no_sdl=yes
31904fi
31905rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31906fi
31907 CFLAGS="$ac_save_CFLAGS"
31908 LIBS="$ac_save_LIBS"
31909 fi
31910 fi
31911 if test "x$no_sdl" = x ; then
31912 echo "$as_me:$LINENO: result: yes" >&5
31913echo "${ECHO_T}yes" >&6
31914
31915 EXTRALIBS_SDL="$SDL_LIBS"
31916 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
31917 cat >>confdefs.h <<\_ACEOF
31918#define wxUSE_LIBSDL 1
31919_ACEOF
31920
31921
31922 else
31923 echo "$as_me:$LINENO: result: no" >&5
31924echo "${ECHO_T}no" >&6
31925 if test "$SDL_CONFIG" = "no" ; then
31926 echo "*** The sdl-config script installed by SDL could not be found"
31927 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
31928 echo "*** your path, or set the SDL_CONFIG environment variable to the"
31929 echo "*** full path to sdl-config."
31930 else
31931 if test -f conf.sdltest ; then
31932 :
31933 else
31934 echo "*** Could not run SDL test program, checking why..."
31935 CFLAGS="$CFLAGS $SDL_CFLAGS"
31936 LIBS="$LIBS $SDL_LIBS"
31937 cat >conftest.$ac_ext <<_ACEOF
31938#line $LINENO "configure"
31939/* confdefs.h. */
31940_ACEOF
31941cat confdefs.h >>conftest.$ac_ext
31942cat >>conftest.$ac_ext <<_ACEOF
31943/* end confdefs.h. */
31944
31945#include <stdio.h>
31946#include "SDL.h"
31947
31948int main(int argc, char *argv[])
31949{ return 0; }
31950#undef main
31951#define main K_and_R_C_main
31952
31953int
31954main ()
31955{
31956 return 0;
31957 ;
31958 return 0;
31959}
31960_ACEOF
31961rm -f conftest.$ac_objext conftest$ac_exeext
31962if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31963 (eval $ac_link) 2>&5
31964 ac_status=$?
31965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31966 (exit $ac_status); } &&
31967 { ac_try='test -s conftest$ac_exeext'
31968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31969 (eval $ac_try) 2>&5
31970 ac_status=$?
31971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31972 (exit $ac_status); }; }; then
31973 echo "*** The test program compiled, but did not run. This usually means"
31974 echo "*** that the run-time linker is not finding SDL or finding the wrong"
31975 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
31976 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31977 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31978 echo "*** is required on your system"
31979 echo "***"
31980 echo "*** If you have an old version installed, it is best to remove it, although"
31981 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31982else
31983 echo "$as_me: failed program was:" >&5
31984sed 's/^/| /' conftest.$ac_ext >&5
31985
31986 echo "*** The test program failed to compile or link. See the file config.log for the"
31987 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
31988 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
31989 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
31990fi
31991rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31992 CFLAGS="$ac_save_CFLAGS"
31993 LIBS="$ac_save_LIBS"
31994 fi
31995 fi
31996 SDL_CFLAGS=""
31997 SDL_LIBS=""
31998 wxUSE_LIBSDL="no"
31999 fi
32000
32001
32002 rm -f conf.sdltest
32003
32004 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
32005 WITH_PLUGIN_SDL=1
32006 fi
32007 fi
32008 fi
32009
32010 cat >>confdefs.h <<\_ACEOF
32011#define wxUSE_SOUND 1
32012_ACEOF
32013
32014 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
32015fi
32016
32017if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
32018 cat >>confdefs.h <<\_ACEOF
32019#define wxUSE_CMDLINE_PARSER 1
32020_ACEOF
32021
32022fi
32023
32024if test "$wxUSE_STOPWATCH" = "yes"; then
32025 cat >>confdefs.h <<\_ACEOF
32026#define wxUSE_STOPWATCH 1
32027_ACEOF
32028
32029fi
32030
32031if test "$wxUSE_DATETIME" = "yes"; then
32032 cat >>confdefs.h <<\_ACEOF
32033#define wxUSE_DATETIME 1
32034_ACEOF
32035
32036fi
32037
32038if test "$wxUSE_FILE" = "yes"; then
32039 cat >>confdefs.h <<\_ACEOF
32040#define wxUSE_FILE 1
32041_ACEOF
32042
32043fi
32044
32045if test "$wxUSE_FFILE" = "yes"; then
32046 cat >>confdefs.h <<\_ACEOF
32047#define wxUSE_FFILE 1
32048_ACEOF
32049
32050fi
32051
32052if test "$wxUSE_FILESYSTEM" = "yes"; then
32053 cat >>confdefs.h <<\_ACEOF
32054#define wxUSE_FILESYSTEM 1
32055_ACEOF
32056
32057fi
32058
32059if test "$wxUSE_FS_ZIP" = "yes"; then
32060 cat >>confdefs.h <<\_ACEOF
32061#define wxUSE_FS_ZIP 1
32062_ACEOF
32063
32064fi
32065
32066if test "$wxUSE_ZIPSTREAM" = "yes"; then
32067 cat >>confdefs.h <<\_ACEOF
32068#define wxUSE_ZIPSTREAM 1
32069_ACEOF
32070
32071fi
32072
32073if test "$wxUSE_GZSTREAM" = "yes"; then
32074 cat >>confdefs.h <<\_ACEOF
32075#define wxUSE_GZSTREAM 1
32076_ACEOF
32077
32078fi
32079
32080if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
32081 cat >>confdefs.h <<\_ACEOF
32082#define wxUSE_ON_FATAL_EXCEPTION 1
32083_ACEOF
32084
32085fi
32086
32087if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32088 cat >>confdefs.h <<\_ACEOF
32089#define wxUSE_SNGLINST_CHECKER 1
32090_ACEOF
32091
32092fi
32093
32094if test "$wxUSE_BUSYINFO" = "yes"; then
32095 cat >>confdefs.h <<\_ACEOF
32096#define wxUSE_BUSYINFO 1
32097_ACEOF
32098
32099fi
32100
32101if test "$wxUSE_STD_IOSTREAM" = "yes"; then
32102 cat >>confdefs.h <<\_ACEOF
32103#define wxUSE_STD_IOSTREAM 1
32104_ACEOF
32105
32106fi
32107
32108if test "$wxUSE_TEXTBUFFER" = "yes"; then
32109 cat >>confdefs.h <<\_ACEOF
32110#define wxUSE_TEXTBUFFER 1
32111_ACEOF
32112
32113fi
32114
32115if test "$wxUSE_TEXTFILE" = "yes"; then
32116 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
32117 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
32118echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
32119 else
32120 cat >>confdefs.h <<\_ACEOF
32121#define wxUSE_TEXTFILE 1
32122_ACEOF
32123
32124 fi
32125fi
32126
32127if test "$wxUSE_CONFIG" = "yes" ; then
32128 if test "$wxUSE_TEXTFILE" != "yes"; then
32129 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
32130echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
32131 else
32132 cat >>confdefs.h <<\_ACEOF
32133#define wxUSE_CONFIG 1
32134_ACEOF
32135
32136 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
32137 fi
32138fi
32139
32140if test "$wxUSE_INTL" = "yes" ; then
32141 if test "$wxUSE_FILE" != "yes"; then
32142 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
32143echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
32144 else
32145 cat >>confdefs.h <<\_ACEOF
32146#define wxUSE_INTL 1
32147_ACEOF
32148
32149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
32150 GUIDIST="$GUIDIST INTL_DIST"
32151 fi
32152fi
32153
32154if test "$wxUSE_LOG" = "yes"; then
32155 cat >>confdefs.h <<\_ACEOF
32156#define wxUSE_LOG 1
32157_ACEOF
32158
32159
32160 if test "$wxUSE_LOGGUI" = "yes"; then
32161 cat >>confdefs.h <<\_ACEOF
32162#define wxUSE_LOGGUI 1
32163_ACEOF
32164
32165 fi
32166
32167 if test "$wxUSE_LOGWINDOW" = "yes"; then
32168 cat >>confdefs.h <<\_ACEOF
32169#define wxUSE_LOGWINDOW 1
32170_ACEOF
32171
32172 fi
32173
32174 if test "$wxUSE_LOGDIALOG" = "yes"; then
32175 cat >>confdefs.h <<\_ACEOF
32176#define wxUSE_LOG_DIALOG 1
32177_ACEOF
32178
32179 fi
32180fi
32181
32182if test "$wxUSE_LONGLONG" = "yes"; then
32183 cat >>confdefs.h <<\_ACEOF
32184#define wxUSE_LONGLONG 1
32185_ACEOF
32186
32187fi
32188
32189if test "$wxUSE_GEOMETRY" = "yes"; then
32190 cat >>confdefs.h <<\_ACEOF
32191#define wxUSE_GEOMETRY 1
32192_ACEOF
32193
32194fi
32195
32196if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
32197 cat >>confdefs.h <<\_ACEOF
32198#define wxUSE_DIALUP_MANAGER 1
32199_ACEOF
32200
32201 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
32202fi
32203
32204if test "$wxUSE_STREAMS" = "yes" ; then
32205 cat >>confdefs.h <<\_ACEOF
32206#define wxUSE_STREAMS 1
32207_ACEOF
32208
32209fi
32210
32211
32212if test "$wxUSE_DATETIME" = "yes"; then
32213
32214for ac_func in strptime
32215do
32216as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32217echo "$as_me:$LINENO: checking for $ac_func" >&5
32218echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32219if eval "test \"\${$as_ac_var+set}\" = set"; then
32220 echo $ECHO_N "(cached) $ECHO_C" >&6
32221else
32222 cat >conftest.$ac_ext <<_ACEOF
32223#line $LINENO "configure"
32224/* confdefs.h. */
32225_ACEOF
32226cat confdefs.h >>conftest.$ac_ext
32227cat >>conftest.$ac_ext <<_ACEOF
32228/* end confdefs.h. */
32229/* System header to define __stub macros and hopefully few prototypes,
32230 which can conflict with char $ac_func (); below.
32231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32232 <limits.h> exists even on freestanding compilers. */
32233#ifdef __STDC__
32234# include <limits.h>
32235#else
32236# include <assert.h>
32237#endif
32238/* Override any gcc2 internal prototype to avoid an error. */
32239#ifdef __cplusplus
32240extern "C"
32241{
32242#endif
32243/* We use char because int might match the return type of a gcc2
32244 builtin and then its argument prototype would still apply. */
32245char $ac_func ();
32246/* The GNU C library defines this for functions which it implements
32247 to always fail with ENOSYS. Some functions are actually named
32248 something starting with __ and the normal name is an alias. */
32249#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32250choke me
32251#else
32252char (*f) () = $ac_func;
32253#endif
32254#ifdef __cplusplus
32255}
32256#endif
32257
32258int
32259main ()
32260{
32261return f != $ac_func;
32262 ;
32263 return 0;
32264}
32265_ACEOF
32266rm -f conftest.$ac_objext conftest$ac_exeext
32267if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32268 (eval $ac_link) 2>&5
32269 ac_status=$?
32270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32271 (exit $ac_status); } &&
32272 { ac_try='test -s conftest$ac_exeext'
32273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32274 (eval $ac_try) 2>&5
32275 ac_status=$?
32276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32277 (exit $ac_status); }; }; then
32278 eval "$as_ac_var=yes"
32279else
32280 echo "$as_me: failed program was:" >&5
32281sed 's/^/| /' conftest.$ac_ext >&5
32282
32283eval "$as_ac_var=no"
32284fi
32285rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32286fi
32287echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32288echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32289if test `eval echo '${'$as_ac_var'}'` = yes; then
32290 cat >>confdefs.h <<_ACEOF
32291#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32292_ACEOF
32293
32294fi
32295done
32296
32297
32298 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
32299echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
32300if test "${wx_cv_var_timezone+set}" = set; then
32301 echo $ECHO_N "(cached) $ECHO_C" >&6
32302else
32303
32304 cat >conftest.$ac_ext <<_ACEOF
32305#line $LINENO "configure"
32306/* confdefs.h. */
32307_ACEOF
32308cat confdefs.h >>conftest.$ac_ext
32309cat >>conftest.$ac_ext <<_ACEOF
32310/* end confdefs.h. */
32311
32312 #include <time.h>
32313
32314int
32315main ()
32316{
32317
32318 int tz;
32319 tz = timezone;
32320
32321 ;
32322 return 0;
32323}
32324_ACEOF
32325rm -f conftest.$ac_objext
32326if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32327 (eval $ac_compile) 2>&5
32328 ac_status=$?
32329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32330 (exit $ac_status); } &&
32331 { ac_try='test -s conftest.$ac_objext'
32332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32333 (eval $ac_try) 2>&5
32334 ac_status=$?
32335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32336 (exit $ac_status); }; }; then
32337
32338 wx_cv_var_timezone=timezone
32339
32340else
32341 echo "$as_me: failed program was:" >&5
32342sed 's/^/| /' conftest.$ac_ext >&5
32343
32344
32345 cat >conftest.$ac_ext <<_ACEOF
32346#line $LINENO "configure"
32347/* confdefs.h. */
32348_ACEOF
32349cat confdefs.h >>conftest.$ac_ext
32350cat >>conftest.$ac_ext <<_ACEOF
32351/* end confdefs.h. */
32352
32353 #include <time.h>
32354
32355int
32356main ()
32357{
32358
32359 int tz;
32360 tz = _timezone;
32361
32362 ;
32363 return 0;
32364}
32365_ACEOF
32366rm -f conftest.$ac_objext
32367if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32368 (eval $ac_compile) 2>&5
32369 ac_status=$?
32370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32371 (exit $ac_status); } &&
32372 { ac_try='test -s conftest.$ac_objext'
32373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32374 (eval $ac_try) 2>&5
32375 ac_status=$?
32376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32377 (exit $ac_status); }; }; then
32378
32379 wx_cv_var_timezone=_timezone
32380
32381else
32382 echo "$as_me: failed program was:" >&5
32383sed 's/^/| /' conftest.$ac_ext >&5
32384
32385
32386 cat >conftest.$ac_ext <<_ACEOF
32387#line $LINENO "configure"
32388/* confdefs.h. */
32389_ACEOF
32390cat confdefs.h >>conftest.$ac_ext
32391cat >>conftest.$ac_ext <<_ACEOF
32392/* end confdefs.h. */
32393
32394 #include <time.h>
32395
32396int
32397main ()
32398{
32399
32400 int tz;
32401 tz = __timezone;
32402
32403 ;
32404 return 0;
32405}
32406_ACEOF
32407rm -f conftest.$ac_objext
32408if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32409 (eval $ac_compile) 2>&5
32410 ac_status=$?
32411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32412 (exit $ac_status); } &&
32413 { ac_try='test -s conftest.$ac_objext'
32414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32415 (eval $ac_try) 2>&5
32416 ac_status=$?
32417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32418 (exit $ac_status); }; }; then
32419
32420 wx_cv_var_timezone=__timezone
32421
32422else
32423 echo "$as_me: failed program was:" >&5
32424sed 's/^/| /' conftest.$ac_ext >&5
32425
32426
32427 if test "$USE_DOS" = 0 ; then
32428 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
32429echo "$as_me: WARNING: no timezone variable" >&2;}
32430 fi
32431
32432
32433fi
32434rm -f conftest.$ac_objext conftest.$ac_ext
32435
32436
32437fi
32438rm -f conftest.$ac_objext conftest.$ac_ext
32439
32440
32441fi
32442rm -f conftest.$ac_objext conftest.$ac_ext
32443
32444
32445fi
32446echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
32447echo "${ECHO_T}$wx_cv_var_timezone" >&6
32448
32449 if test "x$wx_cv_var_timezone" != x ; then
32450 cat >>confdefs.h <<_ACEOF
32451#define WX_TIMEZONE $wx_cv_var_timezone
32452_ACEOF
32453
32454 fi
32455
32456
32457for ac_func in localtime
32458do
32459as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32460echo "$as_me:$LINENO: checking for $ac_func" >&5
32461echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32462if eval "test \"\${$as_ac_var+set}\" = set"; then
32463 echo $ECHO_N "(cached) $ECHO_C" >&6
32464else
32465 cat >conftest.$ac_ext <<_ACEOF
32466#line $LINENO "configure"
32467/* confdefs.h. */
32468_ACEOF
32469cat confdefs.h >>conftest.$ac_ext
32470cat >>conftest.$ac_ext <<_ACEOF
32471/* end confdefs.h. */
32472/* System header to define __stub macros and hopefully few prototypes,
32473 which can conflict with char $ac_func (); below.
32474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32475 <limits.h> exists even on freestanding compilers. */
32476#ifdef __STDC__
32477# include <limits.h>
32478#else
32479# include <assert.h>
32480#endif
32481/* Override any gcc2 internal prototype to avoid an error. */
32482#ifdef __cplusplus
32483extern "C"
32484{
32485#endif
32486/* We use char because int might match the return type of a gcc2
32487 builtin and then its argument prototype would still apply. */
32488char $ac_func ();
32489/* The GNU C library defines this for functions which it implements
32490 to always fail with ENOSYS. Some functions are actually named
32491 something starting with __ and the normal name is an alias. */
32492#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32493choke me
32494#else
32495char (*f) () = $ac_func;
32496#endif
32497#ifdef __cplusplus
32498}
32499#endif
32500
32501int
32502main ()
32503{
32504return f != $ac_func;
32505 ;
32506 return 0;
32507}
32508_ACEOF
32509rm -f conftest.$ac_objext conftest$ac_exeext
32510if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32511 (eval $ac_link) 2>&5
32512 ac_status=$?
32513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32514 (exit $ac_status); } &&
32515 { ac_try='test -s conftest$ac_exeext'
32516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32517 (eval $ac_try) 2>&5
32518 ac_status=$?
32519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32520 (exit $ac_status); }; }; then
32521 eval "$as_ac_var=yes"
32522else
32523 echo "$as_me: failed program was:" >&5
32524sed 's/^/| /' conftest.$ac_ext >&5
32525
32526eval "$as_ac_var=no"
32527fi
32528rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32529fi
32530echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32531echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32532if test `eval echo '${'$as_ac_var'}'` = yes; then
32533 cat >>confdefs.h <<_ACEOF
32534#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32535_ACEOF
32536
32537fi
32538done
32539
32540
32541 if test "$ac_cv_func_localtime" = "yes"; then
32542 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
32543echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
32544if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
32545 echo $ECHO_N "(cached) $ECHO_C" >&6
32546else
32547
32548 cat >conftest.$ac_ext <<_ACEOF
32549#line $LINENO "configure"
32550/* confdefs.h. */
32551_ACEOF
32552cat confdefs.h >>conftest.$ac_ext
32553cat >>conftest.$ac_ext <<_ACEOF
32554/* end confdefs.h. */
32555
32556 #include <time.h>
32557
32558int
32559main ()
32560{
32561
32562 struct tm tm;
32563 tm.tm_gmtoff++;
32564
32565 ;
32566 return 0;
32567}
32568_ACEOF
32569rm -f conftest.$ac_objext
32570if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32571 (eval $ac_compile) 2>&5
32572 ac_status=$?
32573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32574 (exit $ac_status); } &&
32575 { ac_try='test -s conftest.$ac_objext'
32576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32577 (eval $ac_try) 2>&5
32578 ac_status=$?
32579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32580 (exit $ac_status); }; }; then
32581
32582 wx_cv_struct_tm_has_gmtoff=yes
32583
32584else
32585 echo "$as_me: failed program was:" >&5
32586sed 's/^/| /' conftest.$ac_ext >&5
32587
32588wx_cv_struct_tm_has_gmtoff=no
32589
32590fi
32591rm -f conftest.$ac_objext conftest.$ac_ext
32592
32593fi
32594echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
32595echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
32596 fi
32597
32598 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
32599 cat >>confdefs.h <<\_ACEOF
32600#define WX_GMTOFF_IN_TM 1
32601_ACEOF
32602
32603 fi
32604
32605
32606
32607for ac_func in gettimeofday ftime
32608do
32609as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32610echo "$as_me:$LINENO: checking for $ac_func" >&5
32611echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32612if eval "test \"\${$as_ac_var+set}\" = set"; then
32613 echo $ECHO_N "(cached) $ECHO_C" >&6
32614else
32615 cat >conftest.$ac_ext <<_ACEOF
32616#line $LINENO "configure"
32617/* confdefs.h. */
32618_ACEOF
32619cat confdefs.h >>conftest.$ac_ext
32620cat >>conftest.$ac_ext <<_ACEOF
32621/* end confdefs.h. */
32622/* System header to define __stub macros and hopefully few prototypes,
32623 which can conflict with char $ac_func (); below.
32624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32625 <limits.h> exists even on freestanding compilers. */
32626#ifdef __STDC__
32627# include <limits.h>
32628#else
32629# include <assert.h>
32630#endif
32631/* Override any gcc2 internal prototype to avoid an error. */
32632#ifdef __cplusplus
32633extern "C"
32634{
32635#endif
32636/* We use char because int might match the return type of a gcc2
32637 builtin and then its argument prototype would still apply. */
32638char $ac_func ();
32639/* The GNU C library defines this for functions which it implements
32640 to always fail with ENOSYS. Some functions are actually named
32641 something starting with __ and the normal name is an alias. */
32642#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32643choke me
32644#else
32645char (*f) () = $ac_func;
32646#endif
32647#ifdef __cplusplus
32648}
32649#endif
32650
32651int
32652main ()
32653{
32654return f != $ac_func;
32655 ;
32656 return 0;
32657}
32658_ACEOF
32659rm -f conftest.$ac_objext conftest$ac_exeext
32660if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32661 (eval $ac_link) 2>&5
32662 ac_status=$?
32663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32664 (exit $ac_status); } &&
32665 { ac_try='test -s conftest$ac_exeext'
32666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32667 (eval $ac_try) 2>&5
32668 ac_status=$?
32669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32670 (exit $ac_status); }; }; then
32671 eval "$as_ac_var=yes"
32672else
32673 echo "$as_me: failed program was:" >&5
32674sed 's/^/| /' conftest.$ac_ext >&5
32675
32676eval "$as_ac_var=no"
32677fi
32678rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32679fi
32680echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32681echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32682if test `eval echo '${'$as_ac_var'}'` = yes; then
32683 cat >>confdefs.h <<_ACEOF
32684#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32685_ACEOF
32686 break
32687fi
32688done
32689
32690
32691 if test "$ac_cv_func_gettimeofday" = "yes"; then
32692 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
32693echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
32694if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
32695 echo $ECHO_N "(cached) $ECHO_C" >&6
32696else
32697
32698
32699
32700 ac_ext=cc
32701ac_cpp='$CXXCPP $CPPFLAGS'
32702ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32703ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32704ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32705
32706
32707 cat >conftest.$ac_ext <<_ACEOF
32708#line $LINENO "configure"
32709/* confdefs.h. */
32710_ACEOF
32711cat confdefs.h >>conftest.$ac_ext
32712cat >>conftest.$ac_ext <<_ACEOF
32713/* end confdefs.h. */
32714
32715 #include <sys/time.h>
32716 #include <unistd.h>
32717
32718int
32719main ()
32720{
32721
32722 struct timeval tv;
32723 gettimeofday(&tv, NULL);
32724
32725 ;
32726 return 0;
32727}
32728_ACEOF
32729rm -f conftest.$ac_objext
32730if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32731 (eval $ac_compile) 2>&5
32732 ac_status=$?
32733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32734 (exit $ac_status); } &&
32735 { ac_try='test -s conftest.$ac_objext'
32736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32737 (eval $ac_try) 2>&5
32738 ac_status=$?
32739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32740 (exit $ac_status); }; }; then
32741 wx_cv_func_gettimeofday_has_2_args=yes
32742else
32743 echo "$as_me: failed program was:" >&5
32744sed 's/^/| /' conftest.$ac_ext >&5
32745
32746cat >conftest.$ac_ext <<_ACEOF
32747#line $LINENO "configure"
32748/* confdefs.h. */
32749_ACEOF
32750cat confdefs.h >>conftest.$ac_ext
32751cat >>conftest.$ac_ext <<_ACEOF
32752/* end confdefs.h. */
32753
32754 #include <sys/time.h>
32755 #include <unistd.h>
32756
32757int
32758main ()
32759{
32760
32761 struct timeval tv;
32762 gettimeofday(&tv);
32763
32764 ;
32765 return 0;
32766}
32767_ACEOF
32768rm -f conftest.$ac_objext
32769if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32770 (eval $ac_compile) 2>&5
32771 ac_status=$?
32772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32773 (exit $ac_status); } &&
32774 { ac_try='test -s conftest.$ac_objext'
32775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32776 (eval $ac_try) 2>&5
32777 ac_status=$?
32778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32779 (exit $ac_status); }; }; then
32780 wx_cv_func_gettimeofday_has_2_args=no
32781else
32782 echo "$as_me: failed program was:" >&5
32783sed 's/^/| /' conftest.$ac_ext >&5
32784
32785
32786 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
32787echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
32788 wx_cv_func_gettimeofday_has_2_args=unknown
32789
32790
32791fi
32792rm -f conftest.$ac_objext conftest.$ac_ext
32793
32794fi
32795rm -f conftest.$ac_objext conftest.$ac_ext
32796 ac_ext=c
32797ac_cpp='$CPP $CPPFLAGS'
32798ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32799ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32800ac_compiler_gnu=$ac_cv_c_compiler_gnu
32801
32802
32803fi
32804echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
32805echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
32806
32807 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
32808 cat >>confdefs.h <<\_ACEOF
32809#define WX_GETTIMEOFDAY_NO_TZ 1
32810_ACEOF
32811
32812 fi
32813 fi
32814
32815 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
32816fi
32817
32818
32819if test "$wxUSE_SOCKETS" = "yes"; then
32820 if test "$wxUSE_MGL" = "1"; then
32821 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
32822echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
32823 wxUSE_SOCKETS="no"
32824 fi
32825fi
32826
32827if test "$wxUSE_SOCKETS" = "yes"; then
32828 if test "$TOOLKIT" != "MSW"; then
32829 echo "$as_me:$LINENO: checking for socket" >&5
32830echo $ECHO_N "checking for socket... $ECHO_C" >&6
32831if test "${ac_cv_func_socket+set}" = set; then
32832 echo $ECHO_N "(cached) $ECHO_C" >&6
32833else
32834 cat >conftest.$ac_ext <<_ACEOF
32835#line $LINENO "configure"
32836/* confdefs.h. */
32837_ACEOF
32838cat confdefs.h >>conftest.$ac_ext
32839cat >>conftest.$ac_ext <<_ACEOF
32840/* end confdefs.h. */
32841/* System header to define __stub macros and hopefully few prototypes,
32842 which can conflict with char socket (); below.
32843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32844 <limits.h> exists even on freestanding compilers. */
32845#ifdef __STDC__
32846# include <limits.h>
32847#else
32848# include <assert.h>
32849#endif
32850/* Override any gcc2 internal prototype to avoid an error. */
32851#ifdef __cplusplus
32852extern "C"
32853{
32854#endif
32855/* We use char because int might match the return type of a gcc2
32856 builtin and then its argument prototype would still apply. */
32857char socket ();
32858/* The GNU C library defines this for functions which it implements
32859 to always fail with ENOSYS. Some functions are actually named
32860 something starting with __ and the normal name is an alias. */
32861#if defined (__stub_socket) || defined (__stub___socket)
32862choke me
32863#else
32864char (*f) () = socket;
32865#endif
32866#ifdef __cplusplus
32867}
32868#endif
32869
32870int
32871main ()
32872{
32873return f != socket;
32874 ;
32875 return 0;
32876}
32877_ACEOF
32878rm -f conftest.$ac_objext conftest$ac_exeext
32879if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32880 (eval $ac_link) 2>&5
32881 ac_status=$?
32882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32883 (exit $ac_status); } &&
32884 { ac_try='test -s conftest$ac_exeext'
32885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32886 (eval $ac_try) 2>&5
32887 ac_status=$?
32888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32889 (exit $ac_status); }; }; then
32890 ac_cv_func_socket=yes
32891else
32892 echo "$as_me: failed program was:" >&5
32893sed 's/^/| /' conftest.$ac_ext >&5
32894
32895ac_cv_func_socket=no
32896fi
32897rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32898fi
32899echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
32900echo "${ECHO_T}$ac_cv_func_socket" >&6
32901if test $ac_cv_func_socket = yes; then
32902 :
32903else
32904
32905 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
32906echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
32907if test "${ac_cv_lib_socket_socket+set}" = set; then
32908 echo $ECHO_N "(cached) $ECHO_C" >&6
32909else
32910 ac_check_lib_save_LIBS=$LIBS
32911LIBS="-lsocket $LIBS"
32912cat >conftest.$ac_ext <<_ACEOF
32913#line $LINENO "configure"
32914/* confdefs.h. */
32915_ACEOF
32916cat confdefs.h >>conftest.$ac_ext
32917cat >>conftest.$ac_ext <<_ACEOF
32918/* end confdefs.h. */
32919
32920/* Override any gcc2 internal prototype to avoid an error. */
32921#ifdef __cplusplus
32922extern "C"
32923#endif
32924/* We use char because int might match the return type of a gcc2
32925 builtin and then its argument prototype would still apply. */
32926char socket ();
32927int
32928main ()
32929{
32930socket ();
32931 ;
32932 return 0;
32933}
32934_ACEOF
32935rm -f conftest.$ac_objext conftest$ac_exeext
32936if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32937 (eval $ac_link) 2>&5
32938 ac_status=$?
32939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32940 (exit $ac_status); } &&
32941 { ac_try='test -s conftest$ac_exeext'
32942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32943 (eval $ac_try) 2>&5
32944 ac_status=$?
32945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32946 (exit $ac_status); }; }; then
32947 ac_cv_lib_socket_socket=yes
32948else
32949 echo "$as_me: failed program was:" >&5
32950sed 's/^/| /' conftest.$ac_ext >&5
32951
32952ac_cv_lib_socket_socket=no
32953fi
32954rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32955LIBS=$ac_check_lib_save_LIBS
32956fi
32957echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
32958echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
32959if test $ac_cv_lib_socket_socket = yes; then
32960 if test "$INET_LINK" != " -lsocket"; then
32961 INET_LINK="$INET_LINK -lsocket"
32962 fi
32963else
32964
32965 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
32966echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
32967 wxUSE_SOCKETS=no
32968
32969
32970fi
32971
32972
32973
32974fi
32975
32976 fi
32977fi
32978
32979if test "$wxUSE_SOCKETS" = "yes" ; then
32980 if test "$TOOLKIT" != "MSW"; then
32981 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
32982echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
32983if test "${wx_cv_type_getsockname3+set}" = set; then
32984 echo $ECHO_N "(cached) $ECHO_C" >&6
32985else
32986
32987 cat >conftest.$ac_ext <<_ACEOF
32988#line $LINENO "configure"
32989/* confdefs.h. */
32990_ACEOF
32991cat confdefs.h >>conftest.$ac_ext
32992cat >>conftest.$ac_ext <<_ACEOF
32993/* end confdefs.h. */
32994
32995 #include <sys/types.h>
32996 #include <sys/socket.h>
32997
32998int
32999main ()
33000{
33001
33002 socklen_t len;
33003 getsockname(0, 0, &len);
33004
33005 ;
33006 return 0;
33007}
33008_ACEOF
33009rm -f conftest.$ac_objext
33010if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33011 (eval $ac_compile) 2>&5
33012 ac_status=$?
33013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33014 (exit $ac_status); } &&
33015 { ac_try='test -s conftest.$ac_objext'
33016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33017 (eval $ac_try) 2>&5
33018 ac_status=$?
33019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33020 (exit $ac_status); }; }; then
33021 wx_cv_type_getsockname3=socklen_t
33022else
33023 echo "$as_me: failed program was:" >&5
33024sed 's/^/| /' conftest.$ac_ext >&5
33025
33026
33027 CFLAGS_OLD="$CFLAGS"
33028 if test "$GCC" = yes ; then
33029 CFLAGS="$CFLAGS -Werror"
33030 fi
33031
33032 cat >conftest.$ac_ext <<_ACEOF
33033#line $LINENO "configure"
33034/* confdefs.h. */
33035_ACEOF
33036cat confdefs.h >>conftest.$ac_ext
33037cat >>conftest.$ac_ext <<_ACEOF
33038/* end confdefs.h. */
33039
33040 #include <sys/types.h>
33041 #include <sys/socket.h>
33042
33043int
33044main ()
33045{
33046
33047 size_t len;
33048 getsockname(0, 0, &len);
33049
33050 ;
33051 return 0;
33052}
33053_ACEOF
33054rm -f conftest.$ac_objext
33055if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33056 (eval $ac_compile) 2>&5
33057 ac_status=$?
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); } &&
33060 { ac_try='test -s conftest.$ac_objext'
33061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33062 (eval $ac_try) 2>&5
33063 ac_status=$?
33064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33065 (exit $ac_status); }; }; then
33066 wx_cv_type_getsockname3=size_t
33067else
33068 echo "$as_me: failed program was:" >&5
33069sed 's/^/| /' conftest.$ac_ext >&5
33070
33071cat >conftest.$ac_ext <<_ACEOF
33072#line $LINENO "configure"
33073/* confdefs.h. */
33074_ACEOF
33075cat confdefs.h >>conftest.$ac_ext
33076cat >>conftest.$ac_ext <<_ACEOF
33077/* end confdefs.h. */
33078
33079 #include <sys/types.h>
33080 #include <sys/socket.h>
33081
33082int
33083main ()
33084{
33085
33086 int len;
33087 getsockname(0, 0, &len);
33088
33089 ;
33090 return 0;
33091}
33092_ACEOF
33093rm -f conftest.$ac_objext
33094if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33095 (eval $ac_compile) 2>&5
33096 ac_status=$?
33097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33098 (exit $ac_status); } &&
33099 { ac_try='test -s conftest.$ac_objext'
33100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33101 (eval $ac_try) 2>&5
33102 ac_status=$?
33103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33104 (exit $ac_status); }; }; then
33105 wx_cv_type_getsockname3=int
33106else
33107 echo "$as_me: failed program was:" >&5
33108sed 's/^/| /' conftest.$ac_ext >&5
33109
33110wx_cv_type_getsockname3=unknown
33111
33112fi
33113rm -f conftest.$ac_objext conftest.$ac_ext
33114
33115fi
33116rm -f conftest.$ac_objext conftest.$ac_ext
33117
33118 CFLAGS="$CFLAGS_OLD"
33119
33120
33121fi
33122rm -f conftest.$ac_objext conftest.$ac_ext
33123
33124fi
33125echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
33126echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
33127
33128 if test "$wx_cv_type_getsockname3" = "unknown"; then
33129 wxUSE_SOCKETS=no
33130 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
33131echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
33132 else
33133 cat >>confdefs.h <<_ACEOF
33134#define SOCKLEN_T $wx_cv_type_getsockname3
33135_ACEOF
33136
33137 fi
33138 fi
33139fi
33140
33141if test "$wxUSE_SOCKETS" = "yes" ; then
33142 cat >>confdefs.h <<\_ACEOF
33143#define wxUSE_SOCKETS 1
33144_ACEOF
33145
33146 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
33147fi
33148
33149if test "$wxUSE_PROTOCOL" = "yes"; then
33150 if test "$wxUSE_SOCKETS" != "yes"; then
33151 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
33152echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
33153 wxUSE_PROTOCOL=no
33154 fi
33155fi
33156
33157if test "$wxUSE_PROTOCOL" = "yes"; then
33158 cat >>confdefs.h <<\_ACEOF
33159#define wxUSE_PROTOCOL 1
33160_ACEOF
33161
33162
33163 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
33164 cat >>confdefs.h <<\_ACEOF
33165#define wxUSE_PROTOCOL_HTTP 1
33166_ACEOF
33167
33168 fi
33169 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
33170 cat >>confdefs.h <<\_ACEOF
33171#define wxUSE_PROTOCOL_FTP 1
33172_ACEOF
33173
33174 fi
33175 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
33176 cat >>confdefs.h <<\_ACEOF
33177#define wxUSE_PROTOCOL_FILE 1
33178_ACEOF
33179
33180 fi
33181else
33182 if test "$wxUSE_FS_INET" = "yes"; then
33183 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
33184echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
33185 wxUSE_FS_INET="no"
33186 fi
33187fi
33188
33189if test "$wxUSE_URL" = "yes"; then
33190 if test "$wxUSE_PROTOCOL" != "yes"; then
33191 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
33192echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
33193 wxUSE_URL=no
33194 fi
33195 if test "$wxUSE_URL" = "yes"; then
33196 cat >>confdefs.h <<\_ACEOF
33197#define wxUSE_URL 1
33198_ACEOF
33199
33200 fi
33201fi
33202
33203if test "$wxUSE_FS_INET" = "yes"; then
33204 cat >>confdefs.h <<\_ACEOF
33205#define wxUSE_FS_INET 1
33206_ACEOF
33207
33208fi
33209
33210
33211if test "$wxUSE_GUI" = "yes"; then
33212
33213 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
33214 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
33215echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
33216 wxUSE_JOYSTICK=no
33217 fi
33218
33219 if test "$TOOLKIT" != "MSW"; then
33220 if test "$wxUSE_JOYSTICK" = "yes"; then
33221
33222for ac_header in linux/joystick.h
33223do
33224as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33225if eval "test \"\${$as_ac_Header+set}\" = set"; then
33226 echo "$as_me:$LINENO: checking for $ac_header" >&5
33227echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33228if eval "test \"\${$as_ac_Header+set}\" = set"; then
33229 echo $ECHO_N "(cached) $ECHO_C" >&6
33230fi
33231echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33232echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33233else
33234 # Is the header compilable?
33235echo "$as_me:$LINENO: checking $ac_header usability" >&5
33236echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33237cat >conftest.$ac_ext <<_ACEOF
33238#line $LINENO "configure"
33239/* confdefs.h. */
33240_ACEOF
33241cat confdefs.h >>conftest.$ac_ext
33242cat >>conftest.$ac_ext <<_ACEOF
33243/* end confdefs.h. */
33244$ac_includes_default
33245#include <$ac_header>
33246_ACEOF
33247rm -f conftest.$ac_objext
33248if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33249 (eval $ac_compile) 2>&5
33250 ac_status=$?
33251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33252 (exit $ac_status); } &&
33253 { ac_try='test -s conftest.$ac_objext'
33254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33255 (eval $ac_try) 2>&5
33256 ac_status=$?
33257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33258 (exit $ac_status); }; }; then
33259 ac_header_compiler=yes
33260else
33261 echo "$as_me: failed program was:" >&5
33262sed 's/^/| /' conftest.$ac_ext >&5
33263
33264ac_header_compiler=no
33265fi
33266rm -f conftest.$ac_objext conftest.$ac_ext
33267echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33268echo "${ECHO_T}$ac_header_compiler" >&6
33269
33270# Is the header present?
33271echo "$as_me:$LINENO: checking $ac_header presence" >&5
33272echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33273cat >conftest.$ac_ext <<_ACEOF
33274#line $LINENO "configure"
33275/* confdefs.h. */
33276_ACEOF
33277cat confdefs.h >>conftest.$ac_ext
33278cat >>conftest.$ac_ext <<_ACEOF
33279/* end confdefs.h. */
33280#include <$ac_header>
33281_ACEOF
33282if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33283 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33284 ac_status=$?
33285 grep -v '^ *+' conftest.er1 >conftest.err
33286 rm -f conftest.er1
33287 cat conftest.err >&5
33288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33289 (exit $ac_status); } >/dev/null; then
33290 if test -s conftest.err; then
33291 ac_cpp_err=$ac_c_preproc_warn_flag
33292 else
33293 ac_cpp_err=
33294 fi
33295else
33296 ac_cpp_err=yes
33297fi
33298if test -z "$ac_cpp_err"; then
33299 ac_header_preproc=yes
33300else
33301 echo "$as_me: failed program was:" >&5
33302sed 's/^/| /' conftest.$ac_ext >&5
33303
33304 ac_header_preproc=no
33305fi
33306rm -f conftest.err conftest.$ac_ext
33307echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33308echo "${ECHO_T}$ac_header_preproc" >&6
33309
33310# So? What about this header?
33311case $ac_header_compiler:$ac_header_preproc in
33312 yes:no )
33313 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33314echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33315 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33316echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33317 (
33318 cat <<\_ASBOX
33319## ------------------------------------ ##
33320## Report this to bug-autoconf@gnu.org. ##
33321## ------------------------------------ ##
33322_ASBOX
33323 ) |
33324 sed "s/^/$as_me: WARNING: /" >&2
33325 ;;
33326 no:yes )
33327 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33328echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33329 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33330echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33331 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33332echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33333 (
33334 cat <<\_ASBOX
33335## ------------------------------------ ##
33336## Report this to bug-autoconf@gnu.org. ##
33337## ------------------------------------ ##
33338_ASBOX
33339 ) |
33340 sed "s/^/$as_me: WARNING: /" >&2
33341 ;;
33342esac
33343echo "$as_me:$LINENO: checking for $ac_header" >&5
33344echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33345if eval "test \"\${$as_ac_Header+set}\" = set"; then
33346 echo $ECHO_N "(cached) $ECHO_C" >&6
33347else
33348 eval "$as_ac_Header=$ac_header_preproc"
33349fi
33350echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33351echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33352
33353fi
33354if test `eval echo '${'$as_ac_Header'}'` = yes; then
33355 cat >>confdefs.h <<_ACEOF
33356#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33357_ACEOF
33358
33359fi
33360
33361done
33362
33363 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
33364 wxUSE_JOYSTICK=no
33365 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
33366echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
33367 fi
33368 fi
33369 fi
33370
33371 if test "$wxUSE_JOYSTICK" = "yes"; then
33372 cat >>confdefs.h <<\_ACEOF
33373#define wxUSE_JOYSTICK 1
33374_ACEOF
33375
33376 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
33377 fi
33378fi
33379
33380
33381
33382
33383if test "$wxUSE_FONTMAP" = "yes" ; then
33384 cat >>confdefs.h <<\_ACEOF
33385#define wxUSE_FONTMAP 1
33386_ACEOF
33387
33388fi
33389
33390if test "$wxUSE_UNICODE" = "yes" ; then
33391 cat >>confdefs.h <<\_ACEOF
33392#define wxUSE_UNICODE 1
33393_ACEOF
33394
33395
33396 if test "$USE_WIN32" != 1; then
33397 wxUSE_UNICODE_MSLU=no
33398 fi
33399
33400 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
33401 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
33402echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
33403if test "${ac_cv_lib_unicows_main+set}" = set; then
33404 echo $ECHO_N "(cached) $ECHO_C" >&6
33405else
33406 ac_check_lib_save_LIBS=$LIBS
33407LIBS="-lunicows $LIBS"
33408cat >conftest.$ac_ext <<_ACEOF
33409#line $LINENO "configure"
33410/* confdefs.h. */
33411_ACEOF
33412cat confdefs.h >>conftest.$ac_ext
33413cat >>conftest.$ac_ext <<_ACEOF
33414/* end confdefs.h. */
33415
33416
33417int
33418main ()
33419{
33420main ();
33421 ;
33422 return 0;
33423}
33424_ACEOF
33425rm -f conftest.$ac_objext conftest$ac_exeext
33426if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33427 (eval $ac_link) 2>&5
33428 ac_status=$?
33429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33430 (exit $ac_status); } &&
33431 { ac_try='test -s conftest$ac_exeext'
33432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33433 (eval $ac_try) 2>&5
33434 ac_status=$?
33435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33436 (exit $ac_status); }; }; then
33437 ac_cv_lib_unicows_main=yes
33438else
33439 echo "$as_me: failed program was:" >&5
33440sed 's/^/| /' conftest.$ac_ext >&5
33441
33442ac_cv_lib_unicows_main=no
33443fi
33444rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33445LIBS=$ac_check_lib_save_LIBS
33446fi
33447echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
33448echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
33449if test $ac_cv_lib_unicows_main = yes; then
33450
33451 cat >>confdefs.h <<\_ACEOF
33452#define wxUSE_UNICODE_MSLU 1
33453_ACEOF
33454
33455
33456else
33457
33458 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
33459 Applications will only run on Windows NT/2000/XP!" >&5
33460echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
33461 Applications will only run on Windows NT/2000/XP!" >&2;}
33462 wxUSE_UNICODE_MSLU=no
33463
33464fi
33465
33466 fi
33467fi
33468
33469if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
33470 cat >>confdefs.h <<\_ACEOF
33471#define wxUSE_EXPERIMENTAL_PRINTF 1
33472_ACEOF
33473
33474fi
33475
33476
33477if test "$wxUSE_POSTSCRIPT" = "yes" ; then
33478 cat >>confdefs.h <<\_ACEOF
33479#define wxUSE_POSTSCRIPT 1
33480_ACEOF
33481
33482fi
33483
33484cat >>confdefs.h <<\_ACEOF
33485#define wxUSE_AFM_FOR_POSTSCRIPT 1
33486_ACEOF
33487
33488
33489cat >>confdefs.h <<\_ACEOF
33490#define wxUSE_NORMALIZED_PS_FONTS 1
33491_ACEOF
33492
33493
33494
33495if test "$wxUSE_CONSTRAINTS" = "yes"; then
33496 cat >>confdefs.h <<\_ACEOF
33497#define wxUSE_CONSTRAINTS 1
33498_ACEOF
33499
33500 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
33501fi
33502
33503if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
33504 cat >>confdefs.h <<\_ACEOF
33505#define wxUSE_MDI_ARCHITECTURE 1
33506_ACEOF
33507
33508 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
33509fi
33510
33511if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
33512 cat >>confdefs.h <<\_ACEOF
33513#define wxUSE_DOC_VIEW_ARCHITECTURE 1
33514_ACEOF
33515
33516 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
33517 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
33518 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
33519 fi
33520fi
33521
33522if test "$wxUSE_HELP" = "yes"; then
33523 cat >>confdefs.h <<\_ACEOF
33524#define wxUSE_HELP 1
33525_ACEOF
33526
33527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
33528
33529 if test "$wxUSE_MSW" = 1; then
33530 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
33531 cat >>confdefs.h <<\_ACEOF
33532#define wxUSE_MS_HTML_HELP 1
33533_ACEOF
33534
33535 fi
33536 fi
33537
33538 if test "$wxUSE_WXHTML_HELP" = "yes"; then
33539 if test "$wxUSE_HTML" = "yes"; then
33540 cat >>confdefs.h <<\_ACEOF
33541#define wxUSE_WXHTML_HELP 1
33542_ACEOF
33543
33544 else
33545 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
33546echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
33547 wxUSE_WXHTML_HELP=no
33548 fi
33549 fi
33550fi
33551
33552if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33553 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33554 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
33555echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
33556 else
33557 cat >>confdefs.h <<\_ACEOF
33558#define wxUSE_PRINTING_ARCHITECTURE 1
33559_ACEOF
33560
33561 fi
33562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
33563fi
33564
33565if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
33566 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
33567echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
33568 { (exit 1); exit 1; }; }
33569fi
33570
33571
33572if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
33573 -o "$wxUSE_CLIPBOARD" = "yes" \
33574 -o "$wxUSE_OLE" = "yes" \
33575 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
33576
33577for ac_header in ole2.h
33578do
33579as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33580if eval "test \"\${$as_ac_Header+set}\" = set"; then
33581 echo "$as_me:$LINENO: checking for $ac_header" >&5
33582echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33583if eval "test \"\${$as_ac_Header+set}\" = set"; then
33584 echo $ECHO_N "(cached) $ECHO_C" >&6
33585fi
33586echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33587echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33588else
33589 # Is the header compilable?
33590echo "$as_me:$LINENO: checking $ac_header usability" >&5
33591echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33592cat >conftest.$ac_ext <<_ACEOF
33593#line $LINENO "configure"
33594/* confdefs.h. */
33595_ACEOF
33596cat confdefs.h >>conftest.$ac_ext
33597cat >>conftest.$ac_ext <<_ACEOF
33598/* end confdefs.h. */
33599$ac_includes_default
33600#include <$ac_header>
33601_ACEOF
33602rm -f conftest.$ac_objext
33603if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33604 (eval $ac_compile) 2>&5
33605 ac_status=$?
33606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33607 (exit $ac_status); } &&
33608 { ac_try='test -s conftest.$ac_objext'
33609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33610 (eval $ac_try) 2>&5
33611 ac_status=$?
33612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33613 (exit $ac_status); }; }; then
33614 ac_header_compiler=yes
33615else
33616 echo "$as_me: failed program was:" >&5
33617sed 's/^/| /' conftest.$ac_ext >&5
33618
33619ac_header_compiler=no
33620fi
33621rm -f conftest.$ac_objext conftest.$ac_ext
33622echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33623echo "${ECHO_T}$ac_header_compiler" >&6
33624
33625# Is the header present?
33626echo "$as_me:$LINENO: checking $ac_header presence" >&5
33627echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33628cat >conftest.$ac_ext <<_ACEOF
33629#line $LINENO "configure"
33630/* confdefs.h. */
33631_ACEOF
33632cat confdefs.h >>conftest.$ac_ext
33633cat >>conftest.$ac_ext <<_ACEOF
33634/* end confdefs.h. */
33635#include <$ac_header>
33636_ACEOF
33637if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33638 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33639 ac_status=$?
33640 grep -v '^ *+' conftest.er1 >conftest.err
33641 rm -f conftest.er1
33642 cat conftest.err >&5
33643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33644 (exit $ac_status); } >/dev/null; then
33645 if test -s conftest.err; then
33646 ac_cpp_err=$ac_c_preproc_warn_flag
33647 else
33648 ac_cpp_err=
33649 fi
33650else
33651 ac_cpp_err=yes
33652fi
33653if test -z "$ac_cpp_err"; then
33654 ac_header_preproc=yes
33655else
33656 echo "$as_me: failed program was:" >&5
33657sed 's/^/| /' conftest.$ac_ext >&5
33658
33659 ac_header_preproc=no
33660fi
33661rm -f conftest.err conftest.$ac_ext
33662echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33663echo "${ECHO_T}$ac_header_preproc" >&6
33664
33665# So? What about this header?
33666case $ac_header_compiler:$ac_header_preproc in
33667 yes:no )
33668 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33669echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33671echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33672 (
33673 cat <<\_ASBOX
33674## ------------------------------------ ##
33675## Report this to bug-autoconf@gnu.org. ##
33676## ------------------------------------ ##
33677_ASBOX
33678 ) |
33679 sed "s/^/$as_me: WARNING: /" >&2
33680 ;;
33681 no:yes )
33682 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33683echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33684 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33685echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33686 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33687echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33688 (
33689 cat <<\_ASBOX
33690## ------------------------------------ ##
33691## Report this to bug-autoconf@gnu.org. ##
33692## ------------------------------------ ##
33693_ASBOX
33694 ) |
33695 sed "s/^/$as_me: WARNING: /" >&2
33696 ;;
33697esac
33698echo "$as_me:$LINENO: checking for $ac_header" >&5
33699echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33700if eval "test \"\${$as_ac_Header+set}\" = set"; then
33701 echo $ECHO_N "(cached) $ECHO_C" >&6
33702else
33703 eval "$as_ac_Header=$ac_header_preproc"
33704fi
33705echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33706echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33707
33708fi
33709if test `eval echo '${'$as_ac_Header'}'` = yes; then
33710 cat >>confdefs.h <<_ACEOF
33711#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33712_ACEOF
33713
33714fi
33715
33716done
33717
33718
33719 if test "$ac_cv_header_ole2_h" = "yes" ; then
33720 if test "$GCC" = yes ; then
33721
33722
33723 ac_ext=cc
33724ac_cpp='$CXXCPP $CPPFLAGS'
33725ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33726ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33727ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33728
33729
33730 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
33731echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
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#include <windows.h>
33740 #include <ole2.h>
33741int
33742main ()
33743{
33744
33745 ;
33746 return 0;
33747}
33748_ACEOF
33749rm -f conftest.$ac_objext
33750if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33751 (eval $ac_compile) 2>&5
33752 ac_status=$?
33753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33754 (exit $ac_status); } &&
33755 { ac_try='test -s conftest.$ac_objext'
33756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33757 (eval $ac_try) 2>&5
33758 ac_status=$?
33759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33760 (exit $ac_status); }; }; then
33761 echo "$as_me:$LINENO: result: no" >&5
33762echo "${ECHO_T}no" >&6
33763else
33764 echo "$as_me: failed program was:" >&5
33765sed 's/^/| /' conftest.$ac_ext >&5
33766
33767echo "$as_me:$LINENO: result: yes" >&5
33768echo "${ECHO_T}yes" >&6
33769 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
33770fi
33771rm -f conftest.$ac_objext conftest.$ac_ext
33772 ac_ext=c
33773ac_cpp='$CPP $CPPFLAGS'
33774ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33775ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33776ac_compiler_gnu=$ac_cv_c_compiler_gnu
33777
33778 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
33779 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
33780 if test "$wxUSE_OLE" = "yes" ; then
33781 cat >>confdefs.h <<\_ACEOF
33782#define wxUSE_OLE 1
33783_ACEOF
33784
33785 fi
33786 fi
33787
33788 if test "$wxUSE_DATAOBJ" = "yes" ; then
33789 cat >>confdefs.h <<\_ACEOF
33790#define wxUSE_DATAOBJ 1
33791_ACEOF
33792
33793 fi
33794 else
33795 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
33796echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
33797
33798 wxUSE_CLIPBOARD=no
33799 wxUSE_DRAG_AND_DROP=no
33800 wxUSE_DATAOBJ=no
33801 wxUSE_OLE=no
33802 fi
33803
33804 if test "$wxUSE_METAFILE" = "yes"; then
33805 cat >>confdefs.h <<\_ACEOF
33806#define wxUSE_METAFILE 1
33807_ACEOF
33808
33809
33810 cat >>confdefs.h <<\_ACEOF
33811#define wxUSE_ENH_METAFILE 1
33812_ACEOF
33813
33814 fi
33815fi
33816
33817if test "$wxUSE_IPC" = "yes"; then
33818 if test "$wxUSE_SOCKETS" != "yes"; then
33819 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
33820echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
33821 fi
33822
33823 cat >>confdefs.h <<\_ACEOF
33824#define wxUSE_IPC 1
33825_ACEOF
33826
33827fi
33828
33829if test "$wxUSE_CLIPBOARD" = "yes"; then
33830 if test "$wxUSE_MGL" = 1; then
33831 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
33832echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
33833 wxUSE_CLIPBOARD=no
33834 fi
33835
33836 if test "$wxUSE_CLIPBOARD" = "yes"; then
33837 cat >>confdefs.h <<\_ACEOF
33838#define wxUSE_CLIPBOARD 1
33839_ACEOF
33840
33841
33842 cat >>confdefs.h <<\_ACEOF
33843#define wxUSE_DATAOBJ 1
33844_ACEOF
33845
33846 fi
33847fi
33848
33849if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
33850 if test "$wxUSE_GTK" = 1; then
33851 if test "$WXGTK12" != 1; then
33852 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
33853echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
33854 wxUSE_DRAG_AND_DROP=no
33855 fi
33856 fi
33857
33858 if test "$wxUSE_MOTIF" = 1; then
33859 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
33860echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
33861 wxUSE_DRAG_AND_DROP=no
33862 fi
33863
33864 if test "$wxUSE_X11" = 1; then
33865 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
33866echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
33867 wxUSE_DRAG_AND_DROP=no
33868 fi
33869
33870 if test "$wxUSE_MGL" = 1; then
33871 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
33872echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
33873 wxUSE_DRAG_AND_DROP=no
33874 fi
33875
33876 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
33877 cat >>confdefs.h <<\_ACEOF
33878#define wxUSE_DRAG_AND_DROP 1
33879_ACEOF
33880
33881 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
33882 fi
33883
33884fi
33885
33886if test "$wxUSE_SPLINES" = "yes" ; then
33887 cat >>confdefs.h <<\_ACEOF
33888#define wxUSE_SPLINES 1
33889_ACEOF
33890
33891fi
33892
33893
33894USES_CONTROLS=0
33895if test "$wxUSE_CONTROLS" = "yes"; then
33896 USES_CONTROLS=1
33897fi
33898
33899if test "$wxUSE_ACCEL" = "yes"; then
33900 cat >>confdefs.h <<\_ACEOF
33901#define wxUSE_ACCEL 1
33902_ACEOF
33903
33904 USES_CONTROLS=1
33905fi
33906
33907if test "$wxUSE_BUTTON" = "yes"; then
33908 cat >>confdefs.h <<\_ACEOF
33909#define wxUSE_BUTTON 1
33910_ACEOF
33911
33912 USES_CONTROLS=1
33913fi
33914
33915if test "$wxUSE_BMPBUTTON" = "yes"; then
33916 cat >>confdefs.h <<\_ACEOF
33917#define wxUSE_BMPBUTTON 1
33918_ACEOF
33919
33920 USES_CONTROLS=1
33921fi
33922
33923if test "$wxUSE_CALCTRL" = "yes"; then
33924 cat >>confdefs.h <<\_ACEOF
33925#define wxUSE_CALENDARCTRL 1
33926_ACEOF
33927
33928 USES_CONTROLS=1
33929 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
33930fi
33931
33932if test "$wxUSE_CARET" = "yes"; then
33933 cat >>confdefs.h <<\_ACEOF
33934#define wxUSE_CARET 1
33935_ACEOF
33936
33937 USES_CONTROLS=1
33938 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
33939fi
33940
33941if test "$wxUSE_COMBOBOX" = "yes"; then
33942 cat >>confdefs.h <<\_ACEOF
33943#define wxUSE_COMBOBOX 1
33944_ACEOF
33945
33946 USES_CONTROLS=1
33947fi
33948
33949if test "$wxUSE_CHOICE" = "yes"; then
33950 cat >>confdefs.h <<\_ACEOF
33951#define wxUSE_CHOICE 1
33952_ACEOF
33953
33954 USES_CONTROLS=1
33955fi
33956
33957if test "$wxUSE_CHECKBOX" = "yes"; then
33958 cat >>confdefs.h <<\_ACEOF
33959#define wxUSE_CHECKBOX 1
33960_ACEOF
33961
33962 USES_CONTROLS=1
33963fi
33964
33965if test "$wxUSE_CHECKLST" = "yes"; then
33966 cat >>confdefs.h <<\_ACEOF
33967#define wxUSE_CHECKLISTBOX 1
33968_ACEOF
33969
33970 USES_CONTROLS=1
33971 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
33972fi
33973
33974if test "$wxUSE_DISPLAY" = "yes"; then
33975 cat >>confdefs.h <<\_ACEOF
33976#define wxUSE_DISPLAY 1
33977_ACEOF
33978
33979 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
33980fi
33981
33982if test "$wxUSE_GAUGE" = "yes"; then
33983 cat >>confdefs.h <<\_ACEOF
33984#define wxUSE_GAUGE 1
33985_ACEOF
33986
33987 USES_CONTROLS=1
33988fi
33989
33990if test "$wxUSE_GRID" = "yes"; then
33991 cat >>confdefs.h <<\_ACEOF
33992#define wxUSE_GRID 1
33993_ACEOF
33994
33995 USES_CONTROLS=1
33996 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
33997fi
33998
33999if test "$wxUSE_IMAGLIST" = "yes"; then
34000 cat >>confdefs.h <<\_ACEOF
34001#define wxUSE_IMAGLIST 1
34002_ACEOF
34003
34004fi
34005
34006if test "$wxUSE_LISTBOOK" = "yes"; then
34007 cat >>confdefs.h <<\_ACEOF
34008#define wxUSE_LISTBOOK 1
34009_ACEOF
34010
34011 USES_CONTROLS=1
34012fi
34013
34014if test "$wxUSE_LISTBOX" = "yes"; then
34015 cat >>confdefs.h <<\_ACEOF
34016#define wxUSE_LISTBOX 1
34017_ACEOF
34018
34019 USES_CONTROLS=1
34020fi
34021
34022if test "$wxUSE_LISTCTRL" = "yes"; then
34023 if test "$wxUSE_IMAGLIST" = "yes"; then
34024 cat >>confdefs.h <<\_ACEOF
34025#define wxUSE_LISTCTRL 1
34026_ACEOF
34027
34028 USES_CONTROLS=1
34029 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
34030 else
34031 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
34032echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
34033 fi
34034fi
34035
34036if test "$wxUSE_NOTEBOOK" = "yes"; then
34037 cat >>confdefs.h <<\_ACEOF
34038#define wxUSE_NOTEBOOK 1
34039_ACEOF
34040
34041 USES_CONTROLS=1
34042 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
34043fi
34044
34045
34046if test "$wxUSE_RADIOBOX" = "yes"; then
34047 cat >>confdefs.h <<\_ACEOF
34048#define wxUSE_RADIOBOX 1
34049_ACEOF
34050
34051 USES_CONTROLS=1
34052fi
34053
34054if test "$wxUSE_RADIOBTN" = "yes"; then
34055 cat >>confdefs.h <<\_ACEOF
34056#define wxUSE_RADIOBTN 1
34057_ACEOF
34058
34059 USES_CONTROLS=1
34060fi
34061
34062if test "$wxUSE_SASH" = "yes"; then
34063 cat >>confdefs.h <<\_ACEOF
34064#define wxUSE_SASH 1
34065_ACEOF
34066
34067 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
34068fi
34069
34070if test "$wxUSE_SCROLLBAR" = "yes"; then
34071 cat >>confdefs.h <<\_ACEOF
34072#define wxUSE_SCROLLBAR 1
34073_ACEOF
34074
34075 USES_CONTROLS=1
34076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
34077fi
34078
34079if test "$wxUSE_SLIDER" = "yes"; then
34080 cat >>confdefs.h <<\_ACEOF
34081#define wxUSE_SLIDER 1
34082_ACEOF
34083
34084 USES_CONTROLS=1
34085fi
34086
34087if test "$wxUSE_SPINBTN" = "yes"; then
34088 cat >>confdefs.h <<\_ACEOF
34089#define wxUSE_SPINBTN 1
34090_ACEOF
34091
34092 USES_CONTROLS=1
34093fi
34094
34095if test "$wxUSE_SPINCTRL" = "yes"; then
34096 cat >>confdefs.h <<\_ACEOF
34097#define wxUSE_SPINCTRL 1
34098_ACEOF
34099
34100 USES_CONTROLS=1
34101fi
34102
34103if test "$wxUSE_SPLITTER" = "yes"; then
34104 cat >>confdefs.h <<\_ACEOF
34105#define wxUSE_SPLITTER 1
34106_ACEOF
34107
34108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
34109fi
34110
34111if test "$wxUSE_STATBMP" = "yes"; then
34112 cat >>confdefs.h <<\_ACEOF
34113#define wxUSE_STATBMP 1
34114_ACEOF
34115
34116 USES_CONTROLS=1
34117fi
34118
34119if test "$wxUSE_STATBOX" = "yes"; then
34120 cat >>confdefs.h <<\_ACEOF
34121#define wxUSE_STATBOX 1
34122_ACEOF
34123
34124 USES_CONTROLS=1
34125fi
34126
34127if test "$wxUSE_STATTEXT" = "yes"; then
34128 cat >>confdefs.h <<\_ACEOF
34129#define wxUSE_STATTEXT 1
34130_ACEOF
34131
34132 USES_CONTROLS=1
34133fi
34134
34135if test "$wxUSE_STATLINE" = "yes"; then
34136 cat >>confdefs.h <<\_ACEOF
34137#define wxUSE_STATLINE 1
34138_ACEOF
34139
34140 USES_CONTROLS=1
34141fi
34142
34143if test "$wxUSE_STATUSBAR" = "yes"; then
34144 cat >>confdefs.h <<\_ACEOF
34145#define wxUSE_STATUSBAR 1
34146_ACEOF
34147
34148 USES_CONTROLS=1
34149
34150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
34151fi
34152
34153if test "$wxUSE_TABDIALOG" = "yes"; then
34154 cat >>confdefs.h <<\_ACEOF
34155#define wxUSE_TAB_DIALOG 1
34156_ACEOF
34157
34158 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
34159fi
34160
34161if test "$wxUSE_TEXTCTRL" = "yes"; then
34162 cat >>confdefs.h <<\_ACEOF
34163#define wxUSE_TEXTCTRL 1
34164_ACEOF
34165
34166 USES_CONTROLS=1
34167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
34168fi
34169
34170if test "$wxUSE_TOGGLEBTN" = "yes"; then
34171 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
34172 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
34173echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
34174 wxUSE_TOGGLEBTN=no
34175 fi
34176 if test "$wxUSE_UNIVERSAL" = "yes"; then
34177 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
34178echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
34179 wxUSE_TOGGLEBTN=no
34180 fi
34181
34182 if test "$wxUSE_TOGGLEBTN" = "yes"; then
34183 cat >>confdefs.h <<\_ACEOF
34184#define wxUSE_TOGGLEBTN 1
34185_ACEOF
34186
34187 USES_CONTROLS=1
34188 fi
34189fi
34190
34191if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
34192 cat >>confdefs.h <<\_ACEOF
34193#define wxUSE_TOOLBAR_SIMPLE 1
34194_ACEOF
34195
34196 wxUSE_TOOLBAR="yes"
34197 USES_CONTROLS=1
34198fi
34199
34200if test "$wxUSE_TOOLBAR" = "yes"; then
34201 cat >>confdefs.h <<\_ACEOF
34202#define wxUSE_TOOLBAR 1
34203_ACEOF
34204
34205 USES_CONTROLS=1
34206
34207 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
34208 wxUSE_TOOLBAR_NATIVE="yes"
34209 fi
34210
34211 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
34212 cat >>confdefs.h <<\_ACEOF
34213#define wxUSE_TOOLBAR_NATIVE 1
34214_ACEOF
34215
34216 USES_CONTROLS=1
34217 fi
34218
34219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
34220fi
34221
34222if test "$wxUSE_TOOLTIPS" = "yes"; then
34223 if test "$wxUSE_MOTIF" = 1; then
34224 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
34225echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
34226 else
34227 if test "$wxUSE_UNIVERSAL" = "yes"; then
34228 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
34229echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
34230 else
34231 cat >>confdefs.h <<\_ACEOF
34232#define wxUSE_TOOLTIPS 1
34233_ACEOF
34234
34235 fi
34236 fi
34237fi
34238
34239if test "$wxUSE_TREECTRL" = "yes"; then
34240 if test "$wxUSE_IMAGLIST" = "yes"; then
34241 cat >>confdefs.h <<\_ACEOF
34242#define wxUSE_TREECTRL 1
34243_ACEOF
34244
34245 USES_CONTROLS=1
34246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
34247 else
34248 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
34249echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
34250 fi
34251fi
34252
34253if test "$wxUSE_POPUPWIN" = "yes"; then
34254 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
34255 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
34256echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
34257 else
34258 if test "$wxUSE_PM" = 1; then
34259 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
34260echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
34261 else
34262 cat >>confdefs.h <<\_ACEOF
34263#define wxUSE_POPUPWIN 1
34264_ACEOF
34265
34266
34267 USES_CONTROLS=1
34268 fi
34269 fi
34270fi
34271
34272if test "$wxUSE_TIPWINDOW" = "yes"; then
34273 if test "$wxUSE_PM" = 1; then
34274 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
34275echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
34276 else
34277 cat >>confdefs.h <<\_ACEOF
34278#define wxUSE_TIPWINDOW 1
34279_ACEOF
34280
34281 fi
34282fi
34283
34284if test "$USES_CONTROLS" = 1; then
34285 cat >>confdefs.h <<\_ACEOF
34286#define wxUSE_CONTROLS 1
34287_ACEOF
34288
34289fi
34290
34291
34292if test "$wxUSE_ACCESSIBILITY" = "yes"; then
34293 cat >>confdefs.h <<\_ACEOF
34294#define wxUSE_ACCESSIBILITY 1
34295_ACEOF
34296
34297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
34298fi
34299
34300if test "$wxUSE_DRAGIMAGE" = "yes"; then
34301 cat >>confdefs.h <<\_ACEOF
34302#define wxUSE_DRAGIMAGE 1
34303_ACEOF
34304
34305 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
34306fi
34307
34308if test "$wxUSE_EXCEPTIONS" = "yes"; then
34309 cat >>confdefs.h <<\_ACEOF
34310#define wxUSE_EXCEPTIONS 1
34311_ACEOF
34312
34313fi
34314
34315USE_HTML=0
34316if test "$wxUSE_HTML" = "yes"; then
34317 cat >>confdefs.h <<\_ACEOF
34318#define wxUSE_HTML 1
34319_ACEOF
34320
34321 USE_HTML=1
34322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
34323fi
34324
34325if test "$wxUSE_MENUS" = "yes"; then
34326 cat >>confdefs.h <<\_ACEOF
34327#define wxUSE_MENUS 1
34328_ACEOF
34329
34330 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
34331fi
34332
34333if test "$wxUSE_METAFILE" = "yes"; then
34334 cat >>confdefs.h <<\_ACEOF
34335#define wxUSE_METAFILE 1
34336_ACEOF
34337
34338fi
34339
34340if test "$wxUSE_MIMETYPE" = "yes"; then
34341 cat >>confdefs.h <<\_ACEOF
34342#define wxUSE_MIMETYPE 1
34343_ACEOF
34344
34345fi
34346
34347if test "$wxUSE_MINIFRAME" = "yes"; then
34348 cat >>confdefs.h <<\_ACEOF
34349#define wxUSE_MINIFRAME 1
34350_ACEOF
34351
34352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
34353fi
34354
34355if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
34356 cat >>confdefs.h <<\_ACEOF
34357#define wxUSE_SYSTEM_OPTIONS 1
34358_ACEOF
34359
34360 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
34361 "$TOOLKIT" = "MOTIF"; then
34362 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
34363 fi
34364fi
34365
34366
34367if test "$wxUSE_VALIDATORS" = "yes"; then
34368 cat >>confdefs.h <<\_ACEOF
34369#define wxUSE_VALIDATORS 1
34370_ACEOF
34371
34372 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
34373fi
34374
34375if test "$wxUSE_PALETTE" = "yes" ; then
34376 cat >>confdefs.h <<\_ACEOF
34377#define wxUSE_PALETTE 1
34378_ACEOF
34379
34380fi
34381
34382if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
34383 LIBS=" -lunicows $LIBS"
34384fi
34385
34386
34387if test "$wxUSE_IMAGE" = "yes" ; then
34388 cat >>confdefs.h <<\_ACEOF
34389#define wxUSE_IMAGE 1
34390_ACEOF
34391
34392
34393 if test "$wxUSE_GIF" = "yes" ; then
34394 cat >>confdefs.h <<\_ACEOF
34395#define wxUSE_GIF 1
34396_ACEOF
34397
34398 fi
34399
34400 if test "$wxUSE_PCX" = "yes" ; then
34401 cat >>confdefs.h <<\_ACEOF
34402#define wxUSE_PCX 1
34403_ACEOF
34404
34405 fi
34406
34407 if test "$wxUSE_IFF" = "yes" ; then
34408 cat >>confdefs.h <<\_ACEOF
34409#define wxUSE_IFF 1
34410_ACEOF
34411
34412 fi
34413
34414 if test "$wxUSE_PNM" = "yes" ; then
34415 cat >>confdefs.h <<\_ACEOF
34416#define wxUSE_PNM 1
34417_ACEOF
34418
34419 fi
34420
34421 if test "$wxUSE_XPM" = "yes" ; then
34422 cat >>confdefs.h <<\_ACEOF
34423#define wxUSE_XPM 1
34424_ACEOF
34425
34426 fi
34427
34428 if test "$wxUSE_ICO_CUR" = "yes" ; then
34429 cat >>confdefs.h <<\_ACEOF
34430#define wxUSE_ICO_CUR 1
34431_ACEOF
34432
34433 fi
34434fi
34435
34436
34437if test "$wxUSE_CHOICEDLG" = "yes"; then
34438 cat >>confdefs.h <<\_ACEOF
34439#define wxUSE_CHOICEDLG 1
34440_ACEOF
34441
34442fi
34443
34444if test "$wxUSE_COLOURDLG" = "yes"; then
34445 cat >>confdefs.h <<\_ACEOF
34446#define wxUSE_COLOURDLG 1
34447_ACEOF
34448
34449fi
34450
34451if test "$wxUSE_FILEDLG" = "yes"; then
34452 cat >>confdefs.h <<\_ACEOF
34453#define wxUSE_FILEDLG 1
34454_ACEOF
34455
34456fi
34457
34458if test "$wxUSE_FINDREPLDLG" = "yes"; then
34459 cat >>confdefs.h <<\_ACEOF
34460#define wxUSE_FINDREPLDLG 1
34461_ACEOF
34462
34463fi
34464
34465if test "$wxUSE_FONTDLG" = "yes"; then
34466 cat >>confdefs.h <<\_ACEOF
34467#define wxUSE_FONTDLG 1
34468_ACEOF
34469
34470fi
34471
34472if test "$wxUSE_DIRDLG" = "yes"; then
34473 if test "$wxUSE_TREECTRL" != "yes"; then
34474 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
34475echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
34476 else
34477 cat >>confdefs.h <<\_ACEOF
34478#define wxUSE_DIRDLG 1
34479_ACEOF
34480
34481 fi
34482fi
34483
34484if test "$wxUSE_MSGDLG" = "yes"; then
34485 cat >>confdefs.h <<\_ACEOF
34486#define wxUSE_MSGDLG 1
34487_ACEOF
34488
34489fi
34490
34491if test "$wxUSE_NUMBERDLG" = "yes"; then
34492 cat >>confdefs.h <<\_ACEOF
34493#define wxUSE_NUMBERDLG 1
34494_ACEOF
34495
34496fi
34497
34498if test "$wxUSE_PROGRESSDLG" = "yes"; then
34499 if test "$wxUSE_CONSTRAINTS" != "yes"; then
34500 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
34501echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
34502 else
34503 cat >>confdefs.h <<\_ACEOF
34504#define wxUSE_PROGRESSDLG 1
34505_ACEOF
34506
34507 fi
34508fi
34509
34510if test "$wxUSE_SPLASH" = "yes"; then
34511 cat >>confdefs.h <<\_ACEOF
34512#define wxUSE_SPLASH 1
34513_ACEOF
34514
34515fi
34516
34517if test "$wxUSE_STARTUP_TIPS" = "yes"; then
34518 if test "$wxUSE_CONSTRAINTS" != "yes"; then
34519 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
34520echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
34521 else
34522 cat >>confdefs.h <<\_ACEOF
34523#define wxUSE_STARTUP_TIPS 1
34524_ACEOF
34525
34526 fi
34527fi
34528
34529if test "$wxUSE_TEXTDLG" = "yes"; then
34530 cat >>confdefs.h <<\_ACEOF
34531#define wxUSE_TEXTDLG 1
34532_ACEOF
34533
34534fi
34535
34536if test "$wxUSE_WIZARDDLG" = "yes"; then
34537 cat >>confdefs.h <<\_ACEOF
34538#define wxUSE_WIZARDDLG 1
34539_ACEOF
34540
34541 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
34542fi
34543
34544
34545if test "$cross_compiling" = "yes"; then
34546 OSINFO="\"$host\""
34547else
34548 OSINFO=`uname -s -r -m`
34549 OSINFO="\"$OSINFO\""
34550fi
34551
34552cat >>confdefs.h <<_ACEOF
34553#define WXWIN_OS_DESCRIPTION $OSINFO
34554_ACEOF
34555
34556
34557
34558if test "x$prefix" != "xNONE"; then
34559 wxPREFIX=$prefix
34560else
34561 wxPREFIX=$ac_default_prefix
34562fi
34563
34564cat >>confdefs.h <<_ACEOF
34565#define wxINSTALL_PREFIX "$wxPREFIX"
34566_ACEOF
34567
34568
34569top_builddir_wxconfig=`pwd`
34570
34571
34572
34573CORE_BASE_LIBS="net base"
34574CORE_GUI_LIBS="adv core"
34575
34576if test "$wxUSE_XML" = "yes" ; then
34577 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
34578fi
34579if test "$wxUSE_ODBC" != "no" ; then
34580 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
34581 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
34582fi
34583if test "$wxUSE_HTML" = "yes" ; then
34584 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
34585fi
34586
34587if test "$wxUSE_GUI" != "yes"; then
34588 CORE_GUI_LIBS=""
34589fi
34590
34591
34592
34593
34594
34595
34596
34597
34598if test "$wxUSE_MAC" = 1 ; then
34599 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
34600fi
34601if test "$wxUSE_COCOA" = 1 ; then
34602 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
34603fi
34604
34605
34606LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
34607
34608have_cos=0
34609have_floor=0
34610
34611for ac_func in cos
34612do
34613as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34614echo "$as_me:$LINENO: checking for $ac_func" >&5
34615echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34616if eval "test \"\${$as_ac_var+set}\" = set"; then
34617 echo $ECHO_N "(cached) $ECHO_C" >&6
34618else
34619 cat >conftest.$ac_ext <<_ACEOF
34620#line $LINENO "configure"
34621/* confdefs.h. */
34622_ACEOF
34623cat confdefs.h >>conftest.$ac_ext
34624cat >>conftest.$ac_ext <<_ACEOF
34625/* end confdefs.h. */
34626/* System header to define __stub macros and hopefully few prototypes,
34627 which can conflict with char $ac_func (); below.
34628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34629 <limits.h> exists even on freestanding compilers. */
34630#ifdef __STDC__
34631# include <limits.h>
34632#else
34633# include <assert.h>
34634#endif
34635/* Override any gcc2 internal prototype to avoid an error. */
34636#ifdef __cplusplus
34637extern "C"
34638{
34639#endif
34640/* We use char because int might match the return type of a gcc2
34641 builtin and then its argument prototype would still apply. */
34642char $ac_func ();
34643/* The GNU C library defines this for functions which it implements
34644 to always fail with ENOSYS. Some functions are actually named
34645 something starting with __ and the normal name is an alias. */
34646#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34647choke me
34648#else
34649char (*f) () = $ac_func;
34650#endif
34651#ifdef __cplusplus
34652}
34653#endif
34654
34655int
34656main ()
34657{
34658return f != $ac_func;
34659 ;
34660 return 0;
34661}
34662_ACEOF
34663rm -f conftest.$ac_objext conftest$ac_exeext
34664if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34665 (eval $ac_link) 2>&5
34666 ac_status=$?
34667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34668 (exit $ac_status); } &&
34669 { ac_try='test -s conftest$ac_exeext'
34670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34671 (eval $ac_try) 2>&5
34672 ac_status=$?
34673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34674 (exit $ac_status); }; }; then
34675 eval "$as_ac_var=yes"
34676else
34677 echo "$as_me: failed program was:" >&5
34678sed 's/^/| /' conftest.$ac_ext >&5
34679
34680eval "$as_ac_var=no"
34681fi
34682rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34683fi
34684echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34685echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34686if test `eval echo '${'$as_ac_var'}'` = yes; then
34687 cat >>confdefs.h <<_ACEOF
34688#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34689_ACEOF
34690 have_cos=1
34691fi
34692done
34693
34694
34695for ac_func in floor
34696do
34697as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34698echo "$as_me:$LINENO: checking for $ac_func" >&5
34699echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34700if eval "test \"\${$as_ac_var+set}\" = set"; then
34701 echo $ECHO_N "(cached) $ECHO_C" >&6
34702else
34703 cat >conftest.$ac_ext <<_ACEOF
34704#line $LINENO "configure"
34705/* confdefs.h. */
34706_ACEOF
34707cat confdefs.h >>conftest.$ac_ext
34708cat >>conftest.$ac_ext <<_ACEOF
34709/* end confdefs.h. */
34710/* System header to define __stub macros and hopefully few prototypes,
34711 which can conflict with char $ac_func (); below.
34712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34713 <limits.h> exists even on freestanding compilers. */
34714#ifdef __STDC__
34715# include <limits.h>
34716#else
34717# include <assert.h>
34718#endif
34719/* Override any gcc2 internal prototype to avoid an error. */
34720#ifdef __cplusplus
34721extern "C"
34722{
34723#endif
34724/* We use char because int might match the return type of a gcc2
34725 builtin and then its argument prototype would still apply. */
34726char $ac_func ();
34727/* The GNU C library defines this for functions which it implements
34728 to always fail with ENOSYS. Some functions are actually named
34729 something starting with __ and the normal name is an alias. */
34730#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34731choke me
34732#else
34733char (*f) () = $ac_func;
34734#endif
34735#ifdef __cplusplus
34736}
34737#endif
34738
34739int
34740main ()
34741{
34742return f != $ac_func;
34743 ;
34744 return 0;
34745}
34746_ACEOF
34747rm -f conftest.$ac_objext conftest$ac_exeext
34748if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34749 (eval $ac_link) 2>&5
34750 ac_status=$?
34751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34752 (exit $ac_status); } &&
34753 { ac_try='test -s conftest$ac_exeext'
34754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34755 (eval $ac_try) 2>&5
34756 ac_status=$?
34757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34758 (exit $ac_status); }; }; then
34759 eval "$as_ac_var=yes"
34760else
34761 echo "$as_me: failed program was:" >&5
34762sed 's/^/| /' conftest.$ac_ext >&5
34763
34764eval "$as_ac_var=no"
34765fi
34766rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34767fi
34768echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34769echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34770if test `eval echo '${'$as_ac_var'}'` = yes; then
34771 cat >>confdefs.h <<_ACEOF
34772#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34773_ACEOF
34774 have_floor=1
34775fi
34776done
34777
34778echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
34779echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
34780if test "$have_cos" = 1 -a "$have_floor" = 1; then
34781 echo "$as_me:$LINENO: result: yes" >&5
34782echo "${ECHO_T}yes" >&6
34783else
34784 echo "$as_me:$LINENO: result: no" >&5
34785echo "${ECHO_T}no" >&6
34786 LIBS="$LIBS -lm"
34787 # use different functions to avoid configure caching
34788 have_sin=0
34789 have_ceil=0
34790
34791for ac_func in sin
34792do
34793as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34794echo "$as_me:$LINENO: checking for $ac_func" >&5
34795echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34796if eval "test \"\${$as_ac_var+set}\" = set"; then
34797 echo $ECHO_N "(cached) $ECHO_C" >&6
34798else
34799 cat >conftest.$ac_ext <<_ACEOF
34800#line $LINENO "configure"
34801/* confdefs.h. */
34802_ACEOF
34803cat confdefs.h >>conftest.$ac_ext
34804cat >>conftest.$ac_ext <<_ACEOF
34805/* end confdefs.h. */
34806/* System header to define __stub macros and hopefully few prototypes,
34807 which can conflict with char $ac_func (); below.
34808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34809 <limits.h> exists even on freestanding compilers. */
34810#ifdef __STDC__
34811# include <limits.h>
34812#else
34813# include <assert.h>
34814#endif
34815/* Override any gcc2 internal prototype to avoid an error. */
34816#ifdef __cplusplus
34817extern "C"
34818{
34819#endif
34820/* We use char because int might match the return type of a gcc2
34821 builtin and then its argument prototype would still apply. */
34822char $ac_func ();
34823/* The GNU C library defines this for functions which it implements
34824 to always fail with ENOSYS. Some functions are actually named
34825 something starting with __ and the normal name is an alias. */
34826#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34827choke me
34828#else
34829char (*f) () = $ac_func;
34830#endif
34831#ifdef __cplusplus
34832}
34833#endif
34834
34835int
34836main ()
34837{
34838return f != $ac_func;
34839 ;
34840 return 0;
34841}
34842_ACEOF
34843rm -f conftest.$ac_objext conftest$ac_exeext
34844if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34845 (eval $ac_link) 2>&5
34846 ac_status=$?
34847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34848 (exit $ac_status); } &&
34849 { ac_try='test -s conftest$ac_exeext'
34850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34851 (eval $ac_try) 2>&5
34852 ac_status=$?
34853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34854 (exit $ac_status); }; }; then
34855 eval "$as_ac_var=yes"
34856else
34857 echo "$as_me: failed program was:" >&5
34858sed 's/^/| /' conftest.$ac_ext >&5
34859
34860eval "$as_ac_var=no"
34861fi
34862rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34863fi
34864echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34865echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34866if test `eval echo '${'$as_ac_var'}'` = yes; then
34867 cat >>confdefs.h <<_ACEOF
34868#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34869_ACEOF
34870 have_sin=1
34871fi
34872done
34873
34874
34875for ac_func in ceil
34876do
34877as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34878echo "$as_me:$LINENO: checking for $ac_func" >&5
34879echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34880if eval "test \"\${$as_ac_var+set}\" = set"; then
34881 echo $ECHO_N "(cached) $ECHO_C" >&6
34882else
34883 cat >conftest.$ac_ext <<_ACEOF
34884#line $LINENO "configure"
34885/* confdefs.h. */
34886_ACEOF
34887cat confdefs.h >>conftest.$ac_ext
34888cat >>conftest.$ac_ext <<_ACEOF
34889/* end confdefs.h. */
34890/* System header to define __stub macros and hopefully few prototypes,
34891 which can conflict with char $ac_func (); below.
34892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34893 <limits.h> exists even on freestanding compilers. */
34894#ifdef __STDC__
34895# include <limits.h>
34896#else
34897# include <assert.h>
34898#endif
34899/* Override any gcc2 internal prototype to avoid an error. */
34900#ifdef __cplusplus
34901extern "C"
34902{
34903#endif
34904/* We use char because int might match the return type of a gcc2
34905 builtin and then its argument prototype would still apply. */
34906char $ac_func ();
34907/* The GNU C library defines this for functions which it implements
34908 to always fail with ENOSYS. Some functions are actually named
34909 something starting with __ and the normal name is an alias. */
34910#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34911choke me
34912#else
34913char (*f) () = $ac_func;
34914#endif
34915#ifdef __cplusplus
34916}
34917#endif
34918
34919int
34920main ()
34921{
34922return f != $ac_func;
34923 ;
34924 return 0;
34925}
34926_ACEOF
34927rm -f conftest.$ac_objext conftest$ac_exeext
34928if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34929 (eval $ac_link) 2>&5
34930 ac_status=$?
34931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932 (exit $ac_status); } &&
34933 { ac_try='test -s conftest$ac_exeext'
34934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34935 (eval $ac_try) 2>&5
34936 ac_status=$?
34937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34938 (exit $ac_status); }; }; then
34939 eval "$as_ac_var=yes"
34940else
34941 echo "$as_me: failed program was:" >&5
34942sed 's/^/| /' conftest.$ac_ext >&5
34943
34944eval "$as_ac_var=no"
34945fi
34946rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34947fi
34948echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34949echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34950if test `eval echo '${'$as_ac_var'}'` = yes; then
34951 cat >>confdefs.h <<_ACEOF
34952#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34953_ACEOF
34954 have_ceil=1
34955fi
34956done
34957
34958 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
34959echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
34960 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
34961 echo "$as_me:$LINENO: result: yes" >&5
34962echo "${ECHO_T}yes" >&6
34963 else
34964 echo "$as_me:$LINENO: result: no" >&5
34965echo "${ECHO_T}no" >&6
34966 # not sure we should warn the user, crash, etc.
34967 fi
34968fi
34969
34970if test "$wxUSE_GUI" = "yes"; then
34971
34972
34973 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
34974 drawing dynamic erase event exec font image \
34975 minimal propsize rotate shaped widgets render"
34976
34977 if test "$wxUSE_MONOLITHIC" != "yes"; then
34978 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
34979 fi
34980else
34981 SAMPLES_SUBDIRS="console"
34982fi
34983
34984
34985INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
34986-I\${top_srcdir}/include $TOOLKIT_INCLUDE"
34987
34988if test "$GXX" = yes ; then
34989 CXXWARNINGS="-Wall"
34990 fi
34991
34992EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
34993
34994CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
34995CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
34996CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
34997
34998
34999LIBS=`echo $LIBS | sed 's/ \+/ /g'`
35000EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
35001EXTRALIBS_XML="$EXPAT_LINK"
35002EXTRALIBS_HTML="$MSPACK_LINK"
35003EXTRALIBS_ODBC="$ODBC_LINK"
35004if test "$wxUSE_GUI" = "yes"; then
35005 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
35006fi
35007if test "$wxUSE_OPENGL" = "yes"; then
35008 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
35009fi
35010
35011LDFLAGS="$LDFLAGS $PROFILE"
35012
35013if test "$wxUSE_GTK" = 1; then
35014 WXCONFIG_INCLUDE=
35015else
35016 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
35017fi
35018
35019WXCONFIG_EXTRALIBS="$LIBS"
35020
35021if test "$wxUSE_REGEX" = "builtin" ; then
35022 wxconfig_3rdparty="$wxconfig_3rdparty regex"
35023fi
35024if test "$wxUSE_EXPAT" = "builtin" ; then
35025 wxconfig_3rdparty="$wxconfig_3rdparty expat"
35026fi
35027if test "$wxUSE_ODBC" = "builtin" ; then
35028 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
35029fi
35030if test "$wxUSE_LIBTIFF" = "builtin" ; then
35031 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
35032fi
35033if test "$wxUSE_LIBJPEG" = "builtin" ; then
35034 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
35035fi
35036if test "$wxUSE_LIBPNG" = "builtin" ; then
35037 wxconfig_3rdparty="$wxconfig_3rdparty png"
35038fi
35039if test "$wxUSE_ZLIB" = "builtin" ; then
35040 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
35041fi
35042if test "$wxUSE_ODBC" = "builtin" ; then
35043 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
35044fi
35045
35046for i in $wxconfig_3rdparty ; do
35047 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
35048done
35049
35050
35051if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
35052 WXUNIV=1
35053else
35054 WXUNIV=0
35055fi
35056
35057
35058
35059
35060
35061
35062
35063
35064
35065if test $wxUSE_MONOLITHIC = "yes" ; then
35066 MONOLITHIC=1
35067else
35068 MONOLITHIC=0
35069fi
35070
35071if test $wxUSE_PLUGINS = "yes" ; then
35072 USE_PLUGINS=1
35073else
35074 USE_PLUGINS=0
35075fi
35076
35077if test $wxUSE_ODBC != "no" ; then
35078 USE_ODBC=1
35079else
35080 USE_ODBC=0
35081fi
35082
35083if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
35084 OFFICIAL_BUILD=1
35085else
35086 OFFICIAL_BUILD=0
35087fi
35088
35089
35090
35091
35092
35093
35094
35095
35096
35097
35098
35099
35100
35101
35102
35103
35104
35105
35106
35107
35108
35109TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
35110
35111
35112
35113
35114
35115
35116
35117 if test "x$BAKEFILE_HOST" = "x"; then
35118 BAKEFILE_HOST="${host}"
35119 fi
35120
35121 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
35122
35123 if test -n "$ac_tool_prefix"; then
35124 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
35125set dummy ${ac_tool_prefix}ranlib; ac_word=$2
35126echo "$as_me:$LINENO: checking for $ac_word" >&5
35127echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35128if test "${ac_cv_prog_RANLIB+set}" = set; then
35129 echo $ECHO_N "(cached) $ECHO_C" >&6
35130else
35131 if test -n "$RANLIB"; then
35132 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
35133else
35134as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35135for as_dir in $PATH
35136do
35137 IFS=$as_save_IFS
35138 test -z "$as_dir" && as_dir=.
35139 for ac_exec_ext in '' $ac_executable_extensions; do
35140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35141 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
35142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35143 break 2
35144 fi
35145done
35146done
35147
35148fi
35149fi
35150RANLIB=$ac_cv_prog_RANLIB
35151if test -n "$RANLIB"; then
35152 echo "$as_me:$LINENO: result: $RANLIB" >&5
35153echo "${ECHO_T}$RANLIB" >&6
35154else
35155 echo "$as_me:$LINENO: result: no" >&5
35156echo "${ECHO_T}no" >&6
35157fi
35158
35159fi
35160if test -z "$ac_cv_prog_RANLIB"; then
35161 ac_ct_RANLIB=$RANLIB
35162 # Extract the first word of "ranlib", so it can be a program name with args.
35163set dummy ranlib; ac_word=$2
35164echo "$as_me:$LINENO: checking for $ac_word" >&5
35165echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35166if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
35167 echo $ECHO_N "(cached) $ECHO_C" >&6
35168else
35169 if test -n "$ac_ct_RANLIB"; then
35170 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
35171else
35172as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35173for as_dir in $PATH
35174do
35175 IFS=$as_save_IFS
35176 test -z "$as_dir" && as_dir=.
35177 for ac_exec_ext in '' $ac_executable_extensions; do
35178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35179 ac_cv_prog_ac_ct_RANLIB="ranlib"
35180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35181 break 2
35182 fi
35183done
35184done
35185
35186 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
35187fi
35188fi
35189ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
35190if test -n "$ac_ct_RANLIB"; then
35191 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
35192echo "${ECHO_T}$ac_ct_RANLIB" >&6
35193else
35194 echo "$as_me:$LINENO: result: no" >&5
35195echo "${ECHO_T}no" >&6
35196fi
35197
35198 RANLIB=$ac_ct_RANLIB
35199else
35200 RANLIB="$ac_cv_prog_RANLIB"
35201fi
35202
35203 # Find a good install program. We prefer a C program (faster),
35204# so one script is as good as another. But avoid the broken or
35205# incompatible versions:
35206# SysV /etc/install, /usr/sbin/install
35207# SunOS /usr/etc/install
35208# IRIX /sbin/install
35209# AIX /bin/install
35210# AmigaOS /C/install, which installs bootblocks on floppy discs
35211# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
35212# AFS /usr/afsws/bin/install, which mishandles nonexistent args
35213# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
35214# ./install, which can be erroneously created by make from ./install.sh.
35215echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
35216echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
35217if test -z "$INSTALL"; then
35218if test "${ac_cv_path_install+set}" = set; then
35219 echo $ECHO_N "(cached) $ECHO_C" >&6
35220else
35221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35222for as_dir in $PATH
35223do
35224 IFS=$as_save_IFS
35225 test -z "$as_dir" && as_dir=.
35226 # Account for people who put trailing slashes in PATH elements.
35227case $as_dir/ in
35228 ./ | .// | /cC/* | \
35229 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
35230 /usr/ucb/* ) ;;
35231 *)
35232 # OSF1 and SCO ODT 3.0 have their own names for install.
35233 # Don't use installbsd from OSF since it installs stuff as root
35234 # by default.
35235 for ac_prog in ginstall scoinst install; do
35236 for ac_exec_ext in '' $ac_executable_extensions; do
35237 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
35238 if test $ac_prog = install &&
35239 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
35240 # AIX install. It has an incompatible calling convention.
35241 :
35242 elif test $ac_prog = install &&
35243 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
35244 # program-specific install script used by HP pwplus--don't use.
35245 :
35246 else
35247 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
35248 break 3
35249 fi
35250 fi
35251 done
35252 done
35253 ;;
35254esac
35255done
35256
35257
35258fi
35259 if test "${ac_cv_path_install+set}" = set; then
35260 INSTALL=$ac_cv_path_install
35261 else
35262 # As a last resort, use the slow shell script. We don't cache a
35263 # path for INSTALL within a source directory, because that will
35264 # break other packages using the cache if that directory is
35265 # removed, or if the path is relative.
35266 INSTALL=$ac_install_sh
35267 fi
35268fi
35269echo "$as_me:$LINENO: result: $INSTALL" >&5
35270echo "${ECHO_T}$INSTALL" >&6
35271
35272# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
35273# It thinks the first close brace ends the variable substitution.
35274test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
35275
35276test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
35277
35278test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
35279
35280 echo "$as_me:$LINENO: checking whether ln -s works" >&5
35281echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
35282LN_S=$as_ln_s
35283if test "$LN_S" = "ln -s"; then
35284 echo "$as_me:$LINENO: result: yes" >&5
35285echo "${ECHO_T}yes" >&6
35286else
35287 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
35288echo "${ECHO_T}no, using $LN_S" >&6
35289fi
35290
35291
35292 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35293echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35294set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
35295if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35296 echo $ECHO_N "(cached) $ECHO_C" >&6
35297else
35298 cat >conftest.make <<\_ACEOF
35299all:
35300 @echo 'ac_maketemp="$(MAKE)"'
35301_ACEOF
35302# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35303eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35304if test -n "$ac_maketemp"; then
35305 eval ac_cv_prog_make_${ac_make}_set=yes
35306else
35307 eval ac_cv_prog_make_${ac_make}_set=no
35308fi
35309rm -f conftest.make
35310fi
35311if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35312 echo "$as_me:$LINENO: result: yes" >&5
35313echo "${ECHO_T}yes" >&6
35314 SET_MAKE=
35315else
35316 echo "$as_me:$LINENO: result: no" >&5
35317echo "${ECHO_T}no" >&6
35318 SET_MAKE="MAKE=${MAKE-make}"
35319fi
35320
35321
35322
35323 if test -n "$ac_tool_prefix"; then
35324 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
35325set dummy ${ac_tool_prefix}ar; ac_word=$2
35326echo "$as_me:$LINENO: checking for $ac_word" >&5
35327echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35328if test "${ac_cv_prog_AR+set}" = set; then
35329 echo $ECHO_N "(cached) $ECHO_C" >&6
35330else
35331 if test -n "$AR"; then
35332 ac_cv_prog_AR="$AR" # Let the user override the test.
35333else
35334as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35335for as_dir in $PATH
35336do
35337 IFS=$as_save_IFS
35338 test -z "$as_dir" && as_dir=.
35339 for ac_exec_ext in '' $ac_executable_extensions; do
35340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35341 ac_cv_prog_AR="${ac_tool_prefix}ar"
35342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35343 break 2
35344 fi
35345done
35346done
35347
35348fi
35349fi
35350AR=$ac_cv_prog_AR
35351if test -n "$AR"; then
35352 echo "$as_me:$LINENO: result: $AR" >&5
35353echo "${ECHO_T}$AR" >&6
35354else
35355 echo "$as_me:$LINENO: result: no" >&5
35356echo "${ECHO_T}no" >&6
35357fi
35358
35359fi
35360if test -z "$ac_cv_prog_AR"; then
35361 ac_ct_AR=$AR
35362 # Extract the first word of "ar", so it can be a program name with args.
35363set dummy ar; ac_word=$2
35364echo "$as_me:$LINENO: checking for $ac_word" >&5
35365echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35366if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
35367 echo $ECHO_N "(cached) $ECHO_C" >&6
35368else
35369 if test -n "$ac_ct_AR"; then
35370 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
35371else
35372as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35373for as_dir in $PATH
35374do
35375 IFS=$as_save_IFS
35376 test -z "$as_dir" && as_dir=.
35377 for ac_exec_ext in '' $ac_executable_extensions; do
35378 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35379 ac_cv_prog_ac_ct_AR="ar"
35380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35381 break 2
35382 fi
35383done
35384done
35385
35386 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
35387fi
35388fi
35389ac_ct_AR=$ac_cv_prog_ac_ct_AR
35390if test -n "$ac_ct_AR"; then
35391 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
35392echo "${ECHO_T}$ac_ct_AR" >&6
35393else
35394 echo "$as_me:$LINENO: result: no" >&5
35395echo "${ECHO_T}no" >&6
35396fi
35397
35398 AR=$ac_ct_AR
35399else
35400 AR="$ac_cv_prog_AR"
35401fi
35402
35403 if test -n "$ac_tool_prefix"; then
35404 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
35405set dummy ${ac_tool_prefix}strip; ac_word=$2
35406echo "$as_me:$LINENO: checking for $ac_word" >&5
35407echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35408if test "${ac_cv_prog_STRIP+set}" = set; then
35409 echo $ECHO_N "(cached) $ECHO_C" >&6
35410else
35411 if test -n "$STRIP"; then
35412 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
35413else
35414as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35415for as_dir in $PATH
35416do
35417 IFS=$as_save_IFS
35418 test -z "$as_dir" && as_dir=.
35419 for ac_exec_ext in '' $ac_executable_extensions; do
35420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35421 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
35422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35423 break 2
35424 fi
35425done
35426done
35427
35428fi
35429fi
35430STRIP=$ac_cv_prog_STRIP
35431if test -n "$STRIP"; then
35432 echo "$as_me:$LINENO: result: $STRIP" >&5
35433echo "${ECHO_T}$STRIP" >&6
35434else
35435 echo "$as_me:$LINENO: result: no" >&5
35436echo "${ECHO_T}no" >&6
35437fi
35438
35439fi
35440if test -z "$ac_cv_prog_STRIP"; then
35441 ac_ct_STRIP=$STRIP
35442 # Extract the first word of "strip", so it can be a program name with args.
35443set dummy strip; ac_word=$2
35444echo "$as_me:$LINENO: checking for $ac_word" >&5
35445echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35446if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
35447 echo $ECHO_N "(cached) $ECHO_C" >&6
35448else
35449 if test -n "$ac_ct_STRIP"; then
35450 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
35451else
35452as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35453for as_dir in $PATH
35454do
35455 IFS=$as_save_IFS
35456 test -z "$as_dir" && as_dir=.
35457 for ac_exec_ext in '' $ac_executable_extensions; do
35458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35459 ac_cv_prog_ac_ct_STRIP="strip"
35460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35461 break 2
35462 fi
35463done
35464done
35465
35466 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
35467fi
35468fi
35469ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
35470if test -n "$ac_ct_STRIP"; then
35471 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
35472echo "${ECHO_T}$ac_ct_STRIP" >&6
35473else
35474 echo "$as_me:$LINENO: result: no" >&5
35475echo "${ECHO_T}no" >&6
35476fi
35477
35478 STRIP=$ac_ct_STRIP
35479else
35480 STRIP="$ac_cv_prog_STRIP"
35481fi
35482
35483 if test -n "$ac_tool_prefix"; then
35484 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
35485set dummy ${ac_tool_prefix}nm; ac_word=$2
35486echo "$as_me:$LINENO: checking for $ac_word" >&5
35487echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35488if test "${ac_cv_prog_NM+set}" = set; then
35489 echo $ECHO_N "(cached) $ECHO_C" >&6
35490else
35491 if test -n "$NM"; then
35492 ac_cv_prog_NM="$NM" # Let the user override the test.
35493else
35494as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35495for as_dir in $PATH
35496do
35497 IFS=$as_save_IFS
35498 test -z "$as_dir" && as_dir=.
35499 for ac_exec_ext in '' $ac_executable_extensions; do
35500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35501 ac_cv_prog_NM="${ac_tool_prefix}nm"
35502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35503 break 2
35504 fi
35505done
35506done
35507
35508fi
35509fi
35510NM=$ac_cv_prog_NM
35511if test -n "$NM"; then
35512 echo "$as_me:$LINENO: result: $NM" >&5
35513echo "${ECHO_T}$NM" >&6
35514else
35515 echo "$as_me:$LINENO: result: no" >&5
35516echo "${ECHO_T}no" >&6
35517fi
35518
35519fi
35520if test -z "$ac_cv_prog_NM"; then
35521 ac_ct_NM=$NM
35522 # Extract the first word of "nm", so it can be a program name with args.
35523set dummy nm; ac_word=$2
35524echo "$as_me:$LINENO: checking for $ac_word" >&5
35525echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35526if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
35527 echo $ECHO_N "(cached) $ECHO_C" >&6
35528else
35529 if test -n "$ac_ct_NM"; then
35530 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
35531else
35532as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35533for as_dir in $PATH
35534do
35535 IFS=$as_save_IFS
35536 test -z "$as_dir" && as_dir=.
35537 for ac_exec_ext in '' $ac_executable_extensions; do
35538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35539 ac_cv_prog_ac_ct_NM="nm"
35540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35541 break 2
35542 fi
35543done
35544done
35545
35546 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
35547fi
35548fi
35549ac_ct_NM=$ac_cv_prog_ac_ct_NM
35550if test -n "$ac_ct_NM"; then
35551 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
35552echo "${ECHO_T}$ac_ct_NM" >&6
35553else
35554 echo "$as_me:$LINENO: result: no" >&5
35555echo "${ECHO_T}no" >&6
35556fi
35557
35558 NM=$ac_ct_NM
35559else
35560 NM="$ac_cv_prog_NM"
35561fi
35562
35563
35564 case ${BAKEFILE_HOST} in
35565 *-hp-hpux* )
35566 INSTALL_DIR="mkdir"
35567 ;;
35568 *) INSTALL_DIR="$INSTALL -d"
35569 ;;
35570 esac
35571
35572
35573 LDFLAGS_GUI=
35574 case ${BAKEFILE_HOST} in
35575 *-*-cygwin* | *-*-mingw32* )
35576 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
35577 esac
35578
35579
35580 fi
35581
35582 echo "$as_me:$LINENO: checking if make is GNU make" >&5
35583echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
35584if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
35585 echo $ECHO_N "(cached) $ECHO_C" >&6
35586else
35587
35588 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
35589 egrep -s GNU > /dev/null); then
35590 bakefile_cv_prog_makeisgnu="yes"
35591 else
35592 bakefile_cv_prog_makeisgnu="no"
35593 fi
35594
35595fi
35596echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
35597echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
35598
35599 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
35600 IF_GNU_MAKE=""
35601 else
35602 IF_GNU_MAKE="#"
35603 fi
35604
35605
35606
35607 PLATFORM_UNIX=0
35608 PLATFORM_WIN32=0
35609 PLATFORM_MSDOS=0
35610 PLATFORM_MAC=0
35611 PLATFORM_MACOSX=0
35612 PLATFORM_OS2=0
35613
35614 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
35615 case "${BAKEFILE_HOST}" in
35616 *-*-cygwin* | *-*-mingw32* )
35617 PLATFORM_WIN32=1
35618 ;;
35619 *-pc-msdosdjgpp )
35620 PLATFORM_MSDOS=1
35621 ;;
35622 *-pc-os2_emx | *-pc-os2-emx )
35623 PLATFORM_OS2=1
35624 ;;
35625 powerpc-*-darwin* )
35626 PLATFORM_MAC=1
35627 PLATFORM_MACOSX=1
35628 ;;
35629 * )
35630 PLATFORM_UNIX=1
35631 ;;
35632 esac
35633 else
35634 case "$BAKEFILE_FORCE_PLATFORM" in
35635 win32 )
35636 PLATFORM_WIN32=1
35637 ;;
35638 msdos )
35639 PLATFORM_MSDOS=1
35640 ;;
35641 os2 )
35642 PLATFORM_OS2=1
35643 ;;
35644 darwin )
35645 PLATFORM_MAC=1
35646 PLATFORM_MACOSX=1
35647 ;;
35648 unix )
35649 PLATFORM_UNIX=1
35650 ;;
35651 * )
35652 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
35653echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
35654 { (exit 1); exit 1; }; }
35655 ;;
35656 esac
35657 fi
35658
35659
35660
35661
35662
35663
35664
35665
35666
35667 SO_SUFFIX="so"
35668 SO_SUFFIX_MODULE="so"
35669 EXEEXT=""
35670 LIBPREFIX=lib
35671 DLLPREFIX=lib
35672 DLLPREFIX_MODULE=
35673
35674 case "${BAKEFILE_HOST}" in
35675 *-hp-hpux* )
35676 SO_SUFFIX="sl"
35677 SO_SUFFIX_MODULE="sl"
35678 ;;
35679 *-*-aix* )
35680 SO_SUFFIX="a"
35681 SO_SUFFIX_MODULE="a"
35682 ;;
35683 *-*-cygwin* | *-*-mingw32* )
35684 SO_SUFFIX="dll"
35685 SO_SUFFIX_MODULE="dll"
35686 EXEEXT=".exe"
35687 DLLPREFIX=""
35688 ;;
35689 *-pc-msdosdjgpp )
35690 EXEEXT=".exe"
35691 DLLPREFIX=""
35692 ;;
35693 *-pc-os2_emx | *-pc-os2-emx )
35694 EXEEXT=".exe"
35695 DLLPREFIX=""
35696 LIBPREFIX=""
35697 ;;
35698 powerpc-*-darwin* )
35699 SO_SUFFIX="dylib"
35700 SO_SUFFIX_MODULE="bundle"
35701 ;;
35702 esac
35703
35704
35705
35706
35707
35708
35709
35710
35711
35712 SHARED_LD_CC="\$(CC) -shared -o"
35713 SHARED_LD_CXX="\$(CXX) -shared -o"
35714
35715 if test "x$GCC" = "xyes"; then
35716 PIC_FLAG="-fPIC"
35717 fi
35718
35719 case "${BAKEFILE_HOST}" in
35720 *-hp-hpux* )
35721 if test "x$GCC" = "xyes"; then
35722 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
35723 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
35724 else
35725 LDFLAGS="$LDFLAGS -L/usr/lib"
35726
35727 SHARED_LD_CC="${CC} -b -o"
35728 SHARED_LD_CXX="${CXX} -b -o"
35729 PIC_FLAG="+Z"
35730 fi
35731 ;;
35732
35733 *-*-linux* )
35734 if test "x$GCC" != "xyes"; then
35735 echo "$as_me:$LINENO: checking for Intel compiler" >&5
35736echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
35737if test "${bakefile_cv_prog_icc+set}" = set; then
35738 echo $ECHO_N "(cached) $ECHO_C" >&6
35739else
35740
35741 cat >conftest.$ac_ext <<_ACEOF
35742#line $LINENO "configure"
35743/* confdefs.h. */
35744_ACEOF
35745cat confdefs.h >>conftest.$ac_ext
35746cat >>conftest.$ac_ext <<_ACEOF
35747/* end confdefs.h. */
35748
35749int
35750main ()
35751{
35752
35753 #ifndef __INTEL_COMPILER
35754 #error Not icc
35755 #endif
35756
35757 ;
35758 return 0;
35759}
35760_ACEOF
35761rm -f conftest.$ac_objext
35762if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35763 (eval $ac_compile) 2>&5
35764 ac_status=$?
35765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35766 (exit $ac_status); } &&
35767 { ac_try='test -s conftest.$ac_objext'
35768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35769 (eval $ac_try) 2>&5
35770 ac_status=$?
35771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35772 (exit $ac_status); }; }; then
35773 bakefile_cv_prog_icc=yes
35774else
35775 echo "$as_me: failed program was:" >&5
35776sed 's/^/| /' conftest.$ac_ext >&5
35777
35778bakefile_cv_prog_icc=no
35779
35780fi
35781rm -f conftest.$ac_objext conftest.$ac_ext
35782
35783fi
35784echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
35785echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
35786 if test "$bakefile_cv_prog_icc" = "yes"; then
35787 PIC_FLAG="-KPIC"
35788 fi
35789 fi
35790 ;;
35791
35792 *-*-solaris2* )
35793 if test "x$GCC" != xyes ; then
35794 SHARED_LD_CC="${CC} -G -o"
35795 SHARED_LD_CXX="${CXX} -G -o"
35796 PIC_FLAG="-KPIC"
35797 fi
35798 ;;
35799
35800 *-*-darwin* )
35801 CFLAGS="$CFLAGS -fno-common"
35802 CXXFLAGS="$CXXFLAGS -fno-common"
35803
35804
35805 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
35806echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
35807if test "${wx_cv_gcc31+set}" = set; then
35808 echo $ECHO_N "(cached) $ECHO_C" >&6
35809else
35810
35811 cat >conftest.$ac_ext <<_ACEOF
35812#line $LINENO "configure"
35813/* confdefs.h. */
35814_ACEOF
35815cat confdefs.h >>conftest.$ac_ext
35816cat >>conftest.$ac_ext <<_ACEOF
35817/* end confdefs.h. */
35818
35819int
35820main ()
35821{
35822
35823 #if (__GNUC__ < 3) || \
35824 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
35825 #error old gcc
35826 #endif
35827
35828 ;
35829 return 0;
35830}
35831_ACEOF
35832rm -f conftest.$ac_objext
35833if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35834 (eval $ac_compile) 2>&5
35835 ac_status=$?
35836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35837 (exit $ac_status); } &&
35838 { ac_try='test -s conftest.$ac_objext'
35839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35840 (eval $ac_try) 2>&5
35841 ac_status=$?
35842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35843 (exit $ac_status); }; }; then
35844
35845 wx_cv_gcc31=yes
35846
35847else
35848 echo "$as_me: failed program was:" >&5
35849sed 's/^/| /' conftest.$ac_ext >&5
35850
35851
35852 wx_cv_gcc31=no
35853
35854
35855fi
35856rm -f conftest.$ac_objext conftest.$ac_ext
35857
35858fi
35859echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
35860echo "${ECHO_T}$wx_cv_gcc31" >&6
35861 if test "$wx_cv_gcc31" = "no"; then
35862 cat <<EOF >shared-ld-sh
35863#!/bin/sh
35864#-----------------------------------------------------------------------------
35865#-- Name: distrib/mac/shared-ld-sh
35866#-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
35867#-- Author: Gilles Depeyrot
35868#-- Copyright: (c) 2002 Gilles Depeyrot
35869#-- Licence: any use permitted
35870#-----------------------------------------------------------------------------
35871
35872verbose=0
35873args=""
35874objects=""
35875linking_flag="-dynamiclib"
35876
35877while test \${#} -gt 0; do
35878 case \${1} in
35879
35880 -v)
35881 verbose=1
35882 ;;
35883
35884 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
35885 # collect these options and values
35886 args="\${args} \${1} \${2}"
35887 shift
35888 ;;
35889
35890 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
35891 # collect these options
35892 args="\${args} \${1}"
35893 ;;
35894
35895 -dynamiclib|-bundle)
35896 linking_flag="\${1}"
35897 ;;
35898
35899 -*)
35900 echo "shared-ld: unhandled option '\${1}'"
35901 exit 1
35902 ;;
35903
35904 *.o | *.a | *.dylib)
35905 # collect object files
35906 objects="\${objects} \${1}"
35907 ;;
35908
35909 *)
35910 echo "shared-ld: unhandled argument '\${1}'"
35911 exit 1
35912 ;;
35913
35914 esac
35915 shift
35916done
35917
35918#
35919# Link one module containing all the others
35920#
35921if test \${verbose} = 1; then
35922 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
35923fi
35924c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
35925status=\$?
35926if test \${status} != 0; then
35927 exit \${status}
35928fi
35929
35930#
35931# Link the shared library from the single module created
35932#
35933if test \${verbose} = 1; then
35934 echo "cc \${linking_flag} master.\$\$.o \${args}"
35935fi
35936c++ \${linking_flag} master.\$\$.o \${args}
35937status=\$?
35938if test \${status} != 0; then
35939 exit \${status}
35940fi
35941
35942#
35943# Remove intermediate module
35944#
35945rm -f master.\$\$.o
35946
35947exit 0
35948EOF
35949 chmod +x shared-ld-sh
35950
35951 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
35952 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
35953 SHARED_LD_CXX="$SHARED_LD_CC"
35954 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
35955 else
35956 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
35957 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
35958 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
35959 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
35960 fi
35961
35962 PIC_FLAG="-dynamic -fPIC"
35963 ;;
35964
35965 *-*-aix* )
35966 if test "x$GCC" != "xyes"; then
35967 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
35968set dummy makeC++SharedLib; ac_word=$2
35969echo "$as_me:$LINENO: checking for $ac_word" >&5
35970echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35971if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
35972 echo $ECHO_N "(cached) $ECHO_C" >&6
35973else
35974 if test -n "$AIX_CXX_LD"; then
35975 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
35976else
35977as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35978for as_dir in $PATH
35979do
35980 IFS=$as_save_IFS
35981 test -z "$as_dir" && as_dir=.
35982 for ac_exec_ext in '' $ac_executable_extensions; do
35983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35984 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
35985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35986 break 2
35987 fi
35988done
35989done
35990
35991 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
35992fi
35993fi
35994AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
35995if test -n "$AIX_CXX_LD"; then
35996 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
35997echo "${ECHO_T}$AIX_CXX_LD" >&6
35998else
35999 echo "$as_me:$LINENO: result: no" >&5
36000echo "${ECHO_T}no" >&6
36001fi
36002
36003 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
36004 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
36005 fi
36006 ;;
36007
36008 *-*-beos* )
36009 SHARED_LD_CC="${LD} -shared -o"
36010 SHARED_LD_CXX="${LD} -shared -o"
36011 ;;
36012
36013 *-*-irix* )
36014 if test "x$GCC" != "xyes"; then
36015 PIC_FLAG="-KPIC"
36016 fi
36017 ;;
36018
36019 *-*-cygwin* | *-*-mingw32* )
36020 PIC_FLAG=""
36021 ;;
36022
36023 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
36024 *-*-sunos4* | \
36025 *-*-osf* | \
36026 *-*-dgux5* | \
36027 *-pc-os2_emx | *-pc-os2-emx | \
36028 *-*-sysv5* )
36029 ;;
36030
36031 *)
36032 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
36033echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
36034 { (exit 1); exit 1; }; }
36035 esac
36036
36037 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
36038 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
36039 fi
36040 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
36041 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
36042 fi
36043
36044
36045
36046
36047
36048
36049
36050
36051 USE_SOVERSION=0
36052 USE_SOVERLINUX=0
36053 USE_SOVERSOLARIS=0
36054 USE_SOSYMLINKS=0
36055 USE_MACVERSION=0
36056 SONAME_FLAG=
36057
36058 case "${BAKEFILE_HOST}" in
36059 *-*-linux* )
36060 SONAME_FLAG="-Wl,-soname,"
36061 USE_SOVERSION=1
36062 USE_SOVERLINUX=1
36063 USE_SOSYMLINKS=1
36064 ;;
36065
36066 *-*-solaris2* )
36067 SONAME_FLAG="-h "
36068 USE_SOVERSION=1
36069 USE_SOVERSOLARIS=1
36070 USE_SOSYMLINKS=1
36071 ;;
36072
36073 *-*-darwin* )
36074 USE_MACVERSION=1
36075 USE_SOVERSION=1
36076 USE_SOSYMLINKS=1
36077 ;;
36078 esac
36079
36080
36081
36082
36083
36084
36085
36086
36087
36088 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
36089echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
36090 DEPS_TRACKING=0
36091
36092 if test "x$GCC" = "xyes"; then
36093 DEPSMODE=gcc
36094 DEPS_TRACKING=1
36095 case "${BAKEFILE_HOST}" in
36096 powerpc-*-darwin* )
36097 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
36098 ;;
36099 * )
36100 DEPSFLAG_GCC="-MMD"
36101 ;;
36102 esac
36103 echo "$as_me:$LINENO: result: gcc" >&5
36104echo "${ECHO_T}gcc" >&6
36105 else
36106 echo "$as_me:$LINENO: result: none" >&5
36107echo "${ECHO_T}none" >&6
36108 fi
36109
36110 if test $DEPS_TRACKING = 1 ; then
36111 cat <<EOF >bk-deps
36112#!/bin/sh
36113
36114# This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
36115# script. It is used to track C/C++ files dependencies in portable way.
36116#
36117# Permission is given to use this file in any way.
36118
36119DEPSMODE=$DEPSMODE
36120DEPSDIR=.deps
36121DEPSFLAG_GCC="$DEPSFLAG_GCC"
36122
36123mkdir -p \$DEPSDIR
36124
36125if test \$DEPSMODE = gcc ; then
36126 \${*} \${DEPSFLAG_GCC}
36127 status=\${?}
36128 if test \${status} != 0 ; then
36129 exit \${status}
36130 fi
36131 # move created file to the location we want it in:
36132 while test \${#} -gt 0; do
36133 case "\${1}" in
36134 -o )
36135 shift
36136 objfile=\${1}
36137 ;;
36138 -* )
36139 ;;
36140 * )
36141 srcfile=\${1}
36142 ;;
36143 esac
36144 shift
36145 done
36146 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
36147 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
36148 if test -f \$depfile ; then
36149 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
36150 rm -f \$depfile
36151 else
36152 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
36153 if test -f \$depfile ; then
36154 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
36155 rm -f \$depfile
36156 fi
36157 fi
36158 exit 0
36159else
36160 \${*}
36161 exit \${?}
36162fi
36163EOF
36164 chmod +x bk-deps
36165 fi
36166
36167
36168
36169
36170 RESCOMP=
36171 SETFILE=
36172
36173 case ${BAKEFILE_HOST} in
36174 *-*-cygwin* | *-*-mingw32* )
36175 if test "$build" != "$host" ; then
36176 RESCOMP=$host_alias-windres
36177 else
36178 # Extract the first word of "windres", so it can be a program name with args.
36179set dummy windres; ac_word=$2
36180echo "$as_me:$LINENO: checking for $ac_word" >&5
36181echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36182if test "${ac_cv_prog_RESCOMP+set}" = set; then
36183 echo $ECHO_N "(cached) $ECHO_C" >&6
36184else
36185 if test -n "$RESCOMP"; then
36186 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
36187else
36188as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36189for as_dir in $PATH
36190do
36191 IFS=$as_save_IFS
36192 test -z "$as_dir" && as_dir=.
36193 for ac_exec_ext in '' $ac_executable_extensions; do
36194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36195 ac_cv_prog_RESCOMP="windres"
36196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36197 break 2
36198 fi
36199done
36200done
36201
36202 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
36203fi
36204fi
36205RESCOMP=$ac_cv_prog_RESCOMP
36206if test -n "$RESCOMP"; then
36207 echo "$as_me:$LINENO: result: $RESCOMP" >&5
36208echo "${ECHO_T}$RESCOMP" >&6
36209else
36210 echo "$as_me:$LINENO: result: no" >&5
36211echo "${ECHO_T}no" >&6
36212fi
36213
36214 fi
36215 ;;
36216
36217 *-*-darwin* )
36218 # Extract the first word of "Rez", so it can be a program name with args.
36219set dummy Rez; ac_word=$2
36220echo "$as_me:$LINENO: checking for $ac_word" >&5
36221echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36222if test "${ac_cv_prog_RESCOMP+set}" = set; then
36223 echo $ECHO_N "(cached) $ECHO_C" >&6
36224else
36225 if test -n "$RESCOMP"; then
36226 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
36227else
36228as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36229for as_dir in $PATH
36230do
36231 IFS=$as_save_IFS
36232 test -z "$as_dir" && as_dir=.
36233 for ac_exec_ext in '' $ac_executable_extensions; do
36234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36235 ac_cv_prog_RESCOMP="Rez"
36236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36237 break 2
36238 fi
36239done
36240done
36241
36242 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
36243fi
36244fi
36245RESCOMP=$ac_cv_prog_RESCOMP
36246if test -n "$RESCOMP"; then
36247 echo "$as_me:$LINENO: result: $RESCOMP" >&5
36248echo "${ECHO_T}$RESCOMP" >&6
36249else
36250 echo "$as_me:$LINENO: result: no" >&5
36251echo "${ECHO_T}no" >&6
36252fi
36253
36254 # Extract the first word of "SetFile", so it can be a program name with args.
36255set dummy SetFile; ac_word=$2
36256echo "$as_me:$LINENO: checking for $ac_word" >&5
36257echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36258if test "${ac_cv_prog_SETFILE+set}" = set; then
36259 echo $ECHO_N "(cached) $ECHO_C" >&6
36260else
36261 if test -n "$SETFILE"; then
36262 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36263else
36264as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36265for as_dir in $PATH
36266do
36267 IFS=$as_save_IFS
36268 test -z "$as_dir" && as_dir=.
36269 for ac_exec_ext in '' $ac_executable_extensions; do
36270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36271 ac_cv_prog_SETFILE="SetFile"
36272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36273 break 2
36274 fi
36275done
36276done
36277
36278 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
36279fi
36280fi
36281SETFILE=$ac_cv_prog_SETFILE
36282if test -n "$SETFILE"; then
36283 echo "$as_me:$LINENO: result: $SETFILE" >&5
36284echo "${ECHO_T}$SETFILE" >&6
36285else
36286 echo "$as_me:$LINENO: result: no" >&5
36287echo "${ECHO_T}no" >&6
36288fi
36289
36290 ;;
36291 esac
36292
36293
36294
36295
36296
36297
36298
36299
36300
36301
36302 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
36303if test "${enable_precomp_headers+set}" = set; then
36304 enableval="$enable_precomp_headers"
36305 bk_use_pch="$enableval"
36306fi;
36307
36308 GCC_PCH=0
36309
36310 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
36311 if test "x$GCC" = "xyes"; then
36312 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
36313echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
36314 cat >conftest.$ac_ext <<_ACEOF
36315#line $LINENO "configure"
36316/* confdefs.h. */
36317_ACEOF
36318cat confdefs.h >>conftest.$ac_ext
36319cat >>conftest.$ac_ext <<_ACEOF
36320/* end confdefs.h. */
36321
36322int
36323main ()
36324{
36325
36326 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
36327 #error "no pch support"
36328 #endif
36329 #if (__GNUC__ < 3)
36330 #error "no pch support"
36331 #endif
36332 #if (__GNUC__ == 3) && \
36333 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
36334 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
36335 #error "no pch support"
36336 #endif
36337
36338 ;
36339 return 0;
36340}
36341_ACEOF
36342rm -f conftest.$ac_objext
36343if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36344 (eval $ac_compile) 2>&5
36345 ac_status=$?
36346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36347 (exit $ac_status); } &&
36348 { ac_try='test -s conftest.$ac_objext'
36349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36350 (eval $ac_try) 2>&5
36351 ac_status=$?
36352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36353 (exit $ac_status); }; }; then
36354
36355 echo "$as_me:$LINENO: result: yes" >&5
36356echo "${ECHO_T}yes" >&6
36357 CPPFLAGS="-fpch-deps $CPPFLAGS"
36358 GCC_PCH=1
36359
36360else
36361 echo "$as_me: failed program was:" >&5
36362sed 's/^/| /' conftest.$ac_ext >&5
36363
36364
36365 echo "$as_me:$LINENO: result: no" >&5
36366echo "${ECHO_T}no" >&6
36367
36368fi
36369rm -f conftest.$ac_objext conftest.$ac_ext
36370 if test $GCC_PCH = 1 ; then
36371 cat <<EOF >bk-make-pch
36372#!/bin/sh
36373
36374# This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
36375# script. It is used to generated precompiled headers.
36376#
36377# Permission is given to use this file in any way.
36378
36379outfile="\${1}"
36380header="\${2}"
36381shift
36382shift
36383
36384compiler=
36385headerfile=
36386while test \${#} -gt 0; do
36387 case "\${1}" in
36388 -I* )
36389 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
36390 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
36391 headerfile="\${incdir}/\${header}"
36392 fi
36393 ;;
36394 esac
36395 compiler="\${compiler} \${1}"
36396 shift
36397done
36398
36399if test "x\${headerfile}" = "x" ; then
36400 echo "error: can't find header \${header} in include paths" >2
36401else
36402 if test -f \${outfile} ; then
36403 rm -f \${outfile}
36404 else
36405 mkdir -p \`dirname \${outfile}\`
36406 fi
36407 depsfile=".deps/\`basename \${outfile}\`.d"
36408 mkdir -p .deps
36409 # can do this because gcc is >= 3.4:
36410 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
36411 exit \${?}
36412fi
36413EOF
36414 chmod +x bk-make-pch
36415 fi
36416 fi
36417 fi
36418
36419
36420
36421
36422
36423 COND_BUILD_DEBUG="#"
36424 if test "x$BUILD" = "xdebug" ; then
36425 COND_BUILD_DEBUG=""
36426 fi
36427
36428 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
36429 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
36430 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
36431 fi
36432
36433 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
36434 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
36435 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
36436 fi
36437
36438 COND_BUILD_DEBUG_UNICODE_0="#"
36439 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
36440 COND_BUILD_DEBUG_UNICODE_0=""
36441 fi
36442
36443 COND_BUILD_DEBUG_UNICODE_1="#"
36444 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
36445 COND_BUILD_DEBUG_UNICODE_1=""
36446 fi
36447
36448 COND_BUILD_RELEASE="#"
36449 if test "x$BUILD" = "xrelease" ; then
36450 COND_BUILD_RELEASE=""
36451 fi
36452
36453 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
36454 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
36455 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
36456 fi
36457
36458 COND_BUILD_RELEASE_UNICODE_0="#"
36459 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
36460 COND_BUILD_RELEASE_UNICODE_0=""
36461 fi
36462
36463 COND_BUILD_RELEASE_UNICODE_1="#"
36464 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
36465 COND_BUILD_RELEASE_UNICODE_1=""
36466 fi
36467
36468 COND_DEBUG_FLAG_1="#"
36469 if test "x$DEBUG_FLAG" = "x1" ; then
36470 COND_DEBUG_FLAG_1=""
36471 fi
36472
36473 COND_DEBUG_INFO_0="#"
36474 if test "x$DEBUG_INFO" = "x0" ; then
36475 COND_DEBUG_INFO_0=""
36476 fi
36477
36478 COND_DEBUG_INFO_1="#"
36479 if test "x$DEBUG_INFO" = "x1" ; then
36480 COND_DEBUG_INFO_1=""
36481 fi
36482
36483 COND_DEPS_TRACKING_0="#"
36484 if test "x$DEPS_TRACKING" = "x0" ; then
36485 COND_DEPS_TRACKING_0=""
36486 fi
36487
36488 COND_DEPS_TRACKING_1="#"
36489 if test "x$DEPS_TRACKING" = "x1" ; then
36490 COND_DEPS_TRACKING_1=""
36491 fi
36492
36493 COND_GCC_PCH_1="#"
36494 if test "x$GCC_PCH" = "x1" ; then
36495 COND_GCC_PCH_1=""
36496 fi
36497
36498 COND_MONOLITHIC_0="#"
36499 if test "x$MONOLITHIC" = "x0" ; then
36500 COND_MONOLITHIC_0=""
36501 fi
36502
36503 COND_MONOLITHIC_0_SHARED_0="#"
36504 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
36505 COND_MONOLITHIC_0_SHARED_0=""
36506 fi
36507
36508 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
36509 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
36510 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
36511 fi
36512
36513 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
36514 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
36515 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
36516 fi
36517
36518 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
36519 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
36520 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
36521 fi
36522
36523 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
36524 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
36525 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
36526 fi
36527
36528 COND_MONOLITHIC_0_SHARED_1="#"
36529 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
36530 COND_MONOLITHIC_0_SHARED_1=""
36531 fi
36532
36533 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
36534 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
36535 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
36536 fi
36537
36538 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
36539 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
36540 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
36541 fi
36542
36543 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
36544 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
36545 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
36546 fi
36547
36548 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
36549 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
36550 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
36551 fi
36552
36553 COND_MONOLITHIC_0_USE_ODBC_1="#"
36554 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
36555 COND_MONOLITHIC_0_USE_ODBC_1=""
36556 fi
36557
36558 COND_MONOLITHIC_1="#"
36559 if test "x$MONOLITHIC" = "x1" ; then
36560 COND_MONOLITHIC_1=""
36561 fi
36562
36563 COND_MONOLITHIC_1_SHARED_0="#"
36564 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
36565 COND_MONOLITHIC_1_SHARED_0=""
36566 fi
36567
36568 COND_MONOLITHIC_1_SHARED_1="#"
36569 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
36570 COND_MONOLITHIC_1_SHARED_1=""
36571 fi
36572
36573 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
36574 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
36575 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
36576 fi
36577
36578 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
36579 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
36580 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
36581 fi
36582
36583 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
36584 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
36585 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
36586 fi
36587
36588 COND_PLATFORM_MACOSX_1="#"
36589 if test "x$PLATFORM_MACOSX" = "x1" ; then
36590 COND_PLATFORM_MACOSX_1=""
36591 fi
36592
36593 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
36594 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
36595 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
36596 fi
36597
36598 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
36599 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
36600 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
36601 fi
36602
36603 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
36604 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
36605 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
36606 fi
36607
36608 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
36609 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
36610 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
36611 fi
36612
36613 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
36614 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
36615 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
36616 fi
36617
36618 COND_PLATFORM_MAC_1="#"
36619 if test "x$PLATFORM_MAC" = "x1" ; then
36620 COND_PLATFORM_MAC_1=""
36621 fi
36622
36623 COND_PLATFORM_OS2_1="#"
36624 if test "x$PLATFORM_OS2" = "x1" ; then
36625 COND_PLATFORM_OS2_1=""
36626 fi
36627
36628 COND_PLATFORM_UNIX_0="#"
36629 if test "x$PLATFORM_UNIX" = "x0" ; then
36630 COND_PLATFORM_UNIX_0=""
36631 fi
36632
36633 COND_PLATFORM_UNIX_1="#"
36634 if test "x$PLATFORM_UNIX" = "x1" ; then
36635 COND_PLATFORM_UNIX_1=""
36636 fi
36637
36638 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
36639 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
36640 COND_PLATFORM_UNIX_1_USE_GUI_1=""
36641 fi
36642
36643 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
36644 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
36645 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
36646 fi
36647
36648 COND_PLATFORM_WIN32_0="#"
36649 if test "x$PLATFORM_WIN32" = "x0" ; then
36650 COND_PLATFORM_WIN32_0=""
36651 fi
36652
36653 COND_PLATFORM_WIN32_1="#"
36654 if test "x$PLATFORM_WIN32" = "x1" ; then
36655 COND_PLATFORM_WIN32_1=""
36656 fi
36657
36658 COND_SHARED_0="#"
36659 if test "x$SHARED" = "x0" ; then
36660 COND_SHARED_0=""
36661 fi
36662
36663 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
36664 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
36665 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
36666 fi
36667
36668 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
36669 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
36670 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
36671 fi
36672
36673 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
36674 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
36675 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
36676 fi
36677
36678 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
36679 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
36680 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
36681 fi
36682
36683 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
36684 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
36685 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
36686 fi
36687
36688 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
36689 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
36690 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
36691 fi
36692
36693 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
36694 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
36695 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
36696 fi
36697
36698 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
36699 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
36700 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
36701 fi
36702
36703 COND_SHARED_1="#"
36704 if test "x$SHARED" = "x1" ; then
36705 COND_SHARED_1=""
36706 fi
36707
36708 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
36709 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
36710 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
36711 fi
36712
36713 COND_TOOLKIT_COCOA="#"
36714 if test "x$TOOLKIT" = "xCOCOA" ; then
36715 COND_TOOLKIT_COCOA=""
36716 fi
36717
36718 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
36719 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36720 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
36721 fi
36722
36723 COND_TOOLKIT_GTK="#"
36724 if test "x$TOOLKIT" = "xGTK" ; then
36725 COND_TOOLKIT_GTK=""
36726 fi
36727
36728 COND_TOOLKIT_GTK_USE_GUI_1="#"
36729 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
36730 COND_TOOLKIT_GTK_USE_GUI_1=""
36731 fi
36732
36733 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
36734 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36735 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
36736 fi
36737
36738 COND_TOOLKIT_MAC="#"
36739 if test "x$TOOLKIT" = "xMAC" ; then
36740 COND_TOOLKIT_MAC=""
36741 fi
36742
36743 COND_TOOLKIT_MAC_USE_GUI_1="#"
36744 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
36745 COND_TOOLKIT_MAC_USE_GUI_1=""
36746 fi
36747
36748 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
36749 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36750 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
36751 fi
36752
36753 COND_TOOLKIT_MGL="#"
36754 if test "x$TOOLKIT" = "xMGL" ; then
36755 COND_TOOLKIT_MGL=""
36756 fi
36757
36758 COND_TOOLKIT_MGL_USE_GUI_1="#"
36759 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
36760 COND_TOOLKIT_MGL_USE_GUI_1=""
36761 fi
36762
36763 COND_TOOLKIT_MOTIF="#"
36764 if test "x$TOOLKIT" = "xMOTIF" ; then
36765 COND_TOOLKIT_MOTIF=""
36766 fi
36767
36768 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
36769 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
36770 COND_TOOLKIT_MOTIF_USE_GUI_1=""
36771 fi
36772
36773 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
36774 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36775 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
36776 fi
36777
36778 COND_TOOLKIT_MSW="#"
36779 if test "x$TOOLKIT" = "xMSW" ; then
36780 COND_TOOLKIT_MSW=""
36781 fi
36782
36783 COND_TOOLKIT_MSW_USE_GUI_1="#"
36784 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
36785 COND_TOOLKIT_MSW_USE_GUI_1=""
36786 fi
36787
36788 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
36789 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36790 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
36791 fi
36792
36793 COND_TOOLKIT_PM="#"
36794 if test "x$TOOLKIT" = "xPM" ; then
36795 COND_TOOLKIT_PM=""
36796 fi
36797
36798 COND_TOOLKIT_PM_USE_GUI_1="#"
36799 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
36800 COND_TOOLKIT_PM_USE_GUI_1=""
36801 fi
36802
36803 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
36804 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36805 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
36806 fi
36807
36808 COND_TOOLKIT_X11="#"
36809 if test "x$TOOLKIT" = "xX11" ; then
36810 COND_TOOLKIT_X11=""
36811 fi
36812
36813 COND_TOOLKIT_X11_USE_GUI_1="#"
36814 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
36815 COND_TOOLKIT_X11_USE_GUI_1=""
36816 fi
36817
36818 COND_UNICODE_1="#"
36819 if test "x$UNICODE" = "x1" ; then
36820 COND_UNICODE_1=""
36821 fi
36822
36823 COND_USE_EXCEPTIONS_0="#"
36824 if test "x$USE_EXCEPTIONS" = "x0" ; then
36825 COND_USE_EXCEPTIONS_0=""
36826 fi
36827
36828 COND_USE_EXCEPTIONS_1="#"
36829 if test "x$USE_EXCEPTIONS" = "x1" ; then
36830 COND_USE_EXCEPTIONS_1=""
36831 fi
36832
36833 COND_USE_GUI_0="#"
36834 if test "x$USE_GUI" = "x0" ; then
36835 COND_USE_GUI_0=""
36836 fi
36837
36838 COND_USE_GUI_1="#"
36839 if test "x$USE_GUI" = "x1" ; then
36840 COND_USE_GUI_1=""
36841 fi
36842
36843 COND_USE_GUI_1_WXUNIV_0="#"
36844 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36845 COND_USE_GUI_1_WXUNIV_0=""
36846 fi
36847
36848 COND_USE_GUI_1_WXUNIV_1="#"
36849 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
36850 COND_USE_GUI_1_WXUNIV_1=""
36851 fi
36852
36853 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
36854 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
36855 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
36856 fi
36857
36858 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
36859 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
36860 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
36861 fi
36862
36863 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
36864 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
36865 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
36866 fi
36867
36868 COND_USE_ODBC_1="#"
36869 if test "x$USE_ODBC" = "x1" ; then
36870 COND_USE_ODBC_1=""
36871 fi
36872
36873 COND_USE_PLUGINS_0="#"
36874 if test "x$USE_PLUGINS" = "x0" ; then
36875 COND_USE_PLUGINS_0=""
36876 fi
36877
36878 COND_USE_SOSYMLINKS_1="#"
36879 if test "x$USE_SOSYMLINKS" = "x1" ; then
36880 COND_USE_SOSYMLINKS_1=""
36881 fi
36882
36883 COND_USE_SOVERLINUX_1="#"
36884 if test "x$USE_SOVERLINUX" = "x1" ; then
36885 COND_USE_SOVERLINUX_1=""
36886 fi
36887
36888 COND_USE_SOVERSION_0="#"
36889 if test "x$USE_SOVERSION" = "x0" ; then
36890 COND_USE_SOVERSION_0=""
36891 fi
36892
36893 COND_USE_SOVERSOLARIS_1="#"
36894 if test "x$USE_SOVERSOLARIS" = "x1" ; then
36895 COND_USE_SOVERSOLARIS_1=""
36896 fi
36897
36898 COND_WITH_PLUGIN_SDL_1="#"
36899 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
36900 COND_WITH_PLUGIN_SDL_1=""
36901 fi
36902
36903 COND_WITH_SDL_1="#"
36904 if test "x$WITH_SDL" = "x1" ; then
36905 COND_WITH_SDL_1=""
36906 fi
36907
36908 COND_WXUNIV_1="#"
36909 if test "x$WXUNIV" = "x1" ; then
36910 COND_WXUNIV_1=""
36911 fi
36912
36913 COND_WXUSE_EXPAT_BUILTIN="#"
36914 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
36915 COND_WXUSE_EXPAT_BUILTIN=""
36916 fi
36917
36918 COND_WXUSE_LIBJPEG_BUILTIN="#"
36919 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
36920 COND_WXUSE_LIBJPEG_BUILTIN=""
36921 fi
36922
36923 COND_WXUSE_LIBPNG_BUILTIN="#"
36924 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
36925 COND_WXUSE_LIBPNG_BUILTIN=""
36926 fi
36927
36928 COND_WXUSE_LIBTIFF_BUILTIN="#"
36929 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
36930 COND_WXUSE_LIBTIFF_BUILTIN=""
36931 fi
36932
36933 COND_WXUSE_ODBC_BUILTIN="#"
36934 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
36935 COND_WXUSE_ODBC_BUILTIN=""
36936 fi
36937
36938 COND_WXUSE_REGEX_BUILTIN="#"
36939 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
36940 COND_WXUSE_REGEX_BUILTIN=""
36941 fi
36942
36943 COND_WXUSE_ZLIB_BUILTIN="#"
36944 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
36945 COND_WXUSE_ZLIB_BUILTIN=""
36946 fi
36947
36948
36949
36950
36951
36952if test $GCC_PCH = 1 ; then
36953 CODE_GEN_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
36954 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
36955else
36956 case "${host}" in
36957 powerpc-*-darwin* )
36958 CODE_GEN_FLAGS="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
36959 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
36960 ;;
36961 esac
36962fi
36963
36964
36965SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
36966
36967
36968
36969
36970
36971
36972
36973
36974
36975
36976
36977
36978
36979
36980
36981
36982
36983
36984
36985
36986
36987
36988
36989
36990
36991
36992
36993
36994
36995
36996
36997
36998
36999
37000
37001
37002
37003
37004
37005
37006
37007
37008
37009
37010
37011
37012
37013
37014
37015
37016
37017
37018
37019
37020
37021
37022
37023
37024
37025
37026
37027
37028
37029
37030
37031
37032
37033
37034
37035
37036
37037
37038
37039
37040
37041
37042
37043
37044
37045
37046
37047
37048
37049
37050
37051
37052
37053
37054
37055
37056
37057
37058
37059
37060
37061
37062
37063
37064
37065echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37066echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
37067set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
37068if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
37069 echo $ECHO_N "(cached) $ECHO_C" >&6
37070else
37071 cat >conftest.make <<\_ACEOF
37072all:
37073 @echo 'ac_maketemp="$(MAKE)"'
37074_ACEOF
37075# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
37076eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
37077if test -n "$ac_maketemp"; then
37078 eval ac_cv_prog_make_${ac_make}_set=yes
37079else
37080 eval ac_cv_prog_make_${ac_make}_set=no
37081fi
37082rm -f conftest.make
37083fi
37084if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
37085 echo "$as_me:$LINENO: result: yes" >&5
37086echo "${ECHO_T}yes" >&6
37087 SET_MAKE=
37088else
37089 echo "$as_me:$LINENO: result: no" >&5
37090echo "${ECHO_T}no" >&6
37091 SET_MAKE="MAKE=${MAKE-make}"
37092fi
37093
37094
37095if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
37096 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
37097fi
37098
37099 ac_config_headers="$ac_config_headers setup.h"
37100
37101
37102 ac_config_files="$ac_config_files wx-config version-script Makefile"
37103
37104
37105 ac_config_commands="$ac_config_commands default"
37106
37107
37108
37109if test "$wxUSE_GUI" = "yes"; then
37110 SUBDIRS="samples demos utils contrib"
37111else SUBDIRS="samples utils"
37112fi
37113
37114for subdir in `echo $SUBDIRS`; do
37115 if test -d ${srcdir}/${subdir} ; then
37116 if test "$wxUSE_GUI" = "yes"; then
37117 if test ${subdir} = "samples"; then
37118 makefiles="samples/Makefile.in $makefiles"
37119 for sample in `echo $SAMPLES_SUBDIRS`; do
37120 if test -d $srcdir/samples/$sample; then
37121 makefiles="samples/$sample/Makefile.in $makefiles"
37122 fi
37123 done
37124 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
37125 fi
37126 else if test ${subdir} = "samples"; then
37127 makefiles="samples/Makefile.in samples/console/Makefile.in"
37128 else makefiles="utils/HelpGen/Makefile.in \
37129 utils/HelpGen/src/Makefile.in \
37130 utils/tex2rtf/Makefile.in \
37131 utils/tex2rtf/src/Makefile.in"
37132 fi
37133 fi
37134
37135 for mkin in $makefiles ; do
37136 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
37137 ac_config_files="$ac_config_files $mk"
37138
37139 done
37140 fi
37141done
37142
37143
37144cat >confcache <<\_ACEOF
37145# This file is a shell script that caches the results of configure
37146# tests run on this system so they can be shared between configure
37147# scripts and configure runs, see configure's option --config-cache.
37148# It is not useful on other systems. If it contains results you don't
37149# want to keep, you may remove or edit it.
37150#
37151# config.status only pays attention to the cache file if you give it
37152# the --recheck option to rerun configure.
37153#
37154# `ac_cv_env_foo' variables (set or unset) will be overridden when
37155# loading this file, other *unset* `ac_cv_foo' will be assigned the
37156# following values.
37157
37158_ACEOF
37159
37160# The following way of writing the cache mishandles newlines in values,
37161# but we know of no workaround that is simple, portable, and efficient.
37162# So, don't put newlines in cache variables' values.
37163# Ultrix sh set writes to stderr and can't be redirected directly,
37164# and sets the high bit in the cache file unless we assign to the vars.
37165{
37166 (set) 2>&1 |
37167 case `(ac_space=' '; set | grep ac_space) 2>&1` in
37168 *ac_space=\ *)
37169 # `set' does not quote correctly, so add quotes (double-quote
37170 # substitution turns \\\\ into \\, and sed turns \\ into \).
37171 sed -n \
37172 "s/'/'\\\\''/g;
37173 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37174 ;;
37175 *)
37176 # `set' quotes correctly as required by POSIX, so do not add quotes.
37177 sed -n \
37178 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37179 ;;
37180 esac;
37181} |
37182 sed '
37183 t clear
37184 : clear
37185 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37186 t end
37187 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37188 : end' >>confcache
37189if diff $cache_file confcache >/dev/null 2>&1; then :; else
37190 if test -w $cache_file; then
37191 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37192 cat confcache >$cache_file
37193 else
37194 echo "not updating unwritable cache $cache_file"
37195 fi
37196fi
37197rm -f confcache
37198
37199test "x$prefix" = xNONE && prefix=$ac_default_prefix
37200# Let make expand exec_prefix.
37201test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
37202
37203# VPATH may cause trouble with some makes, so we remove $(srcdir),
37204# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
37205# trailing colons and then remove the whole line if VPATH becomes empty
37206# (actually we leave an empty line to preserve line numbers).
37207if test "x$srcdir" = x.; then
37208 ac_vpsub='/^[ ]*VPATH[ ]*=/{
37209s/:*\$(srcdir):*/:/;
37210s/:*\${srcdir}:*/:/;
37211s/:*@srcdir@:*/:/;
37212s/^\([^=]*=[ ]*\):*/\1/;
37213s/:*$//;
37214s/^[^=]*=[ ]*$//;
37215}'
37216fi
37217
37218DEFS=-DHAVE_CONFIG_H
37219
37220ac_libobjs=
37221ac_ltlibobjs=
37222for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
37223 # 1. Remove the extension, and $U if already installed.
37224 ac_i=`echo "$ac_i" |
37225 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
37226 # 2. Add them.
37227 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
37228 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
37229done
37230LIBOBJS=$ac_libobjs
37231
37232LTLIBOBJS=$ac_ltlibobjs
37233
37234
37235
37236: ${CONFIG_STATUS=./config.status}
37237ac_clean_files_save=$ac_clean_files
37238ac_clean_files="$ac_clean_files $CONFIG_STATUS"
37239{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
37240echo "$as_me: creating $CONFIG_STATUS" >&6;}
37241cat >$CONFIG_STATUS <<_ACEOF
37242#! $SHELL
37243# Generated by $as_me.
37244# Run this file to recreate the current configuration.
37245# Compiler output produced by configure, useful for debugging
37246# configure, is in config.log if it exists.
37247
37248debug=false
37249ac_cs_recheck=false
37250ac_cs_silent=false
37251SHELL=\${CONFIG_SHELL-$SHELL}
37252_ACEOF
37253
37254cat >>$CONFIG_STATUS <<\_ACEOF
37255## --------------------- ##
37256## M4sh Initialization. ##
37257## --------------------- ##
37258
37259# Be Bourne compatible
37260if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
37261 emulate sh
37262 NULLCMD=:
37263 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
37264 # is contrary to our usage. Disable this feature.
37265 alias -g '${1+"$@"}'='"$@"'
37266elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
37267 set -o posix
37268fi
37269
37270# Support unset when possible.
37271if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
37272 as_unset=unset
37273else
37274 as_unset=false
37275fi
37276
37277
37278# Work around bugs in pre-3.0 UWIN ksh.
37279$as_unset ENV MAIL MAILPATH
37280PS1='$ '
37281PS2='> '
37282PS4='+ '
37283
37284# NLS nuisances.
37285for as_var in \
37286 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
37287 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
37288 LC_TELEPHONE LC_TIME
37289do
37290 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
37291 eval $as_var=C; export $as_var
37292 else
37293 $as_unset $as_var
37294 fi
37295done
37296
37297# Required to use basename.
37298if expr a : '\(a\)' >/dev/null 2>&1; then
37299 as_expr=expr
37300else
37301 as_expr=false
37302fi
37303
37304if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
37305 as_basename=basename
37306else
37307 as_basename=false
37308fi
37309
37310
37311# Name of the executable.
37312as_me=`$as_basename "$0" ||
37313$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
37314 X"$0" : 'X\(//\)$' \| \
37315 X"$0" : 'X\(/\)$' \| \
37316 . : '\(.\)' 2>/dev/null ||
37317echo X/"$0" |
37318 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
37319 /^X\/\(\/\/\)$/{ s//\1/; q; }
37320 /^X\/\(\/\).*/{ s//\1/; q; }
37321 s/.*/./; q'`
37322
37323
37324# PATH needs CR, and LINENO needs CR and PATH.
37325# Avoid depending upon Character Ranges.
37326as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37327as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37328as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37329as_cr_digits='0123456789'
37330as_cr_alnum=$as_cr_Letters$as_cr_digits
37331
37332# The user is always right.
37333if test "${PATH_SEPARATOR+set}" != set; then
37334 echo "#! /bin/sh" >conf$$.sh
37335 echo "exit 0" >>conf$$.sh
37336 chmod +x conf$$.sh
37337 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
37338 PATH_SEPARATOR=';'
37339 else
37340 PATH_SEPARATOR=:
37341 fi
37342 rm -f conf$$.sh
37343fi
37344
37345
37346 as_lineno_1=$LINENO
37347 as_lineno_2=$LINENO
37348 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
37349 test "x$as_lineno_1" != "x$as_lineno_2" &&
37350 test "x$as_lineno_3" = "x$as_lineno_2" || {
37351 # Find who we are. Look in the path if we contain no path at all
37352 # relative or not.
37353 case $0 in
37354 *[\\/]* ) as_myself=$0 ;;
37355 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37356for as_dir in $PATH
37357do
37358 IFS=$as_save_IFS
37359 test -z "$as_dir" && as_dir=.
37360 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
37361done
37362
37363 ;;
37364 esac
37365 # We did not find ourselves, most probably we were run as `sh COMMAND'
37366 # in which case we are not to be found in the path.
37367 if test "x$as_myself" = x; then
37368 as_myself=$0
37369 fi
37370 if test ! -f "$as_myself"; then
37371 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
37372echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
37373 { (exit 1); exit 1; }; }
37374 fi
37375 case $CONFIG_SHELL in
37376 '')
37377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37378for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
37379do
37380 IFS=$as_save_IFS
37381 test -z "$as_dir" && as_dir=.
37382 for as_base in sh bash ksh sh5; do
37383 case $as_dir in
37384 /*)
37385 if ("$as_dir/$as_base" -c '
37386 as_lineno_1=$LINENO
37387 as_lineno_2=$LINENO
37388 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
37389 test "x$as_lineno_1" != "x$as_lineno_2" &&
37390 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
37391 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
37392 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
37393 CONFIG_SHELL=$as_dir/$as_base
37394 export CONFIG_SHELL
37395 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
37396 fi;;
37397 esac
37398 done
37399done
37400;;
37401 esac
37402
37403 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
37404 # uniformly replaced by the line number. The first 'sed' inserts a
37405 # line-number line before each line; the second 'sed' does the real
37406 # work. The second script uses 'N' to pair each line-number line
37407 # with the numbered line, and appends trailing '-' during
37408 # substitution so that $LINENO is not a special case at line end.
37409 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
37410 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
37411 sed '=' <$as_myself |
37412 sed '
37413 N
37414 s,$,-,
37415 : loop
37416 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
37417 t loop
37418 s,-$,,
37419 s,^['$as_cr_digits']*\n,,
37420 ' >$as_me.lineno &&
37421 chmod +x $as_me.lineno ||
37422 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
37423echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
37424 { (exit 1); exit 1; }; }
37425
37426 # Don't try to exec as it changes $[0], causing all sort of problems
37427 # (the dirname of $[0] is not the place where we might find the
37428 # original and so on. Autoconf is especially sensible to this).
37429 . ./$as_me.lineno
37430 # Exit status is that of the last command.
37431 exit
37432}
37433
37434
37435case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
37436 *c*,-n*) ECHO_N= ECHO_C='
37437' ECHO_T=' ' ;;
37438 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
37439 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
37440esac
37441
37442if expr a : '\(a\)' >/dev/null 2>&1; then
37443 as_expr=expr
37444else
37445 as_expr=false
37446fi
37447
37448rm -f conf$$ conf$$.exe conf$$.file
37449echo >conf$$.file
37450if ln -s conf$$.file conf$$ 2>/dev/null; then
37451 # We could just check for DJGPP; but this test a) works b) is more generic
37452 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
37453 if test -f conf$$.exe; then
37454 # Don't use ln at all; we don't have any links
37455 as_ln_s='cp -p'
37456 else
37457 as_ln_s='ln -s'
37458 fi
37459elif ln conf$$.file conf$$ 2>/dev/null; then
37460 as_ln_s=ln
37461else
37462 as_ln_s='cp -p'
37463fi
37464rm -f conf$$ conf$$.exe conf$$.file
37465
37466if mkdir -p . 2>/dev/null; then
37467 as_mkdir_p=:
37468else
37469 as_mkdir_p=false
37470fi
37471
37472as_executable_p="test -f"
37473
37474# Sed expression to map a string onto a valid CPP name.
37475as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
37476
37477# Sed expression to map a string onto a valid variable name.
37478as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
37479
37480
37481# IFS
37482# We need space, tab and new line, in precisely that order.
37483as_nl='
37484'
37485IFS=" $as_nl"
37486
37487# CDPATH.
37488$as_unset CDPATH
37489
37490exec 6>&1
37491
37492# Open the log real soon, to keep \$[0] and so on meaningful, and to
37493# report actual input values of CONFIG_FILES etc. instead of their
37494# values after options handling. Logging --version etc. is OK.
37495exec 5>>config.log
37496{
37497 echo
37498 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
37499## Running $as_me. ##
37500_ASBOX
37501} >&5
37502cat >&5 <<_CSEOF
37503
37504This file was extended by wxWindows $as_me 2.5.1, which was
37505generated by GNU Autoconf 2.57. Invocation command line was
37506
37507 CONFIG_FILES = $CONFIG_FILES
37508 CONFIG_HEADERS = $CONFIG_HEADERS
37509 CONFIG_LINKS = $CONFIG_LINKS
37510 CONFIG_COMMANDS = $CONFIG_COMMANDS
37511 $ $0 $@
37512
37513_CSEOF
37514echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
37515echo >&5
37516_ACEOF
37517
37518# Files that config.status was made for.
37519if test -n "$ac_config_files"; then
37520 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
37521fi
37522
37523if test -n "$ac_config_headers"; then
37524 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
37525fi
37526
37527if test -n "$ac_config_links"; then
37528 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
37529fi
37530
37531if test -n "$ac_config_commands"; then
37532 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
37533fi
37534
37535cat >>$CONFIG_STATUS <<\_ACEOF
37536
37537ac_cs_usage="\
37538\`$as_me' instantiates files from templates according to the
37539current configuration.
37540
37541Usage: $0 [OPTIONS] [FILE]...
37542
37543 -h, --help print this help, then exit
37544 -V, --version print version number, then exit
37545 -q, --quiet do not print progress messages
37546 -d, --debug don't remove temporary files
37547 --recheck update $as_me by reconfiguring in the same conditions
37548 --file=FILE[:TEMPLATE]
37549 instantiate the configuration file FILE
37550 --header=FILE[:TEMPLATE]
37551 instantiate the configuration header FILE
37552
37553Configuration files:
37554$config_files
37555
37556Configuration headers:
37557$config_headers
37558
37559Configuration commands:
37560$config_commands
37561
37562Report bugs to <bug-autoconf@gnu.org>."
37563_ACEOF
37564
37565cat >>$CONFIG_STATUS <<_ACEOF
37566ac_cs_version="\\
37567wxWindows config.status 2.5.1
37568configured by $0, generated by GNU Autoconf 2.57,
37569 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
37570
37571Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
37572Free Software Foundation, Inc.
37573This config.status script is free software; the Free Software Foundation
37574gives unlimited permission to copy, distribute and modify it."
37575srcdir=$srcdir
37576INSTALL="$INSTALL"
37577_ACEOF
37578
37579cat >>$CONFIG_STATUS <<\_ACEOF
37580# If no file are specified by the user, then we need to provide default
37581# value. By we need to know if files were specified by the user.
37582ac_need_defaults=:
37583while test $# != 0
37584do
37585 case $1 in
37586 --*=*)
37587 ac_option=`expr "x$1" : 'x\([^=]*\)='`
37588 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
37589 ac_shift=:
37590 ;;
37591 -*)
37592 ac_option=$1
37593 ac_optarg=$2
37594 ac_shift=shift
37595 ;;
37596 *) # This is not an option, so the user has probably given explicit
37597 # arguments.
37598 ac_option=$1
37599 ac_need_defaults=false;;
37600 esac
37601
37602 case $ac_option in
37603 # Handling of the options.
37604_ACEOF
37605cat >>$CONFIG_STATUS <<\_ACEOF
37606 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
37607 ac_cs_recheck=: ;;
37608 --version | --vers* | -V )
37609 echo "$ac_cs_version"; exit 0 ;;
37610 --he | --h)
37611 # Conflict between --help and --header
37612 { { echo "$as_me:$LINENO: error: ambiguous option: $1
37613Try \`$0 --help' for more information." >&5
37614echo "$as_me: error: ambiguous option: $1
37615Try \`$0 --help' for more information." >&2;}
37616 { (exit 1); exit 1; }; };;
37617 --help | --hel | -h )
37618 echo "$ac_cs_usage"; exit 0 ;;
37619 --debug | --d* | -d )
37620 debug=: ;;
37621 --file | --fil | --fi | --f )
37622 $ac_shift
37623 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
37624 ac_need_defaults=false;;
37625 --header | --heade | --head | --hea )
37626 $ac_shift
37627 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
37628 ac_need_defaults=false;;
37629 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
37630 | -silent | --silent | --silen | --sile | --sil | --si | --s)
37631 ac_cs_silent=: ;;
37632
37633 # This is an error.
37634 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
37635Try \`$0 --help' for more information." >&5
37636echo "$as_me: error: unrecognized option: $1
37637Try \`$0 --help' for more information." >&2;}
37638 { (exit 1); exit 1; }; } ;;
37639
37640 *) ac_config_targets="$ac_config_targets $1" ;;
37641
37642 esac
37643 shift
37644done
37645
37646ac_configure_extra_args=
37647
37648if $ac_cs_silent; then
37649 exec 6>/dev/null
37650 ac_configure_extra_args="$ac_configure_extra_args --silent"
37651fi
37652
37653_ACEOF
37654cat >>$CONFIG_STATUS <<_ACEOF
37655if \$ac_cs_recheck; then
37656 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
37657 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
37658fi
37659
37660_ACEOF
37661
37662cat >>$CONFIG_STATUS <<_ACEOF
37663#
37664# INIT-COMMANDS section.
37665#
37666
37667
37668 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
37669 LN_S="${LN_S}"
37670
37671
37672
37673_ACEOF
37674
37675
37676
37677cat >>$CONFIG_STATUS <<\_ACEOF
37678for ac_config_target in $ac_config_targets
37679do
37680 case "$ac_config_target" in
37681 # Handling of arguments.
37682 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
37683 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
37684 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
37685 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
37686 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
37687 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
37688 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
37689echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
37690 { (exit 1); exit 1; }; };;
37691 esac
37692done
37693
37694# If the user did not use the arguments to specify the items to instantiate,
37695# then the envvar interface is used. Set only those that are not.
37696# We use the long form for the default assignment because of an extremely
37697# bizarre bug on SunOS 4.1.3.
37698if $ac_need_defaults; then
37699 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
37700 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
37701 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
37702fi
37703
37704# Have a temporary directory for convenience. Make it in the build tree
37705# simply because there is no reason to put it here, and in addition,
37706# creating and moving files from /tmp can sometimes cause problems.
37707# Create a temporary directory, and hook for its removal unless debugging.
37708$debug ||
37709{
37710 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
37711 trap '{ (exit 1); exit 1; }' 1 2 13 15
37712}
37713
37714# Create a (secure) tmp directory for tmp files.
37715
37716{
37717 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
37718 test -n "$tmp" && test -d "$tmp"
37719} ||
37720{
37721 tmp=./confstat$$-$RANDOM
37722 (umask 077 && mkdir $tmp)
37723} ||
37724{
37725 echo "$me: cannot create a temporary directory in ." >&2
37726 { (exit 1); exit 1; }
37727}
37728
37729_ACEOF
37730
37731cat >>$CONFIG_STATUS <<_ACEOF
37732
37733#
37734# CONFIG_FILES section.
37735#
37736
37737# No need to generate the scripts if there are no CONFIG_FILES.
37738# This happens for instance when ./config.status config.h
37739if test -n "\$CONFIG_FILES"; then
37740 # Protect against being on the right side of a sed subst in config.status.
37741 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
37742 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
37743s,@SHELL@,$SHELL,;t t
37744s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
37745s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
37746s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
37747s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
37748s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
37749s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
37750s,@exec_prefix@,$exec_prefix,;t t
37751s,@prefix@,$prefix,;t t
37752s,@program_transform_name@,$program_transform_name,;t t
37753s,@bindir@,$bindir,;t t
37754s,@sbindir@,$sbindir,;t t
37755s,@libexecdir@,$libexecdir,;t t
37756s,@datadir@,$datadir,;t t
37757s,@sysconfdir@,$sysconfdir,;t t
37758s,@sharedstatedir@,$sharedstatedir,;t t
37759s,@localstatedir@,$localstatedir,;t t
37760s,@libdir@,$libdir,;t t
37761s,@includedir@,$includedir,;t t
37762s,@oldincludedir@,$oldincludedir,;t t
37763s,@infodir@,$infodir,;t t
37764s,@mandir@,$mandir,;t t
37765s,@build_alias@,$build_alias,;t t
37766s,@host_alias@,$host_alias,;t t
37767s,@target_alias@,$target_alias,;t t
37768s,@DEFS@,$DEFS,;t t
37769s,@ECHO_C@,$ECHO_C,;t t
37770s,@ECHO_N@,$ECHO_N,;t t
37771s,@ECHO_T@,$ECHO_T,;t t
37772s,@LIBS@,$LIBS,;t t
37773s,@build@,$build,;t t
37774s,@build_cpu@,$build_cpu,;t t
37775s,@build_vendor@,$build_vendor,;t t
37776s,@build_os@,$build_os,;t t
37777s,@host@,$host,;t t
37778s,@host_cpu@,$host_cpu,;t t
37779s,@host_vendor@,$host_vendor,;t t
37780s,@host_os@,$host_os,;t t
37781s,@target@,$target,;t t
37782s,@target_cpu@,$target_cpu,;t t
37783s,@target_vendor@,$target_vendor,;t t
37784s,@target_os@,$target_os,;t t
37785s,@CC@,$CC,;t t
37786s,@CFLAGS@,$CFLAGS,;t t
37787s,@LDFLAGS@,$LDFLAGS,;t t
37788s,@CPPFLAGS@,$CPPFLAGS,;t t
37789s,@ac_ct_CC@,$ac_ct_CC,;t t
37790s,@EXEEXT@,$EXEEXT,;t t
37791s,@OBJEXT@,$OBJEXT,;t t
37792s,@CPP@,$CPP,;t t
37793s,@EGREP@,$EGREP,;t t
37794s,@CXX@,$CXX,;t t
37795s,@CXXFLAGS@,$CXXFLAGS,;t t
37796s,@ac_ct_CXX@,$ac_ct_CXX,;t t
37797s,@RANLIB@,$RANLIB,;t t
37798s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
37799s,@AR@,$AR,;t t
37800s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
37801s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
37802s,@INSTALL_DATA@,$INSTALL_DATA,;t t
37803s,@STRIP@,$STRIP,;t t
37804s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
37805s,@LN_S@,$LN_S,;t t
37806s,@CXXCPP@,$CXXCPP,;t t
37807s,@subdirs@,$subdirs,;t t
37808s,@PKG_CONFIG@,$PKG_CONFIG,;t t
37809s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
37810s,@GTK_LIBS@,$GTK_LIBS,;t t
37811s,@GTK_CONFIG@,$GTK_CONFIG,;t t
37812s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
37813s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
37814s,@X_CFLAGS@,$X_CFLAGS,;t t
37815s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
37816s,@X_LIBS@,$X_LIBS,;t t
37817s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
37818s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
37819s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
37820s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
37821s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
37822s,@RESCOMP@,$RESCOMP,;t t
37823s,@DEREZ@,$DEREZ,;t t
37824s,@SETFILE@,$SETFILE,;t t
37825s,@LIBICONV@,$LIBICONV,;t t
37826s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
37827s,@SDL_CONFIG@,$SDL_CONFIG,;t t
37828s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
37829s,@SDL_LIBS@,$SDL_LIBS,;t t
37830s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
37831s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
37832s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
37833s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
37834s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
37835s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
37836s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
37837s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
37838s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
37839s,@VENDOR@,$VENDOR,;t t
37840s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
37841s,@WXUNIV@,$WXUNIV,;t t
37842s,@MONOLITHIC@,$MONOLITHIC,;t t
37843s,@USE_PLUGINS@,$USE_PLUGINS,;t t
37844s,@EXTRALIBS@,$EXTRALIBS,;t t
37845s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
37846s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
37847s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
37848s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
37849s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
37850s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
37851s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
37852s,@UNICODE@,$UNICODE,;t t
37853s,@BUILD@,$BUILD,;t t
37854s,@DEBUG_INFO@,$DEBUG_INFO,;t t
37855s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
37856s,@SHARED@,$SHARED,;t t
37857s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
37858s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
37859s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
37860s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
37861s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
37862s,@SET_MAKE@,$SET_MAKE,;t t
37863s,@MAKE_SET@,$MAKE_SET,;t t
37864s,@ac_ct_AR@,$ac_ct_AR,;t t
37865s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
37866s,@NM@,$NM,;t t
37867s,@ac_ct_NM@,$ac_ct_NM,;t t
37868s,@INSTALL_DIR@,$INSTALL_DIR,;t t
37869s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
37870s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
37871s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
37872s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
37873s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
37874s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
37875s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
37876s,@SO_SUFFIX@,$SO_SUFFIX,;t t
37877s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
37878s,@LIBPREFIX@,$LIBPREFIX,;t t
37879s,@DLLPREFIX@,$DLLPREFIX,;t t
37880s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
37881s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
37882s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
37883s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
37884s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
37885s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
37886s,@PIC_FLAG@,$PIC_FLAG,;t t
37887s,@USE_SOVERSION@,$USE_SOVERSION,;t t
37888s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
37889s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
37890s,@USE_MACVERSION@,$USE_MACVERSION,;t t
37891s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
37892s,@SONAME_FLAG@,$SONAME_FLAG,;t t
37893s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
37894s,@GCC_PCH@,$GCC_PCH,;t t
37895s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
37896s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
37897s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
37898s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
37899s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
37900s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
37901s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
37902s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
37903s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
37904s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
37905s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
37906s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
37907s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
37908s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
37909s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
37910s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
37911s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
37912s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
37913s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1,;t t
37914s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
37915s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
37916s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
37917s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
37918s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1,;t t
37919s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
37920s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
37921s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
37922s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
37923s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
37924s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
37925s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
37926s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
37927s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
37928s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
37929s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
37930s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
37931s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
37932s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
37933s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
37934s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
37935s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
37936s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
37937s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
37938s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
37939s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
37940s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
37941s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
37942s,@COND_SHARED_0@,$COND_SHARED_0,;t t
37943s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
37944s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
37945s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
37946s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
37947s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
37948s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
37949s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
37950s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
37951s,@COND_SHARED_1@,$COND_SHARED_1,;t t
37952s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
37953s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
37954s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
37955s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
37956s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
37957s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
37958s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
37959s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
37960s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
37961s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
37962s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
37963s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
37964s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
37965s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
37966s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
37967s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
37968s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
37969s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
37970s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
37971s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
37972s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
37973s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
37974s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
37975s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
37976s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
37977s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
37978s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
37979s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
37980s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
37981s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
37982s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
37983s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
37984s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
37985s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
37986s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
37987s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
37988s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
37989s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
37990s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
37991s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
37992s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
37993s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
37994s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
37995s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
37996s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
37997s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
37998s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
37999s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
38000s,@PATH_IFS@,$PATH_IFS,;t t
38001s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
38002s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
38003s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
38004s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
38005s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
38006s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
38007s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
38008s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
38009s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
38010s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
38011s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
38012s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
38013s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
38014s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
38015s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
38016s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
38017s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
38018s,@WX_ALL@,$WX_ALL,;t t
38019s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
38020s,@SHARED_LD@,$SHARED_LD,;t t
38021s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
38022s,@STATIC_FLAG@,$STATIC_FLAG,;t t
38023s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
38024s,@USE_GUI@,$USE_GUI,;t t
38025s,@AFMINSTALL@,$AFMINSTALL,;t t
38026s,@WIN32INSTALL@,$WIN32INSTALL,;t t
38027s,@TOOLKIT@,$TOOLKIT,;t t
38028s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
38029s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
38030s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
38031s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
38032s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
38033s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
38034s,@cross_compiling@,$cross_compiling,;t t
38035s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
38036s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
38037s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
38038s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
38039s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
38040s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
38041s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
38042s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
38043s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
38044s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
38045s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
38046s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
38047s,@ALL_HEADERS@,$ALL_HEADERS,;t t
38048s,@ALL_SOURCES@,$ALL_SOURCES,;t t
38049s,@GUIDIST@,$GUIDIST,;t t
38050s,@PORT_FILES@,$PORT_FILES,;t t
38051s,@DISTDIR@,$DISTDIR,;t t
38052s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
38053s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
38054s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
38055s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
38056s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
38057s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
38058s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
38059s,@RESFLAGS@,$RESFLAGS,;t t
38060s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
38061s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
38062s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
38063s,@LIBWXMACRES@,$LIBWXMACRES,;t t
38064s,@MACRESCOMP@,$MACRESCOMP,;t t
38065s,@MACSETFILE@,$MACSETFILE,;t t
38066s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
38067s,@GCC@,$GCC,;t t
38068s,@DLLTOOL@,$DLLTOOL,;t t
38069s,@AS@,$AS,;t t
38070s,@LD@,$LD,;t t
38071s,@MAKEINFO@,$MAKEINFO,;t t
38072s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
38073s,@LIBOBJS@,$LIBOBJS,;t t
38074s,@LTLIBOBJS@,$LTLIBOBJS,;t t
38075CEOF
38076
38077_ACEOF
38078
38079 cat >>$CONFIG_STATUS <<\_ACEOF
38080 # Split the substitutions into bite-sized pieces for seds with
38081 # small command number limits, like on Digital OSF/1 and HP-UX.
38082 ac_max_sed_lines=48
38083 ac_sed_frag=1 # Number of current file.
38084 ac_beg=1 # First line for current file.
38085 ac_end=$ac_max_sed_lines # Line after last line for current file.
38086 ac_more_lines=:
38087 ac_sed_cmds=
38088 while $ac_more_lines; do
38089 if test $ac_beg -gt 1; then
38090 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
38091 else
38092 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
38093 fi
38094 if test ! -s $tmp/subs.frag; then
38095 ac_more_lines=false
38096 else
38097 # The purpose of the label and of the branching condition is to
38098 # speed up the sed processing (if there are no `@' at all, there
38099 # is no need to browse any of the substitutions).
38100 # These are the two extra sed commands mentioned above.
38101 (echo ':t
38102 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
38103 if test -z "$ac_sed_cmds"; then
38104 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
38105 else
38106 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
38107 fi
38108 ac_sed_frag=`expr $ac_sed_frag + 1`
38109 ac_beg=$ac_end
38110 ac_end=`expr $ac_end + $ac_max_sed_lines`
38111 fi
38112 done
38113 if test -z "$ac_sed_cmds"; then
38114 ac_sed_cmds=cat
38115 fi
38116fi # test -n "$CONFIG_FILES"
38117
38118_ACEOF
38119cat >>$CONFIG_STATUS <<\_ACEOF
38120for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
38121 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
38122 case $ac_file in
38123 - | *:- | *:-:* ) # input from stdin
38124 cat >$tmp/stdin
38125 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
38126 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
38127 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
38128 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
38129 * ) ac_file_in=$ac_file.in ;;
38130 esac
38131
38132 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
38133 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
38134$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38135 X"$ac_file" : 'X\(//\)[^/]' \| \
38136 X"$ac_file" : 'X\(//\)$' \| \
38137 X"$ac_file" : 'X\(/\)' \| \
38138 . : '\(.\)' 2>/dev/null ||
38139echo X"$ac_file" |
38140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38141 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38142 /^X\(\/\/\)$/{ s//\1/; q; }
38143 /^X\(\/\).*/{ s//\1/; q; }
38144 s/.*/./; q'`
38145 { if $as_mkdir_p; then
38146 mkdir -p "$ac_dir"
38147 else
38148 as_dir="$ac_dir"
38149 as_dirs=
38150 while test ! -d "$as_dir"; do
38151 as_dirs="$as_dir $as_dirs"
38152 as_dir=`(dirname "$as_dir") 2>/dev/null ||
38153$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38154 X"$as_dir" : 'X\(//\)[^/]' \| \
38155 X"$as_dir" : 'X\(//\)$' \| \
38156 X"$as_dir" : 'X\(/\)' \| \
38157 . : '\(.\)' 2>/dev/null ||
38158echo X"$as_dir" |
38159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38160 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38161 /^X\(\/\/\)$/{ s//\1/; q; }
38162 /^X\(\/\).*/{ s//\1/; q; }
38163 s/.*/./; q'`
38164 done
38165 test ! -n "$as_dirs" || mkdir $as_dirs
38166 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
38167echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
38168 { (exit 1); exit 1; }; }; }
38169
38170 ac_builddir=.
38171
38172if test "$ac_dir" != .; then
38173 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
38174 # A "../" for each directory in $ac_dir_suffix.
38175 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
38176else
38177 ac_dir_suffix= ac_top_builddir=
38178fi
38179
38180case $srcdir in
38181 .) # No --srcdir option. We are building in place.
38182 ac_srcdir=.
38183 if test -z "$ac_top_builddir"; then
38184 ac_top_srcdir=.
38185 else
38186 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
38187 fi ;;
38188 [\\/]* | ?:[\\/]* ) # Absolute path.
38189 ac_srcdir=$srcdir$ac_dir_suffix;
38190 ac_top_srcdir=$srcdir ;;
38191 *) # Relative path.
38192 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
38193 ac_top_srcdir=$ac_top_builddir$srcdir ;;
38194esac
38195# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
38196# absolute.
38197ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
38198ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
38199ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
38200ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
38201
38202
38203 case $INSTALL in
38204 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
38205 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
38206 esac
38207
38208 if test x"$ac_file" != x-; then
38209 { echo "$as_me:$LINENO: creating $ac_file" >&5
38210echo "$as_me: creating $ac_file" >&6;}
38211 rm -f "$ac_file"
38212 fi
38213 # Let's still pretend it is `configure' which instantiates (i.e., don't
38214 # use $as_me), people would be surprised to read:
38215 # /* config.h. Generated by config.status. */
38216 if test x"$ac_file" = x-; then
38217 configure_input=
38218 else
38219 configure_input="$ac_file. "
38220 fi
38221 configure_input=$configure_input"Generated from `echo $ac_file_in |
38222 sed 's,.*/,,'` by configure."
38223
38224 # First look for the input files in the build tree, otherwise in the
38225 # src tree.
38226 ac_file_inputs=`IFS=:
38227 for f in $ac_file_in; do
38228 case $f in
38229 -) echo $tmp/stdin ;;
38230 [\\/$]*)
38231 # Absolute (can't be DOS-style, as IFS=:)
38232 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
38233echo "$as_me: error: cannot find input file: $f" >&2;}
38234 { (exit 1); exit 1; }; }
38235 echo $f;;
38236 *) # Relative
38237 if test -f "$f"; then
38238 # Build tree
38239 echo $f
38240 elif test -f "$srcdir/$f"; then
38241 # Source tree
38242 echo $srcdir/$f
38243 else
38244 # /dev/null tree
38245 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
38246echo "$as_me: error: cannot find input file: $f" >&2;}
38247 { (exit 1); exit 1; }; }
38248 fi;;
38249 esac
38250 done` || { (exit 1); exit 1; }
38251_ACEOF
38252cat >>$CONFIG_STATUS <<_ACEOF
38253 sed "$ac_vpsub
38254$extrasub
38255_ACEOF
38256cat >>$CONFIG_STATUS <<\_ACEOF
38257:t
38258/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
38259s,@configure_input@,$configure_input,;t t
38260s,@srcdir@,$ac_srcdir,;t t
38261s,@abs_srcdir@,$ac_abs_srcdir,;t t
38262s,@top_srcdir@,$ac_top_srcdir,;t t
38263s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
38264s,@builddir@,$ac_builddir,;t t
38265s,@abs_builddir@,$ac_abs_builddir,;t t
38266s,@top_builddir@,$ac_top_builddir,;t t
38267s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
38268s,@INSTALL@,$ac_INSTALL,;t t
38269" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
38270 rm -f $tmp/stdin
38271 if test x"$ac_file" != x-; then
38272 mv $tmp/out $ac_file
38273 else
38274 cat $tmp/out
38275 rm -f $tmp/out
38276 fi
38277
38278done
38279_ACEOF
38280cat >>$CONFIG_STATUS <<\_ACEOF
38281
38282#
38283# CONFIG_HEADER section.
38284#
38285
38286# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
38287# NAME is the cpp macro being defined and VALUE is the value it is being given.
38288#
38289# ac_d sets the value in "#define NAME VALUE" lines.
38290ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
38291ac_dB='[ ].*$,\1#\2'
38292ac_dC=' '
38293ac_dD=',;t'
38294# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
38295ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
38296ac_uB='$,\1#\2define\3'
38297ac_uC=' '
38298ac_uD=',;t'
38299
38300for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
38301 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
38302 case $ac_file in
38303 - | *:- | *:-:* ) # input from stdin
38304 cat >$tmp/stdin
38305 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
38306 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
38307 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
38308 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
38309 * ) ac_file_in=$ac_file.in ;;
38310 esac
38311
38312 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
38313echo "$as_me: creating $ac_file" >&6;}
38314
38315 # First look for the input files in the build tree, otherwise in the
38316 # src tree.
38317 ac_file_inputs=`IFS=:
38318 for f in $ac_file_in; do
38319 case $f in
38320 -) echo $tmp/stdin ;;
38321 [\\/$]*)
38322 # Absolute (can't be DOS-style, as IFS=:)
38323 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
38324echo "$as_me: error: cannot find input file: $f" >&2;}
38325 { (exit 1); exit 1; }; }
38326 echo $f;;
38327 *) # Relative
38328 if test -f "$f"; then
38329 # Build tree
38330 echo $f
38331 elif test -f "$srcdir/$f"; then
38332 # Source tree
38333 echo $srcdir/$f
38334 else
38335 # /dev/null tree
38336 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
38337echo "$as_me: error: cannot find input file: $f" >&2;}
38338 { (exit 1); exit 1; }; }
38339 fi;;
38340 esac
38341 done` || { (exit 1); exit 1; }
38342 # Remove the trailing spaces.
38343 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
38344
38345_ACEOF
38346
38347# Transform confdefs.h into two sed scripts, `conftest.defines' and
38348# `conftest.undefs', that substitutes the proper values into
38349# config.h.in to produce config.h. The first handles `#define'
38350# templates, and the second `#undef' templates.
38351# And first: Protect against being on the right side of a sed subst in
38352# config.status. Protect against being in an unquoted here document
38353# in config.status.
38354rm -f conftest.defines conftest.undefs
38355# Using a here document instead of a string reduces the quoting nightmare.
38356# Putting comments in sed scripts is not portable.
38357#
38358# `end' is used to avoid that the second main sed command (meant for
38359# 0-ary CPP macros) applies to n-ary macro definitions.
38360# See the Autoconf documentation for `clear'.
38361cat >confdef2sed.sed <<\_ACEOF
38362s/[\\&,]/\\&/g
38363s,[\\$`],\\&,g
38364t clear
38365: clear
38366s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
38367t end
38368s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
38369: end
38370_ACEOF
38371# If some macros were called several times there might be several times
38372# the same #defines, which is useless. Nevertheless, we may not want to
38373# sort them, since we want the *last* AC-DEFINE to be honored.
38374uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
38375sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
38376rm -f confdef2sed.sed
38377
38378# This sed command replaces #undef with comments. This is necessary, for
38379# example, in the case of _POSIX_SOURCE, which is predefined and required
38380# on some systems where configure will not decide to define it.
38381cat >>conftest.undefs <<\_ACEOF
38382s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
38383_ACEOF
38384
38385# Break up conftest.defines because some shells have a limit on the size
38386# of here documents, and old seds have small limits too (100 cmds).
38387echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
38388echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
38389echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
38390echo ' :' >>$CONFIG_STATUS
38391rm -f conftest.tail
38392while grep . conftest.defines >/dev/null
38393do
38394 # Write a limited-size here document to $tmp/defines.sed.
38395 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
38396 # Speed up: don't consider the non `#define' lines.
38397 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
38398 # Work around the forget-to-reset-the-flag bug.
38399 echo 't clr' >>$CONFIG_STATUS
38400 echo ': clr' >>$CONFIG_STATUS
38401 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
38402 echo 'CEOF
38403 sed -f $tmp/defines.sed $tmp/in >$tmp/out
38404 rm -f $tmp/in
38405 mv $tmp/out $tmp/in
38406' >>$CONFIG_STATUS
38407 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
38408 rm -f conftest.defines
38409 mv conftest.tail conftest.defines
38410done
38411rm -f conftest.defines
38412echo ' fi # grep' >>$CONFIG_STATUS
38413echo >>$CONFIG_STATUS
38414
38415# Break up conftest.undefs because some shells have a limit on the size
38416# of here documents, and old seds have small limits too (100 cmds).
38417echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
38418rm -f conftest.tail
38419while grep . conftest.undefs >/dev/null
38420do
38421 # Write a limited-size here document to $tmp/undefs.sed.
38422 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
38423 # Speed up: don't consider the non `#undef'
38424 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
38425 # Work around the forget-to-reset-the-flag bug.
38426 echo 't clr' >>$CONFIG_STATUS
38427 echo ': clr' >>$CONFIG_STATUS
38428 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
38429 echo 'CEOF
38430 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
38431 rm -f $tmp/in
38432 mv $tmp/out $tmp/in
38433' >>$CONFIG_STATUS
38434 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
38435 rm -f conftest.undefs
38436 mv conftest.tail conftest.undefs
38437done
38438rm -f conftest.undefs
38439
38440cat >>$CONFIG_STATUS <<\_ACEOF
38441 # Let's still pretend it is `configure' which instantiates (i.e., don't
38442 # use $as_me), people would be surprised to read:
38443 # /* config.h. Generated by config.status. */
38444 if test x"$ac_file" = x-; then
38445 echo "/* Generated by configure. */" >$tmp/config.h
38446 else
38447 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
38448 fi
38449 cat $tmp/in >>$tmp/config.h
38450 rm -f $tmp/in
38451 if test x"$ac_file" != x-; then
38452 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
38453 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
38454echo "$as_me: $ac_file is unchanged" >&6;}
38455 else
38456 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
38457$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38458 X"$ac_file" : 'X\(//\)[^/]' \| \
38459 X"$ac_file" : 'X\(//\)$' \| \
38460 X"$ac_file" : 'X\(/\)' \| \
38461 . : '\(.\)' 2>/dev/null ||
38462echo X"$ac_file" |
38463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38464 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38465 /^X\(\/\/\)$/{ s//\1/; q; }
38466 /^X\(\/\).*/{ s//\1/; q; }
38467 s/.*/./; q'`
38468 { if $as_mkdir_p; then
38469 mkdir -p "$ac_dir"
38470 else
38471 as_dir="$ac_dir"
38472 as_dirs=
38473 while test ! -d "$as_dir"; do
38474 as_dirs="$as_dir $as_dirs"
38475 as_dir=`(dirname "$as_dir") 2>/dev/null ||
38476$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38477 X"$as_dir" : 'X\(//\)[^/]' \| \
38478 X"$as_dir" : 'X\(//\)$' \| \
38479 X"$as_dir" : 'X\(/\)' \| \
38480 . : '\(.\)' 2>/dev/null ||
38481echo X"$as_dir" |
38482 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38483 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38484 /^X\(\/\/\)$/{ s//\1/; q; }
38485 /^X\(\/\).*/{ s//\1/; q; }
38486 s/.*/./; q'`
38487 done
38488 test ! -n "$as_dirs" || mkdir $as_dirs
38489 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
38490echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
38491 { (exit 1); exit 1; }; }; }
38492
38493 rm -f $ac_file
38494 mv $tmp/config.h $ac_file
38495 fi
38496 else
38497 cat $tmp/config.h
38498 rm -f $tmp/config.h
38499 fi
38500done
38501_ACEOF
38502cat >>$CONFIG_STATUS <<\_ACEOF
38503
38504#
38505# CONFIG_COMMANDS section.
38506#
38507for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
38508 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
38509 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
38510 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
38511$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38512 X"$ac_dest" : 'X\(//\)[^/]' \| \
38513 X"$ac_dest" : 'X\(//\)$' \| \
38514 X"$ac_dest" : 'X\(/\)' \| \
38515 . : '\(.\)' 2>/dev/null ||
38516echo X"$ac_dest" |
38517 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38518 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38519 /^X\(\/\/\)$/{ s//\1/; q; }
38520 /^X\(\/\).*/{ s//\1/; q; }
38521 s/.*/./; q'`
38522 ac_builddir=.
38523
38524if test "$ac_dir" != .; then
38525 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
38526 # A "../" for each directory in $ac_dir_suffix.
38527 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
38528else
38529 ac_dir_suffix= ac_top_builddir=
38530fi
38531
38532case $srcdir in
38533 .) # No --srcdir option. We are building in place.
38534 ac_srcdir=.
38535 if test -z "$ac_top_builddir"; then
38536 ac_top_srcdir=.
38537 else
38538 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
38539 fi ;;
38540 [\\/]* | ?:[\\/]* ) # Absolute path.
38541 ac_srcdir=$srcdir$ac_dir_suffix;
38542 ac_top_srcdir=$srcdir ;;
38543 *) # Relative path.
38544 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
38545 ac_top_srcdir=$ac_top_builddir$srcdir ;;
38546esac
38547# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
38548# absolute.
38549ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
38550ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
38551ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
38552ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
38553
38554
38555 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
38556echo "$as_me: executing $ac_dest commands" >&6;}
38557 case $ac_dest in
38558 default )
38559 if test ! -h wx-config; then
38560 chmod +x wx-config
38561 mv wx-config wx${TOOLCHAIN_NAME}-config
38562 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
38563 fi
38564
38565 if test ! -d lib; then
38566 mkdir lib
38567 fi
38568 if test ! -d lib/wx; then
38569 mkdir lib/wx
38570 fi
38571 if test ! -d lib/wx/include; then
38572 mkdir lib/wx/include
38573 fi
38574 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
38575 mkdir lib/wx/include/${TOOLCHAIN_NAME}
38576 fi
38577 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
38578 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
38579 fi
38580 if test -f setup.h; then
38581 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
38582 fi
38583 ;;
38584 esac
38585done
38586_ACEOF
38587
38588cat >>$CONFIG_STATUS <<\_ACEOF
38589
38590{ (exit 0); exit 0; }
38591_ACEOF
38592chmod +x $CONFIG_STATUS
38593ac_clean_files=$ac_clean_files_save
38594
38595
38596# configure is writing to config.log, and then calls config.status.
38597# config.status does its own redirection, appending to config.log.
38598# Unfortunately, on DOS this fails, as config.log is still kept open
38599# by configure, so config.status won't be able to write to it; its
38600# output is simply discarded. So we exec the FD to /dev/null,
38601# effectively closing config.log, so it can be properly (re)opened and
38602# appended to by config.status. When coming back to configure, we
38603# need to make the FD available again.
38604if test "$no_create" != yes; then
38605 ac_cs_success=:
38606 ac_config_status_args=
38607 test "$silent" = yes &&
38608 ac_config_status_args="$ac_config_status_args --quiet"
38609 exec 5>/dev/null
38610 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
38611 exec 5>>config.log
38612 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
38613 # would make configure fail if this is the last instruction.
38614 $ac_cs_success || { (exit 1); exit 1; }
38615fi
38616
38617#
38618# CONFIG_SUBDIRS section.
38619#
38620if test "$no_recursion" != yes; then
38621
38622 # Remove --cache-file and --srcdir arguments so they do not pile up.
38623 ac_sub_configure_args=
38624 ac_prev=
38625 for ac_arg in $ac_configure_args; do
38626 if test -n "$ac_prev"; then
38627 ac_prev=
38628 continue
38629 fi
38630 case $ac_arg in
38631 -cache-file | --cache-file | --cache-fil | --cache-fi \
38632 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
38633 ac_prev=cache_file ;;
38634 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
38635 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
38636 | --c=*)
38637 ;;
38638 --config-cache | -C)
38639 ;;
38640 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
38641 ac_prev=srcdir ;;
38642 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
38643 ;;
38644 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
38645 ac_prev=prefix ;;
38646 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
38647 ;;
38648 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
38649 esac
38650 done
38651
38652 # Always prepend --prefix to ensure using the same prefix
38653 # in subdir configurations.
38654 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
38655
38656 ac_popdir=`pwd`
38657 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
38658
38659 # Do not complain, so a configure script can configure whichever
38660 # parts of a large source tree are present.
38661 test -d $srcdir/$ac_dir || continue
38662
38663 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
38664echo "$as_me: configuring in $ac_dir" >&6;}
38665 { if $as_mkdir_p; then
38666 mkdir -p "$ac_dir"
38667 else
38668 as_dir="$ac_dir"
38669 as_dirs=
38670 while test ! -d "$as_dir"; do
38671 as_dirs="$as_dir $as_dirs"
38672 as_dir=`(dirname "$as_dir") 2>/dev/null ||
38673$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38674 X"$as_dir" : 'X\(//\)[^/]' \| \
38675 X"$as_dir" : 'X\(//\)$' \| \
38676 X"$as_dir" : 'X\(/\)' \| \
38677 . : '\(.\)' 2>/dev/null ||
38678echo X"$as_dir" |
38679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38681 /^X\(\/\/\)$/{ s//\1/; q; }
38682 /^X\(\/\).*/{ s//\1/; q; }
38683 s/.*/./; q'`
38684 done
38685 test ! -n "$as_dirs" || mkdir $as_dirs
38686 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
38687echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
38688 { (exit 1); exit 1; }; }; }
38689
38690 ac_builddir=.
38691
38692if test "$ac_dir" != .; then
38693 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
38694 # A "../" for each directory in $ac_dir_suffix.
38695 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
38696else
38697 ac_dir_suffix= ac_top_builddir=
38698fi
38699
38700case $srcdir in
38701 .) # No --srcdir option. We are building in place.
38702 ac_srcdir=.
38703 if test -z "$ac_top_builddir"; then
38704 ac_top_srcdir=.
38705 else
38706 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
38707 fi ;;
38708 [\\/]* | ?:[\\/]* ) # Absolute path.
38709 ac_srcdir=$srcdir$ac_dir_suffix;
38710 ac_top_srcdir=$srcdir ;;
38711 *) # Relative path.
38712 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
38713 ac_top_srcdir=$ac_top_builddir$srcdir ;;
38714esac
38715# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
38716# absolute.
38717ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
38718ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
38719ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
38720ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
38721
38722
38723 cd $ac_dir
38724
38725 # Check for guested configure; otherwise get Cygnus style configure.
38726 if test -f $ac_srcdir/configure.gnu; then
38727 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
38728 elif test -f $ac_srcdir/configure; then
38729 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
38730 elif test -f $ac_srcdir/configure.in; then
38731 ac_sub_configure=$ac_configure
38732 else
38733 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
38734echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
38735 ac_sub_configure=
38736 fi
38737
38738 # The recursion is here.
38739 if test -n "$ac_sub_configure"; then
38740 # Make the cache file name correct relative to the subdirectory.
38741 case $cache_file in
38742 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
38743 *) # Relative path.
38744 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
38745 esac
38746
38747 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
38748echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
38749 # The eval makes quoting arguments work.
38750 eval $ac_sub_configure $ac_sub_configure_args \
38751 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
38752 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
38753echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
38754 { (exit 1); exit 1; }; }
38755 fi
38756
38757 cd $ac_popdir
38758 done
38759fi
38760
38761
38762echo
38763echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
38764echo ""
38765echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
38766echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
38767
38768echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
38769echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
38770echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
38771
38772echo " What level of wxWindows compatibility should be enabled?"
38773echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
38774echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
38775
38776echo " Which libraries should wxWindows use?"
38777echo " jpeg ${wxUSE_LIBJPEG-none}"
38778echo " png ${wxUSE_LIBPNG-none}"
38779echo " regex ${wxUSE_REGEX}"
38780echo " tiff ${wxUSE_LIBTIFF-none}"
38781if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
38782echo " xpm ${wxUSE_LIBXPM-none}"
38783fi
38784echo " zlib ${wxUSE_ZLIB}"
38785echo " odbc ${wxUSE_ODBC}"
38786echo " expat ${wxUSE_EXPAT}"
38787echo " libmspack ${wxUSE_LIBMSPACK}"
38788echo " sdl ${wxUSE_LIBSDL}"
38789
38790echo ""
38791