]> git.saurik.com Git - wxWidgets.git/blame_incremental - configure
define wxFONTENCODING_UNICODE as UTF16/32 depending on the platform
[wxWidgets.git] / configure
... / ...
CommitLineData
1#! /bin/sh
2# From configure.in Id: configure.in.
3# Guess values for system-dependent variables and create Makefiles.
4# Generated by GNU Autoconf 2.57 for wxWindows 2.5.1.
5#
6# Report bugs to <wx-dev@lists.wxwindows.org>.
7#
8# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9# Free Software Foundation, Inc.
10# This configure script is free software; the Free Software Foundation
11# gives unlimited permission to copy, distribute and modify it.
12## --------------------- ##
13## M4sh Initialization. ##
14## --------------------- ##
15
16# Be Bourne compatible
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 set -o posix
25fi
26
27# Support unset when possible.
28if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
29 as_unset=unset
30else
31 as_unset=false
32fi
33
34
35# Work around bugs in pre-3.0 UWIN ksh.
36$as_unset ENV MAIL MAILPATH
37PS1='$ '
38PS2='> '
39PS4='+ '
40
41# NLS nuisances.
42for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46do
47 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52done
53
54# Required to use basename.
55if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57else
58 as_expr=false
59fi
60
61if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63else
64 as_basename=false
65fi
66
67
68# Name of the executable.
69as_me=`$as_basename "$0" ||
70$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81# PATH needs CR, and LINENO needs CR and PATH.
82# Avoid depending upon Character Ranges.
83as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86as_cr_digits='0123456789'
87as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89# The user is always right.
90if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113for as_dir in $PATH
114do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155done
156;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187}
188
189
190case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195esac
196
197if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199else
200 as_expr=false
201fi
202
203rm -f conf$$ conf$$.exe conf$$.file
204echo >conf$$.file
205if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216else
217 as_ln_s='cp -p'
218fi
219rm -f conf$$ conf$$.exe conf$$.file
220
221if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223else
224 as_mkdir_p=false
225fi
226
227as_executable_p="test -f"
228
229# Sed expression to map a string onto a valid CPP name.
230as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231
232# Sed expression to map a string onto a valid variable name.
233as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234
235
236# IFS
237# We need space, tab and new line, in precisely that order.
238as_nl='
239'
240IFS=" $as_nl"
241
242# CDPATH.
243$as_unset CDPATH
244
245
246# Name of the host.
247# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248# so uname gets run too.
249ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251exec 6>&1
252
253#
254# Initializations.
255#
256ac_default_prefix=/usr/local
257ac_config_libobj_dir=.
258cross_compiling=no
259subdirs=
260MFLAGS=
261MAKEFLAGS=
262SHELL=${CONFIG_SHELL-/bin/sh}
263
264# Maximum number of lines to put in a shell here document.
265# This variable seems obsolete. It should probably be removed, and
266# only ac_max_sed_lines should be used.
267: ${ac_max_here_lines=38}
268
269# Identity of this package.
270PACKAGE_NAME='wxWindows'
271PACKAGE_TARNAME='wxwindows'
272PACKAGE_VERSION='2.5.1'
273PACKAGE_STRING='wxWindows 2.5.1'
274PACKAGE_BUGREPORT='wx-dev@lists.wxwindows.org'
275
276ac_unique_file="wx-config.in"
277# Factoring default headers for most tests.
278ac_includes_default="\
279#include <stdio.h>
280#if HAVE_SYS_TYPES_H
281# include <sys/types.h>
282#endif
283#if HAVE_SYS_STAT_H
284# include <sys/stat.h>
285#endif
286#if STDC_HEADERS
287# include <stdlib.h>
288# include <stddef.h>
289#else
290# if HAVE_STDLIB_H
291# include <stdlib.h>
292# endif
293#endif
294#if HAVE_STRING_H
295# if !STDC_HEADERS && HAVE_MEMORY_H
296# include <memory.h>
297# endif
298# include <string.h>
299#endif
300#if HAVE_STRINGS_H
301# include <strings.h>
302#endif
303#if HAVE_INTTYPES_H
304# include <inttypes.h>
305#else
306# if HAVE_STDINT_H
307# include <stdint.h>
308# endif
309#endif
310#if HAVE_UNISTD_H
311# include <unistd.h>
312#endif"
313
314ac_subdirs_all="$ac_subdirs_all src/expat"
315ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_XML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE LIBPREFIX DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY LIBOBJS LTLIBOBJS'
316ac_subst_files=''
317
318# Initialize some variables set by options.
319ac_init_help=
320ac_init_version=false
321# The variables have the same names as the options, with
322# dashes changed to underlines.
323cache_file=/dev/null
324exec_prefix=NONE
325no_create=
326no_recursion=
327prefix=NONE
328program_prefix=NONE
329program_suffix=NONE
330program_transform_name=s,x,x,
331silent=
332site=
333srcdir=
334verbose=
335x_includes=NONE
336x_libraries=NONE
337
338# Installation directory options.
339# These are left unexpanded so users can "make install exec_prefix=/foo"
340# and all the variables that are supposed to be based on exec_prefix
341# by default will actually change.
342# Use braces instead of parens because sh, perl, etc. also accept them.
343bindir='${exec_prefix}/bin'
344sbindir='${exec_prefix}/sbin'
345libexecdir='${exec_prefix}/libexec'
346datadir='${prefix}/share'
347sysconfdir='${prefix}/etc'
348sharedstatedir='${prefix}/com'
349localstatedir='${prefix}/var'
350libdir='${exec_prefix}/lib'
351includedir='${prefix}/include'
352oldincludedir='/usr/include'
353infodir='${prefix}/info'
354mandir='${prefix}/man'
355
356ac_prev=
357for ac_option
358do
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
362 ac_prev=
363 continue
364 fi
365
366 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367
368 # Accept the important Cygnus configure options, so we can diagnose typos.
369
370 case $ac_option in
371
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 ac_prev=bindir ;;
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 bindir=$ac_optarg ;;
376
377 -build | --build | --buil | --bui | --bu)
378 ac_prev=build_alias ;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias=$ac_optarg ;;
381
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev=cache_file ;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file=$ac_optarg ;;
388
389 --config-cache | -C)
390 cache_file=config.cache ;;
391
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393 ac_prev=datadir ;;
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395 | --da=*)
396 datadir=$ac_optarg ;;
397
398 -disable-* | --disable-*)
399 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
406
407 -enable-* | --enable-*)
408 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414 case $ac_option in
415 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 *) ac_optarg=yes ;;
417 esac
418 eval "enable_$ac_feature='$ac_optarg'" ;;
419
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev=exec_prefix ;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix=$ac_optarg ;;
428
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
431 with_gas=yes ;;
432
433 -help | --help | --hel | --he | -h)
434 ac_init_help=long ;;
435 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
436 ac_init_help=recursive ;;
437 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
438 ac_init_help=short ;;
439
440 -host | --host | --hos | --ho)
441 ac_prev=host_alias ;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias=$ac_optarg ;;
444
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev=includedir ;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir=$ac_optarg ;;
451
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
453 ac_prev=infodir ;;
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir=$ac_optarg ;;
456
457 -libdir | --libdir | --libdi | --libd)
458 ac_prev=libdir ;;
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
460 libdir=$ac_optarg ;;
461
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev=libexecdir ;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir=$ac_optarg ;;
468
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev=localstatedir ;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir=$ac_optarg ;;
477
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 ac_prev=mandir ;;
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 mandir=$ac_optarg ;;
482
483 -nfp | --nfp | --nf)
484 # Obsolete; use --without-fp.
485 with_fp=no ;;
486
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
489 no_create=yes ;;
490
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493 no_recursion=yes ;;
494
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev=oldincludedir ;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir=$ac_optarg ;;
503
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505 ac_prev=prefix ;;
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507 prefix=$ac_optarg ;;
508
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev=program_prefix ;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix=$ac_optarg ;;
515
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev=program_suffix ;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix=$ac_optarg ;;
522
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev=program_transform_name ;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name=$ac_optarg ;;
539
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
542 silent=yes ;;
543
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545 ac_prev=sbindir ;;
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547 | --sbi=* | --sb=*)
548 sbindir=$ac_optarg ;;
549
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
553 | --sha | --sh)
554 ac_prev=sharedstatedir ;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558 | --sha=* | --sh=*)
559 sharedstatedir=$ac_optarg ;;
560
561 -site | --site | --sit)
562 ac_prev=site ;;
563 -site=* | --site=* | --sit=*)
564 site=$ac_optarg ;;
565
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567 ac_prev=srcdir ;;
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569 srcdir=$ac_optarg ;;
570
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev=sysconfdir ;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir=$ac_optarg ;;
577
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev=target_alias ;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias=$ac_optarg ;;
582
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
584 verbose=yes ;;
585
586 -version | --version | --versio | --versi | --vers | -V)
587 ac_init_version=: ;;
588
589 -with-* | --with-*)
590 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package=`echo $ac_package| sed 's/-/_/g'`
596 case $ac_option in
597 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 *) ac_optarg=yes ;;
599 esac
600 eval "with_$ac_package='$ac_optarg'" ;;
601
602 -without-* | --without-*)
603 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
610
611 --x)
612 # Obsolete; use --with-x.
613 with_x=yes ;;
614
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev=x_includes ;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes=$ac_optarg ;;
621
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev=x_libraries ;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries=$ac_optarg ;;
628
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
632 ;;
633
634 *=*)
635 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
642 export $ac_envvar ;;
643
644 *)
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
650 ;;
651
652 esac
653done
654
655if test -n "$ac_prev"; then
656 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
659fi
660
661# Be sure to have absolute paths.
662for ac_var in exec_prefix prefix
663do
664 eval ac_val=$`echo $ac_var`
665 case $ac_val in
666 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
669 esac
670done
671
672# Be sure to have absolute paths.
673for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
675do
676 eval ac_val=$`echo $ac_var`
677 case $ac_val in
678 [\\/$]* | ?:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
681 esac
682done
683
684# There might be people who depend on the old broken behavior: `$host'
685# used to hold the argument of --host etc.
686# FIXME: To remove some day.
687build=$build_alias
688host=$host_alias
689target=$target_alias
690
691# FIXME: To remove some day.
692if test "x$host_alias" != x; then
693 if test "x$build_alias" = x; then
694 cross_compiling=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
698 cross_compiling=yes
699 fi
700fi
701
702ac_tool_prefix=
703test -n "$host_alias" && ac_tool_prefix=$host_alias-
704
705test "$silent" = yes && exec 6>/dev/null
706
707
708# Find the source files, if location was not specified.
709if test -z "$srcdir"; then
710 ac_srcdir_defaulted=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir=`(dirname "$0") 2>/dev/null ||
713$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
718echo X"$0" |
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
723 s/.*/./; q'`
724 srcdir=$ac_confdir
725 if test ! -r $srcdir/$ac_unique_file; then
726 srcdir=..
727 fi
728else
729 ac_srcdir_defaulted=no
730fi
731if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
735 else
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
738 fi
739fi
740(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744ac_env_build_alias_set=${build_alias+set}
745ac_env_build_alias_value=$build_alias
746ac_cv_env_build_alias_set=${build_alias+set}
747ac_cv_env_build_alias_value=$build_alias
748ac_env_host_alias_set=${host_alias+set}
749ac_env_host_alias_value=$host_alias
750ac_cv_env_host_alias_set=${host_alias+set}
751ac_cv_env_host_alias_value=$host_alias
752ac_env_target_alias_set=${target_alias+set}
753ac_env_target_alias_value=$target_alias
754ac_cv_env_target_alias_set=${target_alias+set}
755ac_cv_env_target_alias_value=$target_alias
756ac_env_CC_set=${CC+set}
757ac_env_CC_value=$CC
758ac_cv_env_CC_set=${CC+set}
759ac_cv_env_CC_value=$CC
760ac_env_CFLAGS_set=${CFLAGS+set}
761ac_env_CFLAGS_value=$CFLAGS
762ac_cv_env_CFLAGS_set=${CFLAGS+set}
763ac_cv_env_CFLAGS_value=$CFLAGS
764ac_env_LDFLAGS_set=${LDFLAGS+set}
765ac_env_LDFLAGS_value=$LDFLAGS
766ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
767ac_cv_env_LDFLAGS_value=$LDFLAGS
768ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769ac_env_CPPFLAGS_value=$CPPFLAGS
770ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772ac_env_CPP_set=${CPP+set}
773ac_env_CPP_value=$CPP
774ac_cv_env_CPP_set=${CPP+set}
775ac_cv_env_CPP_value=$CPP
776ac_env_CXX_set=${CXX+set}
777ac_env_CXX_value=$CXX
778ac_cv_env_CXX_set=${CXX+set}
779ac_cv_env_CXX_value=$CXX
780ac_env_CXXFLAGS_set=${CXXFLAGS+set}
781ac_env_CXXFLAGS_value=$CXXFLAGS
782ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
783ac_cv_env_CXXFLAGS_value=$CXXFLAGS
784ac_env_CXXCPP_set=${CXXCPP+set}
785ac_env_CXXCPP_value=$CXXCPP
786ac_cv_env_CXXCPP_set=${CXXCPP+set}
787ac_cv_env_CXXCPP_value=$CXXCPP
788
789#
790# Report the --help message.
791#
792if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
795 cat <<_ACEOF
796\`configure' configures wxWindows 2.5.1 to adapt to many kinds of systems.
797
798Usage: $0 [OPTION]... [VAR=VALUE]...
799
800To assign environment variables (e.g., CC, CFLAGS...), specify them as
801VAR=VALUE. See below for descriptions of some of the useful variables.
802
803Defaults for the options are specified in brackets.
804
805Configuration:
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
815
816_ACEOF
817
818 cat <<_ACEOF
819Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
821 [$ac_default_prefix]
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
823 [PREFIX]
824
825By default, \`make install' will install all the files in
826\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828for instance \`--prefix=\$HOME'.
829
830For better control, use the options below.
831
832Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
845_ACEOF
846
847 cat <<\_ACEOF
848
849X features:
850 --x-includes=DIR X include files are in DIR
851 --x-libraries=DIR X library files are in DIR
852
853System types:
854 --build=BUILD configure for building on BUILD [guessed]
855 --host=HOST cross-compile to build programs to run on HOST [BUILD]
856 --target=TARGET configure for building compilers for TARGET [HOST]
857_ACEOF
858fi
859
860if test -n "$ac_init_help"; then
861 case $ac_init_help in
862 short | recursive ) echo "Configuration of wxWindows 2.5.1:";;
863 esac
864 cat <<\_ACEOF
865
866Optional Features:
867 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
868 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
869 --enable-gui use GUI classes
870 --disable-monolithic don't build wxWindows as single library
871 --enable-universal use wxWindows GUI controls instead of native ones
872 --enable-nanox use NanoX
873 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
874 --enable-shared create shared library code
875 --enable-optimise create optimised code
876 --enable-debug same as debug_flag and debug_info
877 --enable-stl use STL for containers
878 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
879 --enable-debug_info create code with debugging information
880 --enable-debug_gdb create code with extra GDB debugging information
881 --enable-debug_cntxt use wxDebugContext
882 --enable-mem_tracing create code with memory tracing
883 --enable-profile create code with profiling information
884 --enable-no_rtti create code without RTTI information
885 --enable-no_exceptions create code without C++ exceptions handling
886 --enable-permissive compile code disregarding strict ANSI
887 --enable-no_deps create code without dependency information
888 --enable-compat22 enable wxWindows 2.2 compatibility
889 --disable-compat24 disable wxWindows 2.4 compatibility
890 --enable-rpath=DIR output the rpath flag from wx-config
891 --enable-intl use internationalization system
892 --enable-config use wxConfig (and derived) classes
893 --enable-protocols use wxProtocol and derived classes
894 --enable-ftp use wxFTP (requires wxProtocol
895 --enable-http use wxHTTP (requires wxProtocol
896 --enable-fileproto use wxFileProto class (requires wxProtocol
897 --enable-sockets use socket/network classes
898 --enable-ole use OLE classes (Win32 only)
899 --enable-dataobj use data object classes
900 --enable-ipc use interprocess communication (wxSocket etc.)
901 --enable-apple_ieee use the Apple IEEE codec
902 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
903 --enable-cmdline use wxCmdLineParser class
904 --enable-datetime use wxDateTime class
905 --enable-dialupman use dialup network classes
906 --enable-dynlib use wxLibrary class for DLL loading
907 --enable-dynamicloader use (new) wxDynamicLibrary class
908 --enable-exceptions build exception-safe library
909 --enable-ffile use wxFFile class
910 --enable-file use wxFile class
911 --enable-filesystem use virtual file systems classes
912 --enable-fontmap use font encodings conversion classes
913 --enable-fs_inet use virtual HTTP/FTP filesystems
914 --enable-fs_zip use virtual ZIP filesystems
915 --enable-geometry use geometry class
916 --enable-log use logging system
917 --enable-longlong use wxLongLong class
918 --enable-mimetype use wxMimeTypesManager
919 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
920 --enable-snglinst use wxSingleInstanceChecker class
921 --enable-streams use wxStream etc classes
922 --enable-std_iostreams use standard C++ stream classes
923 --enable-stopwatch use wxStopWatch class
924 --enable-sysoptions use wxSystemOptions
925 --enable-textbuf use wxTextBuffer class
926 --enable-textfile use wxTextFile class
927 --enable-timer use wxTimer class
928 --enable-unicode compile wxString with Unicode support
929 --enable-wave use wxWave class
930 --enable-wxprintfv use wxWindows implementation of vprintf()
931 --enable-zipstream use wxZipInputStream
932 --enable-gzstream use wxGzipInputStream
933 --enable-url use wxURL class
934 --enable-protocol use wxProtocol class
935 --enable-protocol-http HTTP support in wxProtocol
936 --enable-protocol-ftp FTP support in wxProtocol
937 --enable-protocol-file FILE support in wxProtocol
938 --enable-threads use threads
939 --enable-docview use document view architecture
940 --enable-help use help subsystem
941 --enable-mshtmlhelp use MS HTML Help (win32)
942 --enable-html use wxHTML sub-library
943 --enable-htmlhelp use wxHTML-based help
944 --enable-constraints use layout-constraints system
945 --enable-printarch use printing architecture
946 --enable-mdi use multiple document interface architecture
947 --enable-loggui use standard GUI logger
948 --enable-logwin use wxLogWindow
949 --enable-logdialog use wxLogDialog
950 --enable-postscript use wxPostscriptDC device context (default for gtk+)
951 --enable-prologio not available; see contrib
952 --enable-resources not available; see contrib
953 --enable-clipboard use wxClipboard class
954 --enable-dnd use Drag'n'Drop classes
955 --enable-metafile use win32 metafiles
956 --enable-controls use all usual controls
957 --enable-accel use accelerators
958 --enable-button use wxButton class
959 --enable-bmpbutton use wxBitmapButton class
960 --enable-calendar use wxCalendarCtrl class
961 --enable-caret use wxCaret class
962 --enable-checkbox use wxCheckBox class
963 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
964 --enable-choice use wxChoice class
965 --enable-combobox use wxComboBox class
966 --enable-display use wxDisplay class
967 --enable-gauge use wxGauge class
968 --enable-grid use wxGrid class
969 --enable-imaglist use wxImageList class
970 --enable-listbook use wxListbook class
971 --enable-listbox use wxListBox class
972 --enable-listctrl use wxListCtrl class
973 --enable-notebook use wxNotebook class
974 --enable-radiobox use wxRadioBox class
975 --enable-radiobtn use wxRadioButton class
976 --enable-sash use wxSashWindow class
977 --enable-scrollbar use wxScrollBar class and scrollable windows
978 --enable-slider use wxSlider class
979 --enable-spinbtn use wxSpinButton class
980 --enable-spinctrl use wxSpinCtrl class
981 --enable-splitter use wxSplitterWindow class
982 --enable-statbmp use wxStaticBitmap class
983 --enable-statbox use wxStaticBox class
984 --enable-statline use wxStaticLine class
985 --enable-stattext use wxStaticText class
986 --enable-statusbar use wxStatusBar class
987 --enable-tabdialog use wxTabControl class
988 --enable-textctrl use wxTextCtrl class
989 --enable-togglebtn use wxToggleButton class
990 --enable-toolbar use wxToolBar class
991 --enable-tbarnative use native wxToolBar class
992 --enable-tbarsmpl use wxToolBarSimple class
993 --enable-treectrl use wxTreeCtrl class
994 --enable-tipwindow use wxTipWindow class
995 --enable-popupwin use wxPopUpWindow class
996 --enable-commondlg use all common dialogs
997 --enable-choicedlg use wxChoiceDialog
998 --enable-coldlg use wxColourDialog
999 --enable-filedlg use wxFileDialog
1000 --enable-finddlg use wxFindReplaceDialog
1001 --enable-fontdlg use wxFontDialog
1002 --enable-dirdlg use wxDirDialog
1003 --enable-msgdlg use wxMessageDialog
1004 --enable-numberdlg use wxNumberEntryDialog
1005 --enable-splash use wxSplashScreen
1006 --enable-textdlg use wxTextDialog
1007 --enable-tipdlg use startup tips
1008 --enable-progressdlg use wxProgressDialog
1009 --enable-wizarddlg use wxWizard
1010 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1011 --enable-miniframe use wxMiniFrame class
1012 --enable-tooltips use wxToolTip class
1013 --enable-splines use spline drawing code
1014 --enable-validators use wxValidator and derived classes
1015 --enable-busyinfo use wxBusyInfo
1016 --enable-joystick use wxJoystick (Linux only)
1017 --enable-metafiles use wxMetaFile (Windows only)
1018 --enable-dragimage use wxDragImage
1019 --enable-accessibility enable accessibility support
1020 --enable-palette use wxPalette class
1021 --enable-image use wxImage class
1022 --enable-gif use gif images (GIF file format)
1023 --enable-pcx use pcx images (PCX file format)
1024 --enable-iff use iff images (IFF file format)
1025 --enable-pnm use pnm images (PNM file format)
1026 --enable-xpm use xpm images (XPM file format)
1027 --enable-icocur use Windows ICO and CUR formats
1028 --enable-official_build official build of wxWindows (win32 DLL only)
1029 --enable-vendor=VENDOR vendor name (win32 DLL only)
1030 --disable-largefile omit support for large files
1031 --disable-gtktest do not try to compile and run a test GTK+ program
1032 --disable-gtktest Do not try to compile and run a test GTK program
1033 --disable-precomp-headers don't use precompiled headers even if compiler can
1034
1035Optional Packages:
1036 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1037 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1038 --with-gtk use GTK+
1039 --with-motif use Motif/Lesstif
1040 --with-mac use Mac OS X
1041 --with-cocoa use Cocoa
1042 --with-wine use Wine
1043 --with-msw use MS-Windows
1044 --with-pm use OS/2 Presentation Manager
1045 --with-mgl use SciTech MGL
1046 --with-microwin use MicroWindows
1047 --with-x11 use X11
1048 --with-libpng use libpng (PNG image format)
1049 --with-libjpeg use libjpeg (JPEG file format)
1050 --with-libtiff use libtiff (TIFF file format)
1051 --with-opengl use OpenGL (or Mesa)
1052 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1053 --with-regex enable support for wxRegEx class
1054 --with-zlib use zlib for LZW compression
1055 --with-odbc use the IODBC and wxODBC classes
1056 --with-expat enable XML support using expat parser
1057 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1058 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1059 --with-x use the X Window System
1060 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1061
1062Some influential environment variables:
1063 CC C compiler command
1064 CFLAGS C compiler flags
1065 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1066 nonstandard directory <lib dir>
1067 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1068 headers in a nonstandard directory <include dir>
1069 CPP C preprocessor
1070 CXX C++ compiler command
1071 CXXFLAGS C++ compiler flags
1072 CXXCPP C++ preprocessor
1073
1074Use these variables to override the choices made by `configure' or to help
1075it to find libraries and programs with nonstandard names/locations.
1076
1077Report bugs to <wx-dev@lists.wxwindows.org>.
1078_ACEOF
1079fi
1080
1081if test "$ac_init_help" = "recursive"; then
1082 # If there are subdirs, report their specific --help.
1083 ac_popdir=`pwd`
1084 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1085 test -d $ac_dir || continue
1086 ac_builddir=.
1087
1088if test "$ac_dir" != .; then
1089 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1090 # A "../" for each directory in $ac_dir_suffix.
1091 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1092else
1093 ac_dir_suffix= ac_top_builddir=
1094fi
1095
1096case $srcdir in
1097 .) # No --srcdir option. We are building in place.
1098 ac_srcdir=.
1099 if test -z "$ac_top_builddir"; then
1100 ac_top_srcdir=.
1101 else
1102 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1103 fi ;;
1104 [\\/]* | ?:[\\/]* ) # Absolute path.
1105 ac_srcdir=$srcdir$ac_dir_suffix;
1106 ac_top_srcdir=$srcdir ;;
1107 *) # Relative path.
1108 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1109 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1110esac
1111# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1112# absolute.
1113ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1114ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1115ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1116ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1117
1118 cd $ac_dir
1119 # Check for guested configure; otherwise get Cygnus style configure.
1120 if test -f $ac_srcdir/configure.gnu; then
1121 echo
1122 $SHELL $ac_srcdir/configure.gnu --help=recursive
1123 elif test -f $ac_srcdir/configure; then
1124 echo
1125 $SHELL $ac_srcdir/configure --help=recursive
1126 elif test -f $ac_srcdir/configure.ac ||
1127 test -f $ac_srcdir/configure.in; then
1128 echo
1129 $ac_configure --help
1130 else
1131 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1132 fi
1133 cd $ac_popdir
1134 done
1135fi
1136
1137test -n "$ac_init_help" && exit 0
1138if $ac_init_version; then
1139 cat <<\_ACEOF
1140wxWindows configure 2.5.1
1141generated by GNU Autoconf 2.57
1142
1143Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1144Free Software Foundation, Inc.
1145This configure script is free software; the Free Software Foundation
1146gives unlimited permission to copy, distribute and modify it.
1147_ACEOF
1148 exit 0
1149fi
1150exec 5>config.log
1151cat >&5 <<_ACEOF
1152This file contains any messages produced by compilers while
1153running configure, to aid debugging if configure makes a mistake.
1154
1155It was created by wxWindows $as_me 2.5.1, which was
1156generated by GNU Autoconf 2.57. Invocation command line was
1157
1158 $ $0 $@
1159
1160_ACEOF
1161{
1162cat <<_ASUNAME
1163## --------- ##
1164## Platform. ##
1165## --------- ##
1166
1167hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1168uname -m = `(uname -m) 2>/dev/null || echo unknown`
1169uname -r = `(uname -r) 2>/dev/null || echo unknown`
1170uname -s = `(uname -s) 2>/dev/null || echo unknown`
1171uname -v = `(uname -v) 2>/dev/null || echo unknown`
1172
1173/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1174/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1175
1176/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1177/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1178/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1179hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1180/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1181/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1182/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1183
1184_ASUNAME
1185
1186as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1187for as_dir in $PATH
1188do
1189 IFS=$as_save_IFS
1190 test -z "$as_dir" && as_dir=.
1191 echo "PATH: $as_dir"
1192done
1193
1194} >&5
1195
1196cat >&5 <<_ACEOF
1197
1198
1199## ----------- ##
1200## Core tests. ##
1201## ----------- ##
1202
1203_ACEOF
1204
1205
1206# Keep a trace of the command line.
1207# Strip out --no-create and --no-recursion so they do not pile up.
1208# Strip out --silent because we don't want to record it for future runs.
1209# Also quote any args containing shell meta-characters.
1210# Make two passes to allow for proper duplicate-argument suppression.
1211ac_configure_args=
1212ac_configure_args0=
1213ac_configure_args1=
1214ac_sep=
1215ac_must_keep_next=false
1216for ac_pass in 1 2
1217do
1218 for ac_arg
1219 do
1220 case $ac_arg in
1221 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1222 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1223 | -silent | --silent | --silen | --sile | --sil)
1224 continue ;;
1225 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1226 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1227 esac
1228 case $ac_pass in
1229 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1230 2)
1231 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1232 if test $ac_must_keep_next = true; then
1233 ac_must_keep_next=false # Got value, back to normal.
1234 else
1235 case $ac_arg in
1236 *=* | --config-cache | -C | -disable-* | --disable-* \
1237 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1238 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1239 | -with-* | --with-* | -without-* | --without-* | --x)
1240 case "$ac_configure_args0 " in
1241 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1242 esac
1243 ;;
1244 -* ) ac_must_keep_next=true ;;
1245 esac
1246 fi
1247 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1248 # Get rid of the leading space.
1249 ac_sep=" "
1250 ;;
1251 esac
1252 done
1253done
1254$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1255$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1256
1257# When interrupted or exit'd, cleanup temporary files, and complete
1258# config.log. We remove comments because anyway the quotes in there
1259# would cause problems or look ugly.
1260# WARNING: Be sure not to use single quotes in there, as some shells,
1261# such as our DU 5.0 friend, will then `close' the trap.
1262trap 'exit_status=$?
1263 # Save into config.log some information that might help in debugging.
1264 {
1265 echo
1266
1267 cat <<\_ASBOX
1268## ---------------- ##
1269## Cache variables. ##
1270## ---------------- ##
1271_ASBOX
1272 echo
1273 # The following way of writing the cache mishandles newlines in values,
1274{
1275 (set) 2>&1 |
1276 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1277 *ac_space=\ *)
1278 sed -n \
1279 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1280 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1281 ;;
1282 *)
1283 sed -n \
1284 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1285 ;;
1286 esac;
1287}
1288 echo
1289
1290 cat <<\_ASBOX
1291## ----------------- ##
1292## Output variables. ##
1293## ----------------- ##
1294_ASBOX
1295 echo
1296 for ac_var in $ac_subst_vars
1297 do
1298 eval ac_val=$`echo $ac_var`
1299 echo "$ac_var='"'"'$ac_val'"'"'"
1300 done | sort
1301 echo
1302
1303 if test -n "$ac_subst_files"; then
1304 cat <<\_ASBOX
1305## ------------- ##
1306## Output files. ##
1307## ------------- ##
1308_ASBOX
1309 echo
1310 for ac_var in $ac_subst_files
1311 do
1312 eval ac_val=$`echo $ac_var`
1313 echo "$ac_var='"'"'$ac_val'"'"'"
1314 done | sort
1315 echo
1316 fi
1317
1318 if test -s confdefs.h; then
1319 cat <<\_ASBOX
1320## ----------- ##
1321## confdefs.h. ##
1322## ----------- ##
1323_ASBOX
1324 echo
1325 sed "/^$/d" confdefs.h | sort
1326 echo
1327 fi
1328 test "$ac_signal" != 0 &&
1329 echo "$as_me: caught signal $ac_signal"
1330 echo "$as_me: exit $exit_status"
1331 } >&5
1332 rm -f core core.* *.core &&
1333 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1334 exit $exit_status
1335 ' 0
1336for ac_signal in 1 2 13 15; do
1337 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1338done
1339ac_signal=0
1340
1341# confdefs.h avoids OS command line length limits that DEFS can exceed.
1342rm -rf conftest* confdefs.h
1343# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1344echo >confdefs.h
1345
1346# Predefined preprocessor variables.
1347
1348cat >>confdefs.h <<_ACEOF
1349#define PACKAGE_NAME "$PACKAGE_NAME"
1350_ACEOF
1351
1352
1353cat >>confdefs.h <<_ACEOF
1354#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1355_ACEOF
1356
1357
1358cat >>confdefs.h <<_ACEOF
1359#define PACKAGE_VERSION "$PACKAGE_VERSION"
1360_ACEOF
1361
1362
1363cat >>confdefs.h <<_ACEOF
1364#define PACKAGE_STRING "$PACKAGE_STRING"
1365_ACEOF
1366
1367
1368cat >>confdefs.h <<_ACEOF
1369#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1370_ACEOF
1371
1372
1373# Let the site file select an alternate cache file if it wants to.
1374# Prefer explicitly selected file to automatically selected ones.
1375if test -z "$CONFIG_SITE"; then
1376 if test "x$prefix" != xNONE; then
1377 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1378 else
1379 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1380 fi
1381fi
1382for ac_site_file in $CONFIG_SITE; do
1383 if test -r "$ac_site_file"; then
1384 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1385echo "$as_me: loading site script $ac_site_file" >&6;}
1386 sed 's/^/| /' "$ac_site_file" >&5
1387 . "$ac_site_file"
1388 fi
1389done
1390
1391if test -r "$cache_file"; then
1392 # Some versions of bash will fail to source /dev/null (special
1393 # files actually), so we avoid doing that.
1394 if test -f "$cache_file"; then
1395 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1396echo "$as_me: loading cache $cache_file" >&6;}
1397 case $cache_file in
1398 [\\/]* | ?:[\\/]* ) . $cache_file;;
1399 *) . ./$cache_file;;
1400 esac
1401 fi
1402else
1403 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1404echo "$as_me: creating cache $cache_file" >&6;}
1405 >$cache_file
1406fi
1407
1408# Check that the precious variables saved in the cache have kept the same
1409# value.
1410ac_cache_corrupted=false
1411for ac_var in `(set) 2>&1 |
1412 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1413 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1414 eval ac_new_set=\$ac_env_${ac_var}_set
1415 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1416 eval ac_new_val="\$ac_env_${ac_var}_value"
1417 case $ac_old_set,$ac_new_set in
1418 set,)
1419 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1420echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1421 ac_cache_corrupted=: ;;
1422 ,set)
1423 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1424echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1425 ac_cache_corrupted=: ;;
1426 ,);;
1427 *)
1428 if test "x$ac_old_val" != "x$ac_new_val"; then
1429 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1430echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1431 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1432echo "$as_me: former value: $ac_old_val" >&2;}
1433 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1434echo "$as_me: current value: $ac_new_val" >&2;}
1435 ac_cache_corrupted=:
1436 fi;;
1437 esac
1438 # Pass precious variables to config.status.
1439 if test "$ac_new_set" = set; then
1440 case $ac_new_val in
1441 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1442 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1443 *) ac_arg=$ac_var=$ac_new_val ;;
1444 esac
1445 case " $ac_configure_args " in
1446 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1447 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1448 esac
1449 fi
1450done
1451if $ac_cache_corrupted; then
1452 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1453echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1454 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1455echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1456 { (exit 1); exit 1; }; }
1457fi
1458
1459ac_ext=c
1460ac_cpp='$CPP $CPPFLAGS'
1461ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1462ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1463ac_compiler_gnu=$ac_cv_c_compiler_gnu
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494ac_aux_dir=
1495for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1496 if test -f $ac_dir/install-sh; then
1497 ac_aux_dir=$ac_dir
1498 ac_install_sh="$ac_aux_dir/install-sh -c"
1499 break
1500 elif test -f $ac_dir/install.sh; then
1501 ac_aux_dir=$ac_dir
1502 ac_install_sh="$ac_aux_dir/install.sh -c"
1503 break
1504 elif test -f $ac_dir/shtool; then
1505 ac_aux_dir=$ac_dir
1506 ac_install_sh="$ac_aux_dir/shtool install -c"
1507 break
1508 fi
1509done
1510if test -z "$ac_aux_dir"; then
1511 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1512echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1513 { (exit 1); exit 1; }; }
1514fi
1515ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1516ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1517ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1518
1519# Make sure we can run config.sub.
1520$ac_config_sub sun4 >/dev/null 2>&1 ||
1521 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1522echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1523 { (exit 1); exit 1; }; }
1524
1525echo "$as_me:$LINENO: checking build system type" >&5
1526echo $ECHO_N "checking build system type... $ECHO_C" >&6
1527if test "${ac_cv_build+set}" = set; then
1528 echo $ECHO_N "(cached) $ECHO_C" >&6
1529else
1530 ac_cv_build_alias=$build_alias
1531test -z "$ac_cv_build_alias" &&
1532 ac_cv_build_alias=`$ac_config_guess`
1533test -z "$ac_cv_build_alias" &&
1534 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1535echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1536 { (exit 1); exit 1; }; }
1537ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1538 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1539echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1540 { (exit 1); exit 1; }; }
1541
1542fi
1543echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1544echo "${ECHO_T}$ac_cv_build" >&6
1545build=$ac_cv_build
1546build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1547build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1548build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1549
1550
1551echo "$as_me:$LINENO: checking host system type" >&5
1552echo $ECHO_N "checking host system type... $ECHO_C" >&6
1553if test "${ac_cv_host+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1555else
1556 ac_cv_host_alias=$host_alias
1557test -z "$ac_cv_host_alias" &&
1558 ac_cv_host_alias=$ac_cv_build_alias
1559ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1560 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1561echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1562 { (exit 1); exit 1; }; }
1563
1564fi
1565echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1566echo "${ECHO_T}$ac_cv_host" >&6
1567host=$ac_cv_host
1568host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1569host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1570host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1571
1572
1573echo "$as_me:$LINENO: checking target system type" >&5
1574echo $ECHO_N "checking target system type... $ECHO_C" >&6
1575if test "${ac_cv_target+set}" = set; then
1576 echo $ECHO_N "(cached) $ECHO_C" >&6
1577else
1578 ac_cv_target_alias=$target_alias
1579test "x$ac_cv_target_alias" = "x" &&
1580 ac_cv_target_alias=$ac_cv_host_alias
1581ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1582 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1583echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1584 { (exit 1); exit 1; }; }
1585
1586fi
1587echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1588echo "${ECHO_T}$ac_cv_target" >&6
1589target=$ac_cv_target
1590target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1591target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1592target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1593
1594
1595# The aliases save the names the user supplied, while $host etc.
1596# will get canonicalized.
1597test -n "$target_alias" &&
1598 test "$program_prefix$program_suffix$program_transform_name" = \
1599 NONENONEs,x,x, &&
1600 program_prefix=${target_alias}-
1601
1602
1603
1604WX_MAJOR_VERSION_NUMBER=2
1605WX_MINOR_VERSION_NUMBER=5
1606WX_RELEASE_NUMBER=1
1607
1608WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1609WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1610
1611WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1612
1613WX_CURRENT=1
1614WX_REVISION=0
1615WX_AGE=0
1616
1617
1618
1619USE_UNIX=1
1620USE_OS2=0
1621USE_WIN32=0
1622USE_DOS=0
1623USE_BEOS=0
1624USE_MAC=0
1625
1626USE_AIX=
1627USE_BSD= USE_DARWIN= USE_FREEBSD=
1628USE_GNU= USE_HPUX=
1629USE_LINUX=
1630USE_NETBSD=
1631USE_OPENBSD=
1632USE_OSF= USE_SGI=
1633USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1634USE_ULTRIX=
1635USE_UNIXWARE=
1636
1637USE_ALPHA=
1638
1639NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1640
1641ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1642
1643DEFAULT_wxUSE_COCOA=0
1644DEFAULT_wxUSE_GTK=0
1645DEFAULT_wxUSE_MAC=0
1646DEFAULT_wxUSE_MGL=0
1647DEFAULT_wxUSE_MICROWIN=0
1648DEFAULT_wxUSE_MOTIF=0
1649DEFAULT_wxUSE_MSW=0
1650DEFAULT_wxUSE_PM=0
1651DEFAULT_wxUSE_X11=0
1652
1653DEFAULT_DEFAULT_wxUSE_COCOA=0
1654DEFAULT_DEFAULT_wxUSE_GTK=0
1655DEFAULT_DEFAULT_wxUSE_MAC=0
1656DEFAULT_DEFAULT_wxUSE_MGL=0
1657DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1658DEFAULT_DEFAULT_wxUSE_MOTIF=0
1659DEFAULT_DEFAULT_wxUSE_MSW=0
1660DEFAULT_DEFAULT_wxUSE_PM=0
1661DEFAULT_DEFAULT_wxUSE_X11=0
1662
1663PROGRAM_EXT=
1664SO_SUFFIX=so
1665SAMPLES_RPATH_FLAG=
1666SAMPLES_RPATH_POSTLINK=
1667
1668case "${host}" in
1669 *-hp-hpux* )
1670 USE_HPUX=1
1671 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1672 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1673 SO_SUFFIX=sl
1674 cat >>confdefs.h <<\_ACEOF
1675#define __HPUX__ 1
1676_ACEOF
1677
1678 ;;
1679 *-*-linux* )
1680 USE_LINUX=1
1681 cat >>confdefs.h <<\_ACEOF
1682#define __LINUX__ 1
1683_ACEOF
1684
1685 TMP=`uname -m`
1686 if test "x$TMP" = "xalpha"; then
1687 USE_ALPHA=1
1688 cat >>confdefs.h <<\_ACEOF
1689#define __ALPHA__ 1
1690_ACEOF
1691
1692 fi
1693 DEFAULT_DEFAULT_wxUSE_GTK=1
1694 ;;
1695 *-*-gnu* )
1696 USE_GNU=1
1697 cat >>confdefs.h <<\_ACEOF
1698#define __GNU__ 1
1699_ACEOF
1700
1701 TMP=`uname -m`
1702 if test "x$TMP" = "xalpha"; then
1703 USE_ALPHA=1
1704 cat >>confdefs.h <<\_ACEOF
1705#define __ALPHA__ 1
1706_ACEOF
1707
1708 fi
1709 DEFAULT_DEFAULT_wxUSE_GTK=1
1710 ;;
1711 *-*-irix5* | *-*-irix6* )
1712 USE_SGI=1
1713 USE_SVR4=1
1714 cat >>confdefs.h <<\_ACEOF
1715#define __SGI__ 1
1716_ACEOF
1717
1718 cat >>confdefs.h <<\_ACEOF
1719#define __SVR4__ 1
1720_ACEOF
1721
1722 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1723 ;;
1724 *-*-solaris2* )
1725 USE_SUN=1
1726 USE_SOLARIS=1
1727 USE_SVR4=1
1728 cat >>confdefs.h <<\_ACEOF
1729#define __SUN__ 1
1730_ACEOF
1731
1732 cat >>confdefs.h <<\_ACEOF
1733#define __SOLARIS__ 1
1734_ACEOF
1735
1736 cat >>confdefs.h <<\_ACEOF
1737#define __SVR4__ 1
1738_ACEOF
1739
1740 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1741 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1742 ;;
1743 *-*-sunos4* )
1744 USE_SUN=1
1745 USE_SUNOS=1
1746 USE_BSD=1
1747 cat >>confdefs.h <<\_ACEOF
1748#define __SUN__ 1
1749_ACEOF
1750
1751 cat >>confdefs.h <<\_ACEOF
1752#define __SUNOS__ 1
1753_ACEOF
1754
1755 cat >>confdefs.h <<\_ACEOF
1756#define __BSD__ 1
1757_ACEOF
1758
1759 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1760 ;;
1761 *-*-freebsd*)
1762 USE_BSD=1
1763 USE_FREEBSD=1
1764 cat >>confdefs.h <<\_ACEOF
1765#define __FREEBSD__ 1
1766_ACEOF
1767
1768 cat >>confdefs.h <<\_ACEOF
1769#define __BSD__ 1
1770_ACEOF
1771
1772 DEFAULT_DEFAULT_wxUSE_GTK=1
1773 ;;
1774 *-*-openbsd*)
1775 USE_BSD=1
1776 USE_OPENBSD=1
1777 cat >>confdefs.h <<\_ACEOF
1778#define __OPENBSD__ 1
1779_ACEOF
1780
1781 cat >>confdefs.h <<\_ACEOF
1782#define __BSD__ 1
1783_ACEOF
1784
1785 DEFAULT_DEFAULT_wxUSE_GTK=1
1786 ;;
1787 *-*-netbsd*)
1788 USE_BSD=1
1789 USE_NETBSD=1
1790 cat >>confdefs.h <<\_ACEOF
1791#define __NETBSD__ 1
1792_ACEOF
1793
1794 cat >>confdefs.h <<\_ACEOF
1795#define __BSD__ 1
1796_ACEOF
1797
1798 DEFAULT_DEFAULT_wxUSE_GTK=1
1799 ;;
1800 *-*-osf* )
1801 USE_ALPHA=1
1802 USE_OSF=1
1803 cat >>confdefs.h <<\_ACEOF
1804#define __ALPHA__ 1
1805_ACEOF
1806
1807 cat >>confdefs.h <<\_ACEOF
1808#define __OSF__ 1
1809_ACEOF
1810
1811 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1812 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1813 ;;
1814 *-*-dgux5* )
1815 USE_ALPHA=1
1816 USE_SVR4=1
1817 cat >>confdefs.h <<\_ACEOF
1818#define __ALPHA__ 1
1819_ACEOF
1820
1821 cat >>confdefs.h <<\_ACEOF
1822#define __SVR4__ 1
1823_ACEOF
1824
1825 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1826 ;;
1827 *-*-sysv5* )
1828 USE_SYSV=1
1829 USE_SVR4=1
1830 cat >>confdefs.h <<\_ACEOF
1831#define __SYSV__ 1
1832_ACEOF
1833
1834 cat >>confdefs.h <<\_ACEOF
1835#define __SVR4__ 1
1836_ACEOF
1837
1838 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1839 ;;
1840 *-*-aix* )
1841 USE_AIX=1
1842 USE_SYSV=1
1843 USE_SVR4=1
1844 SO_SUFFIX=a
1845 cat >>confdefs.h <<\_ACEOF
1846#define __AIX__ 1
1847_ACEOF
1848
1849 cat >>confdefs.h <<\_ACEOF
1850#define __SYSV__ 1
1851_ACEOF
1852
1853 cat >>confdefs.h <<\_ACEOF
1854#define __SVR4__ 1
1855_ACEOF
1856
1857 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1858 ;;
1859
1860 *-*-*UnixWare*)
1861 USE_SYSV=1
1862 USE_SVR4=1
1863 USE_UNIXWARE=1
1864 cat >>confdefs.h <<\_ACEOF
1865#define __UNIXWARE__ 1
1866_ACEOF
1867
1868 ;;
1869
1870 *-*-cygwin* | *-*-mingw32* )
1871 SO_SUFFIX=dll
1872 PROGRAM_EXT=".exe"
1873 RESCOMP=windres
1874 DEFAULT_DEFAULT_wxUSE_MSW=1
1875 ;;
1876
1877 *-pc-msdosdjgpp )
1878 USE_UNIX=0
1879 USE_DOS=1
1880 cat >>confdefs.h <<\_ACEOF
1881#define __DOS__ 1
1882_ACEOF
1883
1884 PROGRAM_EXT=".exe"
1885 DEFAULT_DEFAULT_wxUSE_MGL=1
1886 LIBS="$LIBS -lstdc++"
1887 ;;
1888
1889 *-pc-os2_emx | *-pc-os2-emx )
1890 cat >>confdefs.h <<\_ACEOF
1891#define __EMX__ 1
1892_ACEOF
1893
1894 USE_OS2=1
1895 cat >>confdefs.h <<\_ACEOF
1896#define __OS2__ 1
1897_ACEOF
1898
1899 PROGRAM_EXT=".exe"
1900 DEFAULT_DEFAULT_wxUSE_PM=1
1901 CXX=gcc
1902 LDFLAGS="$LDFLAGS -Zcrtdll -Zsysv-signals"
1903 ac_executable_extensions=".exe"
1904 export ac_executable_extensions
1905 ac_save_IFS="$IFS"
1906 IFS='\\'
1907 ac_TEMP_PATH=
1908 for ac_dir in $PATH; do
1909 IFS=$ac_save_IFS
1910 if test -z "$ac_TEMP_PATH"; then
1911 ac_TEMP_PATH="$ac_dir"
1912 else
1913 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1914 fi
1915 done
1916 export PATH="$ac_TEMP_PATH"
1917 unset ac_TEMP_PATH
1918 ;;
1919
1920 powerpc-*-darwin* )
1921 USE_BSD=1
1922 USE_DARWIN=1
1923 SO_SUFFIX=dylib
1924 cat >>confdefs.h <<\_ACEOF
1925#define __BSD__ 1
1926_ACEOF
1927
1928 cat >>confdefs.h <<\_ACEOF
1929#define __DARWIN__ 1
1930_ACEOF
1931
1932 cat >>confdefs.h <<\_ACEOF
1933#define __POWERPC__ 1
1934_ACEOF
1935
1936 cat >>confdefs.h <<\_ACEOF
1937#define TARGET_CARBON 1
1938_ACEOF
1939
1940 DEFAULT_DEFAULT_wxUSE_MAC=1
1941 ;;
1942
1943 *-*-beos* )
1944 USE_BEOS=1
1945 cat >>confdefs.h <<\_ACEOF
1946#define __BEOS__ 1
1947_ACEOF
1948
1949 ;;
1950
1951 *)
1952 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1953echo "$as_me: error: unknown system type ${host}." >&2;}
1954 { (exit 1); exit 1; }; }
1955esac
1956
1957
1958
1959
1960 wx_arg_cache_file="configarg.cache"
1961 echo "loading argument cache $wx_arg_cache_file"
1962 rm -f ${wx_arg_cache_file}.tmp
1963 touch ${wx_arg_cache_file}.tmp
1964 touch ${wx_arg_cache_file}
1965
1966
1967DEBUG_CONFIGURE=0
1968if test $DEBUG_CONFIGURE = 1; then
1969 DEFAULT_wxUSE_UNIVERSAL=no
1970 DEFAULT_wxUSE_STL=no
1971
1972 DEFAULT_wxUSE_NANOX=no
1973
1974 DEFAULT_wxUSE_THREADS=yes
1975
1976 DEFAULT_wxUSE_SHARED=yes
1977 DEFAULT_wxUSE_OPTIMISE=no
1978 DEFAULT_wxUSE_PROFILE=no
1979 DEFAULT_wxUSE_NO_DEPS=no
1980 DEFAULT_wxUSE_NO_RTTI=no
1981 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1982 DEFAULT_wxUSE_PERMISSIVE=no
1983 DEFAULT_wxUSE_DEBUG_FLAG=yes
1984 DEFAULT_wxUSE_DEBUG_INFO=yes
1985 DEFAULT_wxUSE_DEBUG_GDB=yes
1986 DEFAULT_wxUSE_MEM_TRACING=no
1987 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1988 DEFAULT_wxUSE_DMALLOC=no
1989 DEFAULT_wxUSE_APPLE_IEEE=no
1990
1991 DEFAULT_wxUSE_EXCEPTIONS=no
1992 DEFAULT_wxUSE_LOG=yes
1993 DEFAULT_wxUSE_LOGWINDOW=no
1994 DEFAULT_wxUSE_LOGGUI=no
1995 DEFAULT_wxUSE_LOGDIALOG=no
1996
1997 DEFAULT_wxUSE_GUI=yes
1998 DEFAULT_wxUSE_CONTROLS=no
1999
2000 DEFAULT_wxUSE_REGEX=no
2001 DEFAULT_wxUSE_XML=no
2002 DEFAULT_wxUSE_EXPAT=no
2003 DEFAULT_wxUSE_ZLIB=no
2004 DEFAULT_wxUSE_LIBPNG=no
2005 DEFAULT_wxUSE_LIBJPEG=no
2006 DEFAULT_wxUSE_LIBTIFF=no
2007 DEFAULT_wxUSE_ODBC=no
2008 DEFAULT_wxUSE_OPENGL=no
2009
2010 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2011 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2012 DEFAULT_wxUSE_STD_IOSTREAM=no
2013 DEFAULT_wxUSE_CMDLINE_PARSER=no
2014 DEFAULT_wxUSE_DATETIME=no
2015 DEFAULT_wxUSE_TIMER=no
2016 DEFAULT_wxUSE_STOPWATCH=no
2017 DEFAULT_wxUSE_FILE=no
2018 DEFAULT_wxUSE_FFILE=no
2019 DEFAULT_wxUSE_TEXTBUFFER=no
2020 DEFAULT_wxUSE_TEXTFILE=no
2021 DEFAULT_wxUSE_WAVE=no
2022 DEFAULT_wxUSE_INTL=no
2023 DEFAULT_wxUSE_CONFIG=no
2024 DEFAULT_wxUSE_FONTMAP=no
2025 DEFAULT_wxUSE_STREAMS=no
2026 DEFAULT_wxUSE_SOCKETS=no
2027 DEFAULT_wxUSE_OLE=no
2028 DEFAULT_wxUSE_DATAOBJ=no
2029 DEFAULT_wxUSE_DIALUP_MANAGER=no
2030 DEFAULT_wxUSE_JOYSTICK=no
2031 DEFAULT_wxUSE_DYNLIB_CLASS=no
2032 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2033 DEFAULT_wxUSE_LONGLONG=no
2034 DEFAULT_wxUSE_GEOMETRY=no
2035
2036 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2037 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2038 DEFAULT_wxUSE_POSTSCRIPT=no
2039
2040 DEFAULT_wxUSE_CLIPBOARD=no
2041 DEFAULT_wxUSE_TOOLTIPS=no
2042 DEFAULT_wxUSE_DRAG_AND_DROP=no
2043 DEFAULT_wxUSE_DRAGIMAGE=no
2044 DEFAULT_wxUSE_SPLINES=no
2045
2046 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2047 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2048 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2049
2050 DEFAULT_wxUSE_RESOURCES=no
2051 DEFAULT_wxUSE_CONSTRAINTS=no
2052 DEFAULT_wxUSE_IPC=no
2053 DEFAULT_wxUSE_HELP=no
2054 DEFAULT_wxUSE_MS_HTML_HELP=no
2055 DEFAULT_wxUSE_WXHTML_HELP=no
2056 DEFAULT_wxUSE_TREELAYOUT=no
2057 DEFAULT_wxUSE_METAFILE=no
2058 DEFAULT_wxUSE_MIMETYPE=no
2059 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2060 DEFAULT_wxUSE_PROTOCOL=no
2061 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2062 DEFAULT_wxUSE_PROTOCOL_FTP=no
2063 DEFAULT_wxUSE_PROTOCOL_FILE=no
2064 DEFAULT_wxUSE_URL=no
2065
2066 DEFAULT_wxUSE_COMMONDLGS=no
2067 DEFAULT_wxUSE_CHOICEDLG=no
2068 DEFAULT_wxUSE_COLOURDLG=no
2069 DEFAULT_wxUSE_DIRDLG=no
2070 DEFAULT_wxUSE_FILEDLG=no
2071 DEFAULT_wxUSE_FINDREPLDLG=no
2072 DEFAULT_wxUSE_FONTDLG=no
2073 DEFAULT_wxUSE_MSGDLG=no
2074 DEFAULT_wxUSE_NUMBERDLG=no
2075 DEFAULT_wxUSE_TEXTDLG=no
2076 DEFAULT_wxUSE_SPLASH=no
2077 DEFAULT_wxUSE_STARTUP_TIPS=no
2078 DEFAULT_wxUSE_PROGRESSDLG=no
2079 DEFAULT_wxUSE_WIZARDDLG=no
2080
2081 DEFAULT_wxUSE_MENUS=no
2082 DEFAULT_wxUSE_MINIFRAME=no
2083 DEFAULT_wxUSE_HTML=no
2084 DEFAULT_wxUSE_FILESYSTEM=no
2085 DEFAULT_wxUSE_FS_INET=no
2086 DEFAULT_wxUSE_FS_ZIP=no
2087 DEFAULT_wxUSE_BUSYINFO=no
2088 DEFAULT_wxUSE_ZIPSTREAM=no
2089 DEFAULT_wxUSE_GZSTREAM=no
2090 DEFAULT_wxUSE_VALIDATORS=no
2091
2092 DEFAULT_wxUSE_ACCEL=no
2093 DEFAULT_wxUSE_BUTTON=no
2094 DEFAULT_wxUSE_BMPBUTTON=no
2095 DEFAULT_wxUSE_CALCTRL=no
2096 DEFAULT_wxUSE_CARET=no
2097 DEFAULT_wxUSE_CHECKBOX=no
2098 DEFAULT_wxUSE_CHECKLST=no
2099 DEFAULT_wxUSE_CHOICE=no
2100 DEFAULT_wxUSE_COMBOBOX=no
2101 DEFAULT_wxUSE_DISPLAY=no
2102 DEFAULT_wxUSE_GAUGE=no
2103 DEFAULT_wxUSE_GRID=no
2104 DEFAULT_wxUSE_IMAGLIST=no
2105 DEFAULT_wxUSE_LISTBOOK=no
2106 DEFAULT_wxUSE_LISTBOX=no
2107 DEFAULT_wxUSE_LISTCTRL=no
2108 DEFAULT_wxUSE_NOTEBOOK=no
2109 DEFAULT_wxUSE_RADIOBOX=no
2110 DEFAULT_wxUSE_RADIOBTN=no
2111 DEFAULT_wxUSE_SASH=no
2112 DEFAULT_wxUSE_SCROLLBAR=no
2113 DEFAULT_wxUSE_SLIDER=no
2114 DEFAULT_wxUSE_SPINBTN=no
2115 DEFAULT_wxUSE_SPINCTRL=no
2116 DEFAULT_wxUSE_SPLITTER=no
2117 DEFAULT_wxUSE_STATBMP=no
2118 DEFAULT_wxUSE_STATBOX=no
2119 DEFAULT_wxUSE_STATLINE=no
2120 DEFAULT_wxUSE_STATTEXT=no
2121 DEFAULT_wxUSE_STATUSBAR=yes
2122 DEFAULT_wxUSE_TABDIALOG=no
2123 DEFAULT_wxUSE_TEXTCTRL=no
2124 DEFAULT_wxUSE_TOGGLEBTN=no
2125 DEFAULT_wxUSE_TOOLBAR=no
2126 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2127 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2128 DEFAULT_wxUSE_TREECTRL=no
2129 DEFAULT_wxUSE_POPUPWIN=no
2130 DEFAULT_wxUSE_TIPWINDOW=no
2131
2132 DEFAULT_wxUSE_UNICODE=no
2133 DEFAULT_wxUSE_UNICODE_MSLU=no
2134 DEFAULT_wxUSE_WCSRTOMBS=no
2135
2136 DEFAULT_wxUSE_PALETTE=no
2137 DEFAULT_wxUSE_IMAGE=no
2138 DEFAULT_wxUSE_GIF=no
2139 DEFAULT_wxUSE_PCX=no
2140 DEFAULT_wxUSE_PNM=no
2141 DEFAULT_wxUSE_IFF=no
2142 DEFAULT_wxUSE_XPM=no
2143 DEFAULT_wxUSE_ICO_CUR=no
2144 DEFAULT_wxUSE_ACCESSIBILITY=no
2145
2146 DEFAULT_wxUSE_MONOLITHIC=no
2147 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2148else
2149 DEFAULT_wxUSE_UNIVERSAL=no
2150 DEFAULT_wxUSE_STL=no
2151
2152 DEFAULT_wxUSE_NANOX=no
2153
2154 DEFAULT_wxUSE_THREADS=yes
2155
2156 DEFAULT_wxUSE_SHARED=yes
2157 DEFAULT_wxUSE_OPTIMISE=yes
2158 DEFAULT_wxUSE_PROFILE=no
2159 DEFAULT_wxUSE_NO_DEPS=no
2160 DEFAULT_wxUSE_NO_RTTI=no
2161 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2162 DEFAULT_wxUSE_PERMISSIVE=no
2163 DEFAULT_wxUSE_DEBUG_FLAG=no
2164 DEFAULT_wxUSE_DEBUG_INFO=no
2165 DEFAULT_wxUSE_DEBUG_GDB=no
2166 DEFAULT_wxUSE_MEM_TRACING=no
2167 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2168 DEFAULT_wxUSE_DMALLOC=no
2169 DEFAULT_wxUSE_APPLE_IEEE=yes
2170
2171 DEFAULT_wxUSE_EXCEPTIONS=yes
2172 DEFAULT_wxUSE_LOG=yes
2173 DEFAULT_wxUSE_LOGWINDOW=yes
2174 DEFAULT_wxUSE_LOGGUI=yes
2175 DEFAULT_wxUSE_LOGDIALOG=yes
2176
2177 DEFAULT_wxUSE_GUI=yes
2178
2179 DEFAULT_wxUSE_REGEX=yes
2180 DEFAULT_wxUSE_XML=yes
2181 DEFAULT_wxUSE_EXPAT=yes
2182 DEFAULT_wxUSE_ZLIB=yes
2183 DEFAULT_wxUSE_LIBPNG=yes
2184 DEFAULT_wxUSE_LIBJPEG=yes
2185 DEFAULT_wxUSE_LIBTIFF=yes
2186 DEFAULT_wxUSE_ODBC=no
2187 DEFAULT_wxUSE_OPENGL=no
2188
2189 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2190 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2191 DEFAULT_wxUSE_STD_IOSTREAM=no
2192 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2193 DEFAULT_wxUSE_DATETIME=yes
2194 DEFAULT_wxUSE_TIMER=yes
2195 DEFAULT_wxUSE_STOPWATCH=yes
2196 DEFAULT_wxUSE_FILE=yes
2197 DEFAULT_wxUSE_FFILE=yes
2198 DEFAULT_wxUSE_TEXTBUFFER=yes
2199 DEFAULT_wxUSE_TEXTFILE=yes
2200 DEFAULT_wxUSE_WAVE=no
2201 DEFAULT_wxUSE_INTL=yes
2202 DEFAULT_wxUSE_CONFIG=yes
2203 DEFAULT_wxUSE_FONTMAP=yes
2204 DEFAULT_wxUSE_STREAMS=yes
2205 DEFAULT_wxUSE_SOCKETS=yes
2206 DEFAULT_wxUSE_OLE=yes
2207 DEFAULT_wxUSE_DATAOBJ=yes
2208 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2209 DEFAULT_wxUSE_JOYSTICK=yes
2210 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2211 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2212 DEFAULT_wxUSE_LONGLONG=yes
2213 DEFAULT_wxUSE_GEOMETRY=yes
2214
2215 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2216 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2217 DEFAULT_wxUSE_POSTSCRIPT=yes
2218
2219 DEFAULT_wxUSE_CLIPBOARD=yes
2220 DEFAULT_wxUSE_TOOLTIPS=yes
2221 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2222 DEFAULT_wxUSE_DRAGIMAGE=yes
2223 DEFAULT_wxUSE_SPLINES=yes
2224
2225 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2226 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2227 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2228
2229 DEFAULT_wxUSE_RESOURCES=no
2230 DEFAULT_wxUSE_CONSTRAINTS=yes
2231 DEFAULT_wxUSE_IPC=yes
2232 DEFAULT_wxUSE_HELP=yes
2233 DEFAULT_wxUSE_MS_HTML_HELP=yes
2234 DEFAULT_wxUSE_WXHTML_HELP=yes
2235 DEFAULT_wxUSE_TREELAYOUT=yes
2236 DEFAULT_wxUSE_METAFILE=yes
2237 DEFAULT_wxUSE_MIMETYPE=yes
2238 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2239 DEFAULT_wxUSE_PROTOCOL=yes
2240 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2241 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2242 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2243 DEFAULT_wxUSE_URL=yes
2244
2245 DEFAULT_wxUSE_COMMONDLGS=yes
2246 DEFAULT_wxUSE_CHOICEDLG=yes
2247 DEFAULT_wxUSE_COLOURDLG=yes
2248 DEFAULT_wxUSE_DIRDLG=yes
2249 DEFAULT_wxUSE_FILEDLG=yes
2250 DEFAULT_wxUSE_FINDREPLDLG=yes
2251 DEFAULT_wxUSE_FONTDLG=yes
2252 DEFAULT_wxUSE_MSGDLG=yes
2253 DEFAULT_wxUSE_NUMBERDLG=yes
2254 DEFAULT_wxUSE_TEXTDLG=yes
2255 DEFAULT_wxUSE_SPLASH=yes
2256 DEFAULT_wxUSE_STARTUP_TIPS=yes
2257 DEFAULT_wxUSE_PROGRESSDLG=yes
2258 DEFAULT_wxUSE_WIZARDDLG=yes
2259
2260 DEFAULT_wxUSE_MENUS=yes
2261 DEFAULT_wxUSE_MINIFRAME=yes
2262 DEFAULT_wxUSE_HTML=yes
2263 DEFAULT_wxUSE_FILESYSTEM=yes
2264 DEFAULT_wxUSE_FS_INET=yes
2265 DEFAULT_wxUSE_FS_ZIP=yes
2266 DEFAULT_wxUSE_BUSYINFO=yes
2267 DEFAULT_wxUSE_ZIPSTREAM=yes
2268 DEFAULT_wxUSE_GZSTREAM=yes
2269 DEFAULT_wxUSE_VALIDATORS=yes
2270
2271 DEFAULT_wxUSE_ACCEL=yes
2272 DEFAULT_wxUSE_BUTTON=yes
2273 DEFAULT_wxUSE_BMPBUTTON=yes
2274 DEFAULT_wxUSE_CALCTRL=yes
2275 DEFAULT_wxUSE_CARET=yes
2276 DEFAULT_wxUSE_CHECKBOX=yes
2277 DEFAULT_wxUSE_CHECKLST=yes
2278 DEFAULT_wxUSE_CHOICE=yes
2279 DEFAULT_wxUSE_COMBOBOX=yes
2280 DEFAULT_wxUSE_DISPLAY=no
2281 DEFAULT_wxUSE_GAUGE=yes
2282 DEFAULT_wxUSE_GRID=yes
2283 DEFAULT_wxUSE_IMAGLIST=yes
2284 DEFAULT_wxUSE_LISTBOOK=yes
2285 DEFAULT_wxUSE_LISTBOX=yes
2286 DEFAULT_wxUSE_LISTCTRL=yes
2287 DEFAULT_wxUSE_NOTEBOOK=yes
2288 DEFAULT_wxUSE_RADIOBOX=yes
2289 DEFAULT_wxUSE_RADIOBTN=yes
2290 DEFAULT_wxUSE_SASH=yes
2291 DEFAULT_wxUSE_SCROLLBAR=yes
2292 DEFAULT_wxUSE_SLIDER=yes
2293 DEFAULT_wxUSE_SPINBTN=yes
2294 DEFAULT_wxUSE_SPINCTRL=yes
2295 DEFAULT_wxUSE_SPLITTER=yes
2296 DEFAULT_wxUSE_STATBMP=yes
2297 DEFAULT_wxUSE_STATBOX=yes
2298 DEFAULT_wxUSE_STATLINE=yes
2299 DEFAULT_wxUSE_STATTEXT=yes
2300 DEFAULT_wxUSE_STATUSBAR=yes
2301 DEFAULT_wxUSE_TABDIALOG=no
2302 DEFAULT_wxUSE_TEXTCTRL=yes
2303 DEFAULT_wxUSE_TOGGLEBTN=yes
2304 DEFAULT_wxUSE_TOOLBAR=yes
2305 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2306 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2307 DEFAULT_wxUSE_TREECTRL=yes
2308 DEFAULT_wxUSE_POPUPWIN=yes
2309 DEFAULT_wxUSE_TIPWINDOW=yes
2310
2311 DEFAULT_wxUSE_UNICODE=no
2312 DEFAULT_wxUSE_UNICODE_MSLU=yes
2313 DEFAULT_wxUSE_WCSRTOMBS=no
2314
2315 DEFAULT_wxUSE_PALETTE=yes
2316 DEFAULT_wxUSE_IMAGE=yes
2317 DEFAULT_wxUSE_GIF=yes
2318 DEFAULT_wxUSE_PCX=yes
2319 DEFAULT_wxUSE_IFF=no
2320 DEFAULT_wxUSE_PNM=yes
2321 DEFAULT_wxUSE_XPM=yes
2322 DEFAULT_wxUSE_ICO_CUR=yes
2323 DEFAULT_wxUSE_ACCESSIBILITY=no
2324
2325 DEFAULT_wxUSE_MONOLITHIC=no
2326 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2327fi
2328
2329
2330
2331for toolkit in `echo $ALL_TOOLKITS`; do
2332 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2333 if test "x$LINE" != "x" ; then
2334 has_toolkit_in_cache=1
2335 eval "DEFAULT_$LINE"
2336 eval "CACHE_$toolkit=1"
2337 fi
2338done
2339
2340
2341
2342 enablestring=
2343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2344echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2345 no_cache=0
2346 # Check whether --enable-gui or --disable-gui was given.
2347if test "${enable_gui+set}" = set; then
2348 enableval="$enable_gui"
2349
2350 if test "$enableval" = yes; then
2351 ac_cv_use_gui='wxUSE_GUI=yes'
2352 else
2353 ac_cv_use_gui='wxUSE_GUI=no'
2354 fi
2355
2356else
2357
2358 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2359 if test "x$LINE" != x ; then
2360 eval "DEFAULT_$LINE"
2361 else
2362 no_cache=1
2363 fi
2364
2365 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2366
2367fi;
2368
2369 eval "$ac_cv_use_gui"
2370 if test "$no_cache" != 1; then
2371 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2372 fi
2373
2374 if test "$wxUSE_GUI" = yes; then
2375 echo "$as_me:$LINENO: result: yes" >&5
2376echo "${ECHO_T}yes" >&6
2377 else
2378 echo "$as_me:$LINENO: result: no" >&5
2379echo "${ECHO_T}no" >&6
2380 fi
2381
2382
2383 enablestring=
2384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2385echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2386 no_cache=0
2387 # Check whether --enable-monolithic or --disable-monolithic was given.
2388if test "${enable_monolithic+set}" = set; then
2389 enableval="$enable_monolithic"
2390
2391 if test "$enableval" = yes; then
2392 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2393 else
2394 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2395 fi
2396
2397else
2398
2399 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2400 if test "x$LINE" != x ; then
2401 eval "DEFAULT_$LINE"
2402 else
2403 no_cache=1
2404 fi
2405
2406 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2407
2408fi;
2409
2410 eval "$ac_cv_use_monolithic"
2411 if test "$no_cache" != 1; then
2412 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2413 fi
2414
2415 if test "$wxUSE_MONOLITHIC" = yes; then
2416 echo "$as_me:$LINENO: result: yes" >&5
2417echo "${ECHO_T}yes" >&6
2418 else
2419 echo "$as_me:$LINENO: result: no" >&5
2420echo "${ECHO_T}no" >&6
2421 fi
2422
2423
2424if test "$wxUSE_GUI" = "yes"; then
2425
2426
2427 enablestring=
2428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2429echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2430 no_cache=0
2431 # Check whether --enable-universal or --disable-universal was given.
2432if test "${enable_universal+set}" = set; then
2433 enableval="$enable_universal"
2434
2435 if test "$enableval" = yes; then
2436 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2437 else
2438 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2439 fi
2440
2441else
2442
2443 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2444 if test "x$LINE" != x ; then
2445 eval "DEFAULT_$LINE"
2446 else
2447 no_cache=1
2448 fi
2449
2450 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2451
2452fi;
2453
2454 eval "$ac_cv_use_universal"
2455 if test "$no_cache" != 1; then
2456 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2457 fi
2458
2459 if test "$wxUSE_UNIVERSAL" = yes; then
2460 echo "$as_me:$LINENO: result: yes" >&5
2461echo "${ECHO_T}yes" >&6
2462 else
2463 echo "$as_me:$LINENO: result: no" >&5
2464echo "${ECHO_T}no" >&6
2465 fi
2466
2467
2468# Check whether --with-gtk or --without-gtk was given.
2469if test "${with_gtk+set}" = set; then
2470 withval="$with_gtk"
2471 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2472fi;
2473
2474# Check whether --with-motif or --without-motif was given.
2475if test "${with_motif+set}" = set; then
2476 withval="$with_motif"
2477 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2478fi;
2479
2480# Check whether --with-mac or --without-mac was given.
2481if test "${with_mac+set}" = set; then
2482 withval="$with_mac"
2483 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2484fi;
2485
2486# Check whether --with-cocoa or --without-cocoa was given.
2487if test "${with_cocoa+set}" = set; then
2488 withval="$with_cocoa"
2489 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2490fi;
2491
2492# Check whether --with-wine or --without-wine was given.
2493if test "${with_wine+set}" = set; then
2494 withval="$with_wine"
2495 wxUSE_WINE="$withval" CACHE_WINE=1
2496fi;
2497
2498# Check whether --with-msw or --without-msw was given.
2499if test "${with_msw+set}" = set; then
2500 withval="$with_msw"
2501 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2502fi;
2503
2504# Check whether --with-pm or --without-pm was given.
2505if test "${with_pm+set}" = set; then
2506 withval="$with_pm"
2507 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2508fi;
2509
2510# Check whether --with-mgl or --without-mgl was given.
2511if test "${with_mgl+set}" = set; then
2512 withval="$with_mgl"
2513 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2514fi;
2515
2516# Check whether --with-microwin or --without-microwin was given.
2517if test "${with_microwin+set}" = set; then
2518 withval="$with_microwin"
2519 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2520fi;
2521
2522# Check whether --with-x11 or --without-x11 was given.
2523if test "${with_x11+set}" = set; then
2524 withval="$with_x11"
2525 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2526fi;
2527
2528 enablestring=
2529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2530echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2531 no_cache=0
2532 # Check whether --enable-nanox or --disable-nanox was given.
2533if test "${enable_nanox+set}" = set; then
2534 enableval="$enable_nanox"
2535
2536 if test "$enableval" = yes; then
2537 ac_cv_use_nanox='wxUSE_NANOX=yes'
2538 else
2539 ac_cv_use_nanox='wxUSE_NANOX=no'
2540 fi
2541
2542else
2543
2544 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2545 if test "x$LINE" != x ; then
2546 eval "DEFAULT_$LINE"
2547 else
2548 no_cache=1
2549 fi
2550
2551 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2552
2553fi;
2554
2555 eval "$ac_cv_use_nanox"
2556 if test "$no_cache" != 1; then
2557 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2558 fi
2559
2560 if test "$wxUSE_NANOX" = yes; then
2561 echo "$as_me:$LINENO: result: yes" >&5
2562echo "${ECHO_T}yes" >&6
2563 else
2564 echo "$as_me:$LINENO: result: no" >&5
2565echo "${ECHO_T}no" >&6
2566 fi
2567
2568
2569
2570 enablestring=
2571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2572echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2573 no_cache=0
2574 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2575if test "${enable_gtk2+set}" = set; then
2576 enableval="$enable_gtk2"
2577
2578 if test "$enableval" = yes; then
2579 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2580 else
2581 ac_cv_use_gtk2='wxUSE_GTK2=no'
2582 fi
2583
2584else
2585
2586 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2587 if test "x$LINE" != x ; then
2588 eval "DEFAULT_$LINE"
2589 else
2590 no_cache=1
2591 fi
2592
2593 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2594
2595fi;
2596
2597 eval "$ac_cv_use_gtk2"
2598 if test "$no_cache" != 1; then
2599 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2600 fi
2601
2602 if test "$wxUSE_GTK2" = yes; then
2603 echo "$as_me:$LINENO: result: yes" >&5
2604echo "${ECHO_T}yes" >&6
2605 else
2606 echo "$as_me:$LINENO: result: no" >&5
2607echo "${ECHO_T}no" >&6
2608 fi
2609
2610
2611
2612 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2613echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2614 no_cache=0
2615
2616# Check whether --with-libpng or --without-libpng was given.
2617if test "${with_libpng+set}" = set; then
2618 withval="$with_libpng"
2619
2620 if test "$withval" = yes; then
2621 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2622 elif test "$withval" = no; then
2623 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2624 elif test "$withval" = sys; then
2625 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2626 elif test "$withval" = builtin; then
2627 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2628 else
2629 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2630echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2631 { (exit 1); exit 1; }; }
2632 fi
2633
2634else
2635
2636 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2637 if test "x$LINE" != x ; then
2638 eval "DEFAULT_$LINE"
2639 else
2640 no_cache=1
2641 fi
2642
2643 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2644
2645fi;
2646
2647 eval "$ac_cv_use_libpng"
2648 if test "$no_cache" != 1; then
2649 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2650 fi
2651
2652 if test "$wxUSE_LIBPNG" = yes; then
2653 echo "$as_me:$LINENO: result: yes" >&5
2654echo "${ECHO_T}yes" >&6
2655 elif test "$wxUSE_LIBPNG" = no; then
2656 echo "$as_me:$LINENO: result: no" >&5
2657echo "${ECHO_T}no" >&6
2658 elif test "$wxUSE_LIBPNG" = sys; then
2659 echo "$as_me:$LINENO: result: system version" >&5
2660echo "${ECHO_T}system version" >&6
2661 elif test "$wxUSE_LIBPNG" = builtin; then
2662 echo "$as_me:$LINENO: result: builtin version" >&5
2663echo "${ECHO_T}builtin version" >&6
2664 else
2665 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2666echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2667 { (exit 1); exit 1; }; }
2668 fi
2669
2670
2671 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2672echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2673 no_cache=0
2674
2675# Check whether --with-libjpeg or --without-libjpeg was given.
2676if test "${with_libjpeg+set}" = set; then
2677 withval="$with_libjpeg"
2678
2679 if test "$withval" = yes; then
2680 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2681 elif test "$withval" = no; then
2682 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2683 elif test "$withval" = sys; then
2684 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2685 elif test "$withval" = builtin; then
2686 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2687 else
2688 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2689echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2690 { (exit 1); exit 1; }; }
2691 fi
2692
2693else
2694
2695 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2696 if test "x$LINE" != x ; then
2697 eval "DEFAULT_$LINE"
2698 else
2699 no_cache=1
2700 fi
2701
2702 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2703
2704fi;
2705
2706 eval "$ac_cv_use_libjpeg"
2707 if test "$no_cache" != 1; then
2708 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2709 fi
2710
2711 if test "$wxUSE_LIBJPEG" = yes; then
2712 echo "$as_me:$LINENO: result: yes" >&5
2713echo "${ECHO_T}yes" >&6
2714 elif test "$wxUSE_LIBJPEG" = no; then
2715 echo "$as_me:$LINENO: result: no" >&5
2716echo "${ECHO_T}no" >&6
2717 elif test "$wxUSE_LIBJPEG" = sys; then
2718 echo "$as_me:$LINENO: result: system version" >&5
2719echo "${ECHO_T}system version" >&6
2720 elif test "$wxUSE_LIBJPEG" = builtin; then
2721 echo "$as_me:$LINENO: result: builtin version" >&5
2722echo "${ECHO_T}builtin version" >&6
2723 else
2724 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2725echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2726 { (exit 1); exit 1; }; }
2727 fi
2728
2729
2730 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2731echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2732 no_cache=0
2733
2734# Check whether --with-libtiff or --without-libtiff was given.
2735if test "${with_libtiff+set}" = set; then
2736 withval="$with_libtiff"
2737
2738 if test "$withval" = yes; then
2739 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2740 elif test "$withval" = no; then
2741 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2742 elif test "$withval" = sys; then
2743 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2744 elif test "$withval" = builtin; then
2745 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2746 else
2747 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2748echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2749 { (exit 1); exit 1; }; }
2750 fi
2751
2752else
2753
2754 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2755 if test "x$LINE" != x ; then
2756 eval "DEFAULT_$LINE"
2757 else
2758 no_cache=1
2759 fi
2760
2761 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2762
2763fi;
2764
2765 eval "$ac_cv_use_libtiff"
2766 if test "$no_cache" != 1; then
2767 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2768 fi
2769
2770 if test "$wxUSE_LIBTIFF" = yes; then
2771 echo "$as_me:$LINENO: result: yes" >&5
2772echo "${ECHO_T}yes" >&6
2773 elif test "$wxUSE_LIBTIFF" = no; then
2774 echo "$as_me:$LINENO: result: no" >&5
2775echo "${ECHO_T}no" >&6
2776 elif test "$wxUSE_LIBTIFF" = sys; then
2777 echo "$as_me:$LINENO: result: system version" >&5
2778echo "${ECHO_T}system version" >&6
2779 elif test "$wxUSE_LIBTIFF" = builtin; then
2780 echo "$as_me:$LINENO: result: builtin version" >&5
2781echo "${ECHO_T}builtin version" >&6
2782 else
2783 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2784echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2785 { (exit 1); exit 1; }; }
2786 fi
2787
2788
2789 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2790echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2791 no_cache=0
2792
2793# Check whether --with-opengl or --without-opengl was given.
2794if test "${with_opengl+set}" = set; then
2795 withval="$with_opengl"
2796
2797 if test "$withval" = yes; then
2798 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2799 else
2800 ac_cv_use_opengl='wxUSE_OPENGL=no'
2801 fi
2802
2803else
2804
2805 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2806 if test "x$LINE" != x ; then
2807 eval "DEFAULT_$LINE"
2808 else
2809 no_cache=1
2810 fi
2811
2812 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2813
2814fi;
2815
2816 eval "$ac_cv_use_opengl"
2817 if test "$no_cache" != 1; then
2818 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2819 fi
2820
2821 if test "$wxUSE_OPENGL" = yes; then
2822 echo "$as_me:$LINENO: result: yes" >&5
2823echo "${ECHO_T}yes" >&6
2824 else
2825 echo "$as_me:$LINENO: result: no" >&5
2826echo "${ECHO_T}no" >&6
2827 fi
2828
2829
2830fi
2831
2832
2833 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2834echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2835 no_cache=0
2836
2837# Check whether --with-dmalloc or --without-dmalloc was given.
2838if test "${with_dmalloc+set}" = set; then
2839 withval="$with_dmalloc"
2840
2841 if test "$withval" = yes; then
2842 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2843 else
2844 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2845 fi
2846
2847else
2848
2849 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2850 if test "x$LINE" != x ; then
2851 eval "DEFAULT_$LINE"
2852 else
2853 no_cache=1
2854 fi
2855
2856 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2857
2858fi;
2859
2860 eval "$ac_cv_use_dmalloc"
2861 if test "$no_cache" != 1; then
2862 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2863 fi
2864
2865 if test "$wxUSE_DMALLOC" = yes; then
2866 echo "$as_me:$LINENO: result: yes" >&5
2867echo "${ECHO_T}yes" >&6
2868 else
2869 echo "$as_me:$LINENO: result: no" >&5
2870echo "${ECHO_T}no" >&6
2871 fi
2872
2873
2874 echo "$as_me:$LINENO: checking for --with-regex" >&5
2875echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2876 no_cache=0
2877
2878# Check whether --with-regex or --without-regex was given.
2879if test "${with_regex+set}" = set; then
2880 withval="$with_regex"
2881
2882 if test "$withval" = yes; then
2883 ac_cv_use_regex='wxUSE_REGEX=yes'
2884 elif test "$withval" = no; then
2885 ac_cv_use_regex='wxUSE_REGEX=no'
2886 elif test "$withval" = sys; then
2887 ac_cv_use_regex='wxUSE_REGEX=sys'
2888 elif test "$withval" = builtin; then
2889 ac_cv_use_regex='wxUSE_REGEX=builtin'
2890 else
2891 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2892echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2893 { (exit 1); exit 1; }; }
2894 fi
2895
2896else
2897
2898 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2899 if test "x$LINE" != x ; then
2900 eval "DEFAULT_$LINE"
2901 else
2902 no_cache=1
2903 fi
2904
2905 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2906
2907fi;
2908
2909 eval "$ac_cv_use_regex"
2910 if test "$no_cache" != 1; then
2911 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2912 fi
2913
2914 if test "$wxUSE_REGEX" = yes; then
2915 echo "$as_me:$LINENO: result: yes" >&5
2916echo "${ECHO_T}yes" >&6
2917 elif test "$wxUSE_REGEX" = no; then
2918 echo "$as_me:$LINENO: result: no" >&5
2919echo "${ECHO_T}no" >&6
2920 elif test "$wxUSE_REGEX" = sys; then
2921 echo "$as_me:$LINENO: result: system version" >&5
2922echo "${ECHO_T}system version" >&6
2923 elif test "$wxUSE_REGEX" = builtin; then
2924 echo "$as_me:$LINENO: result: builtin version" >&5
2925echo "${ECHO_T}builtin version" >&6
2926 else
2927 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2928echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2929 { (exit 1); exit 1; }; }
2930 fi
2931
2932
2933 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2934echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2935 no_cache=0
2936
2937# Check whether --with-zlib or --without-zlib was given.
2938if test "${with_zlib+set}" = set; then
2939 withval="$with_zlib"
2940
2941 if test "$withval" = yes; then
2942 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2943 elif test "$withval" = no; then
2944 ac_cv_use_zlib='wxUSE_ZLIB=no'
2945 elif test "$withval" = sys; then
2946 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2947 elif test "$withval" = builtin; then
2948 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2949 else
2950 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2951echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2952 { (exit 1); exit 1; }; }
2953 fi
2954
2955else
2956
2957 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2958 if test "x$LINE" != x ; then
2959 eval "DEFAULT_$LINE"
2960 else
2961 no_cache=1
2962 fi
2963
2964 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2965
2966fi;
2967
2968 eval "$ac_cv_use_zlib"
2969 if test "$no_cache" != 1; then
2970 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2971 fi
2972
2973 if test "$wxUSE_ZLIB" = yes; then
2974 echo "$as_me:$LINENO: result: yes" >&5
2975echo "${ECHO_T}yes" >&6
2976 elif test "$wxUSE_ZLIB" = no; then
2977 echo "$as_me:$LINENO: result: no" >&5
2978echo "${ECHO_T}no" >&6
2979 elif test "$wxUSE_ZLIB" = sys; then
2980 echo "$as_me:$LINENO: result: system version" >&5
2981echo "${ECHO_T}system version" >&6
2982 elif test "$wxUSE_ZLIB" = builtin; then
2983 echo "$as_me:$LINENO: result: builtin version" >&5
2984echo "${ECHO_T}builtin version" >&6
2985 else
2986 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2987echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2988 { (exit 1); exit 1; }; }
2989 fi
2990
2991
2992 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2993echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2994 no_cache=0
2995
2996# Check whether --with-odbc or --without-odbc was given.
2997if test "${with_odbc+set}" = set; then
2998 withval="$with_odbc"
2999
3000 if test "$withval" = yes; then
3001 ac_cv_use_odbc='wxUSE_ODBC=yes'
3002 elif test "$withval" = no; then
3003 ac_cv_use_odbc='wxUSE_ODBC=no'
3004 elif test "$withval" = sys; then
3005 ac_cv_use_odbc='wxUSE_ODBC=sys'
3006 elif test "$withval" = builtin; then
3007 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3008 else
3009 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3010echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3011 { (exit 1); exit 1; }; }
3012 fi
3013
3014else
3015
3016 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3017 if test "x$LINE" != x ; then
3018 eval "DEFAULT_$LINE"
3019 else
3020 no_cache=1
3021 fi
3022
3023 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3024
3025fi;
3026
3027 eval "$ac_cv_use_odbc"
3028 if test "$no_cache" != 1; then
3029 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3030 fi
3031
3032 if test "$wxUSE_ODBC" = yes; then
3033 echo "$as_me:$LINENO: result: yes" >&5
3034echo "${ECHO_T}yes" >&6
3035 elif test "$wxUSE_ODBC" = no; then
3036 echo "$as_me:$LINENO: result: no" >&5
3037echo "${ECHO_T}no" >&6
3038 elif test "$wxUSE_ODBC" = sys; then
3039 echo "$as_me:$LINENO: result: system version" >&5
3040echo "${ECHO_T}system version" >&6
3041 elif test "$wxUSE_ODBC" = builtin; then
3042 echo "$as_me:$LINENO: result: builtin version" >&5
3043echo "${ECHO_T}builtin version" >&6
3044 else
3045 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3046echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3047 { (exit 1); exit 1; }; }
3048 fi
3049
3050
3051 echo "$as_me:$LINENO: checking for --with-expat" >&5
3052echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3053 no_cache=0
3054
3055# Check whether --with-expat or --without-expat was given.
3056if test "${with_expat+set}" = set; then
3057 withval="$with_expat"
3058
3059 if test "$withval" = yes; then
3060 ac_cv_use_expat='wxUSE_EXPAT=yes'
3061 elif test "$withval" = no; then
3062 ac_cv_use_expat='wxUSE_EXPAT=no'
3063 elif test "$withval" = sys; then
3064 ac_cv_use_expat='wxUSE_EXPAT=sys'
3065 elif test "$withval" = builtin; then
3066 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3067 else
3068 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3069echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3070 { (exit 1); exit 1; }; }
3071 fi
3072
3073else
3074
3075 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3076 if test "x$LINE" != x ; then
3077 eval "DEFAULT_$LINE"
3078 else
3079 no_cache=1
3080 fi
3081
3082 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3083
3084fi;
3085
3086 eval "$ac_cv_use_expat"
3087 if test "$no_cache" != 1; then
3088 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3089 fi
3090
3091 if test "$wxUSE_EXPAT" = yes; then
3092 echo "$as_me:$LINENO: result: yes" >&5
3093echo "${ECHO_T}yes" >&6
3094 elif test "$wxUSE_EXPAT" = no; then
3095 echo "$as_me:$LINENO: result: no" >&5
3096echo "${ECHO_T}no" >&6
3097 elif test "$wxUSE_EXPAT" = sys; then
3098 echo "$as_me:$LINENO: result: system version" >&5
3099echo "${ECHO_T}system version" >&6
3100 elif test "$wxUSE_EXPAT" = builtin; then
3101 echo "$as_me:$LINENO: result: builtin version" >&5
3102echo "${ECHO_T}builtin version" >&6
3103 else
3104 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3105echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3106 { (exit 1); exit 1; }; }
3107 fi
3108
3109
3110
3111
3112 enablestring=
3113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3114echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3115 no_cache=0
3116 # Check whether --enable-shared or --disable-shared was given.
3117if test "${enable_shared+set}" = set; then
3118 enableval="$enable_shared"
3119
3120 if test "$enableval" = yes; then
3121 ac_cv_use_shared='wxUSE_SHARED=yes'
3122 else
3123 ac_cv_use_shared='wxUSE_SHARED=no'
3124 fi
3125
3126else
3127
3128 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3129 if test "x$LINE" != x ; then
3130 eval "DEFAULT_$LINE"
3131 else
3132 no_cache=1
3133 fi
3134
3135 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3136
3137fi;
3138
3139 eval "$ac_cv_use_shared"
3140 if test "$no_cache" != 1; then
3141 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3142 fi
3143
3144 if test "$wxUSE_SHARED" = yes; then
3145 echo "$as_me:$LINENO: result: yes" >&5
3146echo "${ECHO_T}yes" >&6
3147 else
3148 echo "$as_me:$LINENO: result: no" >&5
3149echo "${ECHO_T}no" >&6
3150 fi
3151
3152
3153 enablestring=
3154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3155echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3156 no_cache=0
3157 # Check whether --enable-optimise or --disable-optimise was given.
3158if test "${enable_optimise+set}" = set; then
3159 enableval="$enable_optimise"
3160
3161 if test "$enableval" = yes; then
3162 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3163 else
3164 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3165 fi
3166
3167else
3168
3169 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3170 if test "x$LINE" != x ; then
3171 eval "DEFAULT_$LINE"
3172 else
3173 no_cache=1
3174 fi
3175
3176 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3177
3178fi;
3179
3180 eval "$ac_cv_use_optimise"
3181 if test "$no_cache" != 1; then
3182 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3183 fi
3184
3185 if test "$wxUSE_OPTIMISE" = yes; then
3186 echo "$as_me:$LINENO: result: yes" >&5
3187echo "${ECHO_T}yes" >&6
3188 else
3189 echo "$as_me:$LINENO: result: no" >&5
3190echo "${ECHO_T}no" >&6
3191 fi
3192
3193
3194 enablestring=
3195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3196echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3197 no_cache=0
3198 # Check whether --enable-debug or --disable-debug was given.
3199if test "${enable_debug+set}" = set; then
3200 enableval="$enable_debug"
3201
3202 if test "$enableval" = yes; then
3203 ac_cv_use_debug='wxUSE_DEBUG=yes'
3204 else
3205 ac_cv_use_debug='wxUSE_DEBUG=no'
3206 fi
3207
3208else
3209
3210 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3211 if test "x$LINE" != x ; then
3212 eval "DEFAULT_$LINE"
3213 else
3214 no_cache=1
3215 fi
3216
3217 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3218
3219fi;
3220
3221 eval "$ac_cv_use_debug"
3222 if test "$no_cache" != 1; then
3223 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3224 fi
3225
3226 if test "$wxUSE_DEBUG" = yes; then
3227 echo "$as_me:$LINENO: result: yes" >&5
3228echo "${ECHO_T}yes" >&6
3229 else
3230 echo "$as_me:$LINENO: result: no" >&5
3231echo "${ECHO_T}no" >&6
3232 fi
3233
3234
3235 enablestring=
3236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3237echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3238 no_cache=0
3239 # Check whether --enable-stl or --disable-stl was given.
3240if test "${enable_stl+set}" = set; then
3241 enableval="$enable_stl"
3242
3243 if test "$enableval" = yes; then
3244 ac_cv_use_stl='wxUSE_STL=yes'
3245 else
3246 ac_cv_use_stl='wxUSE_STL=no'
3247 fi
3248
3249else
3250
3251 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3252 if test "x$LINE" != x ; then
3253 eval "DEFAULT_$LINE"
3254 else
3255 no_cache=1
3256 fi
3257
3258 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3259
3260fi;
3261
3262 eval "$ac_cv_use_stl"
3263 if test "$no_cache" != 1; then
3264 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3265 fi
3266
3267 if test "$wxUSE_STL" = yes; then
3268 echo "$as_me:$LINENO: result: yes" >&5
3269echo "${ECHO_T}yes" >&6
3270 else
3271 echo "$as_me:$LINENO: result: no" >&5
3272echo "${ECHO_T}no" >&6
3273 fi
3274
3275
3276if test "$wxUSE_DEBUG" = "yes"; then
3277 DEFAULT_wxUSE_DEBUG_FLAG=yes
3278 DEFAULT_wxUSE_DEBUG_INFO=yes
3279 BUILD=debug
3280elif test "$wxUSE_DEBUG" = "no"; then
3281 DEFAULT_wxUSE_DEBUG_FLAG=no
3282 DEFAULT_wxUSE_DEBUG_INFO=no
3283 BUILD=release
3284fi
3285
3286
3287 enablestring=
3288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3289echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3290 no_cache=0
3291 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3292if test "${enable_debug_flag+set}" = set; then
3293 enableval="$enable_debug_flag"
3294
3295 if test "$enableval" = yes; then
3296 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3297 else
3298 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3299 fi
3300
3301else
3302
3303 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3304 if test "x$LINE" != x ; then
3305 eval "DEFAULT_$LINE"
3306 else
3307 no_cache=1
3308 fi
3309
3310 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3311
3312fi;
3313
3314 eval "$ac_cv_use_debug_flag"
3315 if test "$no_cache" != 1; then
3316 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3317 fi
3318
3319 if test "$wxUSE_DEBUG_FLAG" = yes; then
3320 echo "$as_me:$LINENO: result: yes" >&5
3321echo "${ECHO_T}yes" >&6
3322 else
3323 echo "$as_me:$LINENO: result: no" >&5
3324echo "${ECHO_T}no" >&6
3325 fi
3326
3327
3328 enablestring=
3329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3330echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3331 no_cache=0
3332 # Check whether --enable-debug_info or --disable-debug_info was given.
3333if test "${enable_debug_info+set}" = set; then
3334 enableval="$enable_debug_info"
3335
3336 if test "$enableval" = yes; then
3337 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3338 else
3339 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3340 fi
3341
3342else
3343
3344 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3345 if test "x$LINE" != x ; then
3346 eval "DEFAULT_$LINE"
3347 else
3348 no_cache=1
3349 fi
3350
3351 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3352
3353fi;
3354
3355 eval "$ac_cv_use_debug_info"
3356 if test "$no_cache" != 1; then
3357 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3358 fi
3359
3360 if test "$wxUSE_DEBUG_INFO" = yes; then
3361 echo "$as_me:$LINENO: result: yes" >&5
3362echo "${ECHO_T}yes" >&6
3363 else
3364 echo "$as_me:$LINENO: result: no" >&5
3365echo "${ECHO_T}no" >&6
3366 fi
3367
3368
3369 enablestring=
3370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3371echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3372 no_cache=0
3373 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3374if test "${enable_debug_gdb+set}" = set; then
3375 enableval="$enable_debug_gdb"
3376
3377 if test "$enableval" = yes; then
3378 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3379 else
3380 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3381 fi
3382
3383else
3384
3385 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3386 if test "x$LINE" != x ; then
3387 eval "DEFAULT_$LINE"
3388 else
3389 no_cache=1
3390 fi
3391
3392 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3393
3394fi;
3395
3396 eval "$ac_cv_use_debug_gdb"
3397 if test "$no_cache" != 1; then
3398 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3399 fi
3400
3401 if test "$wxUSE_DEBUG_GDB" = yes; then
3402 echo "$as_me:$LINENO: result: yes" >&5
3403echo "${ECHO_T}yes" >&6
3404 else
3405 echo "$as_me:$LINENO: result: no" >&5
3406echo "${ECHO_T}no" >&6
3407 fi
3408
3409
3410 enablestring=
3411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3412echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3413 no_cache=0
3414 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3415if test "${enable_debug_cntxt+set}" = set; then
3416 enableval="$enable_debug_cntxt"
3417
3418 if test "$enableval" = yes; then
3419 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3420 else
3421 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3422 fi
3423
3424else
3425
3426 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3427 if test "x$LINE" != x ; then
3428 eval "DEFAULT_$LINE"
3429 else
3430 no_cache=1
3431 fi
3432
3433 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3434
3435fi;
3436
3437 eval "$ac_cv_use_debug_cntxt"
3438 if test "$no_cache" != 1; then
3439 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3440 fi
3441
3442 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3443 echo "$as_me:$LINENO: result: yes" >&5
3444echo "${ECHO_T}yes" >&6
3445 else
3446 echo "$as_me:$LINENO: result: no" >&5
3447echo "${ECHO_T}no" >&6
3448 fi
3449
3450
3451 enablestring=
3452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3453echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3454 no_cache=0
3455 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3456if test "${enable_mem_tracing+set}" = set; then
3457 enableval="$enable_mem_tracing"
3458
3459 if test "$enableval" = yes; then
3460 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3461 else
3462 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3463 fi
3464
3465else
3466
3467 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3468 if test "x$LINE" != x ; then
3469 eval "DEFAULT_$LINE"
3470 else
3471 no_cache=1
3472 fi
3473
3474 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3475
3476fi;
3477
3478 eval "$ac_cv_use_mem_tracing"
3479 if test "$no_cache" != 1; then
3480 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3481 fi
3482
3483 if test "$wxUSE_MEM_TRACING" = yes; then
3484 echo "$as_me:$LINENO: result: yes" >&5
3485echo "${ECHO_T}yes" >&6
3486 else
3487 echo "$as_me:$LINENO: result: no" >&5
3488echo "${ECHO_T}no" >&6
3489 fi
3490
3491
3492 enablestring=
3493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3494echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3495 no_cache=0
3496 # Check whether --enable-profile or --disable-profile was given.
3497if test "${enable_profile+set}" = set; then
3498 enableval="$enable_profile"
3499
3500 if test "$enableval" = yes; then
3501 ac_cv_use_profile='wxUSE_PROFILE=yes'
3502 else
3503 ac_cv_use_profile='wxUSE_PROFILE=no'
3504 fi
3505
3506else
3507
3508 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3509 if test "x$LINE" != x ; then
3510 eval "DEFAULT_$LINE"
3511 else
3512 no_cache=1
3513 fi
3514
3515 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3516
3517fi;
3518
3519 eval "$ac_cv_use_profile"
3520 if test "$no_cache" != 1; then
3521 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3522 fi
3523
3524 if test "$wxUSE_PROFILE" = yes; then
3525 echo "$as_me:$LINENO: result: yes" >&5
3526echo "${ECHO_T}yes" >&6
3527 else
3528 echo "$as_me:$LINENO: result: no" >&5
3529echo "${ECHO_T}no" >&6
3530 fi
3531
3532
3533 enablestring=
3534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3535echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3536 no_cache=0
3537 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3538if test "${enable_no_rtti+set}" = set; then
3539 enableval="$enable_no_rtti"
3540
3541 if test "$enableval" = yes; then
3542 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3543 else
3544 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3545 fi
3546
3547else
3548
3549 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3550 if test "x$LINE" != x ; then
3551 eval "DEFAULT_$LINE"
3552 else
3553 no_cache=1
3554 fi
3555
3556 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3557
3558fi;
3559
3560 eval "$ac_cv_use_no_rtti"
3561 if test "$no_cache" != 1; then
3562 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3563 fi
3564
3565 if test "$wxUSE_NO_RTTI" = yes; then
3566 echo "$as_me:$LINENO: result: yes" >&5
3567echo "${ECHO_T}yes" >&6
3568 else
3569 echo "$as_me:$LINENO: result: no" >&5
3570echo "${ECHO_T}no" >&6
3571 fi
3572
3573
3574 enablestring=
3575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3576echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3577 no_cache=0
3578 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3579if test "${enable_no_exceptions+set}" = set; then
3580 enableval="$enable_no_exceptions"
3581
3582 if test "$enableval" = yes; then
3583 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3584 else
3585 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3586 fi
3587
3588else
3589
3590 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3591 if test "x$LINE" != x ; then
3592 eval "DEFAULT_$LINE"
3593 else
3594 no_cache=1
3595 fi
3596
3597 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3598
3599fi;
3600
3601 eval "$ac_cv_use_no_exceptions"
3602 if test "$no_cache" != 1; then
3603 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3604 fi
3605
3606 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3607 echo "$as_me:$LINENO: result: yes" >&5
3608echo "${ECHO_T}yes" >&6
3609 else
3610 echo "$as_me:$LINENO: result: no" >&5
3611echo "${ECHO_T}no" >&6
3612 fi
3613
3614
3615 enablestring=
3616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3617echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3618 no_cache=0
3619 # Check whether --enable-permissive or --disable-permissive was given.
3620if test "${enable_permissive+set}" = set; then
3621 enableval="$enable_permissive"
3622
3623 if test "$enableval" = yes; then
3624 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3625 else
3626 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3627 fi
3628
3629else
3630
3631 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3632 if test "x$LINE" != x ; then
3633 eval "DEFAULT_$LINE"
3634 else
3635 no_cache=1
3636 fi
3637
3638 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3639
3640fi;
3641
3642 eval "$ac_cv_use_permissive"
3643 if test "$no_cache" != 1; then
3644 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3645 fi
3646
3647 if test "$wxUSE_PERMISSIVE" = yes; then
3648 echo "$as_me:$LINENO: result: yes" >&5
3649echo "${ECHO_T}yes" >&6
3650 else
3651 echo "$as_me:$LINENO: result: no" >&5
3652echo "${ECHO_T}no" >&6
3653 fi
3654
3655
3656 enablestring=
3657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3658echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3659 no_cache=0
3660 # Check whether --enable-no_deps or --disable-no_deps was given.
3661if test "${enable_no_deps+set}" = set; then
3662 enableval="$enable_no_deps"
3663
3664 if test "$enableval" = yes; then
3665 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3666 else
3667 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3668 fi
3669
3670else
3671
3672 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3673 if test "x$LINE" != x ; then
3674 eval "DEFAULT_$LINE"
3675 else
3676 no_cache=1
3677 fi
3678
3679 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3680
3681fi;
3682
3683 eval "$ac_cv_use_no_deps"
3684 if test "$no_cache" != 1; then
3685 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3686 fi
3687
3688 if test "$wxUSE_NO_DEPS" = yes; then
3689 echo "$as_me:$LINENO: result: yes" >&5
3690echo "${ECHO_T}yes" >&6
3691 else
3692 echo "$as_me:$LINENO: result: no" >&5
3693echo "${ECHO_T}no" >&6
3694 fi
3695
3696
3697
3698 enablestring=
3699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3700echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3701 no_cache=0
3702 # Check whether --enable-compat22 or --disable-compat22 was given.
3703if test "${enable_compat22+set}" = set; then
3704 enableval="$enable_compat22"
3705
3706 if test "$enableval" = yes; then
3707 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3708 else
3709 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3710 fi
3711
3712else
3713
3714 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3715 if test "x$LINE" != x ; then
3716 eval "DEFAULT_$LINE"
3717 else
3718 no_cache=1
3719 fi
3720
3721 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3722
3723fi;
3724
3725 eval "$ac_cv_use_compat22"
3726 if test "$no_cache" != 1; then
3727 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3728 fi
3729
3730 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3731 echo "$as_me:$LINENO: result: yes" >&5
3732echo "${ECHO_T}yes" >&6
3733 else
3734 echo "$as_me:$LINENO: result: no" >&5
3735echo "${ECHO_T}no" >&6
3736 fi
3737
3738
3739 enablestring=disable
3740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3741echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3742 no_cache=0
3743 # Check whether --enable-compat24 or --disable-compat24 was given.
3744if test "${enable_compat24+set}" = set; then
3745 enableval="$enable_compat24"
3746
3747 if test "$enableval" = yes; then
3748 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3749 else
3750 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3751 fi
3752
3753else
3754
3755 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3756 if test "x$LINE" != x ; then
3757 eval "DEFAULT_$LINE"
3758 else
3759 no_cache=1
3760 fi
3761
3762 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3763
3764fi;
3765
3766 eval "$ac_cv_use_compat24"
3767 if test "$no_cache" != 1; then
3768 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3769 fi
3770
3771 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3772 echo "$as_me:$LINENO: result: yes" >&5
3773echo "${ECHO_T}yes" >&6
3774 else
3775 echo "$as_me:$LINENO: result: no" >&5
3776echo "${ECHO_T}no" >&6
3777 fi
3778
3779
3780# Check whether --enable-rpath or --disable-rpath was given.
3781if test "${enable_rpath+set}" = set; then
3782 enableval="$enable_rpath"
3783 wxRPATH_DIR="$enableval"
3784fi;
3785
3786if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3787 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3788fi
3789
3790
3791
3792
3793 enablestring=
3794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3795echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3796 no_cache=0
3797 # Check whether --enable-intl or --disable-intl was given.
3798if test "${enable_intl+set}" = set; then
3799 enableval="$enable_intl"
3800
3801 if test "$enableval" = yes; then
3802 ac_cv_use_intl='wxUSE_INTL=yes'
3803 else
3804 ac_cv_use_intl='wxUSE_INTL=no'
3805 fi
3806
3807else
3808
3809 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3810 if test "x$LINE" != x ; then
3811 eval "DEFAULT_$LINE"
3812 else
3813 no_cache=1
3814 fi
3815
3816 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3817
3818fi;
3819
3820 eval "$ac_cv_use_intl"
3821 if test "$no_cache" != 1; then
3822 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3823 fi
3824
3825 if test "$wxUSE_INTL" = yes; then
3826 echo "$as_me:$LINENO: result: yes" >&5
3827echo "${ECHO_T}yes" >&6
3828 else
3829 echo "$as_me:$LINENO: result: no" >&5
3830echo "${ECHO_T}no" >&6
3831 fi
3832
3833
3834 enablestring=
3835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3836echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3837 no_cache=0
3838 # Check whether --enable-config or --disable-config was given.
3839if test "${enable_config+set}" = set; then
3840 enableval="$enable_config"
3841
3842 if test "$enableval" = yes; then
3843 ac_cv_use_config='wxUSE_CONFIG=yes'
3844 else
3845 ac_cv_use_config='wxUSE_CONFIG=no'
3846 fi
3847
3848else
3849
3850 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3851 if test "x$LINE" != x ; then
3852 eval "DEFAULT_$LINE"
3853 else
3854 no_cache=1
3855 fi
3856
3857 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3858
3859fi;
3860
3861 eval "$ac_cv_use_config"
3862 if test "$no_cache" != 1; then
3863 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3864 fi
3865
3866 if test "$wxUSE_CONFIG" = yes; then
3867 echo "$as_me:$LINENO: result: yes" >&5
3868echo "${ECHO_T}yes" >&6
3869 else
3870 echo "$as_me:$LINENO: result: no" >&5
3871echo "${ECHO_T}no" >&6
3872 fi
3873
3874
3875
3876 enablestring=
3877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3878echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3879 no_cache=0
3880 # Check whether --enable-protocols or --disable-protocols was given.
3881if test "${enable_protocols+set}" = set; then
3882 enableval="$enable_protocols"
3883
3884 if test "$enableval" = yes; then
3885 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3886 else
3887 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3888 fi
3889
3890else
3891
3892 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3893 if test "x$LINE" != x ; then
3894 eval "DEFAULT_$LINE"
3895 else
3896 no_cache=1
3897 fi
3898
3899 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3900
3901fi;
3902
3903 eval "$ac_cv_use_protocols"
3904 if test "$no_cache" != 1; then
3905 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3906 fi
3907
3908 if test "$wxUSE_PROTOCOL" = yes; then
3909 echo "$as_me:$LINENO: result: yes" >&5
3910echo "${ECHO_T}yes" >&6
3911 else
3912 echo "$as_me:$LINENO: result: no" >&5
3913echo "${ECHO_T}no" >&6
3914 fi
3915
3916
3917 enablestring=
3918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3919echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3920 no_cache=0
3921 # Check whether --enable-ftp or --disable-ftp was given.
3922if test "${enable_ftp+set}" = set; then
3923 enableval="$enable_ftp"
3924
3925 if test "$enableval" = yes; then
3926 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3927 else
3928 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3929 fi
3930
3931else
3932
3933 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3934 if test "x$LINE" != x ; then
3935 eval "DEFAULT_$LINE"
3936 else
3937 no_cache=1
3938 fi
3939
3940 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3941
3942fi;
3943
3944 eval "$ac_cv_use_ftp"
3945 if test "$no_cache" != 1; then
3946 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3947 fi
3948
3949 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3950 echo "$as_me:$LINENO: result: yes" >&5
3951echo "${ECHO_T}yes" >&6
3952 else
3953 echo "$as_me:$LINENO: result: no" >&5
3954echo "${ECHO_T}no" >&6
3955 fi
3956
3957
3958 enablestring=
3959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3960echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3961 no_cache=0
3962 # Check whether --enable-http or --disable-http was given.
3963if test "${enable_http+set}" = set; then
3964 enableval="$enable_http"
3965
3966 if test "$enableval" = yes; then
3967 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3968 else
3969 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3970 fi
3971
3972else
3973
3974 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3975 if test "x$LINE" != x ; then
3976 eval "DEFAULT_$LINE"
3977 else
3978 no_cache=1
3979 fi
3980
3981 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3982
3983fi;
3984
3985 eval "$ac_cv_use_http"
3986 if test "$no_cache" != 1; then
3987 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3988 fi
3989
3990 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3991 echo "$as_me:$LINENO: result: yes" >&5
3992echo "${ECHO_T}yes" >&6
3993 else
3994 echo "$as_me:$LINENO: result: no" >&5
3995echo "${ECHO_T}no" >&6
3996 fi
3997
3998
3999 enablestring=
4000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4001echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4002 no_cache=0
4003 # Check whether --enable-fileproto or --disable-fileproto was given.
4004if test "${enable_fileproto+set}" = set; then
4005 enableval="$enable_fileproto"
4006
4007 if test "$enableval" = yes; then
4008 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4009 else
4010 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4011 fi
4012
4013else
4014
4015 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4016 if test "x$LINE" != x ; then
4017 eval "DEFAULT_$LINE"
4018 else
4019 no_cache=1
4020 fi
4021
4022 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4023
4024fi;
4025
4026 eval "$ac_cv_use_fileproto"
4027 if test "$no_cache" != 1; then
4028 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4029 fi
4030
4031 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4032 echo "$as_me:$LINENO: result: yes" >&5
4033echo "${ECHO_T}yes" >&6
4034 else
4035 echo "$as_me:$LINENO: result: no" >&5
4036echo "${ECHO_T}no" >&6
4037 fi
4038
4039
4040 enablestring=
4041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4042echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4043 no_cache=0
4044 # Check whether --enable-sockets or --disable-sockets was given.
4045if test "${enable_sockets+set}" = set; then
4046 enableval="$enable_sockets"
4047
4048 if test "$enableval" = yes; then
4049 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4050 else
4051 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4052 fi
4053
4054else
4055
4056 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4057 if test "x$LINE" != x ; then
4058 eval "DEFAULT_$LINE"
4059 else
4060 no_cache=1
4061 fi
4062
4063 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4064
4065fi;
4066
4067 eval "$ac_cv_use_sockets"
4068 if test "$no_cache" != 1; then
4069 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4070 fi
4071
4072 if test "$wxUSE_SOCKETS" = yes; then
4073 echo "$as_me:$LINENO: result: yes" >&5
4074echo "${ECHO_T}yes" >&6
4075 else
4076 echo "$as_me:$LINENO: result: no" >&5
4077echo "${ECHO_T}no" >&6
4078 fi
4079
4080
4081 enablestring=
4082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4083echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4084 no_cache=0
4085 # Check whether --enable-ole or --disable-ole was given.
4086if test "${enable_ole+set}" = set; then
4087 enableval="$enable_ole"
4088
4089 if test "$enableval" = yes; then
4090 ac_cv_use_ole='wxUSE_OLE=yes'
4091 else
4092 ac_cv_use_ole='wxUSE_OLE=no'
4093 fi
4094
4095else
4096
4097 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4098 if test "x$LINE" != x ; then
4099 eval "DEFAULT_$LINE"
4100 else
4101 no_cache=1
4102 fi
4103
4104 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4105
4106fi;
4107
4108 eval "$ac_cv_use_ole"
4109 if test "$no_cache" != 1; then
4110 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4111 fi
4112
4113 if test "$wxUSE_OLE" = yes; then
4114 echo "$as_me:$LINENO: result: yes" >&5
4115echo "${ECHO_T}yes" >&6
4116 else
4117 echo "$as_me:$LINENO: result: no" >&5
4118echo "${ECHO_T}no" >&6
4119 fi
4120
4121
4122 enablestring=
4123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4124echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4125 no_cache=0
4126 # Check whether --enable-dataobj or --disable-dataobj was given.
4127if test "${enable_dataobj+set}" = set; then
4128 enableval="$enable_dataobj"
4129
4130 if test "$enableval" = yes; then
4131 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4132 else
4133 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4134 fi
4135
4136else
4137
4138 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4139 if test "x$LINE" != x ; then
4140 eval "DEFAULT_$LINE"
4141 else
4142 no_cache=1
4143 fi
4144
4145 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4146
4147fi;
4148
4149 eval "$ac_cv_use_dataobj"
4150 if test "$no_cache" != 1; then
4151 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4152 fi
4153
4154 if test "$wxUSE_DATAOBJ" = yes; then
4155 echo "$as_me:$LINENO: result: yes" >&5
4156echo "${ECHO_T}yes" >&6
4157 else
4158 echo "$as_me:$LINENO: result: no" >&5
4159echo "${ECHO_T}no" >&6
4160 fi
4161
4162
4163
4164 enablestring=
4165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4166echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4167 no_cache=0
4168 # Check whether --enable-ipc or --disable-ipc was given.
4169if test "${enable_ipc+set}" = set; then
4170 enableval="$enable_ipc"
4171
4172 if test "$enableval" = yes; then
4173 ac_cv_use_ipc='wxUSE_IPC=yes'
4174 else
4175 ac_cv_use_ipc='wxUSE_IPC=no'
4176 fi
4177
4178else
4179
4180 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4181 if test "x$LINE" != x ; then
4182 eval "DEFAULT_$LINE"
4183 else
4184 no_cache=1
4185 fi
4186
4187 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4188
4189fi;
4190
4191 eval "$ac_cv_use_ipc"
4192 if test "$no_cache" != 1; then
4193 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4194 fi
4195
4196 if test "$wxUSE_IPC" = yes; then
4197 echo "$as_me:$LINENO: result: yes" >&5
4198echo "${ECHO_T}yes" >&6
4199 else
4200 echo "$as_me:$LINENO: result: no" >&5
4201echo "${ECHO_T}no" >&6
4202 fi
4203
4204
4205
4206 enablestring=
4207 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4208echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4209 no_cache=0
4210 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4211if test "${enable_apple_ieee+set}" = set; then
4212 enableval="$enable_apple_ieee"
4213
4214 if test "$enableval" = yes; then
4215 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4216 else
4217 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4218 fi
4219
4220else
4221
4222 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4223 if test "x$LINE" != x ; then
4224 eval "DEFAULT_$LINE"
4225 else
4226 no_cache=1
4227 fi
4228
4229 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4230
4231fi;
4232
4233 eval "$ac_cv_use_apple_ieee"
4234 if test "$no_cache" != 1; then
4235 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4236 fi
4237
4238 if test "$wxUSE_APPLE_IEEE" = yes; then
4239 echo "$as_me:$LINENO: result: yes" >&5
4240echo "${ECHO_T}yes" >&6
4241 else
4242 echo "$as_me:$LINENO: result: no" >&5
4243echo "${ECHO_T}no" >&6
4244 fi
4245
4246
4247 enablestring=
4248 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4249echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4250 no_cache=0
4251 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4252if test "${enable_catch_segvs+set}" = set; then
4253 enableval="$enable_catch_segvs"
4254
4255 if test "$enableval" = yes; then
4256 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4257 else
4258 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4259 fi
4260
4261else
4262
4263 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4264 if test "x$LINE" != x ; then
4265 eval "DEFAULT_$LINE"
4266 else
4267 no_cache=1
4268 fi
4269
4270 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4271
4272fi;
4273
4274 eval "$ac_cv_use_catch_segvs"
4275 if test "$no_cache" != 1; then
4276 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4277 fi
4278
4279 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4280 echo "$as_me:$LINENO: result: yes" >&5
4281echo "${ECHO_T}yes" >&6
4282 else
4283 echo "$as_me:$LINENO: result: no" >&5
4284echo "${ECHO_T}no" >&6
4285 fi
4286
4287
4288 enablestring=
4289 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4290echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4291 no_cache=0
4292 # Check whether --enable-cmdline or --disable-cmdline was given.
4293if test "${enable_cmdline+set}" = set; then
4294 enableval="$enable_cmdline"
4295
4296 if test "$enableval" = yes; then
4297 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4298 else
4299 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4300 fi
4301
4302else
4303
4304 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4305 if test "x$LINE" != x ; then
4306 eval "DEFAULT_$LINE"
4307 else
4308 no_cache=1
4309 fi
4310
4311 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4312
4313fi;
4314
4315 eval "$ac_cv_use_cmdline"
4316 if test "$no_cache" != 1; then
4317 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4318 fi
4319
4320 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4321 echo "$as_me:$LINENO: result: yes" >&5
4322echo "${ECHO_T}yes" >&6
4323 else
4324 echo "$as_me:$LINENO: result: no" >&5
4325echo "${ECHO_T}no" >&6
4326 fi
4327
4328
4329 enablestring=
4330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4331echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4332 no_cache=0
4333 # Check whether --enable-datetime or --disable-datetime was given.
4334if test "${enable_datetime+set}" = set; then
4335 enableval="$enable_datetime"
4336
4337 if test "$enableval" = yes; then
4338 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4339 else
4340 ac_cv_use_datetime='wxUSE_DATETIME=no'
4341 fi
4342
4343else
4344
4345 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4346 if test "x$LINE" != x ; then
4347 eval "DEFAULT_$LINE"
4348 else
4349 no_cache=1
4350 fi
4351
4352 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4353
4354fi;
4355
4356 eval "$ac_cv_use_datetime"
4357 if test "$no_cache" != 1; then
4358 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4359 fi
4360
4361 if test "$wxUSE_DATETIME" = yes; then
4362 echo "$as_me:$LINENO: result: yes" >&5
4363echo "${ECHO_T}yes" >&6
4364 else
4365 echo "$as_me:$LINENO: result: no" >&5
4366echo "${ECHO_T}no" >&6
4367 fi
4368
4369
4370 enablestring=
4371 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4372echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4373 no_cache=0
4374 # Check whether --enable-dialupman or --disable-dialupman was given.
4375if test "${enable_dialupman+set}" = set; then
4376 enableval="$enable_dialupman"
4377
4378 if test "$enableval" = yes; then
4379 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4380 else
4381 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4382 fi
4383
4384else
4385
4386 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4387 if test "x$LINE" != x ; then
4388 eval "DEFAULT_$LINE"
4389 else
4390 no_cache=1
4391 fi
4392
4393 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4394
4395fi;
4396
4397 eval "$ac_cv_use_dialupman"
4398 if test "$no_cache" != 1; then
4399 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4400 fi
4401
4402 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4403 echo "$as_me:$LINENO: result: yes" >&5
4404echo "${ECHO_T}yes" >&6
4405 else
4406 echo "$as_me:$LINENO: result: no" >&5
4407echo "${ECHO_T}no" >&6
4408 fi
4409
4410
4411 enablestring=
4412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4413echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4414 no_cache=0
4415 # Check whether --enable-dynlib or --disable-dynlib was given.
4416if test "${enable_dynlib+set}" = set; then
4417 enableval="$enable_dynlib"
4418
4419 if test "$enableval" = yes; then
4420 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4421 else
4422 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4423 fi
4424
4425else
4426
4427 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4428 if test "x$LINE" != x ; then
4429 eval "DEFAULT_$LINE"
4430 else
4431 no_cache=1
4432 fi
4433
4434 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4435
4436fi;
4437
4438 eval "$ac_cv_use_dynlib"
4439 if test "$no_cache" != 1; then
4440 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4441 fi
4442
4443 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4444 echo "$as_me:$LINENO: result: yes" >&5
4445echo "${ECHO_T}yes" >&6
4446 else
4447 echo "$as_me:$LINENO: result: no" >&5
4448echo "${ECHO_T}no" >&6
4449 fi
4450
4451
4452 enablestring=
4453 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4454echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4455 no_cache=0
4456 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4457if test "${enable_dynamicloader+set}" = set; then
4458 enableval="$enable_dynamicloader"
4459
4460 if test "$enableval" = yes; then
4461 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4462 else
4463 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4464 fi
4465
4466else
4467
4468 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4469 if test "x$LINE" != x ; then
4470 eval "DEFAULT_$LINE"
4471 else
4472 no_cache=1
4473 fi
4474
4475 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4476
4477fi;
4478
4479 eval "$ac_cv_use_dynamicloader"
4480 if test "$no_cache" != 1; then
4481 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4482 fi
4483
4484 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4485 echo "$as_me:$LINENO: result: yes" >&5
4486echo "${ECHO_T}yes" >&6
4487 else
4488 echo "$as_me:$LINENO: result: no" >&5
4489echo "${ECHO_T}no" >&6
4490 fi
4491
4492
4493 enablestring=
4494 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4495echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4496 no_cache=0
4497 # Check whether --enable-exceptions or --disable-exceptions was given.
4498if test "${enable_exceptions+set}" = set; then
4499 enableval="$enable_exceptions"
4500
4501 if test "$enableval" = yes; then
4502 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4503 else
4504 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4505 fi
4506
4507else
4508
4509 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4510 if test "x$LINE" != x ; then
4511 eval "DEFAULT_$LINE"
4512 else
4513 no_cache=1
4514 fi
4515
4516 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4517
4518fi;
4519
4520 eval "$ac_cv_use_exceptions"
4521 if test "$no_cache" != 1; then
4522 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4523 fi
4524
4525 if test "$wxUSE_EXCEPTIONS" = yes; then
4526 echo "$as_me:$LINENO: result: yes" >&5
4527echo "${ECHO_T}yes" >&6
4528 else
4529 echo "$as_me:$LINENO: result: no" >&5
4530echo "${ECHO_T}no" >&6
4531 fi
4532
4533
4534 enablestring=
4535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4536echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4537 no_cache=0
4538 # Check whether --enable-ffile or --disable-ffile was given.
4539if test "${enable_ffile+set}" = set; then
4540 enableval="$enable_ffile"
4541
4542 if test "$enableval" = yes; then
4543 ac_cv_use_ffile='wxUSE_FFILE=yes'
4544 else
4545 ac_cv_use_ffile='wxUSE_FFILE=no'
4546 fi
4547
4548else
4549
4550 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4551 if test "x$LINE" != x ; then
4552 eval "DEFAULT_$LINE"
4553 else
4554 no_cache=1
4555 fi
4556
4557 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4558
4559fi;
4560
4561 eval "$ac_cv_use_ffile"
4562 if test "$no_cache" != 1; then
4563 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4564 fi
4565
4566 if test "$wxUSE_FFILE" = yes; then
4567 echo "$as_me:$LINENO: result: yes" >&5
4568echo "${ECHO_T}yes" >&6
4569 else
4570 echo "$as_me:$LINENO: result: no" >&5
4571echo "${ECHO_T}no" >&6
4572 fi
4573
4574
4575 enablestring=
4576 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4577echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4578 no_cache=0
4579 # Check whether --enable-file or --disable-file was given.
4580if test "${enable_file+set}" = set; then
4581 enableval="$enable_file"
4582
4583 if test "$enableval" = yes; then
4584 ac_cv_use_file='wxUSE_FILE=yes'
4585 else
4586 ac_cv_use_file='wxUSE_FILE=no'
4587 fi
4588
4589else
4590
4591 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4592 if test "x$LINE" != x ; then
4593 eval "DEFAULT_$LINE"
4594 else
4595 no_cache=1
4596 fi
4597
4598 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4599
4600fi;
4601
4602 eval "$ac_cv_use_file"
4603 if test "$no_cache" != 1; then
4604 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4605 fi
4606
4607 if test "$wxUSE_FILE" = yes; then
4608 echo "$as_me:$LINENO: result: yes" >&5
4609echo "${ECHO_T}yes" >&6
4610 else
4611 echo "$as_me:$LINENO: result: no" >&5
4612echo "${ECHO_T}no" >&6
4613 fi
4614
4615
4616 enablestring=
4617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4618echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4619 no_cache=0
4620 # Check whether --enable-filesystem or --disable-filesystem was given.
4621if test "${enable_filesystem+set}" = set; then
4622 enableval="$enable_filesystem"
4623
4624 if test "$enableval" = yes; then
4625 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4626 else
4627 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4628 fi
4629
4630else
4631
4632 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4633 if test "x$LINE" != x ; then
4634 eval "DEFAULT_$LINE"
4635 else
4636 no_cache=1
4637 fi
4638
4639 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4640
4641fi;
4642
4643 eval "$ac_cv_use_filesystem"
4644 if test "$no_cache" != 1; then
4645 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4646 fi
4647
4648 if test "$wxUSE_FILESYSTEM" = yes; then
4649 echo "$as_me:$LINENO: result: yes" >&5
4650echo "${ECHO_T}yes" >&6
4651 else
4652 echo "$as_me:$LINENO: result: no" >&5
4653echo "${ECHO_T}no" >&6
4654 fi
4655
4656
4657 enablestring=
4658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4659echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4660 no_cache=0
4661 # Check whether --enable-fontmap or --disable-fontmap was given.
4662if test "${enable_fontmap+set}" = set; then
4663 enableval="$enable_fontmap"
4664
4665 if test "$enableval" = yes; then
4666 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4667 else
4668 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4669 fi
4670
4671else
4672
4673 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4674 if test "x$LINE" != x ; then
4675 eval "DEFAULT_$LINE"
4676 else
4677 no_cache=1
4678 fi
4679
4680 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4681
4682fi;
4683
4684 eval "$ac_cv_use_fontmap"
4685 if test "$no_cache" != 1; then
4686 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4687 fi
4688
4689 if test "$wxUSE_FONTMAP" = yes; then
4690 echo "$as_me:$LINENO: result: yes" >&5
4691echo "${ECHO_T}yes" >&6
4692 else
4693 echo "$as_me:$LINENO: result: no" >&5
4694echo "${ECHO_T}no" >&6
4695 fi
4696
4697
4698 enablestring=
4699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4700echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4701 no_cache=0
4702 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4703if test "${enable_fs_inet+set}" = set; then
4704 enableval="$enable_fs_inet"
4705
4706 if test "$enableval" = yes; then
4707 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4708 else
4709 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4710 fi
4711
4712else
4713
4714 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4715 if test "x$LINE" != x ; then
4716 eval "DEFAULT_$LINE"
4717 else
4718 no_cache=1
4719 fi
4720
4721 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4722
4723fi;
4724
4725 eval "$ac_cv_use_fs_inet"
4726 if test "$no_cache" != 1; then
4727 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4728 fi
4729
4730 if test "$wxUSE_FS_INET" = yes; then
4731 echo "$as_me:$LINENO: result: yes" >&5
4732echo "${ECHO_T}yes" >&6
4733 else
4734 echo "$as_me:$LINENO: result: no" >&5
4735echo "${ECHO_T}no" >&6
4736 fi
4737
4738
4739 enablestring=
4740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
4741echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
4742 no_cache=0
4743 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4744if test "${enable_fs_zip+set}" = set; then
4745 enableval="$enable_fs_zip"
4746
4747 if test "$enableval" = yes; then
4748 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4749 else
4750 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4751 fi
4752
4753else
4754
4755 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4756 if test "x$LINE" != x ; then
4757 eval "DEFAULT_$LINE"
4758 else
4759 no_cache=1
4760 fi
4761
4762 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4763
4764fi;
4765
4766 eval "$ac_cv_use_fs_zip"
4767 if test "$no_cache" != 1; then
4768 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4769 fi
4770
4771 if test "$wxUSE_FS_ZIP" = yes; then
4772 echo "$as_me:$LINENO: result: yes" >&5
4773echo "${ECHO_T}yes" >&6
4774 else
4775 echo "$as_me:$LINENO: result: no" >&5
4776echo "${ECHO_T}no" >&6
4777 fi
4778
4779
4780 enablestring=
4781 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4782echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4783 no_cache=0
4784 # Check whether --enable-geometry or --disable-geometry was given.
4785if test "${enable_geometry+set}" = set; then
4786 enableval="$enable_geometry"
4787
4788 if test "$enableval" = yes; then
4789 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4790 else
4791 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4792 fi
4793
4794else
4795
4796 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4797 if test "x$LINE" != x ; then
4798 eval "DEFAULT_$LINE"
4799 else
4800 no_cache=1
4801 fi
4802
4803 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4804
4805fi;
4806
4807 eval "$ac_cv_use_geometry"
4808 if test "$no_cache" != 1; then
4809 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4810 fi
4811
4812 if test "$wxUSE_GEOMETRY" = yes; then
4813 echo "$as_me:$LINENO: result: yes" >&5
4814echo "${ECHO_T}yes" >&6
4815 else
4816 echo "$as_me:$LINENO: result: no" >&5
4817echo "${ECHO_T}no" >&6
4818 fi
4819
4820
4821 enablestring=
4822 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4823echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4824 no_cache=0
4825 # Check whether --enable-log or --disable-log was given.
4826if test "${enable_log+set}" = set; then
4827 enableval="$enable_log"
4828
4829 if test "$enableval" = yes; then
4830 ac_cv_use_log='wxUSE_LOG=yes'
4831 else
4832 ac_cv_use_log='wxUSE_LOG=no'
4833 fi
4834
4835else
4836
4837 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4838 if test "x$LINE" != x ; then
4839 eval "DEFAULT_$LINE"
4840 else
4841 no_cache=1
4842 fi
4843
4844 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4845
4846fi;
4847
4848 eval "$ac_cv_use_log"
4849 if test "$no_cache" != 1; then
4850 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4851 fi
4852
4853 if test "$wxUSE_LOG" = yes; then
4854 echo "$as_me:$LINENO: result: yes" >&5
4855echo "${ECHO_T}yes" >&6
4856 else
4857 echo "$as_me:$LINENO: result: no" >&5
4858echo "${ECHO_T}no" >&6
4859 fi
4860
4861
4862 enablestring=
4863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4864echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4865 no_cache=0
4866 # Check whether --enable-longlong or --disable-longlong was given.
4867if test "${enable_longlong+set}" = set; then
4868 enableval="$enable_longlong"
4869
4870 if test "$enableval" = yes; then
4871 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4872 else
4873 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4874 fi
4875
4876else
4877
4878 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4879 if test "x$LINE" != x ; then
4880 eval "DEFAULT_$LINE"
4881 else
4882 no_cache=1
4883 fi
4884
4885 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4886
4887fi;
4888
4889 eval "$ac_cv_use_longlong"
4890 if test "$no_cache" != 1; then
4891 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4892 fi
4893
4894 if test "$wxUSE_LONGLONG" = yes; then
4895 echo "$as_me:$LINENO: result: yes" >&5
4896echo "${ECHO_T}yes" >&6
4897 else
4898 echo "$as_me:$LINENO: result: no" >&5
4899echo "${ECHO_T}no" >&6
4900 fi
4901
4902
4903 enablestring=
4904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
4905echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
4906 no_cache=0
4907 # Check whether --enable-mimetype or --disable-mimetype was given.
4908if test "${enable_mimetype+set}" = set; then
4909 enableval="$enable_mimetype"
4910
4911 if test "$enableval" = yes; then
4912 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
4913 else
4914 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
4915 fi
4916
4917else
4918
4919 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4920 if test "x$LINE" != x ; then
4921 eval "DEFAULT_$LINE"
4922 else
4923 no_cache=1
4924 fi
4925
4926 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4927
4928fi;
4929
4930 eval "$ac_cv_use_mimetype"
4931 if test "$no_cache" != 1; then
4932 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4933 fi
4934
4935 if test "$wxUSE_MIMETYPE" = yes; then
4936 echo "$as_me:$LINENO: result: yes" >&5
4937echo "${ECHO_T}yes" >&6
4938 else
4939 echo "$as_me:$LINENO: result: no" >&5
4940echo "${ECHO_T}no" >&6
4941 fi
4942
4943
4944 enablestring=
4945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4946echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
4947 no_cache=0
4948 # Check whether --enable-mslu or --disable-mslu was given.
4949if test "${enable_mslu+set}" = set; then
4950 enableval="$enable_mslu"
4951
4952 if test "$enableval" = yes; then
4953 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4954 else
4955 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4956 fi
4957
4958else
4959
4960 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4961 if test "x$LINE" != x ; then
4962 eval "DEFAULT_$LINE"
4963 else
4964 no_cache=1
4965 fi
4966
4967 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4968
4969fi;
4970
4971 eval "$ac_cv_use_mslu"
4972 if test "$no_cache" != 1; then
4973 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4974 fi
4975
4976 if test "$wxUSE_UNICODE_MSLU" = yes; then
4977 echo "$as_me:$LINENO: result: yes" >&5
4978echo "${ECHO_T}yes" >&6
4979 else
4980 echo "$as_me:$LINENO: result: no" >&5
4981echo "${ECHO_T}no" >&6
4982 fi
4983
4984
4985 enablestring=
4986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
4987echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
4988 no_cache=0
4989 # Check whether --enable-snglinst or --disable-snglinst was given.
4990if test "${enable_snglinst+set}" = set; then
4991 enableval="$enable_snglinst"
4992
4993 if test "$enableval" = yes; then
4994 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
4995 else
4996 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
4997 fi
4998
4999else
5000
5001 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5002 if test "x$LINE" != x ; then
5003 eval "DEFAULT_$LINE"
5004 else
5005 no_cache=1
5006 fi
5007
5008 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5009
5010fi;
5011
5012 eval "$ac_cv_use_snglinst"
5013 if test "$no_cache" != 1; then
5014 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5015 fi
5016
5017 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5018 echo "$as_me:$LINENO: result: yes" >&5
5019echo "${ECHO_T}yes" >&6
5020 else
5021 echo "$as_me:$LINENO: result: no" >&5
5022echo "${ECHO_T}no" >&6
5023 fi
5024
5025
5026 enablestring=
5027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5028echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5029 no_cache=0
5030 # Check whether --enable-streams or --disable-streams was given.
5031if test "${enable_streams+set}" = set; then
5032 enableval="$enable_streams"
5033
5034 if test "$enableval" = yes; then
5035 ac_cv_use_streams='wxUSE_STREAMS=yes'
5036 else
5037 ac_cv_use_streams='wxUSE_STREAMS=no'
5038 fi
5039
5040else
5041
5042 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5043 if test "x$LINE" != x ; then
5044 eval "DEFAULT_$LINE"
5045 else
5046 no_cache=1
5047 fi
5048
5049 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5050
5051fi;
5052
5053 eval "$ac_cv_use_streams"
5054 if test "$no_cache" != 1; then
5055 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5056 fi
5057
5058 if test "$wxUSE_STREAMS" = yes; then
5059 echo "$as_me:$LINENO: result: yes" >&5
5060echo "${ECHO_T}yes" >&6
5061 else
5062 echo "$as_me:$LINENO: result: no" >&5
5063echo "${ECHO_T}no" >&6
5064 fi
5065
5066
5067 enablestring=
5068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5069echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5070 no_cache=0
5071 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5072if test "${enable_std_iostreams+set}" = set; then
5073 enableval="$enable_std_iostreams"
5074
5075 if test "$enableval" = yes; then
5076 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5077 else
5078 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5079 fi
5080
5081else
5082
5083 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5084 if test "x$LINE" != x ; then
5085 eval "DEFAULT_$LINE"
5086 else
5087 no_cache=1
5088 fi
5089
5090 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5091
5092fi;
5093
5094 eval "$ac_cv_use_std_iostreams"
5095 if test "$no_cache" != 1; then
5096 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5097 fi
5098
5099 if test "$wxUSE_STD_IOSTREAM" = yes; then
5100 echo "$as_me:$LINENO: result: yes" >&5
5101echo "${ECHO_T}yes" >&6
5102 else
5103 echo "$as_me:$LINENO: result: no" >&5
5104echo "${ECHO_T}no" >&6
5105 fi
5106
5107
5108 enablestring=
5109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5110echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5111 no_cache=0
5112 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5113if test "${enable_stopwatch+set}" = set; then
5114 enableval="$enable_stopwatch"
5115
5116 if test "$enableval" = yes; then
5117 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5118 else
5119 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5120 fi
5121
5122else
5123
5124 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5125 if test "x$LINE" != x ; then
5126 eval "DEFAULT_$LINE"
5127 else
5128 no_cache=1
5129 fi
5130
5131 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5132
5133fi;
5134
5135 eval "$ac_cv_use_stopwatch"
5136 if test "$no_cache" != 1; then
5137 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5138 fi
5139
5140 if test "$wxUSE_STOPWATCH" = yes; then
5141 echo "$as_me:$LINENO: result: yes" >&5
5142echo "${ECHO_T}yes" >&6
5143 else
5144 echo "$as_me:$LINENO: result: no" >&5
5145echo "${ECHO_T}no" >&6
5146 fi
5147
5148
5149 enablestring=
5150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5151echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5152 no_cache=0
5153 # Check whether --enable-system_options or --disable-system_options was given.
5154if test "${enable_system_options+set}" = set; then
5155 enableval="$enable_system_options"
5156
5157 if test "$enableval" = yes; then
5158 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5159 else
5160 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5161 fi
5162
5163else
5164
5165 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5166 if test "x$LINE" != x ; then
5167 eval "DEFAULT_$LINE"
5168 else
5169 no_cache=1
5170 fi
5171
5172 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5173
5174fi;
5175
5176 eval "$ac_cv_use_system_options"
5177 if test "$no_cache" != 1; then
5178 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5179 fi
5180
5181 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5182 echo "$as_me:$LINENO: result: yes" >&5
5183echo "${ECHO_T}yes" >&6
5184 else
5185 echo "$as_me:$LINENO: result: no" >&5
5186echo "${ECHO_T}no" >&6
5187 fi
5188
5189
5190 enablestring=
5191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5192echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5193 no_cache=0
5194 # Check whether --enable-textbuf or --disable-textbuf was given.
5195if test "${enable_textbuf+set}" = set; then
5196 enableval="$enable_textbuf"
5197
5198 if test "$enableval" = yes; then
5199 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5200 else
5201 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5202 fi
5203
5204else
5205
5206 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5207 if test "x$LINE" != x ; then
5208 eval "DEFAULT_$LINE"
5209 else
5210 no_cache=1
5211 fi
5212
5213 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5214
5215fi;
5216
5217 eval "$ac_cv_use_textbuf"
5218 if test "$no_cache" != 1; then
5219 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5220 fi
5221
5222 if test "$wxUSE_TEXTBUFFER" = yes; then
5223 echo "$as_me:$LINENO: result: yes" >&5
5224echo "${ECHO_T}yes" >&6
5225 else
5226 echo "$as_me:$LINENO: result: no" >&5
5227echo "${ECHO_T}no" >&6
5228 fi
5229
5230
5231 enablestring=
5232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5233echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5234 no_cache=0
5235 # Check whether --enable-textfile or --disable-textfile was given.
5236if test "${enable_textfile+set}" = set; then
5237 enableval="$enable_textfile"
5238
5239 if test "$enableval" = yes; then
5240 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5241 else
5242 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5243 fi
5244
5245else
5246
5247 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5248 if test "x$LINE" != x ; then
5249 eval "DEFAULT_$LINE"
5250 else
5251 no_cache=1
5252 fi
5253
5254 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5255
5256fi;
5257
5258 eval "$ac_cv_use_textfile"
5259 if test "$no_cache" != 1; then
5260 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5261 fi
5262
5263 if test "$wxUSE_TEXTFILE" = yes; then
5264 echo "$as_me:$LINENO: result: yes" >&5
5265echo "${ECHO_T}yes" >&6
5266 else
5267 echo "$as_me:$LINENO: result: no" >&5
5268echo "${ECHO_T}no" >&6
5269 fi
5270
5271
5272 enablestring=
5273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5274echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5275 no_cache=0
5276 # Check whether --enable-timer or --disable-timer was given.
5277if test "${enable_timer+set}" = set; then
5278 enableval="$enable_timer"
5279
5280 if test "$enableval" = yes; then
5281 ac_cv_use_timer='wxUSE_TIMER=yes'
5282 else
5283 ac_cv_use_timer='wxUSE_TIMER=no'
5284 fi
5285
5286else
5287
5288 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5289 if test "x$LINE" != x ; then
5290 eval "DEFAULT_$LINE"
5291 else
5292 no_cache=1
5293 fi
5294
5295 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5296
5297fi;
5298
5299 eval "$ac_cv_use_timer"
5300 if test "$no_cache" != 1; then
5301 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5302 fi
5303
5304 if test "$wxUSE_TIMER" = yes; then
5305 echo "$as_me:$LINENO: result: yes" >&5
5306echo "${ECHO_T}yes" >&6
5307 else
5308 echo "$as_me:$LINENO: result: no" >&5
5309echo "${ECHO_T}no" >&6
5310 fi
5311
5312
5313 enablestring=
5314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5315echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5316 no_cache=0
5317 # Check whether --enable-unicode or --disable-unicode was given.
5318if test "${enable_unicode+set}" = set; then
5319 enableval="$enable_unicode"
5320
5321 if test "$enableval" = yes; then
5322 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5323 else
5324 ac_cv_use_unicode='wxUSE_UNICODE=no'
5325 fi
5326
5327else
5328
5329 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5330 if test "x$LINE" != x ; then
5331 eval "DEFAULT_$LINE"
5332 else
5333 no_cache=1
5334 fi
5335
5336 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5337
5338fi;
5339
5340 eval "$ac_cv_use_unicode"
5341 if test "$no_cache" != 1; then
5342 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5343 fi
5344
5345 if test "$wxUSE_UNICODE" = yes; then
5346 echo "$as_me:$LINENO: result: yes" >&5
5347echo "${ECHO_T}yes" >&6
5348 else
5349 echo "$as_me:$LINENO: result: no" >&5
5350echo "${ECHO_T}no" >&6
5351 fi
5352
5353
5354 enablestring=
5355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
5356echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
5357 no_cache=0
5358 # Check whether --enable-wave or --disable-wave was given.
5359if test "${enable_wave+set}" = set; then
5360 enableval="$enable_wave"
5361
5362 if test "$enableval" = yes; then
5363 ac_cv_use_wave='wxUSE_WAVE=yes'
5364 else
5365 ac_cv_use_wave='wxUSE_WAVE=no'
5366 fi
5367
5368else
5369
5370 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
5371 if test "x$LINE" != x ; then
5372 eval "DEFAULT_$LINE"
5373 else
5374 no_cache=1
5375 fi
5376
5377 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
5378
5379fi;
5380
5381 eval "$ac_cv_use_wave"
5382 if test "$no_cache" != 1; then
5383 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
5384 fi
5385
5386 if test "$wxUSE_WAVE" = yes; then
5387 echo "$as_me:$LINENO: result: yes" >&5
5388echo "${ECHO_T}yes" >&6
5389 else
5390 echo "$as_me:$LINENO: result: no" >&5
5391echo "${ECHO_T}no" >&6
5392 fi
5393
5394
5395 enablestring=
5396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5397echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5398 no_cache=0
5399 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5400if test "${enable_wxprintfv+set}" = set; then
5401 enableval="$enable_wxprintfv"
5402
5403 if test "$enableval" = yes; then
5404 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5405 else
5406 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5407 fi
5408
5409else
5410
5411 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5412 if test "x$LINE" != x ; then
5413 eval "DEFAULT_$LINE"
5414 else
5415 no_cache=1
5416 fi
5417
5418 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5419
5420fi;
5421
5422 eval "$ac_cv_use_wxprintfv"
5423 if test "$no_cache" != 1; then
5424 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5425 fi
5426
5427 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5428 echo "$as_me:$LINENO: result: yes" >&5
5429echo "${ECHO_T}yes" >&6
5430 else
5431 echo "$as_me:$LINENO: result: no" >&5
5432echo "${ECHO_T}no" >&6
5433 fi
5434
5435
5436 enablestring=
5437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5438echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5439 no_cache=0
5440 # Check whether --enable-zipstream or --disable-zipstream was given.
5441if test "${enable_zipstream+set}" = set; then
5442 enableval="$enable_zipstream"
5443
5444 if test "$enableval" = yes; then
5445 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5446 else
5447 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5448 fi
5449
5450else
5451
5452 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5453 if test "x$LINE" != x ; then
5454 eval "DEFAULT_$LINE"
5455 else
5456 no_cache=1
5457 fi
5458
5459 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5460
5461fi;
5462
5463 eval "$ac_cv_use_zipstream"
5464 if test "$no_cache" != 1; then
5465 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5466 fi
5467
5468 if test "$wxUSE_ZIPSTREAM" = yes; then
5469 echo "$as_me:$LINENO: result: yes" >&5
5470echo "${ECHO_T}yes" >&6
5471 else
5472 echo "$as_me:$LINENO: result: no" >&5
5473echo "${ECHO_T}no" >&6
5474 fi
5475
5476
5477 enablestring=
5478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5479echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5480 no_cache=0
5481 # Check whether --enable-gzstream or --disable-gzstream was given.
5482if test "${enable_gzstream+set}" = set; then
5483 enableval="$enable_gzstream"
5484
5485 if test "$enableval" = yes; then
5486 ac_cv_use_gzstream='wxUSE_GZSTREAM=yes'
5487 else
5488 ac_cv_use_gzstream='wxUSE_GZSTREAM=no'
5489 fi
5490
5491else
5492
5493 LINE=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5494 if test "x$LINE" != x ; then
5495 eval "DEFAULT_$LINE"
5496 else
5497 no_cache=1
5498 fi
5499
5500 ac_cv_use_gzstream='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5501
5502fi;
5503
5504 eval "$ac_cv_use_gzstream"
5505 if test "$no_cache" != 1; then
5506 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5507 fi
5508
5509 if test "$wxUSE_GZSTREAM" = yes; then
5510 echo "$as_me:$LINENO: result: yes" >&5
5511echo "${ECHO_T}yes" >&6
5512 else
5513 echo "$as_me:$LINENO: result: no" >&5
5514echo "${ECHO_T}no" >&6
5515 fi
5516
5517
5518
5519 enablestring=
5520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5521echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5522 no_cache=0
5523 # Check whether --enable-url or --disable-url was given.
5524if test "${enable_url+set}" = set; then
5525 enableval="$enable_url"
5526
5527 if test "$enableval" = yes; then
5528 ac_cv_use_url='wxUSE_URL=yes'
5529 else
5530 ac_cv_use_url='wxUSE_URL=no'
5531 fi
5532
5533else
5534
5535 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5536 if test "x$LINE" != x ; then
5537 eval "DEFAULT_$LINE"
5538 else
5539 no_cache=1
5540 fi
5541
5542 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5543
5544fi;
5545
5546 eval "$ac_cv_use_url"
5547 if test "$no_cache" != 1; then
5548 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5549 fi
5550
5551 if test "$wxUSE_URL" = yes; then
5552 echo "$as_me:$LINENO: result: yes" >&5
5553echo "${ECHO_T}yes" >&6
5554 else
5555 echo "$as_me:$LINENO: result: no" >&5
5556echo "${ECHO_T}no" >&6
5557 fi
5558
5559
5560 enablestring=
5561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5562echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5563 no_cache=0
5564 # Check whether --enable-protocol or --disable-protocol was given.
5565if test "${enable_protocol+set}" = set; then
5566 enableval="$enable_protocol"
5567
5568 if test "$enableval" = yes; then
5569 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5570 else
5571 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5572 fi
5573
5574else
5575
5576 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5577 if test "x$LINE" != x ; then
5578 eval "DEFAULT_$LINE"
5579 else
5580 no_cache=1
5581 fi
5582
5583 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5584
5585fi;
5586
5587 eval "$ac_cv_use_protocol"
5588 if test "$no_cache" != 1; then
5589 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5590 fi
5591
5592 if test "$wxUSE_PROTOCOL" = yes; then
5593 echo "$as_me:$LINENO: result: yes" >&5
5594echo "${ECHO_T}yes" >&6
5595 else
5596 echo "$as_me:$LINENO: result: no" >&5
5597echo "${ECHO_T}no" >&6
5598 fi
5599
5600
5601 enablestring=
5602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5603echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5604 no_cache=0
5605 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5606if test "${enable_protocol_http+set}" = set; then
5607 enableval="$enable_protocol_http"
5608
5609 if test "$enableval" = yes; then
5610 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5611 else
5612 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5613 fi
5614
5615else
5616
5617 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5618 if test "x$LINE" != x ; then
5619 eval "DEFAULT_$LINE"
5620 else
5621 no_cache=1
5622 fi
5623
5624 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5625
5626fi;
5627
5628 eval "$ac_cv_use_protocol_http"
5629 if test "$no_cache" != 1; then
5630 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5631 fi
5632
5633 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5634 echo "$as_me:$LINENO: result: yes" >&5
5635echo "${ECHO_T}yes" >&6
5636 else
5637 echo "$as_me:$LINENO: result: no" >&5
5638echo "${ECHO_T}no" >&6
5639 fi
5640
5641
5642 enablestring=
5643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5644echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5645 no_cache=0
5646 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5647if test "${enable_protocol_ftp+set}" = set; then
5648 enableval="$enable_protocol_ftp"
5649
5650 if test "$enableval" = yes; then
5651 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5652 else
5653 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5654 fi
5655
5656else
5657
5658 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5659 if test "x$LINE" != x ; then
5660 eval "DEFAULT_$LINE"
5661 else
5662 no_cache=1
5663 fi
5664
5665 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5666
5667fi;
5668
5669 eval "$ac_cv_use_protocol_ftp"
5670 if test "$no_cache" != 1; then
5671 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5672 fi
5673
5674 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5675 echo "$as_me:$LINENO: result: yes" >&5
5676echo "${ECHO_T}yes" >&6
5677 else
5678 echo "$as_me:$LINENO: result: no" >&5
5679echo "${ECHO_T}no" >&6
5680 fi
5681
5682
5683 enablestring=
5684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5685echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5686 no_cache=0
5687 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5688if test "${enable_protocol_file+set}" = set; then
5689 enableval="$enable_protocol_file"
5690
5691 if test "$enableval" = yes; then
5692 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5693 else
5694 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5695 fi
5696
5697else
5698
5699 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5700 if test "x$LINE" != x ; then
5701 eval "DEFAULT_$LINE"
5702 else
5703 no_cache=1
5704 fi
5705
5706 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5707
5708fi;
5709
5710 eval "$ac_cv_use_protocol_file"
5711 if test "$no_cache" != 1; then
5712 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5713 fi
5714
5715 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5716 echo "$as_me:$LINENO: result: yes" >&5
5717echo "${ECHO_T}yes" >&6
5718 else
5719 echo "$as_me:$LINENO: result: no" >&5
5720echo "${ECHO_T}no" >&6
5721 fi
5722
5723
5724
5725
5726
5727 enablestring=
5728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5729echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5730 no_cache=0
5731 # Check whether --enable-threads or --disable-threads was given.
5732if test "${enable_threads+set}" = set; then
5733 enableval="$enable_threads"
5734
5735 if test "$enableval" = yes; then
5736 ac_cv_use_threads='wxUSE_THREADS=yes'
5737 else
5738 ac_cv_use_threads='wxUSE_THREADS=no'
5739 fi
5740
5741else
5742
5743 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5744 if test "x$LINE" != x ; then
5745 eval "DEFAULT_$LINE"
5746 else
5747 no_cache=1
5748 fi
5749
5750 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5751
5752fi;
5753
5754 eval "$ac_cv_use_threads"
5755 if test "$no_cache" != 1; then
5756 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5757 fi
5758
5759 if test "$wxUSE_THREADS" = yes; then
5760 echo "$as_me:$LINENO: result: yes" >&5
5761echo "${ECHO_T}yes" >&6
5762 else
5763 echo "$as_me:$LINENO: result: no" >&5
5764echo "${ECHO_T}no" >&6
5765 fi
5766
5767
5768if test "$wxUSE_GUI" = "yes"; then
5769
5770
5771
5772 enablestring=
5773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5774echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5775 no_cache=0
5776 # Check whether --enable-docview or --disable-docview was given.
5777if test "${enable_docview+set}" = set; then
5778 enableval="$enable_docview"
5779
5780 if test "$enableval" = yes; then
5781 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5782 else
5783 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5784 fi
5785
5786else
5787
5788 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5789 if test "x$LINE" != x ; then
5790 eval "DEFAULT_$LINE"
5791 else
5792 no_cache=1
5793 fi
5794
5795 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5796
5797fi;
5798
5799 eval "$ac_cv_use_docview"
5800 if test "$no_cache" != 1; then
5801 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5802 fi
5803
5804 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5805 echo "$as_me:$LINENO: result: yes" >&5
5806echo "${ECHO_T}yes" >&6
5807 else
5808 echo "$as_me:$LINENO: result: no" >&5
5809echo "${ECHO_T}no" >&6
5810 fi
5811
5812
5813 enablestring=
5814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5815echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5816 no_cache=0
5817 # Check whether --enable-help or --disable-help was given.
5818if test "${enable_help+set}" = set; then
5819 enableval="$enable_help"
5820
5821 if test "$enableval" = yes; then
5822 ac_cv_use_help='wxUSE_HELP=yes'
5823 else
5824 ac_cv_use_help='wxUSE_HELP=no'
5825 fi
5826
5827else
5828
5829 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5830 if test "x$LINE" != x ; then
5831 eval "DEFAULT_$LINE"
5832 else
5833 no_cache=1
5834 fi
5835
5836 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5837
5838fi;
5839
5840 eval "$ac_cv_use_help"
5841 if test "$no_cache" != 1; then
5842 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5843 fi
5844
5845 if test "$wxUSE_HELP" = yes; then
5846 echo "$as_me:$LINENO: result: yes" >&5
5847echo "${ECHO_T}yes" >&6
5848 else
5849 echo "$as_me:$LINENO: result: no" >&5
5850echo "${ECHO_T}no" >&6
5851 fi
5852
5853
5854 enablestring=
5855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5856echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5857 no_cache=0
5858 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5859if test "${enable_mshtmlhelp+set}" = set; then
5860 enableval="$enable_mshtmlhelp"
5861
5862 if test "$enableval" = yes; then
5863 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5864 else
5865 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5866 fi
5867
5868else
5869
5870 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5871 if test "x$LINE" != x ; then
5872 eval "DEFAULT_$LINE"
5873 else
5874 no_cache=1
5875 fi
5876
5877 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5878
5879fi;
5880
5881 eval "$ac_cv_use_mshtmlhelp"
5882 if test "$no_cache" != 1; then
5883 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5884 fi
5885
5886 if test "$wxUSE_MS_HTML_HELP" = yes; then
5887 echo "$as_me:$LINENO: result: yes" >&5
5888echo "${ECHO_T}yes" >&6
5889 else
5890 echo "$as_me:$LINENO: result: no" >&5
5891echo "${ECHO_T}no" >&6
5892 fi
5893
5894
5895 enablestring=
5896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5897echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5898 no_cache=0
5899 # Check whether --enable-html or --disable-html was given.
5900if test "${enable_html+set}" = set; then
5901 enableval="$enable_html"
5902
5903 if test "$enableval" = yes; then
5904 ac_cv_use_html='wxUSE_HTML=yes'
5905 else
5906 ac_cv_use_html='wxUSE_HTML=no'
5907 fi
5908
5909else
5910
5911 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5912 if test "x$LINE" != x ; then
5913 eval "DEFAULT_$LINE"
5914 else
5915 no_cache=1
5916 fi
5917
5918 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5919
5920fi;
5921
5922 eval "$ac_cv_use_html"
5923 if test "$no_cache" != 1; then
5924 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5925 fi
5926
5927 if test "$wxUSE_HTML" = yes; then
5928 echo "$as_me:$LINENO: result: yes" >&5
5929echo "${ECHO_T}yes" >&6
5930 else
5931 echo "$as_me:$LINENO: result: no" >&5
5932echo "${ECHO_T}no" >&6
5933 fi
5934
5935
5936 enablestring=
5937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5938echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5939 no_cache=0
5940 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5941if test "${enable_htmlhelp+set}" = set; then
5942 enableval="$enable_htmlhelp"
5943
5944 if test "$enableval" = yes; then
5945 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5946 else
5947 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5948 fi
5949
5950else
5951
5952 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5953 if test "x$LINE" != x ; then
5954 eval "DEFAULT_$LINE"
5955 else
5956 no_cache=1
5957 fi
5958
5959 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5960
5961fi;
5962
5963 eval "$ac_cv_use_htmlhelp"
5964 if test "$no_cache" != 1; then
5965 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5966 fi
5967
5968 if test "$wxUSE_WXHTML_HELP" = yes; then
5969 echo "$as_me:$LINENO: result: yes" >&5
5970echo "${ECHO_T}yes" >&6
5971 else
5972 echo "$as_me:$LINENO: result: no" >&5
5973echo "${ECHO_T}no" >&6
5974 fi
5975
5976
5977 enablestring=
5978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5979echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5980 no_cache=0
5981 # Check whether --enable-constraints or --disable-constraints was given.
5982if test "${enable_constraints+set}" = set; then
5983 enableval="$enable_constraints"
5984
5985 if test "$enableval" = yes; then
5986 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5987 else
5988 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5989 fi
5990
5991else
5992
5993 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5994 if test "x$LINE" != x ; then
5995 eval "DEFAULT_$LINE"
5996 else
5997 no_cache=1
5998 fi
5999
6000 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6001
6002fi;
6003
6004 eval "$ac_cv_use_constraints"
6005 if test "$no_cache" != 1; then
6006 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6007 fi
6008
6009 if test "$wxUSE_CONSTRAINTS" = yes; then
6010 echo "$as_me:$LINENO: result: yes" >&5
6011echo "${ECHO_T}yes" >&6
6012 else
6013 echo "$as_me:$LINENO: result: no" >&5
6014echo "${ECHO_T}no" >&6
6015 fi
6016
6017
6018 enablestring=
6019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6020echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6021 no_cache=0
6022 # Check whether --enable-printarch or --disable-printarch was given.
6023if test "${enable_printarch+set}" = set; then
6024 enableval="$enable_printarch"
6025
6026 if test "$enableval" = yes; then
6027 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6028 else
6029 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6030 fi
6031
6032else
6033
6034 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6035 if test "x$LINE" != x ; then
6036 eval "DEFAULT_$LINE"
6037 else
6038 no_cache=1
6039 fi
6040
6041 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6042
6043fi;
6044
6045 eval "$ac_cv_use_printarch"
6046 if test "$no_cache" != 1; then
6047 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6048 fi
6049
6050 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6051 echo "$as_me:$LINENO: result: yes" >&5
6052echo "${ECHO_T}yes" >&6
6053 else
6054 echo "$as_me:$LINENO: result: no" >&5
6055echo "${ECHO_T}no" >&6
6056 fi
6057
6058
6059 enablestring=
6060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6061echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6062 no_cache=0
6063 # Check whether --enable-mdi or --disable-mdi was given.
6064if test "${enable_mdi+set}" = set; then
6065 enableval="$enable_mdi"
6066
6067 if test "$enableval" = yes; then
6068 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6069 else
6070 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6071 fi
6072
6073else
6074
6075 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6076 if test "x$LINE" != x ; then
6077 eval "DEFAULT_$LINE"
6078 else
6079 no_cache=1
6080 fi
6081
6082 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6083
6084fi;
6085
6086 eval "$ac_cv_use_mdi"
6087 if test "$no_cache" != 1; then
6088 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6089 fi
6090
6091 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6092 echo "$as_me:$LINENO: result: yes" >&5
6093echo "${ECHO_T}yes" >&6
6094 else
6095 echo "$as_me:$LINENO: result: no" >&5
6096echo "${ECHO_T}no" >&6
6097 fi
6098
6099
6100 enablestring=
6101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6102echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6103 no_cache=0
6104 # Check whether --enable-loggui or --disable-loggui was given.
6105if test "${enable_loggui+set}" = set; then
6106 enableval="$enable_loggui"
6107
6108 if test "$enableval" = yes; then
6109 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6110 else
6111 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6112 fi
6113
6114else
6115
6116 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6117 if test "x$LINE" != x ; then
6118 eval "DEFAULT_$LINE"
6119 else
6120 no_cache=1
6121 fi
6122
6123 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6124
6125fi;
6126
6127 eval "$ac_cv_use_loggui"
6128 if test "$no_cache" != 1; then
6129 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6130 fi
6131
6132 if test "$wxUSE_LOGGUI" = yes; then
6133 echo "$as_me:$LINENO: result: yes" >&5
6134echo "${ECHO_T}yes" >&6
6135 else
6136 echo "$as_me:$LINENO: result: no" >&5
6137echo "${ECHO_T}no" >&6
6138 fi
6139
6140
6141 enablestring=
6142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6143echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6144 no_cache=0
6145 # Check whether --enable-logwin or --disable-logwin was given.
6146if test "${enable_logwin+set}" = set; then
6147 enableval="$enable_logwin"
6148
6149 if test "$enableval" = yes; then
6150 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6151 else
6152 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6153 fi
6154
6155else
6156
6157 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6158 if test "x$LINE" != x ; then
6159 eval "DEFAULT_$LINE"
6160 else
6161 no_cache=1
6162 fi
6163
6164 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6165
6166fi;
6167
6168 eval "$ac_cv_use_logwin"
6169 if test "$no_cache" != 1; then
6170 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6171 fi
6172
6173 if test "$wxUSE_LOGWINDOW" = yes; then
6174 echo "$as_me:$LINENO: result: yes" >&5
6175echo "${ECHO_T}yes" >&6
6176 else
6177 echo "$as_me:$LINENO: result: no" >&5
6178echo "${ECHO_T}no" >&6
6179 fi
6180
6181
6182 enablestring=
6183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6184echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6185 no_cache=0
6186 # Check whether --enable-logdialog or --disable-logdialog was given.
6187if test "${enable_logdialog+set}" = set; then
6188 enableval="$enable_logdialog"
6189
6190 if test "$enableval" = yes; then
6191 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6192 else
6193 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6194 fi
6195
6196else
6197
6198 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6199 if test "x$LINE" != x ; then
6200 eval "DEFAULT_$LINE"
6201 else
6202 no_cache=1
6203 fi
6204
6205 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6206
6207fi;
6208
6209 eval "$ac_cv_use_logdialog"
6210 if test "$no_cache" != 1; then
6211 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6212 fi
6213
6214 if test "$wxUSE_LOGDIALOG" = yes; then
6215 echo "$as_me:$LINENO: result: yes" >&5
6216echo "${ECHO_T}yes" >&6
6217 else
6218 echo "$as_me:$LINENO: result: no" >&5
6219echo "${ECHO_T}no" >&6
6220 fi
6221
6222
6223
6224 enablestring=
6225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6226echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6227 no_cache=0
6228 # Check whether --enable-postscript or --disable-postscript was given.
6229if test "${enable_postscript+set}" = set; then
6230 enableval="$enable_postscript"
6231
6232 if test "$enableval" = yes; then
6233 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6234 else
6235 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6236 fi
6237
6238else
6239
6240 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6241 if test "x$LINE" != x ; then
6242 eval "DEFAULT_$LINE"
6243 else
6244 no_cache=1
6245 fi
6246
6247 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6248
6249fi;
6250
6251 eval "$ac_cv_use_postscript"
6252 if test "$no_cache" != 1; then
6253 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6254 fi
6255
6256 if test "$wxUSE_POSTSCRIPT" = yes; then
6257 echo "$as_me:$LINENO: result: yes" >&5
6258echo "${ECHO_T}yes" >&6
6259 else
6260 echo "$as_me:$LINENO: result: no" >&5
6261echo "${ECHO_T}no" >&6
6262 fi
6263
6264
6265
6266
6267
6268 enablestring=
6269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6270echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6271 no_cache=0
6272 # Check whether --enable-prologio or --disable-prologio was given.
6273if test "${enable_prologio+set}" = set; then
6274 enableval="$enable_prologio"
6275
6276 if test "$enableval" = yes; then
6277 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6278 else
6279 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6280 fi
6281
6282else
6283
6284 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6285 if test "x$LINE" != x ; then
6286 eval "DEFAULT_$LINE"
6287 else
6288 no_cache=1
6289 fi
6290
6291 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6292
6293fi;
6294
6295 eval "$ac_cv_use_prologio"
6296 if test "$no_cache" != 1; then
6297 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6298 fi
6299
6300 if test "$wxUSE_PROLOGIO" = yes; then
6301 echo "$as_me:$LINENO: result: yes" >&5
6302echo "${ECHO_T}yes" >&6
6303 else
6304 echo "$as_me:$LINENO: result: no" >&5
6305echo "${ECHO_T}no" >&6
6306 fi
6307
6308
6309 enablestring=
6310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6311echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6312 no_cache=0
6313 # Check whether --enable-resources or --disable-resources was given.
6314if test "${enable_resources+set}" = set; then
6315 enableval="$enable_resources"
6316
6317 if test "$enableval" = yes; then
6318 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6319 else
6320 ac_cv_use_resources='wxUSE_RESOURCES=no'
6321 fi
6322
6323else
6324
6325 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6326 if test "x$LINE" != x ; then
6327 eval "DEFAULT_$LINE"
6328 else
6329 no_cache=1
6330 fi
6331
6332 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6333
6334fi;
6335
6336 eval "$ac_cv_use_resources"
6337 if test "$no_cache" != 1; then
6338 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6339 fi
6340
6341 if test "$wxUSE_RESOURCES" = yes; then
6342 echo "$as_me:$LINENO: result: yes" >&5
6343echo "${ECHO_T}yes" >&6
6344 else
6345 echo "$as_me:$LINENO: result: no" >&5
6346echo "${ECHO_T}no" >&6
6347 fi
6348
6349
6350
6351
6352 enablestring=
6353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6354echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6355 no_cache=0
6356 # Check whether --enable-clipboard or --disable-clipboard was given.
6357if test "${enable_clipboard+set}" = set; then
6358 enableval="$enable_clipboard"
6359
6360 if test "$enableval" = yes; then
6361 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6362 else
6363 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6364 fi
6365
6366else
6367
6368 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6369 if test "x$LINE" != x ; then
6370 eval "DEFAULT_$LINE"
6371 else
6372 no_cache=1
6373 fi
6374
6375 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6376
6377fi;
6378
6379 eval "$ac_cv_use_clipboard"
6380 if test "$no_cache" != 1; then
6381 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6382 fi
6383
6384 if test "$wxUSE_CLIPBOARD" = yes; then
6385 echo "$as_me:$LINENO: result: yes" >&5
6386echo "${ECHO_T}yes" >&6
6387 else
6388 echo "$as_me:$LINENO: result: no" >&5
6389echo "${ECHO_T}no" >&6
6390 fi
6391
6392
6393 enablestring=
6394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6395echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6396 no_cache=0
6397 # Check whether --enable-dnd or --disable-dnd was given.
6398if test "${enable_dnd+set}" = set; then
6399 enableval="$enable_dnd"
6400
6401 if test "$enableval" = yes; then
6402 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6403 else
6404 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6405 fi
6406
6407else
6408
6409 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6410 if test "x$LINE" != x ; then
6411 eval "DEFAULT_$LINE"
6412 else
6413 no_cache=1
6414 fi
6415
6416 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6417
6418fi;
6419
6420 eval "$ac_cv_use_dnd"
6421 if test "$no_cache" != 1; then
6422 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6423 fi
6424
6425 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6426 echo "$as_me:$LINENO: result: yes" >&5
6427echo "${ECHO_T}yes" >&6
6428 else
6429 echo "$as_me:$LINENO: result: no" >&5
6430echo "${ECHO_T}no" >&6
6431 fi
6432
6433
6434 enablestring=
6435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6436echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6437 no_cache=0
6438 # Check whether --enable-metafile or --disable-metafile was given.
6439if test "${enable_metafile+set}" = set; then
6440 enableval="$enable_metafile"
6441
6442 if test "$enableval" = yes; then
6443 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6444 else
6445 ac_cv_use_metafile='wxUSE_METAFILE=no'
6446 fi
6447
6448else
6449
6450 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6451 if test "x$LINE" != x ; then
6452 eval "DEFAULT_$LINE"
6453 else
6454 no_cache=1
6455 fi
6456
6457 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6458
6459fi;
6460
6461 eval "$ac_cv_use_metafile"
6462 if test "$no_cache" != 1; then
6463 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6464 fi
6465
6466 if test "$wxUSE_METAFILE" = yes; then
6467 echo "$as_me:$LINENO: result: yes" >&5
6468echo "${ECHO_T}yes" >&6
6469 else
6470 echo "$as_me:$LINENO: result: no" >&5
6471echo "${ECHO_T}no" >&6
6472 fi
6473
6474
6475
6476
6477
6478 enablestring=
6479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6480echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6481 no_cache=0
6482 # Check whether --enable-controls or --disable-controls was given.
6483if test "${enable_controls+set}" = set; then
6484 enableval="$enable_controls"
6485
6486 if test "$enableval" = yes; then
6487 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6488 else
6489 ac_cv_use_controls='wxUSE_CONTROLS=no'
6490 fi
6491
6492else
6493
6494 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6495 if test "x$LINE" != x ; then
6496 eval "DEFAULT_$LINE"
6497 else
6498 no_cache=1
6499 fi
6500
6501 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6502
6503fi;
6504
6505 eval "$ac_cv_use_controls"
6506 if test "$no_cache" != 1; then
6507 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6508 fi
6509
6510 if test "$wxUSE_CONTROLS" = yes; then
6511 echo "$as_me:$LINENO: result: yes" >&5
6512echo "${ECHO_T}yes" >&6
6513 else
6514 echo "$as_me:$LINENO: result: no" >&5
6515echo "${ECHO_T}no" >&6
6516 fi
6517
6518
6519if test "$wxUSE_CONTROLS" = "yes"; then
6520 DEFAULT_wxUSE_ACCEL=yes
6521 DEFAULT_wxUSE_BMPBUTTON=yes
6522 DEFAULT_wxUSE_BUTTON=yes
6523 DEFAULT_wxUSE_CALCTRL=no
6524 DEFAULT_wxUSE_CARET=yes
6525 DEFAULT_wxUSE_COMBOBOX=yes
6526 DEFAULT_wxUSE_CHECKBOX=yes
6527 DEFAULT_wxUSE_CHECKLISTBOX=yes
6528 DEFAULT_wxUSE_CHOICE=yes
6529 DEFAULT_wxUSE_GAUGE=yes
6530 DEFAULT_wxUSE_GRID=yes
6531 DEFAULT_wxUSE_IMAGLIST=yes
6532 DEFAULT_wxUSE_LISTBOOK=yes
6533 DEFAULT_wxUSE_LISTBOX=yes
6534 DEFAULT_wxUSE_LISTCTRL=yes
6535 DEFAULT_wxUSE_NOTEBOOK=yes
6536 DEFAULT_wxUSE_RADIOBOX=yes
6537 DEFAULT_wxUSE_RADIOBTN=yes
6538 DEFAULT_wxUSE_SASH=yes
6539 DEFAULT_wxUSE_SCROLLBAR=yes
6540 DEFAULT_wxUSE_SLIDER=yes
6541 DEFAULT_wxUSE_SPINBTN=yes
6542 DEFAULT_wxUSE_SPINCTRL=yes
6543 DEFAULT_wxUSE_SPLITTER=yes
6544 DEFAULT_wxUSE_STATBMP=yes
6545 DEFAULT_wxUSE_STATBOX=yes
6546 DEFAULT_wxUSE_STATLINE=yes
6547 DEFAULT_wxUSE_STATUSBAR=yes
6548 DEFAULT_wxUSE_TAB_DIALOG=yes
6549 DEFAULT_wxUSE_TOGGLEBTN=yes
6550 DEFAULT_wxUSE_TOOLBAR=yes
6551 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6552 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6553 DEFAULT_wxUSE_TOOLTIPS=yes
6554 DEFAULT_wxUSE_TREECTRL=yes
6555 DEFAULT_wxUSE_POPUPWIN=yes
6556 DEFAULT_wxUSE_TIPWINDOW=yes
6557elif test "$wxUSE_CONTROLS" = "no"; then
6558 DEFAULT_wxUSE_ACCEL=no
6559 DEFAULT_wxUSE_BMPBUTTON=no
6560 DEFAULT_wxUSE_BUTTON=no
6561 DEFAULT_wxUSE_CALCTRL=no
6562 DEFAULT_wxUSE_CARET=no
6563 DEFAULT_wxUSE_COMBOBOX=no
6564 DEFAULT_wxUSE_CHECKBOX=no
6565 DEFAULT_wxUSE_CHECKLISTBOX=no
6566 DEFAULT_wxUSE_CHOICE=no
6567 DEFAULT_wxUSE_GAUGE=no
6568 DEFAULT_wxUSE_GRID=no
6569 DEFAULT_wxUSE_IMAGLIST=no
6570 DEFAULT_wxUSE_LISTBOOK=no
6571 DEFAULT_wxUSE_LISTBOX=no
6572 DEFAULT_wxUSE_LISTCTRL=no
6573 DEFAULT_wxUSE_NOTEBOOK=no
6574 DEFAULT_wxUSE_RADIOBOX=no
6575 DEFAULT_wxUSE_RADIOBTN=no
6576 DEFAULT_wxUSE_SASH=no
6577 DEFAULT_wxUSE_SCROLLBAR=no
6578 DEFAULT_wxUSE_SLIDER=no
6579 DEFAULT_wxUSE_SPINBTN=no
6580 DEFAULT_wxUSE_SPINCTRL=no
6581 DEFAULT_wxUSE_SPLITTER=no
6582 DEFAULT_wxUSE_STATBMP=no
6583 DEFAULT_wxUSE_STATBOX=no
6584 DEFAULT_wxUSE_STATLINE=no
6585 DEFAULT_wxUSE_STATUSBAR=no
6586 DEFAULT_wxUSE_TAB_DIALOG=no
6587 DEFAULT_wxUSE_TOGGLEBTN=no
6588 DEFAULT_wxUSE_TOOLBAR=no
6589 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6590 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6591 DEFAULT_wxUSE_TOOLTIPS=no
6592 DEFAULT_wxUSE_TREECTRL=no
6593 DEFAULT_wxUSE_POPUPWIN=no
6594 DEFAULT_wxUSE_TIPWINDOW=no
6595fi
6596
6597## FIXME: This is a blatant hack
6598if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6599 wxUSE_PRINTING_ARCHITECTURE=no
6600 wxUSE_DRAG_AND_DROP=no
6601 # Generic notebook requires tab dialog
6602 DEFAULT_wxUSE_TABDIALOG=yes
6603 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6604 DEFAULT_wxUSE_SCROLLBAR=no
6605 DEFAULT_wxUSE_TOOLTIPS=no
6606 DEFAULT_wxUSE_DRAGIMAGE=no
6607fi
6608
6609
6610 enablestring=
6611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6612echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6613 no_cache=0
6614 # Check whether --enable-accel or --disable-accel was given.
6615if test "${enable_accel+set}" = set; then
6616 enableval="$enable_accel"
6617
6618 if test "$enableval" = yes; then
6619 ac_cv_use_accel='wxUSE_ACCEL=yes'
6620 else
6621 ac_cv_use_accel='wxUSE_ACCEL=no'
6622 fi
6623
6624else
6625
6626 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6627 if test "x$LINE" != x ; then
6628 eval "DEFAULT_$LINE"
6629 else
6630 no_cache=1
6631 fi
6632
6633 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6634
6635fi;
6636
6637 eval "$ac_cv_use_accel"
6638 if test "$no_cache" != 1; then
6639 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6640 fi
6641
6642 if test "$wxUSE_ACCEL" = yes; then
6643 echo "$as_me:$LINENO: result: yes" >&5
6644echo "${ECHO_T}yes" >&6
6645 else
6646 echo "$as_me:$LINENO: result: no" >&5
6647echo "${ECHO_T}no" >&6
6648 fi
6649
6650
6651 enablestring=
6652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6653echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6654 no_cache=0
6655 # Check whether --enable-button or --disable-button was given.
6656if test "${enable_button+set}" = set; then
6657 enableval="$enable_button"
6658
6659 if test "$enableval" = yes; then
6660 ac_cv_use_button='wxUSE_BUTTON=yes'
6661 else
6662 ac_cv_use_button='wxUSE_BUTTON=no'
6663 fi
6664
6665else
6666
6667 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6668 if test "x$LINE" != x ; then
6669 eval "DEFAULT_$LINE"
6670 else
6671 no_cache=1
6672 fi
6673
6674 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6675
6676fi;
6677
6678 eval "$ac_cv_use_button"
6679 if test "$no_cache" != 1; then
6680 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6681 fi
6682
6683 if test "$wxUSE_BUTTON" = yes; then
6684 echo "$as_me:$LINENO: result: yes" >&5
6685echo "${ECHO_T}yes" >&6
6686 else
6687 echo "$as_me:$LINENO: result: no" >&5
6688echo "${ECHO_T}no" >&6
6689 fi
6690
6691
6692 enablestring=
6693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6694echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6695 no_cache=0
6696 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6697if test "${enable_bmpbutton+set}" = set; then
6698 enableval="$enable_bmpbutton"
6699
6700 if test "$enableval" = yes; then
6701 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6702 else
6703 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6704 fi
6705
6706else
6707
6708 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6709 if test "x$LINE" != x ; then
6710 eval "DEFAULT_$LINE"
6711 else
6712 no_cache=1
6713 fi
6714
6715 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6716
6717fi;
6718
6719 eval "$ac_cv_use_bmpbutton"
6720 if test "$no_cache" != 1; then
6721 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6722 fi
6723
6724 if test "$wxUSE_BMPBUTTON" = yes; then
6725 echo "$as_me:$LINENO: result: yes" >&5
6726echo "${ECHO_T}yes" >&6
6727 else
6728 echo "$as_me:$LINENO: result: no" >&5
6729echo "${ECHO_T}no" >&6
6730 fi
6731
6732
6733 enablestring=
6734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6735echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6736 no_cache=0
6737 # Check whether --enable-calendar or --disable-calendar was given.
6738if test "${enable_calendar+set}" = set; then
6739 enableval="$enable_calendar"
6740
6741 if test "$enableval" = yes; then
6742 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6743 else
6744 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6745 fi
6746
6747else
6748
6749 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6750 if test "x$LINE" != x ; then
6751 eval "DEFAULT_$LINE"
6752 else
6753 no_cache=1
6754 fi
6755
6756 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6757
6758fi;
6759
6760 eval "$ac_cv_use_calendar"
6761 if test "$no_cache" != 1; then
6762 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6763 fi
6764
6765 if test "$wxUSE_CALCTRL" = yes; then
6766 echo "$as_me:$LINENO: result: yes" >&5
6767echo "${ECHO_T}yes" >&6
6768 else
6769 echo "$as_me:$LINENO: result: no" >&5
6770echo "${ECHO_T}no" >&6
6771 fi
6772
6773
6774 enablestring=
6775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6776echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6777 no_cache=0
6778 # Check whether --enable-caret or --disable-caret was given.
6779if test "${enable_caret+set}" = set; then
6780 enableval="$enable_caret"
6781
6782 if test "$enableval" = yes; then
6783 ac_cv_use_caret='wxUSE_CARET=yes'
6784 else
6785 ac_cv_use_caret='wxUSE_CARET=no'
6786 fi
6787
6788else
6789
6790 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6791 if test "x$LINE" != x ; then
6792 eval "DEFAULT_$LINE"
6793 else
6794 no_cache=1
6795 fi
6796
6797 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6798
6799fi;
6800
6801 eval "$ac_cv_use_caret"
6802 if test "$no_cache" != 1; then
6803 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6804 fi
6805
6806 if test "$wxUSE_CARET" = yes; then
6807 echo "$as_me:$LINENO: result: yes" >&5
6808echo "${ECHO_T}yes" >&6
6809 else
6810 echo "$as_me:$LINENO: result: no" >&5
6811echo "${ECHO_T}no" >&6
6812 fi
6813
6814
6815 enablestring=
6816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6817echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6818 no_cache=0
6819 # Check whether --enable-checkbox or --disable-checkbox was given.
6820if test "${enable_checkbox+set}" = set; then
6821 enableval="$enable_checkbox"
6822
6823 if test "$enableval" = yes; then
6824 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6825 else
6826 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6827 fi
6828
6829else
6830
6831 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6832 if test "x$LINE" != x ; then
6833 eval "DEFAULT_$LINE"
6834 else
6835 no_cache=1
6836 fi
6837
6838 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6839
6840fi;
6841
6842 eval "$ac_cv_use_checkbox"
6843 if test "$no_cache" != 1; then
6844 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6845 fi
6846
6847 if test "$wxUSE_CHECKBOX" = yes; then
6848 echo "$as_me:$LINENO: result: yes" >&5
6849echo "${ECHO_T}yes" >&6
6850 else
6851 echo "$as_me:$LINENO: result: no" >&5
6852echo "${ECHO_T}no" >&6
6853 fi
6854
6855
6856 enablestring=
6857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6858echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6859 no_cache=0
6860 # Check whether --enable-checklst or --disable-checklst was given.
6861if test "${enable_checklst+set}" = set; then
6862 enableval="$enable_checklst"
6863
6864 if test "$enableval" = yes; then
6865 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6866 else
6867 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6868 fi
6869
6870else
6871
6872 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6873 if test "x$LINE" != x ; then
6874 eval "DEFAULT_$LINE"
6875 else
6876 no_cache=1
6877 fi
6878
6879 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6880
6881fi;
6882
6883 eval "$ac_cv_use_checklst"
6884 if test "$no_cache" != 1; then
6885 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6886 fi
6887
6888 if test "$wxUSE_CHECKLST" = yes; then
6889 echo "$as_me:$LINENO: result: yes" >&5
6890echo "${ECHO_T}yes" >&6
6891 else
6892 echo "$as_me:$LINENO: result: no" >&5
6893echo "${ECHO_T}no" >&6
6894 fi
6895
6896
6897 enablestring=
6898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6899echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6900 no_cache=0
6901 # Check whether --enable-choice or --disable-choice was given.
6902if test "${enable_choice+set}" = set; then
6903 enableval="$enable_choice"
6904
6905 if test "$enableval" = yes; then
6906 ac_cv_use_choice='wxUSE_CHOICE=yes'
6907 else
6908 ac_cv_use_choice='wxUSE_CHOICE=no'
6909 fi
6910
6911else
6912
6913 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6914 if test "x$LINE" != x ; then
6915 eval "DEFAULT_$LINE"
6916 else
6917 no_cache=1
6918 fi
6919
6920 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6921
6922fi;
6923
6924 eval "$ac_cv_use_choice"
6925 if test "$no_cache" != 1; then
6926 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6927 fi
6928
6929 if test "$wxUSE_CHOICE" = yes; then
6930 echo "$as_me:$LINENO: result: yes" >&5
6931echo "${ECHO_T}yes" >&6
6932 else
6933 echo "$as_me:$LINENO: result: no" >&5
6934echo "${ECHO_T}no" >&6
6935 fi
6936
6937
6938 enablestring=
6939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6940echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6941 no_cache=0
6942 # Check whether --enable-combobox or --disable-combobox was given.
6943if test "${enable_combobox+set}" = set; then
6944 enableval="$enable_combobox"
6945
6946 if test "$enableval" = yes; then
6947 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6948 else
6949 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6950 fi
6951
6952else
6953
6954 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6955 if test "x$LINE" != x ; then
6956 eval "DEFAULT_$LINE"
6957 else
6958 no_cache=1
6959 fi
6960
6961 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6962
6963fi;
6964
6965 eval "$ac_cv_use_combobox"
6966 if test "$no_cache" != 1; then
6967 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6968 fi
6969
6970 if test "$wxUSE_COMBOBOX" = yes; then
6971 echo "$as_me:$LINENO: result: yes" >&5
6972echo "${ECHO_T}yes" >&6
6973 else
6974 echo "$as_me:$LINENO: result: no" >&5
6975echo "${ECHO_T}no" >&6
6976 fi
6977
6978
6979 enablestring=
6980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6981echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6982 no_cache=0
6983 # Check whether --enable-display or --disable-display was given.
6984if test "${enable_display+set}" = set; then
6985 enableval="$enable_display"
6986
6987 if test "$enableval" = yes; then
6988 ac_cv_use_display='wxUSE_DISPLAY=yes'
6989 else
6990 ac_cv_use_display='wxUSE_DISPLAY=no'
6991 fi
6992
6993else
6994
6995 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6996 if test "x$LINE" != x ; then
6997 eval "DEFAULT_$LINE"
6998 else
6999 no_cache=1
7000 fi
7001
7002 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7003
7004fi;
7005
7006 eval "$ac_cv_use_display"
7007 if test "$no_cache" != 1; then
7008 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7009 fi
7010
7011 if test "$wxUSE_DISPLAY" = yes; then
7012 echo "$as_me:$LINENO: result: yes" >&5
7013echo "${ECHO_T}yes" >&6
7014 else
7015 echo "$as_me:$LINENO: result: no" >&5
7016echo "${ECHO_T}no" >&6
7017 fi
7018
7019
7020 enablestring=
7021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7022echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7023 no_cache=0
7024 # Check whether --enable-gauge or --disable-gauge was given.
7025if test "${enable_gauge+set}" = set; then
7026 enableval="$enable_gauge"
7027
7028 if test "$enableval" = yes; then
7029 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7030 else
7031 ac_cv_use_gauge='wxUSE_GAUGE=no'
7032 fi
7033
7034else
7035
7036 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7037 if test "x$LINE" != x ; then
7038 eval "DEFAULT_$LINE"
7039 else
7040 no_cache=1
7041 fi
7042
7043 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7044
7045fi;
7046
7047 eval "$ac_cv_use_gauge"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7050 fi
7051
7052 if test "$wxUSE_GAUGE" = yes; then
7053 echo "$as_me:$LINENO: result: yes" >&5
7054echo "${ECHO_T}yes" >&6
7055 else
7056 echo "$as_me:$LINENO: result: no" >&5
7057echo "${ECHO_T}no" >&6
7058 fi
7059
7060
7061 enablestring=
7062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7063echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7064 no_cache=0
7065 # Check whether --enable-grid or --disable-grid was given.
7066if test "${enable_grid+set}" = set; then
7067 enableval="$enable_grid"
7068
7069 if test "$enableval" = yes; then
7070 ac_cv_use_grid='wxUSE_GRID=yes'
7071 else
7072 ac_cv_use_grid='wxUSE_GRID=no'
7073 fi
7074
7075else
7076
7077 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7078 if test "x$LINE" != x ; then
7079 eval "DEFAULT_$LINE"
7080 else
7081 no_cache=1
7082 fi
7083
7084 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7085
7086fi;
7087
7088 eval "$ac_cv_use_grid"
7089 if test "$no_cache" != 1; then
7090 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7091 fi
7092
7093 if test "$wxUSE_GRID" = yes; then
7094 echo "$as_me:$LINENO: result: yes" >&5
7095echo "${ECHO_T}yes" >&6
7096 else
7097 echo "$as_me:$LINENO: result: no" >&5
7098echo "${ECHO_T}no" >&6
7099 fi
7100
7101
7102 enablestring=
7103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7104echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7105 no_cache=0
7106 # Check whether --enable-imaglist or --disable-imaglist was given.
7107if test "${enable_imaglist+set}" = set; then
7108 enableval="$enable_imaglist"
7109
7110 if test "$enableval" = yes; then
7111 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7112 else
7113 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7114 fi
7115
7116else
7117
7118 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7119 if test "x$LINE" != x ; then
7120 eval "DEFAULT_$LINE"
7121 else
7122 no_cache=1
7123 fi
7124
7125 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7126
7127fi;
7128
7129 eval "$ac_cv_use_imaglist"
7130 if test "$no_cache" != 1; then
7131 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7132 fi
7133
7134 if test "$wxUSE_IMAGLIST" = yes; then
7135 echo "$as_me:$LINENO: result: yes" >&5
7136echo "${ECHO_T}yes" >&6
7137 else
7138 echo "$as_me:$LINENO: result: no" >&5
7139echo "${ECHO_T}no" >&6
7140 fi
7141
7142
7143 enablestring=
7144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7145echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7146 no_cache=0
7147 # Check whether --enable-listbook or --disable-listbook was given.
7148if test "${enable_listbook+set}" = set; then
7149 enableval="$enable_listbook"
7150
7151 if test "$enableval" = yes; then
7152 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7153 else
7154 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7155 fi
7156
7157else
7158
7159 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7160 if test "x$LINE" != x ; then
7161 eval "DEFAULT_$LINE"
7162 else
7163 no_cache=1
7164 fi
7165
7166 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7167
7168fi;
7169
7170 eval "$ac_cv_use_listbook"
7171 if test "$no_cache" != 1; then
7172 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7173 fi
7174
7175 if test "$wxUSE_LISTBOOK" = yes; then
7176 echo "$as_me:$LINENO: result: yes" >&5
7177echo "${ECHO_T}yes" >&6
7178 else
7179 echo "$as_me:$LINENO: result: no" >&5
7180echo "${ECHO_T}no" >&6
7181 fi
7182
7183
7184 enablestring=
7185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7186echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7187 no_cache=0
7188 # Check whether --enable-listbox or --disable-listbox was given.
7189if test "${enable_listbox+set}" = set; then
7190 enableval="$enable_listbox"
7191
7192 if test "$enableval" = yes; then
7193 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7194 else
7195 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7196 fi
7197
7198else
7199
7200 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7201 if test "x$LINE" != x ; then
7202 eval "DEFAULT_$LINE"
7203 else
7204 no_cache=1
7205 fi
7206
7207 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7208
7209fi;
7210
7211 eval "$ac_cv_use_listbox"
7212 if test "$no_cache" != 1; then
7213 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7214 fi
7215
7216 if test "$wxUSE_LISTBOX" = yes; then
7217 echo "$as_me:$LINENO: result: yes" >&5
7218echo "${ECHO_T}yes" >&6
7219 else
7220 echo "$as_me:$LINENO: result: no" >&5
7221echo "${ECHO_T}no" >&6
7222 fi
7223
7224
7225 enablestring=
7226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7227echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7228 no_cache=0
7229 # Check whether --enable-listctrl or --disable-listctrl was given.
7230if test "${enable_listctrl+set}" = set; then
7231 enableval="$enable_listctrl"
7232
7233 if test "$enableval" = yes; then
7234 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7235 else
7236 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7237 fi
7238
7239else
7240
7241 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7242 if test "x$LINE" != x ; then
7243 eval "DEFAULT_$LINE"
7244 else
7245 no_cache=1
7246 fi
7247
7248 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7249
7250fi;
7251
7252 eval "$ac_cv_use_listctrl"
7253 if test "$no_cache" != 1; then
7254 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7255 fi
7256
7257 if test "$wxUSE_LISTCTRL" = yes; then
7258 echo "$as_me:$LINENO: result: yes" >&5
7259echo "${ECHO_T}yes" >&6
7260 else
7261 echo "$as_me:$LINENO: result: no" >&5
7262echo "${ECHO_T}no" >&6
7263 fi
7264
7265
7266 enablestring=
7267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7268echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7269 no_cache=0
7270 # Check whether --enable-notebook or --disable-notebook was given.
7271if test "${enable_notebook+set}" = set; then
7272 enableval="$enable_notebook"
7273
7274 if test "$enableval" = yes; then
7275 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7276 else
7277 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7278 fi
7279
7280else
7281
7282 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7283 if test "x$LINE" != x ; then
7284 eval "DEFAULT_$LINE"
7285 else
7286 no_cache=1
7287 fi
7288
7289 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7290
7291fi;
7292
7293 eval "$ac_cv_use_notebook"
7294 if test "$no_cache" != 1; then
7295 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7296 fi
7297
7298 if test "$wxUSE_NOTEBOOK" = yes; then
7299 echo "$as_me:$LINENO: result: yes" >&5
7300echo "${ECHO_T}yes" >&6
7301 else
7302 echo "$as_me:$LINENO: result: no" >&5
7303echo "${ECHO_T}no" >&6
7304 fi
7305
7306
7307 enablestring=
7308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7309echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7310 no_cache=0
7311 # Check whether --enable-radiobox or --disable-radiobox was given.
7312if test "${enable_radiobox+set}" = set; then
7313 enableval="$enable_radiobox"
7314
7315 if test "$enableval" = yes; then
7316 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7317 else
7318 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7319 fi
7320
7321else
7322
7323 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7324 if test "x$LINE" != x ; then
7325 eval "DEFAULT_$LINE"
7326 else
7327 no_cache=1
7328 fi
7329
7330 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7331
7332fi;
7333
7334 eval "$ac_cv_use_radiobox"
7335 if test "$no_cache" != 1; then
7336 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7337 fi
7338
7339 if test "$wxUSE_RADIOBOX" = yes; then
7340 echo "$as_me:$LINENO: result: yes" >&5
7341echo "${ECHO_T}yes" >&6
7342 else
7343 echo "$as_me:$LINENO: result: no" >&5
7344echo "${ECHO_T}no" >&6
7345 fi
7346
7347
7348 enablestring=
7349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7350echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7351 no_cache=0
7352 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7353if test "${enable_radiobtn+set}" = set; then
7354 enableval="$enable_radiobtn"
7355
7356 if test "$enableval" = yes; then
7357 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7358 else
7359 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7360 fi
7361
7362else
7363
7364 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7365 if test "x$LINE" != x ; then
7366 eval "DEFAULT_$LINE"
7367 else
7368 no_cache=1
7369 fi
7370
7371 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7372
7373fi;
7374
7375 eval "$ac_cv_use_radiobtn"
7376 if test "$no_cache" != 1; then
7377 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7378 fi
7379
7380 if test "$wxUSE_RADIOBTN" = yes; then
7381 echo "$as_me:$LINENO: result: yes" >&5
7382echo "${ECHO_T}yes" >&6
7383 else
7384 echo "$as_me:$LINENO: result: no" >&5
7385echo "${ECHO_T}no" >&6
7386 fi
7387
7388
7389 enablestring=
7390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7391echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7392 no_cache=0
7393 # Check whether --enable-sash or --disable-sash was given.
7394if test "${enable_sash+set}" = set; then
7395 enableval="$enable_sash"
7396
7397 if test "$enableval" = yes; then
7398 ac_cv_use_sash='wxUSE_SASH=yes'
7399 else
7400 ac_cv_use_sash='wxUSE_SASH=no'
7401 fi
7402
7403else
7404
7405 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7406 if test "x$LINE" != x ; then
7407 eval "DEFAULT_$LINE"
7408 else
7409 no_cache=1
7410 fi
7411
7412 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7413
7414fi;
7415
7416 eval "$ac_cv_use_sash"
7417 if test "$no_cache" != 1; then
7418 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7419 fi
7420
7421 if test "$wxUSE_SASH" = yes; then
7422 echo "$as_me:$LINENO: result: yes" >&5
7423echo "${ECHO_T}yes" >&6
7424 else
7425 echo "$as_me:$LINENO: result: no" >&5
7426echo "${ECHO_T}no" >&6
7427 fi
7428
7429
7430 enablestring=
7431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7432echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7433 no_cache=0
7434 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7435if test "${enable_scrollbar+set}" = set; then
7436 enableval="$enable_scrollbar"
7437
7438 if test "$enableval" = yes; then
7439 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7440 else
7441 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7442 fi
7443
7444else
7445
7446 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7447 if test "x$LINE" != x ; then
7448 eval "DEFAULT_$LINE"
7449 else
7450 no_cache=1
7451 fi
7452
7453 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7454
7455fi;
7456
7457 eval "$ac_cv_use_scrollbar"
7458 if test "$no_cache" != 1; then
7459 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7460 fi
7461
7462 if test "$wxUSE_SCROLLBAR" = yes; then
7463 echo "$as_me:$LINENO: result: yes" >&5
7464echo "${ECHO_T}yes" >&6
7465 else
7466 echo "$as_me:$LINENO: result: no" >&5
7467echo "${ECHO_T}no" >&6
7468 fi
7469
7470
7471 enablestring=
7472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7473echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7474 no_cache=0
7475 # Check whether --enable-slider or --disable-slider was given.
7476if test "${enable_slider+set}" = set; then
7477 enableval="$enable_slider"
7478
7479 if test "$enableval" = yes; then
7480 ac_cv_use_slider='wxUSE_SLIDER=yes'
7481 else
7482 ac_cv_use_slider='wxUSE_SLIDER=no'
7483 fi
7484
7485else
7486
7487 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7488 if test "x$LINE" != x ; then
7489 eval "DEFAULT_$LINE"
7490 else
7491 no_cache=1
7492 fi
7493
7494 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7495
7496fi;
7497
7498 eval "$ac_cv_use_slider"
7499 if test "$no_cache" != 1; then
7500 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7501 fi
7502
7503 if test "$wxUSE_SLIDER" = yes; then
7504 echo "$as_me:$LINENO: result: yes" >&5
7505echo "${ECHO_T}yes" >&6
7506 else
7507 echo "$as_me:$LINENO: result: no" >&5
7508echo "${ECHO_T}no" >&6
7509 fi
7510
7511
7512 enablestring=
7513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7514echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7515 no_cache=0
7516 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7517if test "${enable_spinbtn+set}" = set; then
7518 enableval="$enable_spinbtn"
7519
7520 if test "$enableval" = yes; then
7521 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7522 else
7523 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7524 fi
7525
7526else
7527
7528 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7529 if test "x$LINE" != x ; then
7530 eval "DEFAULT_$LINE"
7531 else
7532 no_cache=1
7533 fi
7534
7535 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7536
7537fi;
7538
7539 eval "$ac_cv_use_spinbtn"
7540 if test "$no_cache" != 1; then
7541 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7542 fi
7543
7544 if test "$wxUSE_SPINBTN" = yes; then
7545 echo "$as_me:$LINENO: result: yes" >&5
7546echo "${ECHO_T}yes" >&6
7547 else
7548 echo "$as_me:$LINENO: result: no" >&5
7549echo "${ECHO_T}no" >&6
7550 fi
7551
7552
7553 enablestring=
7554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7555echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7556 no_cache=0
7557 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7558if test "${enable_spinctrl+set}" = set; then
7559 enableval="$enable_spinctrl"
7560
7561 if test "$enableval" = yes; then
7562 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7563 else
7564 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7565 fi
7566
7567else
7568
7569 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7570 if test "x$LINE" != x ; then
7571 eval "DEFAULT_$LINE"
7572 else
7573 no_cache=1
7574 fi
7575
7576 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7577
7578fi;
7579
7580 eval "$ac_cv_use_spinctrl"
7581 if test "$no_cache" != 1; then
7582 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7583 fi
7584
7585 if test "$wxUSE_SPINCTRL" = yes; then
7586 echo "$as_me:$LINENO: result: yes" >&5
7587echo "${ECHO_T}yes" >&6
7588 else
7589 echo "$as_me:$LINENO: result: no" >&5
7590echo "${ECHO_T}no" >&6
7591 fi
7592
7593
7594 enablestring=
7595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7596echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7597 no_cache=0
7598 # Check whether --enable-splitter or --disable-splitter was given.
7599if test "${enable_splitter+set}" = set; then
7600 enableval="$enable_splitter"
7601
7602 if test "$enableval" = yes; then
7603 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7604 else
7605 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7606 fi
7607
7608else
7609
7610 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7611 if test "x$LINE" != x ; then
7612 eval "DEFAULT_$LINE"
7613 else
7614 no_cache=1
7615 fi
7616
7617 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7618
7619fi;
7620
7621 eval "$ac_cv_use_splitter"
7622 if test "$no_cache" != 1; then
7623 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7624 fi
7625
7626 if test "$wxUSE_SPLITTER" = yes; then
7627 echo "$as_me:$LINENO: result: yes" >&5
7628echo "${ECHO_T}yes" >&6
7629 else
7630 echo "$as_me:$LINENO: result: no" >&5
7631echo "${ECHO_T}no" >&6
7632 fi
7633
7634
7635 enablestring=
7636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7637echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7638 no_cache=0
7639 # Check whether --enable-statbmp or --disable-statbmp was given.
7640if test "${enable_statbmp+set}" = set; then
7641 enableval="$enable_statbmp"
7642
7643 if test "$enableval" = yes; then
7644 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7645 else
7646 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7647 fi
7648
7649else
7650
7651 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7652 if test "x$LINE" != x ; then
7653 eval "DEFAULT_$LINE"
7654 else
7655 no_cache=1
7656 fi
7657
7658 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7659
7660fi;
7661
7662 eval "$ac_cv_use_statbmp"
7663 if test "$no_cache" != 1; then
7664 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7665 fi
7666
7667 if test "$wxUSE_STATBMP" = yes; then
7668 echo "$as_me:$LINENO: result: yes" >&5
7669echo "${ECHO_T}yes" >&6
7670 else
7671 echo "$as_me:$LINENO: result: no" >&5
7672echo "${ECHO_T}no" >&6
7673 fi
7674
7675
7676 enablestring=
7677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7678echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7679 no_cache=0
7680 # Check whether --enable-statbox or --disable-statbox was given.
7681if test "${enable_statbox+set}" = set; then
7682 enableval="$enable_statbox"
7683
7684 if test "$enableval" = yes; then
7685 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7686 else
7687 ac_cv_use_statbox='wxUSE_STATBOX=no'
7688 fi
7689
7690else
7691
7692 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7693 if test "x$LINE" != x ; then
7694 eval "DEFAULT_$LINE"
7695 else
7696 no_cache=1
7697 fi
7698
7699 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7700
7701fi;
7702
7703 eval "$ac_cv_use_statbox"
7704 if test "$no_cache" != 1; then
7705 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7706 fi
7707
7708 if test "$wxUSE_STATBOX" = yes; then
7709 echo "$as_me:$LINENO: result: yes" >&5
7710echo "${ECHO_T}yes" >&6
7711 else
7712 echo "$as_me:$LINENO: result: no" >&5
7713echo "${ECHO_T}no" >&6
7714 fi
7715
7716
7717 enablestring=
7718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7719echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7720 no_cache=0
7721 # Check whether --enable-statline or --disable-statline was given.
7722if test "${enable_statline+set}" = set; then
7723 enableval="$enable_statline"
7724
7725 if test "$enableval" = yes; then
7726 ac_cv_use_statline='wxUSE_STATLINE=yes'
7727 else
7728 ac_cv_use_statline='wxUSE_STATLINE=no'
7729 fi
7730
7731else
7732
7733 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7734 if test "x$LINE" != x ; then
7735 eval "DEFAULT_$LINE"
7736 else
7737 no_cache=1
7738 fi
7739
7740 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7741
7742fi;
7743
7744 eval "$ac_cv_use_statline"
7745 if test "$no_cache" != 1; then
7746 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7747 fi
7748
7749 if test "$wxUSE_STATLINE" = yes; then
7750 echo "$as_me:$LINENO: result: yes" >&5
7751echo "${ECHO_T}yes" >&6
7752 else
7753 echo "$as_me:$LINENO: result: no" >&5
7754echo "${ECHO_T}no" >&6
7755 fi
7756
7757
7758 enablestring=
7759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7760echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7761 no_cache=0
7762 # Check whether --enable-stattext or --disable-stattext was given.
7763if test "${enable_stattext+set}" = set; then
7764 enableval="$enable_stattext"
7765
7766 if test "$enableval" = yes; then
7767 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7768 else
7769 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7770 fi
7771
7772else
7773
7774 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7775 if test "x$LINE" != x ; then
7776 eval "DEFAULT_$LINE"
7777 else
7778 no_cache=1
7779 fi
7780
7781 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7782
7783fi;
7784
7785 eval "$ac_cv_use_stattext"
7786 if test "$no_cache" != 1; then
7787 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7788 fi
7789
7790 if test "$wxUSE_STATTEXT" = yes; then
7791 echo "$as_me:$LINENO: result: yes" >&5
7792echo "${ECHO_T}yes" >&6
7793 else
7794 echo "$as_me:$LINENO: result: no" >&5
7795echo "${ECHO_T}no" >&6
7796 fi
7797
7798
7799 enablestring=
7800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7801echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7802 no_cache=0
7803 # Check whether --enable-statusbar or --disable-statusbar was given.
7804if test "${enable_statusbar+set}" = set; then
7805 enableval="$enable_statusbar"
7806
7807 if test "$enableval" = yes; then
7808 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7809 else
7810 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7811 fi
7812
7813else
7814
7815 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7816 if test "x$LINE" != x ; then
7817 eval "DEFAULT_$LINE"
7818 else
7819 no_cache=1
7820 fi
7821
7822 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7823
7824fi;
7825
7826 eval "$ac_cv_use_statusbar"
7827 if test "$no_cache" != 1; then
7828 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7829 fi
7830
7831 if test "$wxUSE_STATUSBAR" = yes; then
7832 echo "$as_me:$LINENO: result: yes" >&5
7833echo "${ECHO_T}yes" >&6
7834 else
7835 echo "$as_me:$LINENO: result: no" >&5
7836echo "${ECHO_T}no" >&6
7837 fi
7838
7839
7840 enablestring=
7841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7842echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7843 no_cache=0
7844 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7845if test "${enable_tabdialog+set}" = set; then
7846 enableval="$enable_tabdialog"
7847
7848 if test "$enableval" = yes; then
7849 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7850 else
7851 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7852 fi
7853
7854else
7855
7856 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7857 if test "x$LINE" != x ; then
7858 eval "DEFAULT_$LINE"
7859 else
7860 no_cache=1
7861 fi
7862
7863 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7864
7865fi;
7866
7867 eval "$ac_cv_use_tabdialog"
7868 if test "$no_cache" != 1; then
7869 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7870 fi
7871
7872 if test "$wxUSE_TABDIALOG" = yes; then
7873 echo "$as_me:$LINENO: result: yes" >&5
7874echo "${ECHO_T}yes" >&6
7875 else
7876 echo "$as_me:$LINENO: result: no" >&5
7877echo "${ECHO_T}no" >&6
7878 fi
7879
7880
7881 enablestring=
7882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7883echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7884 no_cache=0
7885 # Check whether --enable-textctrl or --disable-textctrl was given.
7886if test "${enable_textctrl+set}" = set; then
7887 enableval="$enable_textctrl"
7888
7889 if test "$enableval" = yes; then
7890 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7891 else
7892 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7893 fi
7894
7895else
7896
7897 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7898 if test "x$LINE" != x ; then
7899 eval "DEFAULT_$LINE"
7900 else
7901 no_cache=1
7902 fi
7903
7904 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7905
7906fi;
7907
7908 eval "$ac_cv_use_textctrl"
7909 if test "$no_cache" != 1; then
7910 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7911 fi
7912
7913 if test "$wxUSE_TEXTCTRL" = yes; then
7914 echo "$as_me:$LINENO: result: yes" >&5
7915echo "${ECHO_T}yes" >&6
7916 else
7917 echo "$as_me:$LINENO: result: no" >&5
7918echo "${ECHO_T}no" >&6
7919 fi
7920
7921
7922 enablestring=
7923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7924echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7925 no_cache=0
7926 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7927if test "${enable_togglebtn+set}" = set; then
7928 enableval="$enable_togglebtn"
7929
7930 if test "$enableval" = yes; then
7931 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7932 else
7933 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7934 fi
7935
7936else
7937
7938 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7939 if test "x$LINE" != x ; then
7940 eval "DEFAULT_$LINE"
7941 else
7942 no_cache=1
7943 fi
7944
7945 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7946
7947fi;
7948
7949 eval "$ac_cv_use_togglebtn"
7950 if test "$no_cache" != 1; then
7951 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7952 fi
7953
7954 if test "$wxUSE_TOGGLEBTN" = yes; then
7955 echo "$as_me:$LINENO: result: yes" >&5
7956echo "${ECHO_T}yes" >&6
7957 else
7958 echo "$as_me:$LINENO: result: no" >&5
7959echo "${ECHO_T}no" >&6
7960 fi
7961
7962
7963 enablestring=
7964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7965echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7966 no_cache=0
7967 # Check whether --enable-toolbar or --disable-toolbar was given.
7968if test "${enable_toolbar+set}" = set; then
7969 enableval="$enable_toolbar"
7970
7971 if test "$enableval" = yes; then
7972 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7973 else
7974 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7975 fi
7976
7977else
7978
7979 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7980 if test "x$LINE" != x ; then
7981 eval "DEFAULT_$LINE"
7982 else
7983 no_cache=1
7984 fi
7985
7986 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7987
7988fi;
7989
7990 eval "$ac_cv_use_toolbar"
7991 if test "$no_cache" != 1; then
7992 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7993 fi
7994
7995 if test "$wxUSE_TOOLBAR" = yes; then
7996 echo "$as_me:$LINENO: result: yes" >&5
7997echo "${ECHO_T}yes" >&6
7998 else
7999 echo "$as_me:$LINENO: result: no" >&5
8000echo "${ECHO_T}no" >&6
8001 fi
8002
8003
8004 enablestring=
8005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8006echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8007 no_cache=0
8008 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8009if test "${enable_tbarnative+set}" = set; then
8010 enableval="$enable_tbarnative"
8011
8012 if test "$enableval" = yes; then
8013 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8014 else
8015 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8016 fi
8017
8018else
8019
8020 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8021 if test "x$LINE" != x ; then
8022 eval "DEFAULT_$LINE"
8023 else
8024 no_cache=1
8025 fi
8026
8027 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8028
8029fi;
8030
8031 eval "$ac_cv_use_tbarnative"
8032 if test "$no_cache" != 1; then
8033 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8034 fi
8035
8036 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8037 echo "$as_me:$LINENO: result: yes" >&5
8038echo "${ECHO_T}yes" >&6
8039 else
8040 echo "$as_me:$LINENO: result: no" >&5
8041echo "${ECHO_T}no" >&6
8042 fi
8043
8044
8045 enablestring=
8046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8047echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8048 no_cache=0
8049 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8050if test "${enable_tbarsmpl+set}" = set; then
8051 enableval="$enable_tbarsmpl"
8052
8053 if test "$enableval" = yes; then
8054 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8055 else
8056 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8057 fi
8058
8059else
8060
8061 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8062 if test "x$LINE" != x ; then
8063 eval "DEFAULT_$LINE"
8064 else
8065 no_cache=1
8066 fi
8067
8068 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8069
8070fi;
8071
8072 eval "$ac_cv_use_tbarsmpl"
8073 if test "$no_cache" != 1; then
8074 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8075 fi
8076
8077 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8078 echo "$as_me:$LINENO: result: yes" >&5
8079echo "${ECHO_T}yes" >&6
8080 else
8081 echo "$as_me:$LINENO: result: no" >&5
8082echo "${ECHO_T}no" >&6
8083 fi
8084
8085
8086 enablestring=
8087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8088echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8089 no_cache=0
8090 # Check whether --enable-treectrl or --disable-treectrl was given.
8091if test "${enable_treectrl+set}" = set; then
8092 enableval="$enable_treectrl"
8093
8094 if test "$enableval" = yes; then
8095 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8096 else
8097 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8098 fi
8099
8100else
8101
8102 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8103 if test "x$LINE" != x ; then
8104 eval "DEFAULT_$LINE"
8105 else
8106 no_cache=1
8107 fi
8108
8109 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8110
8111fi;
8112
8113 eval "$ac_cv_use_treectrl"
8114 if test "$no_cache" != 1; then
8115 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8116 fi
8117
8118 if test "$wxUSE_TREECTRL" = yes; then
8119 echo "$as_me:$LINENO: result: yes" >&5
8120echo "${ECHO_T}yes" >&6
8121 else
8122 echo "$as_me:$LINENO: result: no" >&5
8123echo "${ECHO_T}no" >&6
8124 fi
8125
8126
8127 enablestring=
8128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8129echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8130 no_cache=0
8131 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8132if test "${enable_tipwindow+set}" = set; then
8133 enableval="$enable_tipwindow"
8134
8135 if test "$enableval" = yes; then
8136 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8137 else
8138 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8139 fi
8140
8141else
8142
8143 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8144 if test "x$LINE" != x ; then
8145 eval "DEFAULT_$LINE"
8146 else
8147 no_cache=1
8148 fi
8149
8150 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8151
8152fi;
8153
8154 eval "$ac_cv_use_tipwindow"
8155 if test "$no_cache" != 1; then
8156 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8157 fi
8158
8159 if test "$wxUSE_TIPWINDOW" = yes; then
8160 echo "$as_me:$LINENO: result: yes" >&5
8161echo "${ECHO_T}yes" >&6
8162 else
8163 echo "$as_me:$LINENO: result: no" >&5
8164echo "${ECHO_T}no" >&6
8165 fi
8166
8167
8168 enablestring=
8169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8170echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8171 no_cache=0
8172 # Check whether --enable-popupwin or --disable-popupwin was given.
8173if test "${enable_popupwin+set}" = set; then
8174 enableval="$enable_popupwin"
8175
8176 if test "$enableval" = yes; then
8177 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8178 else
8179 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8180 fi
8181
8182else
8183
8184 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8185 if test "x$LINE" != x ; then
8186 eval "DEFAULT_$LINE"
8187 else
8188 no_cache=1
8189 fi
8190
8191 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8192
8193fi;
8194
8195 eval "$ac_cv_use_popupwin"
8196 if test "$no_cache" != 1; then
8197 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8198 fi
8199
8200 if test "$wxUSE_POPUPWIN" = yes; then
8201 echo "$as_me:$LINENO: result: yes" >&5
8202echo "${ECHO_T}yes" >&6
8203 else
8204 echo "$as_me:$LINENO: result: no" >&5
8205echo "${ECHO_T}no" >&6
8206 fi
8207
8208
8209
8210
8211 enablestring=
8212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8213echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8214 no_cache=0
8215 # Check whether --enable-commondlg or --disable-commondlg was given.
8216if test "${enable_commondlg+set}" = set; then
8217 enableval="$enable_commondlg"
8218
8219 if test "$enableval" = yes; then
8220 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8221 else
8222 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8223 fi
8224
8225else
8226
8227 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8228 if test "x$LINE" != x ; then
8229 eval "DEFAULT_$LINE"
8230 else
8231 no_cache=1
8232 fi
8233
8234 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8235
8236fi;
8237
8238 eval "$ac_cv_use_commondlg"
8239 if test "$no_cache" != 1; then
8240 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8241 fi
8242
8243 if test "$wxUSE_COMMONDLGS" = yes; then
8244 echo "$as_me:$LINENO: result: yes" >&5
8245echo "${ECHO_T}yes" >&6
8246 else
8247 echo "$as_me:$LINENO: result: no" >&5
8248echo "${ECHO_T}no" >&6
8249 fi
8250
8251
8252 enablestring=
8253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8254echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8255 no_cache=0
8256 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8257if test "${enable_choicedlg+set}" = set; then
8258 enableval="$enable_choicedlg"
8259
8260 if test "$enableval" = yes; then
8261 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8262 else
8263 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8264 fi
8265
8266else
8267
8268 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8269 if test "x$LINE" != x ; then
8270 eval "DEFAULT_$LINE"
8271 else
8272 no_cache=1
8273 fi
8274
8275 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8276
8277fi;
8278
8279 eval "$ac_cv_use_choicedlg"
8280 if test "$no_cache" != 1; then
8281 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8282 fi
8283
8284 if test "$wxUSE_CHOICEDLG" = yes; then
8285 echo "$as_me:$LINENO: result: yes" >&5
8286echo "${ECHO_T}yes" >&6
8287 else
8288 echo "$as_me:$LINENO: result: no" >&5
8289echo "${ECHO_T}no" >&6
8290 fi
8291
8292
8293 enablestring=
8294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8295echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8296 no_cache=0
8297 # Check whether --enable-coldlg or --disable-coldlg was given.
8298if test "${enable_coldlg+set}" = set; then
8299 enableval="$enable_coldlg"
8300
8301 if test "$enableval" = yes; then
8302 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8303 else
8304 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8305 fi
8306
8307else
8308
8309 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8310 if test "x$LINE" != x ; then
8311 eval "DEFAULT_$LINE"
8312 else
8313 no_cache=1
8314 fi
8315
8316 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8317
8318fi;
8319
8320 eval "$ac_cv_use_coldlg"
8321 if test "$no_cache" != 1; then
8322 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8323 fi
8324
8325 if test "$wxUSE_COLOURDLG" = yes; then
8326 echo "$as_me:$LINENO: result: yes" >&5
8327echo "${ECHO_T}yes" >&6
8328 else
8329 echo "$as_me:$LINENO: result: no" >&5
8330echo "${ECHO_T}no" >&6
8331 fi
8332
8333
8334 enablestring=
8335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8336echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8337 no_cache=0
8338 # Check whether --enable-filedlg or --disable-filedlg was given.
8339if test "${enable_filedlg+set}" = set; then
8340 enableval="$enable_filedlg"
8341
8342 if test "$enableval" = yes; then
8343 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8344 else
8345 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8346 fi
8347
8348else
8349
8350 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8351 if test "x$LINE" != x ; then
8352 eval "DEFAULT_$LINE"
8353 else
8354 no_cache=1
8355 fi
8356
8357 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8358
8359fi;
8360
8361 eval "$ac_cv_use_filedlg"
8362 if test "$no_cache" != 1; then
8363 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8364 fi
8365
8366 if test "$wxUSE_FILEDLG" = yes; then
8367 echo "$as_me:$LINENO: result: yes" >&5
8368echo "${ECHO_T}yes" >&6
8369 else
8370 echo "$as_me:$LINENO: result: no" >&5
8371echo "${ECHO_T}no" >&6
8372 fi
8373
8374
8375 enablestring=
8376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8377echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8378 no_cache=0
8379 # Check whether --enable-finddlg or --disable-finddlg was given.
8380if test "${enable_finddlg+set}" = set; then
8381 enableval="$enable_finddlg"
8382
8383 if test "$enableval" = yes; then
8384 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8385 else
8386 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8387 fi
8388
8389else
8390
8391 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8392 if test "x$LINE" != x ; then
8393 eval "DEFAULT_$LINE"
8394 else
8395 no_cache=1
8396 fi
8397
8398 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8399
8400fi;
8401
8402 eval "$ac_cv_use_finddlg"
8403 if test "$no_cache" != 1; then
8404 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8405 fi
8406
8407 if test "$wxUSE_FINDREPLDLG" = yes; then
8408 echo "$as_me:$LINENO: result: yes" >&5
8409echo "${ECHO_T}yes" >&6
8410 else
8411 echo "$as_me:$LINENO: result: no" >&5
8412echo "${ECHO_T}no" >&6
8413 fi
8414
8415
8416 enablestring=
8417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8418echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8419 no_cache=0
8420 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8421if test "${enable_fontdlg+set}" = set; then
8422 enableval="$enable_fontdlg"
8423
8424 if test "$enableval" = yes; then
8425 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8426 else
8427 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8428 fi
8429
8430else
8431
8432 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8433 if test "x$LINE" != x ; then
8434 eval "DEFAULT_$LINE"
8435 else
8436 no_cache=1
8437 fi
8438
8439 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8440
8441fi;
8442
8443 eval "$ac_cv_use_fontdlg"
8444 if test "$no_cache" != 1; then
8445 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8446 fi
8447
8448 if test "$wxUSE_FONTDLG" = yes; then
8449 echo "$as_me:$LINENO: result: yes" >&5
8450echo "${ECHO_T}yes" >&6
8451 else
8452 echo "$as_me:$LINENO: result: no" >&5
8453echo "${ECHO_T}no" >&6
8454 fi
8455
8456
8457 enablestring=
8458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8459echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8460 no_cache=0
8461 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8462if test "${enable_dirdlg+set}" = set; then
8463 enableval="$enable_dirdlg"
8464
8465 if test "$enableval" = yes; then
8466 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8467 else
8468 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8469 fi
8470
8471else
8472
8473 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8474 if test "x$LINE" != x ; then
8475 eval "DEFAULT_$LINE"
8476 else
8477 no_cache=1
8478 fi
8479
8480 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8481
8482fi;
8483
8484 eval "$ac_cv_use_dirdlg"
8485 if test "$no_cache" != 1; then
8486 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8487 fi
8488
8489 if test "$wxUSE_DIRDLG" = yes; then
8490 echo "$as_me:$LINENO: result: yes" >&5
8491echo "${ECHO_T}yes" >&6
8492 else
8493 echo "$as_me:$LINENO: result: no" >&5
8494echo "${ECHO_T}no" >&6
8495 fi
8496
8497
8498 enablestring=
8499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8500echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8501 no_cache=0
8502 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8503if test "${enable_msgdlg+set}" = set; then
8504 enableval="$enable_msgdlg"
8505
8506 if test "$enableval" = yes; then
8507 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8508 else
8509 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8510 fi
8511
8512else
8513
8514 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8515 if test "x$LINE" != x ; then
8516 eval "DEFAULT_$LINE"
8517 else
8518 no_cache=1
8519 fi
8520
8521 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8522
8523fi;
8524
8525 eval "$ac_cv_use_msgdlg"
8526 if test "$no_cache" != 1; then
8527 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8528 fi
8529
8530 if test "$wxUSE_MSGDLG" = yes; then
8531 echo "$as_me:$LINENO: result: yes" >&5
8532echo "${ECHO_T}yes" >&6
8533 else
8534 echo "$as_me:$LINENO: result: no" >&5
8535echo "${ECHO_T}no" >&6
8536 fi
8537
8538
8539 enablestring=
8540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8541echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8542 no_cache=0
8543 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8544if test "${enable_numberdlg+set}" = set; then
8545 enableval="$enable_numberdlg"
8546
8547 if test "$enableval" = yes; then
8548 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8549 else
8550 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8551 fi
8552
8553else
8554
8555 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8556 if test "x$LINE" != x ; then
8557 eval "DEFAULT_$LINE"
8558 else
8559 no_cache=1
8560 fi
8561
8562 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8563
8564fi;
8565
8566 eval "$ac_cv_use_numberdlg"
8567 if test "$no_cache" != 1; then
8568 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8569 fi
8570
8571 if test "$wxUSE_NUMBERDLG" = yes; then
8572 echo "$as_me:$LINENO: result: yes" >&5
8573echo "${ECHO_T}yes" >&6
8574 else
8575 echo "$as_me:$LINENO: result: no" >&5
8576echo "${ECHO_T}no" >&6
8577 fi
8578
8579
8580 enablestring=
8581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8582echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8583 no_cache=0
8584 # Check whether --enable-splash or --disable-splash was given.
8585if test "${enable_splash+set}" = set; then
8586 enableval="$enable_splash"
8587
8588 if test "$enableval" = yes; then
8589 ac_cv_use_splash='wxUSE_SPLASH=yes'
8590 else
8591 ac_cv_use_splash='wxUSE_SPLASH=no'
8592 fi
8593
8594else
8595
8596 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8597 if test "x$LINE" != x ; then
8598 eval "DEFAULT_$LINE"
8599 else
8600 no_cache=1
8601 fi
8602
8603 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8604
8605fi;
8606
8607 eval "$ac_cv_use_splash"
8608 if test "$no_cache" != 1; then
8609 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8610 fi
8611
8612 if test "$wxUSE_SPLASH" = yes; then
8613 echo "$as_me:$LINENO: result: yes" >&5
8614echo "${ECHO_T}yes" >&6
8615 else
8616 echo "$as_me:$LINENO: result: no" >&5
8617echo "${ECHO_T}no" >&6
8618 fi
8619
8620
8621 enablestring=
8622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8623echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8624 no_cache=0
8625 # Check whether --enable-textdlg or --disable-textdlg was given.
8626if test "${enable_textdlg+set}" = set; then
8627 enableval="$enable_textdlg"
8628
8629 if test "$enableval" = yes; then
8630 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8631 else
8632 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8633 fi
8634
8635else
8636
8637 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8638 if test "x$LINE" != x ; then
8639 eval "DEFAULT_$LINE"
8640 else
8641 no_cache=1
8642 fi
8643
8644 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8645
8646fi;
8647
8648 eval "$ac_cv_use_textdlg"
8649 if test "$no_cache" != 1; then
8650 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8651 fi
8652
8653 if test "$wxUSE_TEXTDLG" = yes; then
8654 echo "$as_me:$LINENO: result: yes" >&5
8655echo "${ECHO_T}yes" >&6
8656 else
8657 echo "$as_me:$LINENO: result: no" >&5
8658echo "${ECHO_T}no" >&6
8659 fi
8660
8661
8662 enablestring=
8663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8664echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8665 no_cache=0
8666 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8667if test "${enable_tipdlg+set}" = set; then
8668 enableval="$enable_tipdlg"
8669
8670 if test "$enableval" = yes; then
8671 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8672 else
8673 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8674 fi
8675
8676else
8677
8678 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8679 if test "x$LINE" != x ; then
8680 eval "DEFAULT_$LINE"
8681 else
8682 no_cache=1
8683 fi
8684
8685 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8686
8687fi;
8688
8689 eval "$ac_cv_use_tipdlg"
8690 if test "$no_cache" != 1; then
8691 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8692 fi
8693
8694 if test "$wxUSE_STARTUP_TIPS" = yes; then
8695 echo "$as_me:$LINENO: result: yes" >&5
8696echo "${ECHO_T}yes" >&6
8697 else
8698 echo "$as_me:$LINENO: result: no" >&5
8699echo "${ECHO_T}no" >&6
8700 fi
8701
8702
8703 enablestring=
8704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8705echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8706 no_cache=0
8707 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8708if test "${enable_progressdlg+set}" = set; then
8709 enableval="$enable_progressdlg"
8710
8711 if test "$enableval" = yes; then
8712 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8713 else
8714 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8715 fi
8716
8717else
8718
8719 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8720 if test "x$LINE" != x ; then
8721 eval "DEFAULT_$LINE"
8722 else
8723 no_cache=1
8724 fi
8725
8726 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8727
8728fi;
8729
8730 eval "$ac_cv_use_progressdlg"
8731 if test "$no_cache" != 1; then
8732 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8733 fi
8734
8735 if test "$wxUSE_PROGRESSDLG" = yes; then
8736 echo "$as_me:$LINENO: result: yes" >&5
8737echo "${ECHO_T}yes" >&6
8738 else
8739 echo "$as_me:$LINENO: result: no" >&5
8740echo "${ECHO_T}no" >&6
8741 fi
8742
8743
8744 enablestring=
8745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8746echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8747 no_cache=0
8748 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8749if test "${enable_wizarddlg+set}" = set; then
8750 enableval="$enable_wizarddlg"
8751
8752 if test "$enableval" = yes; then
8753 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8754 else
8755 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8756 fi
8757
8758else
8759
8760 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8761 if test "x$LINE" != x ; then
8762 eval "DEFAULT_$LINE"
8763 else
8764 no_cache=1
8765 fi
8766
8767 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8768
8769fi;
8770
8771 eval "$ac_cv_use_wizarddlg"
8772 if test "$no_cache" != 1; then
8773 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8774 fi
8775
8776 if test "$wxUSE_WIZARDDLG" = yes; then
8777 echo "$as_me:$LINENO: result: yes" >&5
8778echo "${ECHO_T}yes" >&6
8779 else
8780 echo "$as_me:$LINENO: result: no" >&5
8781echo "${ECHO_T}no" >&6
8782 fi
8783
8784
8785
8786
8787 enablestring=
8788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8789echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8790 no_cache=0
8791 # Check whether --enable-menus or --disable-menus was given.
8792if test "${enable_menus+set}" = set; then
8793 enableval="$enable_menus"
8794
8795 if test "$enableval" = yes; then
8796 ac_cv_use_menus='wxUSE_MENUS=yes'
8797 else
8798 ac_cv_use_menus='wxUSE_MENUS=no'
8799 fi
8800
8801else
8802
8803 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8804 if test "x$LINE" != x ; then
8805 eval "DEFAULT_$LINE"
8806 else
8807 no_cache=1
8808 fi
8809
8810 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8811
8812fi;
8813
8814 eval "$ac_cv_use_menus"
8815 if test "$no_cache" != 1; then
8816 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8817 fi
8818
8819 if test "$wxUSE_MENUS" = yes; then
8820 echo "$as_me:$LINENO: result: yes" >&5
8821echo "${ECHO_T}yes" >&6
8822 else
8823 echo "$as_me:$LINENO: result: no" >&5
8824echo "${ECHO_T}no" >&6
8825 fi
8826
8827
8828 enablestring=
8829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8830echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8831 no_cache=0
8832 # Check whether --enable-miniframe or --disable-miniframe was given.
8833if test "${enable_miniframe+set}" = set; then
8834 enableval="$enable_miniframe"
8835
8836 if test "$enableval" = yes; then
8837 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8838 else
8839 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8840 fi
8841
8842else
8843
8844 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8845 if test "x$LINE" != x ; then
8846 eval "DEFAULT_$LINE"
8847 else
8848 no_cache=1
8849 fi
8850
8851 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8852
8853fi;
8854
8855 eval "$ac_cv_use_miniframe"
8856 if test "$no_cache" != 1; then
8857 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8858 fi
8859
8860 if test "$wxUSE_MINIFRAME" = yes; then
8861 echo "$as_me:$LINENO: result: yes" >&5
8862echo "${ECHO_T}yes" >&6
8863 else
8864 echo "$as_me:$LINENO: result: no" >&5
8865echo "${ECHO_T}no" >&6
8866 fi
8867
8868
8869 enablestring=
8870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8871echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8872 no_cache=0
8873 # Check whether --enable-tooltips or --disable-tooltips was given.
8874if test "${enable_tooltips+set}" = set; then
8875 enableval="$enable_tooltips"
8876
8877 if test "$enableval" = yes; then
8878 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8879 else
8880 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8881 fi
8882
8883else
8884
8885 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8886 if test "x$LINE" != x ; then
8887 eval "DEFAULT_$LINE"
8888 else
8889 no_cache=1
8890 fi
8891
8892 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8893
8894fi;
8895
8896 eval "$ac_cv_use_tooltips"
8897 if test "$no_cache" != 1; then
8898 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8899 fi
8900
8901 if test "$wxUSE_TOOLTIPS" = yes; then
8902 echo "$as_me:$LINENO: result: yes" >&5
8903echo "${ECHO_T}yes" >&6
8904 else
8905 echo "$as_me:$LINENO: result: no" >&5
8906echo "${ECHO_T}no" >&6
8907 fi
8908
8909
8910 enablestring=
8911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8912echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8913 no_cache=0
8914 # Check whether --enable-splines or --disable-splines was given.
8915if test "${enable_splines+set}" = set; then
8916 enableval="$enable_splines"
8917
8918 if test "$enableval" = yes; then
8919 ac_cv_use_splines='wxUSE_SPLINES=yes'
8920 else
8921 ac_cv_use_splines='wxUSE_SPLINES=no'
8922 fi
8923
8924else
8925
8926 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8927 if test "x$LINE" != x ; then
8928 eval "DEFAULT_$LINE"
8929 else
8930 no_cache=1
8931 fi
8932
8933 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8934
8935fi;
8936
8937 eval "$ac_cv_use_splines"
8938 if test "$no_cache" != 1; then
8939 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8940 fi
8941
8942 if test "$wxUSE_SPLINES" = yes; then
8943 echo "$as_me:$LINENO: result: yes" >&5
8944echo "${ECHO_T}yes" >&6
8945 else
8946 echo "$as_me:$LINENO: result: no" >&5
8947echo "${ECHO_T}no" >&6
8948 fi
8949
8950
8951 enablestring=
8952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8953echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8954 no_cache=0
8955 # Check whether --enable-validators or --disable-validators was given.
8956if test "${enable_validators+set}" = set; then
8957 enableval="$enable_validators"
8958
8959 if test "$enableval" = yes; then
8960 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8961 else
8962 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8963 fi
8964
8965else
8966
8967 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8968 if test "x$LINE" != x ; then
8969 eval "DEFAULT_$LINE"
8970 else
8971 no_cache=1
8972 fi
8973
8974 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8975
8976fi;
8977
8978 eval "$ac_cv_use_validators"
8979 if test "$no_cache" != 1; then
8980 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8981 fi
8982
8983 if test "$wxUSE_VALIDATORS" = yes; then
8984 echo "$as_me:$LINENO: result: yes" >&5
8985echo "${ECHO_T}yes" >&6
8986 else
8987 echo "$as_me:$LINENO: result: no" >&5
8988echo "${ECHO_T}no" >&6
8989 fi
8990
8991
8992 enablestring=
8993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8994echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8995 no_cache=0
8996 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8997if test "${enable_busyinfo+set}" = set; then
8998 enableval="$enable_busyinfo"
8999
9000 if test "$enableval" = yes; then
9001 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9002 else
9003 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9004 fi
9005
9006else
9007
9008 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9009 if test "x$LINE" != x ; then
9010 eval "DEFAULT_$LINE"
9011 else
9012 no_cache=1
9013 fi
9014
9015 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9016
9017fi;
9018
9019 eval "$ac_cv_use_busyinfo"
9020 if test "$no_cache" != 1; then
9021 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9022 fi
9023
9024 if test "$wxUSE_BUSYINFO" = yes; then
9025 echo "$as_me:$LINENO: result: yes" >&5
9026echo "${ECHO_T}yes" >&6
9027 else
9028 echo "$as_me:$LINENO: result: no" >&5
9029echo "${ECHO_T}no" >&6
9030 fi
9031
9032
9033 enablestring=
9034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9035echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9036 no_cache=0
9037 # Check whether --enable-joystick or --disable-joystick was given.
9038if test "${enable_joystick+set}" = set; then
9039 enableval="$enable_joystick"
9040
9041 if test "$enableval" = yes; then
9042 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9043 else
9044 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9045 fi
9046
9047else
9048
9049 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9050 if test "x$LINE" != x ; then
9051 eval "DEFAULT_$LINE"
9052 else
9053 no_cache=1
9054 fi
9055
9056 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9057
9058fi;
9059
9060 eval "$ac_cv_use_joystick"
9061 if test "$no_cache" != 1; then
9062 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9063 fi
9064
9065 if test "$wxUSE_JOYSTICK" = yes; then
9066 echo "$as_me:$LINENO: result: yes" >&5
9067echo "${ECHO_T}yes" >&6
9068 else
9069 echo "$as_me:$LINENO: result: no" >&5
9070echo "${ECHO_T}no" >&6
9071 fi
9072
9073
9074 enablestring=
9075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9076echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9077 no_cache=0
9078 # Check whether --enable-metafile or --disable-metafile was given.
9079if test "${enable_metafile+set}" = set; then
9080 enableval="$enable_metafile"
9081
9082 if test "$enableval" = yes; then
9083 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9084 else
9085 ac_cv_use_metafile='wxUSE_METAFILE=no'
9086 fi
9087
9088else
9089
9090 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9091 if test "x$LINE" != x ; then
9092 eval "DEFAULT_$LINE"
9093 else
9094 no_cache=1
9095 fi
9096
9097 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9098
9099fi;
9100
9101 eval "$ac_cv_use_metafile"
9102 if test "$no_cache" != 1; then
9103 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9104 fi
9105
9106 if test "$wxUSE_METAFILE" = yes; then
9107 echo "$as_me:$LINENO: result: yes" >&5
9108echo "${ECHO_T}yes" >&6
9109 else
9110 echo "$as_me:$LINENO: result: no" >&5
9111echo "${ECHO_T}no" >&6
9112 fi
9113
9114
9115 enablestring=
9116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9117echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9118 no_cache=0
9119 # Check whether --enable-dragimage or --disable-dragimage was given.
9120if test "${enable_dragimage+set}" = set; then
9121 enableval="$enable_dragimage"
9122
9123 if test "$enableval" = yes; then
9124 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9125 else
9126 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9127 fi
9128
9129else
9130
9131 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9132 if test "x$LINE" != x ; then
9133 eval "DEFAULT_$LINE"
9134 else
9135 no_cache=1
9136 fi
9137
9138 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9139
9140fi;
9141
9142 eval "$ac_cv_use_dragimage"
9143 if test "$no_cache" != 1; then
9144 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9145 fi
9146
9147 if test "$wxUSE_DRAGIMAGE" = yes; then
9148 echo "$as_me:$LINENO: result: yes" >&5
9149echo "${ECHO_T}yes" >&6
9150 else
9151 echo "$as_me:$LINENO: result: no" >&5
9152echo "${ECHO_T}no" >&6
9153 fi
9154
9155
9156 enablestring=
9157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9158echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9159 no_cache=0
9160 # Check whether --enable-accessibility or --disable-accessibility was given.
9161if test "${enable_accessibility+set}" = set; then
9162 enableval="$enable_accessibility"
9163
9164 if test "$enableval" = yes; then
9165 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9166 else
9167 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9168 fi
9169
9170else
9171
9172 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9173 if test "x$LINE" != x ; then
9174 eval "DEFAULT_$LINE"
9175 else
9176 no_cache=1
9177 fi
9178
9179 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9180
9181fi;
9182
9183 eval "$ac_cv_use_accessibility"
9184 if test "$no_cache" != 1; then
9185 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9186 fi
9187
9188 if test "$wxUSE_ACCESSIBILITY" = yes; then
9189 echo "$as_me:$LINENO: result: yes" >&5
9190echo "${ECHO_T}yes" >&6
9191 else
9192 echo "$as_me:$LINENO: result: no" >&5
9193echo "${ECHO_T}no" >&6
9194 fi
9195
9196
9197
9198
9199 enablestring=
9200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9201echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9202 no_cache=0
9203 # Check whether --enable-palette or --disable-palette was given.
9204if test "${enable_palette+set}" = set; then
9205 enableval="$enable_palette"
9206
9207 if test "$enableval" = yes; then
9208 ac_cv_use_palette='wxUSE_PALETTE=yes'
9209 else
9210 ac_cv_use_palette='wxUSE_PALETTE=no'
9211 fi
9212
9213else
9214
9215 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9216 if test "x$LINE" != x ; then
9217 eval "DEFAULT_$LINE"
9218 else
9219 no_cache=1
9220 fi
9221
9222 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9223
9224fi;
9225
9226 eval "$ac_cv_use_palette"
9227 if test "$no_cache" != 1; then
9228 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9229 fi
9230
9231 if test "$wxUSE_PALETTE" = yes; then
9232 echo "$as_me:$LINENO: result: yes" >&5
9233echo "${ECHO_T}yes" >&6
9234 else
9235 echo "$as_me:$LINENO: result: no" >&5
9236echo "${ECHO_T}no" >&6
9237 fi
9238
9239
9240 enablestring=
9241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9242echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9243 no_cache=0
9244 # Check whether --enable-image or --disable-image was given.
9245if test "${enable_image+set}" = set; then
9246 enableval="$enable_image"
9247
9248 if test "$enableval" = yes; then
9249 ac_cv_use_image='wxUSE_IMAGE=yes'
9250 else
9251 ac_cv_use_image='wxUSE_IMAGE=no'
9252 fi
9253
9254else
9255
9256 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9257 if test "x$LINE" != x ; then
9258 eval "DEFAULT_$LINE"
9259 else
9260 no_cache=1
9261 fi
9262
9263 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9264
9265fi;
9266
9267 eval "$ac_cv_use_image"
9268 if test "$no_cache" != 1; then
9269 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9270 fi
9271
9272 if test "$wxUSE_IMAGE" = yes; then
9273 echo "$as_me:$LINENO: result: yes" >&5
9274echo "${ECHO_T}yes" >&6
9275 else
9276 echo "$as_me:$LINENO: result: no" >&5
9277echo "${ECHO_T}no" >&6
9278 fi
9279
9280
9281 enablestring=
9282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9283echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9284 no_cache=0
9285 # Check whether --enable-gif or --disable-gif was given.
9286if test "${enable_gif+set}" = set; then
9287 enableval="$enable_gif"
9288
9289 if test "$enableval" = yes; then
9290 ac_cv_use_gif='wxUSE_GIF=yes'
9291 else
9292 ac_cv_use_gif='wxUSE_GIF=no'
9293 fi
9294
9295else
9296
9297 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9298 if test "x$LINE" != x ; then
9299 eval "DEFAULT_$LINE"
9300 else
9301 no_cache=1
9302 fi
9303
9304 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9305
9306fi;
9307
9308 eval "$ac_cv_use_gif"
9309 if test "$no_cache" != 1; then
9310 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9311 fi
9312
9313 if test "$wxUSE_GIF" = yes; then
9314 echo "$as_me:$LINENO: result: yes" >&5
9315echo "${ECHO_T}yes" >&6
9316 else
9317 echo "$as_me:$LINENO: result: no" >&5
9318echo "${ECHO_T}no" >&6
9319 fi
9320
9321
9322 enablestring=
9323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9324echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9325 no_cache=0
9326 # Check whether --enable-pcx or --disable-pcx was given.
9327if test "${enable_pcx+set}" = set; then
9328 enableval="$enable_pcx"
9329
9330 if test "$enableval" = yes; then
9331 ac_cv_use_pcx='wxUSE_PCX=yes'
9332 else
9333 ac_cv_use_pcx='wxUSE_PCX=no'
9334 fi
9335
9336else
9337
9338 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9339 if test "x$LINE" != x ; then
9340 eval "DEFAULT_$LINE"
9341 else
9342 no_cache=1
9343 fi
9344
9345 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9346
9347fi;
9348
9349 eval "$ac_cv_use_pcx"
9350 if test "$no_cache" != 1; then
9351 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9352 fi
9353
9354 if test "$wxUSE_PCX" = yes; then
9355 echo "$as_me:$LINENO: result: yes" >&5
9356echo "${ECHO_T}yes" >&6
9357 else
9358 echo "$as_me:$LINENO: result: no" >&5
9359echo "${ECHO_T}no" >&6
9360 fi
9361
9362
9363 enablestring=
9364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9365echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9366 no_cache=0
9367 # Check whether --enable-iff or --disable-iff was given.
9368if test "${enable_iff+set}" = set; then
9369 enableval="$enable_iff"
9370
9371 if test "$enableval" = yes; then
9372 ac_cv_use_iff='wxUSE_IFF=yes'
9373 else
9374 ac_cv_use_iff='wxUSE_IFF=no'
9375 fi
9376
9377else
9378
9379 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9380 if test "x$LINE" != x ; then
9381 eval "DEFAULT_$LINE"
9382 else
9383 no_cache=1
9384 fi
9385
9386 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9387
9388fi;
9389
9390 eval "$ac_cv_use_iff"
9391 if test "$no_cache" != 1; then
9392 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9393 fi
9394
9395 if test "$wxUSE_IFF" = yes; then
9396 echo "$as_me:$LINENO: result: yes" >&5
9397echo "${ECHO_T}yes" >&6
9398 else
9399 echo "$as_me:$LINENO: result: no" >&5
9400echo "${ECHO_T}no" >&6
9401 fi
9402
9403
9404 enablestring=
9405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9406echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9407 no_cache=0
9408 # Check whether --enable-pnm or --disable-pnm was given.
9409if test "${enable_pnm+set}" = set; then
9410 enableval="$enable_pnm"
9411
9412 if test "$enableval" = yes; then
9413 ac_cv_use_pnm='wxUSE_PNM=yes'
9414 else
9415 ac_cv_use_pnm='wxUSE_PNM=no'
9416 fi
9417
9418else
9419
9420 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9421 if test "x$LINE" != x ; then
9422 eval "DEFAULT_$LINE"
9423 else
9424 no_cache=1
9425 fi
9426
9427 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9428
9429fi;
9430
9431 eval "$ac_cv_use_pnm"
9432 if test "$no_cache" != 1; then
9433 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9434 fi
9435
9436 if test "$wxUSE_PNM" = yes; then
9437 echo "$as_me:$LINENO: result: yes" >&5
9438echo "${ECHO_T}yes" >&6
9439 else
9440 echo "$as_me:$LINENO: result: no" >&5
9441echo "${ECHO_T}no" >&6
9442 fi
9443
9444
9445 enablestring=
9446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9447echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9448 no_cache=0
9449 # Check whether --enable-xpm or --disable-xpm was given.
9450if test "${enable_xpm+set}" = set; then
9451 enableval="$enable_xpm"
9452
9453 if test "$enableval" = yes; then
9454 ac_cv_use_xpm='wxUSE_XPM=yes'
9455 else
9456 ac_cv_use_xpm='wxUSE_XPM=no'
9457 fi
9458
9459else
9460
9461 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9462 if test "x$LINE" != x ; then
9463 eval "DEFAULT_$LINE"
9464 else
9465 no_cache=1
9466 fi
9467
9468 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9469
9470fi;
9471
9472 eval "$ac_cv_use_xpm"
9473 if test "$no_cache" != 1; then
9474 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9475 fi
9476
9477 if test "$wxUSE_XPM" = yes; then
9478 echo "$as_me:$LINENO: result: yes" >&5
9479echo "${ECHO_T}yes" >&6
9480 else
9481 echo "$as_me:$LINENO: result: no" >&5
9482echo "${ECHO_T}no" >&6
9483 fi
9484
9485
9486 enablestring=
9487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9488echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9489 no_cache=0
9490 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9491if test "${enable_ico_cur+set}" = set; then
9492 enableval="$enable_ico_cur"
9493
9494 if test "$enableval" = yes; then
9495 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9496 else
9497 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9498 fi
9499
9500else
9501
9502 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9503 if test "x$LINE" != x ; then
9504 eval "DEFAULT_$LINE"
9505 else
9506 no_cache=1
9507 fi
9508
9509 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9510
9511fi;
9512
9513 eval "$ac_cv_use_ico_cur"
9514 if test "$no_cache" != 1; then
9515 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9516 fi
9517
9518 if test "$wxUSE_ICO_CUR" = yes; then
9519 echo "$as_me:$LINENO: result: yes" >&5
9520echo "${ECHO_T}yes" >&6
9521 else
9522 echo "$as_me:$LINENO: result: no" >&5
9523echo "${ECHO_T}no" >&6
9524 fi
9525
9526
9527fi
9528
9529
9530
9531 enablestring=
9532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9533echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9534 no_cache=0
9535 # Check whether --enable-official_build or --disable-official_build was given.
9536if test "${enable_official_build+set}" = set; then
9537 enableval="$enable_official_build"
9538
9539 if test "$enableval" = yes; then
9540 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9541 else
9542 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9543 fi
9544
9545else
9546
9547 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9548 if test "x$LINE" != x ; then
9549 eval "DEFAULT_$LINE"
9550 else
9551 no_cache=1
9552 fi
9553
9554 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9555
9556fi;
9557
9558 eval "$ac_cv_use_official_build"
9559 if test "$no_cache" != 1; then
9560 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9561 fi
9562
9563 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9564 echo "$as_me:$LINENO: result: yes" >&5
9565echo "${ECHO_T}yes" >&6
9566 else
9567 echo "$as_me:$LINENO: result: no" >&5
9568echo "${ECHO_T}no" >&6
9569 fi
9570
9571# Check whether --enable-vendor or --disable-vendor was given.
9572if test "${enable_vendor+set}" = set; then
9573 enableval="$enable_vendor"
9574 VENDOR="$enableval"
9575fi;
9576if test "x$VENDOR" = "x"; then
9577 VENDOR="custom"
9578fi
9579
9580case "${host}" in
9581 *-pc-os2_emx | *-pc-os2-emx )
9582 PATH_IFS=';'
9583 ;;
9584 *)
9585 PATH_IFS=':'
9586 ;;
9587esac
9588
9589
9590
9591 echo "saving argument cache $wx_arg_cache_file"
9592 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9593
9594
9595
9596echo "$as_me:$LINENO: checking for toolkit" >&5
9597echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9598
9599# In Wine, we need to default to MSW, not GTK or MOTIF
9600if test "$wxUSE_WINE" = "yes"; then
9601 DEFAULT_DEFAULT_wxUSE_GTK=0
9602 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9603 DEFAULT_DEFAULT_wxUSE_MSW=1
9604fi
9605
9606if test "$wxUSE_GUI" = "yes"; then
9607
9608 if test "$USE_BEOS" = 1; then
9609 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9610echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9611 { (exit 1); exit 1; }; }
9612 fi
9613
9614 if test "$TOOLKIT_GIVEN" = 1; then
9615 for toolkit in `echo $ALL_TOOLKITS`; do
9616 var=wxUSE_$toolkit
9617 eval "value=\$${var}"
9618 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9619 done
9620 else
9621 for toolkit in `echo $ALL_TOOLKITS`; do
9622 if test "$has_toolkit_in_cache" != 1; then
9623 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9624 else
9625 var=DEFAULT_wxUSE_$toolkit
9626 fi
9627 eval "wxUSE_$toolkit=\$${var}"
9628 done
9629 fi
9630
9631 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9632 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9633 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9634
9635 case "${host}" in
9636 *-pc-os2_emx | *-pc-os2-emx )
9637 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9638 esac
9639
9640 case "$NUM_TOOLKITS" in
9641 1)
9642 ;;
9643 0)
9644 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9645echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9646 { (exit 1); exit 1; }; }
9647 ;;
9648 *)
9649 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9650echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9651 { (exit 1); exit 1; }; }
9652 esac
9653
9654 for toolkit in `echo $ALL_TOOLKITS`; do
9655 var=wxUSE_$toolkit
9656 eval "value=\$${var}"
9657 if test "x$value" != x; then
9658 cache_var=CACHE_$toolkit
9659 eval "cache=\$${cache_var}"
9660 if test "$cache" = 1; then
9661 echo "$var=$value" >> ${wx_arg_cache_file}
9662 fi
9663 if test "$value" = 1; then
9664 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9665 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9666echo "${ECHO_T}$toolkit_echo" >&6
9667 fi
9668 fi
9669 done
9670else
9671 if test "x$host_alias" != "x"; then
9672 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9673echo "${ECHO_T}base ($host_alias hosted) only" >&6
9674 else
9675 echo "$as_me:$LINENO: result: base only" >&5
9676echo "${ECHO_T}base only" >&6
9677 fi
9678fi
9679
9680wants_win32=0
9681doesnt_want_win32=0
9682case "${host}" in
9683 *-*-cygwin*)
9684 if test "$wxUSE_MSW" = 1 ; then
9685 wants_win32=1
9686 else
9687 doesnt_want_win32=1
9688 fi
9689 ;;
9690 *-*-mingw*)
9691 wants_win32=1
9692 ;;
9693esac
9694
9695if test "$wxUSE_WINE" = "yes"; then
9696 wants_win32=1
9697 CC=winegcc
9698 CXX=wineg++
9699 RESCOMP=wrc
9700fi
9701
9702if test "$wants_win32" = 1 ; then
9703 USE_UNIX=0
9704 USE_WIN32=1
9705 cat >>confdefs.h <<\_ACEOF
9706#define __WIN32__ 1
9707_ACEOF
9708
9709 cat >>confdefs.h <<\_ACEOF
9710#define __WIN95__ 1
9711_ACEOF
9712
9713 cat >>confdefs.h <<\_ACEOF
9714#define __WINDOWS__ 1
9715_ACEOF
9716
9717 cat >>confdefs.h <<\_ACEOF
9718#define __GNUWIN32__ 1
9719_ACEOF
9720
9721 cat >>confdefs.h <<\_ACEOF
9722#define STRICT 1
9723_ACEOF
9724
9725 cat >>confdefs.h <<\_ACEOF
9726#define WINVER 0x0400
9727_ACEOF
9728
9729fi
9730if test "$doesnt_want_win32" = 1 ; then
9731 USE_UNIX=1
9732 USE_WIN32=0
9733fi
9734
9735if test "$USE_UNIX" = 1 ; then
9736 wxUSE_UNIX=yes
9737 cat >>confdefs.h <<\_ACEOF
9738#define __UNIX__ 1
9739_ACEOF
9740
9741fi
9742
9743
9744cat >confcache <<\_ACEOF
9745# This file is a shell script that caches the results of configure
9746# tests run on this system so they can be shared between configure
9747# scripts and configure runs, see configure's option --config-cache.
9748# It is not useful on other systems. If it contains results you don't
9749# want to keep, you may remove or edit it.
9750#
9751# config.status only pays attention to the cache file if you give it
9752# the --recheck option to rerun configure.
9753#
9754# `ac_cv_env_foo' variables (set or unset) will be overridden when
9755# loading this file, other *unset* `ac_cv_foo' will be assigned the
9756# following values.
9757
9758_ACEOF
9759
9760# The following way of writing the cache mishandles newlines in values,
9761# but we know of no workaround that is simple, portable, and efficient.
9762# So, don't put newlines in cache variables' values.
9763# Ultrix sh set writes to stderr and can't be redirected directly,
9764# and sets the high bit in the cache file unless we assign to the vars.
9765{
9766 (set) 2>&1 |
9767 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9768 *ac_space=\ *)
9769 # `set' does not quote correctly, so add quotes (double-quote
9770 # substitution turns \\\\ into \\, and sed turns \\ into \).
9771 sed -n \
9772 "s/'/'\\\\''/g;
9773 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9774 ;;
9775 *)
9776 # `set' quotes correctly as required by POSIX, so do not add quotes.
9777 sed -n \
9778 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9779 ;;
9780 esac;
9781} |
9782 sed '
9783 t clear
9784 : clear
9785 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9786 t end
9787 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9788 : end' >>confcache
9789if diff $cache_file confcache >/dev/null 2>&1; then :; else
9790 if test -w $cache_file; then
9791 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9792 cat confcache >$cache_file
9793 else
9794 echo "not updating unwritable cache $cache_file"
9795 fi
9796fi
9797rm -f confcache
9798
9799if test "$build" != "$host" ; then
9800 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9801 CC=$host_alias-gcc
9802 CXX=$host_alias-c++
9803 AR=$host_alias-ar
9804 RANLIB=$host_alias-ranlib
9805 DLLTOOL=$host_alias-dlltool
9806 RESCOMP=$host_alias-windres
9807 LD=$host_alias-ld
9808 NM=$host_alias-nm
9809 STRIP=$host_alias-strip
9810 else
9811 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9812echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9813 { (exit 1); exit 1; }; }
9814 fi
9815fi
9816
9817CFLAGS=${CFLAGS:=}
9818ac_ext=c
9819ac_cpp='$CPP $CPPFLAGS'
9820ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9821ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9822ac_compiler_gnu=$ac_cv_c_compiler_gnu
9823if test -n "$ac_tool_prefix"; then
9824 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9825set dummy ${ac_tool_prefix}gcc; ac_word=$2
9826echo "$as_me:$LINENO: checking for $ac_word" >&5
9827echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9828if test "${ac_cv_prog_CC+set}" = set; then
9829 echo $ECHO_N "(cached) $ECHO_C" >&6
9830else
9831 if test -n "$CC"; then
9832 ac_cv_prog_CC="$CC" # Let the user override the test.
9833else
9834as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9835for as_dir in $PATH
9836do
9837 IFS=$as_save_IFS
9838 test -z "$as_dir" && as_dir=.
9839 for ac_exec_ext in '' $ac_executable_extensions; do
9840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9841 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9843 break 2
9844 fi
9845done
9846done
9847
9848fi
9849fi
9850CC=$ac_cv_prog_CC
9851if test -n "$CC"; then
9852 echo "$as_me:$LINENO: result: $CC" >&5
9853echo "${ECHO_T}$CC" >&6
9854else
9855 echo "$as_me:$LINENO: result: no" >&5
9856echo "${ECHO_T}no" >&6
9857fi
9858
9859fi
9860if test -z "$ac_cv_prog_CC"; then
9861 ac_ct_CC=$CC
9862 # Extract the first word of "gcc", so it can be a program name with args.
9863set dummy gcc; ac_word=$2
9864echo "$as_me:$LINENO: checking for $ac_word" >&5
9865echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9866if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9867 echo $ECHO_N "(cached) $ECHO_C" >&6
9868else
9869 if test -n "$ac_ct_CC"; then
9870 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9871else
9872as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9873for as_dir in $PATH
9874do
9875 IFS=$as_save_IFS
9876 test -z "$as_dir" && as_dir=.
9877 for ac_exec_ext in '' $ac_executable_extensions; do
9878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9879 ac_cv_prog_ac_ct_CC="gcc"
9880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9881 break 2
9882 fi
9883done
9884done
9885
9886fi
9887fi
9888ac_ct_CC=$ac_cv_prog_ac_ct_CC
9889if test -n "$ac_ct_CC"; then
9890 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9891echo "${ECHO_T}$ac_ct_CC" >&6
9892else
9893 echo "$as_me:$LINENO: result: no" >&5
9894echo "${ECHO_T}no" >&6
9895fi
9896
9897 CC=$ac_ct_CC
9898else
9899 CC="$ac_cv_prog_CC"
9900fi
9901
9902if test -z "$CC"; then
9903 if test -n "$ac_tool_prefix"; then
9904 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9905set dummy ${ac_tool_prefix}cc; ac_word=$2
9906echo "$as_me:$LINENO: checking for $ac_word" >&5
9907echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9908if test "${ac_cv_prog_CC+set}" = set; then
9909 echo $ECHO_N "(cached) $ECHO_C" >&6
9910else
9911 if test -n "$CC"; then
9912 ac_cv_prog_CC="$CC" # Let the user override the test.
9913else
9914as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9915for as_dir in $PATH
9916do
9917 IFS=$as_save_IFS
9918 test -z "$as_dir" && as_dir=.
9919 for ac_exec_ext in '' $ac_executable_extensions; do
9920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9921 ac_cv_prog_CC="${ac_tool_prefix}cc"
9922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9923 break 2
9924 fi
9925done
9926done
9927
9928fi
9929fi
9930CC=$ac_cv_prog_CC
9931if test -n "$CC"; then
9932 echo "$as_me:$LINENO: result: $CC" >&5
9933echo "${ECHO_T}$CC" >&6
9934else
9935 echo "$as_me:$LINENO: result: no" >&5
9936echo "${ECHO_T}no" >&6
9937fi
9938
9939fi
9940if test -z "$ac_cv_prog_CC"; then
9941 ac_ct_CC=$CC
9942 # Extract the first word of "cc", so it can be a program name with args.
9943set dummy cc; ac_word=$2
9944echo "$as_me:$LINENO: checking for $ac_word" >&5
9945echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9946if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9947 echo $ECHO_N "(cached) $ECHO_C" >&6
9948else
9949 if test -n "$ac_ct_CC"; then
9950 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9951else
9952as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9953for as_dir in $PATH
9954do
9955 IFS=$as_save_IFS
9956 test -z "$as_dir" && as_dir=.
9957 for ac_exec_ext in '' $ac_executable_extensions; do
9958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9959 ac_cv_prog_ac_ct_CC="cc"
9960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9961 break 2
9962 fi
9963done
9964done
9965
9966fi
9967fi
9968ac_ct_CC=$ac_cv_prog_ac_ct_CC
9969if test -n "$ac_ct_CC"; then
9970 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9971echo "${ECHO_T}$ac_ct_CC" >&6
9972else
9973 echo "$as_me:$LINENO: result: no" >&5
9974echo "${ECHO_T}no" >&6
9975fi
9976
9977 CC=$ac_ct_CC
9978else
9979 CC="$ac_cv_prog_CC"
9980fi
9981
9982fi
9983if test -z "$CC"; then
9984 # Extract the first word of "cc", so it can be a program name with args.
9985set dummy cc; ac_word=$2
9986echo "$as_me:$LINENO: checking for $ac_word" >&5
9987echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9988if test "${ac_cv_prog_CC+set}" = set; then
9989 echo $ECHO_N "(cached) $ECHO_C" >&6
9990else
9991 if test -n "$CC"; then
9992 ac_cv_prog_CC="$CC" # Let the user override the test.
9993else
9994 ac_prog_rejected=no
9995as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9996for as_dir in $PATH
9997do
9998 IFS=$as_save_IFS
9999 test -z "$as_dir" && as_dir=.
10000 for ac_exec_ext in '' $ac_executable_extensions; do
10001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10002 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10003 ac_prog_rejected=yes
10004 continue
10005 fi
10006 ac_cv_prog_CC="cc"
10007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10008 break 2
10009 fi
10010done
10011done
10012
10013if test $ac_prog_rejected = yes; then
10014 # We found a bogon in the path, so make sure we never use it.
10015 set dummy $ac_cv_prog_CC
10016 shift
10017 if test $# != 0; then
10018 # We chose a different compiler from the bogus one.
10019 # However, it has the same basename, so the bogon will be chosen
10020 # first if we set CC to just the basename; use the full file name.
10021 shift
10022 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10023 fi
10024fi
10025fi
10026fi
10027CC=$ac_cv_prog_CC
10028if test -n "$CC"; then
10029 echo "$as_me:$LINENO: result: $CC" >&5
10030echo "${ECHO_T}$CC" >&6
10031else
10032 echo "$as_me:$LINENO: result: no" >&5
10033echo "${ECHO_T}no" >&6
10034fi
10035
10036fi
10037if test -z "$CC"; then
10038 if test -n "$ac_tool_prefix"; then
10039 for ac_prog in cl
10040 do
10041 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10042set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10043echo "$as_me:$LINENO: checking for $ac_word" >&5
10044echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10045if test "${ac_cv_prog_CC+set}" = set; then
10046 echo $ECHO_N "(cached) $ECHO_C" >&6
10047else
10048 if test -n "$CC"; then
10049 ac_cv_prog_CC="$CC" # Let the user override the test.
10050else
10051as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10052for as_dir in $PATH
10053do
10054 IFS=$as_save_IFS
10055 test -z "$as_dir" && as_dir=.
10056 for ac_exec_ext in '' $ac_executable_extensions; do
10057 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10058 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10060 break 2
10061 fi
10062done
10063done
10064
10065fi
10066fi
10067CC=$ac_cv_prog_CC
10068if test -n "$CC"; then
10069 echo "$as_me:$LINENO: result: $CC" >&5
10070echo "${ECHO_T}$CC" >&6
10071else
10072 echo "$as_me:$LINENO: result: no" >&5
10073echo "${ECHO_T}no" >&6
10074fi
10075
10076 test -n "$CC" && break
10077 done
10078fi
10079if test -z "$CC"; then
10080 ac_ct_CC=$CC
10081 for ac_prog in cl
10082do
10083 # Extract the first word of "$ac_prog", so it can be a program name with args.
10084set dummy $ac_prog; ac_word=$2
10085echo "$as_me:$LINENO: checking for $ac_word" >&5
10086echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10087if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10088 echo $ECHO_N "(cached) $ECHO_C" >&6
10089else
10090 if test -n "$ac_ct_CC"; then
10091 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10092else
10093as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10094for as_dir in $PATH
10095do
10096 IFS=$as_save_IFS
10097 test -z "$as_dir" && as_dir=.
10098 for ac_exec_ext in '' $ac_executable_extensions; do
10099 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10100 ac_cv_prog_ac_ct_CC="$ac_prog"
10101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10102 break 2
10103 fi
10104done
10105done
10106
10107fi
10108fi
10109ac_ct_CC=$ac_cv_prog_ac_ct_CC
10110if test -n "$ac_ct_CC"; then
10111 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10112echo "${ECHO_T}$ac_ct_CC" >&6
10113else
10114 echo "$as_me:$LINENO: result: no" >&5
10115echo "${ECHO_T}no" >&6
10116fi
10117
10118 test -n "$ac_ct_CC" && break
10119done
10120
10121 CC=$ac_ct_CC
10122fi
10123
10124fi
10125
10126
10127test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10128See \`config.log' for more details." >&5
10129echo "$as_me: error: no acceptable C compiler found in \$PATH
10130See \`config.log' for more details." >&2;}
10131 { (exit 1); exit 1; }; }
10132
10133# Provide some information about the compiler.
10134echo "$as_me:$LINENO:" \
10135 "checking for C compiler version" >&5
10136ac_compiler=`set X $ac_compile; echo $2`
10137{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10138 (eval $ac_compiler --version </dev/null >&5) 2>&5
10139 ac_status=$?
10140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10141 (exit $ac_status); }
10142{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10143 (eval $ac_compiler -v </dev/null >&5) 2>&5
10144 ac_status=$?
10145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146 (exit $ac_status); }
10147{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10148 (eval $ac_compiler -V </dev/null >&5) 2>&5
10149 ac_status=$?
10150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10151 (exit $ac_status); }
10152
10153cat >conftest.$ac_ext <<_ACEOF
10154#line $LINENO "configure"
10155/* confdefs.h. */
10156_ACEOF
10157cat confdefs.h >>conftest.$ac_ext
10158cat >>conftest.$ac_ext <<_ACEOF
10159/* end confdefs.h. */
10160
10161int
10162main ()
10163{
10164
10165 ;
10166 return 0;
10167}
10168_ACEOF
10169ac_clean_files_save=$ac_clean_files
10170ac_clean_files="$ac_clean_files a.out a.exe b.out"
10171# Try to create an executable without -o first, disregard a.out.
10172# It will help us diagnose broken compilers, and finding out an intuition
10173# of exeext.
10174echo "$as_me:$LINENO: checking for C compiler default output" >&5
10175echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10176ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10177if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10178 (eval $ac_link_default) 2>&5
10179 ac_status=$?
10180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10181 (exit $ac_status); }; then
10182 # Find the output, starting from the most likely. This scheme is
10183# not robust to junk in `.', hence go to wildcards (a.*) only as a last
10184# resort.
10185
10186# Be careful to initialize this variable, since it used to be cached.
10187# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10188ac_cv_exeext=
10189# b.out is created by i960 compilers.
10190for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10191do
10192 test -f "$ac_file" || continue
10193 case $ac_file in
10194 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10195 ;;
10196 conftest.$ac_ext )
10197 # This is the source file.
10198 ;;
10199 [ab].out )
10200 # We found the default executable, but exeext='' is most
10201 # certainly right.
10202 break;;
10203 *.* )
10204 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10205 # FIXME: I believe we export ac_cv_exeext for Libtool,
10206 # but it would be cool to find out if it's true. Does anybody
10207 # maintain Libtool? --akim.
10208 export ac_cv_exeext
10209 break;;
10210 * )
10211 break;;
10212 esac
10213done
10214else
10215 echo "$as_me: failed program was:" >&5
10216sed 's/^/| /' conftest.$ac_ext >&5
10217
10218{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
10219See \`config.log' for more details." >&5
10220echo "$as_me: error: C compiler cannot create executables
10221See \`config.log' for more details." >&2;}
10222 { (exit 77); exit 77; }; }
10223fi
10224
10225ac_exeext=$ac_cv_exeext
10226echo "$as_me:$LINENO: result: $ac_file" >&5
10227echo "${ECHO_T}$ac_file" >&6
10228
10229# Check the compiler produces executables we can run. If not, either
10230# the compiler is broken, or we cross compile.
10231echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10232echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10233# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10234# If not cross compiling, check that we can run a simple program.
10235if test "$cross_compiling" != yes; then
10236 if { ac_try='./$ac_file'
10237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10238 (eval $ac_try) 2>&5
10239 ac_status=$?
10240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10241 (exit $ac_status); }; }; then
10242 cross_compiling=no
10243 else
10244 if test "$cross_compiling" = maybe; then
10245 cross_compiling=yes
10246 else
10247 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10248If you meant to cross compile, use \`--host'.
10249See \`config.log' for more details." >&5
10250echo "$as_me: error: cannot run C compiled programs.
10251If you meant to cross compile, use \`--host'.
10252See \`config.log' for more details." >&2;}
10253 { (exit 1); exit 1; }; }
10254 fi
10255 fi
10256fi
10257echo "$as_me:$LINENO: result: yes" >&5
10258echo "${ECHO_T}yes" >&6
10259
10260rm -f a.out a.exe conftest$ac_cv_exeext b.out
10261ac_clean_files=$ac_clean_files_save
10262# Check the compiler produces executables we can run. If not, either
10263# the compiler is broken, or we cross compile.
10264echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10265echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10266echo "$as_me:$LINENO: result: $cross_compiling" >&5
10267echo "${ECHO_T}$cross_compiling" >&6
10268
10269echo "$as_me:$LINENO: checking for suffix of executables" >&5
10270echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10271if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10272 (eval $ac_link) 2>&5
10273 ac_status=$?
10274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10275 (exit $ac_status); }; then
10276 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10277# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10278# work properly (i.e., refer to `conftest.exe'), while it won't with
10279# `rm'.
10280for ac_file in conftest.exe conftest conftest.*; do
10281 test -f "$ac_file" || continue
10282 case $ac_file in
10283 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10284 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10285 export ac_cv_exeext
10286 break;;
10287 * ) break;;
10288 esac
10289done
10290else
10291 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10292See \`config.log' for more details." >&5
10293echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10294See \`config.log' for more details." >&2;}
10295 { (exit 1); exit 1; }; }
10296fi
10297
10298rm -f conftest$ac_cv_exeext
10299echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10300echo "${ECHO_T}$ac_cv_exeext" >&6
10301
10302rm -f conftest.$ac_ext
10303EXEEXT=$ac_cv_exeext
10304ac_exeext=$EXEEXT
10305echo "$as_me:$LINENO: checking for suffix of object files" >&5
10306echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10307if test "${ac_cv_objext+set}" = set; then
10308 echo $ECHO_N "(cached) $ECHO_C" >&6
10309else
10310 cat >conftest.$ac_ext <<_ACEOF
10311#line $LINENO "configure"
10312/* confdefs.h. */
10313_ACEOF
10314cat confdefs.h >>conftest.$ac_ext
10315cat >>conftest.$ac_ext <<_ACEOF
10316/* end confdefs.h. */
10317
10318int
10319main ()
10320{
10321
10322 ;
10323 return 0;
10324}
10325_ACEOF
10326rm -f conftest.o conftest.obj
10327if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10328 (eval $ac_compile) 2>&5
10329 ac_status=$?
10330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10331 (exit $ac_status); }; then
10332 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10333 case $ac_file in
10334 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10335 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10336 break;;
10337 esac
10338done
10339else
10340 echo "$as_me: failed program was:" >&5
10341sed 's/^/| /' conftest.$ac_ext >&5
10342
10343{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10344See \`config.log' for more details." >&5
10345echo "$as_me: error: cannot compute suffix of object files: cannot compile
10346See \`config.log' for more details." >&2;}
10347 { (exit 1); exit 1; }; }
10348fi
10349
10350rm -f conftest.$ac_cv_objext conftest.$ac_ext
10351fi
10352echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10353echo "${ECHO_T}$ac_cv_objext" >&6
10354OBJEXT=$ac_cv_objext
10355ac_objext=$OBJEXT
10356echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10357echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10358if test "${ac_cv_c_compiler_gnu+set}" = set; then
10359 echo $ECHO_N "(cached) $ECHO_C" >&6
10360else
10361 cat >conftest.$ac_ext <<_ACEOF
10362#line $LINENO "configure"
10363/* confdefs.h. */
10364_ACEOF
10365cat confdefs.h >>conftest.$ac_ext
10366cat >>conftest.$ac_ext <<_ACEOF
10367/* end confdefs.h. */
10368
10369int
10370main ()
10371{
10372#ifndef __GNUC__
10373 choke me
10374#endif
10375
10376 ;
10377 return 0;
10378}
10379_ACEOF
10380rm -f conftest.$ac_objext
10381if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10382 (eval $ac_compile) 2>&5
10383 ac_status=$?
10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 (exit $ac_status); } &&
10386 { ac_try='test -s conftest.$ac_objext'
10387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10388 (eval $ac_try) 2>&5
10389 ac_status=$?
10390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10391 (exit $ac_status); }; }; then
10392 ac_compiler_gnu=yes
10393else
10394 echo "$as_me: failed program was:" >&5
10395sed 's/^/| /' conftest.$ac_ext >&5
10396
10397ac_compiler_gnu=no
10398fi
10399rm -f conftest.$ac_objext conftest.$ac_ext
10400ac_cv_c_compiler_gnu=$ac_compiler_gnu
10401
10402fi
10403echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10404echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10405GCC=`test $ac_compiler_gnu = yes && echo yes`
10406ac_test_CFLAGS=${CFLAGS+set}
10407ac_save_CFLAGS=$CFLAGS
10408CFLAGS="-g"
10409echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10410echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10411if test "${ac_cv_prog_cc_g+set}" = set; then
10412 echo $ECHO_N "(cached) $ECHO_C" >&6
10413else
10414 cat >conftest.$ac_ext <<_ACEOF
10415#line $LINENO "configure"
10416/* confdefs.h. */
10417_ACEOF
10418cat confdefs.h >>conftest.$ac_ext
10419cat >>conftest.$ac_ext <<_ACEOF
10420/* end confdefs.h. */
10421
10422int
10423main ()
10424{
10425
10426 ;
10427 return 0;
10428}
10429_ACEOF
10430rm -f conftest.$ac_objext
10431if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10432 (eval $ac_compile) 2>&5
10433 ac_status=$?
10434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10435 (exit $ac_status); } &&
10436 { ac_try='test -s conftest.$ac_objext'
10437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10438 (eval $ac_try) 2>&5
10439 ac_status=$?
10440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10441 (exit $ac_status); }; }; then
10442 ac_cv_prog_cc_g=yes
10443else
10444 echo "$as_me: failed program was:" >&5
10445sed 's/^/| /' conftest.$ac_ext >&5
10446
10447ac_cv_prog_cc_g=no
10448fi
10449rm -f conftest.$ac_objext conftest.$ac_ext
10450fi
10451echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10452echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10453if test "$ac_test_CFLAGS" = set; then
10454 CFLAGS=$ac_save_CFLAGS
10455elif test $ac_cv_prog_cc_g = yes; then
10456 if test "$GCC" = yes; then
10457 CFLAGS="-g -O2"
10458 else
10459 CFLAGS="-g"
10460 fi
10461else
10462 if test "$GCC" = yes; then
10463 CFLAGS="-O2"
10464 else
10465 CFLAGS=
10466 fi
10467fi
10468echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10469echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10470if test "${ac_cv_prog_cc_stdc+set}" = set; then
10471 echo $ECHO_N "(cached) $ECHO_C" >&6
10472else
10473 ac_cv_prog_cc_stdc=no
10474ac_save_CC=$CC
10475cat >conftest.$ac_ext <<_ACEOF
10476#line $LINENO "configure"
10477/* confdefs.h. */
10478_ACEOF
10479cat confdefs.h >>conftest.$ac_ext
10480cat >>conftest.$ac_ext <<_ACEOF
10481/* end confdefs.h. */
10482#include <stdarg.h>
10483#include <stdio.h>
10484#include <sys/types.h>
10485#include <sys/stat.h>
10486/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10487struct buf { int x; };
10488FILE * (*rcsopen) (struct buf *, struct stat *, int);
10489static char *e (p, i)
10490 char **p;
10491 int i;
10492{
10493 return p[i];
10494}
10495static char *f (char * (*g) (char **, int), char **p, ...)
10496{
10497 char *s;
10498 va_list v;
10499 va_start (v,p);
10500 s = g (p, va_arg (v,int));
10501 va_end (v);
10502 return s;
10503}
10504int test (int i, double x);
10505struct s1 {int (*f) (int a);};
10506struct s2 {int (*f) (double a);};
10507int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10508int argc;
10509char **argv;
10510int
10511main ()
10512{
10513return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10514 ;
10515 return 0;
10516}
10517_ACEOF
10518# Don't try gcc -ansi; that turns off useful extensions and
10519# breaks some systems' header files.
10520# AIX -qlanglvl=ansi
10521# Ultrix and OSF/1 -std1
10522# HP-UX 10.20 and later -Ae
10523# HP-UX older versions -Aa -D_HPUX_SOURCE
10524# SVR4 -Xc -D__EXTENSIONS__
10525for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10526do
10527 CC="$ac_save_CC $ac_arg"
10528 rm -f conftest.$ac_objext
10529if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10530 (eval $ac_compile) 2>&5
10531 ac_status=$?
10532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10533 (exit $ac_status); } &&
10534 { ac_try='test -s conftest.$ac_objext'
10535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10536 (eval $ac_try) 2>&5
10537 ac_status=$?
10538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10539 (exit $ac_status); }; }; then
10540 ac_cv_prog_cc_stdc=$ac_arg
10541break
10542else
10543 echo "$as_me: failed program was:" >&5
10544sed 's/^/| /' conftest.$ac_ext >&5
10545
10546fi
10547rm -f conftest.$ac_objext
10548done
10549rm -f conftest.$ac_ext conftest.$ac_objext
10550CC=$ac_save_CC
10551
10552fi
10553
10554case "x$ac_cv_prog_cc_stdc" in
10555 x|xno)
10556 echo "$as_me:$LINENO: result: none needed" >&5
10557echo "${ECHO_T}none needed" >&6 ;;
10558 *)
10559 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10560echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10561 CC="$CC $ac_cv_prog_cc_stdc" ;;
10562esac
10563
10564# Some people use a C++ compiler to compile C. Since we use `exit',
10565# in C++ we need to declare it. In case someone uses the same compiler
10566# for both compiling C and C++ we need to have the C++ compiler decide
10567# the declaration of exit, since it's the most demanding environment.
10568cat >conftest.$ac_ext <<_ACEOF
10569#ifndef __cplusplus
10570 choke me
10571#endif
10572_ACEOF
10573rm -f conftest.$ac_objext
10574if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10575 (eval $ac_compile) 2>&5
10576 ac_status=$?
10577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10578 (exit $ac_status); } &&
10579 { ac_try='test -s conftest.$ac_objext'
10580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10581 (eval $ac_try) 2>&5
10582 ac_status=$?
10583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10584 (exit $ac_status); }; }; then
10585 for ac_declaration in \
10586 '' \
10587 'extern "C" void std::exit (int) throw (); using std::exit;' \
10588 'extern "C" void std::exit (int); using std::exit;' \
10589 'extern "C" void exit (int) throw ();' \
10590 'extern "C" void exit (int);' \
10591 'void exit (int);'
10592do
10593 cat >conftest.$ac_ext <<_ACEOF
10594#line $LINENO "configure"
10595/* confdefs.h. */
10596_ACEOF
10597cat confdefs.h >>conftest.$ac_ext
10598cat >>conftest.$ac_ext <<_ACEOF
10599/* end confdefs.h. */
10600$ac_declaration
10601#include <stdlib.h>
10602int
10603main ()
10604{
10605exit (42);
10606 ;
10607 return 0;
10608}
10609_ACEOF
10610rm -f conftest.$ac_objext
10611if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10612 (eval $ac_compile) 2>&5
10613 ac_status=$?
10614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10615 (exit $ac_status); } &&
10616 { ac_try='test -s conftest.$ac_objext'
10617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10618 (eval $ac_try) 2>&5
10619 ac_status=$?
10620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10621 (exit $ac_status); }; }; then
10622 :
10623else
10624 echo "$as_me: failed program was:" >&5
10625sed 's/^/| /' conftest.$ac_ext >&5
10626
10627continue
10628fi
10629rm -f conftest.$ac_objext conftest.$ac_ext
10630 cat >conftest.$ac_ext <<_ACEOF
10631#line $LINENO "configure"
10632/* confdefs.h. */
10633_ACEOF
10634cat confdefs.h >>conftest.$ac_ext
10635cat >>conftest.$ac_ext <<_ACEOF
10636/* end confdefs.h. */
10637$ac_declaration
10638int
10639main ()
10640{
10641exit (42);
10642 ;
10643 return 0;
10644}
10645_ACEOF
10646rm -f conftest.$ac_objext
10647if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10648 (eval $ac_compile) 2>&5
10649 ac_status=$?
10650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10651 (exit $ac_status); } &&
10652 { ac_try='test -s conftest.$ac_objext'
10653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10654 (eval $ac_try) 2>&5
10655 ac_status=$?
10656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10657 (exit $ac_status); }; }; then
10658 break
10659else
10660 echo "$as_me: failed program was:" >&5
10661sed 's/^/| /' conftest.$ac_ext >&5
10662
10663fi
10664rm -f conftest.$ac_objext conftest.$ac_ext
10665done
10666rm -f conftest*
10667if test -n "$ac_declaration"; then
10668 echo '#ifdef __cplusplus' >>confdefs.h
10669 echo $ac_declaration >>confdefs.h
10670 echo '#endif' >>confdefs.h
10671fi
10672
10673else
10674 echo "$as_me: failed program was:" >&5
10675sed 's/^/| /' conftest.$ac_ext >&5
10676
10677fi
10678rm -f conftest.$ac_objext conftest.$ac_ext
10679ac_ext=c
10680ac_cpp='$CPP $CPPFLAGS'
10681ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10682ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10683ac_compiler_gnu=$ac_cv_c_compiler_gnu
10684
10685
10686
10687ac_ext=c
10688ac_cpp='$CPP $CPPFLAGS'
10689ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10690ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10691ac_compiler_gnu=$ac_cv_c_compiler_gnu
10692echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10693echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10694# On Suns, sometimes $CPP names a directory.
10695if test -n "$CPP" && test -d "$CPP"; then
10696 CPP=
10697fi
10698if test -z "$CPP"; then
10699 if test "${ac_cv_prog_CPP+set}" = set; then
10700 echo $ECHO_N "(cached) $ECHO_C" >&6
10701else
10702 # Double quotes because CPP needs to be expanded
10703 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10704 do
10705 ac_preproc_ok=false
10706for ac_c_preproc_warn_flag in '' yes
10707do
10708 # Use a header file that comes with gcc, so configuring glibc
10709 # with a fresh cross-compiler works.
10710 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10711 # <limits.h> exists even on freestanding compilers.
10712 # On the NeXT, cc -E runs the code through the compiler's parser,
10713 # not just through cpp. "Syntax error" is here to catch this case.
10714 cat >conftest.$ac_ext <<_ACEOF
10715#line $LINENO "configure"
10716/* confdefs.h. */
10717_ACEOF
10718cat confdefs.h >>conftest.$ac_ext
10719cat >>conftest.$ac_ext <<_ACEOF
10720/* end confdefs.h. */
10721#ifdef __STDC__
10722# include <limits.h>
10723#else
10724# include <assert.h>
10725#endif
10726 Syntax error
10727_ACEOF
10728if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10729 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10730 ac_status=$?
10731 grep -v '^ *+' conftest.er1 >conftest.err
10732 rm -f conftest.er1
10733 cat conftest.err >&5
10734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10735 (exit $ac_status); } >/dev/null; then
10736 if test -s conftest.err; then
10737 ac_cpp_err=$ac_c_preproc_warn_flag
10738 else
10739 ac_cpp_err=
10740 fi
10741else
10742 ac_cpp_err=yes
10743fi
10744if test -z "$ac_cpp_err"; then
10745 :
10746else
10747 echo "$as_me: failed program was:" >&5
10748sed 's/^/| /' conftest.$ac_ext >&5
10749
10750 # Broken: fails on valid input.
10751continue
10752fi
10753rm -f conftest.err conftest.$ac_ext
10754
10755 # OK, works on sane cases. Now check whether non-existent headers
10756 # can be detected and how.
10757 cat >conftest.$ac_ext <<_ACEOF
10758#line $LINENO "configure"
10759/* confdefs.h. */
10760_ACEOF
10761cat confdefs.h >>conftest.$ac_ext
10762cat >>conftest.$ac_ext <<_ACEOF
10763/* end confdefs.h. */
10764#include <ac_nonexistent.h>
10765_ACEOF
10766if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10767 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10768 ac_status=$?
10769 grep -v '^ *+' conftest.er1 >conftest.err
10770 rm -f conftest.er1
10771 cat conftest.err >&5
10772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 (exit $ac_status); } >/dev/null; then
10774 if test -s conftest.err; then
10775 ac_cpp_err=$ac_c_preproc_warn_flag
10776 else
10777 ac_cpp_err=
10778 fi
10779else
10780 ac_cpp_err=yes
10781fi
10782if test -z "$ac_cpp_err"; then
10783 # Broken: success on invalid input.
10784continue
10785else
10786 echo "$as_me: failed program was:" >&5
10787sed 's/^/| /' conftest.$ac_ext >&5
10788
10789 # Passes both tests.
10790ac_preproc_ok=:
10791break
10792fi
10793rm -f conftest.err conftest.$ac_ext
10794
10795done
10796# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10797rm -f conftest.err conftest.$ac_ext
10798if $ac_preproc_ok; then
10799 break
10800fi
10801
10802 done
10803 ac_cv_prog_CPP=$CPP
10804
10805fi
10806 CPP=$ac_cv_prog_CPP
10807else
10808 ac_cv_prog_CPP=$CPP
10809fi
10810echo "$as_me:$LINENO: result: $CPP" >&5
10811echo "${ECHO_T}$CPP" >&6
10812ac_preproc_ok=false
10813for ac_c_preproc_warn_flag in '' yes
10814do
10815 # Use a header file that comes with gcc, so configuring glibc
10816 # with a fresh cross-compiler works.
10817 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10818 # <limits.h> exists even on freestanding compilers.
10819 # On the NeXT, cc -E runs the code through the compiler's parser,
10820 # not just through cpp. "Syntax error" is here to catch this case.
10821 cat >conftest.$ac_ext <<_ACEOF
10822#line $LINENO "configure"
10823/* confdefs.h. */
10824_ACEOF
10825cat confdefs.h >>conftest.$ac_ext
10826cat >>conftest.$ac_ext <<_ACEOF
10827/* end confdefs.h. */
10828#ifdef __STDC__
10829# include <limits.h>
10830#else
10831# include <assert.h>
10832#endif
10833 Syntax error
10834_ACEOF
10835if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10836 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10837 ac_status=$?
10838 grep -v '^ *+' conftest.er1 >conftest.err
10839 rm -f conftest.er1
10840 cat conftest.err >&5
10841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); } >/dev/null; then
10843 if test -s conftest.err; then
10844 ac_cpp_err=$ac_c_preproc_warn_flag
10845 else
10846 ac_cpp_err=
10847 fi
10848else
10849 ac_cpp_err=yes
10850fi
10851if test -z "$ac_cpp_err"; then
10852 :
10853else
10854 echo "$as_me: failed program was:" >&5
10855sed 's/^/| /' conftest.$ac_ext >&5
10856
10857 # Broken: fails on valid input.
10858continue
10859fi
10860rm -f conftest.err conftest.$ac_ext
10861
10862 # OK, works on sane cases. Now check whether non-existent headers
10863 # can be detected and how.
10864 cat >conftest.$ac_ext <<_ACEOF
10865#line $LINENO "configure"
10866/* confdefs.h. */
10867_ACEOF
10868cat confdefs.h >>conftest.$ac_ext
10869cat >>conftest.$ac_ext <<_ACEOF
10870/* end confdefs.h. */
10871#include <ac_nonexistent.h>
10872_ACEOF
10873if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10874 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10875 ac_status=$?
10876 grep -v '^ *+' conftest.er1 >conftest.err
10877 rm -f conftest.er1
10878 cat conftest.err >&5
10879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10880 (exit $ac_status); } >/dev/null; then
10881 if test -s conftest.err; then
10882 ac_cpp_err=$ac_c_preproc_warn_flag
10883 else
10884 ac_cpp_err=
10885 fi
10886else
10887 ac_cpp_err=yes
10888fi
10889if test -z "$ac_cpp_err"; then
10890 # Broken: success on invalid input.
10891continue
10892else
10893 echo "$as_me: failed program was:" >&5
10894sed 's/^/| /' conftest.$ac_ext >&5
10895
10896 # Passes both tests.
10897ac_preproc_ok=:
10898break
10899fi
10900rm -f conftest.err conftest.$ac_ext
10901
10902done
10903# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10904rm -f conftest.err conftest.$ac_ext
10905if $ac_preproc_ok; then
10906 :
10907else
10908 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10909See \`config.log' for more details." >&5
10910echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10911See \`config.log' for more details." >&2;}
10912 { (exit 1); exit 1; }; }
10913fi
10914
10915ac_ext=c
10916ac_cpp='$CPP $CPPFLAGS'
10917ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10918ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10919ac_compiler_gnu=$ac_cv_c_compiler_gnu
10920
10921
10922echo "$as_me:$LINENO: checking for egrep" >&5
10923echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10924if test "${ac_cv_prog_egrep+set}" = set; then
10925 echo $ECHO_N "(cached) $ECHO_C" >&6
10926else
10927 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10928 then ac_cv_prog_egrep='grep -E'
10929 else ac_cv_prog_egrep='egrep'
10930 fi
10931fi
10932echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10933echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10934 EGREP=$ac_cv_prog_egrep
10935
10936
10937if test $ac_cv_c_compiler_gnu = yes; then
10938 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10939echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10940if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10941 echo $ECHO_N "(cached) $ECHO_C" >&6
10942else
10943 ac_pattern="Autoconf.*'x'"
10944 cat >conftest.$ac_ext <<_ACEOF
10945#line $LINENO "configure"
10946/* confdefs.h. */
10947_ACEOF
10948cat confdefs.h >>conftest.$ac_ext
10949cat >>conftest.$ac_ext <<_ACEOF
10950/* end confdefs.h. */
10951#include <sgtty.h>
10952Autoconf TIOCGETP
10953_ACEOF
10954if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10955 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10956 ac_cv_prog_gcc_traditional=yes
10957else
10958 ac_cv_prog_gcc_traditional=no
10959fi
10960rm -f conftest*
10961
10962
10963 if test $ac_cv_prog_gcc_traditional = no; then
10964 cat >conftest.$ac_ext <<_ACEOF
10965#line $LINENO "configure"
10966/* confdefs.h. */
10967_ACEOF
10968cat confdefs.h >>conftest.$ac_ext
10969cat >>conftest.$ac_ext <<_ACEOF
10970/* end confdefs.h. */
10971#include <termio.h>
10972Autoconf TCGETA
10973_ACEOF
10974if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10975 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10976 ac_cv_prog_gcc_traditional=yes
10977fi
10978rm -f conftest*
10979
10980 fi
10981fi
10982echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10983echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10984 if test $ac_cv_prog_gcc_traditional = yes; then
10985 CC="$CC -traditional"
10986 fi
10987fi
10988
10989
10990
10991
10992ac_ext=cc
10993ac_cpp='$CXXCPP $CPPFLAGS'
10994ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10995ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10996ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10997
10998
10999CXXFLAGS=${CXXFLAGS:=}
11000ac_ext=cc
11001ac_cpp='$CXXCPP $CPPFLAGS'
11002ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11003ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11004ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11005if test -n "$ac_tool_prefix"; then
11006 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11007 do
11008 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11009set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11010echo "$as_me:$LINENO: checking for $ac_word" >&5
11011echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11012if test "${ac_cv_prog_CXX+set}" = set; then
11013 echo $ECHO_N "(cached) $ECHO_C" >&6
11014else
11015 if test -n "$CXX"; then
11016 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11017else
11018as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11019for as_dir in $PATH
11020do
11021 IFS=$as_save_IFS
11022 test -z "$as_dir" && as_dir=.
11023 for ac_exec_ext in '' $ac_executable_extensions; do
11024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11025 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11027 break 2
11028 fi
11029done
11030done
11031
11032fi
11033fi
11034CXX=$ac_cv_prog_CXX
11035if test -n "$CXX"; then
11036 echo "$as_me:$LINENO: result: $CXX" >&5
11037echo "${ECHO_T}$CXX" >&6
11038else
11039 echo "$as_me:$LINENO: result: no" >&5
11040echo "${ECHO_T}no" >&6
11041fi
11042
11043 test -n "$CXX" && break
11044 done
11045fi
11046if test -z "$CXX"; then
11047 ac_ct_CXX=$CXX
11048 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11049do
11050 # Extract the first word of "$ac_prog", so it can be a program name with args.
11051set dummy $ac_prog; ac_word=$2
11052echo "$as_me:$LINENO: checking for $ac_word" >&5
11053echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11054if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11055 echo $ECHO_N "(cached) $ECHO_C" >&6
11056else
11057 if test -n "$ac_ct_CXX"; then
11058 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11059else
11060as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11061for as_dir in $PATH
11062do
11063 IFS=$as_save_IFS
11064 test -z "$as_dir" && as_dir=.
11065 for ac_exec_ext in '' $ac_executable_extensions; do
11066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11067 ac_cv_prog_ac_ct_CXX="$ac_prog"
11068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11069 break 2
11070 fi
11071done
11072done
11073
11074fi
11075fi
11076ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11077if test -n "$ac_ct_CXX"; then
11078 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11079echo "${ECHO_T}$ac_ct_CXX" >&6
11080else
11081 echo "$as_me:$LINENO: result: no" >&5
11082echo "${ECHO_T}no" >&6
11083fi
11084
11085 test -n "$ac_ct_CXX" && break
11086done
11087test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11088
11089 CXX=$ac_ct_CXX
11090fi
11091
11092
11093# Provide some information about the compiler.
11094echo "$as_me:$LINENO:" \
11095 "checking for C++ compiler version" >&5
11096ac_compiler=`set X $ac_compile; echo $2`
11097{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11098 (eval $ac_compiler --version </dev/null >&5) 2>&5
11099 ac_status=$?
11100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11101 (exit $ac_status); }
11102{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11103 (eval $ac_compiler -v </dev/null >&5) 2>&5
11104 ac_status=$?
11105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11106 (exit $ac_status); }
11107{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11108 (eval $ac_compiler -V </dev/null >&5) 2>&5
11109 ac_status=$?
11110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11111 (exit $ac_status); }
11112
11113echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11114echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11115if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11116 echo $ECHO_N "(cached) $ECHO_C" >&6
11117else
11118 cat >conftest.$ac_ext <<_ACEOF
11119#line $LINENO "configure"
11120/* confdefs.h. */
11121_ACEOF
11122cat confdefs.h >>conftest.$ac_ext
11123cat >>conftest.$ac_ext <<_ACEOF
11124/* end confdefs.h. */
11125
11126int
11127main ()
11128{
11129#ifndef __GNUC__
11130 choke me
11131#endif
11132
11133 ;
11134 return 0;
11135}
11136_ACEOF
11137rm -f conftest.$ac_objext
11138if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11139 (eval $ac_compile) 2>&5
11140 ac_status=$?
11141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11142 (exit $ac_status); } &&
11143 { ac_try='test -s conftest.$ac_objext'
11144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11145 (eval $ac_try) 2>&5
11146 ac_status=$?
11147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11148 (exit $ac_status); }; }; then
11149 ac_compiler_gnu=yes
11150else
11151 echo "$as_me: failed program was:" >&5
11152sed 's/^/| /' conftest.$ac_ext >&5
11153
11154ac_compiler_gnu=no
11155fi
11156rm -f conftest.$ac_objext conftest.$ac_ext
11157ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11158
11159fi
11160echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11161echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11162GXX=`test $ac_compiler_gnu = yes && echo yes`
11163ac_test_CXXFLAGS=${CXXFLAGS+set}
11164ac_save_CXXFLAGS=$CXXFLAGS
11165CXXFLAGS="-g"
11166echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11167echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11168if test "${ac_cv_prog_cxx_g+set}" = set; then
11169 echo $ECHO_N "(cached) $ECHO_C" >&6
11170else
11171 cat >conftest.$ac_ext <<_ACEOF
11172#line $LINENO "configure"
11173/* confdefs.h. */
11174_ACEOF
11175cat confdefs.h >>conftest.$ac_ext
11176cat >>conftest.$ac_ext <<_ACEOF
11177/* end confdefs.h. */
11178
11179int
11180main ()
11181{
11182
11183 ;
11184 return 0;
11185}
11186_ACEOF
11187rm -f conftest.$ac_objext
11188if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11189 (eval $ac_compile) 2>&5
11190 ac_status=$?
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); } &&
11193 { ac_try='test -s conftest.$ac_objext'
11194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11195 (eval $ac_try) 2>&5
11196 ac_status=$?
11197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11198 (exit $ac_status); }; }; then
11199 ac_cv_prog_cxx_g=yes
11200else
11201 echo "$as_me: failed program was:" >&5
11202sed 's/^/| /' conftest.$ac_ext >&5
11203
11204ac_cv_prog_cxx_g=no
11205fi
11206rm -f conftest.$ac_objext conftest.$ac_ext
11207fi
11208echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11209echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11210if test "$ac_test_CXXFLAGS" = set; then
11211 CXXFLAGS=$ac_save_CXXFLAGS
11212elif test $ac_cv_prog_cxx_g = yes; then
11213 if test "$GXX" = yes; then
11214 CXXFLAGS="-g -O2"
11215 else
11216 CXXFLAGS="-g"
11217 fi
11218else
11219 if test "$GXX" = yes; then
11220 CXXFLAGS="-O2"
11221 else
11222 CXXFLAGS=
11223 fi
11224fi
11225for ac_declaration in \
11226 '' \
11227 'extern "C" void std::exit (int) throw (); using std::exit;' \
11228 'extern "C" void std::exit (int); using std::exit;' \
11229 'extern "C" void exit (int) throw ();' \
11230 'extern "C" void exit (int);' \
11231 'void exit (int);'
11232do
11233 cat >conftest.$ac_ext <<_ACEOF
11234#line $LINENO "configure"
11235/* confdefs.h. */
11236_ACEOF
11237cat confdefs.h >>conftest.$ac_ext
11238cat >>conftest.$ac_ext <<_ACEOF
11239/* end confdefs.h. */
11240$ac_declaration
11241#include <stdlib.h>
11242int
11243main ()
11244{
11245exit (42);
11246 ;
11247 return 0;
11248}
11249_ACEOF
11250rm -f conftest.$ac_objext
11251if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11252 (eval $ac_compile) 2>&5
11253 ac_status=$?
11254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11255 (exit $ac_status); } &&
11256 { ac_try='test -s conftest.$ac_objext'
11257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11258 (eval $ac_try) 2>&5
11259 ac_status=$?
11260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11261 (exit $ac_status); }; }; then
11262 :
11263else
11264 echo "$as_me: failed program was:" >&5
11265sed 's/^/| /' conftest.$ac_ext >&5
11266
11267continue
11268fi
11269rm -f conftest.$ac_objext conftest.$ac_ext
11270 cat >conftest.$ac_ext <<_ACEOF
11271#line $LINENO "configure"
11272/* confdefs.h. */
11273_ACEOF
11274cat confdefs.h >>conftest.$ac_ext
11275cat >>conftest.$ac_ext <<_ACEOF
11276/* end confdefs.h. */
11277$ac_declaration
11278int
11279main ()
11280{
11281exit (42);
11282 ;
11283 return 0;
11284}
11285_ACEOF
11286rm -f conftest.$ac_objext
11287if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11288 (eval $ac_compile) 2>&5
11289 ac_status=$?
11290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11291 (exit $ac_status); } &&
11292 { ac_try='test -s conftest.$ac_objext'
11293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11294 (eval $ac_try) 2>&5
11295 ac_status=$?
11296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); }; }; then
11298 break
11299else
11300 echo "$as_me: failed program was:" >&5
11301sed 's/^/| /' conftest.$ac_ext >&5
11302
11303fi
11304rm -f conftest.$ac_objext conftest.$ac_ext
11305done
11306rm -f conftest*
11307if test -n "$ac_declaration"; then
11308 echo '#ifdef __cplusplus' >>confdefs.h
11309 echo $ac_declaration >>confdefs.h
11310 echo '#endif' >>confdefs.h
11311fi
11312
11313ac_ext=cc
11314ac_cpp='$CXXCPP $CPPFLAGS'
11315ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11316ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11317ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11318
11319
11320ac_ext=c
11321ac_cpp='$CPP $CPPFLAGS'
11322ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11323ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11324ac_compiler_gnu=$ac_cv_c_compiler_gnu
11325
11326
11327if test -n "$ac_tool_prefix"; then
11328 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11329set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11330echo "$as_me:$LINENO: checking for $ac_word" >&5
11331echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11332if test "${ac_cv_prog_RANLIB+set}" = set; then
11333 echo $ECHO_N "(cached) $ECHO_C" >&6
11334else
11335 if test -n "$RANLIB"; then
11336 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11337else
11338as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11339for as_dir in $PATH
11340do
11341 IFS=$as_save_IFS
11342 test -z "$as_dir" && as_dir=.
11343 for ac_exec_ext in '' $ac_executable_extensions; do
11344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11345 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11347 break 2
11348 fi
11349done
11350done
11351
11352fi
11353fi
11354RANLIB=$ac_cv_prog_RANLIB
11355if test -n "$RANLIB"; then
11356 echo "$as_me:$LINENO: result: $RANLIB" >&5
11357echo "${ECHO_T}$RANLIB" >&6
11358else
11359 echo "$as_me:$LINENO: result: no" >&5
11360echo "${ECHO_T}no" >&6
11361fi
11362
11363fi
11364if test -z "$ac_cv_prog_RANLIB"; then
11365 ac_ct_RANLIB=$RANLIB
11366 # Extract the first word of "ranlib", so it can be a program name with args.
11367set dummy ranlib; ac_word=$2
11368echo "$as_me:$LINENO: checking for $ac_word" >&5
11369echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11370if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11371 echo $ECHO_N "(cached) $ECHO_C" >&6
11372else
11373 if test -n "$ac_ct_RANLIB"; then
11374 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11375else
11376as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11377for as_dir in $PATH
11378do
11379 IFS=$as_save_IFS
11380 test -z "$as_dir" && as_dir=.
11381 for ac_exec_ext in '' $ac_executable_extensions; do
11382 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11383 ac_cv_prog_ac_ct_RANLIB="ranlib"
11384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11385 break 2
11386 fi
11387done
11388done
11389
11390 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11391fi
11392fi
11393ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11394if test -n "$ac_ct_RANLIB"; then
11395 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11396echo "${ECHO_T}$ac_ct_RANLIB" >&6
11397else
11398 echo "$as_me:$LINENO: result: no" >&5
11399echo "${ECHO_T}no" >&6
11400fi
11401
11402 RANLIB=$ac_ct_RANLIB
11403else
11404 RANLIB="$ac_cv_prog_RANLIB"
11405fi
11406
11407
11408# Extract the first word of "ar", so it can be a program name with args.
11409set dummy ar; ac_word=$2
11410echo "$as_me:$LINENO: checking for $ac_word" >&5
11411echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11412if test "${ac_cv_prog_AR+set}" = set; then
11413 echo $ECHO_N "(cached) $ECHO_C" >&6
11414else
11415 if test -n "$AR"; then
11416 ac_cv_prog_AR="$AR" # Let the user override the test.
11417else
11418as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11419for as_dir in $PATH
11420do
11421 IFS=$as_save_IFS
11422 test -z "$as_dir" && as_dir=.
11423 for ac_exec_ext in '' $ac_executable_extensions; do
11424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11425 ac_cv_prog_AR="ar"
11426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11427 break 2
11428 fi
11429done
11430done
11431
11432fi
11433fi
11434AR=$ac_cv_prog_AR
11435if test -n "$AR"; then
11436 echo "$as_me:$LINENO: result: $AR" >&5
11437echo "${ECHO_T}$AR" >&6
11438else
11439 echo "$as_me:$LINENO: result: no" >&5
11440echo "${ECHO_T}no" >&6
11441fi
11442
11443if test "x$AR" = "x" ; then
11444 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11445echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11446 { (exit 1); exit 1; }; }
11447fi
11448
11449# Find a good install program. We prefer a C program (faster),
11450# so one script is as good as another. But avoid the broken or
11451# incompatible versions:
11452# SysV /etc/install, /usr/sbin/install
11453# SunOS /usr/etc/install
11454# IRIX /sbin/install
11455# AIX /bin/install
11456# AmigaOS /C/install, which installs bootblocks on floppy discs
11457# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11458# AFS /usr/afsws/bin/install, which mishandles nonexistent args
11459# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11460# ./install, which can be erroneously created by make from ./install.sh.
11461echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11462echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11463if test -z "$INSTALL"; then
11464if test "${ac_cv_path_install+set}" = set; then
11465 echo $ECHO_N "(cached) $ECHO_C" >&6
11466else
11467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11468for as_dir in $PATH
11469do
11470 IFS=$as_save_IFS
11471 test -z "$as_dir" && as_dir=.
11472 # Account for people who put trailing slashes in PATH elements.
11473case $as_dir/ in
11474 ./ | .// | /cC/* | \
11475 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11476 /usr/ucb/* ) ;;
11477 *)
11478 # OSF1 and SCO ODT 3.0 have their own names for install.
11479 # Don't use installbsd from OSF since it installs stuff as root
11480 # by default.
11481 for ac_prog in ginstall scoinst install; do
11482 for ac_exec_ext in '' $ac_executable_extensions; do
11483 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11484 if test $ac_prog = install &&
11485 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11486 # AIX install. It has an incompatible calling convention.
11487 :
11488 elif test $ac_prog = install &&
11489 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11490 # program-specific install script used by HP pwplus--don't use.
11491 :
11492 else
11493 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11494 break 3
11495 fi
11496 fi
11497 done
11498 done
11499 ;;
11500esac
11501done
11502
11503
11504fi
11505 if test "${ac_cv_path_install+set}" = set; then
11506 INSTALL=$ac_cv_path_install
11507 else
11508 # As a last resort, use the slow shell script. We don't cache a
11509 # path for INSTALL within a source directory, because that will
11510 # break other packages using the cache if that directory is
11511 # removed, or if the path is relative.
11512 INSTALL=$ac_install_sh
11513 fi
11514fi
11515echo "$as_me:$LINENO: result: $INSTALL" >&5
11516echo "${ECHO_T}$INSTALL" >&6
11517
11518# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11519# It thinks the first close brace ends the variable substitution.
11520test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11521
11522test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11523
11524test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11525
11526
11527case ${INSTALL} in
11528 /* ) # Absolute
11529 ;;
11530 ?:* ) # Drive letter, considered as absolute.
11531 ;;
11532 *)
11533 INSTALL=`pwd`/${INSTALL} ;;
11534esac
11535
11536case ${host} in
11537 *-hp-hpux* )
11538 INSTALL_DIR="mkdir"
11539 ;;
11540
11541 *) INSTALL_DIR="$INSTALL -d"
11542 ;;
11543esac
11544
11545
11546case "${host}" in
11547
11548 powerpc-*-darwin* )
11549 INSTALL_PROGRAM="cp -fp"
11550 INSTALL_DATA="cp -fp"
11551 ;;
11552 *)
11553 ;;
11554esac
11555
11556# Extract the first word of "strip", so it can be a program name with args.
11557set dummy strip; ac_word=$2
11558echo "$as_me:$LINENO: checking for $ac_word" >&5
11559echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11560if test "${ac_cv_prog_STRIP+set}" = set; then
11561 echo $ECHO_N "(cached) $ECHO_C" >&6
11562else
11563 if test -n "$STRIP"; then
11564 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11565else
11566as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11567for as_dir in $PATH
11568do
11569 IFS=$as_save_IFS
11570 test -z "$as_dir" && as_dir=.
11571 for ac_exec_ext in '' $ac_executable_extensions; do
11572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11573 ac_cv_prog_STRIP="strip"
11574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11575 break 2
11576 fi
11577done
11578done
11579
11580 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11581fi
11582fi
11583STRIP=$ac_cv_prog_STRIP
11584if test -n "$STRIP"; then
11585 echo "$as_me:$LINENO: result: $STRIP" >&5
11586echo "${ECHO_T}$STRIP" >&6
11587else
11588 echo "$as_me:$LINENO: result: no" >&5
11589echo "${ECHO_T}no" >&6
11590fi
11591
11592
11593echo "$as_me:$LINENO: checking if make is GNU make" >&5
11594echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11595if test "${wx_cv_prog_makeisgnu+set}" = set; then
11596 echo $ECHO_N "(cached) $ECHO_C" >&6
11597else
11598
11599 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11600 egrep -s GNU > /dev/null); then
11601 wx_cv_prog_makeisgnu="yes"
11602 else
11603 wx_cv_prog_makeisgnu="no"
11604 fi
11605
11606fi
11607echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11608echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11609
11610if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11611 IF_GNU_MAKE=""
11612else
11613 IF_GNU_MAKE="#"
11614fi
11615
11616
11617
11618if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11619echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11620echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11621if test "${wx_cv_prog_makevpath+set}" = set; then
11622 echo $ECHO_N "(cached) $ECHO_C" >&6
11623else
11624
11625cat - << EOF > confMake
11626check : file
11627 cp \$? \$@
11628 cp \$? final_file
11629EOF
11630
11631if test ! -d sub ; then
11632 mkdir sub
11633fi
11634echo dummy > sub/file
11635${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11636RESULT=$?
11637rm -f sub/file check final_file confMake
11638rmdir sub
11639if test "$RESULT" = 0; then
11640 wx_cv_prog_makevpath="yes"
11641else
11642 wx_cv_prog_makevpath="no"
11643fi
11644
11645fi
11646echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11647echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11648
11649if test "x$wx_cv_prog_makevpath" != "xyes"; then
11650{ { echo "$as_me:$LINENO: error:
11651You need a make-utility that is able to use the variable
11652VPATH correctly.
11653If your version of make does not support VPATH correctly,
11654please install GNU-make (possibly as gmake), and start
11655configure with the following command:
11656export MAKE=gmake; ./configure for sh-type shells
11657setenv MAKE gmake; ./configure for csh-type shells
11658Also please do remember to use gmake in this case every time
11659you are trying to compile.
11660" >&5
11661echo "$as_me: error:
11662You need a make-utility that is able to use the variable
11663VPATH correctly.
11664If your version of make does not support VPATH correctly,
11665please install GNU-make (possibly as gmake), and start
11666configure with the following command:
11667export MAKE=gmake; ./configure for sh-type shells
11668setenv MAKE gmake; ./configure for csh-type shells
11669Also please do remember to use gmake in this case every time
11670you are trying to compile.
11671" >&2;}
11672 { (exit 1); exit 1; }; }
11673fi fi
11674echo "$as_me:$LINENO: checking whether ln -s works" >&5
11675echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11676LN_S=$as_ln_s
11677if test "$LN_S" = "ln -s"; then
11678 echo "$as_me:$LINENO: result: yes" >&5
11679echo "${ECHO_T}yes" >&6
11680else
11681 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11682echo "${ECHO_T}no, using $LN_S" >&6
11683fi
11684
11685
11686case "${host}" in
11687 *-pc-os2_emx | *-pc-os2-emx )
11688 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11689 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11690echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11691if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11692 echo $ECHO_N "(cached) $ECHO_C" >&6
11693else
11694 ac_check_lib_save_LIBS=$LIBS
11695LIBS="-lcExt $LIBS"
11696cat >conftest.$ac_ext <<_ACEOF
11697#line $LINENO "configure"
11698/* confdefs.h. */
11699_ACEOF
11700cat confdefs.h >>conftest.$ac_ext
11701cat >>conftest.$ac_ext <<_ACEOF
11702/* end confdefs.h. */
11703
11704/* Override any gcc2 internal prototype to avoid an error. */
11705#ifdef __cplusplus
11706extern "C"
11707#endif
11708/* We use char because int might match the return type of a gcc2
11709 builtin and then its argument prototype would still apply. */
11710char drand48 ();
11711int
11712main ()
11713{
11714drand48 ();
11715 ;
11716 return 0;
11717}
11718_ACEOF
11719rm -f conftest.$ac_objext conftest$ac_exeext
11720if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11721 (eval $ac_link) 2>&5
11722 ac_status=$?
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); } &&
11725 { ac_try='test -s conftest$ac_exeext'
11726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11727 (eval $ac_try) 2>&5
11728 ac_status=$?
11729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11730 (exit $ac_status); }; }; then
11731 ac_cv_lib_cExt_drand48=yes
11732else
11733 echo "$as_me: failed program was:" >&5
11734sed 's/^/| /' conftest.$ac_ext >&5
11735
11736ac_cv_lib_cExt_drand48=no
11737fi
11738rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11739LIBS=$ac_check_lib_save_LIBS
11740fi
11741echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11742echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11743if test $ac_cv_lib_cExt_drand48 = yes; then
11744 LIBS="$LIBS -lcExt"
11745fi
11746
11747 else
11748 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11749 fi
11750 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
11751echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
11752if test "${wx_cv_gcc3+set}" = set; then
11753 echo $ECHO_N "(cached) $ECHO_C" >&6
11754else
11755
11756 cat >conftest.$ac_ext <<_ACEOF
11757#line $LINENO "configure"
11758/* confdefs.h. */
11759_ACEOF
11760cat confdefs.h >>conftest.$ac_ext
11761cat >>conftest.$ac_ext <<_ACEOF
11762/* end confdefs.h. */
11763#include <features.h>
11764int
11765main ()
11766{
11767
11768 #if (__GNUC__ < 3)
11769 #error old gcc
11770 #endif
11771
11772 ;
11773 return 0;
11774}
11775_ACEOF
11776rm -f conftest.$ac_objext
11777if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11778 (eval $ac_compile) 2>&5
11779 ac_status=$?
11780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11781 (exit $ac_status); } &&
11782 { ac_try='test -s conftest.$ac_objext'
11783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11784 (eval $ac_try) 2>&5
11785 ac_status=$?
11786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11787 (exit $ac_status); }; }; then
11788
11789 wx_cv_gcc3=yes
11790
11791else
11792 echo "$as_me: failed program was:" >&5
11793sed 's/^/| /' conftest.$ac_ext >&5
11794
11795
11796 wx_cv_gcc3=no
11797
11798
11799fi
11800rm -f conftest.$ac_objext conftest.$ac_ext
11801
11802fi
11803echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
11804echo "${ECHO_T}$wx_cv_gcc3" >&6
11805 if test "$wx_cv_gcc3" = "no"; then
11806 LIBS="$LIBS -lstdcpp"
11807 else
11808 LIBS="$LIBS -lstdcxx"
11809 fi
11810 ;;
11811esac
11812
11813
11814if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11815 echo "$as_me:$LINENO: checking for strings.h" >&5
11816echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11817if test "${ac_cv_header_strings_h+set}" = set; then
11818 echo $ECHO_N "(cached) $ECHO_C" >&6
11819else
11820 ac_cv_header_strings_h=no
11821fi
11822echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11823echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11824 if test "$ac_cv_header_strings_h" = "no"; then
11825 echo "$as_me:$LINENO: result: forced no into cache" >&5
11826echo "${ECHO_T}forced no into cache" >&6
11827 else
11828 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11829echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11830 fi
11831fi
11832echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11833echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11834if test "${ac_cv_header_stdc+set}" = set; then
11835 echo $ECHO_N "(cached) $ECHO_C" >&6
11836else
11837 cat >conftest.$ac_ext <<_ACEOF
11838#line $LINENO "configure"
11839/* confdefs.h. */
11840_ACEOF
11841cat confdefs.h >>conftest.$ac_ext
11842cat >>conftest.$ac_ext <<_ACEOF
11843/* end confdefs.h. */
11844#include <stdlib.h>
11845#include <stdarg.h>
11846#include <string.h>
11847#include <float.h>
11848
11849int
11850main ()
11851{
11852
11853 ;
11854 return 0;
11855}
11856_ACEOF
11857rm -f conftest.$ac_objext
11858if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11859 (eval $ac_compile) 2>&5
11860 ac_status=$?
11861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11862 (exit $ac_status); } &&
11863 { ac_try='test -s conftest.$ac_objext'
11864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11865 (eval $ac_try) 2>&5
11866 ac_status=$?
11867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11868 (exit $ac_status); }; }; then
11869 ac_cv_header_stdc=yes
11870else
11871 echo "$as_me: failed program was:" >&5
11872sed 's/^/| /' conftest.$ac_ext >&5
11873
11874ac_cv_header_stdc=no
11875fi
11876rm -f conftest.$ac_objext conftest.$ac_ext
11877
11878if test $ac_cv_header_stdc = yes; then
11879 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11880 cat >conftest.$ac_ext <<_ACEOF
11881#line $LINENO "configure"
11882/* confdefs.h. */
11883_ACEOF
11884cat confdefs.h >>conftest.$ac_ext
11885cat >>conftest.$ac_ext <<_ACEOF
11886/* end confdefs.h. */
11887#include <string.h>
11888
11889_ACEOF
11890if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11891 $EGREP "memchr" >/dev/null 2>&1; then
11892 :
11893else
11894 ac_cv_header_stdc=no
11895fi
11896rm -f conftest*
11897
11898fi
11899
11900if test $ac_cv_header_stdc = yes; then
11901 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11902 cat >conftest.$ac_ext <<_ACEOF
11903#line $LINENO "configure"
11904/* confdefs.h. */
11905_ACEOF
11906cat confdefs.h >>conftest.$ac_ext
11907cat >>conftest.$ac_ext <<_ACEOF
11908/* end confdefs.h. */
11909#include <stdlib.h>
11910
11911_ACEOF
11912if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11913 $EGREP "free" >/dev/null 2>&1; then
11914 :
11915else
11916 ac_cv_header_stdc=no
11917fi
11918rm -f conftest*
11919
11920fi
11921
11922if test $ac_cv_header_stdc = yes; then
11923 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11924 if test "$cross_compiling" = yes; then
11925 :
11926else
11927 cat >conftest.$ac_ext <<_ACEOF
11928#line $LINENO "configure"
11929/* confdefs.h. */
11930_ACEOF
11931cat confdefs.h >>conftest.$ac_ext
11932cat >>conftest.$ac_ext <<_ACEOF
11933/* end confdefs.h. */
11934#include <ctype.h>
11935#if ((' ' & 0x0FF) == 0x020)
11936# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11937# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11938#else
11939# define ISLOWER(c) \
11940 (('a' <= (c) && (c) <= 'i') \
11941 || ('j' <= (c) && (c) <= 'r') \
11942 || ('s' <= (c) && (c) <= 'z'))
11943# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11944#endif
11945
11946#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11947int
11948main ()
11949{
11950 int i;
11951 for (i = 0; i < 256; i++)
11952 if (XOR (islower (i), ISLOWER (i))
11953 || toupper (i) != TOUPPER (i))
11954 exit(2);
11955 exit (0);
11956}
11957_ACEOF
11958rm -f conftest$ac_exeext
11959if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11960 (eval $ac_link) 2>&5
11961 ac_status=$?
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11965 (eval $ac_try) 2>&5
11966 ac_status=$?
11967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11968 (exit $ac_status); }; }; then
11969 :
11970else
11971 echo "$as_me: program exited with status $ac_status" >&5
11972echo "$as_me: failed program was:" >&5
11973sed 's/^/| /' conftest.$ac_ext >&5
11974
11975( exit $ac_status )
11976ac_cv_header_stdc=no
11977fi
11978rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11979fi
11980fi
11981fi
11982echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11983echo "${ECHO_T}$ac_cv_header_stdc" >&6
11984if test $ac_cv_header_stdc = yes; then
11985
11986cat >>confdefs.h <<\_ACEOF
11987#define STDC_HEADERS 1
11988_ACEOF
11989
11990fi
11991
11992# On IRIX 5.3, sys/types and inttypes.h are conflicting.
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12003 inttypes.h stdint.h unistd.h
12004do
12005as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12006echo "$as_me:$LINENO: checking for $ac_header" >&5
12007echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12008if eval "test \"\${$as_ac_Header+set}\" = set"; then
12009 echo $ECHO_N "(cached) $ECHO_C" >&6
12010else
12011 cat >conftest.$ac_ext <<_ACEOF
12012#line $LINENO "configure"
12013/* confdefs.h. */
12014_ACEOF
12015cat confdefs.h >>conftest.$ac_ext
12016cat >>conftest.$ac_ext <<_ACEOF
12017/* end confdefs.h. */
12018$ac_includes_default
12019
12020#include <$ac_header>
12021_ACEOF
12022rm -f conftest.$ac_objext
12023if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12024 (eval $ac_compile) 2>&5
12025 ac_status=$?
12026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12027 (exit $ac_status); } &&
12028 { ac_try='test -s conftest.$ac_objext'
12029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12030 (eval $ac_try) 2>&5
12031 ac_status=$?
12032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12033 (exit $ac_status); }; }; then
12034 eval "$as_ac_Header=yes"
12035else
12036 echo "$as_me: failed program was:" >&5
12037sed 's/^/| /' conftest.$ac_ext >&5
12038
12039eval "$as_ac_Header=no"
12040fi
12041rm -f conftest.$ac_objext conftest.$ac_ext
12042fi
12043echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12044echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12045if test `eval echo '${'$as_ac_Header'}'` = yes; then
12046 cat >>confdefs.h <<_ACEOF
12047#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12048_ACEOF
12049
12050fi
12051
12052done
12053
12054
12055
12056for ac_header in strings.h
12057do
12058as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12059if eval "test \"\${$as_ac_Header+set}\" = set"; then
12060 echo "$as_me:$LINENO: checking for $ac_header" >&5
12061echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12062if eval "test \"\${$as_ac_Header+set}\" = set"; then
12063 echo $ECHO_N "(cached) $ECHO_C" >&6
12064fi
12065echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12066echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12067else
12068 # Is the header compilable?
12069echo "$as_me:$LINENO: checking $ac_header usability" >&5
12070echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12071cat >conftest.$ac_ext <<_ACEOF
12072#line $LINENO "configure"
12073/* confdefs.h. */
12074_ACEOF
12075cat confdefs.h >>conftest.$ac_ext
12076cat >>conftest.$ac_ext <<_ACEOF
12077/* end confdefs.h. */
12078$ac_includes_default
12079#include <$ac_header>
12080_ACEOF
12081rm -f conftest.$ac_objext
12082if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12083 (eval $ac_compile) 2>&5
12084 ac_status=$?
12085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12086 (exit $ac_status); } &&
12087 { ac_try='test -s conftest.$ac_objext'
12088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12089 (eval $ac_try) 2>&5
12090 ac_status=$?
12091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12092 (exit $ac_status); }; }; then
12093 ac_header_compiler=yes
12094else
12095 echo "$as_me: failed program was:" >&5
12096sed 's/^/| /' conftest.$ac_ext >&5
12097
12098ac_header_compiler=no
12099fi
12100rm -f conftest.$ac_objext conftest.$ac_ext
12101echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12102echo "${ECHO_T}$ac_header_compiler" >&6
12103
12104# Is the header present?
12105echo "$as_me:$LINENO: checking $ac_header presence" >&5
12106echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12107cat >conftest.$ac_ext <<_ACEOF
12108#line $LINENO "configure"
12109/* confdefs.h. */
12110_ACEOF
12111cat confdefs.h >>conftest.$ac_ext
12112cat >>conftest.$ac_ext <<_ACEOF
12113/* end confdefs.h. */
12114#include <$ac_header>
12115_ACEOF
12116if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12117 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12118 ac_status=$?
12119 grep -v '^ *+' conftest.er1 >conftest.err
12120 rm -f conftest.er1
12121 cat conftest.err >&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); } >/dev/null; then
12124 if test -s conftest.err; then
12125 ac_cpp_err=$ac_c_preproc_warn_flag
12126 else
12127 ac_cpp_err=
12128 fi
12129else
12130 ac_cpp_err=yes
12131fi
12132if test -z "$ac_cpp_err"; then
12133 ac_header_preproc=yes
12134else
12135 echo "$as_me: failed program was:" >&5
12136sed 's/^/| /' conftest.$ac_ext >&5
12137
12138 ac_header_preproc=no
12139fi
12140rm -f conftest.err conftest.$ac_ext
12141echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12142echo "${ECHO_T}$ac_header_preproc" >&6
12143
12144# So? What about this header?
12145case $ac_header_compiler:$ac_header_preproc in
12146 yes:no )
12147 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12148echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12149 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12150echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12151 (
12152 cat <<\_ASBOX
12153## ------------------------------------ ##
12154## Report this to bug-autoconf@gnu.org. ##
12155## ------------------------------------ ##
12156_ASBOX
12157 ) |
12158 sed "s/^/$as_me: WARNING: /" >&2
12159 ;;
12160 no:yes )
12161 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12162echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12163 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12164echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12165 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12166echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12167 (
12168 cat <<\_ASBOX
12169## ------------------------------------ ##
12170## Report this to bug-autoconf@gnu.org. ##
12171## ------------------------------------ ##
12172_ASBOX
12173 ) |
12174 sed "s/^/$as_me: WARNING: /" >&2
12175 ;;
12176esac
12177echo "$as_me:$LINENO: checking for $ac_header" >&5
12178echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12179if eval "test \"\${$as_ac_Header+set}\" = set"; then
12180 echo $ECHO_N "(cached) $ECHO_C" >&6
12181else
12182 eval "$as_ac_Header=$ac_header_preproc"
12183fi
12184echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12185echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12186
12187fi
12188if test `eval echo '${'$as_ac_Header'}'` = yes; then
12189 cat >>confdefs.h <<_ACEOF
12190#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12191_ACEOF
12192
12193fi
12194
12195done
12196
12197
12198
12199for ac_header in stdlib.h
12200do
12201as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12202if eval "test \"\${$as_ac_Header+set}\" = set"; then
12203 echo "$as_me:$LINENO: checking for $ac_header" >&5
12204echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12205if eval "test \"\${$as_ac_Header+set}\" = set"; then
12206 echo $ECHO_N "(cached) $ECHO_C" >&6
12207fi
12208echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12209echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12210else
12211 # Is the header compilable?
12212echo "$as_me:$LINENO: checking $ac_header usability" >&5
12213echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12214cat >conftest.$ac_ext <<_ACEOF
12215#line $LINENO "configure"
12216/* confdefs.h. */
12217_ACEOF
12218cat confdefs.h >>conftest.$ac_ext
12219cat >>conftest.$ac_ext <<_ACEOF
12220/* end confdefs.h. */
12221$ac_includes_default
12222#include <$ac_header>
12223_ACEOF
12224rm -f conftest.$ac_objext
12225if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12226 (eval $ac_compile) 2>&5
12227 ac_status=$?
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); } &&
12230 { ac_try='test -s conftest.$ac_objext'
12231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12232 (eval $ac_try) 2>&5
12233 ac_status=$?
12234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235 (exit $ac_status); }; }; then
12236 ac_header_compiler=yes
12237else
12238 echo "$as_me: failed program was:" >&5
12239sed 's/^/| /' conftest.$ac_ext >&5
12240
12241ac_header_compiler=no
12242fi
12243rm -f conftest.$ac_objext conftest.$ac_ext
12244echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12245echo "${ECHO_T}$ac_header_compiler" >&6
12246
12247# Is the header present?
12248echo "$as_me:$LINENO: checking $ac_header presence" >&5
12249echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12250cat >conftest.$ac_ext <<_ACEOF
12251#line $LINENO "configure"
12252/* confdefs.h. */
12253_ACEOF
12254cat confdefs.h >>conftest.$ac_ext
12255cat >>conftest.$ac_ext <<_ACEOF
12256/* end confdefs.h. */
12257#include <$ac_header>
12258_ACEOF
12259if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12260 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12261 ac_status=$?
12262 grep -v '^ *+' conftest.er1 >conftest.err
12263 rm -f conftest.er1
12264 cat conftest.err >&5
12265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12266 (exit $ac_status); } >/dev/null; then
12267 if test -s conftest.err; then
12268 ac_cpp_err=$ac_c_preproc_warn_flag
12269 else
12270 ac_cpp_err=
12271 fi
12272else
12273 ac_cpp_err=yes
12274fi
12275if test -z "$ac_cpp_err"; then
12276 ac_header_preproc=yes
12277else
12278 echo "$as_me: failed program was:" >&5
12279sed 's/^/| /' conftest.$ac_ext >&5
12280
12281 ac_header_preproc=no
12282fi
12283rm -f conftest.err conftest.$ac_ext
12284echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12285echo "${ECHO_T}$ac_header_preproc" >&6
12286
12287# So? What about this header?
12288case $ac_header_compiler:$ac_header_preproc in
12289 yes:no )
12290 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12291echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12292 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12293echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12294 (
12295 cat <<\_ASBOX
12296## ------------------------------------ ##
12297## Report this to bug-autoconf@gnu.org. ##
12298## ------------------------------------ ##
12299_ASBOX
12300 ) |
12301 sed "s/^/$as_me: WARNING: /" >&2
12302 ;;
12303 no:yes )
12304 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12305echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12306 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12307echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12309echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12310 (
12311 cat <<\_ASBOX
12312## ------------------------------------ ##
12313## Report this to bug-autoconf@gnu.org. ##
12314## ------------------------------------ ##
12315_ASBOX
12316 ) |
12317 sed "s/^/$as_me: WARNING: /" >&2
12318 ;;
12319esac
12320echo "$as_me:$LINENO: checking for $ac_header" >&5
12321echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12322if eval "test \"\${$as_ac_Header+set}\" = set"; then
12323 echo $ECHO_N "(cached) $ECHO_C" >&6
12324else
12325 eval "$as_ac_Header=$ac_header_preproc"
12326fi
12327echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12328echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12329
12330fi
12331if test `eval echo '${'$as_ac_Header'}'` = yes; then
12332 cat >>confdefs.h <<_ACEOF
12333#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12334_ACEOF
12335
12336fi
12337
12338done
12339
12340
12341for ac_header in malloc.h
12342do
12343as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12344if eval "test \"\${$as_ac_Header+set}\" = set"; then
12345 echo "$as_me:$LINENO: checking for $ac_header" >&5
12346echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12347if eval "test \"\${$as_ac_Header+set}\" = set"; then
12348 echo $ECHO_N "(cached) $ECHO_C" >&6
12349fi
12350echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12351echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12352else
12353 # Is the header compilable?
12354echo "$as_me:$LINENO: checking $ac_header usability" >&5
12355echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12356cat >conftest.$ac_ext <<_ACEOF
12357#line $LINENO "configure"
12358/* confdefs.h. */
12359_ACEOF
12360cat confdefs.h >>conftest.$ac_ext
12361cat >>conftest.$ac_ext <<_ACEOF
12362/* end confdefs.h. */
12363$ac_includes_default
12364#include <$ac_header>
12365_ACEOF
12366rm -f conftest.$ac_objext
12367if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12368 (eval $ac_compile) 2>&5
12369 ac_status=$?
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); } &&
12372 { ac_try='test -s conftest.$ac_objext'
12373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12374 (eval $ac_try) 2>&5
12375 ac_status=$?
12376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377 (exit $ac_status); }; }; then
12378 ac_header_compiler=yes
12379else
12380 echo "$as_me: failed program was:" >&5
12381sed 's/^/| /' conftest.$ac_ext >&5
12382
12383ac_header_compiler=no
12384fi
12385rm -f conftest.$ac_objext conftest.$ac_ext
12386echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12387echo "${ECHO_T}$ac_header_compiler" >&6
12388
12389# Is the header present?
12390echo "$as_me:$LINENO: checking $ac_header presence" >&5
12391echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12392cat >conftest.$ac_ext <<_ACEOF
12393#line $LINENO "configure"
12394/* confdefs.h. */
12395_ACEOF
12396cat confdefs.h >>conftest.$ac_ext
12397cat >>conftest.$ac_ext <<_ACEOF
12398/* end confdefs.h. */
12399#include <$ac_header>
12400_ACEOF
12401if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12402 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12403 ac_status=$?
12404 grep -v '^ *+' conftest.er1 >conftest.err
12405 rm -f conftest.er1
12406 cat conftest.err >&5
12407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12408 (exit $ac_status); } >/dev/null; then
12409 if test -s conftest.err; then
12410 ac_cpp_err=$ac_c_preproc_warn_flag
12411 else
12412 ac_cpp_err=
12413 fi
12414else
12415 ac_cpp_err=yes
12416fi
12417if test -z "$ac_cpp_err"; then
12418 ac_header_preproc=yes
12419else
12420 echo "$as_me: failed program was:" >&5
12421sed 's/^/| /' conftest.$ac_ext >&5
12422
12423 ac_header_preproc=no
12424fi
12425rm -f conftest.err conftest.$ac_ext
12426echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12427echo "${ECHO_T}$ac_header_preproc" >&6
12428
12429# So? What about this header?
12430case $ac_header_compiler:$ac_header_preproc in
12431 yes:no )
12432 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12433echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12435echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12436 (
12437 cat <<\_ASBOX
12438## ------------------------------------ ##
12439## Report this to bug-autoconf@gnu.org. ##
12440## ------------------------------------ ##
12441_ASBOX
12442 ) |
12443 sed "s/^/$as_me: WARNING: /" >&2
12444 ;;
12445 no:yes )
12446 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12447echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12448 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12449echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12451echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12452 (
12453 cat <<\_ASBOX
12454## ------------------------------------ ##
12455## Report this to bug-autoconf@gnu.org. ##
12456## ------------------------------------ ##
12457_ASBOX
12458 ) |
12459 sed "s/^/$as_me: WARNING: /" >&2
12460 ;;
12461esac
12462echo "$as_me:$LINENO: checking for $ac_header" >&5
12463echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12464if eval "test \"\${$as_ac_Header+set}\" = set"; then
12465 echo $ECHO_N "(cached) $ECHO_C" >&6
12466else
12467 eval "$as_ac_Header=$ac_header_preproc"
12468fi
12469echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12470echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12471
12472fi
12473if test `eval echo '${'$as_ac_Header'}'` = yes; then
12474 cat >>confdefs.h <<_ACEOF
12475#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12476_ACEOF
12477
12478fi
12479
12480done
12481
12482
12483for ac_header in unistd.h
12484do
12485as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12486if eval "test \"\${$as_ac_Header+set}\" = set"; then
12487 echo "$as_me:$LINENO: checking for $ac_header" >&5
12488echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12489if eval "test \"\${$as_ac_Header+set}\" = set"; then
12490 echo $ECHO_N "(cached) $ECHO_C" >&6
12491fi
12492echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12493echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12494else
12495 # Is the header compilable?
12496echo "$as_me:$LINENO: checking $ac_header usability" >&5
12497echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12498cat >conftest.$ac_ext <<_ACEOF
12499#line $LINENO "configure"
12500/* confdefs.h. */
12501_ACEOF
12502cat confdefs.h >>conftest.$ac_ext
12503cat >>conftest.$ac_ext <<_ACEOF
12504/* end confdefs.h. */
12505$ac_includes_default
12506#include <$ac_header>
12507_ACEOF
12508rm -f conftest.$ac_objext
12509if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12510 (eval $ac_compile) 2>&5
12511 ac_status=$?
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); } &&
12514 { ac_try='test -s conftest.$ac_objext'
12515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12516 (eval $ac_try) 2>&5
12517 ac_status=$?
12518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12519 (exit $ac_status); }; }; then
12520 ac_header_compiler=yes
12521else
12522 echo "$as_me: failed program was:" >&5
12523sed 's/^/| /' conftest.$ac_ext >&5
12524
12525ac_header_compiler=no
12526fi
12527rm -f conftest.$ac_objext conftest.$ac_ext
12528echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12529echo "${ECHO_T}$ac_header_compiler" >&6
12530
12531# Is the header present?
12532echo "$as_me:$LINENO: checking $ac_header presence" >&5
12533echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12534cat >conftest.$ac_ext <<_ACEOF
12535#line $LINENO "configure"
12536/* confdefs.h. */
12537_ACEOF
12538cat confdefs.h >>conftest.$ac_ext
12539cat >>conftest.$ac_ext <<_ACEOF
12540/* end confdefs.h. */
12541#include <$ac_header>
12542_ACEOF
12543if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12544 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12545 ac_status=$?
12546 grep -v '^ *+' conftest.er1 >conftest.err
12547 rm -f conftest.er1
12548 cat conftest.err >&5
12549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12550 (exit $ac_status); } >/dev/null; then
12551 if test -s conftest.err; then
12552 ac_cpp_err=$ac_c_preproc_warn_flag
12553 else
12554 ac_cpp_err=
12555 fi
12556else
12557 ac_cpp_err=yes
12558fi
12559if test -z "$ac_cpp_err"; then
12560 ac_header_preproc=yes
12561else
12562 echo "$as_me: failed program was:" >&5
12563sed 's/^/| /' conftest.$ac_ext >&5
12564
12565 ac_header_preproc=no
12566fi
12567rm -f conftest.err conftest.$ac_ext
12568echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12569echo "${ECHO_T}$ac_header_preproc" >&6
12570
12571# So? What about this header?
12572case $ac_header_compiler:$ac_header_preproc in
12573 yes:no )
12574 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12575echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12577echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12578 (
12579 cat <<\_ASBOX
12580## ------------------------------------ ##
12581## Report this to bug-autoconf@gnu.org. ##
12582## ------------------------------------ ##
12583_ASBOX
12584 ) |
12585 sed "s/^/$as_me: WARNING: /" >&2
12586 ;;
12587 no:yes )
12588 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12589echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12590 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12591echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12592 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12593echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12594 (
12595 cat <<\_ASBOX
12596## ------------------------------------ ##
12597## Report this to bug-autoconf@gnu.org. ##
12598## ------------------------------------ ##
12599_ASBOX
12600 ) |
12601 sed "s/^/$as_me: WARNING: /" >&2
12602 ;;
12603esac
12604echo "$as_me:$LINENO: checking for $ac_header" >&5
12605echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12606if eval "test \"\${$as_ac_Header+set}\" = set"; then
12607 echo $ECHO_N "(cached) $ECHO_C" >&6
12608else
12609 eval "$as_ac_Header=$ac_header_preproc"
12610fi
12611echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12612echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12613
12614fi
12615if test `eval echo '${'$as_ac_Header'}'` = yes; then
12616 cat >>confdefs.h <<_ACEOF
12617#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12618_ACEOF
12619
12620fi
12621
12622done
12623
12624
12625for ac_header in wchar.h
12626do
12627as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12628if eval "test \"\${$as_ac_Header+set}\" = set"; then
12629 echo "$as_me:$LINENO: checking for $ac_header" >&5
12630echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12631if eval "test \"\${$as_ac_Header+set}\" = set"; then
12632 echo $ECHO_N "(cached) $ECHO_C" >&6
12633fi
12634echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12635echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12636else
12637 # Is the header compilable?
12638echo "$as_me:$LINENO: checking $ac_header usability" >&5
12639echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12640cat >conftest.$ac_ext <<_ACEOF
12641#line $LINENO "configure"
12642/* confdefs.h. */
12643_ACEOF
12644cat confdefs.h >>conftest.$ac_ext
12645cat >>conftest.$ac_ext <<_ACEOF
12646/* end confdefs.h. */
12647$ac_includes_default
12648#include <$ac_header>
12649_ACEOF
12650rm -f conftest.$ac_objext
12651if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12652 (eval $ac_compile) 2>&5
12653 ac_status=$?
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); } &&
12656 { ac_try='test -s conftest.$ac_objext'
12657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12658 (eval $ac_try) 2>&5
12659 ac_status=$?
12660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12661 (exit $ac_status); }; }; then
12662 ac_header_compiler=yes
12663else
12664 echo "$as_me: failed program was:" >&5
12665sed 's/^/| /' conftest.$ac_ext >&5
12666
12667ac_header_compiler=no
12668fi
12669rm -f conftest.$ac_objext conftest.$ac_ext
12670echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12671echo "${ECHO_T}$ac_header_compiler" >&6
12672
12673# Is the header present?
12674echo "$as_me:$LINENO: checking $ac_header presence" >&5
12675echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12676cat >conftest.$ac_ext <<_ACEOF
12677#line $LINENO "configure"
12678/* confdefs.h. */
12679_ACEOF
12680cat confdefs.h >>conftest.$ac_ext
12681cat >>conftest.$ac_ext <<_ACEOF
12682/* end confdefs.h. */
12683#include <$ac_header>
12684_ACEOF
12685if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12686 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12687 ac_status=$?
12688 grep -v '^ *+' conftest.er1 >conftest.err
12689 rm -f conftest.er1
12690 cat conftest.err >&5
12691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12692 (exit $ac_status); } >/dev/null; then
12693 if test -s conftest.err; then
12694 ac_cpp_err=$ac_c_preproc_warn_flag
12695 else
12696 ac_cpp_err=
12697 fi
12698else
12699 ac_cpp_err=yes
12700fi
12701if test -z "$ac_cpp_err"; then
12702 ac_header_preproc=yes
12703else
12704 echo "$as_me: failed program was:" >&5
12705sed 's/^/| /' conftest.$ac_ext >&5
12706
12707 ac_header_preproc=no
12708fi
12709rm -f conftest.err conftest.$ac_ext
12710echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12711echo "${ECHO_T}$ac_header_preproc" >&6
12712
12713# So? What about this header?
12714case $ac_header_compiler:$ac_header_preproc in
12715 yes:no )
12716 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12717echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12718 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12719echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12720 (
12721 cat <<\_ASBOX
12722## ------------------------------------ ##
12723## Report this to bug-autoconf@gnu.org. ##
12724## ------------------------------------ ##
12725_ASBOX
12726 ) |
12727 sed "s/^/$as_me: WARNING: /" >&2
12728 ;;
12729 no:yes )
12730 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12731echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12732 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12733echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12734 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12735echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12736 (
12737 cat <<\_ASBOX
12738## ------------------------------------ ##
12739## Report this to bug-autoconf@gnu.org. ##
12740## ------------------------------------ ##
12741_ASBOX
12742 ) |
12743 sed "s/^/$as_me: WARNING: /" >&2
12744 ;;
12745esac
12746echo "$as_me:$LINENO: checking for $ac_header" >&5
12747echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12748if eval "test \"\${$as_ac_Header+set}\" = set"; then
12749 echo $ECHO_N "(cached) $ECHO_C" >&6
12750else
12751 eval "$as_ac_Header=$ac_header_preproc"
12752fi
12753echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12754echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12755
12756fi
12757if test `eval echo '${'$as_ac_Header'}'` = yes; then
12758 cat >>confdefs.h <<_ACEOF
12759#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12760_ACEOF
12761
12762fi
12763
12764done
12765
12766
12767if test "$ac_cv_header_wchar_h" != "yes"; then
12768
12769for ac_header in wcstr.h
12770do
12771as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12772if eval "test \"\${$as_ac_Header+set}\" = set"; then
12773 echo "$as_me:$LINENO: checking for $ac_header" >&5
12774echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12775if eval "test \"\${$as_ac_Header+set}\" = set"; then
12776 echo $ECHO_N "(cached) $ECHO_C" >&6
12777fi
12778echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12779echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12780else
12781 # Is the header compilable?
12782echo "$as_me:$LINENO: checking $ac_header usability" >&5
12783echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12784cat >conftest.$ac_ext <<_ACEOF
12785#line $LINENO "configure"
12786/* confdefs.h. */
12787_ACEOF
12788cat confdefs.h >>conftest.$ac_ext
12789cat >>conftest.$ac_ext <<_ACEOF
12790/* end confdefs.h. */
12791$ac_includes_default
12792#include <$ac_header>
12793_ACEOF
12794rm -f conftest.$ac_objext
12795if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12796 (eval $ac_compile) 2>&5
12797 ac_status=$?
12798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12799 (exit $ac_status); } &&
12800 { ac_try='test -s conftest.$ac_objext'
12801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12802 (eval $ac_try) 2>&5
12803 ac_status=$?
12804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12805 (exit $ac_status); }; }; then
12806 ac_header_compiler=yes
12807else
12808 echo "$as_me: failed program was:" >&5
12809sed 's/^/| /' conftest.$ac_ext >&5
12810
12811ac_header_compiler=no
12812fi
12813rm -f conftest.$ac_objext conftest.$ac_ext
12814echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12815echo "${ECHO_T}$ac_header_compiler" >&6
12816
12817# Is the header present?
12818echo "$as_me:$LINENO: checking $ac_header presence" >&5
12819echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12820cat >conftest.$ac_ext <<_ACEOF
12821#line $LINENO "configure"
12822/* confdefs.h. */
12823_ACEOF
12824cat confdefs.h >>conftest.$ac_ext
12825cat >>conftest.$ac_ext <<_ACEOF
12826/* end confdefs.h. */
12827#include <$ac_header>
12828_ACEOF
12829if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12830 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12831 ac_status=$?
12832 grep -v '^ *+' conftest.er1 >conftest.err
12833 rm -f conftest.er1
12834 cat conftest.err >&5
12835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12836 (exit $ac_status); } >/dev/null; then
12837 if test -s conftest.err; then
12838 ac_cpp_err=$ac_c_preproc_warn_flag
12839 else
12840 ac_cpp_err=
12841 fi
12842else
12843 ac_cpp_err=yes
12844fi
12845if test -z "$ac_cpp_err"; then
12846 ac_header_preproc=yes
12847else
12848 echo "$as_me: failed program was:" >&5
12849sed 's/^/| /' conftest.$ac_ext >&5
12850
12851 ac_header_preproc=no
12852fi
12853rm -f conftest.err conftest.$ac_ext
12854echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12855echo "${ECHO_T}$ac_header_preproc" >&6
12856
12857# So? What about this header?
12858case $ac_header_compiler:$ac_header_preproc in
12859 yes:no )
12860 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12861echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12862 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12863echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12864 (
12865 cat <<\_ASBOX
12866## ------------------------------------ ##
12867## Report this to bug-autoconf@gnu.org. ##
12868## ------------------------------------ ##
12869_ASBOX
12870 ) |
12871 sed "s/^/$as_me: WARNING: /" >&2
12872 ;;
12873 no:yes )
12874 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12875echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12876 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12877echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12879echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12880 (
12881 cat <<\_ASBOX
12882## ------------------------------------ ##
12883## Report this to bug-autoconf@gnu.org. ##
12884## ------------------------------------ ##
12885_ASBOX
12886 ) |
12887 sed "s/^/$as_me: WARNING: /" >&2
12888 ;;
12889esac
12890echo "$as_me:$LINENO: checking for $ac_header" >&5
12891echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12892if eval "test \"\${$as_ac_Header+set}\" = set"; then
12893 echo $ECHO_N "(cached) $ECHO_C" >&6
12894else
12895 eval "$as_ac_Header=$ac_header_preproc"
12896fi
12897echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12898echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12899
12900fi
12901if test `eval echo '${'$as_ac_Header'}'` = yes; then
12902 cat >>confdefs.h <<_ACEOF
12903#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12904_ACEOF
12905
12906fi
12907
12908done
12909
12910fi
12911
12912
12913for ac_header in fnmatch.h
12914do
12915as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12916if eval "test \"\${$as_ac_Header+set}\" = set"; then
12917 echo "$as_me:$LINENO: checking for $ac_header" >&5
12918echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12919if eval "test \"\${$as_ac_Header+set}\" = set"; then
12920 echo $ECHO_N "(cached) $ECHO_C" >&6
12921fi
12922echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12923echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12924else
12925 # Is the header compilable?
12926echo "$as_me:$LINENO: checking $ac_header usability" >&5
12927echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12928cat >conftest.$ac_ext <<_ACEOF
12929#line $LINENO "configure"
12930/* confdefs.h. */
12931_ACEOF
12932cat confdefs.h >>conftest.$ac_ext
12933cat >>conftest.$ac_ext <<_ACEOF
12934/* end confdefs.h. */
12935$ac_includes_default
12936#include <$ac_header>
12937_ACEOF
12938rm -f conftest.$ac_objext
12939if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12940 (eval $ac_compile) 2>&5
12941 ac_status=$?
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); } &&
12944 { ac_try='test -s conftest.$ac_objext'
12945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12946 (eval $ac_try) 2>&5
12947 ac_status=$?
12948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12949 (exit $ac_status); }; }; then
12950 ac_header_compiler=yes
12951else
12952 echo "$as_me: failed program was:" >&5
12953sed 's/^/| /' conftest.$ac_ext >&5
12954
12955ac_header_compiler=no
12956fi
12957rm -f conftest.$ac_objext conftest.$ac_ext
12958echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12959echo "${ECHO_T}$ac_header_compiler" >&6
12960
12961# Is the header present?
12962echo "$as_me:$LINENO: checking $ac_header presence" >&5
12963echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12964cat >conftest.$ac_ext <<_ACEOF
12965#line $LINENO "configure"
12966/* confdefs.h. */
12967_ACEOF
12968cat confdefs.h >>conftest.$ac_ext
12969cat >>conftest.$ac_ext <<_ACEOF
12970/* end confdefs.h. */
12971#include <$ac_header>
12972_ACEOF
12973if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12974 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12975 ac_status=$?
12976 grep -v '^ *+' conftest.er1 >conftest.err
12977 rm -f conftest.er1
12978 cat conftest.err >&5
12979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980 (exit $ac_status); } >/dev/null; then
12981 if test -s conftest.err; then
12982 ac_cpp_err=$ac_c_preproc_warn_flag
12983 else
12984 ac_cpp_err=
12985 fi
12986else
12987 ac_cpp_err=yes
12988fi
12989if test -z "$ac_cpp_err"; then
12990 ac_header_preproc=yes
12991else
12992 echo "$as_me: failed program was:" >&5
12993sed 's/^/| /' conftest.$ac_ext >&5
12994
12995 ac_header_preproc=no
12996fi
12997rm -f conftest.err conftest.$ac_ext
12998echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12999echo "${ECHO_T}$ac_header_preproc" >&6
13000
13001# So? What about this header?
13002case $ac_header_compiler:$ac_header_preproc in
13003 yes:no )
13004 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13005echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13006 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13007echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13008 (
13009 cat <<\_ASBOX
13010## ------------------------------------ ##
13011## Report this to bug-autoconf@gnu.org. ##
13012## ------------------------------------ ##
13013_ASBOX
13014 ) |
13015 sed "s/^/$as_me: WARNING: /" >&2
13016 ;;
13017 no:yes )
13018 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13019echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13020 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13021echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13023echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13024 (
13025 cat <<\_ASBOX
13026## ------------------------------------ ##
13027## Report this to bug-autoconf@gnu.org. ##
13028## ------------------------------------ ##
13029_ASBOX
13030 ) |
13031 sed "s/^/$as_me: WARNING: /" >&2
13032 ;;
13033esac
13034echo "$as_me:$LINENO: checking for $ac_header" >&5
13035echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13036if eval "test \"\${$as_ac_Header+set}\" = set"; then
13037 echo $ECHO_N "(cached) $ECHO_C" >&6
13038else
13039 eval "$as_ac_Header=$ac_header_preproc"
13040fi
13041echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13042echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13043
13044fi
13045if test `eval echo '${'$as_ac_Header'}'` = yes; then
13046 cat >>confdefs.h <<_ACEOF
13047#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13048_ACEOF
13049
13050fi
13051
13052done
13053
13054
13055if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13056
13057for ac_func in fnmatch
13058do
13059as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13060echo "$as_me:$LINENO: checking for $ac_func" >&5
13061echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13062if eval "test \"\${$as_ac_var+set}\" = set"; then
13063 echo $ECHO_N "(cached) $ECHO_C" >&6
13064else
13065 cat >conftest.$ac_ext <<_ACEOF
13066#line $LINENO "configure"
13067/* confdefs.h. */
13068_ACEOF
13069cat confdefs.h >>conftest.$ac_ext
13070cat >>conftest.$ac_ext <<_ACEOF
13071/* end confdefs.h. */
13072/* System header to define __stub macros and hopefully few prototypes,
13073 which can conflict with char $ac_func (); below.
13074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13075 <limits.h> exists even on freestanding compilers. */
13076#ifdef __STDC__
13077# include <limits.h>
13078#else
13079# include <assert.h>
13080#endif
13081/* Override any gcc2 internal prototype to avoid an error. */
13082#ifdef __cplusplus
13083extern "C"
13084{
13085#endif
13086/* We use char because int might match the return type of a gcc2
13087 builtin and then its argument prototype would still apply. */
13088char $ac_func ();
13089/* The GNU C library defines this for functions which it implements
13090 to always fail with ENOSYS. Some functions are actually named
13091 something starting with __ and the normal name is an alias. */
13092#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13093choke me
13094#else
13095char (*f) () = $ac_func;
13096#endif
13097#ifdef __cplusplus
13098}
13099#endif
13100
13101int
13102main ()
13103{
13104return f != $ac_func;
13105 ;
13106 return 0;
13107}
13108_ACEOF
13109rm -f conftest.$ac_objext conftest$ac_exeext
13110if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13111 (eval $ac_link) 2>&5
13112 ac_status=$?
13113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114 (exit $ac_status); } &&
13115 { ac_try='test -s conftest$ac_exeext'
13116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13117 (eval $ac_try) 2>&5
13118 ac_status=$?
13119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120 (exit $ac_status); }; }; then
13121 eval "$as_ac_var=yes"
13122else
13123 echo "$as_me: failed program was:" >&5
13124sed 's/^/| /' conftest.$ac_ext >&5
13125
13126eval "$as_ac_var=no"
13127fi
13128rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13129fi
13130echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13131echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13132if test `eval echo '${'$as_ac_var'}'` = yes; then
13133 cat >>confdefs.h <<_ACEOF
13134#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13135_ACEOF
13136
13137fi
13138done
13139
13140fi
13141
13142
13143for ac_header in langinfo.h
13144do
13145as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13146if eval "test \"\${$as_ac_Header+set}\" = set"; then
13147 echo "$as_me:$LINENO: checking for $ac_header" >&5
13148echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13149if eval "test \"\${$as_ac_Header+set}\" = set"; then
13150 echo $ECHO_N "(cached) $ECHO_C" >&6
13151fi
13152echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13153echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13154else
13155 # Is the header compilable?
13156echo "$as_me:$LINENO: checking $ac_header usability" >&5
13157echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13158cat >conftest.$ac_ext <<_ACEOF
13159#line $LINENO "configure"
13160/* confdefs.h. */
13161_ACEOF
13162cat confdefs.h >>conftest.$ac_ext
13163cat >>conftest.$ac_ext <<_ACEOF
13164/* end confdefs.h. */
13165$ac_includes_default
13166#include <$ac_header>
13167_ACEOF
13168rm -f conftest.$ac_objext
13169if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13170 (eval $ac_compile) 2>&5
13171 ac_status=$?
13172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13173 (exit $ac_status); } &&
13174 { ac_try='test -s conftest.$ac_objext'
13175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13176 (eval $ac_try) 2>&5
13177 ac_status=$?
13178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13179 (exit $ac_status); }; }; then
13180 ac_header_compiler=yes
13181else
13182 echo "$as_me: failed program was:" >&5
13183sed 's/^/| /' conftest.$ac_ext >&5
13184
13185ac_header_compiler=no
13186fi
13187rm -f conftest.$ac_objext conftest.$ac_ext
13188echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13189echo "${ECHO_T}$ac_header_compiler" >&6
13190
13191# Is the header present?
13192echo "$as_me:$LINENO: checking $ac_header presence" >&5
13193echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13194cat >conftest.$ac_ext <<_ACEOF
13195#line $LINENO "configure"
13196/* confdefs.h. */
13197_ACEOF
13198cat confdefs.h >>conftest.$ac_ext
13199cat >>conftest.$ac_ext <<_ACEOF
13200/* end confdefs.h. */
13201#include <$ac_header>
13202_ACEOF
13203if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13204 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13205 ac_status=$?
13206 grep -v '^ *+' conftest.er1 >conftest.err
13207 rm -f conftest.er1
13208 cat conftest.err >&5
13209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13210 (exit $ac_status); } >/dev/null; then
13211 if test -s conftest.err; then
13212 ac_cpp_err=$ac_c_preproc_warn_flag
13213 else
13214 ac_cpp_err=
13215 fi
13216else
13217 ac_cpp_err=yes
13218fi
13219if test -z "$ac_cpp_err"; then
13220 ac_header_preproc=yes
13221else
13222 echo "$as_me: failed program was:" >&5
13223sed 's/^/| /' conftest.$ac_ext >&5
13224
13225 ac_header_preproc=no
13226fi
13227rm -f conftest.err conftest.$ac_ext
13228echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13229echo "${ECHO_T}$ac_header_preproc" >&6
13230
13231# So? What about this header?
13232case $ac_header_compiler:$ac_header_preproc in
13233 yes:no )
13234 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13235echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13237echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13238 (
13239 cat <<\_ASBOX
13240## ------------------------------------ ##
13241## Report this to bug-autoconf@gnu.org. ##
13242## ------------------------------------ ##
13243_ASBOX
13244 ) |
13245 sed "s/^/$as_me: WARNING: /" >&2
13246 ;;
13247 no:yes )
13248 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13249echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13250 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13251echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13253echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13254 (
13255 cat <<\_ASBOX
13256## ------------------------------------ ##
13257## Report this to bug-autoconf@gnu.org. ##
13258## ------------------------------------ ##
13259_ASBOX
13260 ) |
13261 sed "s/^/$as_me: WARNING: /" >&2
13262 ;;
13263esac
13264echo "$as_me:$LINENO: checking for $ac_header" >&5
13265echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13266if eval "test \"\${$as_ac_Header+set}\" = set"; then
13267 echo $ECHO_N "(cached) $ECHO_C" >&6
13268else
13269 eval "$as_ac_Header=$ac_header_preproc"
13270fi
13271echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13272echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13273
13274fi
13275if test `eval echo '${'$as_ac_Header'}'` = yes; then
13276 cat >>confdefs.h <<_ACEOF
13277#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13278_ACEOF
13279
13280fi
13281
13282done
13283
13284
13285case "${host}" in
13286 *-pc-os2_emx | *-pc-os2-emx )
13287 if test $ac_cv_header_langinfo_h = "yes"; then
13288 LIBS="$LIBS -lintl"
13289 fi
13290 ;;
13291esac
13292
13293if test "$wxUSE_GUI" = "yes"; then
13294 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13295
13296for ac_header in X11/Xlib.h
13297do
13298as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13299if eval "test \"\${$as_ac_Header+set}\" = set"; then
13300 echo "$as_me:$LINENO: checking for $ac_header" >&5
13301echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13302if eval "test \"\${$as_ac_Header+set}\" = set"; then
13303 echo $ECHO_N "(cached) $ECHO_C" >&6
13304fi
13305echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13306echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13307else
13308 # Is the header compilable?
13309echo "$as_me:$LINENO: checking $ac_header usability" >&5
13310echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13311cat >conftest.$ac_ext <<_ACEOF
13312#line $LINENO "configure"
13313/* confdefs.h. */
13314_ACEOF
13315cat confdefs.h >>conftest.$ac_ext
13316cat >>conftest.$ac_ext <<_ACEOF
13317/* end confdefs.h. */
13318$ac_includes_default
13319#include <$ac_header>
13320_ACEOF
13321rm -f conftest.$ac_objext
13322if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13323 (eval $ac_compile) 2>&5
13324 ac_status=$?
13325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13326 (exit $ac_status); } &&
13327 { ac_try='test -s conftest.$ac_objext'
13328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13329 (eval $ac_try) 2>&5
13330 ac_status=$?
13331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13332 (exit $ac_status); }; }; then
13333 ac_header_compiler=yes
13334else
13335 echo "$as_me: failed program was:" >&5
13336sed 's/^/| /' conftest.$ac_ext >&5
13337
13338ac_header_compiler=no
13339fi
13340rm -f conftest.$ac_objext conftest.$ac_ext
13341echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13342echo "${ECHO_T}$ac_header_compiler" >&6
13343
13344# Is the header present?
13345echo "$as_me:$LINENO: checking $ac_header presence" >&5
13346echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13347cat >conftest.$ac_ext <<_ACEOF
13348#line $LINENO "configure"
13349/* confdefs.h. */
13350_ACEOF
13351cat confdefs.h >>conftest.$ac_ext
13352cat >>conftest.$ac_ext <<_ACEOF
13353/* end confdefs.h. */
13354#include <$ac_header>
13355_ACEOF
13356if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13357 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13358 ac_status=$?
13359 grep -v '^ *+' conftest.er1 >conftest.err
13360 rm -f conftest.er1
13361 cat conftest.err >&5
13362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363 (exit $ac_status); } >/dev/null; then
13364 if test -s conftest.err; then
13365 ac_cpp_err=$ac_c_preproc_warn_flag
13366 else
13367 ac_cpp_err=
13368 fi
13369else
13370 ac_cpp_err=yes
13371fi
13372if test -z "$ac_cpp_err"; then
13373 ac_header_preproc=yes
13374else
13375 echo "$as_me: failed program was:" >&5
13376sed 's/^/| /' conftest.$ac_ext >&5
13377
13378 ac_header_preproc=no
13379fi
13380rm -f conftest.err conftest.$ac_ext
13381echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13382echo "${ECHO_T}$ac_header_preproc" >&6
13383
13384# So? What about this header?
13385case $ac_header_compiler:$ac_header_preproc in
13386 yes:no )
13387 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13388echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13389 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13390echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13391 (
13392 cat <<\_ASBOX
13393## ------------------------------------ ##
13394## Report this to bug-autoconf@gnu.org. ##
13395## ------------------------------------ ##
13396_ASBOX
13397 ) |
13398 sed "s/^/$as_me: WARNING: /" >&2
13399 ;;
13400 no:yes )
13401 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13402echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13403 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13404echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13406echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13407 (
13408 cat <<\_ASBOX
13409## ------------------------------------ ##
13410## Report this to bug-autoconf@gnu.org. ##
13411## ------------------------------------ ##
13412_ASBOX
13413 ) |
13414 sed "s/^/$as_me: WARNING: /" >&2
13415 ;;
13416esac
13417echo "$as_me:$LINENO: checking for $ac_header" >&5
13418echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13419if eval "test \"\${$as_ac_Header+set}\" = set"; then
13420 echo $ECHO_N "(cached) $ECHO_C" >&6
13421else
13422 eval "$as_ac_Header=$ac_header_preproc"
13423fi
13424echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13425echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13426
13427fi
13428if test `eval echo '${'$as_ac_Header'}'` = yes; then
13429 cat >>confdefs.h <<_ACEOF
13430#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13431_ACEOF
13432
13433fi
13434
13435done
13436
13437
13438for ac_header in X11/XKBlib.h
13439do
13440as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13441echo "$as_me:$LINENO: checking for $ac_header" >&5
13442echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13443if eval "test \"\${$as_ac_Header+set}\" = set"; then
13444 echo $ECHO_N "(cached) $ECHO_C" >&6
13445else
13446 cat >conftest.$ac_ext <<_ACEOF
13447#line $LINENO "configure"
13448/* confdefs.h. */
13449_ACEOF
13450cat confdefs.h >>conftest.$ac_ext
13451cat >>conftest.$ac_ext <<_ACEOF
13452/* end confdefs.h. */
13453
13454 #if HAVE_X11_XLIB_H
13455 #include <X11/Xlib.h>
13456 #endif
13457
13458
13459#include <$ac_header>
13460_ACEOF
13461rm -f conftest.$ac_objext
13462if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13463 (eval $ac_compile) 2>&5
13464 ac_status=$?
13465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13466 (exit $ac_status); } &&
13467 { ac_try='test -s conftest.$ac_objext'
13468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13469 (eval $ac_try) 2>&5
13470 ac_status=$?
13471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13472 (exit $ac_status); }; }; then
13473 eval "$as_ac_Header=yes"
13474else
13475 echo "$as_me: failed program was:" >&5
13476sed 's/^/| /' conftest.$ac_ext >&5
13477
13478eval "$as_ac_Header=no"
13479fi
13480rm -f conftest.$ac_objext conftest.$ac_ext
13481fi
13482echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13483echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13484if test `eval echo '${'$as_ac_Header'}'` = yes; then
13485 cat >>confdefs.h <<_ACEOF
13486#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13487_ACEOF
13488
13489fi
13490
13491done
13492
13493 fi
13494fi
13495
13496
13497echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13498echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13499if test "${ac_cv_c_const+set}" = set; then
13500 echo $ECHO_N "(cached) $ECHO_C" >&6
13501else
13502 cat >conftest.$ac_ext <<_ACEOF
13503#line $LINENO "configure"
13504/* confdefs.h. */
13505_ACEOF
13506cat confdefs.h >>conftest.$ac_ext
13507cat >>conftest.$ac_ext <<_ACEOF
13508/* end confdefs.h. */
13509
13510int
13511main ()
13512{
13513/* FIXME: Include the comments suggested by Paul. */
13514#ifndef __cplusplus
13515 /* Ultrix mips cc rejects this. */
13516 typedef int charset[2];
13517 const charset x;
13518 /* SunOS 4.1.1 cc rejects this. */
13519 char const *const *ccp;
13520 char **p;
13521 /* NEC SVR4.0.2 mips cc rejects this. */
13522 struct point {int x, y;};
13523 static struct point const zero = {0,0};
13524 /* AIX XL C 1.02.0.0 rejects this.
13525 It does not let you subtract one const X* pointer from another in
13526 an arm of an if-expression whose if-part is not a constant
13527 expression */
13528 const char *g = "string";
13529 ccp = &g + (g ? g-g : 0);
13530 /* HPUX 7.0 cc rejects these. */
13531 ++ccp;
13532 p = (char**) ccp;
13533 ccp = (char const *const *) p;
13534 { /* SCO 3.2v4 cc rejects this. */
13535 char *t;
13536 char const *s = 0 ? (char *) 0 : (char const *) 0;
13537
13538 *t++ = 0;
13539 }
13540 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13541 int x[] = {25, 17};
13542 const int *foo = &x[0];
13543 ++foo;
13544 }
13545 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13546 typedef const int *iptr;
13547 iptr p = 0;
13548 ++p;
13549 }
13550 { /* AIX XL C 1.02.0.0 rejects this saying
13551 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13552 struct s { int j; const int *ap[3]; };
13553 struct s *b; b->j = 5;
13554 }
13555 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13556 const int foo = 10;
13557 }
13558#endif
13559
13560 ;
13561 return 0;
13562}
13563_ACEOF
13564rm -f conftest.$ac_objext
13565if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13566 (eval $ac_compile) 2>&5
13567 ac_status=$?
13568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13569 (exit $ac_status); } &&
13570 { ac_try='test -s conftest.$ac_objext'
13571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13572 (eval $ac_try) 2>&5
13573 ac_status=$?
13574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13575 (exit $ac_status); }; }; then
13576 ac_cv_c_const=yes
13577else
13578 echo "$as_me: failed program was:" >&5
13579sed 's/^/| /' conftest.$ac_ext >&5
13580
13581ac_cv_c_const=no
13582fi
13583rm -f conftest.$ac_objext conftest.$ac_ext
13584fi
13585echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13586echo "${ECHO_T}$ac_cv_c_const" >&6
13587if test $ac_cv_c_const = no; then
13588
13589cat >>confdefs.h <<\_ACEOF
13590#define const
13591_ACEOF
13592
13593fi
13594
13595echo "$as_me:$LINENO: checking for inline" >&5
13596echo $ECHO_N "checking for inline... $ECHO_C" >&6
13597if test "${ac_cv_c_inline+set}" = set; then
13598 echo $ECHO_N "(cached) $ECHO_C" >&6
13599else
13600 ac_cv_c_inline=no
13601for ac_kw in inline __inline__ __inline; do
13602 cat >conftest.$ac_ext <<_ACEOF
13603#line $LINENO "configure"
13604/* confdefs.h. */
13605_ACEOF
13606cat confdefs.h >>conftest.$ac_ext
13607cat >>conftest.$ac_ext <<_ACEOF
13608/* end confdefs.h. */
13609#ifndef __cplusplus
13610typedef int foo_t;
13611static $ac_kw foo_t static_foo () {return 0; }
13612$ac_kw foo_t foo () {return 0; }
13613#endif
13614
13615_ACEOF
13616rm -f conftest.$ac_objext
13617if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13618 (eval $ac_compile) 2>&5
13619 ac_status=$?
13620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 (exit $ac_status); } &&
13622 { ac_try='test -s conftest.$ac_objext'
13623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13624 (eval $ac_try) 2>&5
13625 ac_status=$?
13626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13627 (exit $ac_status); }; }; then
13628 ac_cv_c_inline=$ac_kw; break
13629else
13630 echo "$as_me: failed program was:" >&5
13631sed 's/^/| /' conftest.$ac_ext >&5
13632
13633fi
13634rm -f conftest.$ac_objext conftest.$ac_ext
13635done
13636
13637fi
13638echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13639echo "${ECHO_T}$ac_cv_c_inline" >&6
13640case $ac_cv_c_inline in
13641 inline | yes) ;;
13642 no)
13643cat >>confdefs.h <<\_ACEOF
13644#define inline
13645_ACEOF
13646 ;;
13647 *) cat >>confdefs.h <<_ACEOF
13648#define inline $ac_cv_c_inline
13649_ACEOF
13650 ;;
13651esac
13652
13653
13654echo "$as_me:$LINENO: checking for char" >&5
13655echo $ECHO_N "checking for char... $ECHO_C" >&6
13656if test "${ac_cv_type_char+set}" = set; then
13657 echo $ECHO_N "(cached) $ECHO_C" >&6
13658else
13659 cat >conftest.$ac_ext <<_ACEOF
13660#line $LINENO "configure"
13661/* confdefs.h. */
13662_ACEOF
13663cat confdefs.h >>conftest.$ac_ext
13664cat >>conftest.$ac_ext <<_ACEOF
13665/* end confdefs.h. */
13666$ac_includes_default
13667int
13668main ()
13669{
13670if ((char *) 0)
13671 return 0;
13672if (sizeof (char))
13673 return 0;
13674 ;
13675 return 0;
13676}
13677_ACEOF
13678rm -f conftest.$ac_objext
13679if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13680 (eval $ac_compile) 2>&5
13681 ac_status=$?
13682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13683 (exit $ac_status); } &&
13684 { ac_try='test -s conftest.$ac_objext'
13685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13686 (eval $ac_try) 2>&5
13687 ac_status=$?
13688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13689 (exit $ac_status); }; }; then
13690 ac_cv_type_char=yes
13691else
13692 echo "$as_me: failed program was:" >&5
13693sed 's/^/| /' conftest.$ac_ext >&5
13694
13695ac_cv_type_char=no
13696fi
13697rm -f conftest.$ac_objext conftest.$ac_ext
13698fi
13699echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13700echo "${ECHO_T}$ac_cv_type_char" >&6
13701
13702echo "$as_me:$LINENO: checking size of char" >&5
13703echo $ECHO_N "checking size of char... $ECHO_C" >&6
13704if test "${ac_cv_sizeof_char+set}" = set; then
13705 echo $ECHO_N "(cached) $ECHO_C" >&6
13706else
13707 if test "$ac_cv_type_char" = yes; then
13708 # The cast to unsigned long works around a bug in the HP C Compiler
13709 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13710 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13711 # This bug is HP SR number 8606223364.
13712 if test "$cross_compiling" = yes; then
13713 # Depending upon the size, compute the lo and hi bounds.
13714cat >conftest.$ac_ext <<_ACEOF
13715#line $LINENO "configure"
13716/* confdefs.h. */
13717_ACEOF
13718cat confdefs.h >>conftest.$ac_ext
13719cat >>conftest.$ac_ext <<_ACEOF
13720/* end confdefs.h. */
13721$ac_includes_default
13722int
13723main ()
13724{
13725static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13726test_array [0] = 0
13727
13728 ;
13729 return 0;
13730}
13731_ACEOF
13732rm -f conftest.$ac_objext
13733if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13734 (eval $ac_compile) 2>&5
13735 ac_status=$?
13736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13737 (exit $ac_status); } &&
13738 { ac_try='test -s conftest.$ac_objext'
13739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13740 (eval $ac_try) 2>&5
13741 ac_status=$?
13742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); }; }; then
13744 ac_lo=0 ac_mid=0
13745 while :; do
13746 cat >conftest.$ac_ext <<_ACEOF
13747#line $LINENO "configure"
13748/* confdefs.h. */
13749_ACEOF
13750cat confdefs.h >>conftest.$ac_ext
13751cat >>conftest.$ac_ext <<_ACEOF
13752/* end confdefs.h. */
13753$ac_includes_default
13754int
13755main ()
13756{
13757static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13758test_array [0] = 0
13759
13760 ;
13761 return 0;
13762}
13763_ACEOF
13764rm -f conftest.$ac_objext
13765if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13766 (eval $ac_compile) 2>&5
13767 ac_status=$?
13768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13769 (exit $ac_status); } &&
13770 { ac_try='test -s conftest.$ac_objext'
13771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13772 (eval $ac_try) 2>&5
13773 ac_status=$?
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); }; }; then
13776 ac_hi=$ac_mid; break
13777else
13778 echo "$as_me: failed program was:" >&5
13779sed 's/^/| /' conftest.$ac_ext >&5
13780
13781ac_lo=`expr $ac_mid + 1`
13782 if test $ac_lo -le $ac_mid; then
13783 ac_lo= ac_hi=
13784 break
13785 fi
13786 ac_mid=`expr 2 '*' $ac_mid + 1`
13787fi
13788rm -f conftest.$ac_objext conftest.$ac_ext
13789 done
13790else
13791 echo "$as_me: failed program was:" >&5
13792sed 's/^/| /' conftest.$ac_ext >&5
13793
13794cat >conftest.$ac_ext <<_ACEOF
13795#line $LINENO "configure"
13796/* confdefs.h. */
13797_ACEOF
13798cat confdefs.h >>conftest.$ac_ext
13799cat >>conftest.$ac_ext <<_ACEOF
13800/* end confdefs.h. */
13801$ac_includes_default
13802int
13803main ()
13804{
13805static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13806test_array [0] = 0
13807
13808 ;
13809 return 0;
13810}
13811_ACEOF
13812rm -f conftest.$ac_objext
13813if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13814 (eval $ac_compile) 2>&5
13815 ac_status=$?
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); } &&
13818 { ac_try='test -s conftest.$ac_objext'
13819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13820 (eval $ac_try) 2>&5
13821 ac_status=$?
13822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13823 (exit $ac_status); }; }; then
13824 ac_hi=-1 ac_mid=-1
13825 while :; do
13826 cat >conftest.$ac_ext <<_ACEOF
13827#line $LINENO "configure"
13828/* confdefs.h. */
13829_ACEOF
13830cat confdefs.h >>conftest.$ac_ext
13831cat >>conftest.$ac_ext <<_ACEOF
13832/* end confdefs.h. */
13833$ac_includes_default
13834int
13835main ()
13836{
13837static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13838test_array [0] = 0
13839
13840 ;
13841 return 0;
13842}
13843_ACEOF
13844rm -f conftest.$ac_objext
13845if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13846 (eval $ac_compile) 2>&5
13847 ac_status=$?
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); } &&
13850 { ac_try='test -s conftest.$ac_objext'
13851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13852 (eval $ac_try) 2>&5
13853 ac_status=$?
13854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855 (exit $ac_status); }; }; then
13856 ac_lo=$ac_mid; break
13857else
13858 echo "$as_me: failed program was:" >&5
13859sed 's/^/| /' conftest.$ac_ext >&5
13860
13861ac_hi=`expr '(' $ac_mid ')' - 1`
13862 if test $ac_mid -le $ac_hi; then
13863 ac_lo= ac_hi=
13864 break
13865 fi
13866 ac_mid=`expr 2 '*' $ac_mid`
13867fi
13868rm -f conftest.$ac_objext conftest.$ac_ext
13869 done
13870else
13871 echo "$as_me: failed program was:" >&5
13872sed 's/^/| /' conftest.$ac_ext >&5
13873
13874ac_lo= ac_hi=
13875fi
13876rm -f conftest.$ac_objext conftest.$ac_ext
13877fi
13878rm -f conftest.$ac_objext conftest.$ac_ext
13879# Binary search between lo and hi bounds.
13880while test "x$ac_lo" != "x$ac_hi"; do
13881 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13882 cat >conftest.$ac_ext <<_ACEOF
13883#line $LINENO "configure"
13884/* confdefs.h. */
13885_ACEOF
13886cat confdefs.h >>conftest.$ac_ext
13887cat >>conftest.$ac_ext <<_ACEOF
13888/* end confdefs.h. */
13889$ac_includes_default
13890int
13891main ()
13892{
13893static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13894test_array [0] = 0
13895
13896 ;
13897 return 0;
13898}
13899_ACEOF
13900rm -f conftest.$ac_objext
13901if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13902 (eval $ac_compile) 2>&5
13903 ac_status=$?
13904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13905 (exit $ac_status); } &&
13906 { ac_try='test -s conftest.$ac_objext'
13907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13908 (eval $ac_try) 2>&5
13909 ac_status=$?
13910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13911 (exit $ac_status); }; }; then
13912 ac_hi=$ac_mid
13913else
13914 echo "$as_me: failed program was:" >&5
13915sed 's/^/| /' conftest.$ac_ext >&5
13916
13917ac_lo=`expr '(' $ac_mid ')' + 1`
13918fi
13919rm -f conftest.$ac_objext conftest.$ac_ext
13920done
13921case $ac_lo in
13922?*) ac_cv_sizeof_char=$ac_lo;;
13923'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13924See \`config.log' for more details." >&5
13925echo "$as_me: error: cannot compute sizeof (char), 77
13926See \`config.log' for more details." >&2;}
13927 { (exit 1); exit 1; }; } ;;
13928esac
13929else
13930 if test "$cross_compiling" = yes; then
13931 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13932See \`config.log' for more details." >&5
13933echo "$as_me: error: cannot run test program while cross compiling
13934See \`config.log' for more details." >&2;}
13935 { (exit 1); exit 1; }; }
13936else
13937 cat >conftest.$ac_ext <<_ACEOF
13938#line $LINENO "configure"
13939/* confdefs.h. */
13940_ACEOF
13941cat confdefs.h >>conftest.$ac_ext
13942cat >>conftest.$ac_ext <<_ACEOF
13943/* end confdefs.h. */
13944$ac_includes_default
13945long longval () { return (long) (sizeof (char)); }
13946unsigned long ulongval () { return (long) (sizeof (char)); }
13947#include <stdio.h>
13948#include <stdlib.h>
13949int
13950main ()
13951{
13952
13953 FILE *f = fopen ("conftest.val", "w");
13954 if (! f)
13955 exit (1);
13956 if (((long) (sizeof (char))) < 0)
13957 {
13958 long i = longval ();
13959 if (i != ((long) (sizeof (char))))
13960 exit (1);
13961 fprintf (f, "%ld\n", i);
13962 }
13963 else
13964 {
13965 unsigned long i = ulongval ();
13966 if (i != ((long) (sizeof (char))))
13967 exit (1);
13968 fprintf (f, "%lu\n", i);
13969 }
13970 exit (ferror (f) || fclose (f) != 0);
13971
13972 ;
13973 return 0;
13974}
13975_ACEOF
13976rm -f conftest$ac_exeext
13977if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13978 (eval $ac_link) 2>&5
13979 ac_status=$?
13980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13981 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13983 (eval $ac_try) 2>&5
13984 ac_status=$?
13985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13986 (exit $ac_status); }; }; then
13987 ac_cv_sizeof_char=`cat conftest.val`
13988else
13989 echo "$as_me: program exited with status $ac_status" >&5
13990echo "$as_me: failed program was:" >&5
13991sed 's/^/| /' conftest.$ac_ext >&5
13992
13993( exit $ac_status )
13994{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13995See \`config.log' for more details." >&5
13996echo "$as_me: error: cannot compute sizeof (char), 77
13997See \`config.log' for more details." >&2;}
13998 { (exit 1); exit 1; }; }
13999fi
14000rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14001fi
14002fi
14003rm -f conftest.val
14004else
14005 ac_cv_sizeof_char=0
14006fi
14007fi
14008echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14009echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14010cat >>confdefs.h <<_ACEOF
14011#define SIZEOF_CHAR $ac_cv_sizeof_char
14012_ACEOF
14013
14014
14015echo "$as_me:$LINENO: checking for short" >&5
14016echo $ECHO_N "checking for short... $ECHO_C" >&6
14017if test "${ac_cv_type_short+set}" = set; then
14018 echo $ECHO_N "(cached) $ECHO_C" >&6
14019else
14020 cat >conftest.$ac_ext <<_ACEOF
14021#line $LINENO "configure"
14022/* confdefs.h. */
14023_ACEOF
14024cat confdefs.h >>conftest.$ac_ext
14025cat >>conftest.$ac_ext <<_ACEOF
14026/* end confdefs.h. */
14027$ac_includes_default
14028int
14029main ()
14030{
14031if ((short *) 0)
14032 return 0;
14033if (sizeof (short))
14034 return 0;
14035 ;
14036 return 0;
14037}
14038_ACEOF
14039rm -f conftest.$ac_objext
14040if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14041 (eval $ac_compile) 2>&5
14042 ac_status=$?
14043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044 (exit $ac_status); } &&
14045 { ac_try='test -s conftest.$ac_objext'
14046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14047 (eval $ac_try) 2>&5
14048 ac_status=$?
14049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050 (exit $ac_status); }; }; then
14051 ac_cv_type_short=yes
14052else
14053 echo "$as_me: failed program was:" >&5
14054sed 's/^/| /' conftest.$ac_ext >&5
14055
14056ac_cv_type_short=no
14057fi
14058rm -f conftest.$ac_objext conftest.$ac_ext
14059fi
14060echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14061echo "${ECHO_T}$ac_cv_type_short" >&6
14062
14063echo "$as_me:$LINENO: checking size of short" >&5
14064echo $ECHO_N "checking size of short... $ECHO_C" >&6
14065if test "${ac_cv_sizeof_short+set}" = set; then
14066 echo $ECHO_N "(cached) $ECHO_C" >&6
14067else
14068 if test "$ac_cv_type_short" = yes; then
14069 # The cast to unsigned long works around a bug in the HP C Compiler
14070 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14071 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14072 # This bug is HP SR number 8606223364.
14073 if test "$cross_compiling" = yes; then
14074 # Depending upon the size, compute the lo and hi bounds.
14075cat >conftest.$ac_ext <<_ACEOF
14076#line $LINENO "configure"
14077/* confdefs.h. */
14078_ACEOF
14079cat confdefs.h >>conftest.$ac_ext
14080cat >>conftest.$ac_ext <<_ACEOF
14081/* end confdefs.h. */
14082$ac_includes_default
14083int
14084main ()
14085{
14086static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14087test_array [0] = 0
14088
14089 ;
14090 return 0;
14091}
14092_ACEOF
14093rm -f conftest.$ac_objext
14094if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14095 (eval $ac_compile) 2>&5
14096 ac_status=$?
14097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14098 (exit $ac_status); } &&
14099 { ac_try='test -s conftest.$ac_objext'
14100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14101 (eval $ac_try) 2>&5
14102 ac_status=$?
14103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14104 (exit $ac_status); }; }; then
14105 ac_lo=0 ac_mid=0
14106 while :; do
14107 cat >conftest.$ac_ext <<_ACEOF
14108#line $LINENO "configure"
14109/* confdefs.h. */
14110_ACEOF
14111cat confdefs.h >>conftest.$ac_ext
14112cat >>conftest.$ac_ext <<_ACEOF
14113/* end confdefs.h. */
14114$ac_includes_default
14115int
14116main ()
14117{
14118static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14119test_array [0] = 0
14120
14121 ;
14122 return 0;
14123}
14124_ACEOF
14125rm -f conftest.$ac_objext
14126if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14127 (eval $ac_compile) 2>&5
14128 ac_status=$?
14129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14130 (exit $ac_status); } &&
14131 { ac_try='test -s conftest.$ac_objext'
14132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14133 (eval $ac_try) 2>&5
14134 ac_status=$?
14135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14136 (exit $ac_status); }; }; then
14137 ac_hi=$ac_mid; break
14138else
14139 echo "$as_me: failed program was:" >&5
14140sed 's/^/| /' conftest.$ac_ext >&5
14141
14142ac_lo=`expr $ac_mid + 1`
14143 if test $ac_lo -le $ac_mid; then
14144 ac_lo= ac_hi=
14145 break
14146 fi
14147 ac_mid=`expr 2 '*' $ac_mid + 1`
14148fi
14149rm -f conftest.$ac_objext conftest.$ac_ext
14150 done
14151else
14152 echo "$as_me: failed program was:" >&5
14153sed 's/^/| /' conftest.$ac_ext >&5
14154
14155cat >conftest.$ac_ext <<_ACEOF
14156#line $LINENO "configure"
14157/* confdefs.h. */
14158_ACEOF
14159cat confdefs.h >>conftest.$ac_ext
14160cat >>conftest.$ac_ext <<_ACEOF
14161/* end confdefs.h. */
14162$ac_includes_default
14163int
14164main ()
14165{
14166static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14167test_array [0] = 0
14168
14169 ;
14170 return 0;
14171}
14172_ACEOF
14173rm -f conftest.$ac_objext
14174if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14175 (eval $ac_compile) 2>&5
14176 ac_status=$?
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); } &&
14179 { ac_try='test -s conftest.$ac_objext'
14180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181 (eval $ac_try) 2>&5
14182 ac_status=$?
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; }; then
14185 ac_hi=-1 ac_mid=-1
14186 while :; do
14187 cat >conftest.$ac_ext <<_ACEOF
14188#line $LINENO "configure"
14189/* confdefs.h. */
14190_ACEOF
14191cat confdefs.h >>conftest.$ac_ext
14192cat >>conftest.$ac_ext <<_ACEOF
14193/* end confdefs.h. */
14194$ac_includes_default
14195int
14196main ()
14197{
14198static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14199test_array [0] = 0
14200
14201 ;
14202 return 0;
14203}
14204_ACEOF
14205rm -f conftest.$ac_objext
14206if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14207 (eval $ac_compile) 2>&5
14208 ac_status=$?
14209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210 (exit $ac_status); } &&
14211 { ac_try='test -s conftest.$ac_objext'
14212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14213 (eval $ac_try) 2>&5
14214 ac_status=$?
14215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14216 (exit $ac_status); }; }; then
14217 ac_lo=$ac_mid; break
14218else
14219 echo "$as_me: failed program was:" >&5
14220sed 's/^/| /' conftest.$ac_ext >&5
14221
14222ac_hi=`expr '(' $ac_mid ')' - 1`
14223 if test $ac_mid -le $ac_hi; then
14224 ac_lo= ac_hi=
14225 break
14226 fi
14227 ac_mid=`expr 2 '*' $ac_mid`
14228fi
14229rm -f conftest.$ac_objext conftest.$ac_ext
14230 done
14231else
14232 echo "$as_me: failed program was:" >&5
14233sed 's/^/| /' conftest.$ac_ext >&5
14234
14235ac_lo= ac_hi=
14236fi
14237rm -f conftest.$ac_objext conftest.$ac_ext
14238fi
14239rm -f conftest.$ac_objext conftest.$ac_ext
14240# Binary search between lo and hi bounds.
14241while test "x$ac_lo" != "x$ac_hi"; do
14242 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14243 cat >conftest.$ac_ext <<_ACEOF
14244#line $LINENO "configure"
14245/* confdefs.h. */
14246_ACEOF
14247cat confdefs.h >>conftest.$ac_ext
14248cat >>conftest.$ac_ext <<_ACEOF
14249/* end confdefs.h. */
14250$ac_includes_default
14251int
14252main ()
14253{
14254static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14255test_array [0] = 0
14256
14257 ;
14258 return 0;
14259}
14260_ACEOF
14261rm -f conftest.$ac_objext
14262if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14263 (eval $ac_compile) 2>&5
14264 ac_status=$?
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); } &&
14267 { ac_try='test -s conftest.$ac_objext'
14268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14269 (eval $ac_try) 2>&5
14270 ac_status=$?
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); }; }; then
14273 ac_hi=$ac_mid
14274else
14275 echo "$as_me: failed program was:" >&5
14276sed 's/^/| /' conftest.$ac_ext >&5
14277
14278ac_lo=`expr '(' $ac_mid ')' + 1`
14279fi
14280rm -f conftest.$ac_objext conftest.$ac_ext
14281done
14282case $ac_lo in
14283?*) ac_cv_sizeof_short=$ac_lo;;
14284'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14285See \`config.log' for more details." >&5
14286echo "$as_me: error: cannot compute sizeof (short), 77
14287See \`config.log' for more details." >&2;}
14288 { (exit 1); exit 1; }; } ;;
14289esac
14290else
14291 if test "$cross_compiling" = yes; then
14292 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14293See \`config.log' for more details." >&5
14294echo "$as_me: error: cannot run test program while cross compiling
14295See \`config.log' for more details." >&2;}
14296 { (exit 1); exit 1; }; }
14297else
14298 cat >conftest.$ac_ext <<_ACEOF
14299#line $LINENO "configure"
14300/* confdefs.h. */
14301_ACEOF
14302cat confdefs.h >>conftest.$ac_ext
14303cat >>conftest.$ac_ext <<_ACEOF
14304/* end confdefs.h. */
14305$ac_includes_default
14306long longval () { return (long) (sizeof (short)); }
14307unsigned long ulongval () { return (long) (sizeof (short)); }
14308#include <stdio.h>
14309#include <stdlib.h>
14310int
14311main ()
14312{
14313
14314 FILE *f = fopen ("conftest.val", "w");
14315 if (! f)
14316 exit (1);
14317 if (((long) (sizeof (short))) < 0)
14318 {
14319 long i = longval ();
14320 if (i != ((long) (sizeof (short))))
14321 exit (1);
14322 fprintf (f, "%ld\n", i);
14323 }
14324 else
14325 {
14326 unsigned long i = ulongval ();
14327 if (i != ((long) (sizeof (short))))
14328 exit (1);
14329 fprintf (f, "%lu\n", i);
14330 }
14331 exit (ferror (f) || fclose (f) != 0);
14332
14333 ;
14334 return 0;
14335}
14336_ACEOF
14337rm -f conftest$ac_exeext
14338if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14339 (eval $ac_link) 2>&5
14340 ac_status=$?
14341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14342 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14344 (eval $ac_try) 2>&5
14345 ac_status=$?
14346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14347 (exit $ac_status); }; }; then
14348 ac_cv_sizeof_short=`cat conftest.val`
14349else
14350 echo "$as_me: program exited with status $ac_status" >&5
14351echo "$as_me: failed program was:" >&5
14352sed 's/^/| /' conftest.$ac_ext >&5
14353
14354( exit $ac_status )
14355{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14356See \`config.log' for more details." >&5
14357echo "$as_me: error: cannot compute sizeof (short), 77
14358See \`config.log' for more details." >&2;}
14359 { (exit 1); exit 1; }; }
14360fi
14361rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14362fi
14363fi
14364rm -f conftest.val
14365else
14366 ac_cv_sizeof_short=0
14367fi
14368fi
14369echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14370echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14371cat >>confdefs.h <<_ACEOF
14372#define SIZEOF_SHORT $ac_cv_sizeof_short
14373_ACEOF
14374
14375
14376echo "$as_me:$LINENO: checking for void *" >&5
14377echo $ECHO_N "checking for void *... $ECHO_C" >&6
14378if test "${ac_cv_type_void_p+set}" = set; then
14379 echo $ECHO_N "(cached) $ECHO_C" >&6
14380else
14381 cat >conftest.$ac_ext <<_ACEOF
14382#line $LINENO "configure"
14383/* confdefs.h. */
14384_ACEOF
14385cat confdefs.h >>conftest.$ac_ext
14386cat >>conftest.$ac_ext <<_ACEOF
14387/* end confdefs.h. */
14388$ac_includes_default
14389int
14390main ()
14391{
14392if ((void * *) 0)
14393 return 0;
14394if (sizeof (void *))
14395 return 0;
14396 ;
14397 return 0;
14398}
14399_ACEOF
14400rm -f conftest.$ac_objext
14401if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14402 (eval $ac_compile) 2>&5
14403 ac_status=$?
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); } &&
14406 { ac_try='test -s conftest.$ac_objext'
14407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14408 (eval $ac_try) 2>&5
14409 ac_status=$?
14410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14411 (exit $ac_status); }; }; then
14412 ac_cv_type_void_p=yes
14413else
14414 echo "$as_me: failed program was:" >&5
14415sed 's/^/| /' conftest.$ac_ext >&5
14416
14417ac_cv_type_void_p=no
14418fi
14419rm -f conftest.$ac_objext conftest.$ac_ext
14420fi
14421echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14422echo "${ECHO_T}$ac_cv_type_void_p" >&6
14423
14424echo "$as_me:$LINENO: checking size of void *" >&5
14425echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14426if test "${ac_cv_sizeof_void_p+set}" = set; then
14427 echo $ECHO_N "(cached) $ECHO_C" >&6
14428else
14429 if test "$ac_cv_type_void_p" = yes; then
14430 # The cast to unsigned long works around a bug in the HP C Compiler
14431 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14432 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14433 # This bug is HP SR number 8606223364.
14434 if test "$cross_compiling" = yes; then
14435 # Depending upon the size, compute the lo and hi bounds.
14436cat >conftest.$ac_ext <<_ACEOF
14437#line $LINENO "configure"
14438/* confdefs.h. */
14439_ACEOF
14440cat confdefs.h >>conftest.$ac_ext
14441cat >>conftest.$ac_ext <<_ACEOF
14442/* end confdefs.h. */
14443$ac_includes_default
14444int
14445main ()
14446{
14447static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14448test_array [0] = 0
14449
14450 ;
14451 return 0;
14452}
14453_ACEOF
14454rm -f conftest.$ac_objext
14455if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14456 (eval $ac_compile) 2>&5
14457 ac_status=$?
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459 (exit $ac_status); } &&
14460 { ac_try='test -s conftest.$ac_objext'
14461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14462 (eval $ac_try) 2>&5
14463 ac_status=$?
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); }; }; then
14466 ac_lo=0 ac_mid=0
14467 while :; do
14468 cat >conftest.$ac_ext <<_ACEOF
14469#line $LINENO "configure"
14470/* confdefs.h. */
14471_ACEOF
14472cat confdefs.h >>conftest.$ac_ext
14473cat >>conftest.$ac_ext <<_ACEOF
14474/* end confdefs.h. */
14475$ac_includes_default
14476int
14477main ()
14478{
14479static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14480test_array [0] = 0
14481
14482 ;
14483 return 0;
14484}
14485_ACEOF
14486rm -f conftest.$ac_objext
14487if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14488 (eval $ac_compile) 2>&5
14489 ac_status=$?
14490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14491 (exit $ac_status); } &&
14492 { ac_try='test -s conftest.$ac_objext'
14493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14494 (eval $ac_try) 2>&5
14495 ac_status=$?
14496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14497 (exit $ac_status); }; }; then
14498 ac_hi=$ac_mid; break
14499else
14500 echo "$as_me: failed program was:" >&5
14501sed 's/^/| /' conftest.$ac_ext >&5
14502
14503ac_lo=`expr $ac_mid + 1`
14504 if test $ac_lo -le $ac_mid; then
14505 ac_lo= ac_hi=
14506 break
14507 fi
14508 ac_mid=`expr 2 '*' $ac_mid + 1`
14509fi
14510rm -f conftest.$ac_objext conftest.$ac_ext
14511 done
14512else
14513 echo "$as_me: failed program was:" >&5
14514sed 's/^/| /' conftest.$ac_ext >&5
14515
14516cat >conftest.$ac_ext <<_ACEOF
14517#line $LINENO "configure"
14518/* confdefs.h. */
14519_ACEOF
14520cat confdefs.h >>conftest.$ac_ext
14521cat >>conftest.$ac_ext <<_ACEOF
14522/* end confdefs.h. */
14523$ac_includes_default
14524int
14525main ()
14526{
14527static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14528test_array [0] = 0
14529
14530 ;
14531 return 0;
14532}
14533_ACEOF
14534rm -f conftest.$ac_objext
14535if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14536 (eval $ac_compile) 2>&5
14537 ac_status=$?
14538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 (exit $ac_status); } &&
14540 { ac_try='test -s conftest.$ac_objext'
14541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14542 (eval $ac_try) 2>&5
14543 ac_status=$?
14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545 (exit $ac_status); }; }; then
14546 ac_hi=-1 ac_mid=-1
14547 while :; do
14548 cat >conftest.$ac_ext <<_ACEOF
14549#line $LINENO "configure"
14550/* confdefs.h. */
14551_ACEOF
14552cat confdefs.h >>conftest.$ac_ext
14553cat >>conftest.$ac_ext <<_ACEOF
14554/* end confdefs.h. */
14555$ac_includes_default
14556int
14557main ()
14558{
14559static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14560test_array [0] = 0
14561
14562 ;
14563 return 0;
14564}
14565_ACEOF
14566rm -f conftest.$ac_objext
14567if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14568 (eval $ac_compile) 2>&5
14569 ac_status=$?
14570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14571 (exit $ac_status); } &&
14572 { ac_try='test -s conftest.$ac_objext'
14573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14574 (eval $ac_try) 2>&5
14575 ac_status=$?
14576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 (exit $ac_status); }; }; then
14578 ac_lo=$ac_mid; break
14579else
14580 echo "$as_me: failed program was:" >&5
14581sed 's/^/| /' conftest.$ac_ext >&5
14582
14583ac_hi=`expr '(' $ac_mid ')' - 1`
14584 if test $ac_mid -le $ac_hi; then
14585 ac_lo= ac_hi=
14586 break
14587 fi
14588 ac_mid=`expr 2 '*' $ac_mid`
14589fi
14590rm -f conftest.$ac_objext conftest.$ac_ext
14591 done
14592else
14593 echo "$as_me: failed program was:" >&5
14594sed 's/^/| /' conftest.$ac_ext >&5
14595
14596ac_lo= ac_hi=
14597fi
14598rm -f conftest.$ac_objext conftest.$ac_ext
14599fi
14600rm -f conftest.$ac_objext conftest.$ac_ext
14601# Binary search between lo and hi bounds.
14602while test "x$ac_lo" != "x$ac_hi"; do
14603 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14604 cat >conftest.$ac_ext <<_ACEOF
14605#line $LINENO "configure"
14606/* confdefs.h. */
14607_ACEOF
14608cat confdefs.h >>conftest.$ac_ext
14609cat >>conftest.$ac_ext <<_ACEOF
14610/* end confdefs.h. */
14611$ac_includes_default
14612int
14613main ()
14614{
14615static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14616test_array [0] = 0
14617
14618 ;
14619 return 0;
14620}
14621_ACEOF
14622rm -f conftest.$ac_objext
14623if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14624 (eval $ac_compile) 2>&5
14625 ac_status=$?
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); } &&
14628 { ac_try='test -s conftest.$ac_objext'
14629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14630 (eval $ac_try) 2>&5
14631 ac_status=$?
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); }; }; then
14634 ac_hi=$ac_mid
14635else
14636 echo "$as_me: failed program was:" >&5
14637sed 's/^/| /' conftest.$ac_ext >&5
14638
14639ac_lo=`expr '(' $ac_mid ')' + 1`
14640fi
14641rm -f conftest.$ac_objext conftest.$ac_ext
14642done
14643case $ac_lo in
14644?*) ac_cv_sizeof_void_p=$ac_lo;;
14645'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14646See \`config.log' for more details." >&5
14647echo "$as_me: error: cannot compute sizeof (void *), 77
14648See \`config.log' for more details." >&2;}
14649 { (exit 1); exit 1; }; } ;;
14650esac
14651else
14652 if test "$cross_compiling" = yes; then
14653 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14654See \`config.log' for more details." >&5
14655echo "$as_me: error: cannot run test program while cross compiling
14656See \`config.log' for more details." >&2;}
14657 { (exit 1); exit 1; }; }
14658else
14659 cat >conftest.$ac_ext <<_ACEOF
14660#line $LINENO "configure"
14661/* confdefs.h. */
14662_ACEOF
14663cat confdefs.h >>conftest.$ac_ext
14664cat >>conftest.$ac_ext <<_ACEOF
14665/* end confdefs.h. */
14666$ac_includes_default
14667long longval () { return (long) (sizeof (void *)); }
14668unsigned long ulongval () { return (long) (sizeof (void *)); }
14669#include <stdio.h>
14670#include <stdlib.h>
14671int
14672main ()
14673{
14674
14675 FILE *f = fopen ("conftest.val", "w");
14676 if (! f)
14677 exit (1);
14678 if (((long) (sizeof (void *))) < 0)
14679 {
14680 long i = longval ();
14681 if (i != ((long) (sizeof (void *))))
14682 exit (1);
14683 fprintf (f, "%ld\n", i);
14684 }
14685 else
14686 {
14687 unsigned long i = ulongval ();
14688 if (i != ((long) (sizeof (void *))))
14689 exit (1);
14690 fprintf (f, "%lu\n", i);
14691 }
14692 exit (ferror (f) || fclose (f) != 0);
14693
14694 ;
14695 return 0;
14696}
14697_ACEOF
14698rm -f conftest$ac_exeext
14699if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14700 (eval $ac_link) 2>&5
14701 ac_status=$?
14702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14703 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14705 (eval $ac_try) 2>&5
14706 ac_status=$?
14707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14708 (exit $ac_status); }; }; then
14709 ac_cv_sizeof_void_p=`cat conftest.val`
14710else
14711 echo "$as_me: program exited with status $ac_status" >&5
14712echo "$as_me: failed program was:" >&5
14713sed 's/^/| /' conftest.$ac_ext >&5
14714
14715( exit $ac_status )
14716{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14717See \`config.log' for more details." >&5
14718echo "$as_me: error: cannot compute sizeof (void *), 77
14719See \`config.log' for more details." >&2;}
14720 { (exit 1); exit 1; }; }
14721fi
14722rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14723fi
14724fi
14725rm -f conftest.val
14726else
14727 ac_cv_sizeof_void_p=0
14728fi
14729fi
14730echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14731echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14732cat >>confdefs.h <<_ACEOF
14733#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14734_ACEOF
14735
14736
14737echo "$as_me:$LINENO: checking for int" >&5
14738echo $ECHO_N "checking for int... $ECHO_C" >&6
14739if test "${ac_cv_type_int+set}" = set; then
14740 echo $ECHO_N "(cached) $ECHO_C" >&6
14741else
14742 cat >conftest.$ac_ext <<_ACEOF
14743#line $LINENO "configure"
14744/* confdefs.h. */
14745_ACEOF
14746cat confdefs.h >>conftest.$ac_ext
14747cat >>conftest.$ac_ext <<_ACEOF
14748/* end confdefs.h. */
14749$ac_includes_default
14750int
14751main ()
14752{
14753if ((int *) 0)
14754 return 0;
14755if (sizeof (int))
14756 return 0;
14757 ;
14758 return 0;
14759}
14760_ACEOF
14761rm -f conftest.$ac_objext
14762if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14763 (eval $ac_compile) 2>&5
14764 ac_status=$?
14765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14766 (exit $ac_status); } &&
14767 { ac_try='test -s conftest.$ac_objext'
14768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14769 (eval $ac_try) 2>&5
14770 ac_status=$?
14771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14772 (exit $ac_status); }; }; then
14773 ac_cv_type_int=yes
14774else
14775 echo "$as_me: failed program was:" >&5
14776sed 's/^/| /' conftest.$ac_ext >&5
14777
14778ac_cv_type_int=no
14779fi
14780rm -f conftest.$ac_objext conftest.$ac_ext
14781fi
14782echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14783echo "${ECHO_T}$ac_cv_type_int" >&6
14784
14785echo "$as_me:$LINENO: checking size of int" >&5
14786echo $ECHO_N "checking size of int... $ECHO_C" >&6
14787if test "${ac_cv_sizeof_int+set}" = set; then
14788 echo $ECHO_N "(cached) $ECHO_C" >&6
14789else
14790 if test "$ac_cv_type_int" = yes; then
14791 # The cast to unsigned long works around a bug in the HP C Compiler
14792 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14793 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14794 # This bug is HP SR number 8606223364.
14795 if test "$cross_compiling" = yes; then
14796 # Depending upon the size, compute the lo and hi bounds.
14797cat >conftest.$ac_ext <<_ACEOF
14798#line $LINENO "configure"
14799/* confdefs.h. */
14800_ACEOF
14801cat confdefs.h >>conftest.$ac_ext
14802cat >>conftest.$ac_ext <<_ACEOF
14803/* end confdefs.h. */
14804$ac_includes_default
14805int
14806main ()
14807{
14808static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14809test_array [0] = 0
14810
14811 ;
14812 return 0;
14813}
14814_ACEOF
14815rm -f conftest.$ac_objext
14816if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14817 (eval $ac_compile) 2>&5
14818 ac_status=$?
14819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14820 (exit $ac_status); } &&
14821 { ac_try='test -s conftest.$ac_objext'
14822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14823 (eval $ac_try) 2>&5
14824 ac_status=$?
14825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14826 (exit $ac_status); }; }; then
14827 ac_lo=0 ac_mid=0
14828 while :; do
14829 cat >conftest.$ac_ext <<_ACEOF
14830#line $LINENO "configure"
14831/* confdefs.h. */
14832_ACEOF
14833cat confdefs.h >>conftest.$ac_ext
14834cat >>conftest.$ac_ext <<_ACEOF
14835/* end confdefs.h. */
14836$ac_includes_default
14837int
14838main ()
14839{
14840static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14841test_array [0] = 0
14842
14843 ;
14844 return 0;
14845}
14846_ACEOF
14847rm -f conftest.$ac_objext
14848if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14849 (eval $ac_compile) 2>&5
14850 ac_status=$?
14851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14852 (exit $ac_status); } &&
14853 { ac_try='test -s conftest.$ac_objext'
14854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14855 (eval $ac_try) 2>&5
14856 ac_status=$?
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); }; }; then
14859 ac_hi=$ac_mid; break
14860else
14861 echo "$as_me: failed program was:" >&5
14862sed 's/^/| /' conftest.$ac_ext >&5
14863
14864ac_lo=`expr $ac_mid + 1`
14865 if test $ac_lo -le $ac_mid; then
14866 ac_lo= ac_hi=
14867 break
14868 fi
14869 ac_mid=`expr 2 '*' $ac_mid + 1`
14870fi
14871rm -f conftest.$ac_objext conftest.$ac_ext
14872 done
14873else
14874 echo "$as_me: failed program was:" >&5
14875sed 's/^/| /' conftest.$ac_ext >&5
14876
14877cat >conftest.$ac_ext <<_ACEOF
14878#line $LINENO "configure"
14879/* confdefs.h. */
14880_ACEOF
14881cat confdefs.h >>conftest.$ac_ext
14882cat >>conftest.$ac_ext <<_ACEOF
14883/* end confdefs.h. */
14884$ac_includes_default
14885int
14886main ()
14887{
14888static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14889test_array [0] = 0
14890
14891 ;
14892 return 0;
14893}
14894_ACEOF
14895rm -f conftest.$ac_objext
14896if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14897 (eval $ac_compile) 2>&5
14898 ac_status=$?
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); } &&
14901 { ac_try='test -s conftest.$ac_objext'
14902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14903 (eval $ac_try) 2>&5
14904 ac_status=$?
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); }; }; then
14907 ac_hi=-1 ac_mid=-1
14908 while :; do
14909 cat >conftest.$ac_ext <<_ACEOF
14910#line $LINENO "configure"
14911/* confdefs.h. */
14912_ACEOF
14913cat confdefs.h >>conftest.$ac_ext
14914cat >>conftest.$ac_ext <<_ACEOF
14915/* end confdefs.h. */
14916$ac_includes_default
14917int
14918main ()
14919{
14920static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14921test_array [0] = 0
14922
14923 ;
14924 return 0;
14925}
14926_ACEOF
14927rm -f conftest.$ac_objext
14928if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14929 (eval $ac_compile) 2>&5
14930 ac_status=$?
14931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932 (exit $ac_status); } &&
14933 { ac_try='test -s conftest.$ac_objext'
14934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14935 (eval $ac_try) 2>&5
14936 ac_status=$?
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); }; }; then
14939 ac_lo=$ac_mid; break
14940else
14941 echo "$as_me: failed program was:" >&5
14942sed 's/^/| /' conftest.$ac_ext >&5
14943
14944ac_hi=`expr '(' $ac_mid ')' - 1`
14945 if test $ac_mid -le $ac_hi; then
14946 ac_lo= ac_hi=
14947 break
14948 fi
14949 ac_mid=`expr 2 '*' $ac_mid`
14950fi
14951rm -f conftest.$ac_objext conftest.$ac_ext
14952 done
14953else
14954 echo "$as_me: failed program was:" >&5
14955sed 's/^/| /' conftest.$ac_ext >&5
14956
14957ac_lo= ac_hi=
14958fi
14959rm -f conftest.$ac_objext conftest.$ac_ext
14960fi
14961rm -f conftest.$ac_objext conftest.$ac_ext
14962# Binary search between lo and hi bounds.
14963while test "x$ac_lo" != "x$ac_hi"; do
14964 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14965 cat >conftest.$ac_ext <<_ACEOF
14966#line $LINENO "configure"
14967/* confdefs.h. */
14968_ACEOF
14969cat confdefs.h >>conftest.$ac_ext
14970cat >>conftest.$ac_ext <<_ACEOF
14971/* end confdefs.h. */
14972$ac_includes_default
14973int
14974main ()
14975{
14976static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14977test_array [0] = 0
14978
14979 ;
14980 return 0;
14981}
14982_ACEOF
14983rm -f conftest.$ac_objext
14984if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14985 (eval $ac_compile) 2>&5
14986 ac_status=$?
14987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14988 (exit $ac_status); } &&
14989 { ac_try='test -s conftest.$ac_objext'
14990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14991 (eval $ac_try) 2>&5
14992 ac_status=$?
14993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14994 (exit $ac_status); }; }; then
14995 ac_hi=$ac_mid
14996else
14997 echo "$as_me: failed program was:" >&5
14998sed 's/^/| /' conftest.$ac_ext >&5
14999
15000ac_lo=`expr '(' $ac_mid ')' + 1`
15001fi
15002rm -f conftest.$ac_objext conftest.$ac_ext
15003done
15004case $ac_lo in
15005?*) ac_cv_sizeof_int=$ac_lo;;
15006'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15007See \`config.log' for more details." >&5
15008echo "$as_me: error: cannot compute sizeof (int), 77
15009See \`config.log' for more details." >&2;}
15010 { (exit 1); exit 1; }; } ;;
15011esac
15012else
15013 if test "$cross_compiling" = yes; then
15014 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15015See \`config.log' for more details." >&5
15016echo "$as_me: error: cannot run test program while cross compiling
15017See \`config.log' for more details." >&2;}
15018 { (exit 1); exit 1; }; }
15019else
15020 cat >conftest.$ac_ext <<_ACEOF
15021#line $LINENO "configure"
15022/* confdefs.h. */
15023_ACEOF
15024cat confdefs.h >>conftest.$ac_ext
15025cat >>conftest.$ac_ext <<_ACEOF
15026/* end confdefs.h. */
15027$ac_includes_default
15028long longval () { return (long) (sizeof (int)); }
15029unsigned long ulongval () { return (long) (sizeof (int)); }
15030#include <stdio.h>
15031#include <stdlib.h>
15032int
15033main ()
15034{
15035
15036 FILE *f = fopen ("conftest.val", "w");
15037 if (! f)
15038 exit (1);
15039 if (((long) (sizeof (int))) < 0)
15040 {
15041 long i = longval ();
15042 if (i != ((long) (sizeof (int))))
15043 exit (1);
15044 fprintf (f, "%ld\n", i);
15045 }
15046 else
15047 {
15048 unsigned long i = ulongval ();
15049 if (i != ((long) (sizeof (int))))
15050 exit (1);
15051 fprintf (f, "%lu\n", i);
15052 }
15053 exit (ferror (f) || fclose (f) != 0);
15054
15055 ;
15056 return 0;
15057}
15058_ACEOF
15059rm -f conftest$ac_exeext
15060if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15061 (eval $ac_link) 2>&5
15062 ac_status=$?
15063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15066 (eval $ac_try) 2>&5
15067 ac_status=$?
15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069 (exit $ac_status); }; }; then
15070 ac_cv_sizeof_int=`cat conftest.val`
15071else
15072 echo "$as_me: program exited with status $ac_status" >&5
15073echo "$as_me: failed program was:" >&5
15074sed 's/^/| /' conftest.$ac_ext >&5
15075
15076( exit $ac_status )
15077{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15078See \`config.log' for more details." >&5
15079echo "$as_me: error: cannot compute sizeof (int), 77
15080See \`config.log' for more details." >&2;}
15081 { (exit 1); exit 1; }; }
15082fi
15083rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15084fi
15085fi
15086rm -f conftest.val
15087else
15088 ac_cv_sizeof_int=0
15089fi
15090fi
15091echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15092echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15093cat >>confdefs.h <<_ACEOF
15094#define SIZEOF_INT $ac_cv_sizeof_int
15095_ACEOF
15096
15097
15098echo "$as_me:$LINENO: checking for long" >&5
15099echo $ECHO_N "checking for long... $ECHO_C" >&6
15100if test "${ac_cv_type_long+set}" = set; then
15101 echo $ECHO_N "(cached) $ECHO_C" >&6
15102else
15103 cat >conftest.$ac_ext <<_ACEOF
15104#line $LINENO "configure"
15105/* confdefs.h. */
15106_ACEOF
15107cat confdefs.h >>conftest.$ac_ext
15108cat >>conftest.$ac_ext <<_ACEOF
15109/* end confdefs.h. */
15110$ac_includes_default
15111int
15112main ()
15113{
15114if ((long *) 0)
15115 return 0;
15116if (sizeof (long))
15117 return 0;
15118 ;
15119 return 0;
15120}
15121_ACEOF
15122rm -f conftest.$ac_objext
15123if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15124 (eval $ac_compile) 2>&5
15125 ac_status=$?
15126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15127 (exit $ac_status); } &&
15128 { ac_try='test -s conftest.$ac_objext'
15129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15130 (eval $ac_try) 2>&5
15131 ac_status=$?
15132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15133 (exit $ac_status); }; }; then
15134 ac_cv_type_long=yes
15135else
15136 echo "$as_me: failed program was:" >&5
15137sed 's/^/| /' conftest.$ac_ext >&5
15138
15139ac_cv_type_long=no
15140fi
15141rm -f conftest.$ac_objext conftest.$ac_ext
15142fi
15143echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15144echo "${ECHO_T}$ac_cv_type_long" >&6
15145
15146echo "$as_me:$LINENO: checking size of long" >&5
15147echo $ECHO_N "checking size of long... $ECHO_C" >&6
15148if test "${ac_cv_sizeof_long+set}" = set; then
15149 echo $ECHO_N "(cached) $ECHO_C" >&6
15150else
15151 if test "$ac_cv_type_long" = yes; then
15152 # The cast to unsigned long works around a bug in the HP C Compiler
15153 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15154 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15155 # This bug is HP SR number 8606223364.
15156 if test "$cross_compiling" = yes; then
15157 # Depending upon the size, compute the lo and hi bounds.
15158cat >conftest.$ac_ext <<_ACEOF
15159#line $LINENO "configure"
15160/* confdefs.h. */
15161_ACEOF
15162cat confdefs.h >>conftest.$ac_ext
15163cat >>conftest.$ac_ext <<_ACEOF
15164/* end confdefs.h. */
15165$ac_includes_default
15166int
15167main ()
15168{
15169static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15170test_array [0] = 0
15171
15172 ;
15173 return 0;
15174}
15175_ACEOF
15176rm -f conftest.$ac_objext
15177if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15178 (eval $ac_compile) 2>&5
15179 ac_status=$?
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); } &&
15182 { ac_try='test -s conftest.$ac_objext'
15183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15184 (eval $ac_try) 2>&5
15185 ac_status=$?
15186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15187 (exit $ac_status); }; }; then
15188 ac_lo=0 ac_mid=0
15189 while :; do
15190 cat >conftest.$ac_ext <<_ACEOF
15191#line $LINENO "configure"
15192/* confdefs.h. */
15193_ACEOF
15194cat confdefs.h >>conftest.$ac_ext
15195cat >>conftest.$ac_ext <<_ACEOF
15196/* end confdefs.h. */
15197$ac_includes_default
15198int
15199main ()
15200{
15201static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15202test_array [0] = 0
15203
15204 ;
15205 return 0;
15206}
15207_ACEOF
15208rm -f conftest.$ac_objext
15209if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15210 (eval $ac_compile) 2>&5
15211 ac_status=$?
15212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15213 (exit $ac_status); } &&
15214 { ac_try='test -s conftest.$ac_objext'
15215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15216 (eval $ac_try) 2>&5
15217 ac_status=$?
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); }; }; then
15220 ac_hi=$ac_mid; break
15221else
15222 echo "$as_me: failed program was:" >&5
15223sed 's/^/| /' conftest.$ac_ext >&5
15224
15225ac_lo=`expr $ac_mid + 1`
15226 if test $ac_lo -le $ac_mid; then
15227 ac_lo= ac_hi=
15228 break
15229 fi
15230 ac_mid=`expr 2 '*' $ac_mid + 1`
15231fi
15232rm -f conftest.$ac_objext conftest.$ac_ext
15233 done
15234else
15235 echo "$as_me: failed program was:" >&5
15236sed 's/^/| /' conftest.$ac_ext >&5
15237
15238cat >conftest.$ac_ext <<_ACEOF
15239#line $LINENO "configure"
15240/* confdefs.h. */
15241_ACEOF
15242cat confdefs.h >>conftest.$ac_ext
15243cat >>conftest.$ac_ext <<_ACEOF
15244/* end confdefs.h. */
15245$ac_includes_default
15246int
15247main ()
15248{
15249static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15250test_array [0] = 0
15251
15252 ;
15253 return 0;
15254}
15255_ACEOF
15256rm -f conftest.$ac_objext
15257if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15258 (eval $ac_compile) 2>&5
15259 ac_status=$?
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); } &&
15262 { ac_try='test -s conftest.$ac_objext'
15263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15264 (eval $ac_try) 2>&5
15265 ac_status=$?
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); }; }; then
15268 ac_hi=-1 ac_mid=-1
15269 while :; do
15270 cat >conftest.$ac_ext <<_ACEOF
15271#line $LINENO "configure"
15272/* confdefs.h. */
15273_ACEOF
15274cat confdefs.h >>conftest.$ac_ext
15275cat >>conftest.$ac_ext <<_ACEOF
15276/* end confdefs.h. */
15277$ac_includes_default
15278int
15279main ()
15280{
15281static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15282test_array [0] = 0
15283
15284 ;
15285 return 0;
15286}
15287_ACEOF
15288rm -f conftest.$ac_objext
15289if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15290 (eval $ac_compile) 2>&5
15291 ac_status=$?
15292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15293 (exit $ac_status); } &&
15294 { ac_try='test -s conftest.$ac_objext'
15295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15296 (eval $ac_try) 2>&5
15297 ac_status=$?
15298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299 (exit $ac_status); }; }; then
15300 ac_lo=$ac_mid; break
15301else
15302 echo "$as_me: failed program was:" >&5
15303sed 's/^/| /' conftest.$ac_ext >&5
15304
15305ac_hi=`expr '(' $ac_mid ')' - 1`
15306 if test $ac_mid -le $ac_hi; then
15307 ac_lo= ac_hi=
15308 break
15309 fi
15310 ac_mid=`expr 2 '*' $ac_mid`
15311fi
15312rm -f conftest.$ac_objext conftest.$ac_ext
15313 done
15314else
15315 echo "$as_me: failed program was:" >&5
15316sed 's/^/| /' conftest.$ac_ext >&5
15317
15318ac_lo= ac_hi=
15319fi
15320rm -f conftest.$ac_objext conftest.$ac_ext
15321fi
15322rm -f conftest.$ac_objext conftest.$ac_ext
15323# Binary search between lo and hi bounds.
15324while test "x$ac_lo" != "x$ac_hi"; do
15325 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15326 cat >conftest.$ac_ext <<_ACEOF
15327#line $LINENO "configure"
15328/* confdefs.h. */
15329_ACEOF
15330cat confdefs.h >>conftest.$ac_ext
15331cat >>conftest.$ac_ext <<_ACEOF
15332/* end confdefs.h. */
15333$ac_includes_default
15334int
15335main ()
15336{
15337static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15338test_array [0] = 0
15339
15340 ;
15341 return 0;
15342}
15343_ACEOF
15344rm -f conftest.$ac_objext
15345if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15346 (eval $ac_compile) 2>&5
15347 ac_status=$?
15348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15349 (exit $ac_status); } &&
15350 { ac_try='test -s conftest.$ac_objext'
15351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15352 (eval $ac_try) 2>&5
15353 ac_status=$?
15354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15355 (exit $ac_status); }; }; then
15356 ac_hi=$ac_mid
15357else
15358 echo "$as_me: failed program was:" >&5
15359sed 's/^/| /' conftest.$ac_ext >&5
15360
15361ac_lo=`expr '(' $ac_mid ')' + 1`
15362fi
15363rm -f conftest.$ac_objext conftest.$ac_ext
15364done
15365case $ac_lo in
15366?*) ac_cv_sizeof_long=$ac_lo;;
15367'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15368See \`config.log' for more details." >&5
15369echo "$as_me: error: cannot compute sizeof (long), 77
15370See \`config.log' for more details." >&2;}
15371 { (exit 1); exit 1; }; } ;;
15372esac
15373else
15374 if test "$cross_compiling" = yes; then
15375 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15376See \`config.log' for more details." >&5
15377echo "$as_me: error: cannot run test program while cross compiling
15378See \`config.log' for more details." >&2;}
15379 { (exit 1); exit 1; }; }
15380else
15381 cat >conftest.$ac_ext <<_ACEOF
15382#line $LINENO "configure"
15383/* confdefs.h. */
15384_ACEOF
15385cat confdefs.h >>conftest.$ac_ext
15386cat >>conftest.$ac_ext <<_ACEOF
15387/* end confdefs.h. */
15388$ac_includes_default
15389long longval () { return (long) (sizeof (long)); }
15390unsigned long ulongval () { return (long) (sizeof (long)); }
15391#include <stdio.h>
15392#include <stdlib.h>
15393int
15394main ()
15395{
15396
15397 FILE *f = fopen ("conftest.val", "w");
15398 if (! f)
15399 exit (1);
15400 if (((long) (sizeof (long))) < 0)
15401 {
15402 long i = longval ();
15403 if (i != ((long) (sizeof (long))))
15404 exit (1);
15405 fprintf (f, "%ld\n", i);
15406 }
15407 else
15408 {
15409 unsigned long i = ulongval ();
15410 if (i != ((long) (sizeof (long))))
15411 exit (1);
15412 fprintf (f, "%lu\n", i);
15413 }
15414 exit (ferror (f) || fclose (f) != 0);
15415
15416 ;
15417 return 0;
15418}
15419_ACEOF
15420rm -f conftest$ac_exeext
15421if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15422 (eval $ac_link) 2>&5
15423 ac_status=$?
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15427 (eval $ac_try) 2>&5
15428 ac_status=$?
15429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430 (exit $ac_status); }; }; then
15431 ac_cv_sizeof_long=`cat conftest.val`
15432else
15433 echo "$as_me: program exited with status $ac_status" >&5
15434echo "$as_me: failed program was:" >&5
15435sed 's/^/| /' conftest.$ac_ext >&5
15436
15437( exit $ac_status )
15438{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15439See \`config.log' for more details." >&5
15440echo "$as_me: error: cannot compute sizeof (long), 77
15441See \`config.log' for more details." >&2;}
15442 { (exit 1); exit 1; }; }
15443fi
15444rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15445fi
15446fi
15447rm -f conftest.val
15448else
15449 ac_cv_sizeof_long=0
15450fi
15451fi
15452echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15453echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15454cat >>confdefs.h <<_ACEOF
15455#define SIZEOF_LONG $ac_cv_sizeof_long
15456_ACEOF
15457
15458
15459
15460case "${host}" in
15461 arm-*-linux* )
15462 echo "$as_me:$LINENO: checking for long long" >&5
15463echo $ECHO_N "checking for long long... $ECHO_C" >&6
15464if test "${ac_cv_type_long_long+set}" = set; then
15465 echo $ECHO_N "(cached) $ECHO_C" >&6
15466else
15467 cat >conftest.$ac_ext <<_ACEOF
15468#line $LINENO "configure"
15469/* confdefs.h. */
15470_ACEOF
15471cat confdefs.h >>conftest.$ac_ext
15472cat >>conftest.$ac_ext <<_ACEOF
15473/* end confdefs.h. */
15474$ac_includes_default
15475int
15476main ()
15477{
15478if ((long long *) 0)
15479 return 0;
15480if (sizeof (long long))
15481 return 0;
15482 ;
15483 return 0;
15484}
15485_ACEOF
15486rm -f conftest.$ac_objext
15487if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15488 (eval $ac_compile) 2>&5
15489 ac_status=$?
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); } &&
15492 { ac_try='test -s conftest.$ac_objext'
15493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15494 (eval $ac_try) 2>&5
15495 ac_status=$?
15496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15497 (exit $ac_status); }; }; then
15498 ac_cv_type_long_long=yes
15499else
15500 echo "$as_me: failed program was:" >&5
15501sed 's/^/| /' conftest.$ac_ext >&5
15502
15503ac_cv_type_long_long=no
15504fi
15505rm -f conftest.$ac_objext conftest.$ac_ext
15506fi
15507echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15508echo "${ECHO_T}$ac_cv_type_long_long" >&6
15509
15510echo "$as_me:$LINENO: checking size of long long" >&5
15511echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15512if test "${ac_cv_sizeof_long_long+set}" = set; then
15513 echo $ECHO_N "(cached) $ECHO_C" >&6
15514else
15515 if test "$ac_cv_type_long_long" = yes; then
15516 # The cast to unsigned long works around a bug in the HP C Compiler
15517 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15518 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15519 # This bug is HP SR number 8606223364.
15520 if test "$cross_compiling" = yes; then
15521 # Depending upon the size, compute the lo and hi bounds.
15522cat >conftest.$ac_ext <<_ACEOF
15523#line $LINENO "configure"
15524/* confdefs.h. */
15525_ACEOF
15526cat confdefs.h >>conftest.$ac_ext
15527cat >>conftest.$ac_ext <<_ACEOF
15528/* end confdefs.h. */
15529$ac_includes_default
15530int
15531main ()
15532{
15533static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15534test_array [0] = 0
15535
15536 ;
15537 return 0;
15538}
15539_ACEOF
15540rm -f conftest.$ac_objext
15541if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15542 (eval $ac_compile) 2>&5
15543 ac_status=$?
15544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545 (exit $ac_status); } &&
15546 { ac_try='test -s conftest.$ac_objext'
15547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15548 (eval $ac_try) 2>&5
15549 ac_status=$?
15550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15551 (exit $ac_status); }; }; then
15552 ac_lo=0 ac_mid=0
15553 while :; do
15554 cat >conftest.$ac_ext <<_ACEOF
15555#line $LINENO "configure"
15556/* confdefs.h. */
15557_ACEOF
15558cat confdefs.h >>conftest.$ac_ext
15559cat >>conftest.$ac_ext <<_ACEOF
15560/* end confdefs.h. */
15561$ac_includes_default
15562int
15563main ()
15564{
15565static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15566test_array [0] = 0
15567
15568 ;
15569 return 0;
15570}
15571_ACEOF
15572rm -f conftest.$ac_objext
15573if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15574 (eval $ac_compile) 2>&5
15575 ac_status=$?
15576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577 (exit $ac_status); } &&
15578 { ac_try='test -s conftest.$ac_objext'
15579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15580 (eval $ac_try) 2>&5
15581 ac_status=$?
15582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583 (exit $ac_status); }; }; then
15584 ac_hi=$ac_mid; break
15585else
15586 echo "$as_me: failed program was:" >&5
15587sed 's/^/| /' conftest.$ac_ext >&5
15588
15589ac_lo=`expr $ac_mid + 1`
15590 if test $ac_lo -le $ac_mid; then
15591 ac_lo= ac_hi=
15592 break
15593 fi
15594 ac_mid=`expr 2 '*' $ac_mid + 1`
15595fi
15596rm -f conftest.$ac_objext conftest.$ac_ext
15597 done
15598else
15599 echo "$as_me: failed program was:" >&5
15600sed 's/^/| /' conftest.$ac_ext >&5
15601
15602cat >conftest.$ac_ext <<_ACEOF
15603#line $LINENO "configure"
15604/* confdefs.h. */
15605_ACEOF
15606cat confdefs.h >>conftest.$ac_ext
15607cat >>conftest.$ac_ext <<_ACEOF
15608/* end confdefs.h. */
15609$ac_includes_default
15610int
15611main ()
15612{
15613static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15614test_array [0] = 0
15615
15616 ;
15617 return 0;
15618}
15619_ACEOF
15620rm -f conftest.$ac_objext
15621if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15622 (eval $ac_compile) 2>&5
15623 ac_status=$?
15624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15625 (exit $ac_status); } &&
15626 { ac_try='test -s conftest.$ac_objext'
15627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15628 (eval $ac_try) 2>&5
15629 ac_status=$?
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); }; }; then
15632 ac_hi=-1 ac_mid=-1
15633 while :; do
15634 cat >conftest.$ac_ext <<_ACEOF
15635#line $LINENO "configure"
15636/* confdefs.h. */
15637_ACEOF
15638cat confdefs.h >>conftest.$ac_ext
15639cat >>conftest.$ac_ext <<_ACEOF
15640/* end confdefs.h. */
15641$ac_includes_default
15642int
15643main ()
15644{
15645static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15646test_array [0] = 0
15647
15648 ;
15649 return 0;
15650}
15651_ACEOF
15652rm -f conftest.$ac_objext
15653if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15654 (eval $ac_compile) 2>&5
15655 ac_status=$?
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); } &&
15658 { ac_try='test -s conftest.$ac_objext'
15659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15660 (eval $ac_try) 2>&5
15661 ac_status=$?
15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 (exit $ac_status); }; }; then
15664 ac_lo=$ac_mid; break
15665else
15666 echo "$as_me: failed program was:" >&5
15667sed 's/^/| /' conftest.$ac_ext >&5
15668
15669ac_hi=`expr '(' $ac_mid ')' - 1`
15670 if test $ac_mid -le $ac_hi; then
15671 ac_lo= ac_hi=
15672 break
15673 fi
15674 ac_mid=`expr 2 '*' $ac_mid`
15675fi
15676rm -f conftest.$ac_objext conftest.$ac_ext
15677 done
15678else
15679 echo "$as_me: failed program was:" >&5
15680sed 's/^/| /' conftest.$ac_ext >&5
15681
15682ac_lo= ac_hi=
15683fi
15684rm -f conftest.$ac_objext conftest.$ac_ext
15685fi
15686rm -f conftest.$ac_objext conftest.$ac_ext
15687# Binary search between lo and hi bounds.
15688while test "x$ac_lo" != "x$ac_hi"; do
15689 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15690 cat >conftest.$ac_ext <<_ACEOF
15691#line $LINENO "configure"
15692/* confdefs.h. */
15693_ACEOF
15694cat confdefs.h >>conftest.$ac_ext
15695cat >>conftest.$ac_ext <<_ACEOF
15696/* end confdefs.h. */
15697$ac_includes_default
15698int
15699main ()
15700{
15701static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15702test_array [0] = 0
15703
15704 ;
15705 return 0;
15706}
15707_ACEOF
15708rm -f conftest.$ac_objext
15709if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15710 (eval $ac_compile) 2>&5
15711 ac_status=$?
15712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713 (exit $ac_status); } &&
15714 { ac_try='test -s conftest.$ac_objext'
15715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15716 (eval $ac_try) 2>&5
15717 ac_status=$?
15718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15719 (exit $ac_status); }; }; then
15720 ac_hi=$ac_mid
15721else
15722 echo "$as_me: failed program was:" >&5
15723sed 's/^/| /' conftest.$ac_ext >&5
15724
15725ac_lo=`expr '(' $ac_mid ')' + 1`
15726fi
15727rm -f conftest.$ac_objext conftest.$ac_ext
15728done
15729case $ac_lo in
15730?*) ac_cv_sizeof_long_long=$ac_lo;;
15731'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15732See \`config.log' for more details." >&5
15733echo "$as_me: error: cannot compute sizeof (long long), 77
15734See \`config.log' for more details." >&2;}
15735 { (exit 1); exit 1; }; } ;;
15736esac
15737else
15738 if test "$cross_compiling" = yes; then
15739 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15740See \`config.log' for more details." >&5
15741echo "$as_me: error: cannot run test program while cross compiling
15742See \`config.log' for more details." >&2;}
15743 { (exit 1); exit 1; }; }
15744else
15745 cat >conftest.$ac_ext <<_ACEOF
15746#line $LINENO "configure"
15747/* confdefs.h. */
15748_ACEOF
15749cat confdefs.h >>conftest.$ac_ext
15750cat >>conftest.$ac_ext <<_ACEOF
15751/* end confdefs.h. */
15752$ac_includes_default
15753long longval () { return (long) (sizeof (long long)); }
15754unsigned long ulongval () { return (long) (sizeof (long long)); }
15755#include <stdio.h>
15756#include <stdlib.h>
15757int
15758main ()
15759{
15760
15761 FILE *f = fopen ("conftest.val", "w");
15762 if (! f)
15763 exit (1);
15764 if (((long) (sizeof (long long))) < 0)
15765 {
15766 long i = longval ();
15767 if (i != ((long) (sizeof (long long))))
15768 exit (1);
15769 fprintf (f, "%ld\n", i);
15770 }
15771 else
15772 {
15773 unsigned long i = ulongval ();
15774 if (i != ((long) (sizeof (long long))))
15775 exit (1);
15776 fprintf (f, "%lu\n", i);
15777 }
15778 exit (ferror (f) || fclose (f) != 0);
15779
15780 ;
15781 return 0;
15782}
15783_ACEOF
15784rm -f conftest$ac_exeext
15785if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15786 (eval $ac_link) 2>&5
15787 ac_status=$?
15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15791 (eval $ac_try) 2>&5
15792 ac_status=$?
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); }; }; then
15795 ac_cv_sizeof_long_long=`cat conftest.val`
15796else
15797 echo "$as_me: program exited with status $ac_status" >&5
15798echo "$as_me: failed program was:" >&5
15799sed 's/^/| /' conftest.$ac_ext >&5
15800
15801( exit $ac_status )
15802{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15803See \`config.log' for more details." >&5
15804echo "$as_me: error: cannot compute sizeof (long long), 77
15805See \`config.log' for more details." >&2;}
15806 { (exit 1); exit 1; }; }
15807fi
15808rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15809fi
15810fi
15811rm -f conftest.val
15812else
15813 ac_cv_sizeof_long_long=0
15814fi
15815fi
15816echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15817echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15818cat >>confdefs.h <<_ACEOF
15819#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15820_ACEOF
15821
15822
15823 ;;
15824 *-hp-hpux* )
15825 echo "$as_me:$LINENO: checking for long long" >&5
15826echo $ECHO_N "checking for long long... $ECHO_C" >&6
15827if test "${ac_cv_type_long_long+set}" = set; then
15828 echo $ECHO_N "(cached) $ECHO_C" >&6
15829else
15830 cat >conftest.$ac_ext <<_ACEOF
15831#line $LINENO "configure"
15832/* confdefs.h. */
15833_ACEOF
15834cat confdefs.h >>conftest.$ac_ext
15835cat >>conftest.$ac_ext <<_ACEOF
15836/* end confdefs.h. */
15837$ac_includes_default
15838int
15839main ()
15840{
15841if ((long long *) 0)
15842 return 0;
15843if (sizeof (long long))
15844 return 0;
15845 ;
15846 return 0;
15847}
15848_ACEOF
15849rm -f conftest.$ac_objext
15850if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15851 (eval $ac_compile) 2>&5
15852 ac_status=$?
15853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15854 (exit $ac_status); } &&
15855 { ac_try='test -s conftest.$ac_objext'
15856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15857 (eval $ac_try) 2>&5
15858 ac_status=$?
15859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15860 (exit $ac_status); }; }; then
15861 ac_cv_type_long_long=yes
15862else
15863 echo "$as_me: failed program was:" >&5
15864sed 's/^/| /' conftest.$ac_ext >&5
15865
15866ac_cv_type_long_long=no
15867fi
15868rm -f conftest.$ac_objext conftest.$ac_ext
15869fi
15870echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15871echo "${ECHO_T}$ac_cv_type_long_long" >&6
15872
15873echo "$as_me:$LINENO: checking size of long long" >&5
15874echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15875if test "${ac_cv_sizeof_long_long+set}" = set; then
15876 echo $ECHO_N "(cached) $ECHO_C" >&6
15877else
15878 if test "$ac_cv_type_long_long" = yes; then
15879 # The cast to unsigned long works around a bug in the HP C Compiler
15880 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15881 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15882 # This bug is HP SR number 8606223364.
15883 if test "$cross_compiling" = yes; then
15884 # Depending upon the size, compute the lo and hi bounds.
15885cat >conftest.$ac_ext <<_ACEOF
15886#line $LINENO "configure"
15887/* confdefs.h. */
15888_ACEOF
15889cat confdefs.h >>conftest.$ac_ext
15890cat >>conftest.$ac_ext <<_ACEOF
15891/* end confdefs.h. */
15892$ac_includes_default
15893int
15894main ()
15895{
15896static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15897test_array [0] = 0
15898
15899 ;
15900 return 0;
15901}
15902_ACEOF
15903rm -f conftest.$ac_objext
15904if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15905 (eval $ac_compile) 2>&5
15906 ac_status=$?
15907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15908 (exit $ac_status); } &&
15909 { ac_try='test -s conftest.$ac_objext'
15910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15911 (eval $ac_try) 2>&5
15912 ac_status=$?
15913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15914 (exit $ac_status); }; }; then
15915 ac_lo=0 ac_mid=0
15916 while :; do
15917 cat >conftest.$ac_ext <<_ACEOF
15918#line $LINENO "configure"
15919/* confdefs.h. */
15920_ACEOF
15921cat confdefs.h >>conftest.$ac_ext
15922cat >>conftest.$ac_ext <<_ACEOF
15923/* end confdefs.h. */
15924$ac_includes_default
15925int
15926main ()
15927{
15928static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15929test_array [0] = 0
15930
15931 ;
15932 return 0;
15933}
15934_ACEOF
15935rm -f conftest.$ac_objext
15936if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15937 (eval $ac_compile) 2>&5
15938 ac_status=$?
15939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15940 (exit $ac_status); } &&
15941 { ac_try='test -s conftest.$ac_objext'
15942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15943 (eval $ac_try) 2>&5
15944 ac_status=$?
15945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15946 (exit $ac_status); }; }; then
15947 ac_hi=$ac_mid; break
15948else
15949 echo "$as_me: failed program was:" >&5
15950sed 's/^/| /' conftest.$ac_ext >&5
15951
15952ac_lo=`expr $ac_mid + 1`
15953 if test $ac_lo -le $ac_mid; then
15954 ac_lo= ac_hi=
15955 break
15956 fi
15957 ac_mid=`expr 2 '*' $ac_mid + 1`
15958fi
15959rm -f conftest.$ac_objext conftest.$ac_ext
15960 done
15961else
15962 echo "$as_me: failed program was:" >&5
15963sed 's/^/| /' conftest.$ac_ext >&5
15964
15965cat >conftest.$ac_ext <<_ACEOF
15966#line $LINENO "configure"
15967/* confdefs.h. */
15968_ACEOF
15969cat confdefs.h >>conftest.$ac_ext
15970cat >>conftest.$ac_ext <<_ACEOF
15971/* end confdefs.h. */
15972$ac_includes_default
15973int
15974main ()
15975{
15976static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15977test_array [0] = 0
15978
15979 ;
15980 return 0;
15981}
15982_ACEOF
15983rm -f conftest.$ac_objext
15984if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15985 (eval $ac_compile) 2>&5
15986 ac_status=$?
15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); } &&
15989 { ac_try='test -s conftest.$ac_objext'
15990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15991 (eval $ac_try) 2>&5
15992 ac_status=$?
15993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15994 (exit $ac_status); }; }; then
15995 ac_hi=-1 ac_mid=-1
15996 while :; do
15997 cat >conftest.$ac_ext <<_ACEOF
15998#line $LINENO "configure"
15999/* confdefs.h. */
16000_ACEOF
16001cat confdefs.h >>conftest.$ac_ext
16002cat >>conftest.$ac_ext <<_ACEOF
16003/* end confdefs.h. */
16004$ac_includes_default
16005int
16006main ()
16007{
16008static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16009test_array [0] = 0
16010
16011 ;
16012 return 0;
16013}
16014_ACEOF
16015rm -f conftest.$ac_objext
16016if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16017 (eval $ac_compile) 2>&5
16018 ac_status=$?
16019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); } &&
16021 { ac_try='test -s conftest.$ac_objext'
16022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16023 (eval $ac_try) 2>&5
16024 ac_status=$?
16025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026 (exit $ac_status); }; }; then
16027 ac_lo=$ac_mid; break
16028else
16029 echo "$as_me: failed program was:" >&5
16030sed 's/^/| /' conftest.$ac_ext >&5
16031
16032ac_hi=`expr '(' $ac_mid ')' - 1`
16033 if test $ac_mid -le $ac_hi; then
16034 ac_lo= ac_hi=
16035 break
16036 fi
16037 ac_mid=`expr 2 '*' $ac_mid`
16038fi
16039rm -f conftest.$ac_objext conftest.$ac_ext
16040 done
16041else
16042 echo "$as_me: failed program was:" >&5
16043sed 's/^/| /' conftest.$ac_ext >&5
16044
16045ac_lo= ac_hi=
16046fi
16047rm -f conftest.$ac_objext conftest.$ac_ext
16048fi
16049rm -f conftest.$ac_objext conftest.$ac_ext
16050# Binary search between lo and hi bounds.
16051while test "x$ac_lo" != "x$ac_hi"; do
16052 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16053 cat >conftest.$ac_ext <<_ACEOF
16054#line $LINENO "configure"
16055/* confdefs.h. */
16056_ACEOF
16057cat confdefs.h >>conftest.$ac_ext
16058cat >>conftest.$ac_ext <<_ACEOF
16059/* end confdefs.h. */
16060$ac_includes_default
16061int
16062main ()
16063{
16064static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16065test_array [0] = 0
16066
16067 ;
16068 return 0;
16069}
16070_ACEOF
16071rm -f conftest.$ac_objext
16072if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16073 (eval $ac_compile) 2>&5
16074 ac_status=$?
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); } &&
16077 { ac_try='test -s conftest.$ac_objext'
16078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16079 (eval $ac_try) 2>&5
16080 ac_status=$?
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); }; }; then
16083 ac_hi=$ac_mid
16084else
16085 echo "$as_me: failed program was:" >&5
16086sed 's/^/| /' conftest.$ac_ext >&5
16087
16088ac_lo=`expr '(' $ac_mid ')' + 1`
16089fi
16090rm -f conftest.$ac_objext conftest.$ac_ext
16091done
16092case $ac_lo in
16093?*) ac_cv_sizeof_long_long=$ac_lo;;
16094'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16095See \`config.log' for more details." >&5
16096echo "$as_me: error: cannot compute sizeof (long long), 77
16097See \`config.log' for more details." >&2;}
16098 { (exit 1); exit 1; }; } ;;
16099esac
16100else
16101 if test "$cross_compiling" = yes; then
16102 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16103See \`config.log' for more details." >&5
16104echo "$as_me: error: cannot run test program while cross compiling
16105See \`config.log' for more details." >&2;}
16106 { (exit 1); exit 1; }; }
16107else
16108 cat >conftest.$ac_ext <<_ACEOF
16109#line $LINENO "configure"
16110/* confdefs.h. */
16111_ACEOF
16112cat confdefs.h >>conftest.$ac_ext
16113cat >>conftest.$ac_ext <<_ACEOF
16114/* end confdefs.h. */
16115$ac_includes_default
16116long longval () { return (long) (sizeof (long long)); }
16117unsigned long ulongval () { return (long) (sizeof (long long)); }
16118#include <stdio.h>
16119#include <stdlib.h>
16120int
16121main ()
16122{
16123
16124 FILE *f = fopen ("conftest.val", "w");
16125 if (! f)
16126 exit (1);
16127 if (((long) (sizeof (long long))) < 0)
16128 {
16129 long i = longval ();
16130 if (i != ((long) (sizeof (long long))))
16131 exit (1);
16132 fprintf (f, "%ld\n", i);
16133 }
16134 else
16135 {
16136 unsigned long i = ulongval ();
16137 if (i != ((long) (sizeof (long long))))
16138 exit (1);
16139 fprintf (f, "%lu\n", i);
16140 }
16141 exit (ferror (f) || fclose (f) != 0);
16142
16143 ;
16144 return 0;
16145}
16146_ACEOF
16147rm -f conftest$ac_exeext
16148if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16149 (eval $ac_link) 2>&5
16150 ac_status=$?
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16154 (eval $ac_try) 2>&5
16155 ac_status=$?
16156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16157 (exit $ac_status); }; }; then
16158 ac_cv_sizeof_long_long=`cat conftest.val`
16159else
16160 echo "$as_me: program exited with status $ac_status" >&5
16161echo "$as_me: failed program was:" >&5
16162sed 's/^/| /' conftest.$ac_ext >&5
16163
16164( exit $ac_status )
16165{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16166See \`config.log' for more details." >&5
16167echo "$as_me: error: cannot compute sizeof (long long), 77
16168See \`config.log' for more details." >&2;}
16169 { (exit 1); exit 1; }; }
16170fi
16171rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16172fi
16173fi
16174rm -f conftest.val
16175else
16176 ac_cv_sizeof_long_long=0
16177fi
16178fi
16179echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16180echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16181cat >>confdefs.h <<_ACEOF
16182#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16183_ACEOF
16184
16185
16186 if test "$ac_cv_sizeof_long_long" != "0"; then
16187 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16188 fi
16189 ;;
16190 * )
16191 echo "$as_me:$LINENO: checking for long long" >&5
16192echo $ECHO_N "checking for long long... $ECHO_C" >&6
16193if test "${ac_cv_type_long_long+set}" = set; then
16194 echo $ECHO_N "(cached) $ECHO_C" >&6
16195else
16196 cat >conftest.$ac_ext <<_ACEOF
16197#line $LINENO "configure"
16198/* confdefs.h. */
16199_ACEOF
16200cat confdefs.h >>conftest.$ac_ext
16201cat >>conftest.$ac_ext <<_ACEOF
16202/* end confdefs.h. */
16203$ac_includes_default
16204int
16205main ()
16206{
16207if ((long long *) 0)
16208 return 0;
16209if (sizeof (long long))
16210 return 0;
16211 ;
16212 return 0;
16213}
16214_ACEOF
16215rm -f conftest.$ac_objext
16216if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16217 (eval $ac_compile) 2>&5
16218 ac_status=$?
16219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220 (exit $ac_status); } &&
16221 { ac_try='test -s conftest.$ac_objext'
16222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16223 (eval $ac_try) 2>&5
16224 ac_status=$?
16225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16226 (exit $ac_status); }; }; then
16227 ac_cv_type_long_long=yes
16228else
16229 echo "$as_me: failed program was:" >&5
16230sed 's/^/| /' conftest.$ac_ext >&5
16231
16232ac_cv_type_long_long=no
16233fi
16234rm -f conftest.$ac_objext conftest.$ac_ext
16235fi
16236echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16237echo "${ECHO_T}$ac_cv_type_long_long" >&6
16238
16239echo "$as_me:$LINENO: checking size of long long" >&5
16240echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16241if test "${ac_cv_sizeof_long_long+set}" = set; then
16242 echo $ECHO_N "(cached) $ECHO_C" >&6
16243else
16244 if test "$ac_cv_type_long_long" = yes; then
16245 # The cast to unsigned long works around a bug in the HP C Compiler
16246 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16247 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16248 # This bug is HP SR number 8606223364.
16249 if test "$cross_compiling" = yes; then
16250 # Depending upon the size, compute the lo and hi bounds.
16251cat >conftest.$ac_ext <<_ACEOF
16252#line $LINENO "configure"
16253/* confdefs.h. */
16254_ACEOF
16255cat confdefs.h >>conftest.$ac_ext
16256cat >>conftest.$ac_ext <<_ACEOF
16257/* end confdefs.h. */
16258$ac_includes_default
16259int
16260main ()
16261{
16262static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16263test_array [0] = 0
16264
16265 ;
16266 return 0;
16267}
16268_ACEOF
16269rm -f conftest.$ac_objext
16270if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16271 (eval $ac_compile) 2>&5
16272 ac_status=$?
16273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16274 (exit $ac_status); } &&
16275 { ac_try='test -s conftest.$ac_objext'
16276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16277 (eval $ac_try) 2>&5
16278 ac_status=$?
16279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16280 (exit $ac_status); }; }; then
16281 ac_lo=0 ac_mid=0
16282 while :; do
16283 cat >conftest.$ac_ext <<_ACEOF
16284#line $LINENO "configure"
16285/* confdefs.h. */
16286_ACEOF
16287cat confdefs.h >>conftest.$ac_ext
16288cat >>conftest.$ac_ext <<_ACEOF
16289/* end confdefs.h. */
16290$ac_includes_default
16291int
16292main ()
16293{
16294static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16295test_array [0] = 0
16296
16297 ;
16298 return 0;
16299}
16300_ACEOF
16301rm -f conftest.$ac_objext
16302if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16303 (eval $ac_compile) 2>&5
16304 ac_status=$?
16305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16306 (exit $ac_status); } &&
16307 { ac_try='test -s conftest.$ac_objext'
16308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16309 (eval $ac_try) 2>&5
16310 ac_status=$?
16311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16312 (exit $ac_status); }; }; then
16313 ac_hi=$ac_mid; break
16314else
16315 echo "$as_me: failed program was:" >&5
16316sed 's/^/| /' conftest.$ac_ext >&5
16317
16318ac_lo=`expr $ac_mid + 1`
16319 if test $ac_lo -le $ac_mid; then
16320 ac_lo= ac_hi=
16321 break
16322 fi
16323 ac_mid=`expr 2 '*' $ac_mid + 1`
16324fi
16325rm -f conftest.$ac_objext conftest.$ac_ext
16326 done
16327else
16328 echo "$as_me: failed program was:" >&5
16329sed 's/^/| /' conftest.$ac_ext >&5
16330
16331cat >conftest.$ac_ext <<_ACEOF
16332#line $LINENO "configure"
16333/* confdefs.h. */
16334_ACEOF
16335cat confdefs.h >>conftest.$ac_ext
16336cat >>conftest.$ac_ext <<_ACEOF
16337/* end confdefs.h. */
16338$ac_includes_default
16339int
16340main ()
16341{
16342static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16343test_array [0] = 0
16344
16345 ;
16346 return 0;
16347}
16348_ACEOF
16349rm -f conftest.$ac_objext
16350if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16351 (eval $ac_compile) 2>&5
16352 ac_status=$?
16353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16354 (exit $ac_status); } &&
16355 { ac_try='test -s conftest.$ac_objext'
16356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16357 (eval $ac_try) 2>&5
16358 ac_status=$?
16359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16360 (exit $ac_status); }; }; then
16361 ac_hi=-1 ac_mid=-1
16362 while :; do
16363 cat >conftest.$ac_ext <<_ACEOF
16364#line $LINENO "configure"
16365/* confdefs.h. */
16366_ACEOF
16367cat confdefs.h >>conftest.$ac_ext
16368cat >>conftest.$ac_ext <<_ACEOF
16369/* end confdefs.h. */
16370$ac_includes_default
16371int
16372main ()
16373{
16374static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16375test_array [0] = 0
16376
16377 ;
16378 return 0;
16379}
16380_ACEOF
16381rm -f conftest.$ac_objext
16382if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16383 (eval $ac_compile) 2>&5
16384 ac_status=$?
16385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 (exit $ac_status); } &&
16387 { ac_try='test -s conftest.$ac_objext'
16388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16389 (eval $ac_try) 2>&5
16390 ac_status=$?
16391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16392 (exit $ac_status); }; }; then
16393 ac_lo=$ac_mid; break
16394else
16395 echo "$as_me: failed program was:" >&5
16396sed 's/^/| /' conftest.$ac_ext >&5
16397
16398ac_hi=`expr '(' $ac_mid ')' - 1`
16399 if test $ac_mid -le $ac_hi; then
16400 ac_lo= ac_hi=
16401 break
16402 fi
16403 ac_mid=`expr 2 '*' $ac_mid`
16404fi
16405rm -f conftest.$ac_objext conftest.$ac_ext
16406 done
16407else
16408 echo "$as_me: failed program was:" >&5
16409sed 's/^/| /' conftest.$ac_ext >&5
16410
16411ac_lo= ac_hi=
16412fi
16413rm -f conftest.$ac_objext conftest.$ac_ext
16414fi
16415rm -f conftest.$ac_objext conftest.$ac_ext
16416# Binary search between lo and hi bounds.
16417while test "x$ac_lo" != "x$ac_hi"; do
16418 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16419 cat >conftest.$ac_ext <<_ACEOF
16420#line $LINENO "configure"
16421/* confdefs.h. */
16422_ACEOF
16423cat confdefs.h >>conftest.$ac_ext
16424cat >>conftest.$ac_ext <<_ACEOF
16425/* end confdefs.h. */
16426$ac_includes_default
16427int
16428main ()
16429{
16430static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16431test_array [0] = 0
16432
16433 ;
16434 return 0;
16435}
16436_ACEOF
16437rm -f conftest.$ac_objext
16438if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16439 (eval $ac_compile) 2>&5
16440 ac_status=$?
16441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16442 (exit $ac_status); } &&
16443 { ac_try='test -s conftest.$ac_objext'
16444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16445 (eval $ac_try) 2>&5
16446 ac_status=$?
16447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16448 (exit $ac_status); }; }; then
16449 ac_hi=$ac_mid
16450else
16451 echo "$as_me: failed program was:" >&5
16452sed 's/^/| /' conftest.$ac_ext >&5
16453
16454ac_lo=`expr '(' $ac_mid ')' + 1`
16455fi
16456rm -f conftest.$ac_objext conftest.$ac_ext
16457done
16458case $ac_lo in
16459?*) ac_cv_sizeof_long_long=$ac_lo;;
16460'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16461See \`config.log' for more details." >&5
16462echo "$as_me: error: cannot compute sizeof (long long), 77
16463See \`config.log' for more details." >&2;}
16464 { (exit 1); exit 1; }; } ;;
16465esac
16466else
16467 if test "$cross_compiling" = yes; then
16468 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16469See \`config.log' for more details." >&5
16470echo "$as_me: error: cannot run test program while cross compiling
16471See \`config.log' for more details." >&2;}
16472 { (exit 1); exit 1; }; }
16473else
16474 cat >conftest.$ac_ext <<_ACEOF
16475#line $LINENO "configure"
16476/* confdefs.h. */
16477_ACEOF
16478cat confdefs.h >>conftest.$ac_ext
16479cat >>conftest.$ac_ext <<_ACEOF
16480/* end confdefs.h. */
16481$ac_includes_default
16482long longval () { return (long) (sizeof (long long)); }
16483unsigned long ulongval () { return (long) (sizeof (long long)); }
16484#include <stdio.h>
16485#include <stdlib.h>
16486int
16487main ()
16488{
16489
16490 FILE *f = fopen ("conftest.val", "w");
16491 if (! f)
16492 exit (1);
16493 if (((long) (sizeof (long long))) < 0)
16494 {
16495 long i = longval ();
16496 if (i != ((long) (sizeof (long long))))
16497 exit (1);
16498 fprintf (f, "%ld\n", i);
16499 }
16500 else
16501 {
16502 unsigned long i = ulongval ();
16503 if (i != ((long) (sizeof (long long))))
16504 exit (1);
16505 fprintf (f, "%lu\n", i);
16506 }
16507 exit (ferror (f) || fclose (f) != 0);
16508
16509 ;
16510 return 0;
16511}
16512_ACEOF
16513rm -f conftest$ac_exeext
16514if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16515 (eval $ac_link) 2>&5
16516 ac_status=$?
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16520 (eval $ac_try) 2>&5
16521 ac_status=$?
16522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16523 (exit $ac_status); }; }; then
16524 ac_cv_sizeof_long_long=`cat conftest.val`
16525else
16526 echo "$as_me: program exited with status $ac_status" >&5
16527echo "$as_me: failed program was:" >&5
16528sed 's/^/| /' conftest.$ac_ext >&5
16529
16530( exit $ac_status )
16531{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16532See \`config.log' for more details." >&5
16533echo "$as_me: error: cannot compute sizeof (long long), 77
16534See \`config.log' for more details." >&2;}
16535 { (exit 1); exit 1; }; }
16536fi
16537rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16538fi
16539fi
16540rm -f conftest.val
16541else
16542 ac_cv_sizeof_long_long=0
16543fi
16544fi
16545echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16546echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16547cat >>confdefs.h <<_ACEOF
16548#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16549_ACEOF
16550
16551
16552esac
16553
16554echo "$as_me:$LINENO: checking size of wchar_t" >&5
16555echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16556if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16557 echo $ECHO_N "(cached) $ECHO_C" >&6
16558else
16559
16560 if test "$cross_compiling" = yes; then
16561
16562 case "${host}" in
16563 *-pc-msdosdjgpp )
16564 wx_cv_sizeof_wchar_t=0
16565 ;;
16566 * )
16567 wx_cv_sizeof_wchar_t=4
16568 ;;
16569 esac
16570
16571
16572else
16573 cat >conftest.$ac_ext <<_ACEOF
16574#line $LINENO "configure"
16575/* confdefs.h. */
16576_ACEOF
16577cat confdefs.h >>conftest.$ac_ext
16578cat >>conftest.$ac_ext <<_ACEOF
16579/* end confdefs.h. */
16580
16581 /* DJGPP only has fake wchar_t: */
16582 #ifdef __DJGPP__
16583 # error "fake wchar_t"
16584 #endif
16585 #ifdef HAVE_WCHAR_H
16586 # ifdef __CYGWIN__
16587 # include <stddef.h>
16588 # endif
16589 # include <wchar.h>
16590 #endif
16591 #ifdef HAVE_STDLIB_H
16592 # include <stdlib.h>
16593 #endif
16594 #include <stdio.h>
16595 int main()
16596 {
16597 FILE *f=fopen("conftestval", "w");
16598 if (!f) exit(1);
16599 fprintf(f, "%i", sizeof(wchar_t));
16600 exit(0);
16601 }
16602
16603_ACEOF
16604rm -f conftest$ac_exeext
16605if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16606 (eval $ac_link) 2>&5
16607 ac_status=$?
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16611 (eval $ac_try) 2>&5
16612 ac_status=$?
16613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614 (exit $ac_status); }; }; then
16615 wx_cv_sizeof_wchar_t=`cat conftestval`
16616else
16617 echo "$as_me: program exited with status $ac_status" >&5
16618echo "$as_me: failed program was:" >&5
16619sed 's/^/| /' conftest.$ac_ext >&5
16620
16621( exit $ac_status )
16622wx_cv_sizeof_wchar_t=0
16623fi
16624rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16625fi
16626
16627fi
16628echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16629echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16630
16631cat >>confdefs.h <<_ACEOF
16632#define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16633_ACEOF
16634
16635
16636# Check whether --enable-largefile or --disable-largefile was given.
16637if test "${enable_largefile+set}" = set; then
16638 enableval="$enable_largefile"
16639
16640fi;
16641if test "$enable_largefile" != no; then
16642 wx_largefile=no
16643
16644 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16645echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16646if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16647 echo $ECHO_N "(cached) $ECHO_C" >&6
16648else
16649
16650 cat >conftest.$ac_ext <<_ACEOF
16651#line $LINENO "configure"
16652/* confdefs.h. */
16653_ACEOF
16654cat confdefs.h >>conftest.$ac_ext
16655cat >>conftest.$ac_ext <<_ACEOF
16656/* end confdefs.h. */
16657#define _FILE_OFFSET_BITS 64
16658 #include <sys/types.h>
16659int
16660main ()
16661{
16662typedef struct {
16663 unsigned int field: sizeof(off_t) == 8;
16664} wxlf;
16665
16666 ;
16667 return 0;
16668}
16669_ACEOF
16670rm -f conftest.$ac_objext
16671if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16672 (eval $ac_compile) 2>&5
16673 ac_status=$?
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); } &&
16676 { ac_try='test -s conftest.$ac_objext'
16677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16678 (eval $ac_try) 2>&5
16679 ac_status=$?
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); }; }; then
16682 ac_cv_sys_file_offset_bits=64
16683else
16684 echo "$as_me: failed program was:" >&5
16685sed 's/^/| /' conftest.$ac_ext >&5
16686
16687ac_cv_sys_file_offset_bits=no
16688fi
16689rm -f conftest.$ac_objext conftest.$ac_ext
16690
16691
16692fi
16693echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16694echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16695
16696 if test "$ac_cv_sys_file_offset_bits" != no; then
16697 wx_largefile=yes
16698 cat >>confdefs.h <<_ACEOF
16699#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16700_ACEOF
16701
16702 fi
16703
16704 if test "x$wx_largefile" != "xyes"; then
16705
16706 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16707echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16708if test "${ac_cv_sys_large_files+set}" = set; then
16709 echo $ECHO_N "(cached) $ECHO_C" >&6
16710else
16711
16712 cat >conftest.$ac_ext <<_ACEOF
16713#line $LINENO "configure"
16714/* confdefs.h. */
16715_ACEOF
16716cat confdefs.h >>conftest.$ac_ext
16717cat >>conftest.$ac_ext <<_ACEOF
16718/* end confdefs.h. */
16719#define _LARGE_FILES 1
16720 #include <sys/types.h>
16721int
16722main ()
16723{
16724typedef struct {
16725 unsigned int field: sizeof(off_t) == 8;
16726} wxlf;
16727
16728 ;
16729 return 0;
16730}
16731_ACEOF
16732rm -f conftest.$ac_objext
16733if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16734 (eval $ac_compile) 2>&5
16735 ac_status=$?
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); } &&
16738 { ac_try='test -s conftest.$ac_objext'
16739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16740 (eval $ac_try) 2>&5
16741 ac_status=$?
16742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16743 (exit $ac_status); }; }; then
16744 ac_cv_sys_large_files=1
16745else
16746 echo "$as_me: failed program was:" >&5
16747sed 's/^/| /' conftest.$ac_ext >&5
16748
16749ac_cv_sys_large_files=no
16750fi
16751rm -f conftest.$ac_objext conftest.$ac_ext
16752
16753
16754fi
16755echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16756echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16757
16758 if test "$ac_cv_sys_large_files" != no; then
16759 wx_largefile=yes
16760 cat >>confdefs.h <<_ACEOF
16761#define _LARGE_FILES $ac_cv_sys_large_files
16762_ACEOF
16763
16764 fi
16765
16766 fi
16767
16768 echo "$as_me:$LINENO: checking if large file support is available" >&5
16769echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16770 if test "x$wx_largefile" = "xyes"; then
16771 cat >>confdefs.h <<\_ACEOF
16772#define HAVE_LARGEFILE_SUPPORT 1
16773_ACEOF
16774
16775 fi
16776 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16777echo "${ECHO_T}$wx_largefile" >&6
16778fi
16779
16780
16781if test "x$wx_largefile" = "xyes"; then
16782 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16783 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16784 else
16785 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16786 fi
16787 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16788fi
16789
16790echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16791echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16792if test "${ac_cv_c_bigendian+set}" = set; then
16793 echo $ECHO_N "(cached) $ECHO_C" >&6
16794else
16795 ac_cv_c_bigendian=unknown
16796# See if sys/param.h defines the BYTE_ORDER macro.
16797cat >conftest.$ac_ext <<_ACEOF
16798#line $LINENO "configure"
16799/* confdefs.h. */
16800_ACEOF
16801cat confdefs.h >>conftest.$ac_ext
16802cat >>conftest.$ac_ext <<_ACEOF
16803/* end confdefs.h. */
16804#include <sys/types.h>
16805#include <sys/param.h>
16806int
16807main ()
16808{
16809
16810#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16811 bogus endian macros
16812#endif
16813 ;
16814 return 0;
16815}
16816_ACEOF
16817rm -f conftest.$ac_objext
16818if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16819 (eval $ac_compile) 2>&5
16820 ac_status=$?
16821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16822 (exit $ac_status); } &&
16823 { ac_try='test -s conftest.$ac_objext'
16824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16825 (eval $ac_try) 2>&5
16826 ac_status=$?
16827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828 (exit $ac_status); }; }; then
16829 # It does; now see whether it defined to BIG_ENDIAN or not.
16830cat >conftest.$ac_ext <<_ACEOF
16831#line $LINENO "configure"
16832/* confdefs.h. */
16833_ACEOF
16834cat confdefs.h >>conftest.$ac_ext
16835cat >>conftest.$ac_ext <<_ACEOF
16836/* end confdefs.h. */
16837#include <sys/types.h>
16838#include <sys/param.h>
16839int
16840main ()
16841{
16842
16843#if BYTE_ORDER != BIG_ENDIAN
16844 not big endian
16845#endif
16846 ;
16847 return 0;
16848}
16849_ACEOF
16850rm -f conftest.$ac_objext
16851if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16852 (eval $ac_compile) 2>&5
16853 ac_status=$?
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); } &&
16856 { ac_try='test -s conftest.$ac_objext'
16857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16858 (eval $ac_try) 2>&5
16859 ac_status=$?
16860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16861 (exit $ac_status); }; }; then
16862 ac_cv_c_bigendian=yes
16863else
16864 echo "$as_me: failed program was:" >&5
16865sed 's/^/| /' conftest.$ac_ext >&5
16866
16867ac_cv_c_bigendian=no
16868fi
16869rm -f conftest.$ac_objext conftest.$ac_ext
16870else
16871 echo "$as_me: failed program was:" >&5
16872sed 's/^/| /' conftest.$ac_ext >&5
16873
16874fi
16875rm -f conftest.$ac_objext conftest.$ac_ext
16876if test $ac_cv_c_bigendian = unknown; then
16877if test "$cross_compiling" = yes; then
16878 ac_cv_c_bigendian=unknown
16879else
16880 cat >conftest.$ac_ext <<_ACEOF
16881#line $LINENO "configure"
16882/* confdefs.h. */
16883_ACEOF
16884cat confdefs.h >>conftest.$ac_ext
16885cat >>conftest.$ac_ext <<_ACEOF
16886/* end confdefs.h. */
16887main () {
16888 /* Are we little or big endian? From Harbison&Steele. */
16889 union
16890 {
16891 long l;
16892 char c[sizeof (long)];
16893 } u;
16894 u.l = 1;
16895 exit (u.c[sizeof (long) - 1] == 1);
16896}
16897_ACEOF
16898rm -f conftest$ac_exeext
16899if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16900 (eval $ac_link) 2>&5
16901 ac_status=$?
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16905 (eval $ac_try) 2>&5
16906 ac_status=$?
16907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16908 (exit $ac_status); }; }; then
16909 ac_cv_c_bigendian=no
16910else
16911 echo "$as_me: program exited with status $ac_status" >&5
16912echo "$as_me: failed program was:" >&5
16913sed 's/^/| /' conftest.$ac_ext >&5
16914
16915( exit $ac_status )
16916ac_cv_c_bigendian=yes
16917fi
16918rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16919fi
16920fi
16921fi
16922echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16923echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16924if test $ac_cv_c_bigendian = unknown; then
16925 { 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
16926echo "$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;}
16927fi
16928if test $ac_cv_c_bigendian = yes; then
16929 cat >>confdefs.h <<\_ACEOF
16930#define WORDS_BIGENDIAN 1
16931_ACEOF
16932
16933fi
16934
16935
16936
16937ac_ext=cc
16938ac_cpp='$CXXCPP $CPPFLAGS'
16939ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16940ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16941ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16942echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16943echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16944if test -z "$CXXCPP"; then
16945 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16946 echo $ECHO_N "(cached) $ECHO_C" >&6
16947else
16948 # Double quotes because CXXCPP needs to be expanded
16949 for CXXCPP in "$CXX -E" "/lib/cpp"
16950 do
16951 ac_preproc_ok=false
16952for ac_cxx_preproc_warn_flag in '' yes
16953do
16954 # Use a header file that comes with gcc, so configuring glibc
16955 # with a fresh cross-compiler works.
16956 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16957 # <limits.h> exists even on freestanding compilers.
16958 # On the NeXT, cc -E runs the code through the compiler's parser,
16959 # not just through cpp. "Syntax error" is here to catch this case.
16960 cat >conftest.$ac_ext <<_ACEOF
16961#line $LINENO "configure"
16962/* confdefs.h. */
16963_ACEOF
16964cat confdefs.h >>conftest.$ac_ext
16965cat >>conftest.$ac_ext <<_ACEOF
16966/* end confdefs.h. */
16967#ifdef __STDC__
16968# include <limits.h>
16969#else
16970# include <assert.h>
16971#endif
16972 Syntax error
16973_ACEOF
16974if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16975 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16976 ac_status=$?
16977 grep -v '^ *+' conftest.er1 >conftest.err
16978 rm -f conftest.er1
16979 cat conftest.err >&5
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); } >/dev/null; then
16982 if test -s conftest.err; then
16983 ac_cpp_err=$ac_cxx_preproc_warn_flag
16984 else
16985 ac_cpp_err=
16986 fi
16987else
16988 ac_cpp_err=yes
16989fi
16990if test -z "$ac_cpp_err"; then
16991 :
16992else
16993 echo "$as_me: failed program was:" >&5
16994sed 's/^/| /' conftest.$ac_ext >&5
16995
16996 # Broken: fails on valid input.
16997continue
16998fi
16999rm -f conftest.err conftest.$ac_ext
17000
17001 # OK, works on sane cases. Now check whether non-existent headers
17002 # can be detected and how.
17003 cat >conftest.$ac_ext <<_ACEOF
17004#line $LINENO "configure"
17005/* confdefs.h. */
17006_ACEOF
17007cat confdefs.h >>conftest.$ac_ext
17008cat >>conftest.$ac_ext <<_ACEOF
17009/* end confdefs.h. */
17010#include <ac_nonexistent.h>
17011_ACEOF
17012if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17013 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17014 ac_status=$?
17015 grep -v '^ *+' conftest.er1 >conftest.err
17016 rm -f conftest.er1
17017 cat conftest.err >&5
17018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019 (exit $ac_status); } >/dev/null; then
17020 if test -s conftest.err; then
17021 ac_cpp_err=$ac_cxx_preproc_warn_flag
17022 else
17023 ac_cpp_err=
17024 fi
17025else
17026 ac_cpp_err=yes
17027fi
17028if test -z "$ac_cpp_err"; then
17029 # Broken: success on invalid input.
17030continue
17031else
17032 echo "$as_me: failed program was:" >&5
17033sed 's/^/| /' conftest.$ac_ext >&5
17034
17035 # Passes both tests.
17036ac_preproc_ok=:
17037break
17038fi
17039rm -f conftest.err conftest.$ac_ext
17040
17041done
17042# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17043rm -f conftest.err conftest.$ac_ext
17044if $ac_preproc_ok; then
17045 break
17046fi
17047
17048 done
17049 ac_cv_prog_CXXCPP=$CXXCPP
17050
17051fi
17052 CXXCPP=$ac_cv_prog_CXXCPP
17053else
17054 ac_cv_prog_CXXCPP=$CXXCPP
17055fi
17056echo "$as_me:$LINENO: result: $CXXCPP" >&5
17057echo "${ECHO_T}$CXXCPP" >&6
17058ac_preproc_ok=false
17059for ac_cxx_preproc_warn_flag in '' yes
17060do
17061 # Use a header file that comes with gcc, so configuring glibc
17062 # with a fresh cross-compiler works.
17063 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17064 # <limits.h> exists even on freestanding compilers.
17065 # On the NeXT, cc -E runs the code through the compiler's parser,
17066 # not just through cpp. "Syntax error" is here to catch this case.
17067 cat >conftest.$ac_ext <<_ACEOF
17068#line $LINENO "configure"
17069/* confdefs.h. */
17070_ACEOF
17071cat confdefs.h >>conftest.$ac_ext
17072cat >>conftest.$ac_ext <<_ACEOF
17073/* end confdefs.h. */
17074#ifdef __STDC__
17075# include <limits.h>
17076#else
17077# include <assert.h>
17078#endif
17079 Syntax error
17080_ACEOF
17081if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17083 ac_status=$?
17084 grep -v '^ *+' conftest.er1 >conftest.err
17085 rm -f conftest.er1
17086 cat conftest.err >&5
17087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088 (exit $ac_status); } >/dev/null; then
17089 if test -s conftest.err; then
17090 ac_cpp_err=$ac_cxx_preproc_warn_flag
17091 else
17092 ac_cpp_err=
17093 fi
17094else
17095 ac_cpp_err=yes
17096fi
17097if test -z "$ac_cpp_err"; then
17098 :
17099else
17100 echo "$as_me: failed program was:" >&5
17101sed 's/^/| /' conftest.$ac_ext >&5
17102
17103 # Broken: fails on valid input.
17104continue
17105fi
17106rm -f conftest.err conftest.$ac_ext
17107
17108 # OK, works on sane cases. Now check whether non-existent headers
17109 # can be detected and how.
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#include <ac_nonexistent.h>
17118_ACEOF
17119if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17120 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17121 ac_status=$?
17122 grep -v '^ *+' conftest.er1 >conftest.err
17123 rm -f conftest.er1
17124 cat conftest.err >&5
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); } >/dev/null; then
17127 if test -s conftest.err; then
17128 ac_cpp_err=$ac_cxx_preproc_warn_flag
17129 else
17130 ac_cpp_err=
17131 fi
17132else
17133 ac_cpp_err=yes
17134fi
17135if test -z "$ac_cpp_err"; then
17136 # Broken: success on invalid input.
17137continue
17138else
17139 echo "$as_me: failed program was:" >&5
17140sed 's/^/| /' conftest.$ac_ext >&5
17141
17142 # Passes both tests.
17143ac_preproc_ok=:
17144break
17145fi
17146rm -f conftest.err conftest.$ac_ext
17147
17148done
17149# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17150rm -f conftest.err conftest.$ac_ext
17151if $ac_preproc_ok; then
17152 :
17153else
17154 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17155See \`config.log' for more details." >&5
17156echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17157See \`config.log' for more details." >&2;}
17158 { (exit 1); exit 1; }; }
17159fi
17160
17161ac_ext=cc
17162ac_cpp='$CXXCPP $CPPFLAGS'
17163ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17164ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17165ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17166
17167
17168
17169 if test "$cross_compiling" = "yes"; then
17170 cat >>confdefs.h <<\_ACEOF
17171#define wxUSE_IOSTREAMH 1
17172_ACEOF
17173
17174 else
17175
17176
17177 ac_ext=cc
17178ac_cpp='$CXXCPP $CPPFLAGS'
17179ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17180ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17181ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17182
17183
17184
17185for ac_header in iostream
17186do
17187as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17188if eval "test \"\${$as_ac_Header+set}\" = set"; then
17189 echo "$as_me:$LINENO: checking for $ac_header" >&5
17190echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17191if eval "test \"\${$as_ac_Header+set}\" = set"; then
17192 echo $ECHO_N "(cached) $ECHO_C" >&6
17193fi
17194echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17195echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17196else
17197 # Is the header compilable?
17198echo "$as_me:$LINENO: checking $ac_header usability" >&5
17199echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17200cat >conftest.$ac_ext <<_ACEOF
17201#line $LINENO "configure"
17202/* confdefs.h. */
17203_ACEOF
17204cat confdefs.h >>conftest.$ac_ext
17205cat >>conftest.$ac_ext <<_ACEOF
17206/* end confdefs.h. */
17207$ac_includes_default
17208#include <$ac_header>
17209_ACEOF
17210rm -f conftest.$ac_objext
17211if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17212 (eval $ac_compile) 2>&5
17213 ac_status=$?
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); } &&
17216 { ac_try='test -s conftest.$ac_objext'
17217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17218 (eval $ac_try) 2>&5
17219 ac_status=$?
17220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17221 (exit $ac_status); }; }; then
17222 ac_header_compiler=yes
17223else
17224 echo "$as_me: failed program was:" >&5
17225sed 's/^/| /' conftest.$ac_ext >&5
17226
17227ac_header_compiler=no
17228fi
17229rm -f conftest.$ac_objext conftest.$ac_ext
17230echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17231echo "${ECHO_T}$ac_header_compiler" >&6
17232
17233# Is the header present?
17234echo "$as_me:$LINENO: checking $ac_header presence" >&5
17235echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17236cat >conftest.$ac_ext <<_ACEOF
17237#line $LINENO "configure"
17238/* confdefs.h. */
17239_ACEOF
17240cat confdefs.h >>conftest.$ac_ext
17241cat >>conftest.$ac_ext <<_ACEOF
17242/* end confdefs.h. */
17243#include <$ac_header>
17244_ACEOF
17245if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17246 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17247 ac_status=$?
17248 grep -v '^ *+' conftest.er1 >conftest.err
17249 rm -f conftest.er1
17250 cat conftest.err >&5
17251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17252 (exit $ac_status); } >/dev/null; then
17253 if test -s conftest.err; then
17254 ac_cpp_err=$ac_cxx_preproc_warn_flag
17255 else
17256 ac_cpp_err=
17257 fi
17258else
17259 ac_cpp_err=yes
17260fi
17261if test -z "$ac_cpp_err"; then
17262 ac_header_preproc=yes
17263else
17264 echo "$as_me: failed program was:" >&5
17265sed 's/^/| /' conftest.$ac_ext >&5
17266
17267 ac_header_preproc=no
17268fi
17269rm -f conftest.err conftest.$ac_ext
17270echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17271echo "${ECHO_T}$ac_header_preproc" >&6
17272
17273# So? What about this header?
17274case $ac_header_compiler:$ac_header_preproc in
17275 yes:no )
17276 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17277echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17279echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17280 (
17281 cat <<\_ASBOX
17282## ------------------------------------ ##
17283## Report this to bug-autoconf@gnu.org. ##
17284## ------------------------------------ ##
17285_ASBOX
17286 ) |
17287 sed "s/^/$as_me: WARNING: /" >&2
17288 ;;
17289 no:yes )
17290 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17291echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17292 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17293echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17294 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17295echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17296 (
17297 cat <<\_ASBOX
17298## ------------------------------------ ##
17299## Report this to bug-autoconf@gnu.org. ##
17300## ------------------------------------ ##
17301_ASBOX
17302 ) |
17303 sed "s/^/$as_me: WARNING: /" >&2
17304 ;;
17305esac
17306echo "$as_me:$LINENO: checking for $ac_header" >&5
17307echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17308if eval "test \"\${$as_ac_Header+set}\" = set"; then
17309 echo $ECHO_N "(cached) $ECHO_C" >&6
17310else
17311 eval "$as_ac_Header=$ac_header_preproc"
17312fi
17313echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17314echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17315
17316fi
17317if test `eval echo '${'$as_ac_Header'}'` = yes; then
17318 cat >>confdefs.h <<_ACEOF
17319#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17320_ACEOF
17321
17322fi
17323
17324done
17325
17326
17327 if test "$ac_cv_header_iostream" = "yes" ; then
17328 :
17329 else
17330 cat >>confdefs.h <<\_ACEOF
17331#define wxUSE_IOSTREAMH 1
17332_ACEOF
17333
17334 fi
17335
17336 ac_ext=c
17337ac_cpp='$CPP $CPPFLAGS'
17338ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17339ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17340ac_compiler_gnu=$ac_cv_c_compiler_gnu
17341
17342 fi
17343
17344
17345
17346 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17347echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17348if test "${wx_cv_cpp_bool+set}" = set; then
17349 echo $ECHO_N "(cached) $ECHO_C" >&6
17350else
17351
17352
17353
17354 ac_ext=cc
17355ac_cpp='$CXXCPP $CPPFLAGS'
17356ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17357ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17358ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17359
17360
17361 cat >conftest.$ac_ext <<_ACEOF
17362#line $LINENO "configure"
17363/* confdefs.h. */
17364_ACEOF
17365cat confdefs.h >>conftest.$ac_ext
17366cat >>conftest.$ac_ext <<_ACEOF
17367/* end confdefs.h. */
17368
17369
17370int
17371main ()
17372{
17373
17374 bool b = true;
17375
17376 return 0;
17377
17378 ;
17379 return 0;
17380}
17381_ACEOF
17382rm -f conftest.$ac_objext
17383if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17384 (eval $ac_compile) 2>&5
17385 ac_status=$?
17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387 (exit $ac_status); } &&
17388 { ac_try='test -s conftest.$ac_objext'
17389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17390 (eval $ac_try) 2>&5
17391 ac_status=$?
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); }; }; then
17394
17395 wx_cv_cpp_bool=yes
17396
17397else
17398 echo "$as_me: failed program was:" >&5
17399sed 's/^/| /' conftest.$ac_ext >&5
17400
17401
17402 wx_cv_cpp_bool=no
17403
17404
17405fi
17406rm -f conftest.$ac_objext conftest.$ac_ext
17407
17408 ac_ext=c
17409ac_cpp='$CPP $CPPFLAGS'
17410ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17411ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17412ac_compiler_gnu=$ac_cv_c_compiler_gnu
17413
17414
17415fi
17416echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17417echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17418
17419 if test "$wx_cv_cpp_bool" = "yes"; then
17420 cat >>confdefs.h <<\_ACEOF
17421#define HAVE_BOOL 1
17422_ACEOF
17423
17424 fi
17425
17426
17427
17428 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17429echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17430if test "${wx_cv_explicit+set}" = set; then
17431 echo $ECHO_N "(cached) $ECHO_C" >&6
17432else
17433
17434
17435
17436 ac_ext=cc
17437ac_cpp='$CXXCPP $CPPFLAGS'
17438ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17439ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17440ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17441
17442
17443 cat >conftest.$ac_ext <<_ACEOF
17444#line $LINENO "configure"
17445/* confdefs.h. */
17446_ACEOF
17447cat confdefs.h >>conftest.$ac_ext
17448cat >>conftest.$ac_ext <<_ACEOF
17449/* end confdefs.h. */
17450
17451 class Foo { public: explicit Foo(int) {} };
17452
17453int
17454main ()
17455{
17456
17457 return 0;
17458
17459 ;
17460 return 0;
17461}
17462_ACEOF
17463rm -f conftest.$ac_objext
17464if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17465 (eval $ac_compile) 2>&5
17466 ac_status=$?
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); } &&
17469 { ac_try='test -s conftest.$ac_objext'
17470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17471 (eval $ac_try) 2>&5
17472 ac_status=$?
17473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17474 (exit $ac_status); }; }; then
17475
17476 cat >conftest.$ac_ext <<_ACEOF
17477#line $LINENO "configure"
17478/* confdefs.h. */
17479_ACEOF
17480cat confdefs.h >>conftest.$ac_ext
17481cat >>conftest.$ac_ext <<_ACEOF
17482/* end confdefs.h. */
17483
17484 class Foo { public: explicit Foo(int) {} };
17485 static void TakeFoo(const Foo& foo) { }
17486
17487int
17488main ()
17489{
17490
17491 TakeFoo(17);
17492 return 0;
17493
17494 ;
17495 return 0;
17496}
17497_ACEOF
17498rm -f conftest.$ac_objext
17499if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17500 (eval $ac_compile) 2>&5
17501 ac_status=$?
17502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503 (exit $ac_status); } &&
17504 { ac_try='test -s conftest.$ac_objext'
17505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17506 (eval $ac_try) 2>&5
17507 ac_status=$?
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); }; }; then
17510 wx_cv_explicit=no
17511else
17512 echo "$as_me: failed program was:" >&5
17513sed 's/^/| /' conftest.$ac_ext >&5
17514
17515wx_cv_explicit=yes
17516
17517fi
17518rm -f conftest.$ac_objext conftest.$ac_ext
17519
17520else
17521 echo "$as_me: failed program was:" >&5
17522sed 's/^/| /' conftest.$ac_ext >&5
17523
17524wx_cv_explicit=no
17525
17526fi
17527rm -f conftest.$ac_objext conftest.$ac_ext
17528
17529 ac_ext=c
17530ac_cpp='$CPP $CPPFLAGS'
17531ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17532ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17533ac_compiler_gnu=$ac_cv_c_compiler_gnu
17534
17535
17536fi
17537echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17538echo "${ECHO_T}$wx_cv_explicit" >&6
17539
17540 if test "$wx_cv_explicit" = "yes"; then
17541 cat >>confdefs.h <<\_ACEOF
17542#define HAVE_EXPLICIT 1
17543_ACEOF
17544
17545 fi
17546
17547
17548echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17549echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17550if test "${ac_cv_cxx_const_cast+set}" = set; then
17551 echo $ECHO_N "(cached) $ECHO_C" >&6
17552else
17553
17554
17555 ac_ext=cc
17556ac_cpp='$CXXCPP $CPPFLAGS'
17557ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17558ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17559ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17560
17561 cat >conftest.$ac_ext <<_ACEOF
17562#line $LINENO "configure"
17563/* confdefs.h. */
17564_ACEOF
17565cat confdefs.h >>conftest.$ac_ext
17566cat >>conftest.$ac_ext <<_ACEOF
17567/* end confdefs.h. */
17568
17569int
17570main ()
17571{
17572int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17573 ;
17574 return 0;
17575}
17576_ACEOF
17577rm -f conftest.$ac_objext
17578if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17579 (eval $ac_compile) 2>&5
17580 ac_status=$?
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); } &&
17583 { ac_try='test -s conftest.$ac_objext'
17584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17585 (eval $ac_try) 2>&5
17586 ac_status=$?
17587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17588 (exit $ac_status); }; }; then
17589 ac_cv_cxx_const_cast=yes
17590else
17591 echo "$as_me: failed program was:" >&5
17592sed 's/^/| /' conftest.$ac_ext >&5
17593
17594ac_cv_cxx_const_cast=no
17595fi
17596rm -f conftest.$ac_objext conftest.$ac_ext
17597 ac_ext=c
17598ac_cpp='$CPP $CPPFLAGS'
17599ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17600ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17601ac_compiler_gnu=$ac_cv_c_compiler_gnu
17602
17603
17604fi
17605echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17606echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17607if test "$ac_cv_cxx_const_cast" = yes; then
17608
17609cat >>confdefs.h <<\_ACEOF
17610#define HAVE_CONST_CAST
17611_ACEOF
17612
17613fi
17614
17615
17616if test "$wxUSE_STL" = "yes"; then
17617 ac_ext=cc
17618ac_cpp='$CXXCPP $CPPFLAGS'
17619ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17620ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17621ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17622
17623
17624 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17625echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17626 cat >conftest.$ac_ext <<_ACEOF
17627#line $LINENO "configure"
17628/* confdefs.h. */
17629_ACEOF
17630cat confdefs.h >>conftest.$ac_ext
17631cat >>conftest.$ac_ext <<_ACEOF
17632/* end confdefs.h. */
17633#include <string>
17634 #include <functional>
17635 #include <algorithm>
17636 #include <vector>
17637 #include <list>
17638int
17639main ()
17640{
17641std::vector<int> moo;
17642 std::list<int> foo;
17643 std::vector<int>::iterator it =
17644 std::find_if(moo.begin(), moo.end(),
17645 std::bind2nd(std::less<int>(), 3));
17646 ;
17647 return 0;
17648}
17649_ACEOF
17650rm -f conftest.$ac_objext
17651if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17652 (eval $ac_compile) 2>&5
17653 ac_status=$?
17654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17655 (exit $ac_status); } &&
17656 { ac_try='test -s conftest.$ac_objext'
17657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17658 (eval $ac_try) 2>&5
17659 ac_status=$?
17660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661 (exit $ac_status); }; }; then
17662 echo "$as_me:$LINENO: result: yes" >&5
17663echo "${ECHO_T}yes" >&6
17664else
17665 echo "$as_me: failed program was:" >&5
17666sed 's/^/| /' conftest.$ac_ext >&5
17667
17668echo "$as_me:$LINENO: result: no" >&5
17669echo "${ECHO_T}no" >&6
17670 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17671echo "$as_me: error: Basic STL functionality missing" >&2;}
17672 { (exit 1); exit 1; }; }
17673fi
17674rm -f conftest.$ac_objext conftest.$ac_ext
17675
17676 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17677echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17678 cat >conftest.$ac_ext <<_ACEOF
17679#line $LINENO "configure"
17680/* confdefs.h. */
17681_ACEOF
17682cat confdefs.h >>conftest.$ac_ext
17683cat >>conftest.$ac_ext <<_ACEOF
17684/* end confdefs.h. */
17685#include <string>
17686int
17687main ()
17688{
17689std::wstring foo;
17690 ;
17691 return 0;
17692}
17693_ACEOF
17694rm -f conftest.$ac_objext
17695if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17696 (eval $ac_compile) 2>&5
17697 ac_status=$?
17698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17699 (exit $ac_status); } &&
17700 { ac_try='test -s conftest.$ac_objext'
17701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17702 (eval $ac_try) 2>&5
17703 ac_status=$?
17704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17705 (exit $ac_status); }; }; then
17706 echo "$as_me:$LINENO: result: yes" >&5
17707echo "${ECHO_T}yes" >&6
17708 cat >>confdefs.h <<\_ACEOF
17709#define HAVE_STD_WSTRING 1
17710_ACEOF
17711
17712else
17713 echo "$as_me: failed program was:" >&5
17714sed 's/^/| /' conftest.$ac_ext >&5
17715
17716echo "$as_me:$LINENO: result: no" >&5
17717echo "${ECHO_T}no" >&6
17718fi
17719rm -f conftest.$ac_objext conftest.$ac_ext
17720
17721 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17722echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17723 cat >conftest.$ac_ext <<_ACEOF
17724#line $LINENO "configure"
17725/* confdefs.h. */
17726_ACEOF
17727cat confdefs.h >>conftest.$ac_ext
17728cat >>conftest.$ac_ext <<_ACEOF
17729/* end confdefs.h. */
17730#include <string>
17731int
17732main ()
17733{
17734std::string foo, bar;
17735 foo.compare(bar);
17736 foo.compare(1, 1, bar);
17737 foo.compare(1, 1, bar, 1, 1);
17738 foo.compare("");
17739 foo.compare(1, 1, "");
17740 foo.compare(1, 1, "", 2);
17741 ;
17742 return 0;
17743}
17744_ACEOF
17745rm -f conftest.$ac_objext
17746if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17747 (eval $ac_compile) 2>&5
17748 ac_status=$?
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); } &&
17751 { ac_try='test -s conftest.$ac_objext'
17752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17753 (eval $ac_try) 2>&5
17754 ac_status=$?
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); }; }; then
17757 echo "$as_me:$LINENO: result: yes" >&5
17758echo "${ECHO_T}yes" >&6
17759 cat >>confdefs.h <<\_ACEOF
17760#define HAVE_STD_STRING_COMPARE 1
17761_ACEOF
17762
17763else
17764 echo "$as_me: failed program was:" >&5
17765sed 's/^/| /' conftest.$ac_ext >&5
17766
17767echo "$as_me:$LINENO: result: no" >&5
17768echo "${ECHO_T}no" >&6
17769fi
17770rm -f conftest.$ac_objext conftest.$ac_ext
17771
17772 ac_ext=c
17773ac_cpp='$CPP $CPPFLAGS'
17774ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17775ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17776ac_compiler_gnu=$ac_cv_c_compiler_gnu
17777
17778fi
17779
17780
17781SEARCH_INCLUDE="\
17782 /usr/local/include \
17783 \
17784 /usr/Motif-1.2/include \
17785 /usr/Motif-2.1/include \
17786 \
17787 /usr/include/Motif1.2 \
17788 /opt/xpm/include/X11 \
17789 /opt/GBxpm/include/ \
17790 /opt/GBxpm/X11/include/ \
17791 \
17792 /usr/Motif1.2/include \
17793 /usr/dt/include \
17794 /usr/openwin/include \
17795 \
17796 /usr/include/Xm \
17797 \
17798 /usr/X11R6/include \
17799 /usr/X11R6.4/include \
17800 /usr/X11R5/include \
17801 /usr/X11R4/include \
17802 \
17803 /usr/include/X11R6 \
17804 /usr/include/X11R5 \
17805 /usr/include/X11R4 \
17806 \
17807 /usr/local/X11R6/include \
17808 /usr/local/X11R5/include \
17809 /usr/local/X11R4/include \
17810 \
17811 /usr/local/include/X11R6 \
17812 /usr/local/include/X11R5 \
17813 /usr/local/include/X11R4 \
17814 \
17815 /usr/X11/include \
17816 /usr/include/X11 \
17817 /usr/local/X11/include \
17818 /usr/local/include/X11 \
17819 \
17820 /usr/X386/include \
17821 /usr/x386/include \
17822 /usr/XFree86/include/X11 \
17823 \
17824 X:/XFree86/include \
17825 X:/XFree86/include/X11 \
17826 \
17827 /usr/include/gtk \
17828 /usr/local/include/gtk \
17829 /usr/include/glib \
17830 /usr/local/include/glib \
17831 \
17832 /usr/include/qt \
17833 /usr/local/include/qt \
17834 \
17835 /usr/include/windows \
17836 /usr/include/wine \
17837 /usr/local/include/wine \
17838 \
17839 /usr/unsupported/include \
17840 /usr/athena/include \
17841 /usr/local/x11r5/include \
17842 /usr/lpp/Xamples/include \
17843 \
17844 /usr/openwin/share/include"
17845
17846SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17847
17848
17849cat >confcache <<\_ACEOF
17850# This file is a shell script that caches the results of configure
17851# tests run on this system so they can be shared between configure
17852# scripts and configure runs, see configure's option --config-cache.
17853# It is not useful on other systems. If it contains results you don't
17854# want to keep, you may remove or edit it.
17855#
17856# config.status only pays attention to the cache file if you give it
17857# the --recheck option to rerun configure.
17858#
17859# `ac_cv_env_foo' variables (set or unset) will be overridden when
17860# loading this file, other *unset* `ac_cv_foo' will be assigned the
17861# following values.
17862
17863_ACEOF
17864
17865# The following way of writing the cache mishandles newlines in values,
17866# but we know of no workaround that is simple, portable, and efficient.
17867# So, don't put newlines in cache variables' values.
17868# Ultrix sh set writes to stderr and can't be redirected directly,
17869# and sets the high bit in the cache file unless we assign to the vars.
17870{
17871 (set) 2>&1 |
17872 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17873 *ac_space=\ *)
17874 # `set' does not quote correctly, so add quotes (double-quote
17875 # substitution turns \\\\ into \\, and sed turns \\ into \).
17876 sed -n \
17877 "s/'/'\\\\''/g;
17878 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17879 ;;
17880 *)
17881 # `set' quotes correctly as required by POSIX, so do not add quotes.
17882 sed -n \
17883 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17884 ;;
17885 esac;
17886} |
17887 sed '
17888 t clear
17889 : clear
17890 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17891 t end
17892 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17893 : end' >>confcache
17894if diff $cache_file confcache >/dev/null 2>&1; then :; else
17895 if test -w $cache_file; then
17896 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17897 cat confcache >$cache_file
17898 else
17899 echo "not updating unwritable cache $cache_file"
17900 fi
17901fi
17902rm -f confcache
17903
17904if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17905 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17906echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17907if test "${wx_cv_lib_glibc21+set}" = set; then
17908 echo $ECHO_N "(cached) $ECHO_C" >&6
17909else
17910
17911 cat >conftest.$ac_ext <<_ACEOF
17912#line $LINENO "configure"
17913/* confdefs.h. */
17914_ACEOF
17915cat confdefs.h >>conftest.$ac_ext
17916cat >>conftest.$ac_ext <<_ACEOF
17917/* end confdefs.h. */
17918#include <features.h>
17919int
17920main ()
17921{
17922
17923 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17924 #error not glibc2.1
17925 #endif
17926
17927 ;
17928 return 0;
17929}
17930_ACEOF
17931rm -f conftest.$ac_objext
17932if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17933 (eval $ac_compile) 2>&5
17934 ac_status=$?
17935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17936 (exit $ac_status); } &&
17937 { ac_try='test -s conftest.$ac_objext'
17938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17939 (eval $ac_try) 2>&5
17940 ac_status=$?
17941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17942 (exit $ac_status); }; }; then
17943
17944 wx_cv_lib_glibc21=yes
17945
17946else
17947 echo "$as_me: failed program was:" >&5
17948sed 's/^/| /' conftest.$ac_ext >&5
17949
17950
17951 wx_cv_lib_glibc21=no
17952
17953
17954fi
17955rm -f conftest.$ac_objext conftest.$ac_ext
17956
17957fi
17958echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17959echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17960 if test "$wx_cv_lib_glibc21" = "yes"; then
17961 cat >>confdefs.h <<\_ACEOF
17962#define wxHAVE_GLIBC2 1
17963_ACEOF
17964
17965 fi
17966fi
17967
17968if test "x$wx_cv_lib_glibc21" = "xyes"; then
17969 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17970 cat >>confdefs.h <<\_ACEOF
17971#define _GNU_SOURCE 1
17972_ACEOF
17973
17974 fi
17975fi
17976
17977
17978
17979REGEX_INCLUDE=
17980if test "$wxUSE_REGEX" != "no"; then
17981 cat >>confdefs.h <<\_ACEOF
17982#define wxUSE_REGEX 1
17983_ACEOF
17984
17985
17986 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17987 if test "${ac_cv_header_regex_h+set}" = set; then
17988 echo "$as_me:$LINENO: checking for regex.h" >&5
17989echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17990if test "${ac_cv_header_regex_h+set}" = set; then
17991 echo $ECHO_N "(cached) $ECHO_C" >&6
17992fi
17993echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17994echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17995else
17996 # Is the header compilable?
17997echo "$as_me:$LINENO: checking regex.h usability" >&5
17998echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17999cat >conftest.$ac_ext <<_ACEOF
18000#line $LINENO "configure"
18001/* confdefs.h. */
18002_ACEOF
18003cat confdefs.h >>conftest.$ac_ext
18004cat >>conftest.$ac_ext <<_ACEOF
18005/* end confdefs.h. */
18006$ac_includes_default
18007#include <regex.h>
18008_ACEOF
18009rm -f conftest.$ac_objext
18010if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18011 (eval $ac_compile) 2>&5
18012 ac_status=$?
18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); } &&
18015 { ac_try='test -s conftest.$ac_objext'
18016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18017 (eval $ac_try) 2>&5
18018 ac_status=$?
18019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18020 (exit $ac_status); }; }; then
18021 ac_header_compiler=yes
18022else
18023 echo "$as_me: failed program was:" >&5
18024sed 's/^/| /' conftest.$ac_ext >&5
18025
18026ac_header_compiler=no
18027fi
18028rm -f conftest.$ac_objext conftest.$ac_ext
18029echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18030echo "${ECHO_T}$ac_header_compiler" >&6
18031
18032# Is the header present?
18033echo "$as_me:$LINENO: checking regex.h presence" >&5
18034echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18035cat >conftest.$ac_ext <<_ACEOF
18036#line $LINENO "configure"
18037/* confdefs.h. */
18038_ACEOF
18039cat confdefs.h >>conftest.$ac_ext
18040cat >>conftest.$ac_ext <<_ACEOF
18041/* end confdefs.h. */
18042#include <regex.h>
18043_ACEOF
18044if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18045 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18046 ac_status=$?
18047 grep -v '^ *+' conftest.er1 >conftest.err
18048 rm -f conftest.er1
18049 cat conftest.err >&5
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); } >/dev/null; then
18052 if test -s conftest.err; then
18053 ac_cpp_err=$ac_c_preproc_warn_flag
18054 else
18055 ac_cpp_err=
18056 fi
18057else
18058 ac_cpp_err=yes
18059fi
18060if test -z "$ac_cpp_err"; then
18061 ac_header_preproc=yes
18062else
18063 echo "$as_me: failed program was:" >&5
18064sed 's/^/| /' conftest.$ac_ext >&5
18065
18066 ac_header_preproc=no
18067fi
18068rm -f conftest.err conftest.$ac_ext
18069echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18070echo "${ECHO_T}$ac_header_preproc" >&6
18071
18072# So? What about this header?
18073case $ac_header_compiler:$ac_header_preproc in
18074 yes:no )
18075 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18076echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18077 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18078echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18079 (
18080 cat <<\_ASBOX
18081## ------------------------------------ ##
18082## Report this to bug-autoconf@gnu.org. ##
18083## ------------------------------------ ##
18084_ASBOX
18085 ) |
18086 sed "s/^/$as_me: WARNING: /" >&2
18087 ;;
18088 no:yes )
18089 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18090echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18091 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18092echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18093 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18094echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18095 (
18096 cat <<\_ASBOX
18097## ------------------------------------ ##
18098## Report this to bug-autoconf@gnu.org. ##
18099## ------------------------------------ ##
18100_ASBOX
18101 ) |
18102 sed "s/^/$as_me: WARNING: /" >&2
18103 ;;
18104esac
18105echo "$as_me:$LINENO: checking for regex.h" >&5
18106echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18107if test "${ac_cv_header_regex_h+set}" = set; then
18108 echo $ECHO_N "(cached) $ECHO_C" >&6
18109else
18110 ac_cv_header_regex_h=$ac_header_preproc
18111fi
18112echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18113echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18114
18115fi
18116if test $ac_cv_header_regex_h = yes; then
18117
18118for ac_func in regcomp
18119do
18120as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18121echo "$as_me:$LINENO: checking for $ac_func" >&5
18122echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18123if eval "test \"\${$as_ac_var+set}\" = set"; then
18124 echo $ECHO_N "(cached) $ECHO_C" >&6
18125else
18126 cat >conftest.$ac_ext <<_ACEOF
18127#line $LINENO "configure"
18128/* confdefs.h. */
18129_ACEOF
18130cat confdefs.h >>conftest.$ac_ext
18131cat >>conftest.$ac_ext <<_ACEOF
18132/* end confdefs.h. */
18133/* System header to define __stub macros and hopefully few prototypes,
18134 which can conflict with char $ac_func (); below.
18135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18136 <limits.h> exists even on freestanding compilers. */
18137#ifdef __STDC__
18138# include <limits.h>
18139#else
18140# include <assert.h>
18141#endif
18142/* Override any gcc2 internal prototype to avoid an error. */
18143#ifdef __cplusplus
18144extern "C"
18145{
18146#endif
18147/* We use char because int might match the return type of a gcc2
18148 builtin and then its argument prototype would still apply. */
18149char $ac_func ();
18150/* The GNU C library defines this for functions which it implements
18151 to always fail with ENOSYS. Some functions are actually named
18152 something starting with __ and the normal name is an alias. */
18153#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18154choke me
18155#else
18156char (*f) () = $ac_func;
18157#endif
18158#ifdef __cplusplus
18159}
18160#endif
18161
18162int
18163main ()
18164{
18165return f != $ac_func;
18166 ;
18167 return 0;
18168}
18169_ACEOF
18170rm -f conftest.$ac_objext conftest$ac_exeext
18171if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18172 (eval $ac_link) 2>&5
18173 ac_status=$?
18174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175 (exit $ac_status); } &&
18176 { ac_try='test -s conftest$ac_exeext'
18177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18178 (eval $ac_try) 2>&5
18179 ac_status=$?
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); }; }; then
18182 eval "$as_ac_var=yes"
18183else
18184 echo "$as_me: failed program was:" >&5
18185sed 's/^/| /' conftest.$ac_ext >&5
18186
18187eval "$as_ac_var=no"
18188fi
18189rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18190fi
18191echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18192echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18193if test `eval echo '${'$as_ac_var'}'` = yes; then
18194 cat >>confdefs.h <<_ACEOF
18195#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18196_ACEOF
18197
18198fi
18199done
18200
18201fi
18202
18203
18204
18205 if test "x$ac_cv_func_regcomp" != "xyes"; then
18206 if test "$wxUSE_REGEX" = "sys" ; then
18207 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18208echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18209 { (exit 1); exit 1; }; }
18210 else
18211 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18212echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18213 wxUSE_REGEX=builtin
18214 fi
18215 else
18216 wxUSE_REGEX=sys
18217 fi
18218 fi
18219
18220 if test "$wxUSE_REGEX" = "builtin" ; then
18221 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18222 fi
18223fi
18224
18225
18226ZLIB_INCLUDE=
18227ZLIB_LINK=
18228if test "$wxUSE_ZLIB" != "no" ; then
18229 cat >>confdefs.h <<\_ACEOF
18230#define wxUSE_ZLIB 1
18231_ACEOF
18232
18233
18234 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18235 if test "$USE_DARWIN" = 1; then
18236 system_zlib_h_ok="yes"
18237 else
18238 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18239echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18240if test "${ac_cv_header_zlib_h+set}" = set; then
18241 echo $ECHO_N "(cached) $ECHO_C" >&6
18242else
18243 if test "$cross_compiling" = yes; then
18244 unset ac_cv_header_zlib_h
18245
18246else
18247 cat >conftest.$ac_ext <<_ACEOF
18248#line $LINENO "configure"
18249/* confdefs.h. */
18250_ACEOF
18251cat confdefs.h >>conftest.$ac_ext
18252cat >>conftest.$ac_ext <<_ACEOF
18253/* end confdefs.h. */
18254
18255 #include <zlib.h>
18256 #include <stdio.h>
18257
18258 int main()
18259 {
18260 FILE *f=fopen("conftestval", "w");
18261 if (!f) exit(1);
18262 fprintf(f, "%s",
18263 ZLIB_VERSION[0] == '1' &&
18264 (ZLIB_VERSION[2] > '1' ||
18265 (ZLIB_VERSION[2] == '1' &&
18266 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18267 exit(0);
18268 }
18269
18270_ACEOF
18271rm -f conftest$ac_exeext
18272if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18273 (eval $ac_link) 2>&5
18274 ac_status=$?
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18278 (eval $ac_try) 2>&5
18279 ac_status=$?
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); }; }; then
18282 ac_cv_header_zlib_h=`cat conftestval`
18283else
18284 echo "$as_me: program exited with status $ac_status" >&5
18285echo "$as_me: failed program was:" >&5
18286sed 's/^/| /' conftest.$ac_ext >&5
18287
18288( exit $ac_status )
18289ac_cv_header_zlib_h=no
18290fi
18291rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18292fi
18293
18294fi
18295echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18296echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18297 if test "${ac_cv_header_zlib_h+set}" = set; then
18298 echo "$as_me:$LINENO: checking for zlib.h" >&5
18299echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18300if test "${ac_cv_header_zlib_h+set}" = set; then
18301 echo $ECHO_N "(cached) $ECHO_C" >&6
18302fi
18303echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18304echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18305else
18306 # Is the header compilable?
18307echo "$as_me:$LINENO: checking zlib.h usability" >&5
18308echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18309cat >conftest.$ac_ext <<_ACEOF
18310#line $LINENO "configure"
18311/* confdefs.h. */
18312_ACEOF
18313cat confdefs.h >>conftest.$ac_ext
18314cat >>conftest.$ac_ext <<_ACEOF
18315/* end confdefs.h. */
18316$ac_includes_default
18317#include <zlib.h>
18318_ACEOF
18319rm -f conftest.$ac_objext
18320if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18321 (eval $ac_compile) 2>&5
18322 ac_status=$?
18323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18324 (exit $ac_status); } &&
18325 { ac_try='test -s conftest.$ac_objext'
18326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18327 (eval $ac_try) 2>&5
18328 ac_status=$?
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); }; }; then
18331 ac_header_compiler=yes
18332else
18333 echo "$as_me: failed program was:" >&5
18334sed 's/^/| /' conftest.$ac_ext >&5
18335
18336ac_header_compiler=no
18337fi
18338rm -f conftest.$ac_objext conftest.$ac_ext
18339echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18340echo "${ECHO_T}$ac_header_compiler" >&6
18341
18342# Is the header present?
18343echo "$as_me:$LINENO: checking zlib.h presence" >&5
18344echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18345cat >conftest.$ac_ext <<_ACEOF
18346#line $LINENO "configure"
18347/* confdefs.h. */
18348_ACEOF
18349cat confdefs.h >>conftest.$ac_ext
18350cat >>conftest.$ac_ext <<_ACEOF
18351/* end confdefs.h. */
18352#include <zlib.h>
18353_ACEOF
18354if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18355 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18356 ac_status=$?
18357 grep -v '^ *+' conftest.er1 >conftest.err
18358 rm -f conftest.er1
18359 cat conftest.err >&5
18360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361 (exit $ac_status); } >/dev/null; then
18362 if test -s conftest.err; then
18363 ac_cpp_err=$ac_c_preproc_warn_flag
18364 else
18365 ac_cpp_err=
18366 fi
18367else
18368 ac_cpp_err=yes
18369fi
18370if test -z "$ac_cpp_err"; then
18371 ac_header_preproc=yes
18372else
18373 echo "$as_me: failed program was:" >&5
18374sed 's/^/| /' conftest.$ac_ext >&5
18375
18376 ac_header_preproc=no
18377fi
18378rm -f conftest.err conftest.$ac_ext
18379echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18380echo "${ECHO_T}$ac_header_preproc" >&6
18381
18382# So? What about this header?
18383case $ac_header_compiler:$ac_header_preproc in
18384 yes:no )
18385 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18386echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18387 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18388echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18389 (
18390 cat <<\_ASBOX
18391## ------------------------------------ ##
18392## Report this to bug-autoconf@gnu.org. ##
18393## ------------------------------------ ##
18394_ASBOX
18395 ) |
18396 sed "s/^/$as_me: WARNING: /" >&2
18397 ;;
18398 no:yes )
18399 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18400echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18401 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18402echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18403 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18404echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18405 (
18406 cat <<\_ASBOX
18407## ------------------------------------ ##
18408## Report this to bug-autoconf@gnu.org. ##
18409## ------------------------------------ ##
18410_ASBOX
18411 ) |
18412 sed "s/^/$as_me: WARNING: /" >&2
18413 ;;
18414esac
18415echo "$as_me:$LINENO: checking for zlib.h" >&5
18416echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18417if test "${ac_cv_header_zlib_h+set}" = set; then
18418 echo $ECHO_N "(cached) $ECHO_C" >&6
18419else
18420 ac_cv_header_zlib_h=$ac_header_preproc
18421fi
18422echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18423echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18424
18425fi
18426
18427
18428
18429 system_zlib_h_ok=$ac_cv_header_zlib_h
18430 fi
18431
18432 if test "$system_zlib_h_ok" = "yes"; then
18433 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18434echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18435if test "${ac_cv_lib_z_deflate+set}" = set; then
18436 echo $ECHO_N "(cached) $ECHO_C" >&6
18437else
18438 ac_check_lib_save_LIBS=$LIBS
18439LIBS="-lz $LIBS"
18440cat >conftest.$ac_ext <<_ACEOF
18441#line $LINENO "configure"
18442/* confdefs.h. */
18443_ACEOF
18444cat confdefs.h >>conftest.$ac_ext
18445cat >>conftest.$ac_ext <<_ACEOF
18446/* end confdefs.h. */
18447
18448/* Override any gcc2 internal prototype to avoid an error. */
18449#ifdef __cplusplus
18450extern "C"
18451#endif
18452/* We use char because int might match the return type of a gcc2
18453 builtin and then its argument prototype would still apply. */
18454char deflate ();
18455int
18456main ()
18457{
18458deflate ();
18459 ;
18460 return 0;
18461}
18462_ACEOF
18463rm -f conftest.$ac_objext conftest$ac_exeext
18464if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18465 (eval $ac_link) 2>&5
18466 ac_status=$?
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); } &&
18469 { ac_try='test -s conftest$ac_exeext'
18470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18471 (eval $ac_try) 2>&5
18472 ac_status=$?
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); }; }; then
18475 ac_cv_lib_z_deflate=yes
18476else
18477 echo "$as_me: failed program was:" >&5
18478sed 's/^/| /' conftest.$ac_ext >&5
18479
18480ac_cv_lib_z_deflate=no
18481fi
18482rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18483LIBS=$ac_check_lib_save_LIBS
18484fi
18485echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18486echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18487if test $ac_cv_lib_z_deflate = yes; then
18488 ZLIB_LINK=" -lz"
18489fi
18490
18491 fi
18492
18493 if test "x$ZLIB_LINK" = "x" ; then
18494 if test "$wxUSE_ZLIB" = "sys" ; then
18495 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18496echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18497 { (exit 1); exit 1; }; }
18498 else
18499 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18500echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18501 wxUSE_ZLIB=builtin
18502 fi
18503 else
18504 wxUSE_ZLIB=sys
18505 fi
18506 fi
18507
18508 if test "$wxUSE_ZLIB" = "builtin" ; then
18509 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18510 fi
18511fi
18512
18513
18514PNG_INCLUDE=
18515PNG_LINK=
18516if test "$wxUSE_LIBPNG" != "no" ; then
18517 cat >>confdefs.h <<\_ACEOF
18518#define wxUSE_LIBPNG 1
18519_ACEOF
18520
18521
18522 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18523 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18524echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18525 wxUSE_LIBPNG=sys
18526 fi
18527
18528 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18529 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18530echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18531 wxUSE_LIBPNG=builtin
18532 fi
18533
18534 if test "$wxUSE_MGL" != 1 ; then
18535 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18536 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18537echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18538if test "${ac_cv_header_png_h+set}" = set; then
18539 echo $ECHO_N "(cached) $ECHO_C" >&6
18540else
18541 if test "$cross_compiling" = yes; then
18542 unset ac_cv_header_png_h
18543
18544else
18545 cat >conftest.$ac_ext <<_ACEOF
18546#line $LINENO "configure"
18547/* confdefs.h. */
18548_ACEOF
18549cat confdefs.h >>conftest.$ac_ext
18550cat >>conftest.$ac_ext <<_ACEOF
18551/* end confdefs.h. */
18552
18553 #include <png.h>
18554 #include <stdio.h>
18555
18556 int main()
18557 {
18558 FILE *f=fopen("conftestval", "w");
18559 if (!f) exit(1);
18560 fprintf(f, "%s",
18561 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18562 exit(0);
18563 }
18564
18565_ACEOF
18566rm -f conftest$ac_exeext
18567if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18568 (eval $ac_link) 2>&5
18569 ac_status=$?
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18573 (eval $ac_try) 2>&5
18574 ac_status=$?
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); }; }; then
18577 ac_cv_header_png_h=`cat conftestval`
18578else
18579 echo "$as_me: program exited with status $ac_status" >&5
18580echo "$as_me: failed program was:" >&5
18581sed 's/^/| /' conftest.$ac_ext >&5
18582
18583( exit $ac_status )
18584ac_cv_header_png_h=no
18585fi
18586rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18587fi
18588
18589fi
18590echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18591echo "${ECHO_T}$ac_cv_header_png_h" >&6
18592 if test "${ac_cv_header_png_h+set}" = set; then
18593 echo "$as_me:$LINENO: checking for png.h" >&5
18594echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18595if test "${ac_cv_header_png_h+set}" = set; then
18596 echo $ECHO_N "(cached) $ECHO_C" >&6
18597fi
18598echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18599echo "${ECHO_T}$ac_cv_header_png_h" >&6
18600else
18601 # Is the header compilable?
18602echo "$as_me:$LINENO: checking png.h usability" >&5
18603echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18604cat >conftest.$ac_ext <<_ACEOF
18605#line $LINENO "configure"
18606/* confdefs.h. */
18607_ACEOF
18608cat confdefs.h >>conftest.$ac_ext
18609cat >>conftest.$ac_ext <<_ACEOF
18610/* end confdefs.h. */
18611$ac_includes_default
18612#include <png.h>
18613_ACEOF
18614rm -f conftest.$ac_objext
18615if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18616 (eval $ac_compile) 2>&5
18617 ac_status=$?
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); } &&
18620 { ac_try='test -s conftest.$ac_objext'
18621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18622 (eval $ac_try) 2>&5
18623 ac_status=$?
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); }; }; then
18626 ac_header_compiler=yes
18627else
18628 echo "$as_me: failed program was:" >&5
18629sed 's/^/| /' conftest.$ac_ext >&5
18630
18631ac_header_compiler=no
18632fi
18633rm -f conftest.$ac_objext conftest.$ac_ext
18634echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18635echo "${ECHO_T}$ac_header_compiler" >&6
18636
18637# Is the header present?
18638echo "$as_me:$LINENO: checking png.h presence" >&5
18639echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18640cat >conftest.$ac_ext <<_ACEOF
18641#line $LINENO "configure"
18642/* confdefs.h. */
18643_ACEOF
18644cat confdefs.h >>conftest.$ac_ext
18645cat >>conftest.$ac_ext <<_ACEOF
18646/* end confdefs.h. */
18647#include <png.h>
18648_ACEOF
18649if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18650 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18651 ac_status=$?
18652 grep -v '^ *+' conftest.er1 >conftest.err
18653 rm -f conftest.er1
18654 cat conftest.err >&5
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); } >/dev/null; then
18657 if test -s conftest.err; then
18658 ac_cpp_err=$ac_c_preproc_warn_flag
18659 else
18660 ac_cpp_err=
18661 fi
18662else
18663 ac_cpp_err=yes
18664fi
18665if test -z "$ac_cpp_err"; then
18666 ac_header_preproc=yes
18667else
18668 echo "$as_me: failed program was:" >&5
18669sed 's/^/| /' conftest.$ac_ext >&5
18670
18671 ac_header_preproc=no
18672fi
18673rm -f conftest.err conftest.$ac_ext
18674echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18675echo "${ECHO_T}$ac_header_preproc" >&6
18676
18677# So? What about this header?
18678case $ac_header_compiler:$ac_header_preproc in
18679 yes:no )
18680 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18681echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18682 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18683echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18684 (
18685 cat <<\_ASBOX
18686## ------------------------------------ ##
18687## Report this to bug-autoconf@gnu.org. ##
18688## ------------------------------------ ##
18689_ASBOX
18690 ) |
18691 sed "s/^/$as_me: WARNING: /" >&2
18692 ;;
18693 no:yes )
18694 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18695echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18696 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18697echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18698 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18699echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18700 (
18701 cat <<\_ASBOX
18702## ------------------------------------ ##
18703## Report this to bug-autoconf@gnu.org. ##
18704## ------------------------------------ ##
18705_ASBOX
18706 ) |
18707 sed "s/^/$as_me: WARNING: /" >&2
18708 ;;
18709esac
18710echo "$as_me:$LINENO: checking for png.h" >&5
18711echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18712if test "${ac_cv_header_png_h+set}" = set; then
18713 echo $ECHO_N "(cached) $ECHO_C" >&6
18714else
18715 ac_cv_header_png_h=$ac_header_preproc
18716fi
18717echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18718echo "${ECHO_T}$ac_cv_header_png_h" >&6
18719
18720fi
18721
18722
18723
18724 if test "$ac_cv_header_png_h" = "yes"; then
18725 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18726echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18727if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18728 echo $ECHO_N "(cached) $ECHO_C" >&6
18729else
18730 ac_check_lib_save_LIBS=$LIBS
18731LIBS="-lpng -lz -lm $LIBS"
18732cat >conftest.$ac_ext <<_ACEOF
18733#line $LINENO "configure"
18734/* confdefs.h. */
18735_ACEOF
18736cat confdefs.h >>conftest.$ac_ext
18737cat >>conftest.$ac_ext <<_ACEOF
18738/* end confdefs.h. */
18739
18740/* Override any gcc2 internal prototype to avoid an error. */
18741#ifdef __cplusplus
18742extern "C"
18743#endif
18744/* We use char because int might match the return type of a gcc2
18745 builtin and then its argument prototype would still apply. */
18746char png_check_sig ();
18747int
18748main ()
18749{
18750png_check_sig ();
18751 ;
18752 return 0;
18753}
18754_ACEOF
18755rm -f conftest.$ac_objext conftest$ac_exeext
18756if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18757 (eval $ac_link) 2>&5
18758 ac_status=$?
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); } &&
18761 { ac_try='test -s conftest$ac_exeext'
18762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18763 (eval $ac_try) 2>&5
18764 ac_status=$?
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); }; }; then
18767 ac_cv_lib_png_png_check_sig=yes
18768else
18769 echo "$as_me: failed program was:" >&5
18770sed 's/^/| /' conftest.$ac_ext >&5
18771
18772ac_cv_lib_png_png_check_sig=no
18773fi
18774rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18775LIBS=$ac_check_lib_save_LIBS
18776fi
18777echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18778echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18779if test $ac_cv_lib_png_png_check_sig = yes; then
18780 PNG_LINK=" -lpng"
18781fi
18782
18783 fi
18784
18785 if test "x$PNG_LINK" = "x" ; then
18786 if test "$wxUSE_LIBPNG" = "sys" ; then
18787 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18788echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18789 { (exit 1); exit 1; }; }
18790 else
18791 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18792echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18793 wxUSE_LIBPNG=builtin
18794 fi
18795 else
18796 wxUSE_LIBPNG=sys
18797 fi
18798 fi
18799 fi
18800
18801 if test "$wxUSE_LIBPNG" = "builtin" ; then
18802 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18803 fi
18804
18805 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18806fi
18807
18808
18809JPEG_INCLUDE=
18810JPEG_LINK=
18811if test "$wxUSE_LIBJPEG" != "no" ; then
18812 cat >>confdefs.h <<\_ACEOF
18813#define wxUSE_LIBJPEG 1
18814_ACEOF
18815
18816
18817 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18818 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18819echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18820 wxUSE_LIBJPEG=sys
18821 fi
18822
18823 if test "$wxUSE_MGL" != 1 ; then
18824 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18825 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18826echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18827 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18828 echo $ECHO_N "(cached) $ECHO_C" >&6
18829else
18830 cat >conftest.$ac_ext <<_ACEOF
18831#line $LINENO "configure"
18832/* confdefs.h. */
18833_ACEOF
18834cat confdefs.h >>conftest.$ac_ext
18835cat >>conftest.$ac_ext <<_ACEOF
18836/* end confdefs.h. */
18837
18838 #undef HAVE_STDLIB_H
18839 #include <stdio.h>
18840 #include <jpeglib.h>
18841
18842int
18843main ()
18844{
18845
18846
18847 ;
18848 return 0;
18849}
18850_ACEOF
18851rm -f conftest.$ac_objext
18852if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18853 (eval $ac_compile) 2>&5
18854 ac_status=$?
18855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856 (exit $ac_status); } &&
18857 { ac_try='test -s conftest.$ac_objext'
18858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18859 (eval $ac_try) 2>&5
18860 ac_status=$?
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); }; }; then
18863 ac_cv_header_jpeglib_h=yes
18864else
18865 echo "$as_me: failed program was:" >&5
18866sed 's/^/| /' conftest.$ac_ext >&5
18867
18868ac_cv_header_jpeglib_h=no
18869
18870fi
18871rm -f conftest.$ac_objext conftest.$ac_ext
18872
18873fi
18874
18875 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18876echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18877
18878 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18879 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18880echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18881if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18882 echo $ECHO_N "(cached) $ECHO_C" >&6
18883else
18884 ac_check_lib_save_LIBS=$LIBS
18885LIBS="-ljpeg $LIBS"
18886cat >conftest.$ac_ext <<_ACEOF
18887#line $LINENO "configure"
18888/* confdefs.h. */
18889_ACEOF
18890cat confdefs.h >>conftest.$ac_ext
18891cat >>conftest.$ac_ext <<_ACEOF
18892/* end confdefs.h. */
18893
18894/* Override any gcc2 internal prototype to avoid an error. */
18895#ifdef __cplusplus
18896extern "C"
18897#endif
18898/* We use char because int might match the return type of a gcc2
18899 builtin and then its argument prototype would still apply. */
18900char jpeg_read_header ();
18901int
18902main ()
18903{
18904jpeg_read_header ();
18905 ;
18906 return 0;
18907}
18908_ACEOF
18909rm -f conftest.$ac_objext conftest$ac_exeext
18910if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18911 (eval $ac_link) 2>&5
18912 ac_status=$?
18913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18914 (exit $ac_status); } &&
18915 { ac_try='test -s conftest$ac_exeext'
18916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18917 (eval $ac_try) 2>&5
18918 ac_status=$?
18919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18920 (exit $ac_status); }; }; then
18921 ac_cv_lib_jpeg_jpeg_read_header=yes
18922else
18923 echo "$as_me: failed program was:" >&5
18924sed 's/^/| /' conftest.$ac_ext >&5
18925
18926ac_cv_lib_jpeg_jpeg_read_header=no
18927fi
18928rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18929LIBS=$ac_check_lib_save_LIBS
18930fi
18931echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18932echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18933if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18934 JPEG_LINK=" -ljpeg"
18935fi
18936
18937 fi
18938
18939 if test "x$JPEG_LINK" = "x" ; then
18940 if test "$wxUSE_LIBJPEG" = "sys" ; then
18941 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18942echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18943 { (exit 1); exit 1; }; }
18944 else
18945 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18946echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18947 wxUSE_LIBJPEG=builtin
18948 fi
18949 else
18950 wxUSE_LIBJPEG=sys
18951 fi
18952 fi
18953 fi
18954
18955 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18956 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
18957 fi
18958fi
18959
18960
18961TIFF_INCLUDE=
18962TIFF_LINK=
18963TIFF_PREREQ_LINKS=-lm
18964if test "$wxUSE_LIBTIFF" != "no" ; then
18965 cat >>confdefs.h <<\_ACEOF
18966#define wxUSE_LIBTIFF 1
18967_ACEOF
18968
18969
18970 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18971 if test "$wxUSE_LIBJPEG" = "sys"; then
18972 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
18973 fi
18974 if test "$wxUSE_ZLIB" = "sys"; then
18975 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18976 fi
18977 if test "${ac_cv_header_tiffio_h+set}" = set; then
18978 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18979echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18980if test "${ac_cv_header_tiffio_h+set}" = set; then
18981 echo $ECHO_N "(cached) $ECHO_C" >&6
18982fi
18983echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18984echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18985else
18986 # Is the header compilable?
18987echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18988echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18989cat >conftest.$ac_ext <<_ACEOF
18990#line $LINENO "configure"
18991/* confdefs.h. */
18992_ACEOF
18993cat confdefs.h >>conftest.$ac_ext
18994cat >>conftest.$ac_ext <<_ACEOF
18995/* end confdefs.h. */
18996$ac_includes_default
18997#include <tiffio.h>
18998_ACEOF
18999rm -f conftest.$ac_objext
19000if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19001 (eval $ac_compile) 2>&5
19002 ac_status=$?
19003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19004 (exit $ac_status); } &&
19005 { ac_try='test -s conftest.$ac_objext'
19006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19007 (eval $ac_try) 2>&5
19008 ac_status=$?
19009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19010 (exit $ac_status); }; }; then
19011 ac_header_compiler=yes
19012else
19013 echo "$as_me: failed program was:" >&5
19014sed 's/^/| /' conftest.$ac_ext >&5
19015
19016ac_header_compiler=no
19017fi
19018rm -f conftest.$ac_objext conftest.$ac_ext
19019echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19020echo "${ECHO_T}$ac_header_compiler" >&6
19021
19022# Is the header present?
19023echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19024echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19025cat >conftest.$ac_ext <<_ACEOF
19026#line $LINENO "configure"
19027/* confdefs.h. */
19028_ACEOF
19029cat confdefs.h >>conftest.$ac_ext
19030cat >>conftest.$ac_ext <<_ACEOF
19031/* end confdefs.h. */
19032#include <tiffio.h>
19033_ACEOF
19034if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19035 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19036 ac_status=$?
19037 grep -v '^ *+' conftest.er1 >conftest.err
19038 rm -f conftest.er1
19039 cat conftest.err >&5
19040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19041 (exit $ac_status); } >/dev/null; then
19042 if test -s conftest.err; then
19043 ac_cpp_err=$ac_c_preproc_warn_flag
19044 else
19045 ac_cpp_err=
19046 fi
19047else
19048 ac_cpp_err=yes
19049fi
19050if test -z "$ac_cpp_err"; then
19051 ac_header_preproc=yes
19052else
19053 echo "$as_me: failed program was:" >&5
19054sed 's/^/| /' conftest.$ac_ext >&5
19055
19056 ac_header_preproc=no
19057fi
19058rm -f conftest.err conftest.$ac_ext
19059echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19060echo "${ECHO_T}$ac_header_preproc" >&6
19061
19062# So? What about this header?
19063case $ac_header_compiler:$ac_header_preproc in
19064 yes:no )
19065 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19066echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19067 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19068echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19069 (
19070 cat <<\_ASBOX
19071## ------------------------------------ ##
19072## Report this to bug-autoconf@gnu.org. ##
19073## ------------------------------------ ##
19074_ASBOX
19075 ) |
19076 sed "s/^/$as_me: WARNING: /" >&2
19077 ;;
19078 no:yes )
19079 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19080echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19081 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19082echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19083 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19084echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19085 (
19086 cat <<\_ASBOX
19087## ------------------------------------ ##
19088## Report this to bug-autoconf@gnu.org. ##
19089## ------------------------------------ ##
19090_ASBOX
19091 ) |
19092 sed "s/^/$as_me: WARNING: /" >&2
19093 ;;
19094esac
19095echo "$as_me:$LINENO: checking for tiffio.h" >&5
19096echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19097if test "${ac_cv_header_tiffio_h+set}" = set; then
19098 echo $ECHO_N "(cached) $ECHO_C" >&6
19099else
19100 ac_cv_header_tiffio_h=$ac_header_preproc
19101fi
19102echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19103echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19104
19105fi
19106if test $ac_cv_header_tiffio_h = yes; then
19107
19108 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19109echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19110if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19111 echo $ECHO_N "(cached) $ECHO_C" >&6
19112else
19113 ac_check_lib_save_LIBS=$LIBS
19114LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19115cat >conftest.$ac_ext <<_ACEOF
19116#line $LINENO "configure"
19117/* confdefs.h. */
19118_ACEOF
19119cat confdefs.h >>conftest.$ac_ext
19120cat >>conftest.$ac_ext <<_ACEOF
19121/* end confdefs.h. */
19122
19123/* Override any gcc2 internal prototype to avoid an error. */
19124#ifdef __cplusplus
19125extern "C"
19126#endif
19127/* We use char because int might match the return type of a gcc2
19128 builtin and then its argument prototype would still apply. */
19129char TIFFError ();
19130int
19131main ()
19132{
19133TIFFError ();
19134 ;
19135 return 0;
19136}
19137_ACEOF
19138rm -f conftest.$ac_objext conftest$ac_exeext
19139if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19140 (eval $ac_link) 2>&5
19141 ac_status=$?
19142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19143 (exit $ac_status); } &&
19144 { ac_try='test -s conftest$ac_exeext'
19145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19146 (eval $ac_try) 2>&5
19147 ac_status=$?
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); }; }; then
19150 ac_cv_lib_tiff_TIFFError=yes
19151else
19152 echo "$as_me: failed program was:" >&5
19153sed 's/^/| /' conftest.$ac_ext >&5
19154
19155ac_cv_lib_tiff_TIFFError=no
19156fi
19157rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19158LIBS=$ac_check_lib_save_LIBS
19159fi
19160echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19161echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19162if test $ac_cv_lib_tiff_TIFFError = yes; then
19163 TIFF_LINK=" -ltiff"
19164fi
19165
19166
19167
19168fi
19169
19170
19171
19172 if test "x$TIFF_LINK" = "x" ; then
19173 if test "$wxUSE_LIBTIFF" = "sys" ; then
19174 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19175echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19176 { (exit 1); exit 1; }; }
19177 else
19178 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19179echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19180 wxUSE_LIBTIFF=builtin
19181 fi
19182 else
19183 wxUSE_LIBTIFF=sys
19184 fi
19185 fi
19186
19187 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19188 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19189 fi
19190fi
19191
19192
19193if test "$wxUSE_EXPAT" != "no"; then
19194 wxUSE_XML=yes
19195 cat >>confdefs.h <<\_ACEOF
19196#define wxUSE_EXPAT 1
19197_ACEOF
19198
19199 cat >>confdefs.h <<\_ACEOF
19200#define wxUSE_XML 1
19201_ACEOF
19202
19203
19204 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19205 if test "${ac_cv_header_expat_h+set}" = set; then
19206 echo "$as_me:$LINENO: checking for expat.h" >&5
19207echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19208if test "${ac_cv_header_expat_h+set}" = set; then
19209 echo $ECHO_N "(cached) $ECHO_C" >&6
19210fi
19211echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19212echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19213else
19214 # Is the header compilable?
19215echo "$as_me:$LINENO: checking expat.h usability" >&5
19216echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19217cat >conftest.$ac_ext <<_ACEOF
19218#line $LINENO "configure"
19219/* confdefs.h. */
19220_ACEOF
19221cat confdefs.h >>conftest.$ac_ext
19222cat >>conftest.$ac_ext <<_ACEOF
19223/* end confdefs.h. */
19224$ac_includes_default
19225#include <expat.h>
19226_ACEOF
19227rm -f conftest.$ac_objext
19228if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19229 (eval $ac_compile) 2>&5
19230 ac_status=$?
19231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19232 (exit $ac_status); } &&
19233 { ac_try='test -s conftest.$ac_objext'
19234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19235 (eval $ac_try) 2>&5
19236 ac_status=$?
19237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238 (exit $ac_status); }; }; then
19239 ac_header_compiler=yes
19240else
19241 echo "$as_me: failed program was:" >&5
19242sed 's/^/| /' conftest.$ac_ext >&5
19243
19244ac_header_compiler=no
19245fi
19246rm -f conftest.$ac_objext conftest.$ac_ext
19247echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19248echo "${ECHO_T}$ac_header_compiler" >&6
19249
19250# Is the header present?
19251echo "$as_me:$LINENO: checking expat.h presence" >&5
19252echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19253cat >conftest.$ac_ext <<_ACEOF
19254#line $LINENO "configure"
19255/* confdefs.h. */
19256_ACEOF
19257cat confdefs.h >>conftest.$ac_ext
19258cat >>conftest.$ac_ext <<_ACEOF
19259/* end confdefs.h. */
19260#include <expat.h>
19261_ACEOF
19262if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19263 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19264 ac_status=$?
19265 grep -v '^ *+' conftest.er1 >conftest.err
19266 rm -f conftest.er1
19267 cat conftest.err >&5
19268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19269 (exit $ac_status); } >/dev/null; then
19270 if test -s conftest.err; then
19271 ac_cpp_err=$ac_c_preproc_warn_flag
19272 else
19273 ac_cpp_err=
19274 fi
19275else
19276 ac_cpp_err=yes
19277fi
19278if test -z "$ac_cpp_err"; then
19279 ac_header_preproc=yes
19280else
19281 echo "$as_me: failed program was:" >&5
19282sed 's/^/| /' conftest.$ac_ext >&5
19283
19284 ac_header_preproc=no
19285fi
19286rm -f conftest.err conftest.$ac_ext
19287echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19288echo "${ECHO_T}$ac_header_preproc" >&6
19289
19290# So? What about this header?
19291case $ac_header_compiler:$ac_header_preproc in
19292 yes:no )
19293 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19294echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19295 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19296echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19297 (
19298 cat <<\_ASBOX
19299## ------------------------------------ ##
19300## Report this to bug-autoconf@gnu.org. ##
19301## ------------------------------------ ##
19302_ASBOX
19303 ) |
19304 sed "s/^/$as_me: WARNING: /" >&2
19305 ;;
19306 no:yes )
19307 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19308echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19309 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19310echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19311 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19312echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19313 (
19314 cat <<\_ASBOX
19315## ------------------------------------ ##
19316## Report this to bug-autoconf@gnu.org. ##
19317## ------------------------------------ ##
19318_ASBOX
19319 ) |
19320 sed "s/^/$as_me: WARNING: /" >&2
19321 ;;
19322esac
19323echo "$as_me:$LINENO: checking for expat.h" >&5
19324echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19325if test "${ac_cv_header_expat_h+set}" = set; then
19326 echo $ECHO_N "(cached) $ECHO_C" >&6
19327else
19328 ac_cv_header_expat_h=$ac_header_preproc
19329fi
19330echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19331echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19332
19333fi
19334if test $ac_cv_header_expat_h = yes; then
19335 found_expat_h=1
19336fi
19337
19338
19339 if test "x$found_expat_h" = "x1"; then
19340 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19341echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19342if test "${wx_cv_expat_is_not_broken+set}" = set; then
19343 echo $ECHO_N "(cached) $ECHO_C" >&6
19344else
19345
19346
19347
19348 ac_ext=cc
19349ac_cpp='$CXXCPP $CPPFLAGS'
19350ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19351ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19352ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19353
19354 cat >conftest.$ac_ext <<_ACEOF
19355#line $LINENO "configure"
19356/* confdefs.h. */
19357_ACEOF
19358cat confdefs.h >>conftest.$ac_ext
19359cat >>conftest.$ac_ext <<_ACEOF
19360/* end confdefs.h. */
19361#include <expat.h>
19362int
19363main ()
19364{
19365
19366 ;
19367 return 0;
19368}
19369_ACEOF
19370rm -f conftest.$ac_objext
19371if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19372 (eval $ac_compile) 2>&5
19373 ac_status=$?
19374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19375 (exit $ac_status); } &&
19376 { ac_try='test -s conftest.$ac_objext'
19377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19378 (eval $ac_try) 2>&5
19379 ac_status=$?
19380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19381 (exit $ac_status); }; }; then
19382 wx_cv_expat_is_not_broken=yes
19383else
19384 echo "$as_me: failed program was:" >&5
19385sed 's/^/| /' conftest.$ac_ext >&5
19386
19387wx_cv_expat_is_not_broken=no
19388
19389fi
19390rm -f conftest.$ac_objext conftest.$ac_ext
19391 ac_ext=c
19392ac_cpp='$CPP $CPPFLAGS'
19393ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19394ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19395ac_compiler_gnu=$ac_cv_c_compiler_gnu
19396
19397
19398
19399fi
19400echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19401echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19402 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19403 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19404echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19405if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19406 echo $ECHO_N "(cached) $ECHO_C" >&6
19407else
19408 ac_check_lib_save_LIBS=$LIBS
19409LIBS="-lexpat $LIBS"
19410cat >conftest.$ac_ext <<_ACEOF
19411#line $LINENO "configure"
19412/* confdefs.h. */
19413_ACEOF
19414cat confdefs.h >>conftest.$ac_ext
19415cat >>conftest.$ac_ext <<_ACEOF
19416/* end confdefs.h. */
19417
19418/* Override any gcc2 internal prototype to avoid an error. */
19419#ifdef __cplusplus
19420extern "C"
19421#endif
19422/* We use char because int might match the return type of a gcc2
19423 builtin and then its argument prototype would still apply. */
19424char XML_ParserCreate ();
19425int
19426main ()
19427{
19428XML_ParserCreate ();
19429 ;
19430 return 0;
19431}
19432_ACEOF
19433rm -f conftest.$ac_objext conftest$ac_exeext
19434if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19435 (eval $ac_link) 2>&5
19436 ac_status=$?
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); } &&
19439 { ac_try='test -s conftest$ac_exeext'
19440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19441 (eval $ac_try) 2>&5
19442 ac_status=$?
19443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19444 (exit $ac_status); }; }; then
19445 ac_cv_lib_expat_XML_ParserCreate=yes
19446else
19447 echo "$as_me: failed program was:" >&5
19448sed 's/^/| /' conftest.$ac_ext >&5
19449
19450ac_cv_lib_expat_XML_ParserCreate=no
19451fi
19452rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19453LIBS=$ac_check_lib_save_LIBS
19454fi
19455echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19456echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19457if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19458 EXPAT_LINK=" -lexpat"
19459fi
19460
19461 fi
19462 fi
19463 if test "x$EXPAT_LINK" = "x" ; then
19464 if test "$wxUSE_EXPAT" = "sys" ; then
19465 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19466echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19467 { (exit 1); exit 1; }; }
19468 else
19469 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19470echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19471 wxUSE_EXPAT=builtin
19472 fi
19473 else
19474 wxUSE_EXPAT=sys
19475 fi
19476 fi
19477 if test "$wxUSE_EXPAT" = "builtin" ; then
19478
19479
19480subdirs="$subdirs src/expat"
19481
19482 fi
19483fi
19484
19485
19486
19487AFMINSTALL=
19488WIN32INSTALL=
19489
19490TOOLKIT=
19491TOOLKIT_INCLUDE=
19492WIDGET_SET=
19493
19494if test "$USE_WIN32" = 1 ; then
19495
19496for ac_header in w32api.h
19497do
19498as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19499if eval "test \"\${$as_ac_Header+set}\" = set"; then
19500 echo "$as_me:$LINENO: checking for $ac_header" >&5
19501echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19502if eval "test \"\${$as_ac_Header+set}\" = set"; then
19503 echo $ECHO_N "(cached) $ECHO_C" >&6
19504fi
19505echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19506echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19507else
19508 # Is the header compilable?
19509echo "$as_me:$LINENO: checking $ac_header usability" >&5
19510echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19511cat >conftest.$ac_ext <<_ACEOF
19512#line $LINENO "configure"
19513/* confdefs.h. */
19514_ACEOF
19515cat confdefs.h >>conftest.$ac_ext
19516cat >>conftest.$ac_ext <<_ACEOF
19517/* end confdefs.h. */
19518$ac_includes_default
19519#include <$ac_header>
19520_ACEOF
19521rm -f conftest.$ac_objext
19522if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19523 (eval $ac_compile) 2>&5
19524 ac_status=$?
19525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19526 (exit $ac_status); } &&
19527 { ac_try='test -s conftest.$ac_objext'
19528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19529 (eval $ac_try) 2>&5
19530 ac_status=$?
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); }; }; then
19533 ac_header_compiler=yes
19534else
19535 echo "$as_me: failed program was:" >&5
19536sed 's/^/| /' conftest.$ac_ext >&5
19537
19538ac_header_compiler=no
19539fi
19540rm -f conftest.$ac_objext conftest.$ac_ext
19541echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19542echo "${ECHO_T}$ac_header_compiler" >&6
19543
19544# Is the header present?
19545echo "$as_me:$LINENO: checking $ac_header presence" >&5
19546echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19547cat >conftest.$ac_ext <<_ACEOF
19548#line $LINENO "configure"
19549/* confdefs.h. */
19550_ACEOF
19551cat confdefs.h >>conftest.$ac_ext
19552cat >>conftest.$ac_ext <<_ACEOF
19553/* end confdefs.h. */
19554#include <$ac_header>
19555_ACEOF
19556if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19557 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19558 ac_status=$?
19559 grep -v '^ *+' conftest.er1 >conftest.err
19560 rm -f conftest.er1
19561 cat conftest.err >&5
19562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19563 (exit $ac_status); } >/dev/null; then
19564 if test -s conftest.err; then
19565 ac_cpp_err=$ac_c_preproc_warn_flag
19566 else
19567 ac_cpp_err=
19568 fi
19569else
19570 ac_cpp_err=yes
19571fi
19572if test -z "$ac_cpp_err"; then
19573 ac_header_preproc=yes
19574else
19575 echo "$as_me: failed program was:" >&5
19576sed 's/^/| /' conftest.$ac_ext >&5
19577
19578 ac_header_preproc=no
19579fi
19580rm -f conftest.err conftest.$ac_ext
19581echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19582echo "${ECHO_T}$ac_header_preproc" >&6
19583
19584# So? What about this header?
19585case $ac_header_compiler:$ac_header_preproc in
19586 yes:no )
19587 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19588echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19590echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19591 (
19592 cat <<\_ASBOX
19593## ------------------------------------ ##
19594## Report this to bug-autoconf@gnu.org. ##
19595## ------------------------------------ ##
19596_ASBOX
19597 ) |
19598 sed "s/^/$as_me: WARNING: /" >&2
19599 ;;
19600 no:yes )
19601 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19602echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19603 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19604echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19606echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19607 (
19608 cat <<\_ASBOX
19609## ------------------------------------ ##
19610## Report this to bug-autoconf@gnu.org. ##
19611## ------------------------------------ ##
19612_ASBOX
19613 ) |
19614 sed "s/^/$as_me: WARNING: /" >&2
19615 ;;
19616esac
19617echo "$as_me:$LINENO: checking for $ac_header" >&5
19618echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19619if eval "test \"\${$as_ac_Header+set}\" = set"; then
19620 echo $ECHO_N "(cached) $ECHO_C" >&6
19621else
19622 eval "$as_ac_Header=$ac_header_preproc"
19623fi
19624echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19625echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19626
19627fi
19628if test `eval echo '${'$as_ac_Header'}'` = yes; then
19629 cat >>confdefs.h <<_ACEOF
19630#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19631_ACEOF
19632
19633fi
19634
19635done
19636
19637 if test "${ac_cv_header_windows_h+set}" = set; then
19638 echo "$as_me:$LINENO: checking for windows.h" >&5
19639echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19640if test "${ac_cv_header_windows_h+set}" = set; then
19641 echo $ECHO_N "(cached) $ECHO_C" >&6
19642fi
19643echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19644echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19645else
19646 # Is the header compilable?
19647echo "$as_me:$LINENO: checking windows.h usability" >&5
19648echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19649cat >conftest.$ac_ext <<_ACEOF
19650#line $LINENO "configure"
19651/* confdefs.h. */
19652_ACEOF
19653cat confdefs.h >>conftest.$ac_ext
19654cat >>conftest.$ac_ext <<_ACEOF
19655/* end confdefs.h. */
19656$ac_includes_default
19657#include <windows.h>
19658_ACEOF
19659rm -f conftest.$ac_objext
19660if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19661 (eval $ac_compile) 2>&5
19662 ac_status=$?
19663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664 (exit $ac_status); } &&
19665 { ac_try='test -s conftest.$ac_objext'
19666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19667 (eval $ac_try) 2>&5
19668 ac_status=$?
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); }; }; then
19671 ac_header_compiler=yes
19672else
19673 echo "$as_me: failed program was:" >&5
19674sed 's/^/| /' conftest.$ac_ext >&5
19675
19676ac_header_compiler=no
19677fi
19678rm -f conftest.$ac_objext conftest.$ac_ext
19679echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19680echo "${ECHO_T}$ac_header_compiler" >&6
19681
19682# Is the header present?
19683echo "$as_me:$LINENO: checking windows.h presence" >&5
19684echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19685cat >conftest.$ac_ext <<_ACEOF
19686#line $LINENO "configure"
19687/* confdefs.h. */
19688_ACEOF
19689cat confdefs.h >>conftest.$ac_ext
19690cat >>conftest.$ac_ext <<_ACEOF
19691/* end confdefs.h. */
19692#include <windows.h>
19693_ACEOF
19694if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19695 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19696 ac_status=$?
19697 grep -v '^ *+' conftest.er1 >conftest.err
19698 rm -f conftest.er1
19699 cat conftest.err >&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); } >/dev/null; then
19702 if test -s conftest.err; then
19703 ac_cpp_err=$ac_c_preproc_warn_flag
19704 else
19705 ac_cpp_err=
19706 fi
19707else
19708 ac_cpp_err=yes
19709fi
19710if test -z "$ac_cpp_err"; then
19711 ac_header_preproc=yes
19712else
19713 echo "$as_me: failed program was:" >&5
19714sed 's/^/| /' conftest.$ac_ext >&5
19715
19716 ac_header_preproc=no
19717fi
19718rm -f conftest.err conftest.$ac_ext
19719echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19720echo "${ECHO_T}$ac_header_preproc" >&6
19721
19722# So? What about this header?
19723case $ac_header_compiler:$ac_header_preproc in
19724 yes:no )
19725 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19726echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19727 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19728echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19729 (
19730 cat <<\_ASBOX
19731## ------------------------------------ ##
19732## Report this to bug-autoconf@gnu.org. ##
19733## ------------------------------------ ##
19734_ASBOX
19735 ) |
19736 sed "s/^/$as_me: WARNING: /" >&2
19737 ;;
19738 no:yes )
19739 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19740echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19741 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19742echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19743 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19744echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19745 (
19746 cat <<\_ASBOX
19747## ------------------------------------ ##
19748## Report this to bug-autoconf@gnu.org. ##
19749## ------------------------------------ ##
19750_ASBOX
19751 ) |
19752 sed "s/^/$as_me: WARNING: /" >&2
19753 ;;
19754esac
19755echo "$as_me:$LINENO: checking for windows.h" >&5
19756echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19757if test "${ac_cv_header_windows_h+set}" = set; then
19758 echo $ECHO_N "(cached) $ECHO_C" >&6
19759else
19760 ac_cv_header_windows_h=$ac_header_preproc
19761fi
19762echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19763echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19764
19765fi
19766if test $ac_cv_header_windows_h = yes; then
19767 :
19768else
19769
19770 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19771echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19772 { (exit 1); exit 1; }; }
19773
19774fi
19775
19776
19777
19778 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19779
19780 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19781 LIBS="$LIBS -loleacc"
19782 fi
19783
19784 case "${host}" in
19785 *-*-cygwin* )
19786 LIBS="$LIBS -lkernel32 -luser32"
19787 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
19788 esac
19789
19790 if test "$wxUSE_ODBC" = "sys" ; then
19791 wxUSE_ODBC = "yes"
19792 fi
19793 if test "$wxUSE_ODBC" = "yes" ; then
19794 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
19795 cat >>confdefs.h <<\_ACEOF
19796#define wxUSE_ODBC 1
19797_ACEOF
19798
19799 fi
19800
19801 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19802 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
19803
19804 WIN32INSTALL=win32install
19805fi
19806
19807if test "$wxUSE_GUI" = "yes"; then
19808 USE_GUI=1
19809
19810 GUI_TK_LIBRARY=
19811
19812 WXGTK12=
19813 WXGTK127=
19814 WXGTK20=
19815
19816 if test "$wxUSE_MSW" = 1 ; then
19817 TOOLKIT=MSW
19818 GUIDIST=MSW_DIST
19819
19820 case "${host}" in
19821 *-*-mingw32* )
19822 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
19823 esac
19824 fi
19825
19826 if test "$wxUSE_GTK" = 1; then
19827 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19828echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19829
19830 gtk_version_cached=1
19831 if test "${wx_cv_lib_gtk+set}" = set; then
19832 echo $ECHO_N "(cached) $ECHO_C" >&6
19833else
19834
19835 gtk_version_cached=0
19836 echo "$as_me:$LINENO: result: " >&5
19837echo "${ECHO_T}" >&6
19838
19839 GTK_MODULES=
19840 if test "$wxUSE_THREADS" = "yes"; then
19841 GTK_MODULES=gthread
19842 fi
19843
19844 wx_cv_lib_gtk=
19845 if test "x$wxUSE_GTK2" = "xyes"; then
19846 # Check whether --enable-gtktest or --disable-gtktest was given.
19847if test "${enable_gtktest+set}" = set; then
19848 enableval="$enable_gtktest"
19849
19850else
19851 enable_gtktest=yes
19852fi;
19853
19854 pkg_config_args=gtk+-2.0
19855 for module in . $GTK_MODULES
19856 do
19857 case "$module" in
19858 gthread)
19859 pkg_config_args="$pkg_config_args gthread-2.0"
19860 ;;
19861 esac
19862 done
19863
19864 no_gtk=""
19865
19866 # Extract the first word of "pkg-config", so it can be a program name with args.
19867set dummy pkg-config; ac_word=$2
19868echo "$as_me:$LINENO: checking for $ac_word" >&5
19869echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19870if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19871 echo $ECHO_N "(cached) $ECHO_C" >&6
19872else
19873 case $PKG_CONFIG in
19874 [\\/]* | ?:[\\/]*)
19875 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19876 ;;
19877 *)
19878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19879for as_dir in $PATH
19880do
19881 IFS=$as_save_IFS
19882 test -z "$as_dir" && as_dir=.
19883 for ac_exec_ext in '' $ac_executable_extensions; do
19884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19885 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19887 break 2
19888 fi
19889done
19890done
19891
19892 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19893 ;;
19894esac
19895fi
19896PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19897
19898if test -n "$PKG_CONFIG"; then
19899 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19900echo "${ECHO_T}$PKG_CONFIG" >&6
19901else
19902 echo "$as_me:$LINENO: result: no" >&5
19903echo "${ECHO_T}no" >&6
19904fi
19905
19906
19907 if test x$PKG_CONFIG != xno ; then
19908 if pkg-config --atleast-pkgconfig-version 0.7 ; then
19909 :
19910 else
19911 echo *** pkg-config too old; version 0.7 or better required.
19912 no_gtk=yes
19913 PKG_CONFIG=no
19914 fi
19915 else
19916 no_gtk=yes
19917 fi
19918
19919 min_gtk_version=2.0.0
19920 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19921echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19922
19923 if test x$PKG_CONFIG != xno ; then
19924 ## don't try to run the test against uninstalled libtool libs
19925 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19926 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19927 enable_gtktest=no
19928 fi
19929
19930 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19931 :
19932 else
19933 no_gtk=yes
19934 fi
19935 fi
19936
19937 if test x"$no_gtk" = x ; then
19938 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
19939 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
19940 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19941 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19942 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19943 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19944 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19945 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19946 if test "x$enable_gtktest" = "xyes" ; then
19947 ac_save_CFLAGS="$CFLAGS"
19948 ac_save_LIBS="$LIBS"
19949 CFLAGS="$CFLAGS $GTK_CFLAGS"
19950 LIBS="$GTK_LIBS $LIBS"
19951 rm -f conf.gtktest
19952 if test "$cross_compiling" = yes; then
19953 echo $ac_n "cross compiling; assumed OK... $ac_c"
19954else
19955 cat >conftest.$ac_ext <<_ACEOF
19956#line $LINENO "configure"
19957/* confdefs.h. */
19958_ACEOF
19959cat confdefs.h >>conftest.$ac_ext
19960cat >>conftest.$ac_ext <<_ACEOF
19961/* end confdefs.h. */
19962
19963#include <gtk/gtk.h>
19964#include <stdio.h>
19965#include <stdlib.h>
19966
19967int
19968main ()
19969{
19970 int major, minor, micro;
19971 char *tmp_version;
19972
19973 system ("touch conf.gtktest");
19974
19975 /* HP/UX 9 (%@#!) writes to sscanf strings */
19976 tmp_version = g_strdup("$min_gtk_version");
19977 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
19978 printf("%s, bad version string\n", "$min_gtk_version");
19979 exit(1);
19980 }
19981
19982 if ((gtk_major_version != $gtk_config_major_version) ||
19983 (gtk_minor_version != $gtk_config_minor_version) ||
19984 (gtk_micro_version != $gtk_config_micro_version))
19985 {
19986 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19987 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19988 gtk_major_version, gtk_minor_version, gtk_micro_version);
19989 printf ("*** was found! If pkg-config was correct, then it is best\n");
19990 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19991 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19992 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19993 printf("*** required on your system.\n");
19994 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19995 printf("*** to point to the correct configuration files\n");
19996 }
19997 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19998 (gtk_minor_version != GTK_MINOR_VERSION) ||
19999 (gtk_micro_version != GTK_MICRO_VERSION))
20000 {
20001 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20002 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20003 printf("*** library (version %d.%d.%d)\n",
20004 gtk_major_version, gtk_minor_version, gtk_micro_version);
20005 }
20006 else
20007 {
20008 if ((gtk_major_version > major) ||
20009 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20010 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20011 {
20012 return 0;
20013 }
20014 else
20015 {
20016 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20017 gtk_major_version, gtk_minor_version, gtk_micro_version);
20018 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20019 major, minor, micro);
20020 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20021 printf("***\n");
20022 printf("*** If you have already installed a sufficiently new version, this error\n");
20023 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20024 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20025 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20026 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20027 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20028 printf("*** so that the correct libraries are found at run-time))\n");
20029 }
20030 }
20031 return 1;
20032}
20033
20034_ACEOF
20035rm -f conftest$ac_exeext
20036if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20037 (eval $ac_link) 2>&5
20038 ac_status=$?
20039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20040 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20042 (eval $ac_try) 2>&5
20043 ac_status=$?
20044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20045 (exit $ac_status); }; }; then
20046 :
20047else
20048 echo "$as_me: program exited with status $ac_status" >&5
20049echo "$as_me: failed program was:" >&5
20050sed 's/^/| /' conftest.$ac_ext >&5
20051
20052( exit $ac_status )
20053no_gtk=yes
20054fi
20055rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20056fi
20057 CFLAGS="$ac_save_CFLAGS"
20058 LIBS="$ac_save_LIBS"
20059 fi
20060 fi
20061 if test "x$no_gtk" = x ; then
20062 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20063echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20064 wx_cv_lib_gtk=2.0
20065 else
20066 echo "$as_me:$LINENO: result: no" >&5
20067echo "${ECHO_T}no" >&6
20068 if test "$PKG_CONFIG" = "no" ; then
20069 echo "*** A new enough version of pkg-config was not found."
20070 echo "*** See http://pkgconfig.sourceforge.net"
20071 else
20072 if test -f conf.gtktest ; then
20073 :
20074 else
20075 echo "*** Could not run GTK+ test program, checking why..."
20076 ac_save_CFLAGS="$CFLAGS"
20077 ac_save_LIBS="$LIBS"
20078 CFLAGS="$CFLAGS $GTK_CFLAGS"
20079 LIBS="$LIBS $GTK_LIBS"
20080 cat >conftest.$ac_ext <<_ACEOF
20081#line $LINENO "configure"
20082/* confdefs.h. */
20083_ACEOF
20084cat confdefs.h >>conftest.$ac_ext
20085cat >>conftest.$ac_ext <<_ACEOF
20086/* end confdefs.h. */
20087
20088#include <gtk/gtk.h>
20089#include <stdio.h>
20090
20091int
20092main ()
20093{
20094 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20095 ;
20096 return 0;
20097}
20098_ACEOF
20099rm -f conftest.$ac_objext conftest$ac_exeext
20100if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20101 (eval $ac_link) 2>&5
20102 ac_status=$?
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); } &&
20105 { ac_try='test -s conftest$ac_exeext'
20106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20107 (eval $ac_try) 2>&5
20108 ac_status=$?
20109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); }; }; then
20111 echo "*** The test program compiled, but did not run. This usually means"
20112 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20113 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20114 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20115 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20116 echo "*** is required on your system"
20117 echo "***"
20118 echo "*** If you have an old version installed, it is best to remove it, although"
20119 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20120else
20121 echo "$as_me: failed program was:" >&5
20122sed 's/^/| /' conftest.$ac_ext >&5
20123
20124 echo "*** The test program failed to compile or link. See the file config.log for the"
20125 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20126fi
20127rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20128 CFLAGS="$ac_save_CFLAGS"
20129 LIBS="$ac_save_LIBS"
20130 fi
20131 fi
20132 GTK_CFLAGS=""
20133 GTK_LIBS=""
20134 :
20135 fi
20136
20137
20138 rm -f conf.gtktest
20139
20140 else
20141
20142# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20143if test "${with_gtk_prefix+set}" = set; then
20144 withval="$with_gtk_prefix"
20145 gtk_config_prefix="$withval"
20146else
20147 gtk_config_prefix=""
20148fi;
20149
20150# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20151if test "${with_gtk_exec_prefix+set}" = set; then
20152 withval="$with_gtk_exec_prefix"
20153 gtk_config_exec_prefix="$withval"
20154else
20155 gtk_config_exec_prefix=""
20156fi;
20157# Check whether --enable-gtktest or --disable-gtktest was given.
20158if test "${enable_gtktest+set}" = set; then
20159 enableval="$enable_gtktest"
20160
20161else
20162 enable_gtktest=yes
20163fi;
20164
20165 for module in . $GTK_MODULES
20166 do
20167 case "$module" in
20168 gthread)
20169 gtk_config_args="$gtk_config_args gthread"
20170 ;;
20171 esac
20172 done
20173
20174 if test x$gtk_config_exec_prefix != x ; then
20175 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20176 if test x${GTK_CONFIG+set} != xset ; then
20177 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20178 fi
20179 fi
20180 if test x$gtk_config_prefix != x ; then
20181 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20182 if test x${GTK_CONFIG+set} != xset ; then
20183 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20184 fi
20185 fi
20186
20187 # Extract the first word of "gtk-config", so it can be a program name with args.
20188set dummy gtk-config; ac_word=$2
20189echo "$as_me:$LINENO: checking for $ac_word" >&5
20190echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20191if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20192 echo $ECHO_N "(cached) $ECHO_C" >&6
20193else
20194 case $GTK_CONFIG in
20195 [\\/]* | ?:[\\/]*)
20196 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20197 ;;
20198 *)
20199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20200for as_dir in $PATH
20201do
20202 IFS=$as_save_IFS
20203 test -z "$as_dir" && as_dir=.
20204 for ac_exec_ext in '' $ac_executable_extensions; do
20205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20206 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20208 break 2
20209 fi
20210done
20211done
20212
20213 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20214 ;;
20215esac
20216fi
20217GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20218
20219if test -n "$GTK_CONFIG"; then
20220 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20221echo "${ECHO_T}$GTK_CONFIG" >&6
20222else
20223 echo "$as_me:$LINENO: result: no" >&5
20224echo "${ECHO_T}no" >&6
20225fi
20226
20227 min_gtk_version=1.2.7
20228 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20229echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20230 no_gtk=""
20231 if test "$GTK_CONFIG" = "no" ; then
20232 no_gtk=yes
20233 else
20234 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20235 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20236 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20237 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20238 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20239 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20240 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20241 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20242 if test "x$enable_gtktest" = "xyes" ; then
20243 ac_save_CFLAGS="$CFLAGS"
20244 ac_save_LIBS="$LIBS"
20245 CFLAGS="$CFLAGS $GTK_CFLAGS"
20246 LIBS="$GTK_LIBS $LIBS"
20247 rm -f conf.gtktest
20248 if test "$cross_compiling" = yes; then
20249 echo $ac_n "cross compiling; assumed OK... $ac_c"
20250else
20251 cat >conftest.$ac_ext <<_ACEOF
20252#line $LINENO "configure"
20253/* confdefs.h. */
20254_ACEOF
20255cat confdefs.h >>conftest.$ac_ext
20256cat >>conftest.$ac_ext <<_ACEOF
20257/* end confdefs.h. */
20258
20259#include <gtk/gtk.h>
20260#include <stdio.h>
20261#include <stdlib.h>
20262
20263int
20264main ()
20265{
20266 int major, minor, micro;
20267 char *tmp_version;
20268
20269 system ("touch conf.gtktest");
20270
20271 /* HP/UX 9 (%@#!) writes to sscanf strings */
20272 tmp_version = g_strdup("$min_gtk_version");
20273 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20274 printf("%s, bad version string\n", "$min_gtk_version");
20275 exit(1);
20276 }
20277
20278 if ((gtk_major_version != $gtk_config_major_version) ||
20279 (gtk_minor_version != $gtk_config_minor_version) ||
20280 (gtk_micro_version != $gtk_config_micro_version))
20281 {
20282 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20283 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20284 gtk_major_version, gtk_minor_version, gtk_micro_version);
20285 printf ("*** was found! If gtk-config was correct, then it is best\n");
20286 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20287 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20288 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20289 printf("*** required on your system.\n");
20290 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20291 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20292 printf("*** before re-running configure\n");
20293 }
20294#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20295 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20296 (gtk_minor_version != GTK_MINOR_VERSION) ||
20297 (gtk_micro_version != GTK_MICRO_VERSION))
20298 {
20299 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20300 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20301 printf("*** library (version %d.%d.%d)\n",
20302 gtk_major_version, gtk_minor_version, gtk_micro_version);
20303 }
20304#endif /* defined (GTK_MAJOR_VERSION) ... */
20305 else
20306 {
20307 if ((gtk_major_version > major) ||
20308 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20309 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20310 {
20311 return 0;
20312 }
20313 else
20314 {
20315 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20316 gtk_major_version, gtk_minor_version, gtk_micro_version);
20317 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20318 major, minor, micro);
20319 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20320 printf("***\n");
20321 printf("*** If you have already installed a sufficiently new version, this error\n");
20322 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20323 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20324 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20325 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20326 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20327 printf("*** so that the correct libraries are found at run-time))\n");
20328 }
20329 }
20330 return 1;
20331}
20332
20333_ACEOF
20334rm -f conftest$ac_exeext
20335if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20336 (eval $ac_link) 2>&5
20337 ac_status=$?
20338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20339 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20341 (eval $ac_try) 2>&5
20342 ac_status=$?
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); }; }; then
20345 :
20346else
20347 echo "$as_me: program exited with status $ac_status" >&5
20348echo "$as_me: failed program was:" >&5
20349sed 's/^/| /' conftest.$ac_ext >&5
20350
20351( exit $ac_status )
20352no_gtk=yes
20353fi
20354rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20355fi
20356 CFLAGS="$ac_save_CFLAGS"
20357 LIBS="$ac_save_LIBS"
20358 fi
20359 fi
20360 if test "x$no_gtk" = x ; then
20361 echo "$as_me:$LINENO: result: yes" >&5
20362echo "${ECHO_T}yes" >&6
20363 wx_cv_lib_gtk=1.2.7
20364 else
20365 echo "$as_me:$LINENO: result: no" >&5
20366echo "${ECHO_T}no" >&6
20367 if test "$GTK_CONFIG" = "no" ; then
20368 echo "*** The gtk-config script installed by GTK could not be found"
20369 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20370 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20371 echo "*** full path to gtk-config."
20372 else
20373 if test -f conf.gtktest ; then
20374 :
20375 else
20376 echo "*** Could not run GTK test program, checking why..."
20377 CFLAGS="$CFLAGS $GTK_CFLAGS"
20378 LIBS="$LIBS $GTK_LIBS"
20379 cat >conftest.$ac_ext <<_ACEOF
20380#line $LINENO "configure"
20381/* confdefs.h. */
20382_ACEOF
20383cat confdefs.h >>conftest.$ac_ext
20384cat >>conftest.$ac_ext <<_ACEOF
20385/* end confdefs.h. */
20386
20387#include <gtk/gtk.h>
20388#include <stdio.h>
20389
20390int
20391main ()
20392{
20393 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20394 ;
20395 return 0;
20396}
20397_ACEOF
20398rm -f conftest.$ac_objext conftest$ac_exeext
20399if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20400 (eval $ac_link) 2>&5
20401 ac_status=$?
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); } &&
20404 { ac_try='test -s conftest$ac_exeext'
20405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20406 (eval $ac_try) 2>&5
20407 ac_status=$?
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); }; }; then
20410 echo "*** The test program compiled, but did not run. This usually means"
20411 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20412 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20413 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20414 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20415 echo "*** is required on your system"
20416 echo "***"
20417 echo "*** If you have an old version installed, it is best to remove it, although"
20418 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20419 echo "***"
20420 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20421 echo "*** came with the system with the command"
20422 echo "***"
20423 echo "*** rpm --erase --nodeps gtk gtk-devel"
20424else
20425 echo "$as_me: failed program was:" >&5
20426sed 's/^/| /' conftest.$ac_ext >&5
20427
20428 echo "*** The test program failed to compile or link. See the file config.log for the"
20429 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20430 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20431 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20432fi
20433rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20434 CFLAGS="$ac_save_CFLAGS"
20435 LIBS="$ac_save_LIBS"
20436 fi
20437 fi
20438 GTK_CFLAGS=""
20439 GTK_LIBS=""
20440 :
20441 fi
20442
20443
20444 rm -f conf.gtktest
20445
20446
20447 if test -z "$wx_cv_lib_gtk"; then
20448
20449# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20450if test "${with_gtk_prefix+set}" = set; then
20451 withval="$with_gtk_prefix"
20452 gtk_config_prefix="$withval"
20453else
20454 gtk_config_prefix=""
20455fi;
20456
20457# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20458if test "${with_gtk_exec_prefix+set}" = set; then
20459 withval="$with_gtk_exec_prefix"
20460 gtk_config_exec_prefix="$withval"
20461else
20462 gtk_config_exec_prefix=""
20463fi;
20464# Check whether --enable-gtktest or --disable-gtktest was given.
20465if test "${enable_gtktest+set}" = set; then
20466 enableval="$enable_gtktest"
20467
20468else
20469 enable_gtktest=yes
20470fi;
20471
20472 for module in . $GTK_MODULES
20473 do
20474 case "$module" in
20475 gthread)
20476 gtk_config_args="$gtk_config_args gthread"
20477 ;;
20478 esac
20479 done
20480
20481 if test x$gtk_config_exec_prefix != x ; then
20482 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20483 if test x${GTK_CONFIG+set} != xset ; then
20484 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20485 fi
20486 fi
20487 if test x$gtk_config_prefix != x ; then
20488 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20489 if test x${GTK_CONFIG+set} != xset ; then
20490 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20491 fi
20492 fi
20493
20494 # Extract the first word of "gtk-config", so it can be a program name with args.
20495set dummy gtk-config; ac_word=$2
20496echo "$as_me:$LINENO: checking for $ac_word" >&5
20497echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20498if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20499 echo $ECHO_N "(cached) $ECHO_C" >&6
20500else
20501 case $GTK_CONFIG in
20502 [\\/]* | ?:[\\/]*)
20503 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20504 ;;
20505 *)
20506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20507for as_dir in $PATH
20508do
20509 IFS=$as_save_IFS
20510 test -z "$as_dir" && as_dir=.
20511 for ac_exec_ext in '' $ac_executable_extensions; do
20512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20513 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20515 break 2
20516 fi
20517done
20518done
20519
20520 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20521 ;;
20522esac
20523fi
20524GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20525
20526if test -n "$GTK_CONFIG"; then
20527 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20528echo "${ECHO_T}$GTK_CONFIG" >&6
20529else
20530 echo "$as_me:$LINENO: result: no" >&5
20531echo "${ECHO_T}no" >&6
20532fi
20533
20534 min_gtk_version=1.2.3
20535 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20536echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20537 no_gtk=""
20538 if test "$GTK_CONFIG" = "no" ; then
20539 no_gtk=yes
20540 else
20541 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20542 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20543 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20544 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20545 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20546 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20547 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20548 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20549 if test "x$enable_gtktest" = "xyes" ; then
20550 ac_save_CFLAGS="$CFLAGS"
20551 ac_save_LIBS="$LIBS"
20552 CFLAGS="$CFLAGS $GTK_CFLAGS"
20553 LIBS="$GTK_LIBS $LIBS"
20554 rm -f conf.gtktest
20555 if test "$cross_compiling" = yes; then
20556 echo $ac_n "cross compiling; assumed OK... $ac_c"
20557else
20558 cat >conftest.$ac_ext <<_ACEOF
20559#line $LINENO "configure"
20560/* confdefs.h. */
20561_ACEOF
20562cat confdefs.h >>conftest.$ac_ext
20563cat >>conftest.$ac_ext <<_ACEOF
20564/* end confdefs.h. */
20565
20566#include <gtk/gtk.h>
20567#include <stdio.h>
20568#include <stdlib.h>
20569
20570int
20571main ()
20572{
20573 int major, minor, micro;
20574 char *tmp_version;
20575
20576 system ("touch conf.gtktest");
20577
20578 /* HP/UX 9 (%@#!) writes to sscanf strings */
20579 tmp_version = g_strdup("$min_gtk_version");
20580 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20581 printf("%s, bad version string\n", "$min_gtk_version");
20582 exit(1);
20583 }
20584
20585 if ((gtk_major_version != $gtk_config_major_version) ||
20586 (gtk_minor_version != $gtk_config_minor_version) ||
20587 (gtk_micro_version != $gtk_config_micro_version))
20588 {
20589 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20590 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20591 gtk_major_version, gtk_minor_version, gtk_micro_version);
20592 printf ("*** was found! If gtk-config was correct, then it is best\n");
20593 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20594 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20595 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20596 printf("*** required on your system.\n");
20597 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20598 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20599 printf("*** before re-running configure\n");
20600 }
20601#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20602 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20603 (gtk_minor_version != GTK_MINOR_VERSION) ||
20604 (gtk_micro_version != GTK_MICRO_VERSION))
20605 {
20606 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20607 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20608 printf("*** library (version %d.%d.%d)\n",
20609 gtk_major_version, gtk_minor_version, gtk_micro_version);
20610 }
20611#endif /* defined (GTK_MAJOR_VERSION) ... */
20612 else
20613 {
20614 if ((gtk_major_version > major) ||
20615 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20616 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20617 {
20618 return 0;
20619 }
20620 else
20621 {
20622 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20623 gtk_major_version, gtk_minor_version, gtk_micro_version);
20624 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20625 major, minor, micro);
20626 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20627 printf("***\n");
20628 printf("*** If you have already installed a sufficiently new version, this error\n");
20629 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20630 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20631 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20632 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20633 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20634 printf("*** so that the correct libraries are found at run-time))\n");
20635 }
20636 }
20637 return 1;
20638}
20639
20640_ACEOF
20641rm -f conftest$ac_exeext
20642if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20643 (eval $ac_link) 2>&5
20644 ac_status=$?
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20648 (eval $ac_try) 2>&5
20649 ac_status=$?
20650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651 (exit $ac_status); }; }; then
20652 :
20653else
20654 echo "$as_me: program exited with status $ac_status" >&5
20655echo "$as_me: failed program was:" >&5
20656sed 's/^/| /' conftest.$ac_ext >&5
20657
20658( exit $ac_status )
20659no_gtk=yes
20660fi
20661rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20662fi
20663 CFLAGS="$ac_save_CFLAGS"
20664 LIBS="$ac_save_LIBS"
20665 fi
20666 fi
20667 if test "x$no_gtk" = x ; then
20668 echo "$as_me:$LINENO: result: yes" >&5
20669echo "${ECHO_T}yes" >&6
20670 wx_cv_lib_gtk=1.2.3
20671 else
20672 echo "$as_me:$LINENO: result: no" >&5
20673echo "${ECHO_T}no" >&6
20674 if test "$GTK_CONFIG" = "no" ; then
20675 echo "*** The gtk-config script installed by GTK could not be found"
20676 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20677 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20678 echo "*** full path to gtk-config."
20679 else
20680 if test -f conf.gtktest ; then
20681 :
20682 else
20683 echo "*** Could not run GTK test program, checking why..."
20684 CFLAGS="$CFLAGS $GTK_CFLAGS"
20685 LIBS="$LIBS $GTK_LIBS"
20686 cat >conftest.$ac_ext <<_ACEOF
20687#line $LINENO "configure"
20688/* confdefs.h. */
20689_ACEOF
20690cat confdefs.h >>conftest.$ac_ext
20691cat >>conftest.$ac_ext <<_ACEOF
20692/* end confdefs.h. */
20693
20694#include <gtk/gtk.h>
20695#include <stdio.h>
20696
20697int
20698main ()
20699{
20700 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20701 ;
20702 return 0;
20703}
20704_ACEOF
20705rm -f conftest.$ac_objext conftest$ac_exeext
20706if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20707 (eval $ac_link) 2>&5
20708 ac_status=$?
20709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); } &&
20711 { ac_try='test -s conftest$ac_exeext'
20712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20713 (eval $ac_try) 2>&5
20714 ac_status=$?
20715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20716 (exit $ac_status); }; }; then
20717 echo "*** The test program compiled, but did not run. This usually means"
20718 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20719 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20720 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20721 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20722 echo "*** is required on your system"
20723 echo "***"
20724 echo "*** If you have an old version installed, it is best to remove it, although"
20725 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20726 echo "***"
20727 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20728 echo "*** came with the system with the command"
20729 echo "***"
20730 echo "*** rpm --erase --nodeps gtk gtk-devel"
20731else
20732 echo "$as_me: failed program was:" >&5
20733sed 's/^/| /' conftest.$ac_ext >&5
20734
20735 echo "*** The test program failed to compile or link. See the file config.log for the"
20736 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20737 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20738 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20739fi
20740rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20741 CFLAGS="$ac_save_CFLAGS"
20742 LIBS="$ac_save_LIBS"
20743 fi
20744 fi
20745 GTK_CFLAGS=""
20746 GTK_LIBS=""
20747 :
20748 fi
20749
20750
20751 rm -f conf.gtktest
20752
20753 fi
20754 fi
20755
20756 if test -z "$wx_cv_lib_gtk"; then
20757 wx_cv_lib_gtk=none
20758 else
20759 wx_cv_cflags_gtk=$GTK_CFLAGS
20760 wx_cv_libs_gtk=$GTK_LIBS
20761 fi
20762
20763
20764fi
20765
20766
20767 if test "$gtk_version_cached" = 1; then
20768 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20769echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20770 fi
20771
20772 case "$wx_cv_lib_gtk" in
20773 2.0) WXGTK20=1
20774 TOOLKIT_VERSION=2
20775 ;;
20776 1.2.7) WXGTK127=1
20777 WXGTK12=1
20778 ;;
20779 1.2.3) WXGTK12=1
20780 ;;
20781 *) { { echo "$as_me:$LINENO: error:
20782Please check that gtk-config is in path, the directory
20783where GTK+ libraries are installed (returned by
20784'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20785equivalent variable and GTK+ is version 1.2.3 or above.
20786 " >&5
20787echo "$as_me: error:
20788Please check that gtk-config is in path, the directory
20789where GTK+ libraries are installed (returned by
20790'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20791equivalent variable and GTK+ is version 1.2.3 or above.
20792 " >&2;}
20793 { (exit 1); exit 1; }; }
20794 ;;
20795 esac
20796
20797 if test "$WXGTK20" = 1; then
20798 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20799
20800 succeeded=no
20801
20802 if test -z "$PKG_CONFIG"; then
20803 # Extract the first word of "pkg-config", so it can be a program name with args.
20804set dummy pkg-config; ac_word=$2
20805echo "$as_me:$LINENO: checking for $ac_word" >&5
20806echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20807if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20808 echo $ECHO_N "(cached) $ECHO_C" >&6
20809else
20810 case $PKG_CONFIG in
20811 [\\/]* | ?:[\\/]*)
20812 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20813 ;;
20814 *)
20815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20816for as_dir in $PATH
20817do
20818 IFS=$as_save_IFS
20819 test -z "$as_dir" && as_dir=.
20820 for ac_exec_ext in '' $ac_executable_extensions; do
20821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20822 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20824 break 2
20825 fi
20826done
20827done
20828
20829 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20830 ;;
20831esac
20832fi
20833PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20834
20835if test -n "$PKG_CONFIG"; then
20836 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20837echo "${ECHO_T}$PKG_CONFIG" >&6
20838else
20839 echo "$as_me:$LINENO: result: no" >&5
20840echo "${ECHO_T}no" >&6
20841fi
20842
20843 fi
20844
20845 if test "$PKG_CONFIG" = "no" ; then
20846 echo "*** The pkg-config script could not be found. Make sure it is"
20847 echo "*** in your path, or set the PKG_CONFIG environment variable"
20848 echo "*** to the full path to pkg-config."
20849 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20850 else
20851 PKG_CONFIG_MIN_VERSION=0.9.0
20852 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20853 echo "$as_me:$LINENO: checking for pangoft2" >&5
20854echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20855
20856 if $PKG_CONFIG --exists "pangoft2" ; then
20857 echo "$as_me:$LINENO: result: yes" >&5
20858echo "${ECHO_T}yes" >&6
20859 succeeded=yes
20860
20861 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20862echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20863 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20864 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20865echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20866
20867 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20868echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20869 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20870 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20871echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20872 else
20873 PANGOFT2_CFLAGS=""
20874 PANGOFT2_LIBS=""
20875 ## If we have a custom action on failure, don't print errors, but
20876 ## do set a variable so people can do so.
20877 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20878
20879 fi
20880
20881
20882
20883 else
20884 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20885 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20886 fi
20887 fi
20888
20889 if test $succeeded = yes; then
20890
20891 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
20892 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20893
20894 else
20895
20896 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20897echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20898 wxUSE_PRINTING_ARCHITECTURE="no"
20899
20900
20901 fi
20902
20903 fi
20904 else
20905 if test "$wxUSE_UNICODE" = "yes"; then
20906 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20907echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20908 wxUSE_UNICODE=no
20909 fi
20910 fi
20911
20912 if test "$USE_DARWIN" != 1; then
20913
20914for ac_func in poll
20915do
20916as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20917echo "$as_me:$LINENO: checking for $ac_func" >&5
20918echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20919if eval "test \"\${$as_ac_var+set}\" = set"; then
20920 echo $ECHO_N "(cached) $ECHO_C" >&6
20921else
20922 cat >conftest.$ac_ext <<_ACEOF
20923#line $LINENO "configure"
20924/* confdefs.h. */
20925_ACEOF
20926cat confdefs.h >>conftest.$ac_ext
20927cat >>conftest.$ac_ext <<_ACEOF
20928/* end confdefs.h. */
20929/* System header to define __stub macros and hopefully few prototypes,
20930 which can conflict with char $ac_func (); below.
20931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20932 <limits.h> exists even on freestanding compilers. */
20933#ifdef __STDC__
20934# include <limits.h>
20935#else
20936# include <assert.h>
20937#endif
20938/* Override any gcc2 internal prototype to avoid an error. */
20939#ifdef __cplusplus
20940extern "C"
20941{
20942#endif
20943/* We use char because int might match the return type of a gcc2
20944 builtin and then its argument prototype would still apply. */
20945char $ac_func ();
20946/* The GNU C library defines this for functions which it implements
20947 to always fail with ENOSYS. Some functions are actually named
20948 something starting with __ and the normal name is an alias. */
20949#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20950choke me
20951#else
20952char (*f) () = $ac_func;
20953#endif
20954#ifdef __cplusplus
20955}
20956#endif
20957
20958int
20959main ()
20960{
20961return f != $ac_func;
20962 ;
20963 return 0;
20964}
20965_ACEOF
20966rm -f conftest.$ac_objext conftest$ac_exeext
20967if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20968 (eval $ac_link) 2>&5
20969 ac_status=$?
20970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20971 (exit $ac_status); } &&
20972 { ac_try='test -s conftest$ac_exeext'
20973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20974 (eval $ac_try) 2>&5
20975 ac_status=$?
20976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20977 (exit $ac_status); }; }; then
20978 eval "$as_ac_var=yes"
20979else
20980 echo "$as_me: failed program was:" >&5
20981sed 's/^/| /' conftest.$ac_ext >&5
20982
20983eval "$as_ac_var=no"
20984fi
20985rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20986fi
20987echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20988echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20989if test `eval echo '${'$as_ac_var'}'` = yes; then
20990 cat >>confdefs.h <<_ACEOF
20991#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20992_ACEOF
20993
20994fi
20995done
20996
20997 fi
20998
20999 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
21000 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21001
21002 AFMINSTALL=afminstall
21003 TOOLKIT=GTK
21004 GUIDIST=GTK_DIST
21005
21006 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21007echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21008if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21009 echo $ECHO_N "(cached) $ECHO_C" >&6
21010else
21011 ac_check_lib_save_LIBS=$LIBS
21012LIBS="-lgdk $LIBS"
21013cat >conftest.$ac_ext <<_ACEOF
21014#line $LINENO "configure"
21015/* confdefs.h. */
21016_ACEOF
21017cat confdefs.h >>conftest.$ac_ext
21018cat >>conftest.$ac_ext <<_ACEOF
21019/* end confdefs.h. */
21020
21021/* Override any gcc2 internal prototype to avoid an error. */
21022#ifdef __cplusplus
21023extern "C"
21024#endif
21025/* We use char because int might match the return type of a gcc2
21026 builtin and then its argument prototype would still apply. */
21027char gdk_im_open ();
21028int
21029main ()
21030{
21031gdk_im_open ();
21032 ;
21033 return 0;
21034}
21035_ACEOF
21036rm -f conftest.$ac_objext conftest$ac_exeext
21037if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21038 (eval $ac_link) 2>&5
21039 ac_status=$?
21040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041 (exit $ac_status); } &&
21042 { ac_try='test -s conftest$ac_exeext'
21043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21044 (eval $ac_try) 2>&5
21045 ac_status=$?
21046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21047 (exit $ac_status); }; }; then
21048 ac_cv_lib_gdk_gdk_im_open=yes
21049else
21050 echo "$as_me: failed program was:" >&5
21051sed 's/^/| /' conftest.$ac_ext >&5
21052
21053ac_cv_lib_gdk_gdk_im_open=no
21054fi
21055rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21056LIBS=$ac_check_lib_save_LIBS
21057fi
21058echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21059echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21060if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21061 cat >>confdefs.h <<\_ACEOF
21062#define HAVE_XIM 1
21063_ACEOF
21064
21065fi
21066
21067 fi
21068
21069 if test "$wxUSE_MGL" = 1; then
21070 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21071echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21072 if test "x$MGL_ROOT" = x ; then
21073 echo "$as_me:$LINENO: result: not found" >&5
21074echo "${ECHO_T}not found" >&6
21075 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21076echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21077 { (exit 1); exit 1; }; }
21078 else
21079 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21080echo "${ECHO_T}$MGL_ROOT" >&6
21081 fi
21082
21083 echo "$as_me:$LINENO: checking for libmgl location" >&5
21084echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21085 case "${host}" in
21086 *-*-linux* )
21087 if test "x$wxUSE_SHARED" = xyes ; then
21088 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
21089 else
21090 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
21091 fi
21092 ;;
21093 *-pc-msdosdjgpp )
21094 mgl_os_candidates="dos32/dj2"
21095 ;;
21096 *)
21097 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21098echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21099 { (exit 1); exit 1; }; }
21100 esac
21101
21102 mgl_lib_type=""
21103 mgl_os=""
21104
21105 for mgl_os_i in $mgl_os_candidates ; do
21106 if test "x$mgl_os" = x ; then
21107 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21108 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
21109 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
21110 mgl_lib_type=debug
21111 mgl_os=$mgl_os_i
21112 fi
21113 fi
21114 if test "x$mgl_lib_type" = x ; then
21115 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
21116 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
21117 mgl_lib_type=release
21118 mgl_os=$mgl_os_i
21119 fi
21120 fi
21121 fi
21122 done
21123
21124 if test "x$mgl_os" = x ; then
21125 echo "$as_me:$LINENO: result: not found" >&5
21126echo "${ECHO_T}not found" >&6
21127 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21128echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21129 { (exit 1); exit 1; }; }
21130 fi
21131 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21132echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21133
21134 wxUSE_UNIVERSAL="yes"
21135
21136 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
21137 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21138
21139 AFMINSTALL=afminstall
21140 TOOLKIT=MGL
21141 GUIDIST=MGL_DIST
21142 fi
21143
21144 if test "$wxUSE_MICROWIN" = 1; then
21145 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21146echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21147 if test "x$MICROWINDOWS" = x ; then
21148 echo "$as_me:$LINENO: result: not found" >&5
21149echo "${ECHO_T}not found" >&6
21150 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21151echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21152 { (exit 1); exit 1; }; }
21153 else
21154 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21155echo "${ECHO_T}$MICROWINDOWS" >&6
21156 fi
21157
21158 if test -f $MICROWINDOWS/lib/libmwin.a; then
21159 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21160echo "${ECHO_T}MicroWindows' libraries found." >&6
21161 else
21162 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21163echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21164 { (exit 1); exit 1; }; }
21165 fi
21166
21167 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
21168 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21169
21170 wxUSE_UNIVERSAL="yes"
21171
21172 AFMINSTALL=afminstall
21173 TOOLKIT=MICROWIN
21174 GUIDIST=MICROWIN_DIST
21175
21176 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21177 fi
21178
21179 if test "$wxUSE_X11" = 1; then
21180 echo "$as_me:$LINENO: checking for X" >&5
21181echo $ECHO_N "checking for X... $ECHO_C" >&6
21182
21183
21184# Check whether --with-x or --without-x was given.
21185if test "${with_x+set}" = set; then
21186 withval="$with_x"
21187
21188fi;
21189# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21190if test "x$with_x" = xno; then
21191 # The user explicitly disabled X.
21192 have_x=disabled
21193else
21194 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
21195 # Both variables are already set.
21196 have_x=yes
21197 else
21198 if test "${ac_cv_have_x+set}" = set; then
21199 echo $ECHO_N "(cached) $ECHO_C" >&6
21200else
21201 # One or both of the vars are not set, and there is no cached value.
21202ac_x_includes=no ac_x_libraries=no
21203rm -fr conftest.dir
21204if mkdir conftest.dir; then
21205 cd conftest.dir
21206 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21207 cat >Imakefile <<'_ACEOF'
21208acfindx:
21209 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21210_ACEOF
21211 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
21212 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21213 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21214 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21215 for ac_extension in a so sl; do
21216 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
21217 test -f $ac_im_libdir/libX11.$ac_extension; then
21218 ac_im_usrlibdir=$ac_im_libdir; break
21219 fi
21220 done
21221 # Screen out bogus values from the imake configuration. They are
21222 # bogus both because they are the default anyway, and because
21223 # using them would break gcc on systems where it needs fixed includes.
21224 case $ac_im_incroot in
21225 /usr/include) ;;
21226 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
21227 esac
21228 case $ac_im_usrlibdir in
21229 /usr/lib | /lib) ;;
21230 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21231 esac
21232 fi
21233 cd ..
21234 rm -fr conftest.dir
21235fi
21236
21237# Standard set of common directories for X headers.
21238# Check X11 before X11Rn because it is often a symlink to the current release.
21239ac_x_header_dirs='
21240/usr/X11/include
21241/usr/X11R6/include
21242/usr/X11R5/include
21243/usr/X11R4/include
21244
21245/usr/include/X11
21246/usr/include/X11R6
21247/usr/include/X11R5
21248/usr/include/X11R4
21249
21250/usr/local/X11/include
21251/usr/local/X11R6/include
21252/usr/local/X11R5/include
21253/usr/local/X11R4/include
21254
21255/usr/local/include/X11
21256/usr/local/include/X11R6
21257/usr/local/include/X11R5
21258/usr/local/include/X11R4
21259
21260/usr/X386/include
21261/usr/x386/include
21262/usr/XFree86/include/X11
21263
21264/usr/include
21265/usr/local/include
21266/usr/unsupported/include
21267/usr/athena/include
21268/usr/local/x11r5/include
21269/usr/lpp/Xamples/include
21270
21271/usr/openwin/include
21272/usr/openwin/share/include'
21273
21274if test "$ac_x_includes" = no; then
21275 # Guess where to find include files, by looking for Intrinsic.h.
21276 # First, try using that file with no special directory specified.
21277 cat >conftest.$ac_ext <<_ACEOF
21278#line $LINENO "configure"
21279/* confdefs.h. */
21280_ACEOF
21281cat confdefs.h >>conftest.$ac_ext
21282cat >>conftest.$ac_ext <<_ACEOF
21283/* end confdefs.h. */
21284#include <X11/Intrinsic.h>
21285_ACEOF
21286if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21287 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21288 ac_status=$?
21289 grep -v '^ *+' conftest.er1 >conftest.err
21290 rm -f conftest.er1
21291 cat conftest.err >&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); } >/dev/null; then
21294 if test -s conftest.err; then
21295 ac_cpp_err=$ac_c_preproc_warn_flag
21296 else
21297 ac_cpp_err=
21298 fi
21299else
21300 ac_cpp_err=yes
21301fi
21302if test -z "$ac_cpp_err"; then
21303 # We can compile using X headers with no special include directory.
21304ac_x_includes=
21305else
21306 echo "$as_me: failed program was:" >&5
21307sed 's/^/| /' conftest.$ac_ext >&5
21308
21309 for ac_dir in $ac_x_header_dirs; do
21310 if test -r "$ac_dir/X11/Intrinsic.h"; then
21311 ac_x_includes=$ac_dir
21312 break
21313 fi
21314done
21315fi
21316rm -f conftest.err conftest.$ac_ext
21317fi # $ac_x_includes = no
21318
21319if test "$ac_x_libraries" = no; then
21320 # Check for the libraries.
21321 # See if we find them without any special options.
21322 # Don't add to $LIBS permanently.
21323 ac_save_LIBS=$LIBS
21324 LIBS="-lXt $LIBS"
21325 cat >conftest.$ac_ext <<_ACEOF
21326#line $LINENO "configure"
21327/* confdefs.h. */
21328_ACEOF
21329cat confdefs.h >>conftest.$ac_ext
21330cat >>conftest.$ac_ext <<_ACEOF
21331/* end confdefs.h. */
21332#include <X11/Intrinsic.h>
21333int
21334main ()
21335{
21336XtMalloc (0)
21337 ;
21338 return 0;
21339}
21340_ACEOF
21341rm -f conftest.$ac_objext conftest$ac_exeext
21342if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21343 (eval $ac_link) 2>&5
21344 ac_status=$?
21345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21346 (exit $ac_status); } &&
21347 { ac_try='test -s conftest$ac_exeext'
21348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21349 (eval $ac_try) 2>&5
21350 ac_status=$?
21351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352 (exit $ac_status); }; }; then
21353 LIBS=$ac_save_LIBS
21354# We can link X programs with no special library path.
21355ac_x_libraries=
21356else
21357 echo "$as_me: failed program was:" >&5
21358sed 's/^/| /' conftest.$ac_ext >&5
21359
21360LIBS=$ac_save_LIBS
21361for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21362do
21363 # Don't even attempt the hair of trying to link an X program!
21364 for ac_extension in a so sl; do
21365 if test -r $ac_dir/libXt.$ac_extension; then
21366 ac_x_libraries=$ac_dir
21367 break 2
21368 fi
21369 done
21370done
21371fi
21372rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21373fi # $ac_x_libraries = no
21374
21375if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21376 # Didn't find X anywhere. Cache the known absence of X.
21377 ac_cv_have_x="have_x=no"
21378else
21379 # Record where we found X for the cache.
21380 ac_cv_have_x="have_x=yes \
21381 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21382fi
21383fi
21384
21385 fi
21386 eval "$ac_cv_have_x"
21387fi # $with_x != no
21388
21389if test "$have_x" != yes; then
21390 echo "$as_me:$LINENO: result: $have_x" >&5
21391echo "${ECHO_T}$have_x" >&6
21392 no_x=yes
21393else
21394 # If each of the values was on the command line, it overrides each guess.
21395 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21396 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21397 # Update the cache value to reflect the command line values.
21398 ac_cv_have_x="have_x=yes \
21399 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21400 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21401echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21402fi
21403
21404if test "$no_x" = yes; then
21405 # Not all programs may use this symbol, but it does not hurt to define it.
21406
21407cat >>confdefs.h <<\_ACEOF
21408#define X_DISPLAY_MISSING 1
21409_ACEOF
21410
21411 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21412else
21413 if test -n "$x_includes"; then
21414 X_CFLAGS="$X_CFLAGS -I$x_includes"
21415 fi
21416
21417 # It would also be nice to do this for all -L options, not just this one.
21418 if test -n "$x_libraries"; then
21419 X_LIBS="$X_LIBS -L$x_libraries"
21420 # For Solaris; some versions of Sun CC require a space after -R and
21421 # others require no space. Words are not sufficient . . . .
21422 case `(uname -sr) 2>/dev/null` in
21423 "SunOS 5"*)
21424 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21425echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21426 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21427 cat >conftest.$ac_ext <<_ACEOF
21428#line $LINENO "configure"
21429/* confdefs.h. */
21430_ACEOF
21431cat confdefs.h >>conftest.$ac_ext
21432cat >>conftest.$ac_ext <<_ACEOF
21433/* end confdefs.h. */
21434
21435int
21436main ()
21437{
21438
21439 ;
21440 return 0;
21441}
21442_ACEOF
21443rm -f conftest.$ac_objext conftest$ac_exeext
21444if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21445 (eval $ac_link) 2>&5
21446 ac_status=$?
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); } &&
21449 { ac_try='test -s conftest$ac_exeext'
21450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21451 (eval $ac_try) 2>&5
21452 ac_status=$?
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); }; }; then
21455 ac_R_nospace=yes
21456else
21457 echo "$as_me: failed program was:" >&5
21458sed 's/^/| /' conftest.$ac_ext >&5
21459
21460ac_R_nospace=no
21461fi
21462rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21463 if test $ac_R_nospace = yes; then
21464 echo "$as_me:$LINENO: result: no" >&5
21465echo "${ECHO_T}no" >&6
21466 X_LIBS="$X_LIBS -R$x_libraries"
21467 else
21468 LIBS="$ac_xsave_LIBS -R $x_libraries"
21469 cat >conftest.$ac_ext <<_ACEOF
21470#line $LINENO "configure"
21471/* confdefs.h. */
21472_ACEOF
21473cat confdefs.h >>conftest.$ac_ext
21474cat >>conftest.$ac_ext <<_ACEOF
21475/* end confdefs.h. */
21476
21477int
21478main ()
21479{
21480
21481 ;
21482 return 0;
21483}
21484_ACEOF
21485rm -f conftest.$ac_objext conftest$ac_exeext
21486if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21487 (eval $ac_link) 2>&5
21488 ac_status=$?
21489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21490 (exit $ac_status); } &&
21491 { ac_try='test -s conftest$ac_exeext'
21492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21493 (eval $ac_try) 2>&5
21494 ac_status=$?
21495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21496 (exit $ac_status); }; }; then
21497 ac_R_space=yes
21498else
21499 echo "$as_me: failed program was:" >&5
21500sed 's/^/| /' conftest.$ac_ext >&5
21501
21502ac_R_space=no
21503fi
21504rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21505 if test $ac_R_space = yes; then
21506 echo "$as_me:$LINENO: result: yes" >&5
21507echo "${ECHO_T}yes" >&6
21508 X_LIBS="$X_LIBS -R $x_libraries"
21509 else
21510 echo "$as_me:$LINENO: result: neither works" >&5
21511echo "${ECHO_T}neither works" >&6
21512 fi
21513 fi
21514 LIBS=$ac_xsave_LIBS
21515 esac
21516 fi
21517
21518 # Check for system-dependent libraries X programs must link with.
21519 # Do this before checking for the system-independent R6 libraries
21520 # (-lICE), since we may need -lsocket or whatever for X linking.
21521
21522 if test "$ISC" = yes; then
21523 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21524 else
21525 # Martyn Johnson says this is needed for Ultrix, if the X
21526 # libraries were built with DECnet support. And Karl Berry says
21527 # the Alpha needs dnet_stub (dnet does not exist).
21528 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21529 cat >conftest.$ac_ext <<_ACEOF
21530#line $LINENO "configure"
21531/* confdefs.h. */
21532_ACEOF
21533cat confdefs.h >>conftest.$ac_ext
21534cat >>conftest.$ac_ext <<_ACEOF
21535/* end confdefs.h. */
21536
21537/* Override any gcc2 internal prototype to avoid an error. */
21538#ifdef __cplusplus
21539extern "C"
21540#endif
21541/* We use char because int might match the return type of a gcc2
21542 builtin and then its argument prototype would still apply. */
21543char XOpenDisplay ();
21544int
21545main ()
21546{
21547XOpenDisplay ();
21548 ;
21549 return 0;
21550}
21551_ACEOF
21552rm -f conftest.$ac_objext conftest$ac_exeext
21553if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21554 (eval $ac_link) 2>&5
21555 ac_status=$?
21556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21557 (exit $ac_status); } &&
21558 { ac_try='test -s conftest$ac_exeext'
21559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21560 (eval $ac_try) 2>&5
21561 ac_status=$?
21562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21563 (exit $ac_status); }; }; then
21564 :
21565else
21566 echo "$as_me: failed program was:" >&5
21567sed 's/^/| /' conftest.$ac_ext >&5
21568
21569echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21570echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21571if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21572 echo $ECHO_N "(cached) $ECHO_C" >&6
21573else
21574 ac_check_lib_save_LIBS=$LIBS
21575LIBS="-ldnet $LIBS"
21576cat >conftest.$ac_ext <<_ACEOF
21577#line $LINENO "configure"
21578/* confdefs.h. */
21579_ACEOF
21580cat confdefs.h >>conftest.$ac_ext
21581cat >>conftest.$ac_ext <<_ACEOF
21582/* end confdefs.h. */
21583
21584/* Override any gcc2 internal prototype to avoid an error. */
21585#ifdef __cplusplus
21586extern "C"
21587#endif
21588/* We use char because int might match the return type of a gcc2
21589 builtin and then its argument prototype would still apply. */
21590char dnet_ntoa ();
21591int
21592main ()
21593{
21594dnet_ntoa ();
21595 ;
21596 return 0;
21597}
21598_ACEOF
21599rm -f conftest.$ac_objext conftest$ac_exeext
21600if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21601 (eval $ac_link) 2>&5
21602 ac_status=$?
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); } &&
21605 { ac_try='test -s conftest$ac_exeext'
21606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21607 (eval $ac_try) 2>&5
21608 ac_status=$?
21609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21610 (exit $ac_status); }; }; then
21611 ac_cv_lib_dnet_dnet_ntoa=yes
21612else
21613 echo "$as_me: failed program was:" >&5
21614sed 's/^/| /' conftest.$ac_ext >&5
21615
21616ac_cv_lib_dnet_dnet_ntoa=no
21617fi
21618rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21619LIBS=$ac_check_lib_save_LIBS
21620fi
21621echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21622echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21623if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21624 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21625fi
21626
21627 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21628 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21629echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21630if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21631 echo $ECHO_N "(cached) $ECHO_C" >&6
21632else
21633 ac_check_lib_save_LIBS=$LIBS
21634LIBS="-ldnet_stub $LIBS"
21635cat >conftest.$ac_ext <<_ACEOF
21636#line $LINENO "configure"
21637/* confdefs.h. */
21638_ACEOF
21639cat confdefs.h >>conftest.$ac_ext
21640cat >>conftest.$ac_ext <<_ACEOF
21641/* end confdefs.h. */
21642
21643/* Override any gcc2 internal prototype to avoid an error. */
21644#ifdef __cplusplus
21645extern "C"
21646#endif
21647/* We use char because int might match the return type of a gcc2
21648 builtin and then its argument prototype would still apply. */
21649char dnet_ntoa ();
21650int
21651main ()
21652{
21653dnet_ntoa ();
21654 ;
21655 return 0;
21656}
21657_ACEOF
21658rm -f conftest.$ac_objext conftest$ac_exeext
21659if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21660 (eval $ac_link) 2>&5
21661 ac_status=$?
21662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21663 (exit $ac_status); } &&
21664 { ac_try='test -s conftest$ac_exeext'
21665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21666 (eval $ac_try) 2>&5
21667 ac_status=$?
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); }; }; then
21670 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21671else
21672 echo "$as_me: failed program was:" >&5
21673sed 's/^/| /' conftest.$ac_ext >&5
21674
21675ac_cv_lib_dnet_stub_dnet_ntoa=no
21676fi
21677rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21678LIBS=$ac_check_lib_save_LIBS
21679fi
21680echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21681echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21682if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21683 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21684fi
21685
21686 fi
21687fi
21688rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21689 LIBS="$ac_xsave_LIBS"
21690
21691 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21692 # to get the SysV transport functions.
21693 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21694 # needs -lnsl.
21695 # The nsl library prevents programs from opening the X display
21696 # on Irix 5.2, according to T.E. Dickey.
21697 # The functions gethostbyname, getservbyname, and inet_addr are
21698 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21699 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21700echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21701if test "${ac_cv_func_gethostbyname+set}" = set; then
21702 echo $ECHO_N "(cached) $ECHO_C" >&6
21703else
21704 cat >conftest.$ac_ext <<_ACEOF
21705#line $LINENO "configure"
21706/* confdefs.h. */
21707_ACEOF
21708cat confdefs.h >>conftest.$ac_ext
21709cat >>conftest.$ac_ext <<_ACEOF
21710/* end confdefs.h. */
21711/* System header to define __stub macros and hopefully few prototypes,
21712 which can conflict with char gethostbyname (); below.
21713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21714 <limits.h> exists even on freestanding compilers. */
21715#ifdef __STDC__
21716# include <limits.h>
21717#else
21718# include <assert.h>
21719#endif
21720/* Override any gcc2 internal prototype to avoid an error. */
21721#ifdef __cplusplus
21722extern "C"
21723{
21724#endif
21725/* We use char because int might match the return type of a gcc2
21726 builtin and then its argument prototype would still apply. */
21727char gethostbyname ();
21728/* The GNU C library defines this for functions which it implements
21729 to always fail with ENOSYS. Some functions are actually named
21730 something starting with __ and the normal name is an alias. */
21731#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21732choke me
21733#else
21734char (*f) () = gethostbyname;
21735#endif
21736#ifdef __cplusplus
21737}
21738#endif
21739
21740int
21741main ()
21742{
21743return f != gethostbyname;
21744 ;
21745 return 0;
21746}
21747_ACEOF
21748rm -f conftest.$ac_objext conftest$ac_exeext
21749if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21750 (eval $ac_link) 2>&5
21751 ac_status=$?
21752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21753 (exit $ac_status); } &&
21754 { ac_try='test -s conftest$ac_exeext'
21755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21756 (eval $ac_try) 2>&5
21757 ac_status=$?
21758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21759 (exit $ac_status); }; }; then
21760 ac_cv_func_gethostbyname=yes
21761else
21762 echo "$as_me: failed program was:" >&5
21763sed 's/^/| /' conftest.$ac_ext >&5
21764
21765ac_cv_func_gethostbyname=no
21766fi
21767rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21768fi
21769echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21770echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21771
21772 if test $ac_cv_func_gethostbyname = no; then
21773 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21774echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21775if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21776 echo $ECHO_N "(cached) $ECHO_C" >&6
21777else
21778 ac_check_lib_save_LIBS=$LIBS
21779LIBS="-lnsl $LIBS"
21780cat >conftest.$ac_ext <<_ACEOF
21781#line $LINENO "configure"
21782/* confdefs.h. */
21783_ACEOF
21784cat confdefs.h >>conftest.$ac_ext
21785cat >>conftest.$ac_ext <<_ACEOF
21786/* end confdefs.h. */
21787
21788/* Override any gcc2 internal prototype to avoid an error. */
21789#ifdef __cplusplus
21790extern "C"
21791#endif
21792/* We use char because int might match the return type of a gcc2
21793 builtin and then its argument prototype would still apply. */
21794char gethostbyname ();
21795int
21796main ()
21797{
21798gethostbyname ();
21799 ;
21800 return 0;
21801}
21802_ACEOF
21803rm -f conftest.$ac_objext conftest$ac_exeext
21804if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21805 (eval $ac_link) 2>&5
21806 ac_status=$?
21807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21808 (exit $ac_status); } &&
21809 { ac_try='test -s conftest$ac_exeext'
21810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21811 (eval $ac_try) 2>&5
21812 ac_status=$?
21813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21814 (exit $ac_status); }; }; then
21815 ac_cv_lib_nsl_gethostbyname=yes
21816else
21817 echo "$as_me: failed program was:" >&5
21818sed 's/^/| /' conftest.$ac_ext >&5
21819
21820ac_cv_lib_nsl_gethostbyname=no
21821fi
21822rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21823LIBS=$ac_check_lib_save_LIBS
21824fi
21825echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21826echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21827if test $ac_cv_lib_nsl_gethostbyname = yes; then
21828 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21829fi
21830
21831 if test $ac_cv_lib_nsl_gethostbyname = no; then
21832 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21833echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21834if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21835 echo $ECHO_N "(cached) $ECHO_C" >&6
21836else
21837 ac_check_lib_save_LIBS=$LIBS
21838LIBS="-lbsd $LIBS"
21839cat >conftest.$ac_ext <<_ACEOF
21840#line $LINENO "configure"
21841/* confdefs.h. */
21842_ACEOF
21843cat confdefs.h >>conftest.$ac_ext
21844cat >>conftest.$ac_ext <<_ACEOF
21845/* end confdefs.h. */
21846
21847/* Override any gcc2 internal prototype to avoid an error. */
21848#ifdef __cplusplus
21849extern "C"
21850#endif
21851/* We use char because int might match the return type of a gcc2
21852 builtin and then its argument prototype would still apply. */
21853char gethostbyname ();
21854int
21855main ()
21856{
21857gethostbyname ();
21858 ;
21859 return 0;
21860}
21861_ACEOF
21862rm -f conftest.$ac_objext conftest$ac_exeext
21863if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21864 (eval $ac_link) 2>&5
21865 ac_status=$?
21866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21867 (exit $ac_status); } &&
21868 { ac_try='test -s conftest$ac_exeext'
21869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21870 (eval $ac_try) 2>&5
21871 ac_status=$?
21872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21873 (exit $ac_status); }; }; then
21874 ac_cv_lib_bsd_gethostbyname=yes
21875else
21876 echo "$as_me: failed program was:" >&5
21877sed 's/^/| /' conftest.$ac_ext >&5
21878
21879ac_cv_lib_bsd_gethostbyname=no
21880fi
21881rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21882LIBS=$ac_check_lib_save_LIBS
21883fi
21884echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21885echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21886if test $ac_cv_lib_bsd_gethostbyname = yes; then
21887 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21888fi
21889
21890 fi
21891 fi
21892
21893 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21894 # socket/setsockopt and other routines are undefined under SCO ODT
21895 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21896 # on later versions), says Simon Leinen: it contains gethostby*
21897 # variants that don't use the name server (or something). -lsocket
21898 # must be given before -lnsl if both are needed. We assume that
21899 # if connect needs -lnsl, so does gethostbyname.
21900 echo "$as_me:$LINENO: checking for connect" >&5
21901echo $ECHO_N "checking for connect... $ECHO_C" >&6
21902if test "${ac_cv_func_connect+set}" = set; then
21903 echo $ECHO_N "(cached) $ECHO_C" >&6
21904else
21905 cat >conftest.$ac_ext <<_ACEOF
21906#line $LINENO "configure"
21907/* confdefs.h. */
21908_ACEOF
21909cat confdefs.h >>conftest.$ac_ext
21910cat >>conftest.$ac_ext <<_ACEOF
21911/* end confdefs.h. */
21912/* System header to define __stub macros and hopefully few prototypes,
21913 which can conflict with char connect (); below.
21914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21915 <limits.h> exists even on freestanding compilers. */
21916#ifdef __STDC__
21917# include <limits.h>
21918#else
21919# include <assert.h>
21920#endif
21921/* Override any gcc2 internal prototype to avoid an error. */
21922#ifdef __cplusplus
21923extern "C"
21924{
21925#endif
21926/* We use char because int might match the return type of a gcc2
21927 builtin and then its argument prototype would still apply. */
21928char connect ();
21929/* The GNU C library defines this for functions which it implements
21930 to always fail with ENOSYS. Some functions are actually named
21931 something starting with __ and the normal name is an alias. */
21932#if defined (__stub_connect) || defined (__stub___connect)
21933choke me
21934#else
21935char (*f) () = connect;
21936#endif
21937#ifdef __cplusplus
21938}
21939#endif
21940
21941int
21942main ()
21943{
21944return f != connect;
21945 ;
21946 return 0;
21947}
21948_ACEOF
21949rm -f conftest.$ac_objext conftest$ac_exeext
21950if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21951 (eval $ac_link) 2>&5
21952 ac_status=$?
21953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21954 (exit $ac_status); } &&
21955 { ac_try='test -s conftest$ac_exeext'
21956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21957 (eval $ac_try) 2>&5
21958 ac_status=$?
21959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960 (exit $ac_status); }; }; then
21961 ac_cv_func_connect=yes
21962else
21963 echo "$as_me: failed program was:" >&5
21964sed 's/^/| /' conftest.$ac_ext >&5
21965
21966ac_cv_func_connect=no
21967fi
21968rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21969fi
21970echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21971echo "${ECHO_T}$ac_cv_func_connect" >&6
21972
21973 if test $ac_cv_func_connect = no; then
21974 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21975echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21976if test "${ac_cv_lib_socket_connect+set}" = set; then
21977 echo $ECHO_N "(cached) $ECHO_C" >&6
21978else
21979 ac_check_lib_save_LIBS=$LIBS
21980LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
21981cat >conftest.$ac_ext <<_ACEOF
21982#line $LINENO "configure"
21983/* confdefs.h. */
21984_ACEOF
21985cat confdefs.h >>conftest.$ac_ext
21986cat >>conftest.$ac_ext <<_ACEOF
21987/* end confdefs.h. */
21988
21989/* Override any gcc2 internal prototype to avoid an error. */
21990#ifdef __cplusplus
21991extern "C"
21992#endif
21993/* We use char because int might match the return type of a gcc2
21994 builtin and then its argument prototype would still apply. */
21995char connect ();
21996int
21997main ()
21998{
21999connect ();
22000 ;
22001 return 0;
22002}
22003_ACEOF
22004rm -f conftest.$ac_objext conftest$ac_exeext
22005if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22006 (eval $ac_link) 2>&5
22007 ac_status=$?
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); } &&
22010 { ac_try='test -s conftest$ac_exeext'
22011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22012 (eval $ac_try) 2>&5
22013 ac_status=$?
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); }; }; then
22016 ac_cv_lib_socket_connect=yes
22017else
22018 echo "$as_me: failed program was:" >&5
22019sed 's/^/| /' conftest.$ac_ext >&5
22020
22021ac_cv_lib_socket_connect=no
22022fi
22023rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22024LIBS=$ac_check_lib_save_LIBS
22025fi
22026echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22027echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22028if test $ac_cv_lib_socket_connect = yes; then
22029 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
22030fi
22031
22032 fi
22033
22034 # Guillermo Gomez says -lposix is necessary on A/UX.
22035 echo "$as_me:$LINENO: checking for remove" >&5
22036echo $ECHO_N "checking for remove... $ECHO_C" >&6
22037if test "${ac_cv_func_remove+set}" = set; then
22038 echo $ECHO_N "(cached) $ECHO_C" >&6
22039else
22040 cat >conftest.$ac_ext <<_ACEOF
22041#line $LINENO "configure"
22042/* confdefs.h. */
22043_ACEOF
22044cat confdefs.h >>conftest.$ac_ext
22045cat >>conftest.$ac_ext <<_ACEOF
22046/* end confdefs.h. */
22047/* System header to define __stub macros and hopefully few prototypes,
22048 which can conflict with char remove (); below.
22049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22050 <limits.h> exists even on freestanding compilers. */
22051#ifdef __STDC__
22052# include <limits.h>
22053#else
22054# include <assert.h>
22055#endif
22056/* Override any gcc2 internal prototype to avoid an error. */
22057#ifdef __cplusplus
22058extern "C"
22059{
22060#endif
22061/* We use char because int might match the return type of a gcc2
22062 builtin and then its argument prototype would still apply. */
22063char remove ();
22064/* The GNU C library defines this for functions which it implements
22065 to always fail with ENOSYS. Some functions are actually named
22066 something starting with __ and the normal name is an alias. */
22067#if defined (__stub_remove) || defined (__stub___remove)
22068choke me
22069#else
22070char (*f) () = remove;
22071#endif
22072#ifdef __cplusplus
22073}
22074#endif
22075
22076int
22077main ()
22078{
22079return f != remove;
22080 ;
22081 return 0;
22082}
22083_ACEOF
22084rm -f conftest.$ac_objext conftest$ac_exeext
22085if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22086 (eval $ac_link) 2>&5
22087 ac_status=$?
22088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22089 (exit $ac_status); } &&
22090 { ac_try='test -s conftest$ac_exeext'
22091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22092 (eval $ac_try) 2>&5
22093 ac_status=$?
22094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22095 (exit $ac_status); }; }; then
22096 ac_cv_func_remove=yes
22097else
22098 echo "$as_me: failed program was:" >&5
22099sed 's/^/| /' conftest.$ac_ext >&5
22100
22101ac_cv_func_remove=no
22102fi
22103rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22104fi
22105echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22106echo "${ECHO_T}$ac_cv_func_remove" >&6
22107
22108 if test $ac_cv_func_remove = no; then
22109 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22110echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22111if test "${ac_cv_lib_posix_remove+set}" = set; then
22112 echo $ECHO_N "(cached) $ECHO_C" >&6
22113else
22114 ac_check_lib_save_LIBS=$LIBS
22115LIBS="-lposix $LIBS"
22116cat >conftest.$ac_ext <<_ACEOF
22117#line $LINENO "configure"
22118/* confdefs.h. */
22119_ACEOF
22120cat confdefs.h >>conftest.$ac_ext
22121cat >>conftest.$ac_ext <<_ACEOF
22122/* end confdefs.h. */
22123
22124/* Override any gcc2 internal prototype to avoid an error. */
22125#ifdef __cplusplus
22126extern "C"
22127#endif
22128/* We use char because int might match the return type of a gcc2
22129 builtin and then its argument prototype would still apply. */
22130char remove ();
22131int
22132main ()
22133{
22134remove ();
22135 ;
22136 return 0;
22137}
22138_ACEOF
22139rm -f conftest.$ac_objext conftest$ac_exeext
22140if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22141 (eval $ac_link) 2>&5
22142 ac_status=$?
22143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22144 (exit $ac_status); } &&
22145 { ac_try='test -s conftest$ac_exeext'
22146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22147 (eval $ac_try) 2>&5
22148 ac_status=$?
22149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150 (exit $ac_status); }; }; then
22151 ac_cv_lib_posix_remove=yes
22152else
22153 echo "$as_me: failed program was:" >&5
22154sed 's/^/| /' conftest.$ac_ext >&5
22155
22156ac_cv_lib_posix_remove=no
22157fi
22158rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22159LIBS=$ac_check_lib_save_LIBS
22160fi
22161echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22162echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22163if test $ac_cv_lib_posix_remove = yes; then
22164 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22165fi
22166
22167 fi
22168
22169 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22170 echo "$as_me:$LINENO: checking for shmat" >&5
22171echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22172if test "${ac_cv_func_shmat+set}" = set; then
22173 echo $ECHO_N "(cached) $ECHO_C" >&6
22174else
22175 cat >conftest.$ac_ext <<_ACEOF
22176#line $LINENO "configure"
22177/* confdefs.h. */
22178_ACEOF
22179cat confdefs.h >>conftest.$ac_ext
22180cat >>conftest.$ac_ext <<_ACEOF
22181/* end confdefs.h. */
22182/* System header to define __stub macros and hopefully few prototypes,
22183 which can conflict with char shmat (); below.
22184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22185 <limits.h> exists even on freestanding compilers. */
22186#ifdef __STDC__
22187# include <limits.h>
22188#else
22189# include <assert.h>
22190#endif
22191/* Override any gcc2 internal prototype to avoid an error. */
22192#ifdef __cplusplus
22193extern "C"
22194{
22195#endif
22196/* We use char because int might match the return type of a gcc2
22197 builtin and then its argument prototype would still apply. */
22198char shmat ();
22199/* The GNU C library defines this for functions which it implements
22200 to always fail with ENOSYS. Some functions are actually named
22201 something starting with __ and the normal name is an alias. */
22202#if defined (__stub_shmat) || defined (__stub___shmat)
22203choke me
22204#else
22205char (*f) () = shmat;
22206#endif
22207#ifdef __cplusplus
22208}
22209#endif
22210
22211int
22212main ()
22213{
22214return f != shmat;
22215 ;
22216 return 0;
22217}
22218_ACEOF
22219rm -f conftest.$ac_objext conftest$ac_exeext
22220if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22221 (eval $ac_link) 2>&5
22222 ac_status=$?
22223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22224 (exit $ac_status); } &&
22225 { ac_try='test -s conftest$ac_exeext'
22226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22227 (eval $ac_try) 2>&5
22228 ac_status=$?
22229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230 (exit $ac_status); }; }; then
22231 ac_cv_func_shmat=yes
22232else
22233 echo "$as_me: failed program was:" >&5
22234sed 's/^/| /' conftest.$ac_ext >&5
22235
22236ac_cv_func_shmat=no
22237fi
22238rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22239fi
22240echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22241echo "${ECHO_T}$ac_cv_func_shmat" >&6
22242
22243 if test $ac_cv_func_shmat = no; then
22244 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22245echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22246if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22247 echo $ECHO_N "(cached) $ECHO_C" >&6
22248else
22249 ac_check_lib_save_LIBS=$LIBS
22250LIBS="-lipc $LIBS"
22251cat >conftest.$ac_ext <<_ACEOF
22252#line $LINENO "configure"
22253/* confdefs.h. */
22254_ACEOF
22255cat confdefs.h >>conftest.$ac_ext
22256cat >>conftest.$ac_ext <<_ACEOF
22257/* end confdefs.h. */
22258
22259/* Override any gcc2 internal prototype to avoid an error. */
22260#ifdef __cplusplus
22261extern "C"
22262#endif
22263/* We use char because int might match the return type of a gcc2
22264 builtin and then its argument prototype would still apply. */
22265char shmat ();
22266int
22267main ()
22268{
22269shmat ();
22270 ;
22271 return 0;
22272}
22273_ACEOF
22274rm -f conftest.$ac_objext conftest$ac_exeext
22275if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22276 (eval $ac_link) 2>&5
22277 ac_status=$?
22278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22279 (exit $ac_status); } &&
22280 { ac_try='test -s conftest$ac_exeext'
22281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22282 (eval $ac_try) 2>&5
22283 ac_status=$?
22284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22285 (exit $ac_status); }; }; then
22286 ac_cv_lib_ipc_shmat=yes
22287else
22288 echo "$as_me: failed program was:" >&5
22289sed 's/^/| /' conftest.$ac_ext >&5
22290
22291ac_cv_lib_ipc_shmat=no
22292fi
22293rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22294LIBS=$ac_check_lib_save_LIBS
22295fi
22296echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22297echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22298if test $ac_cv_lib_ipc_shmat = yes; then
22299 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22300fi
22301
22302 fi
22303 fi
22304
22305 # Check for libraries that X11R6 Xt/Xaw programs need.
22306 ac_save_LDFLAGS=$LDFLAGS
22307 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22308 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22309 # check for ICE first), but we must link in the order -lSM -lICE or
22310 # we get undefined symbols. So assume we have SM if we have ICE.
22311 # These have to be linked with before -lX11, unlike the other
22312 # libraries we check for below, so use a different variable.
22313 # John Interrante, Karl Berry
22314 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22315echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22316if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22317 echo $ECHO_N "(cached) $ECHO_C" >&6
22318else
22319 ac_check_lib_save_LIBS=$LIBS
22320LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22321cat >conftest.$ac_ext <<_ACEOF
22322#line $LINENO "configure"
22323/* confdefs.h. */
22324_ACEOF
22325cat confdefs.h >>conftest.$ac_ext
22326cat >>conftest.$ac_ext <<_ACEOF
22327/* end confdefs.h. */
22328
22329/* Override any gcc2 internal prototype to avoid an error. */
22330#ifdef __cplusplus
22331extern "C"
22332#endif
22333/* We use char because int might match the return type of a gcc2
22334 builtin and then its argument prototype would still apply. */
22335char IceConnectionNumber ();
22336int
22337main ()
22338{
22339IceConnectionNumber ();
22340 ;
22341 return 0;
22342}
22343_ACEOF
22344rm -f conftest.$ac_objext conftest$ac_exeext
22345if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22346 (eval $ac_link) 2>&5
22347 ac_status=$?
22348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22349 (exit $ac_status); } &&
22350 { ac_try='test -s conftest$ac_exeext'
22351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22352 (eval $ac_try) 2>&5
22353 ac_status=$?
22354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355 (exit $ac_status); }; }; then
22356 ac_cv_lib_ICE_IceConnectionNumber=yes
22357else
22358 echo "$as_me: failed program was:" >&5
22359sed 's/^/| /' conftest.$ac_ext >&5
22360
22361ac_cv_lib_ICE_IceConnectionNumber=no
22362fi
22363rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22364LIBS=$ac_check_lib_save_LIBS
22365fi
22366echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22367echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22368if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22369 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22370fi
22371
22372 LDFLAGS=$ac_save_LDFLAGS
22373
22374fi
22375
22376
22377 if test "$no_x" = "yes"; then
22378 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22379echo "$as_me: error: X11 not found" >&2;}
22380 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22381 fi
22382
22383 GUI_TK_LIBRARY="$X_LIBS"
22384 TOOLKIT_INCLUDE="$X_CFLAGS"
22385 AFMINSTALL=afminstall
22386 COMPILED_X_PROGRAM=0
22387
22388 if test "$wxUSE_NANOX" = "yes"; then
22389 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22390echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22391 if test "x$MICROWIN" = x ; then
22392 echo "$as_me:$LINENO: result: not found" >&5
22393echo "${ECHO_T}not found" >&6
22394 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22395echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22396 { (exit 1); exit 1; }; }
22397 else
22398 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22399echo "${ECHO_T}$MICROWIN" >&6
22400 cat >>confdefs.h <<\_ACEOF
22401#define wxUSE_NANOX 1
22402_ACEOF
22403
22404 fi
22405 fi
22406
22407 xpm_link=
22408 echo "$as_me:$LINENO: checking for Xpm library" >&5
22409echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22410
22411ac_find_libraries=
22412for ac_dir in $SEARCH_LIB /usr/lib;
22413 do
22414 for ac_extension in a so sl dylib; do
22415 if test -f "$ac_dir/libXpm.$ac_extension"; then
22416 ac_find_libraries=$ac_dir
22417 break 2
22418 fi
22419 done
22420 done
22421
22422 if test "$ac_find_libraries" != "" ; then
22423
22424 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22425 result=$?
22426 if test $result = 0; then
22427 ac_path_to_link=""
22428 else
22429 ac_path_to_link=" -L$ac_find_libraries"
22430 fi
22431
22432 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22433 xpm_link=" -lXpm"
22434 cat >>confdefs.h <<\_ACEOF
22435#define wxHAVE_LIB_XPM 1
22436_ACEOF
22437
22438 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22439echo "${ECHO_T}found at $ac_find_libraries" >&6
22440 else
22441 cat >conftest.$ac_ext <<_ACEOF
22442#line $LINENO "configure"
22443/* confdefs.h. */
22444_ACEOF
22445cat confdefs.h >>conftest.$ac_ext
22446cat >>conftest.$ac_ext <<_ACEOF
22447/* end confdefs.h. */
22448
22449 #include <X11/xpm.h>
22450
22451int
22452main ()
22453{
22454
22455 int version;
22456 version = XpmLibraryVersion();
22457
22458 ;
22459 return 0;
22460}
22461_ACEOF
22462rm -f conftest.$ac_objext
22463if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22464 (eval $ac_compile) 2>&5
22465 ac_status=$?
22466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22467 (exit $ac_status); } &&
22468 { ac_try='test -s conftest.$ac_objext'
22469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22470 (eval $ac_try) 2>&5
22471 ac_status=$?
22472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22473 (exit $ac_status); }; }; then
22474
22475 xpm_link=" -lXpm"
22476 cat >>confdefs.h <<\_ACEOF
22477#define wxHAVE_LIB_XPM 1
22478_ACEOF
22479
22480 echo "$as_me:$LINENO: result: found in default search path" >&5
22481echo "${ECHO_T}found in default search path" >&6
22482 COMPILED_X_PROGRAM=0
22483
22484else
22485 echo "$as_me: failed program was:" >&5
22486sed 's/^/| /' conftest.$ac_ext >&5
22487
22488
22489 echo "$as_me:$LINENO: result: no" >&5
22490echo "${ECHO_T}no" >&6
22491 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22492echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22493
22494
22495fi
22496rm -f conftest.$ac_objext conftest.$ac_ext
22497 fi
22498
22499 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22500echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22501if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22502 echo $ECHO_N "(cached) $ECHO_C" >&6
22503else
22504 ac_check_lib_save_LIBS=$LIBS
22505LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22506cat >conftest.$ac_ext <<_ACEOF
22507#line $LINENO "configure"
22508/* confdefs.h. */
22509_ACEOF
22510cat confdefs.h >>conftest.$ac_ext
22511cat >>conftest.$ac_ext <<_ACEOF
22512/* end confdefs.h. */
22513
22514/* Override any gcc2 internal prototype to avoid an error. */
22515#ifdef __cplusplus
22516extern "C"
22517#endif
22518/* We use char because int might match the return type of a gcc2
22519 builtin and then its argument prototype would still apply. */
22520char XShapeQueryExtension ();
22521int
22522main ()
22523{
22524XShapeQueryExtension ();
22525 ;
22526 return 0;
22527}
22528_ACEOF
22529rm -f conftest.$ac_objext conftest$ac_exeext
22530if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22531 (eval $ac_link) 2>&5
22532 ac_status=$?
22533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22534 (exit $ac_status); } &&
22535 { ac_try='test -s conftest$ac_exeext'
22536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22537 (eval $ac_try) 2>&5
22538 ac_status=$?
22539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22540 (exit $ac_status); }; }; then
22541 ac_cv_lib_Xext_XShapeQueryExtension=yes
22542else
22543 echo "$as_me: failed program was:" >&5
22544sed 's/^/| /' conftest.$ac_ext >&5
22545
22546ac_cv_lib_Xext_XShapeQueryExtension=no
22547fi
22548rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22549LIBS=$ac_check_lib_save_LIBS
22550fi
22551echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22552echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22553if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22554
22555 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22556 wxHAVE_XEXT_LIB=1
22557
22558fi
22559
22560
22561 if test "$wxUSE_UNICODE" = "yes"; then
22562
22563 succeeded=no
22564
22565 if test -z "$PKG_CONFIG"; then
22566 # Extract the first word of "pkg-config", so it can be a program name with args.
22567set dummy pkg-config; ac_word=$2
22568echo "$as_me:$LINENO: checking for $ac_word" >&5
22569echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22570if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22571 echo $ECHO_N "(cached) $ECHO_C" >&6
22572else
22573 case $PKG_CONFIG in
22574 [\\/]* | ?:[\\/]*)
22575 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22576 ;;
22577 *)
22578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22579for as_dir in $PATH
22580do
22581 IFS=$as_save_IFS
22582 test -z "$as_dir" && as_dir=.
22583 for ac_exec_ext in '' $ac_executable_extensions; do
22584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22585 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22587 break 2
22588 fi
22589done
22590done
22591
22592 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22593 ;;
22594esac
22595fi
22596PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22597
22598if test -n "$PKG_CONFIG"; then
22599 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22600echo "${ECHO_T}$PKG_CONFIG" >&6
22601else
22602 echo "$as_me:$LINENO: result: no" >&5
22603echo "${ECHO_T}no" >&6
22604fi
22605
22606 fi
22607
22608 if test "$PKG_CONFIG" = "no" ; then
22609 echo "*** The pkg-config script could not be found. Make sure it is"
22610 echo "*** in your path, or set the PKG_CONFIG environment variable"
22611 echo "*** to the full path to pkg-config."
22612 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22613 else
22614 PKG_CONFIG_MIN_VERSION=0.9.0
22615 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22616 echo "$as_me:$LINENO: checking for pangox" >&5
22617echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22618
22619 if $PKG_CONFIG --exists "pangox" ; then
22620 echo "$as_me:$LINENO: result: yes" >&5
22621echo "${ECHO_T}yes" >&6
22622 succeeded=yes
22623
22624 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22625echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22626 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22627 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22628echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22629
22630 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22631echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22632 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22633 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22634echo "${ECHO_T}$PANGOX_LIBS" >&6
22635 else
22636 PANGOX_CFLAGS=""
22637 PANGOX_LIBS=""
22638 ## If we have a custom action on failure, don't print errors, but
22639 ## do set a variable so people can do so.
22640 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22641
22642 fi
22643
22644
22645
22646 else
22647 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22648 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22649 fi
22650 fi
22651
22652 if test $succeeded = yes; then
22653
22654 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22655 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22656
22657 else
22658
22659 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22660echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22661 { (exit 1); exit 1; }; }
22662
22663
22664 fi
22665
22666
22667 succeeded=no
22668
22669 if test -z "$PKG_CONFIG"; then
22670 # Extract the first word of "pkg-config", so it can be a program name with args.
22671set dummy pkg-config; ac_word=$2
22672echo "$as_me:$LINENO: checking for $ac_word" >&5
22673echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22674if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22675 echo $ECHO_N "(cached) $ECHO_C" >&6
22676else
22677 case $PKG_CONFIG in
22678 [\\/]* | ?:[\\/]*)
22679 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22680 ;;
22681 *)
22682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22683for as_dir in $PATH
22684do
22685 IFS=$as_save_IFS
22686 test -z "$as_dir" && as_dir=.
22687 for ac_exec_ext in '' $ac_executable_extensions; do
22688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22689 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22691 break 2
22692 fi
22693done
22694done
22695
22696 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22697 ;;
22698esac
22699fi
22700PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22701
22702if test -n "$PKG_CONFIG"; then
22703 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22704echo "${ECHO_T}$PKG_CONFIG" >&6
22705else
22706 echo "$as_me:$LINENO: result: no" >&5
22707echo "${ECHO_T}no" >&6
22708fi
22709
22710 fi
22711
22712 if test "$PKG_CONFIG" = "no" ; then
22713 echo "*** The pkg-config script could not be found. Make sure it is"
22714 echo "*** in your path, or set the PKG_CONFIG environment variable"
22715 echo "*** to the full path to pkg-config."
22716 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22717 else
22718 PKG_CONFIG_MIN_VERSION=0.9.0
22719 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22720 echo "$as_me:$LINENO: checking for pangoft2" >&5
22721echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22722
22723 if $PKG_CONFIG --exists "pangoft2" ; then
22724 echo "$as_me:$LINENO: result: yes" >&5
22725echo "${ECHO_T}yes" >&6
22726 succeeded=yes
22727
22728 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22729echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22730 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22731 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22732echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22733
22734 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22735echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22736 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22737 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22738echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22739 else
22740 PANGOFT2_CFLAGS=""
22741 PANGOFT2_LIBS=""
22742 ## If we have a custom action on failure, don't print errors, but
22743 ## do set a variable so people can do so.
22744 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22745
22746 fi
22747
22748
22749
22750 else
22751 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22752 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22753 fi
22754 fi
22755
22756 if test $succeeded = yes; then
22757
22758 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22759 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22760
22761 else
22762
22763 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22764echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22765 wxUSE_PRINTING_ARCHITECTURE="no"
22766
22767
22768 fi
22769
22770
22771 succeeded=no
22772
22773 if test -z "$PKG_CONFIG"; then
22774 # Extract the first word of "pkg-config", so it can be a program name with args.
22775set dummy pkg-config; ac_word=$2
22776echo "$as_me:$LINENO: checking for $ac_word" >&5
22777echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22778if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22779 echo $ECHO_N "(cached) $ECHO_C" >&6
22780else
22781 case $PKG_CONFIG in
22782 [\\/]* | ?:[\\/]*)
22783 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22784 ;;
22785 *)
22786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22787for as_dir in $PATH
22788do
22789 IFS=$as_save_IFS
22790 test -z "$as_dir" && as_dir=.
22791 for ac_exec_ext in '' $ac_executable_extensions; do
22792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22793 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22795 break 2
22796 fi
22797done
22798done
22799
22800 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22801 ;;
22802esac
22803fi
22804PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22805
22806if test -n "$PKG_CONFIG"; then
22807 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22808echo "${ECHO_T}$PKG_CONFIG" >&6
22809else
22810 echo "$as_me:$LINENO: result: no" >&5
22811echo "${ECHO_T}no" >&6
22812fi
22813
22814 fi
22815
22816 if test "$PKG_CONFIG" = "no" ; then
22817 echo "*** The pkg-config script could not be found. Make sure it is"
22818 echo "*** in your path, or set the PKG_CONFIG environment variable"
22819 echo "*** to the full path to pkg-config."
22820 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22821 else
22822 PKG_CONFIG_MIN_VERSION=0.9.0
22823 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22824 echo "$as_me:$LINENO: checking for pangoxft" >&5
22825echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22826
22827 if $PKG_CONFIG --exists "pangoxft" ; then
22828 echo "$as_me:$LINENO: result: yes" >&5
22829echo "${ECHO_T}yes" >&6
22830 succeeded=yes
22831
22832 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22833echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22834 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22835 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22836echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22837
22838 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22839echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22840 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22841 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22842echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22843 else
22844 PANGOXFT_CFLAGS=""
22845 PANGOXFT_LIBS=""
22846 ## If we have a custom action on failure, don't print errors, but
22847 ## do set a variable so people can do so.
22848 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22849
22850 fi
22851
22852
22853
22854 else
22855 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22856 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22857 fi
22858 fi
22859
22860 if test $succeeded = yes; then
22861
22862 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
22863 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22864
22865 else
22866
22867 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22868echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22869
22870
22871 fi
22872
22873 fi
22874
22875 wxUSE_UNIVERSAL="yes"
22876
22877 if test "$wxUSE_NANOX" = "yes"; then
22878 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22879 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"
22880 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22881 else
22882 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
22883 fi
22884
22885 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
22886 TOOLKIT=X11
22887 GUIDIST=X11_DIST
22888 fi
22889
22890 if test "$wxUSE_MOTIF" = 1; then
22891 if test "$no_x" = yes; then
22892 # Not all programs may use this symbol, but it does not hurt to define it.
22893
22894cat >>confdefs.h <<\_ACEOF
22895#define X_DISPLAY_MISSING 1
22896_ACEOF
22897
22898 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22899else
22900 if test -n "$x_includes"; then
22901 X_CFLAGS="$X_CFLAGS -I$x_includes"
22902 fi
22903
22904 # It would also be nice to do this for all -L options, not just this one.
22905 if test -n "$x_libraries"; then
22906 X_LIBS="$X_LIBS -L$x_libraries"
22907 # For Solaris; some versions of Sun CC require a space after -R and
22908 # others require no space. Words are not sufficient . . . .
22909 case `(uname -sr) 2>/dev/null` in
22910 "SunOS 5"*)
22911 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22912echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22913 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22914 cat >conftest.$ac_ext <<_ACEOF
22915#line $LINENO "configure"
22916/* confdefs.h. */
22917_ACEOF
22918cat confdefs.h >>conftest.$ac_ext
22919cat >>conftest.$ac_ext <<_ACEOF
22920/* end confdefs.h. */
22921
22922int
22923main ()
22924{
22925
22926 ;
22927 return 0;
22928}
22929_ACEOF
22930rm -f conftest.$ac_objext conftest$ac_exeext
22931if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22932 (eval $ac_link) 2>&5
22933 ac_status=$?
22934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22935 (exit $ac_status); } &&
22936 { ac_try='test -s conftest$ac_exeext'
22937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22938 (eval $ac_try) 2>&5
22939 ac_status=$?
22940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22941 (exit $ac_status); }; }; then
22942 ac_R_nospace=yes
22943else
22944 echo "$as_me: failed program was:" >&5
22945sed 's/^/| /' conftest.$ac_ext >&5
22946
22947ac_R_nospace=no
22948fi
22949rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22950 if test $ac_R_nospace = yes; then
22951 echo "$as_me:$LINENO: result: no" >&5
22952echo "${ECHO_T}no" >&6
22953 X_LIBS="$X_LIBS -R$x_libraries"
22954 else
22955 LIBS="$ac_xsave_LIBS -R $x_libraries"
22956 cat >conftest.$ac_ext <<_ACEOF
22957#line $LINENO "configure"
22958/* confdefs.h. */
22959_ACEOF
22960cat confdefs.h >>conftest.$ac_ext
22961cat >>conftest.$ac_ext <<_ACEOF
22962/* end confdefs.h. */
22963
22964int
22965main ()
22966{
22967
22968 ;
22969 return 0;
22970}
22971_ACEOF
22972rm -f conftest.$ac_objext conftest$ac_exeext
22973if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22974 (eval $ac_link) 2>&5
22975 ac_status=$?
22976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22977 (exit $ac_status); } &&
22978 { ac_try='test -s conftest$ac_exeext'
22979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22980 (eval $ac_try) 2>&5
22981 ac_status=$?
22982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983 (exit $ac_status); }; }; then
22984 ac_R_space=yes
22985else
22986 echo "$as_me: failed program was:" >&5
22987sed 's/^/| /' conftest.$ac_ext >&5
22988
22989ac_R_space=no
22990fi
22991rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22992 if test $ac_R_space = yes; then
22993 echo "$as_me:$LINENO: result: yes" >&5
22994echo "${ECHO_T}yes" >&6
22995 X_LIBS="$X_LIBS -R $x_libraries"
22996 else
22997 echo "$as_me:$LINENO: result: neither works" >&5
22998echo "${ECHO_T}neither works" >&6
22999 fi
23000 fi
23001 LIBS=$ac_xsave_LIBS
23002 esac
23003 fi
23004
23005 # Check for system-dependent libraries X programs must link with.
23006 # Do this before checking for the system-independent R6 libraries
23007 # (-lICE), since we may need -lsocket or whatever for X linking.
23008
23009 if test "$ISC" = yes; then
23010 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23011 else
23012 # Martyn Johnson says this is needed for Ultrix, if the X
23013 # libraries were built with DECnet support. And Karl Berry says
23014 # the Alpha needs dnet_stub (dnet does not exist).
23015 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23016 cat >conftest.$ac_ext <<_ACEOF
23017#line $LINENO "configure"
23018/* confdefs.h. */
23019_ACEOF
23020cat confdefs.h >>conftest.$ac_ext
23021cat >>conftest.$ac_ext <<_ACEOF
23022/* end confdefs.h. */
23023
23024/* Override any gcc2 internal prototype to avoid an error. */
23025#ifdef __cplusplus
23026extern "C"
23027#endif
23028/* We use char because int might match the return type of a gcc2
23029 builtin and then its argument prototype would still apply. */
23030char XOpenDisplay ();
23031int
23032main ()
23033{
23034XOpenDisplay ();
23035 ;
23036 return 0;
23037}
23038_ACEOF
23039rm -f conftest.$ac_objext conftest$ac_exeext
23040if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23041 (eval $ac_link) 2>&5
23042 ac_status=$?
23043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23044 (exit $ac_status); } &&
23045 { ac_try='test -s conftest$ac_exeext'
23046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23047 (eval $ac_try) 2>&5
23048 ac_status=$?
23049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050 (exit $ac_status); }; }; then
23051 :
23052else
23053 echo "$as_me: failed program was:" >&5
23054sed 's/^/| /' conftest.$ac_ext >&5
23055
23056echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23057echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23058if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23059 echo $ECHO_N "(cached) $ECHO_C" >&6
23060else
23061 ac_check_lib_save_LIBS=$LIBS
23062LIBS="-ldnet $LIBS"
23063cat >conftest.$ac_ext <<_ACEOF
23064#line $LINENO "configure"
23065/* confdefs.h. */
23066_ACEOF
23067cat confdefs.h >>conftest.$ac_ext
23068cat >>conftest.$ac_ext <<_ACEOF
23069/* end confdefs.h. */
23070
23071/* Override any gcc2 internal prototype to avoid an error. */
23072#ifdef __cplusplus
23073extern "C"
23074#endif
23075/* We use char because int might match the return type of a gcc2
23076 builtin and then its argument prototype would still apply. */
23077char dnet_ntoa ();
23078int
23079main ()
23080{
23081dnet_ntoa ();
23082 ;
23083 return 0;
23084}
23085_ACEOF
23086rm -f conftest.$ac_objext conftest$ac_exeext
23087if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23088 (eval $ac_link) 2>&5
23089 ac_status=$?
23090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23091 (exit $ac_status); } &&
23092 { ac_try='test -s conftest$ac_exeext'
23093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23094 (eval $ac_try) 2>&5
23095 ac_status=$?
23096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23097 (exit $ac_status); }; }; then
23098 ac_cv_lib_dnet_dnet_ntoa=yes
23099else
23100 echo "$as_me: failed program was:" >&5
23101sed 's/^/| /' conftest.$ac_ext >&5
23102
23103ac_cv_lib_dnet_dnet_ntoa=no
23104fi
23105rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23106LIBS=$ac_check_lib_save_LIBS
23107fi
23108echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23109echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23110if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23111 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23112fi
23113
23114 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23115 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23116echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23117if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23118 echo $ECHO_N "(cached) $ECHO_C" >&6
23119else
23120 ac_check_lib_save_LIBS=$LIBS
23121LIBS="-ldnet_stub $LIBS"
23122cat >conftest.$ac_ext <<_ACEOF
23123#line $LINENO "configure"
23124/* confdefs.h. */
23125_ACEOF
23126cat confdefs.h >>conftest.$ac_ext
23127cat >>conftest.$ac_ext <<_ACEOF
23128/* end confdefs.h. */
23129
23130/* Override any gcc2 internal prototype to avoid an error. */
23131#ifdef __cplusplus
23132extern "C"
23133#endif
23134/* We use char because int might match the return type of a gcc2
23135 builtin and then its argument prototype would still apply. */
23136char dnet_ntoa ();
23137int
23138main ()
23139{
23140dnet_ntoa ();
23141 ;
23142 return 0;
23143}
23144_ACEOF
23145rm -f conftest.$ac_objext conftest$ac_exeext
23146if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23147 (eval $ac_link) 2>&5
23148 ac_status=$?
23149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23150 (exit $ac_status); } &&
23151 { ac_try='test -s conftest$ac_exeext'
23152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23153 (eval $ac_try) 2>&5
23154 ac_status=$?
23155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23156 (exit $ac_status); }; }; then
23157 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23158else
23159 echo "$as_me: failed program was:" >&5
23160sed 's/^/| /' conftest.$ac_ext >&5
23161
23162ac_cv_lib_dnet_stub_dnet_ntoa=no
23163fi
23164rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23165LIBS=$ac_check_lib_save_LIBS
23166fi
23167echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23168echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23169if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23170 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23171fi
23172
23173 fi
23174fi
23175rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23176 LIBS="$ac_xsave_LIBS"
23177
23178 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23179 # to get the SysV transport functions.
23180 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23181 # needs -lnsl.
23182 # The nsl library prevents programs from opening the X display
23183 # on Irix 5.2, according to T.E. Dickey.
23184 # The functions gethostbyname, getservbyname, and inet_addr are
23185 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23186 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23187echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23188if test "${ac_cv_func_gethostbyname+set}" = set; then
23189 echo $ECHO_N "(cached) $ECHO_C" >&6
23190else
23191 cat >conftest.$ac_ext <<_ACEOF
23192#line $LINENO "configure"
23193/* confdefs.h. */
23194_ACEOF
23195cat confdefs.h >>conftest.$ac_ext
23196cat >>conftest.$ac_ext <<_ACEOF
23197/* end confdefs.h. */
23198/* System header to define __stub macros and hopefully few prototypes,
23199 which can conflict with char gethostbyname (); below.
23200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23201 <limits.h> exists even on freestanding compilers. */
23202#ifdef __STDC__
23203# include <limits.h>
23204#else
23205# include <assert.h>
23206#endif
23207/* Override any gcc2 internal prototype to avoid an error. */
23208#ifdef __cplusplus
23209extern "C"
23210{
23211#endif
23212/* We use char because int might match the return type of a gcc2
23213 builtin and then its argument prototype would still apply. */
23214char gethostbyname ();
23215/* The GNU C library defines this for functions which it implements
23216 to always fail with ENOSYS. Some functions are actually named
23217 something starting with __ and the normal name is an alias. */
23218#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23219choke me
23220#else
23221char (*f) () = gethostbyname;
23222#endif
23223#ifdef __cplusplus
23224}
23225#endif
23226
23227int
23228main ()
23229{
23230return f != gethostbyname;
23231 ;
23232 return 0;
23233}
23234_ACEOF
23235rm -f conftest.$ac_objext conftest$ac_exeext
23236if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23237 (eval $ac_link) 2>&5
23238 ac_status=$?
23239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23240 (exit $ac_status); } &&
23241 { ac_try='test -s conftest$ac_exeext'
23242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23243 (eval $ac_try) 2>&5
23244 ac_status=$?
23245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23246 (exit $ac_status); }; }; then
23247 ac_cv_func_gethostbyname=yes
23248else
23249 echo "$as_me: failed program was:" >&5
23250sed 's/^/| /' conftest.$ac_ext >&5
23251
23252ac_cv_func_gethostbyname=no
23253fi
23254rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23255fi
23256echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23257echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23258
23259 if test $ac_cv_func_gethostbyname = no; then
23260 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23261echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23262if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23263 echo $ECHO_N "(cached) $ECHO_C" >&6
23264else
23265 ac_check_lib_save_LIBS=$LIBS
23266LIBS="-lnsl $LIBS"
23267cat >conftest.$ac_ext <<_ACEOF
23268#line $LINENO "configure"
23269/* confdefs.h. */
23270_ACEOF
23271cat confdefs.h >>conftest.$ac_ext
23272cat >>conftest.$ac_ext <<_ACEOF
23273/* end confdefs.h. */
23274
23275/* Override any gcc2 internal prototype to avoid an error. */
23276#ifdef __cplusplus
23277extern "C"
23278#endif
23279/* We use char because int might match the return type of a gcc2
23280 builtin and then its argument prototype would still apply. */
23281char gethostbyname ();
23282int
23283main ()
23284{
23285gethostbyname ();
23286 ;
23287 return 0;
23288}
23289_ACEOF
23290rm -f conftest.$ac_objext conftest$ac_exeext
23291if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23292 (eval $ac_link) 2>&5
23293 ac_status=$?
23294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295 (exit $ac_status); } &&
23296 { ac_try='test -s conftest$ac_exeext'
23297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23298 (eval $ac_try) 2>&5
23299 ac_status=$?
23300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23301 (exit $ac_status); }; }; then
23302 ac_cv_lib_nsl_gethostbyname=yes
23303else
23304 echo "$as_me: failed program was:" >&5
23305sed 's/^/| /' conftest.$ac_ext >&5
23306
23307ac_cv_lib_nsl_gethostbyname=no
23308fi
23309rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23310LIBS=$ac_check_lib_save_LIBS
23311fi
23312echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23313echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23314if test $ac_cv_lib_nsl_gethostbyname = yes; then
23315 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23316fi
23317
23318 if test $ac_cv_lib_nsl_gethostbyname = no; then
23319 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23320echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23321if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23322 echo $ECHO_N "(cached) $ECHO_C" >&6
23323else
23324 ac_check_lib_save_LIBS=$LIBS
23325LIBS="-lbsd $LIBS"
23326cat >conftest.$ac_ext <<_ACEOF
23327#line $LINENO "configure"
23328/* confdefs.h. */
23329_ACEOF
23330cat confdefs.h >>conftest.$ac_ext
23331cat >>conftest.$ac_ext <<_ACEOF
23332/* end confdefs.h. */
23333
23334/* Override any gcc2 internal prototype to avoid an error. */
23335#ifdef __cplusplus
23336extern "C"
23337#endif
23338/* We use char because int might match the return type of a gcc2
23339 builtin and then its argument prototype would still apply. */
23340char gethostbyname ();
23341int
23342main ()
23343{
23344gethostbyname ();
23345 ;
23346 return 0;
23347}
23348_ACEOF
23349rm -f conftest.$ac_objext conftest$ac_exeext
23350if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23351 (eval $ac_link) 2>&5
23352 ac_status=$?
23353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23354 (exit $ac_status); } &&
23355 { ac_try='test -s conftest$ac_exeext'
23356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23357 (eval $ac_try) 2>&5
23358 ac_status=$?
23359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23360 (exit $ac_status); }; }; then
23361 ac_cv_lib_bsd_gethostbyname=yes
23362else
23363 echo "$as_me: failed program was:" >&5
23364sed 's/^/| /' conftest.$ac_ext >&5
23365
23366ac_cv_lib_bsd_gethostbyname=no
23367fi
23368rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23369LIBS=$ac_check_lib_save_LIBS
23370fi
23371echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23372echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23373if test $ac_cv_lib_bsd_gethostbyname = yes; then
23374 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23375fi
23376
23377 fi
23378 fi
23379
23380 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23381 # socket/setsockopt and other routines are undefined under SCO ODT
23382 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23383 # on later versions), says Simon Leinen: it contains gethostby*
23384 # variants that don't use the name server (or something). -lsocket
23385 # must be given before -lnsl if both are needed. We assume that
23386 # if connect needs -lnsl, so does gethostbyname.
23387 echo "$as_me:$LINENO: checking for connect" >&5
23388echo $ECHO_N "checking for connect... $ECHO_C" >&6
23389if test "${ac_cv_func_connect+set}" = set; then
23390 echo $ECHO_N "(cached) $ECHO_C" >&6
23391else
23392 cat >conftest.$ac_ext <<_ACEOF
23393#line $LINENO "configure"
23394/* confdefs.h. */
23395_ACEOF
23396cat confdefs.h >>conftest.$ac_ext
23397cat >>conftest.$ac_ext <<_ACEOF
23398/* end confdefs.h. */
23399/* System header to define __stub macros and hopefully few prototypes,
23400 which can conflict with char connect (); below.
23401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23402 <limits.h> exists even on freestanding compilers. */
23403#ifdef __STDC__
23404# include <limits.h>
23405#else
23406# include <assert.h>
23407#endif
23408/* Override any gcc2 internal prototype to avoid an error. */
23409#ifdef __cplusplus
23410extern "C"
23411{
23412#endif
23413/* We use char because int might match the return type of a gcc2
23414 builtin and then its argument prototype would still apply. */
23415char connect ();
23416/* The GNU C library defines this for functions which it implements
23417 to always fail with ENOSYS. Some functions are actually named
23418 something starting with __ and the normal name is an alias. */
23419#if defined (__stub_connect) || defined (__stub___connect)
23420choke me
23421#else
23422char (*f) () = connect;
23423#endif
23424#ifdef __cplusplus
23425}
23426#endif
23427
23428int
23429main ()
23430{
23431return f != connect;
23432 ;
23433 return 0;
23434}
23435_ACEOF
23436rm -f conftest.$ac_objext conftest$ac_exeext
23437if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23438 (eval $ac_link) 2>&5
23439 ac_status=$?
23440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23441 (exit $ac_status); } &&
23442 { ac_try='test -s conftest$ac_exeext'
23443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23444 (eval $ac_try) 2>&5
23445 ac_status=$?
23446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23447 (exit $ac_status); }; }; then
23448 ac_cv_func_connect=yes
23449else
23450 echo "$as_me: failed program was:" >&5
23451sed 's/^/| /' conftest.$ac_ext >&5
23452
23453ac_cv_func_connect=no
23454fi
23455rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23456fi
23457echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23458echo "${ECHO_T}$ac_cv_func_connect" >&6
23459
23460 if test $ac_cv_func_connect = no; then
23461 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23462echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23463if test "${ac_cv_lib_socket_connect+set}" = set; then
23464 echo $ECHO_N "(cached) $ECHO_C" >&6
23465else
23466 ac_check_lib_save_LIBS=$LIBS
23467LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23468cat >conftest.$ac_ext <<_ACEOF
23469#line $LINENO "configure"
23470/* confdefs.h. */
23471_ACEOF
23472cat confdefs.h >>conftest.$ac_ext
23473cat >>conftest.$ac_ext <<_ACEOF
23474/* end confdefs.h. */
23475
23476/* Override any gcc2 internal prototype to avoid an error. */
23477#ifdef __cplusplus
23478extern "C"
23479#endif
23480/* We use char because int might match the return type of a gcc2
23481 builtin and then its argument prototype would still apply. */
23482char connect ();
23483int
23484main ()
23485{
23486connect ();
23487 ;
23488 return 0;
23489}
23490_ACEOF
23491rm -f conftest.$ac_objext conftest$ac_exeext
23492if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23493 (eval $ac_link) 2>&5
23494 ac_status=$?
23495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23496 (exit $ac_status); } &&
23497 { ac_try='test -s conftest$ac_exeext'
23498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23499 (eval $ac_try) 2>&5
23500 ac_status=$?
23501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23502 (exit $ac_status); }; }; then
23503 ac_cv_lib_socket_connect=yes
23504else
23505 echo "$as_me: failed program was:" >&5
23506sed 's/^/| /' conftest.$ac_ext >&5
23507
23508ac_cv_lib_socket_connect=no
23509fi
23510rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23511LIBS=$ac_check_lib_save_LIBS
23512fi
23513echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23514echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23515if test $ac_cv_lib_socket_connect = yes; then
23516 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23517fi
23518
23519 fi
23520
23521 # Guillermo Gomez says -lposix is necessary on A/UX.
23522 echo "$as_me:$LINENO: checking for remove" >&5
23523echo $ECHO_N "checking for remove... $ECHO_C" >&6
23524if test "${ac_cv_func_remove+set}" = set; then
23525 echo $ECHO_N "(cached) $ECHO_C" >&6
23526else
23527 cat >conftest.$ac_ext <<_ACEOF
23528#line $LINENO "configure"
23529/* confdefs.h. */
23530_ACEOF
23531cat confdefs.h >>conftest.$ac_ext
23532cat >>conftest.$ac_ext <<_ACEOF
23533/* end confdefs.h. */
23534/* System header to define __stub macros and hopefully few prototypes,
23535 which can conflict with char remove (); below.
23536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23537 <limits.h> exists even on freestanding compilers. */
23538#ifdef __STDC__
23539# include <limits.h>
23540#else
23541# include <assert.h>
23542#endif
23543/* Override any gcc2 internal prototype to avoid an error. */
23544#ifdef __cplusplus
23545extern "C"
23546{
23547#endif
23548/* We use char because int might match the return type of a gcc2
23549 builtin and then its argument prototype would still apply. */
23550char remove ();
23551/* The GNU C library defines this for functions which it implements
23552 to always fail with ENOSYS. Some functions are actually named
23553 something starting with __ and the normal name is an alias. */
23554#if defined (__stub_remove) || defined (__stub___remove)
23555choke me
23556#else
23557char (*f) () = remove;
23558#endif
23559#ifdef __cplusplus
23560}
23561#endif
23562
23563int
23564main ()
23565{
23566return f != remove;
23567 ;
23568 return 0;
23569}
23570_ACEOF
23571rm -f conftest.$ac_objext conftest$ac_exeext
23572if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23573 (eval $ac_link) 2>&5
23574 ac_status=$?
23575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23576 (exit $ac_status); } &&
23577 { ac_try='test -s conftest$ac_exeext'
23578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23579 (eval $ac_try) 2>&5
23580 ac_status=$?
23581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23582 (exit $ac_status); }; }; then
23583 ac_cv_func_remove=yes
23584else
23585 echo "$as_me: failed program was:" >&5
23586sed 's/^/| /' conftest.$ac_ext >&5
23587
23588ac_cv_func_remove=no
23589fi
23590rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23591fi
23592echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23593echo "${ECHO_T}$ac_cv_func_remove" >&6
23594
23595 if test $ac_cv_func_remove = no; then
23596 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23597echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23598if test "${ac_cv_lib_posix_remove+set}" = set; then
23599 echo $ECHO_N "(cached) $ECHO_C" >&6
23600else
23601 ac_check_lib_save_LIBS=$LIBS
23602LIBS="-lposix $LIBS"
23603cat >conftest.$ac_ext <<_ACEOF
23604#line $LINENO "configure"
23605/* confdefs.h. */
23606_ACEOF
23607cat confdefs.h >>conftest.$ac_ext
23608cat >>conftest.$ac_ext <<_ACEOF
23609/* end confdefs.h. */
23610
23611/* Override any gcc2 internal prototype to avoid an error. */
23612#ifdef __cplusplus
23613extern "C"
23614#endif
23615/* We use char because int might match the return type of a gcc2
23616 builtin and then its argument prototype would still apply. */
23617char remove ();
23618int
23619main ()
23620{
23621remove ();
23622 ;
23623 return 0;
23624}
23625_ACEOF
23626rm -f conftest.$ac_objext conftest$ac_exeext
23627if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23628 (eval $ac_link) 2>&5
23629 ac_status=$?
23630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23631 (exit $ac_status); } &&
23632 { ac_try='test -s conftest$ac_exeext'
23633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23634 (eval $ac_try) 2>&5
23635 ac_status=$?
23636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23637 (exit $ac_status); }; }; then
23638 ac_cv_lib_posix_remove=yes
23639else
23640 echo "$as_me: failed program was:" >&5
23641sed 's/^/| /' conftest.$ac_ext >&5
23642
23643ac_cv_lib_posix_remove=no
23644fi
23645rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23646LIBS=$ac_check_lib_save_LIBS
23647fi
23648echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23649echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23650if test $ac_cv_lib_posix_remove = yes; then
23651 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23652fi
23653
23654 fi
23655
23656 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23657 echo "$as_me:$LINENO: checking for shmat" >&5
23658echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23659if test "${ac_cv_func_shmat+set}" = set; then
23660 echo $ECHO_N "(cached) $ECHO_C" >&6
23661else
23662 cat >conftest.$ac_ext <<_ACEOF
23663#line $LINENO "configure"
23664/* confdefs.h. */
23665_ACEOF
23666cat confdefs.h >>conftest.$ac_ext
23667cat >>conftest.$ac_ext <<_ACEOF
23668/* end confdefs.h. */
23669/* System header to define __stub macros and hopefully few prototypes,
23670 which can conflict with char shmat (); below.
23671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23672 <limits.h> exists even on freestanding compilers. */
23673#ifdef __STDC__
23674# include <limits.h>
23675#else
23676# include <assert.h>
23677#endif
23678/* Override any gcc2 internal prototype to avoid an error. */
23679#ifdef __cplusplus
23680extern "C"
23681{
23682#endif
23683/* We use char because int might match the return type of a gcc2
23684 builtin and then its argument prototype would still apply. */
23685char shmat ();
23686/* The GNU C library defines this for functions which it implements
23687 to always fail with ENOSYS. Some functions are actually named
23688 something starting with __ and the normal name is an alias. */
23689#if defined (__stub_shmat) || defined (__stub___shmat)
23690choke me
23691#else
23692char (*f) () = shmat;
23693#endif
23694#ifdef __cplusplus
23695}
23696#endif
23697
23698int
23699main ()
23700{
23701return f != shmat;
23702 ;
23703 return 0;
23704}
23705_ACEOF
23706rm -f conftest.$ac_objext conftest$ac_exeext
23707if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23708 (eval $ac_link) 2>&5
23709 ac_status=$?
23710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23711 (exit $ac_status); } &&
23712 { ac_try='test -s conftest$ac_exeext'
23713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23714 (eval $ac_try) 2>&5
23715 ac_status=$?
23716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23717 (exit $ac_status); }; }; then
23718 ac_cv_func_shmat=yes
23719else
23720 echo "$as_me: failed program was:" >&5
23721sed 's/^/| /' conftest.$ac_ext >&5
23722
23723ac_cv_func_shmat=no
23724fi
23725rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23726fi
23727echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23728echo "${ECHO_T}$ac_cv_func_shmat" >&6
23729
23730 if test $ac_cv_func_shmat = no; then
23731 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23732echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23733if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23734 echo $ECHO_N "(cached) $ECHO_C" >&6
23735else
23736 ac_check_lib_save_LIBS=$LIBS
23737LIBS="-lipc $LIBS"
23738cat >conftest.$ac_ext <<_ACEOF
23739#line $LINENO "configure"
23740/* confdefs.h. */
23741_ACEOF
23742cat confdefs.h >>conftest.$ac_ext
23743cat >>conftest.$ac_ext <<_ACEOF
23744/* end confdefs.h. */
23745
23746/* Override any gcc2 internal prototype to avoid an error. */
23747#ifdef __cplusplus
23748extern "C"
23749#endif
23750/* We use char because int might match the return type of a gcc2
23751 builtin and then its argument prototype would still apply. */
23752char shmat ();
23753int
23754main ()
23755{
23756shmat ();
23757 ;
23758 return 0;
23759}
23760_ACEOF
23761rm -f conftest.$ac_objext conftest$ac_exeext
23762if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23763 (eval $ac_link) 2>&5
23764 ac_status=$?
23765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23766 (exit $ac_status); } &&
23767 { ac_try='test -s conftest$ac_exeext'
23768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23769 (eval $ac_try) 2>&5
23770 ac_status=$?
23771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23772 (exit $ac_status); }; }; then
23773 ac_cv_lib_ipc_shmat=yes
23774else
23775 echo "$as_me: failed program was:" >&5
23776sed 's/^/| /' conftest.$ac_ext >&5
23777
23778ac_cv_lib_ipc_shmat=no
23779fi
23780rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23781LIBS=$ac_check_lib_save_LIBS
23782fi
23783echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23784echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23785if test $ac_cv_lib_ipc_shmat = yes; then
23786 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23787fi
23788
23789 fi
23790 fi
23791
23792 # Check for libraries that X11R6 Xt/Xaw programs need.
23793 ac_save_LDFLAGS=$LDFLAGS
23794 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23795 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23796 # check for ICE first), but we must link in the order -lSM -lICE or
23797 # we get undefined symbols. So assume we have SM if we have ICE.
23798 # These have to be linked with before -lX11, unlike the other
23799 # libraries we check for below, so use a different variable.
23800 # John Interrante, Karl Berry
23801 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23802echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23803if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23804 echo $ECHO_N "(cached) $ECHO_C" >&6
23805else
23806 ac_check_lib_save_LIBS=$LIBS
23807LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23808cat >conftest.$ac_ext <<_ACEOF
23809#line $LINENO "configure"
23810/* confdefs.h. */
23811_ACEOF
23812cat confdefs.h >>conftest.$ac_ext
23813cat >>conftest.$ac_ext <<_ACEOF
23814/* end confdefs.h. */
23815
23816/* Override any gcc2 internal prototype to avoid an error. */
23817#ifdef __cplusplus
23818extern "C"
23819#endif
23820/* We use char because int might match the return type of a gcc2
23821 builtin and then its argument prototype would still apply. */
23822char IceConnectionNumber ();
23823int
23824main ()
23825{
23826IceConnectionNumber ();
23827 ;
23828 return 0;
23829}
23830_ACEOF
23831rm -f conftest.$ac_objext conftest$ac_exeext
23832if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23833 (eval $ac_link) 2>&5
23834 ac_status=$?
23835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23836 (exit $ac_status); } &&
23837 { ac_try='test -s conftest$ac_exeext'
23838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23839 (eval $ac_try) 2>&5
23840 ac_status=$?
23841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23842 (exit $ac_status); }; }; then
23843 ac_cv_lib_ICE_IceConnectionNumber=yes
23844else
23845 echo "$as_me: failed program was:" >&5
23846sed 's/^/| /' conftest.$ac_ext >&5
23847
23848ac_cv_lib_ICE_IceConnectionNumber=no
23849fi
23850rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23851LIBS=$ac_check_lib_save_LIBS
23852fi
23853echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23854echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23855if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23856 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23857fi
23858
23859 LDFLAGS=$ac_save_LDFLAGS
23860
23861fi
23862
23863
23864 if test "$no_x" = "yes"; then
23865 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23866echo "$as_me: error: X11 not found" >&2;}
23867 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23868 fi
23869
23870 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
23871 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
23872 AFMINSTALL=afminstall
23873 COMPILED_X_PROGRAM=0
23874
23875 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23876echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23877
23878ac_find_includes=
23879for ac_dir in $SEARCH_INCLUDE /usr/include;
23880 do
23881 if test -f "$ac_dir/Xm/Xm.h"; then
23882 ac_find_includes=$ac_dir
23883 break
23884 fi
23885 done
23886
23887 if test "$ac_find_includes" != "" ; then
23888 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23889echo "${ECHO_T}found in $ac_find_includes" >&6
23890
23891 if test "x$ac_find_includes" = "x/usr/include"; then
23892 ac_path_to_include=""
23893 else
23894 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
23895 result=$?
23896 if test $result = 0; then
23897 ac_path_to_include=""
23898 else
23899 ac_path_to_include=" -I$ac_find_includes"
23900 fi
23901 fi
23902
23903 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
23904 else
23905 cat >conftest.$ac_ext <<_ACEOF
23906#line $LINENO "configure"
23907/* confdefs.h. */
23908_ACEOF
23909cat confdefs.h >>conftest.$ac_ext
23910cat >>conftest.$ac_ext <<_ACEOF
23911/* end confdefs.h. */
23912
23913 #include <Xm/Xm.h>
23914
23915int
23916main ()
23917{
23918
23919 int version;
23920 version = xmUseVersion;
23921
23922 ;
23923 return 0;
23924}
23925_ACEOF
23926rm -f conftest.$ac_objext
23927if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23928 (eval $ac_compile) 2>&5
23929 ac_status=$?
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); } &&
23932 { ac_try='test -s conftest.$ac_objext'
23933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23934 (eval $ac_try) 2>&5
23935 ac_status=$?
23936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23937 (exit $ac_status); }; }; then
23938
23939 echo "$as_me:$LINENO: result: found in default search path" >&5
23940echo "${ECHO_T}found in default search path" >&6
23941 COMPILED_X_PROGRAM=1
23942
23943else
23944 echo "$as_me: failed program was:" >&5
23945sed 's/^/| /' conftest.$ac_ext >&5
23946
23947
23948 echo "$as_me:$LINENO: result: no" >&5
23949echo "${ECHO_T}no" >&6
23950 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23951echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23952 { (exit 1); exit 1; }; }
23953
23954
23955fi
23956rm -f conftest.$ac_objext conftest.$ac_ext
23957 fi
23958
23959 if test "$COMPILED_X_PROGRAM" = 0; then
23960 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23961echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23962
23963ac_find_libraries=
23964for ac_dir in $SEARCH_LIB /usr/lib;
23965 do
23966 for ac_extension in a so sl dylib; do
23967 if test -f "$ac_dir/libXm.$ac_extension"; then
23968 ac_find_libraries=$ac_dir
23969 break 2
23970 fi
23971 done
23972 done
23973
23974 if test "$ac_find_libraries" != "" ; then
23975 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23976echo "${ECHO_T}found at $ac_find_libraries" >&6
23977
23978
23979 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23980 result=$?
23981 if test $result = 0; then
23982 ac_path_to_link=""
23983 else
23984 ac_path_to_link=" -L$ac_find_libraries"
23985 fi
23986
23987 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23988 else
23989 save_CFLAGS=$CFLAGS
23990 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23991
23992 cat >conftest.$ac_ext <<_ACEOF
23993#line $LINENO "configure"
23994/* confdefs.h. */
23995_ACEOF
23996cat confdefs.h >>conftest.$ac_ext
23997cat >>conftest.$ac_ext <<_ACEOF
23998/* end confdefs.h. */
23999
24000 #include <Xm/Xm.h>
24001
24002int
24003main ()
24004{
24005
24006 int version;
24007 version = xmUseVersion;
24008
24009 ;
24010 return 0;
24011}
24012_ACEOF
24013rm -f conftest.$ac_objext
24014if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24015 (eval $ac_compile) 2>&5
24016 ac_status=$?
24017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018 (exit $ac_status); } &&
24019 { ac_try='test -s conftest.$ac_objext'
24020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24021 (eval $ac_try) 2>&5
24022 ac_status=$?
24023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24024 (exit $ac_status); }; }; then
24025
24026 echo "$as_me:$LINENO: result: found in default search path" >&5
24027echo "${ECHO_T}found in default search path" >&6
24028 COMPILED_X_PROGRAM=1
24029
24030else
24031 echo "$as_me: failed program was:" >&5
24032sed 's/^/| /' conftest.$ac_ext >&5
24033
24034
24035 echo "$as_me:$LINENO: result: no" >&5
24036echo "${ECHO_T}no" >&6
24037 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24038echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24039 { (exit 1); exit 1; }; }
24040
24041
24042fi
24043rm -f conftest.$ac_objext conftest.$ac_ext
24044
24045 CFLAGS=$save_CFLAGS
24046 fi
24047 fi
24048
24049 xpm_link=
24050 echo "$as_me:$LINENO: checking for Xpm library" >&5
24051echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24052
24053ac_find_libraries=
24054for ac_dir in $SEARCH_LIB /usr/lib;
24055 do
24056 for ac_extension in a so sl dylib; do
24057 if test -f "$ac_dir/libXpm.$ac_extension"; then
24058 ac_find_libraries=$ac_dir
24059 break 2
24060 fi
24061 done
24062 done
24063
24064 if test "$ac_find_libraries" != "" ; then
24065
24066 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24067 result=$?
24068 if test $result = 0; then
24069 ac_path_to_link=""
24070 else
24071 ac_path_to_link=" -L$ac_find_libraries"
24072 fi
24073
24074 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24075
24076 xpm_link=" -lXpm"
24077 cat >>confdefs.h <<\_ACEOF
24078#define wxHAVE_LIB_XPM 1
24079_ACEOF
24080
24081 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24082echo "${ECHO_T}found at $ac_find_libraries" >&6
24083 else
24084 save_CFLAGS=$CFLAGS
24085 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24086
24087 cat >conftest.$ac_ext <<_ACEOF
24088#line $LINENO "configure"
24089/* confdefs.h. */
24090_ACEOF
24091cat confdefs.h >>conftest.$ac_ext
24092cat >>conftest.$ac_ext <<_ACEOF
24093/* end confdefs.h. */
24094
24095 #include <X11/xpm.h>
24096
24097int
24098main ()
24099{
24100
24101 int version;
24102 version = XpmLibraryVersion();
24103
24104 ;
24105 return 0;
24106}
24107_ACEOF
24108rm -f conftest.$ac_objext
24109if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24110 (eval $ac_compile) 2>&5
24111 ac_status=$?
24112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113 (exit $ac_status); } &&
24114 { ac_try='test -s conftest.$ac_objext'
24115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24116 (eval $ac_try) 2>&5
24117 ac_status=$?
24118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24119 (exit $ac_status); }; }; then
24120
24121 xpm_link=" -lXpm"
24122 cat >>confdefs.h <<\_ACEOF
24123#define wxHAVE_LIB_XPM 1
24124_ACEOF
24125
24126 echo "$as_me:$LINENO: result: found in default search path" >&5
24127echo "${ECHO_T}found in default search path" >&6
24128 COMPILED_X_PROGRAM=0
24129
24130else
24131 echo "$as_me: failed program was:" >&5
24132sed 's/^/| /' conftest.$ac_ext >&5
24133
24134
24135 echo "$as_me:$LINENO: result: no" >&5
24136echo "${ECHO_T}no" >&6
24137 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24138echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24139
24140
24141fi
24142rm -f conftest.$ac_objext conftest.$ac_ext
24143
24144 CFLAGS=$save_CFLAGS
24145 fi
24146
24147 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24148echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24149 libp_link=""
24150 libsm_ice_link=""
24151 libs_found=0
24152 for libp in "" " -lXp"; do
24153 if test "$libs_found" = "0"; then
24154 for libsm_ice in "" " -lSM -lICE"; do
24155 if test "$libs_found" = "0"; then
24156 save_LIBS="$LIBS"
24157 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24158 save_CFLAGS=$CFLAGS
24159 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24160
24161 cat >conftest.$ac_ext <<_ACEOF
24162#line $LINENO "configure"
24163/* confdefs.h. */
24164_ACEOF
24165cat confdefs.h >>conftest.$ac_ext
24166cat >>conftest.$ac_ext <<_ACEOF
24167/* end confdefs.h. */
24168
24169 #include <Xm/Xm.h>
24170 #include <Xm/List.h>
24171
24172int
24173main ()
24174{
24175
24176 XmString string = NULL;
24177 Widget w = NULL;
24178 int position = 0;
24179 XmListAddItem(w, string, position);
24180
24181 ;
24182 return 0;
24183}
24184_ACEOF
24185rm -f conftest.$ac_objext conftest$ac_exeext
24186if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24187 (eval $ac_link) 2>&5
24188 ac_status=$?
24189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24190 (exit $ac_status); } &&
24191 { ac_try='test -s conftest$ac_exeext'
24192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24193 (eval $ac_try) 2>&5
24194 ac_status=$?
24195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24196 (exit $ac_status); }; }; then
24197
24198 libp_link="$libp"
24199 libsm_ice_link="$libsm_ice"
24200 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24201echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24202 libs_found=1
24203
24204else
24205 echo "$as_me: failed program was:" >&5
24206sed 's/^/| /' conftest.$ac_ext >&5
24207
24208
24209
24210fi
24211rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24212
24213 LIBS="$save_LIBS"
24214 CFLAGS=$save_CFLAGS
24215 fi
24216 done
24217 fi
24218 done
24219
24220 if test "$libs_found" = "0"; then
24221 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24222echo "${ECHO_T}can't find the right libraries" >&6
24223 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24224echo "$as_me: error: can't link a simple motif program" >&2;}
24225 { (exit 1); exit 1; }; }
24226 fi
24227
24228 save_CFLAGS=$CFLAGS
24229 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24230 echo "$as_me:$LINENO: checking for Motif 2" >&5
24231echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24232 cat >conftest.$ac_ext <<_ACEOF
24233#line $LINENO "configure"
24234/* confdefs.h. */
24235_ACEOF
24236cat confdefs.h >>conftest.$ac_ext
24237cat >>conftest.$ac_ext <<_ACEOF
24238/* end confdefs.h. */
24239
24240 #include <Xm/Xm.h>
24241
24242int
24243main ()
24244{
24245
24246 #if XmVersion < 2000
24247 #error "Not Motif 2"
24248 #endif
24249
24250 ;
24251 return 0;
24252}
24253_ACEOF
24254rm -f conftest.$ac_objext
24255if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24256 (eval $ac_compile) 2>&5
24257 ac_status=$?
24258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24259 (exit $ac_status); } &&
24260 { ac_try='test -s conftest.$ac_objext'
24261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24262 (eval $ac_try) 2>&5
24263 ac_status=$?
24264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24265 (exit $ac_status); }; }; then
24266
24267 cat >>confdefs.h <<\_ACEOF
24268#define __WXMOTIF20__ 1
24269_ACEOF
24270
24271 echo "$as_me:$LINENO: result: found" >&5
24272echo "${ECHO_T}found" >&6
24273
24274else
24275 echo "$as_me: failed program was:" >&5
24276sed 's/^/| /' conftest.$ac_ext >&5
24277
24278
24279 cat >>confdefs.h <<\_ACEOF
24280#define __WXMOTIF20__ 0
24281_ACEOF
24282
24283 echo "$as_me:$LINENO: result: not found" >&5
24284echo "${ECHO_T}not found" >&6
24285
24286fi
24287rm -f conftest.$ac_objext conftest.$ac_ext
24288 CFLAGS=$save_CFLAGS
24289
24290 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24291 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24292 TOOLKIT=MOTIF
24293 GUIDIST=MOTIF_DIST
24294 wxHAVE_XEXT_LIB=1
24295 fi
24296
24297 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24298 test "$wxHAVE_XEXT_LIB" = 1; then
24299 save_CFLAGS="$CFLAGS"
24300 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24301
24302 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24303echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24304 cat >conftest.$ac_ext <<_ACEOF
24305#line $LINENO "configure"
24306/* confdefs.h. */
24307_ACEOF
24308cat confdefs.h >>conftest.$ac_ext
24309cat >>conftest.$ac_ext <<_ACEOF
24310/* end confdefs.h. */
24311
24312 #include <X11/Xlib.h>
24313 #include <X11/extensions/shape.h>
24314
24315int
24316main ()
24317{
24318
24319 int dummy1, dummy2;
24320 XShapeQueryExtension((Display*)NULL,
24321 (int*)NULL, (int*)NULL);
24322
24323 ;
24324 return 0;
24325}
24326_ACEOF
24327rm -f conftest.$ac_objext
24328if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24329 (eval $ac_compile) 2>&5
24330 ac_status=$?
24331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24332 (exit $ac_status); } &&
24333 { ac_try='test -s conftest.$ac_objext'
24334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24335 (eval $ac_try) 2>&5
24336 ac_status=$?
24337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24338 (exit $ac_status); }; }; then
24339
24340 cat >>confdefs.h <<\_ACEOF
24341#define HAVE_XSHAPE 1
24342_ACEOF
24343
24344 echo "$as_me:$LINENO: result: found" >&5
24345echo "${ECHO_T}found" >&6
24346
24347else
24348 echo "$as_me: failed program was:" >&5
24349sed 's/^/| /' conftest.$ac_ext >&5
24350
24351
24352 echo "$as_me:$LINENO: result: not found" >&5
24353echo "${ECHO_T}not found" >&6
24354
24355fi
24356rm -f conftest.$ac_objext conftest.$ac_ext
24357 CFLAGS="$save_CFLAGS"
24358 fi
24359
24360 if test "$wxUSE_MAC" = 1; then
24361 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
24362echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
24363 if test "$GCC" = yes; then
24364 echo "$as_me:$LINENO: result: gcc" >&5
24365echo "${ECHO_T}gcc" >&6
24366 CPPFLAGS_PASCAL="-fpascal-strings"
24367 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
24368 echo "$as_me:$LINENO: result: xlc" >&5
24369echo "${ECHO_T}xlc" >&6
24370 CPPFLAGS_PASCAL="-qmacpstr"
24371 else
24372 echo "$as_me:$LINENO: result: none" >&5
24373echo "${ECHO_T}none" >&6
24374 fi
24375
24376 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24377
24378 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24379 TOOLKIT=MAC
24380 GUIDIST=MACX_DIST
24381 WXBASEPORT="_carbon"
24382 fi
24383
24384 if test "$wxUSE_COCOA" = 1; then
24385 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24386 TOOLKIT=COCOA
24387 GUIDIST=COCOA_DIST
24388 fi
24389
24390 if test "$wxUSE_PM" = 1; then
24391 TOOLKIT=PM
24392 GUIDIST=GTK_DIST
24393 fi
24394
24395 if test "$TOOLKIT" = "PM" ; then
24396 TOOLKIT_DIR="os2"
24397 else
24398 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24399 fi
24400
24401 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24402
24403 if test "$wxUSE_UNIVERSAL" = "yes"; then
24404 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24405
24406 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24407 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24408
24409 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24410 if test "$wxUSE_X11" = 1; then
24411 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24412 else
24413 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24414 fi
24415 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24416 WIDGET_SET=univ
24417 else
24418 ALL_OBJECTS="\$(GUIOBJS)"
24419 ALL_SOURCES="\$(ALL_SOURCES)"
24420 ALL_HEADERS="\$(ALL_HEADERS)"
24421 fi
24422
24423 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24424
24425 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24426 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24427 fi
24428
24429 if test "$wxUSE_HTML" = "yes"; then
24430 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24431 fi
24432
24433 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24434 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24435 fi
24436 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24437 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24438 fi
24439 if test "$wxUSE_LIBPNG" = "builtin" ; then
24440 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24441 fi
24442
24443 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24444 DISTDIR="wx\$(TOOLKIT)"
24445else
24446 USE_GUI=0
24447
24448 TOOLKIT_DIR="base"
24449
24450 if test "$USE_WIN32" = 1 ; then
24451 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24452 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24453
24454 TOOLKIT="MSW"
24455 else
24456 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24457 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24458 fi
24459
24460 ALL_SOURCES="\$(ALL_SOURCES)"
24461 ALL_HEADERS="\$(ALL_HEADERS)"
24462
24463 PORT_FILES="\${top_srcdir}/src/files.lst"
24464
24465 GUIDIST="BASE_DIST"
24466 DISTDIR="wxBase"
24467fi
24468
24469
24470
24471
24472IODBC_C_SRC=""
24473
24474
24475if test "$TOOLKIT" != "MSW" ; then
24476
24477 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24478
24479 if test "${ac_cv_header_sql_h+set}" = set; then
24480 echo "$as_me:$LINENO: checking for sql.h" >&5
24481echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24482if test "${ac_cv_header_sql_h+set}" = set; then
24483 echo $ECHO_N "(cached) $ECHO_C" >&6
24484fi
24485echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24486echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24487else
24488 # Is the header compilable?
24489echo "$as_me:$LINENO: checking sql.h usability" >&5
24490echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24491cat >conftest.$ac_ext <<_ACEOF
24492#line $LINENO "configure"
24493/* confdefs.h. */
24494_ACEOF
24495cat confdefs.h >>conftest.$ac_ext
24496cat >>conftest.$ac_ext <<_ACEOF
24497/* end confdefs.h. */
24498$ac_includes_default
24499#include <sql.h>
24500_ACEOF
24501rm -f conftest.$ac_objext
24502if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24503 (eval $ac_compile) 2>&5
24504 ac_status=$?
24505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24506 (exit $ac_status); } &&
24507 { ac_try='test -s conftest.$ac_objext'
24508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24509 (eval $ac_try) 2>&5
24510 ac_status=$?
24511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24512 (exit $ac_status); }; }; then
24513 ac_header_compiler=yes
24514else
24515 echo "$as_me: failed program was:" >&5
24516sed 's/^/| /' conftest.$ac_ext >&5
24517
24518ac_header_compiler=no
24519fi
24520rm -f conftest.$ac_objext conftest.$ac_ext
24521echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24522echo "${ECHO_T}$ac_header_compiler" >&6
24523
24524# Is the header present?
24525echo "$as_me:$LINENO: checking sql.h presence" >&5
24526echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24527cat >conftest.$ac_ext <<_ACEOF
24528#line $LINENO "configure"
24529/* confdefs.h. */
24530_ACEOF
24531cat confdefs.h >>conftest.$ac_ext
24532cat >>conftest.$ac_ext <<_ACEOF
24533/* end confdefs.h. */
24534#include <sql.h>
24535_ACEOF
24536if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24537 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24538 ac_status=$?
24539 grep -v '^ *+' conftest.er1 >conftest.err
24540 rm -f conftest.er1
24541 cat conftest.err >&5
24542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543 (exit $ac_status); } >/dev/null; then
24544 if test -s conftest.err; then
24545 ac_cpp_err=$ac_c_preproc_warn_flag
24546 else
24547 ac_cpp_err=
24548 fi
24549else
24550 ac_cpp_err=yes
24551fi
24552if test -z "$ac_cpp_err"; then
24553 ac_header_preproc=yes
24554else
24555 echo "$as_me: failed program was:" >&5
24556sed 's/^/| /' conftest.$ac_ext >&5
24557
24558 ac_header_preproc=no
24559fi
24560rm -f conftest.err conftest.$ac_ext
24561echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24562echo "${ECHO_T}$ac_header_preproc" >&6
24563
24564# So? What about this header?
24565case $ac_header_compiler:$ac_header_preproc in
24566 yes:no )
24567 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24568echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24569 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24570echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24571 (
24572 cat <<\_ASBOX
24573## ------------------------------------ ##
24574## Report this to bug-autoconf@gnu.org. ##
24575## ------------------------------------ ##
24576_ASBOX
24577 ) |
24578 sed "s/^/$as_me: WARNING: /" >&2
24579 ;;
24580 no:yes )
24581 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24582echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24583 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24584echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24585 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24586echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24587 (
24588 cat <<\_ASBOX
24589## ------------------------------------ ##
24590## Report this to bug-autoconf@gnu.org. ##
24591## ------------------------------------ ##
24592_ASBOX
24593 ) |
24594 sed "s/^/$as_me: WARNING: /" >&2
24595 ;;
24596esac
24597echo "$as_me:$LINENO: checking for sql.h" >&5
24598echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24599if test "${ac_cv_header_sql_h+set}" = set; then
24600 echo $ECHO_N "(cached) $ECHO_C" >&6
24601else
24602 ac_cv_header_sql_h=$ac_header_preproc
24603fi
24604echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24605echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24606
24607fi
24608if test $ac_cv_header_sql_h = yes; then
24609 found_sql_h=1
24610fi
24611
24612
24613 if test "x$found_sql_h" = "x1" ; then
24614 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
24615echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
24616if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
24617 echo $ECHO_N "(cached) $ECHO_C" >&6
24618else
24619 ac_check_lib_save_LIBS=$LIBS
24620LIBS="-liodbc $LIBS"
24621cat >conftest.$ac_ext <<_ACEOF
24622#line $LINENO "configure"
24623/* confdefs.h. */
24624_ACEOF
24625cat confdefs.h >>conftest.$ac_ext
24626cat >>conftest.$ac_ext <<_ACEOF
24627/* end confdefs.h. */
24628
24629/* Override any gcc2 internal prototype to avoid an error. */
24630#ifdef __cplusplus
24631extern "C"
24632#endif
24633/* We use char because int might match the return type of a gcc2
24634 builtin and then its argument prototype would still apply. */
24635char SQLAllocEnv ();
24636int
24637main ()
24638{
24639SQLAllocEnv ();
24640 ;
24641 return 0;
24642}
24643_ACEOF
24644rm -f conftest.$ac_objext conftest$ac_exeext
24645if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24646 (eval $ac_link) 2>&5
24647 ac_status=$?
24648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649 (exit $ac_status); } &&
24650 { ac_try='test -s conftest$ac_exeext'
24651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24652 (eval $ac_try) 2>&5
24653 ac_status=$?
24654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24655 (exit $ac_status); }; }; then
24656 ac_cv_lib_iodbc_SQLAllocEnv=yes
24657else
24658 echo "$as_me: failed program was:" >&5
24659sed 's/^/| /' conftest.$ac_ext >&5
24660
24661ac_cv_lib_iodbc_SQLAllocEnv=no
24662fi
24663rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24664LIBS=$ac_check_lib_save_LIBS
24665fi
24666echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
24667echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
24668if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
24669 ODBC_LINK=" -liodbc"
24670else
24671
24672 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
24673echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
24674if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
24675 echo $ECHO_N "(cached) $ECHO_C" >&6
24676else
24677 ac_check_lib_save_LIBS=$LIBS
24678LIBS="-lunixodbc $LIBS"
24679cat >conftest.$ac_ext <<_ACEOF
24680#line $LINENO "configure"
24681/* confdefs.h. */
24682_ACEOF
24683cat confdefs.h >>conftest.$ac_ext
24684cat >>conftest.$ac_ext <<_ACEOF
24685/* end confdefs.h. */
24686
24687/* Override any gcc2 internal prototype to avoid an error. */
24688#ifdef __cplusplus
24689extern "C"
24690#endif
24691/* We use char because int might match the return type of a gcc2
24692 builtin and then its argument prototype would still apply. */
24693char SQLAllocEnv ();
24694int
24695main ()
24696{
24697SQLAllocEnv ();
24698 ;
24699 return 0;
24700}
24701_ACEOF
24702rm -f conftest.$ac_objext conftest$ac_exeext
24703if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24704 (eval $ac_link) 2>&5
24705 ac_status=$?
24706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24707 (exit $ac_status); } &&
24708 { ac_try='test -s conftest$ac_exeext'
24709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24710 (eval $ac_try) 2>&5
24711 ac_status=$?
24712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24713 (exit $ac_status); }; }; then
24714 ac_cv_lib_unixodbc_SQLAllocEnv=yes
24715else
24716 echo "$as_me: failed program was:" >&5
24717sed 's/^/| /' conftest.$ac_ext >&5
24718
24719ac_cv_lib_unixodbc_SQLAllocEnv=no
24720fi
24721rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24722LIBS=$ac_check_lib_save_LIBS
24723fi
24724echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
24725echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
24726if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
24727 ODBC_LINK=" -lunixodbc"
24728else
24729
24730 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
24731echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
24732if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
24733 echo $ECHO_N "(cached) $ECHO_C" >&6
24734else
24735 ac_check_lib_save_LIBS=$LIBS
24736LIBS="-lodbc $LIBS"
24737cat >conftest.$ac_ext <<_ACEOF
24738#line $LINENO "configure"
24739/* confdefs.h. */
24740_ACEOF
24741cat confdefs.h >>conftest.$ac_ext
24742cat >>conftest.$ac_ext <<_ACEOF
24743/* end confdefs.h. */
24744
24745/* Override any gcc2 internal prototype to avoid an error. */
24746#ifdef __cplusplus
24747extern "C"
24748#endif
24749/* We use char because int might match the return type of a gcc2
24750 builtin and then its argument prototype would still apply. */
24751char SQLAllocEnv ();
24752int
24753main ()
24754{
24755SQLAllocEnv ();
24756 ;
24757 return 0;
24758}
24759_ACEOF
24760rm -f conftest.$ac_objext conftest$ac_exeext
24761if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24762 (eval $ac_link) 2>&5
24763 ac_status=$?
24764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24765 (exit $ac_status); } &&
24766 { ac_try='test -s conftest$ac_exeext'
24767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24768 (eval $ac_try) 2>&5
24769 ac_status=$?
24770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24771 (exit $ac_status); }; }; then
24772 ac_cv_lib_odbc_SQLAllocEnv=yes
24773else
24774 echo "$as_me: failed program was:" >&5
24775sed 's/^/| /' conftest.$ac_ext >&5
24776
24777ac_cv_lib_odbc_SQLAllocEnv=no
24778fi
24779rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24780LIBS=$ac_check_lib_save_LIBS
24781fi
24782echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
24783echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
24784if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
24785 ODBC_LINK=" -lodbc"
24786fi
24787
24788
24789fi
24790
24791
24792fi
24793
24794 fi
24795 if test "x$ODBC_LINK" = "x" ; then
24796 if test "$wxUSE_ODBC" = "sys" ; then
24797 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
24798echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
24799 { (exit 1); exit 1; }; }
24800 else
24801 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
24802echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
24803 wxUSE_ODBC=builtin
24804 fi
24805 else
24806 wxUSE_ODBC=sys
24807 fi
24808 fi
24809 if test "$wxUSE_ODBC" != "no" ; then
24810 cat >>confdefs.h <<\_ACEOF
24811#define wxUSE_ODBC 1
24812_ACEOF
24813
24814 if test "$wxUSE_ODBC" = "builtin" ; then
24815 cat >>confdefs.h <<\_ACEOF
24816#define wxUSE_BUILTIN_IODBC 1
24817_ACEOF
24818
24819 fi
24820 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
24821
24822 WXODBCFLAG="-D_IODBC_"
24823 fi
24824fi
24825
24826if test "$wxUSE_REGEX" = "builtin" ; then
24827 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
24828fi
24829if test "$wxUSE_ZLIB" = "builtin" ; then
24830 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
24831fi
24832
24833
24834USE_OPENGL=0
24835if test "$wxUSE_OPENGL" = "yes"; then
24836 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24837 OPENGL_LIBS="-framework OpenGL -framework AGL"
24838 elif test "$wxUSE_MSW" = 1; then
24839 OPENGL_LIBS="-lopengl32 -lglu32"
24840 else
24841
24842
24843ac_find_includes=
24844for ac_dir in $SEARCH_INCLUDE /usr/include;
24845 do
24846 if test -f "$ac_dir/GL/gl.h"; then
24847 ac_find_includes=$ac_dir
24848 break
24849 fi
24850 done
24851
24852 if test "$ac_find_includes" != "" ; then
24853 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24854echo "${ECHO_T}found in $ac_find_includes" >&6
24855
24856 if test "x$ac_find_includes" = "x/usr/include"; then
24857 ac_path_to_include=""
24858 else
24859 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
24860 result=$?
24861 if test $result = 0; then
24862 ac_path_to_include=""
24863 else
24864 ac_path_to_include=" -I$ac_find_includes"
24865 fi
24866 fi
24867
24868 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
24869 fi
24870
24871 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24872 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24873echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24874if test "${ac_cv_header_GL_gl_h+set}" = set; then
24875 echo $ECHO_N "(cached) $ECHO_C" >&6
24876fi
24877echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24878echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24879else
24880 # Is the header compilable?
24881echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24882echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24883cat >conftest.$ac_ext <<_ACEOF
24884#line $LINENO "configure"
24885/* confdefs.h. */
24886_ACEOF
24887cat confdefs.h >>conftest.$ac_ext
24888cat >>conftest.$ac_ext <<_ACEOF
24889/* end confdefs.h. */
24890$ac_includes_default
24891#include <GL/gl.h>
24892_ACEOF
24893rm -f conftest.$ac_objext
24894if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24895 (eval $ac_compile) 2>&5
24896 ac_status=$?
24897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24898 (exit $ac_status); } &&
24899 { ac_try='test -s conftest.$ac_objext'
24900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24901 (eval $ac_try) 2>&5
24902 ac_status=$?
24903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24904 (exit $ac_status); }; }; then
24905 ac_header_compiler=yes
24906else
24907 echo "$as_me: failed program was:" >&5
24908sed 's/^/| /' conftest.$ac_ext >&5
24909
24910ac_header_compiler=no
24911fi
24912rm -f conftest.$ac_objext conftest.$ac_ext
24913echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24914echo "${ECHO_T}$ac_header_compiler" >&6
24915
24916# Is the header present?
24917echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24918echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24919cat >conftest.$ac_ext <<_ACEOF
24920#line $LINENO "configure"
24921/* confdefs.h. */
24922_ACEOF
24923cat confdefs.h >>conftest.$ac_ext
24924cat >>conftest.$ac_ext <<_ACEOF
24925/* end confdefs.h. */
24926#include <GL/gl.h>
24927_ACEOF
24928if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24929 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24930 ac_status=$?
24931 grep -v '^ *+' conftest.er1 >conftest.err
24932 rm -f conftest.er1
24933 cat conftest.err >&5
24934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935 (exit $ac_status); } >/dev/null; then
24936 if test -s conftest.err; then
24937 ac_cpp_err=$ac_c_preproc_warn_flag
24938 else
24939 ac_cpp_err=
24940 fi
24941else
24942 ac_cpp_err=yes
24943fi
24944if test -z "$ac_cpp_err"; then
24945 ac_header_preproc=yes
24946else
24947 echo "$as_me: failed program was:" >&5
24948sed 's/^/| /' conftest.$ac_ext >&5
24949
24950 ac_header_preproc=no
24951fi
24952rm -f conftest.err conftest.$ac_ext
24953echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24954echo "${ECHO_T}$ac_header_preproc" >&6
24955
24956# So? What about this header?
24957case $ac_header_compiler:$ac_header_preproc in
24958 yes:no )
24959 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24960echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24961 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24962echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24963 (
24964 cat <<\_ASBOX
24965## ------------------------------------ ##
24966## Report this to bug-autoconf@gnu.org. ##
24967## ------------------------------------ ##
24968_ASBOX
24969 ) |
24970 sed "s/^/$as_me: WARNING: /" >&2
24971 ;;
24972 no:yes )
24973 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24974echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24975 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24976echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24977 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24978echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24979 (
24980 cat <<\_ASBOX
24981## ------------------------------------ ##
24982## Report this to bug-autoconf@gnu.org. ##
24983## ------------------------------------ ##
24984_ASBOX
24985 ) |
24986 sed "s/^/$as_me: WARNING: /" >&2
24987 ;;
24988esac
24989echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24990echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24991if test "${ac_cv_header_GL_gl_h+set}" = set; then
24992 echo $ECHO_N "(cached) $ECHO_C" >&6
24993else
24994 ac_cv_header_GL_gl_h=$ac_header_preproc
24995fi
24996echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24997echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24998
24999fi
25000if test $ac_cv_header_GL_gl_h = yes; then
25001
25002 found_gl=0
25003
25004 echo "$as_me:$LINENO: checking for -lGL" >&5
25005echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25006
25007ac_find_libraries=
25008for ac_dir in $SEARCH_LIB /usr/lib;
25009 do
25010 for ac_extension in a so sl dylib; do
25011 if test -f "$ac_dir/libGL.$ac_extension"; then
25012 ac_find_libraries=$ac_dir
25013 break 2
25014 fi
25015 done
25016 done
25017
25018 if test "$ac_find_libraries" != "" ; then
25019
25020 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25021 result=$?
25022 if test $result = 0; then
25023 ac_path_to_link=""
25024 else
25025 ac_path_to_link=" -L$ac_find_libraries"
25026 fi
25027
25028 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25029 LDFLAGS_GL="$ac_path_to_link"
25030 fi
25031
25032
25033ac_find_libraries=
25034for ac_dir in $SEARCH_LIB /usr/lib;
25035 do
25036 for ac_extension in a so sl dylib; do
25037 if test -f "$ac_dir/libGLU.$ac_extension"; then
25038 ac_find_libraries=$ac_dir
25039 break 2
25040 fi
25041 done
25042 done
25043
25044 if test "$ac_find_libraries" != "" ; then
25045
25046 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25047 result=$?
25048 if test $result = 0; then
25049 ac_path_to_link=""
25050 else
25051 ac_path_to_link=" -L$ac_find_libraries"
25052 fi
25053
25054 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25055 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25056 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
25057 fi
25058
25059 found_gl=1
25060 OPENGL_LIBS="-lGL -lGLU"
25061 echo "$as_me:$LINENO: result: yes" >&5
25062echo "${ECHO_T}yes" >&6
25063 fi
25064 fi
25065
25066 if test "$found_gl" != 1; then
25067 echo "$as_me:$LINENO: result: no" >&5
25068echo "${ECHO_T}no" >&6
25069 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25070echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25071
25072ac_find_libraries=
25073for ac_dir in $SEARCH_LIB /usr/lib;
25074 do
25075 for ac_extension in a so sl dylib; do
25076 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25077 ac_find_libraries=$ac_dir
25078 break 2
25079 fi
25080 done
25081 done
25082
25083 if test "$ac_find_libraries" != "" ; then
25084
25085 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25086 result=$?
25087 if test $result = 0; then
25088 ac_path_to_link=""
25089 else
25090 ac_path_to_link=" -L$ac_find_libraries"
25091 fi
25092
25093 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
25094 OPENGL_LIBS="-lMesaGL -lMesaGLU"
25095 echo "$as_me:$LINENO: result: yes" >&5
25096echo "${ECHO_T}yes" >&6
25097 else
25098 echo "$as_me:$LINENO: result: no" >&5
25099echo "${ECHO_T}no" >&6
25100 fi
25101 fi
25102
25103fi
25104
25105
25106
25107 if test "x$OPENGL_LIBS" = "x"; then
25108 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25109echo "$as_me: error: OpenGL libraries not available" >&2;}
25110 { (exit 1); exit 1; }; }
25111 fi
25112 fi
25113
25114 if test "$wxUSE_OPENGL" = "yes"; then
25115 USE_OPENGL=1
25116 cat >>confdefs.h <<\_ACEOF
25117#define wxUSE_OPENGL 1
25118_ACEOF
25119
25120 cat >>confdefs.h <<\_ACEOF
25121#define wxUSE_GLCANVAS 1
25122_ACEOF
25123
25124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25125 fi
25126fi
25127
25128if test -z "$TOOLKIT_VPATH" ; then
25129 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
25130fi
25131
25132if test -n "$TOOLKIT" ; then
25133 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25134fi
25135
25136UNICODE=0
25137lib_unicode_suffix=
25138if test "$wxUSE_UNICODE" = "yes"; then
25139 lib_unicode_suffix=u
25140 UNICODE=1
25141fi
25142
25143lib_debug_suffix=
25144DEBUG_FLAG=0
25145if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25146 lib_debug_suffix=d
25147 DEBUG_FLAG=1
25148fi
25149
25150DEBUG_INFO=0
25151if test "$wxUSE_DEBUG_INFO" = "yes"; then
25152 DEBUG_INFO=1
25153fi
25154
25155WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25156
25157TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25158TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25159
25160if test "$cross_compiling" = "yes"; then
25161 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
25162 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
25163 HOST_SUFFIX="-${host_alias}"
25164fi
25165
25166WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
25167WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
25168WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25169WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25170
25171WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25172WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25173
25174WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25175WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25176WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25177WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25178
25179case "${host}" in
25180 *-*-cygwin* | *-*-mingw32* )
25181 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
25182 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25183 ;;
25184
25185 *-*-darwin* )
25186
25187 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25188 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25189
25190 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25191 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25192 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25193 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25194
25195 if test "$wxUSE_MAC" = 1; then
25196 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25197 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25198 fi
25199 ;;
25200esac
25201
25202WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
25203WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
25204
25205WXCONFIG_LIBS="-l${WX_LIBRARY}"
25206WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
25207
25208if test "$wxUSE_OPENGL" = "yes"; then
25209 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25210 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25211fi
25212
25213
25214
25215if test "$wxUSE_SHARED" = "yes"; then
25216 case "${host}" in
25217 *-pc-os2_emx | *-pc-os2-emx | \
25218 *-pc-msdosdjgpp )
25219 wxUSE_SHARED=no
25220 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25221echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25222 ;;
25223 esac
25224fi
25225
25226SHARED=0
25227if test "$wxUSE_SHARED" = "yes"; then
25228 SHARED=1
25229
25230
25231 found_versioning=no
25232
25233
25234 if test $found_versioning = no ; then
25235 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25236echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25237if test "${wx_cv_version_script+set}" = set; then
25238 echo $ECHO_N "(cached) $ECHO_C" >&6
25239else
25240
25241 echo "VER_1 { *; };" >conftest.sym
25242 echo "int main() { return 0; }" >conftest.cpp
25243
25244 if { ac_try='
25245 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25246 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25248 (eval $ac_try) 2>&5
25249 ac_status=$?
25250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25251 (exit $ac_status); }; } ; then
25252 if test -s conftest.stderr ; then
25253 wx_cv_version_script=no
25254 else
25255 wx_cv_version_script=yes
25256 fi
25257 else
25258 wx_cv_version_script=no
25259 fi
25260 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25261
25262fi
25263echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25264echo "${ECHO_T}$wx_cv_version_script" >&6
25265 if test $wx_cv_version_script = yes ; then
25266 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
25267 fi
25268 fi
25269
25270
25271 case "${host}" in
25272 *-*-linux* | *-*-gnu* )
25273 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25274 ;;
25275
25276 *-*-solaris2* )
25277 if test "$GCC" = yes ; then
25278 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
25279
25280 saveLdflags="$LDFLAGS"
25281 LDFLAGS="$saveLdflags -Wl,-rpath,/"
25282 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25283echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25284 cat >conftest.$ac_ext <<_ACEOF
25285#line $LINENO "configure"
25286/* confdefs.h. */
25287_ACEOF
25288cat confdefs.h >>conftest.$ac_ext
25289cat >>conftest.$ac_ext <<_ACEOF
25290/* end confdefs.h. */
25291
25292int
25293main ()
25294{
25295
25296 ;
25297 return 0;
25298}
25299_ACEOF
25300rm -f conftest.$ac_objext conftest$ac_exeext
25301if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25302 (eval $ac_link) 2>&5
25303 ac_status=$?
25304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305 (exit $ac_status); } &&
25306 { ac_try='test -s conftest$ac_exeext'
25307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25308 (eval $ac_try) 2>&5
25309 ac_status=$?
25310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25311 (exit $ac_status); }; }; then
25312
25313 echo "$as_me:$LINENO: result: yes" >&5
25314echo "${ECHO_T}yes" >&6
25315 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25316
25317else
25318 echo "$as_me: failed program was:" >&5
25319sed 's/^/| /' conftest.$ac_ext >&5
25320
25321
25322 echo "$as_me:$LINENO: result: no" >&5
25323echo "${ECHO_T}no" >&6
25324 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25325echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25326 LDFLAGS="$saveLdflags -Wl,-R,/"
25327 cat >conftest.$ac_ext <<_ACEOF
25328#line $LINENO "configure"
25329/* confdefs.h. */
25330_ACEOF
25331cat confdefs.h >>conftest.$ac_ext
25332cat >>conftest.$ac_ext <<_ACEOF
25333/* end confdefs.h. */
25334
25335int
25336main ()
25337{
25338
25339 ;
25340 return 0;
25341}
25342_ACEOF
25343rm -f conftest.$ac_objext conftest$ac_exeext
25344if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25345 (eval $ac_link) 2>&5
25346 ac_status=$?
25347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348 (exit $ac_status); } &&
25349 { ac_try='test -s conftest$ac_exeext'
25350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25351 (eval $ac_try) 2>&5
25352 ac_status=$?
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); }; }; then
25355
25356 echo "$as_me:$LINENO: result: yes" >&5
25357echo "${ECHO_T}yes" >&6
25358 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
25359else
25360 echo "$as_me: failed program was:" >&5
25361sed 's/^/| /' conftest.$ac_ext >&5
25362
25363
25364 echo "$as_me:$LINENO: result: no" >&5
25365echo "${ECHO_T}no" >&6
25366
25367fi
25368rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25369
25370fi
25371rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25372 LDFLAGS="$saveLdflags"
25373 else
25374 SHARED_LD="${CXX} -G -o"
25375 PIC_FLAG="-KPIC"
25376 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
25377 fi
25378 ;;
25379
25380 powerpc-*-darwin* )
25381 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25382 cat <<EOF >change-install-names
25383#!/bin/sh
25384libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25385inst_cmd="install_name_tool "
25386for i in \${libnames} ; do
25387 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25388done
25389\${inst_cmd} \${3}
25390EOF
25391 chmod +x change-install-names
25392 ;;
25393
25394 esac
25395
25396 if test "x$WX_TARGET_LIBRARY" = "x"; then
25397 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25398 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25399 fi
25400
25401 WX_TARGET_LIBRARY_TYPE="so"
25402 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25403fi
25404
25405if test "$wxUSE_SHARED" = "no"; then
25406
25407 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25408 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25409 fi
25410
25411 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25412 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25413 fi
25414
25415 if test "$wxUSE_OPENGL" = "yes"; then
25416 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25417 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25418 else
25419 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25420 fi
25421
25422 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25423 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25424
25425 WX_TARGET_LIBRARY_TYPE="a"
25426 INSTALL_LIBRARY='$(INSTALL_DATA)'
25427
25428 STATIC_FLAG="yes"
25429else
25430 STATIC_FLAG="no"
25431fi
25432
25433MACRESCOMP="@#"
25434MACSETFILE="@#"
25435MACRESWXCONFIG="#"
25436if test "$wxUSE_MAC" = 1; then
25437 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25438 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25439 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25440 # Extract the first word of "Rez", so it can be a program name with args.
25441set dummy Rez; ac_word=$2
25442echo "$as_me:$LINENO: checking for $ac_word" >&5
25443echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25444if test "${ac_cv_prog_RESCOMP+set}" = set; then
25445 echo $ECHO_N "(cached) $ECHO_C" >&6
25446else
25447 if test -n "$RESCOMP"; then
25448 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25449else
25450as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25451for as_dir in $PATH
25452do
25453 IFS=$as_save_IFS
25454 test -z "$as_dir" && as_dir=.
25455 for ac_exec_ext in '' $ac_executable_extensions; do
25456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25457 ac_cv_prog_RESCOMP="Rez"
25458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25459 break 2
25460 fi
25461done
25462done
25463
25464 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25465fi
25466fi
25467RESCOMP=$ac_cv_prog_RESCOMP
25468if test -n "$RESCOMP"; then
25469 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25470echo "${ECHO_T}$RESCOMP" >&6
25471else
25472 echo "$as_me:$LINENO: result: no" >&5
25473echo "${ECHO_T}no" >&6
25474fi
25475
25476 # Extract the first word of "DeRez", so it can be a program name with args.
25477set dummy DeRez; ac_word=$2
25478echo "$as_me:$LINENO: checking for $ac_word" >&5
25479echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25480if test "${ac_cv_prog_DEREZ+set}" = set; then
25481 echo $ECHO_N "(cached) $ECHO_C" >&6
25482else
25483 if test -n "$DEREZ"; then
25484 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25485else
25486as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25487for as_dir in $PATH
25488do
25489 IFS=$as_save_IFS
25490 test -z "$as_dir" && as_dir=.
25491 for ac_exec_ext in '' $ac_executable_extensions; do
25492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25493 ac_cv_prog_DEREZ="DeRez"
25494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25495 break 2
25496 fi
25497done
25498done
25499
25500 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25501fi
25502fi
25503DEREZ=$ac_cv_prog_DEREZ
25504if test -n "$DEREZ"; then
25505 echo "$as_me:$LINENO: result: $DEREZ" >&5
25506echo "${ECHO_T}$DEREZ" >&6
25507else
25508 echo "$as_me:$LINENO: result: no" >&5
25509echo "${ECHO_T}no" >&6
25510fi
25511
25512 # Extract the first word of "SetFile", so it can be a program name with args.
25513set dummy SetFile; ac_word=$2
25514echo "$as_me:$LINENO: checking for $ac_word" >&5
25515echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25516if test "${ac_cv_prog_SETFILE+set}" = set; then
25517 echo $ECHO_N "(cached) $ECHO_C" >&6
25518else
25519 if test -n "$SETFILE"; then
25520 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25521else
25522as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25523for as_dir in $PATH
25524do
25525 IFS=$as_save_IFS
25526 test -z "$as_dir" && as_dir=.
25527 for ac_exec_ext in '' $ac_executable_extensions; do
25528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25529 ac_cv_prog_SETFILE="SetFile"
25530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25531 break 2
25532 fi
25533done
25534done
25535
25536 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25537fi
25538fi
25539SETFILE=$ac_cv_prog_SETFILE
25540if test -n "$SETFILE"; then
25541 echo "$as_me:$LINENO: result: $SETFILE" >&5
25542echo "${ECHO_T}$SETFILE" >&6
25543else
25544 echo "$as_me:$LINENO: result: no" >&5
25545echo "${ECHO_T}no" >&6
25546fi
25547
25548 MACOSX_BUNDLE="bundle"
25549 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25550 MACSETFILE="\$(SETFILE)"
25551 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25552elif test "$wxUSE_COCOA" = 1; then
25553 # Extract the first word of "Rez", so it can be a program name with args.
25554set dummy Rez; ac_word=$2
25555echo "$as_me:$LINENO: checking for $ac_word" >&5
25556echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25557if test "${ac_cv_prog_RESCOMP+set}" = set; then
25558 echo $ECHO_N "(cached) $ECHO_C" >&6
25559else
25560 if test -n "$RESCOMP"; then
25561 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25562else
25563as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25564for as_dir in $PATH
25565do
25566 IFS=$as_save_IFS
25567 test -z "$as_dir" && as_dir=.
25568 for ac_exec_ext in '' $ac_executable_extensions; do
25569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25570 ac_cv_prog_RESCOMP="Rez"
25571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25572 break 2
25573 fi
25574done
25575done
25576
25577 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25578fi
25579fi
25580RESCOMP=$ac_cv_prog_RESCOMP
25581if test -n "$RESCOMP"; then
25582 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25583echo "${ECHO_T}$RESCOMP" >&6
25584else
25585 echo "$as_me:$LINENO: result: no" >&5
25586echo "${ECHO_T}no" >&6
25587fi
25588
25589 # Extract the first word of "DeRez", so it can be a program name with args.
25590set dummy DeRez; ac_word=$2
25591echo "$as_me:$LINENO: checking for $ac_word" >&5
25592echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25593if test "${ac_cv_prog_DEREZ+set}" = set; then
25594 echo $ECHO_N "(cached) $ECHO_C" >&6
25595else
25596 if test -n "$DEREZ"; then
25597 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25598else
25599as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25600for as_dir in $PATH
25601do
25602 IFS=$as_save_IFS
25603 test -z "$as_dir" && as_dir=.
25604 for ac_exec_ext in '' $ac_executable_extensions; do
25605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25606 ac_cv_prog_DEREZ="DeRez"
25607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25608 break 2
25609 fi
25610done
25611done
25612
25613 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25614fi
25615fi
25616DEREZ=$ac_cv_prog_DEREZ
25617if test -n "$DEREZ"; then
25618 echo "$as_me:$LINENO: result: $DEREZ" >&5
25619echo "${ECHO_T}$DEREZ" >&6
25620else
25621 echo "$as_me:$LINENO: result: no" >&5
25622echo "${ECHO_T}no" >&6
25623fi
25624
25625 # Extract the first word of "SetFile", so it can be a program name with args.
25626set dummy SetFile; ac_word=$2
25627echo "$as_me:$LINENO: checking for $ac_word" >&5
25628echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25629if test "${ac_cv_prog_SETFILE+set}" = set; then
25630 echo $ECHO_N "(cached) $ECHO_C" >&6
25631else
25632 if test -n "$SETFILE"; then
25633 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25634else
25635as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25636for as_dir in $PATH
25637do
25638 IFS=$as_save_IFS
25639 test -z "$as_dir" && as_dir=.
25640 for ac_exec_ext in '' $ac_executable_extensions; do
25641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25642 ac_cv_prog_SETFILE="SetFile"
25643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25644 break 2
25645 fi
25646done
25647done
25648
25649 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25650fi
25651fi
25652SETFILE=$ac_cv_prog_SETFILE
25653if test -n "$SETFILE"; then
25654 echo "$as_me:$LINENO: result: $SETFILE" >&5
25655echo "${ECHO_T}$SETFILE" >&6
25656else
25657 echo "$as_me:$LINENO: result: no" >&5
25658echo "${ECHO_T}no" >&6
25659fi
25660
25661 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25662 MACSETFILE="\$(SETFILE)"
25663 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25664else
25665 if test "$wxUSE_PM" = 1; then
25666 MACRESCOMP="emxbind -ep"
25667 fi
25668fi
25669
25670
25671echo "$as_me:$LINENO: checking for mode_t" >&5
25672echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25673if test "${ac_cv_type_mode_t+set}" = set; then
25674 echo $ECHO_N "(cached) $ECHO_C" >&6
25675else
25676 cat >conftest.$ac_ext <<_ACEOF
25677#line $LINENO "configure"
25678/* confdefs.h. */
25679_ACEOF
25680cat confdefs.h >>conftest.$ac_ext
25681cat >>conftest.$ac_ext <<_ACEOF
25682/* end confdefs.h. */
25683$ac_includes_default
25684int
25685main ()
25686{
25687if ((mode_t *) 0)
25688 return 0;
25689if (sizeof (mode_t))
25690 return 0;
25691 ;
25692 return 0;
25693}
25694_ACEOF
25695rm -f conftest.$ac_objext
25696if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25697 (eval $ac_compile) 2>&5
25698 ac_status=$?
25699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25700 (exit $ac_status); } &&
25701 { ac_try='test -s conftest.$ac_objext'
25702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25703 (eval $ac_try) 2>&5
25704 ac_status=$?
25705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25706 (exit $ac_status); }; }; then
25707 ac_cv_type_mode_t=yes
25708else
25709 echo "$as_me: failed program was:" >&5
25710sed 's/^/| /' conftest.$ac_ext >&5
25711
25712ac_cv_type_mode_t=no
25713fi
25714rm -f conftest.$ac_objext conftest.$ac_ext
25715fi
25716echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25717echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25718if test $ac_cv_type_mode_t = yes; then
25719 :
25720else
25721
25722cat >>confdefs.h <<_ACEOF
25723#define mode_t int
25724_ACEOF
25725
25726fi
25727
25728echo "$as_me:$LINENO: checking for off_t" >&5
25729echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25730if test "${ac_cv_type_off_t+set}" = set; then
25731 echo $ECHO_N "(cached) $ECHO_C" >&6
25732else
25733 cat >conftest.$ac_ext <<_ACEOF
25734#line $LINENO "configure"
25735/* confdefs.h. */
25736_ACEOF
25737cat confdefs.h >>conftest.$ac_ext
25738cat >>conftest.$ac_ext <<_ACEOF
25739/* end confdefs.h. */
25740$ac_includes_default
25741int
25742main ()
25743{
25744if ((off_t *) 0)
25745 return 0;
25746if (sizeof (off_t))
25747 return 0;
25748 ;
25749 return 0;
25750}
25751_ACEOF
25752rm -f conftest.$ac_objext
25753if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25754 (eval $ac_compile) 2>&5
25755 ac_status=$?
25756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25757 (exit $ac_status); } &&
25758 { ac_try='test -s conftest.$ac_objext'
25759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25760 (eval $ac_try) 2>&5
25761 ac_status=$?
25762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25763 (exit $ac_status); }; }; then
25764 ac_cv_type_off_t=yes
25765else
25766 echo "$as_me: failed program was:" >&5
25767sed 's/^/| /' conftest.$ac_ext >&5
25768
25769ac_cv_type_off_t=no
25770fi
25771rm -f conftest.$ac_objext conftest.$ac_ext
25772fi
25773echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25774echo "${ECHO_T}$ac_cv_type_off_t" >&6
25775if test $ac_cv_type_off_t = yes; then
25776 :
25777else
25778
25779cat >>confdefs.h <<_ACEOF
25780#define off_t long
25781_ACEOF
25782
25783fi
25784
25785echo "$as_me:$LINENO: checking for pid_t" >&5
25786echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25787if test "${ac_cv_type_pid_t+set}" = set; then
25788 echo $ECHO_N "(cached) $ECHO_C" >&6
25789else
25790 cat >conftest.$ac_ext <<_ACEOF
25791#line $LINENO "configure"
25792/* confdefs.h. */
25793_ACEOF
25794cat confdefs.h >>conftest.$ac_ext
25795cat >>conftest.$ac_ext <<_ACEOF
25796/* end confdefs.h. */
25797$ac_includes_default
25798int
25799main ()
25800{
25801if ((pid_t *) 0)
25802 return 0;
25803if (sizeof (pid_t))
25804 return 0;
25805 ;
25806 return 0;
25807}
25808_ACEOF
25809rm -f conftest.$ac_objext
25810if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25811 (eval $ac_compile) 2>&5
25812 ac_status=$?
25813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25814 (exit $ac_status); } &&
25815 { ac_try='test -s conftest.$ac_objext'
25816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25817 (eval $ac_try) 2>&5
25818 ac_status=$?
25819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25820 (exit $ac_status); }; }; then
25821 ac_cv_type_pid_t=yes
25822else
25823 echo "$as_me: failed program was:" >&5
25824sed 's/^/| /' conftest.$ac_ext >&5
25825
25826ac_cv_type_pid_t=no
25827fi
25828rm -f conftest.$ac_objext conftest.$ac_ext
25829fi
25830echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25831echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25832if test $ac_cv_type_pid_t = yes; then
25833 :
25834else
25835
25836cat >>confdefs.h <<_ACEOF
25837#define pid_t int
25838_ACEOF
25839
25840fi
25841
25842echo "$as_me:$LINENO: checking for size_t" >&5
25843echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25844if test "${ac_cv_type_size_t+set}" = set; then
25845 echo $ECHO_N "(cached) $ECHO_C" >&6
25846else
25847 cat >conftest.$ac_ext <<_ACEOF
25848#line $LINENO "configure"
25849/* confdefs.h. */
25850_ACEOF
25851cat confdefs.h >>conftest.$ac_ext
25852cat >>conftest.$ac_ext <<_ACEOF
25853/* end confdefs.h. */
25854$ac_includes_default
25855int
25856main ()
25857{
25858if ((size_t *) 0)
25859 return 0;
25860if (sizeof (size_t))
25861 return 0;
25862 ;
25863 return 0;
25864}
25865_ACEOF
25866rm -f conftest.$ac_objext
25867if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25868 (eval $ac_compile) 2>&5
25869 ac_status=$?
25870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871 (exit $ac_status); } &&
25872 { ac_try='test -s conftest.$ac_objext'
25873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25874 (eval $ac_try) 2>&5
25875 ac_status=$?
25876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25877 (exit $ac_status); }; }; then
25878 ac_cv_type_size_t=yes
25879else
25880 echo "$as_me: failed program was:" >&5
25881sed 's/^/| /' conftest.$ac_ext >&5
25882
25883ac_cv_type_size_t=no
25884fi
25885rm -f conftest.$ac_objext conftest.$ac_ext
25886fi
25887echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25888echo "${ECHO_T}$ac_cv_type_size_t" >&6
25889if test $ac_cv_type_size_t = yes; then
25890 :
25891else
25892
25893cat >>confdefs.h <<_ACEOF
25894#define size_t unsigned
25895_ACEOF
25896
25897fi
25898
25899echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25900echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25901if test "${ac_cv_type_uid_t+set}" = set; then
25902 echo $ECHO_N "(cached) $ECHO_C" >&6
25903else
25904 cat >conftest.$ac_ext <<_ACEOF
25905#line $LINENO "configure"
25906/* confdefs.h. */
25907_ACEOF
25908cat confdefs.h >>conftest.$ac_ext
25909cat >>conftest.$ac_ext <<_ACEOF
25910/* end confdefs.h. */
25911#include <sys/types.h>
25912
25913_ACEOF
25914if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25915 $EGREP "uid_t" >/dev/null 2>&1; then
25916 ac_cv_type_uid_t=yes
25917else
25918 ac_cv_type_uid_t=no
25919fi
25920rm -f conftest*
25921
25922fi
25923echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25924echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25925if test $ac_cv_type_uid_t = no; then
25926
25927cat >>confdefs.h <<\_ACEOF
25928#define uid_t int
25929_ACEOF
25930
25931
25932cat >>confdefs.h <<\_ACEOF
25933#define gid_t int
25934_ACEOF
25935
25936fi
25937
25938
25939
25940
25941ac_ext=cc
25942ac_cpp='$CXXCPP $CPPFLAGS'
25943ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25944ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25945ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25946
25947echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25948echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25949if test "${wx_cv_size_t_is_uint+set}" = set; then
25950 echo $ECHO_N "(cached) $ECHO_C" >&6
25951else
25952
25953 cat >conftest.$ac_ext <<_ACEOF
25954#line $LINENO "configure"
25955/* confdefs.h. */
25956_ACEOF
25957cat confdefs.h >>conftest.$ac_ext
25958cat >>conftest.$ac_ext <<_ACEOF
25959/* end confdefs.h. */
25960#include <stddef.h>
25961int
25962main ()
25963{
25964
25965 return 0; }
25966
25967 struct Foo { void foo(size_t); void foo(unsigned int); };
25968
25969 int bar() {
25970
25971 ;
25972 return 0;
25973}
25974_ACEOF
25975rm -f conftest.$ac_objext
25976if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25977 (eval $ac_compile) 2>&5
25978 ac_status=$?
25979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25980 (exit $ac_status); } &&
25981 { ac_try='test -s conftest.$ac_objext'
25982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25983 (eval $ac_try) 2>&5
25984 ac_status=$?
25985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25986 (exit $ac_status); }; }; then
25987 wx_cv_size_t_is_uint=no
25988else
25989 echo "$as_me: failed program was:" >&5
25990sed 's/^/| /' conftest.$ac_ext >&5
25991
25992wx_cv_size_t_is_uint=yes
25993
25994fi
25995rm -f conftest.$ac_objext conftest.$ac_ext
25996
25997
25998fi
25999echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26000echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26001
26002if test "$wx_cv_size_t_is_uint" = "yes"; then
26003 cat >>confdefs.h <<\_ACEOF
26004#define wxSIZE_T_IS_UINT 1
26005_ACEOF
26006
26007else
26008 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26009echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26010if test "${wx_cv_size_t_is_ulong+set}" = set; then
26011 echo $ECHO_N "(cached) $ECHO_C" >&6
26012else
26013 cat >conftest.$ac_ext <<_ACEOF
26014#line $LINENO "configure"
26015/* confdefs.h. */
26016_ACEOF
26017cat confdefs.h >>conftest.$ac_ext
26018cat >>conftest.$ac_ext <<_ACEOF
26019/* end confdefs.h. */
26020#include <stddef.h>
26021int
26022main ()
26023{
26024
26025 return 0; }
26026
26027 struct Foo { void foo(size_t); void foo(unsigned long); };
26028
26029 int bar() {
26030
26031 ;
26032 return 0;
26033}
26034_ACEOF
26035rm -f conftest.$ac_objext
26036if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26037 (eval $ac_compile) 2>&5
26038 ac_status=$?
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); } &&
26041 { ac_try='test -s conftest.$ac_objext'
26042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26043 (eval $ac_try) 2>&5
26044 ac_status=$?
26045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26046 (exit $ac_status); }; }; then
26047 wx_cv_size_t_is_ulong=no
26048else
26049 echo "$as_me: failed program was:" >&5
26050sed 's/^/| /' conftest.$ac_ext >&5
26051
26052wx_cv_size_t_is_ulong=yes
26053
26054fi
26055rm -f conftest.$ac_objext conftest.$ac_ext
26056
26057fi
26058echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26059echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26060
26061 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26062 cat >>confdefs.h <<\_ACEOF
26063#define wxSIZE_T_IS_ULONG 1
26064_ACEOF
26065
26066 fi
26067fi
26068
26069ac_ext=c
26070ac_cpp='$CPP $CPPFLAGS'
26071ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26072ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26073ac_compiler_gnu=$ac_cv_c_compiler_gnu
26074
26075
26076
26077echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26078echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26079if test "${wx_cv_struct_pw_gecos+set}" = set; then
26080 echo $ECHO_N "(cached) $ECHO_C" >&6
26081else
26082
26083 cat >conftest.$ac_ext <<_ACEOF
26084#line $LINENO "configure"
26085/* confdefs.h. */
26086_ACEOF
26087cat confdefs.h >>conftest.$ac_ext
26088cat >>conftest.$ac_ext <<_ACEOF
26089/* end confdefs.h. */
26090#include <pwd.h>
26091int
26092main ()
26093{
26094
26095 char *p;
26096 struct passwd *pw;
26097 p = pw->pw_gecos;
26098
26099 ;
26100 return 0;
26101}
26102_ACEOF
26103rm -f conftest.$ac_objext
26104if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26105 (eval $ac_compile) 2>&5
26106 ac_status=$?
26107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26108 (exit $ac_status); } &&
26109 { ac_try='test -s conftest.$ac_objext'
26110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26111 (eval $ac_try) 2>&5
26112 ac_status=$?
26113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26114 (exit $ac_status); }; }; then
26115
26116 wx_cv_struct_pw_gecos=yes
26117
26118else
26119 echo "$as_me: failed program was:" >&5
26120sed 's/^/| /' conftest.$ac_ext >&5
26121
26122
26123 wx_cv_struct_pw_gecos=no
26124
26125
26126fi
26127rm -f conftest.$ac_objext conftest.$ac_ext
26128
26129
26130fi
26131echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26132echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26133
26134if test "$wx_cv_struct_pw_gecos" = "yes"; then
26135 cat >>confdefs.h <<\_ACEOF
26136#define HAVE_PW_GECOS 1
26137_ACEOF
26138
26139fi
26140
26141
26142if test "$wx_cv_sizeof_wchar_t" != "0"; then
26143 cat >>confdefs.h <<\_ACEOF
26144#define wxUSE_WCHAR_T 1
26145_ACEOF
26146
26147
26148 WCSLEN_FOUND=0
26149 WCHAR_LINK=
26150
26151for ac_func in wcslen
26152do
26153as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26154echo "$as_me:$LINENO: checking for $ac_func" >&5
26155echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26156if eval "test \"\${$as_ac_var+set}\" = set"; then
26157 echo $ECHO_N "(cached) $ECHO_C" >&6
26158else
26159 cat >conftest.$ac_ext <<_ACEOF
26160#line $LINENO "configure"
26161/* confdefs.h. */
26162_ACEOF
26163cat confdefs.h >>conftest.$ac_ext
26164cat >>conftest.$ac_ext <<_ACEOF
26165/* end confdefs.h. */
26166/* System header to define __stub macros and hopefully few prototypes,
26167 which can conflict with char $ac_func (); below.
26168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26169 <limits.h> exists even on freestanding compilers. */
26170#ifdef __STDC__
26171# include <limits.h>
26172#else
26173# include <assert.h>
26174#endif
26175/* Override any gcc2 internal prototype to avoid an error. */
26176#ifdef __cplusplus
26177extern "C"
26178{
26179#endif
26180/* We use char because int might match the return type of a gcc2
26181 builtin and then its argument prototype would still apply. */
26182char $ac_func ();
26183/* The GNU C library defines this for functions which it implements
26184 to always fail with ENOSYS. Some functions are actually named
26185 something starting with __ and the normal name is an alias. */
26186#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26187choke me
26188#else
26189char (*f) () = $ac_func;
26190#endif
26191#ifdef __cplusplus
26192}
26193#endif
26194
26195int
26196main ()
26197{
26198return f != $ac_func;
26199 ;
26200 return 0;
26201}
26202_ACEOF
26203rm -f conftest.$ac_objext conftest$ac_exeext
26204if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26205 (eval $ac_link) 2>&5
26206 ac_status=$?
26207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26208 (exit $ac_status); } &&
26209 { ac_try='test -s conftest$ac_exeext'
26210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26211 (eval $ac_try) 2>&5
26212 ac_status=$?
26213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214 (exit $ac_status); }; }; then
26215 eval "$as_ac_var=yes"
26216else
26217 echo "$as_me: failed program was:" >&5
26218sed 's/^/| /' conftest.$ac_ext >&5
26219
26220eval "$as_ac_var=no"
26221fi
26222rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26223fi
26224echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26225echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26226if test `eval echo '${'$as_ac_var'}'` = yes; then
26227 cat >>confdefs.h <<_ACEOF
26228#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26229_ACEOF
26230 WCSLEN_FOUND=1
26231fi
26232done
26233
26234
26235 if test "$WCSLEN_FOUND" = 0; then
26236 if test "$TOOLKIT" = "MSW"; then
26237 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26238echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26239if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26240 echo $ECHO_N "(cached) $ECHO_C" >&6
26241else
26242 ac_check_lib_save_LIBS=$LIBS
26243LIBS="-lmsvcrt $LIBS"
26244cat >conftest.$ac_ext <<_ACEOF
26245#line $LINENO "configure"
26246/* confdefs.h. */
26247_ACEOF
26248cat confdefs.h >>conftest.$ac_ext
26249cat >>conftest.$ac_ext <<_ACEOF
26250/* end confdefs.h. */
26251
26252/* Override any gcc2 internal prototype to avoid an error. */
26253#ifdef __cplusplus
26254extern "C"
26255#endif
26256/* We use char because int might match the return type of a gcc2
26257 builtin and then its argument prototype would still apply. */
26258char wcslen ();
26259int
26260main ()
26261{
26262wcslen ();
26263 ;
26264 return 0;
26265}
26266_ACEOF
26267rm -f conftest.$ac_objext conftest$ac_exeext
26268if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26269 (eval $ac_link) 2>&5
26270 ac_status=$?
26271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26272 (exit $ac_status); } &&
26273 { ac_try='test -s conftest$ac_exeext'
26274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26275 (eval $ac_try) 2>&5
26276 ac_status=$?
26277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278 (exit $ac_status); }; }; then
26279 ac_cv_lib_msvcrt_wcslen=yes
26280else
26281 echo "$as_me: failed program was:" >&5
26282sed 's/^/| /' conftest.$ac_ext >&5
26283
26284ac_cv_lib_msvcrt_wcslen=no
26285fi
26286rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26287LIBS=$ac_check_lib_save_LIBS
26288fi
26289echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26290echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26291if test $ac_cv_lib_msvcrt_wcslen = yes; then
26292 WCHAR_OK=1
26293fi
26294
26295 else
26296 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26297echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26298if test "${ac_cv_lib_w_wcslen+set}" = set; then
26299 echo $ECHO_N "(cached) $ECHO_C" >&6
26300else
26301 ac_check_lib_save_LIBS=$LIBS
26302LIBS="-lw $LIBS"
26303cat >conftest.$ac_ext <<_ACEOF
26304#line $LINENO "configure"
26305/* confdefs.h. */
26306_ACEOF
26307cat confdefs.h >>conftest.$ac_ext
26308cat >>conftest.$ac_ext <<_ACEOF
26309/* end confdefs.h. */
26310
26311/* Override any gcc2 internal prototype to avoid an error. */
26312#ifdef __cplusplus
26313extern "C"
26314#endif
26315/* We use char because int might match the return type of a gcc2
26316 builtin and then its argument prototype would still apply. */
26317char wcslen ();
26318int
26319main ()
26320{
26321wcslen ();
26322 ;
26323 return 0;
26324}
26325_ACEOF
26326rm -f conftest.$ac_objext conftest$ac_exeext
26327if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26328 (eval $ac_link) 2>&5
26329 ac_status=$?
26330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26331 (exit $ac_status); } &&
26332 { ac_try='test -s conftest$ac_exeext'
26333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26334 (eval $ac_try) 2>&5
26335 ac_status=$?
26336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26337 (exit $ac_status); }; }; then
26338 ac_cv_lib_w_wcslen=yes
26339else
26340 echo "$as_me: failed program was:" >&5
26341sed 's/^/| /' conftest.$ac_ext >&5
26342
26343ac_cv_lib_w_wcslen=no
26344fi
26345rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26346LIBS=$ac_check_lib_save_LIBS
26347fi
26348echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26349echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26350if test $ac_cv_lib_w_wcslen = yes; then
26351
26352 WCHAR_LINK=" -lw"
26353 WCSLEN_FOUND=1
26354
26355fi
26356
26357 fi
26358 fi
26359
26360 if test "$WCSLEN_FOUND" = 1; then
26361 cat >>confdefs.h <<\_ACEOF
26362#define HAVE_WCSLEN 1
26363_ACEOF
26364
26365 fi
26366
26367
26368for ac_func in wcsrtombs
26369do
26370as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26371echo "$as_me:$LINENO: checking for $ac_func" >&5
26372echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26373if eval "test \"\${$as_ac_var+set}\" = set"; then
26374 echo $ECHO_N "(cached) $ECHO_C" >&6
26375else
26376 cat >conftest.$ac_ext <<_ACEOF
26377#line $LINENO "configure"
26378/* confdefs.h. */
26379_ACEOF
26380cat confdefs.h >>conftest.$ac_ext
26381cat >>conftest.$ac_ext <<_ACEOF
26382/* end confdefs.h. */
26383/* System header to define __stub macros and hopefully few prototypes,
26384 which can conflict with char $ac_func (); below.
26385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26386 <limits.h> exists even on freestanding compilers. */
26387#ifdef __STDC__
26388# include <limits.h>
26389#else
26390# include <assert.h>
26391#endif
26392/* Override any gcc2 internal prototype to avoid an error. */
26393#ifdef __cplusplus
26394extern "C"
26395{
26396#endif
26397/* We use char because int might match the return type of a gcc2
26398 builtin and then its argument prototype would still apply. */
26399char $ac_func ();
26400/* The GNU C library defines this for functions which it implements
26401 to always fail with ENOSYS. Some functions are actually named
26402 something starting with __ and the normal name is an alias. */
26403#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26404choke me
26405#else
26406char (*f) () = $ac_func;
26407#endif
26408#ifdef __cplusplus
26409}
26410#endif
26411
26412int
26413main ()
26414{
26415return f != $ac_func;
26416 ;
26417 return 0;
26418}
26419_ACEOF
26420rm -f conftest.$ac_objext conftest$ac_exeext
26421if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26422 (eval $ac_link) 2>&5
26423 ac_status=$?
26424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26425 (exit $ac_status); } &&
26426 { ac_try='test -s conftest$ac_exeext'
26427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26428 (eval $ac_try) 2>&5
26429 ac_status=$?
26430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26431 (exit $ac_status); }; }; then
26432 eval "$as_ac_var=yes"
26433else
26434 echo "$as_me: failed program was:" >&5
26435sed 's/^/| /' conftest.$ac_ext >&5
26436
26437eval "$as_ac_var=no"
26438fi
26439rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26440fi
26441echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26442echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26443if test `eval echo '${'$as_ac_var'}'` = yes; then
26444 cat >>confdefs.h <<_ACEOF
26445#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26446_ACEOF
26447
26448fi
26449done
26450
26451else
26452 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26453echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26454fi
26455
26456
26457
26458ac_ext=cc
26459ac_cpp='$CXXCPP $CPPFLAGS'
26460ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26461ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26462ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26463
26464
26465
26466for ac_func in vsnprintf
26467do
26468as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26469echo "$as_me:$LINENO: checking for $ac_func" >&5
26470echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26471if eval "test \"\${$as_ac_var+set}\" = set"; then
26472 echo $ECHO_N "(cached) $ECHO_C" >&6
26473else
26474 cat >conftest.$ac_ext <<_ACEOF
26475#line $LINENO "configure"
26476/* confdefs.h. */
26477_ACEOF
26478cat confdefs.h >>conftest.$ac_ext
26479cat >>conftest.$ac_ext <<_ACEOF
26480/* end confdefs.h. */
26481/* System header to define __stub macros and hopefully few prototypes,
26482 which can conflict with char $ac_func (); below.
26483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26484 <limits.h> exists even on freestanding compilers. */
26485#ifdef __STDC__
26486# include <limits.h>
26487#else
26488# include <assert.h>
26489#endif
26490/* Override any gcc2 internal prototype to avoid an error. */
26491#ifdef __cplusplus
26492extern "C"
26493{
26494#endif
26495/* We use char because int might match the return type of a gcc2
26496 builtin and then its argument prototype would still apply. */
26497char $ac_func ();
26498/* The GNU C library defines this for functions which it implements
26499 to always fail with ENOSYS. Some functions are actually named
26500 something starting with __ and the normal name is an alias. */
26501#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26502choke me
26503#else
26504char (*f) () = $ac_func;
26505#endif
26506#ifdef __cplusplus
26507}
26508#endif
26509
26510int
26511main ()
26512{
26513return f != $ac_func;
26514 ;
26515 return 0;
26516}
26517_ACEOF
26518rm -f conftest.$ac_objext conftest$ac_exeext
26519if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26520 (eval $ac_link) 2>&5
26521 ac_status=$?
26522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26523 (exit $ac_status); } &&
26524 { ac_try='test -s conftest$ac_exeext'
26525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26526 (eval $ac_try) 2>&5
26527 ac_status=$?
26528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26529 (exit $ac_status); }; }; then
26530 eval "$as_ac_var=yes"
26531else
26532 echo "$as_me: failed program was:" >&5
26533sed 's/^/| /' conftest.$ac_ext >&5
26534
26535eval "$as_ac_var=no"
26536fi
26537rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26538fi
26539echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26540echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26541if test `eval echo '${'$as_ac_var'}'` = yes; then
26542 cat >>confdefs.h <<_ACEOF
26543#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26544_ACEOF
26545
26546fi
26547done
26548
26549
26550if test "$ac_cv_func_vsnprintf" = "yes"; then
26551 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26552echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26553if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26554 echo $ECHO_N "(cached) $ECHO_C" >&6
26555else
26556
26557 cat >conftest.$ac_ext <<_ACEOF
26558#line $LINENO "configure"
26559/* confdefs.h. */
26560_ACEOF
26561cat confdefs.h >>conftest.$ac_ext
26562cat >>conftest.$ac_ext <<_ACEOF
26563/* end confdefs.h. */
26564
26565 #include <stdio.h>
26566 #include <stdarg.h>
26567
26568int
26569main ()
26570{
26571
26572 char *buf;
26573 va_list ap;
26574 vsnprintf(buf, 10u, "%s", ap);
26575
26576 ;
26577 return 0;
26578}
26579_ACEOF
26580rm -f conftest.$ac_objext
26581if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26582 (eval $ac_compile) 2>&5
26583 ac_status=$?
26584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 (exit $ac_status); } &&
26586 { ac_try='test -s conftest.$ac_objext'
26587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26588 (eval $ac_try) 2>&5
26589 ac_status=$?
26590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26591 (exit $ac_status); }; }; then
26592 wx_cv_func_vsnprintf_decl=yes
26593else
26594 echo "$as_me: failed program was:" >&5
26595sed 's/^/| /' conftest.$ac_ext >&5
26596
26597wx_cv_func_vsnprintf_decl=no
26598
26599fi
26600rm -f conftest.$ac_objext conftest.$ac_ext
26601
26602
26603fi
26604echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26605echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26606
26607 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26608 cat >>confdefs.h <<\_ACEOF
26609#define HAVE_VSNPRINTF_DECL 1
26610_ACEOF
26611
26612 fi
26613fi
26614
26615if test "$wxUSE_UNICODE" = yes; then
26616
26617
26618
26619for ac_func in fputwc wprintf vswprintf
26620do
26621as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26622echo "$as_me:$LINENO: checking for $ac_func" >&5
26623echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26624if eval "test \"\${$as_ac_var+set}\" = set"; then
26625 echo $ECHO_N "(cached) $ECHO_C" >&6
26626else
26627 cat >conftest.$ac_ext <<_ACEOF
26628#line $LINENO "configure"
26629/* confdefs.h. */
26630_ACEOF
26631cat confdefs.h >>conftest.$ac_ext
26632cat >>conftest.$ac_ext <<_ACEOF
26633/* end confdefs.h. */
26634/* System header to define __stub macros and hopefully few prototypes,
26635 which can conflict with char $ac_func (); below.
26636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26637 <limits.h> exists even on freestanding compilers. */
26638#ifdef __STDC__
26639# include <limits.h>
26640#else
26641# include <assert.h>
26642#endif
26643/* Override any gcc2 internal prototype to avoid an error. */
26644#ifdef __cplusplus
26645extern "C"
26646{
26647#endif
26648/* We use char because int might match the return type of a gcc2
26649 builtin and then its argument prototype would still apply. */
26650char $ac_func ();
26651/* The GNU C library defines this for functions which it implements
26652 to always fail with ENOSYS. Some functions are actually named
26653 something starting with __ and the normal name is an alias. */
26654#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26655choke me
26656#else
26657char (*f) () = $ac_func;
26658#endif
26659#ifdef __cplusplus
26660}
26661#endif
26662
26663int
26664main ()
26665{
26666return f != $ac_func;
26667 ;
26668 return 0;
26669}
26670_ACEOF
26671rm -f conftest.$ac_objext conftest$ac_exeext
26672if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26673 (eval $ac_link) 2>&5
26674 ac_status=$?
26675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26676 (exit $ac_status); } &&
26677 { ac_try='test -s conftest$ac_exeext'
26678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26679 (eval $ac_try) 2>&5
26680 ac_status=$?
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); }; }; then
26683 eval "$as_ac_var=yes"
26684else
26685 echo "$as_me: failed program was:" >&5
26686sed 's/^/| /' conftest.$ac_ext >&5
26687
26688eval "$as_ac_var=no"
26689fi
26690rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26691fi
26692echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26693echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26694if test `eval echo '${'$as_ac_var'}'` = yes; then
26695 cat >>confdefs.h <<_ACEOF
26696#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26697_ACEOF
26698
26699fi
26700done
26701
26702
26703 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26704echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26705 cat >conftest.$ac_ext <<_ACEOF
26706#line $LINENO "configure"
26707/* confdefs.h. */
26708_ACEOF
26709cat confdefs.h >>conftest.$ac_ext
26710cat >>conftest.$ac_ext <<_ACEOF
26711/* end confdefs.h. */
26712#include <wchar.h>
26713int
26714main ()
26715{
26716&_vsnwprintf;
26717 ;
26718 return 0;
26719}
26720_ACEOF
26721rm -f conftest.$ac_objext
26722if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26723 (eval $ac_compile) 2>&5
26724 ac_status=$?
26725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26726 (exit $ac_status); } &&
26727 { ac_try='test -s conftest.$ac_objext'
26728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26729 (eval $ac_try) 2>&5
26730 ac_status=$?
26731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26732 (exit $ac_status); }; }; then
26733 echo "$as_me:$LINENO: result: yes" >&5
26734echo "${ECHO_T}yes" >&6
26735 cat >>confdefs.h <<\_ACEOF
26736#define HAVE__VSNWPRINTF 1
26737_ACEOF
26738
26739else
26740 echo "$as_me: failed program was:" >&5
26741sed 's/^/| /' conftest.$ac_ext >&5
26742
26743echo "$as_me:$LINENO: result: no" >&5
26744echo "${ECHO_T}no" >&6
26745fi
26746rm -f conftest.$ac_objext conftest.$ac_ext;
26747fi
26748
26749ac_ext=c
26750ac_cpp='$CPP $CPPFLAGS'
26751ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26752ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26753ac_compiler_gnu=$ac_cv_c_compiler_gnu
26754
26755
26756
26757
26758if test "$TOOLKIT" != "MSW"; then
26759
26760
26761
26762
26763ac_ext=cc
26764ac_cpp='$CXXCPP $CPPFLAGS'
26765ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26766ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26767ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26768
26769
26770
26771
26772# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26773if test "${with_libiconv_prefix+set}" = set; then
26774 withval="$with_libiconv_prefix"
26775
26776 for dir in `echo "$withval" | tr : ' '`; do
26777 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
26778 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
26779 done
26780
26781fi;
26782
26783 echo "$as_me:$LINENO: checking for iconv" >&5
26784echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26785if test "${am_cv_func_iconv+set}" = set; then
26786 echo $ECHO_N "(cached) $ECHO_C" >&6
26787else
26788
26789 am_cv_func_iconv="no, consider installing GNU libiconv"
26790 am_cv_lib_iconv=no
26791 cat >conftest.$ac_ext <<_ACEOF
26792#line $LINENO "configure"
26793/* confdefs.h. */
26794_ACEOF
26795cat confdefs.h >>conftest.$ac_ext
26796cat >>conftest.$ac_ext <<_ACEOF
26797/* end confdefs.h. */
26798#include <stdlib.h>
26799#include <iconv.h>
26800int
26801main ()
26802{
26803iconv_t cd = iconv_open("","");
26804 iconv(cd,NULL,NULL,NULL,NULL);
26805 iconv_close(cd);
26806 ;
26807 return 0;
26808}
26809_ACEOF
26810rm -f conftest.$ac_objext conftest$ac_exeext
26811if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26812 (eval $ac_link) 2>&5
26813 ac_status=$?
26814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815 (exit $ac_status); } &&
26816 { ac_try='test -s conftest$ac_exeext'
26817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26818 (eval $ac_try) 2>&5
26819 ac_status=$?
26820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26821 (exit $ac_status); }; }; then
26822 am_cv_func_iconv=yes
26823else
26824 echo "$as_me: failed program was:" >&5
26825sed 's/^/| /' conftest.$ac_ext >&5
26826
26827fi
26828rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26829 if test "$am_cv_func_iconv" != yes; then
26830 am_save_LIBS="$LIBS"
26831 LIBS="$LIBS -liconv"
26832 cat >conftest.$ac_ext <<_ACEOF
26833#line $LINENO "configure"
26834/* confdefs.h. */
26835_ACEOF
26836cat confdefs.h >>conftest.$ac_ext
26837cat >>conftest.$ac_ext <<_ACEOF
26838/* end confdefs.h. */
26839#include <stdlib.h>
26840#include <iconv.h>
26841int
26842main ()
26843{
26844iconv_t cd = iconv_open("","");
26845 iconv(cd,NULL,NULL,NULL,NULL);
26846 iconv_close(cd);
26847 ;
26848 return 0;
26849}
26850_ACEOF
26851rm -f conftest.$ac_objext conftest$ac_exeext
26852if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26853 (eval $ac_link) 2>&5
26854 ac_status=$?
26855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26856 (exit $ac_status); } &&
26857 { ac_try='test -s conftest$ac_exeext'
26858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26859 (eval $ac_try) 2>&5
26860 ac_status=$?
26861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26862 (exit $ac_status); }; }; then
26863 am_cv_lib_iconv=yes
26864 am_cv_func_iconv=yes
26865else
26866 echo "$as_me: failed program was:" >&5
26867sed 's/^/| /' conftest.$ac_ext >&5
26868
26869fi
26870rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26871 LIBS="$am_save_LIBS"
26872 fi
26873
26874fi
26875echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26876echo "${ECHO_T}$am_cv_func_iconv" >&6
26877 if test "$am_cv_func_iconv" = yes; then
26878
26879cat >>confdefs.h <<\_ACEOF
26880#define HAVE_ICONV 1
26881_ACEOF
26882
26883 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26884echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26885if test "${wx_cv_func_iconv_const+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
26896#include <stdlib.h>
26897#include <iconv.h>
26898extern
26899#ifdef __cplusplus
26900"C"
26901#endif
26902#if defined(__STDC__) || defined(__cplusplus)
26903size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26904#else
26905size_t iconv();
26906#endif
26907
26908int
26909main ()
26910{
26911
26912 ;
26913 return 0;
26914}
26915_ACEOF
26916rm -f conftest.$ac_objext
26917if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26918 (eval $ac_compile) 2>&5
26919 ac_status=$?
26920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26921 (exit $ac_status); } &&
26922 { ac_try='test -s conftest.$ac_objext'
26923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26924 (eval $ac_try) 2>&5
26925 ac_status=$?
26926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26927 (exit $ac_status); }; }; then
26928 wx_cv_func_iconv_const="no"
26929else
26930 echo "$as_me: failed program was:" >&5
26931sed 's/^/| /' conftest.$ac_ext >&5
26932
26933wx_cv_func_iconv_const="yes"
26934
26935fi
26936rm -f conftest.$ac_objext conftest.$ac_ext
26937
26938fi
26939echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26940echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26941
26942 iconv_const=
26943 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26944 iconv_const="const"
26945 fi
26946
26947
26948cat >>confdefs.h <<_ACEOF
26949#define ICONV_CONST $iconv_const
26950_ACEOF
26951
26952 fi
26953 LIBICONV=
26954 if test "$am_cv_lib_iconv" = yes; then
26955 LIBICONV="-liconv"
26956 fi
26957
26958
26959LIBS="$LIBICONV $LIBS"
26960ac_ext=c
26961ac_cpp='$CPP $CPPFLAGS'
26962ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26963ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26964ac_compiler_gnu=$ac_cv_c_compiler_gnu
26965
26966
26967if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26968
26969for ac_func in sigaction
26970do
26971as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26972echo "$as_me:$LINENO: checking for $ac_func" >&5
26973echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26974if eval "test \"\${$as_ac_var+set}\" = set"; then
26975 echo $ECHO_N "(cached) $ECHO_C" >&6
26976else
26977 cat >conftest.$ac_ext <<_ACEOF
26978#line $LINENO "configure"
26979/* confdefs.h. */
26980_ACEOF
26981cat confdefs.h >>conftest.$ac_ext
26982cat >>conftest.$ac_ext <<_ACEOF
26983/* end confdefs.h. */
26984/* System header to define __stub macros and hopefully few prototypes,
26985 which can conflict with char $ac_func (); below.
26986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26987 <limits.h> exists even on freestanding compilers. */
26988#ifdef __STDC__
26989# include <limits.h>
26990#else
26991# include <assert.h>
26992#endif
26993/* Override any gcc2 internal prototype to avoid an error. */
26994#ifdef __cplusplus
26995extern "C"
26996{
26997#endif
26998/* We use char because int might match the return type of a gcc2
26999 builtin and then its argument prototype would still apply. */
27000char $ac_func ();
27001/* The GNU C library defines this for functions which it implements
27002 to always fail with ENOSYS. Some functions are actually named
27003 something starting with __ and the normal name is an alias. */
27004#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27005choke me
27006#else
27007char (*f) () = $ac_func;
27008#endif
27009#ifdef __cplusplus
27010}
27011#endif
27012
27013int
27014main ()
27015{
27016return f != $ac_func;
27017 ;
27018 return 0;
27019}
27020_ACEOF
27021rm -f conftest.$ac_objext conftest$ac_exeext
27022if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27023 (eval $ac_link) 2>&5
27024 ac_status=$?
27025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27026 (exit $ac_status); } &&
27027 { ac_try='test -s conftest$ac_exeext'
27028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27029 (eval $ac_try) 2>&5
27030 ac_status=$?
27031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032 (exit $ac_status); }; }; then
27033 eval "$as_ac_var=yes"
27034else
27035 echo "$as_me: failed program was:" >&5
27036sed 's/^/| /' conftest.$ac_ext >&5
27037
27038eval "$as_ac_var=no"
27039fi
27040rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27041fi
27042echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27043echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27044if test `eval echo '${'$as_ac_var'}'` = yes; then
27045 cat >>confdefs.h <<_ACEOF
27046#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27047_ACEOF
27048
27049fi
27050done
27051
27052
27053 if test "$ac_cv_func_sigaction" = "no"; then
27054 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27055echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27056 wxUSE_ON_FATAL_EXCEPTION=no
27057 fi
27058
27059 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27060
27061
27062 ac_ext=cc
27063ac_cpp='$CXXCPP $CPPFLAGS'
27064ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27065ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27066ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27067
27068
27069 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27070echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27071if test "${wx_cv_type_sa_handler+set}" = set; then
27072 echo $ECHO_N "(cached) $ECHO_C" >&6
27073else
27074
27075 cat >conftest.$ac_ext <<_ACEOF
27076#line $LINENO "configure"
27077/* confdefs.h. */
27078_ACEOF
27079cat confdefs.h >>conftest.$ac_ext
27080cat >>conftest.$ac_ext <<_ACEOF
27081/* end confdefs.h. */
27082#include <signal.h>
27083int
27084main ()
27085{
27086
27087 extern void testSigHandler(int);
27088
27089 struct sigaction sa;
27090 sa.sa_handler = testSigHandler;
27091
27092 ;
27093 return 0;
27094}
27095_ACEOF
27096rm -f conftest.$ac_objext
27097if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27098 (eval $ac_compile) 2>&5
27099 ac_status=$?
27100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101 (exit $ac_status); } &&
27102 { ac_try='test -s conftest.$ac_objext'
27103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27104 (eval $ac_try) 2>&5
27105 ac_status=$?
27106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107 (exit $ac_status); }; }; then
27108
27109 wx_cv_type_sa_handler=int
27110
27111else
27112 echo "$as_me: failed program was:" >&5
27113sed 's/^/| /' conftest.$ac_ext >&5
27114
27115
27116 wx_cv_type_sa_handler=void
27117
27118fi
27119rm -f conftest.$ac_objext conftest.$ac_ext
27120
27121fi
27122echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27123echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27124
27125 ac_ext=c
27126ac_cpp='$CPP $CPPFLAGS'
27127ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27128ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27129ac_compiler_gnu=$ac_cv_c_compiler_gnu
27130
27131
27132 cat >>confdefs.h <<_ACEOF
27133#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27134_ACEOF
27135
27136 fi
27137fi
27138
27139
27140
27141for ac_func in mkstemp mktemp
27142do
27143as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27144echo "$as_me:$LINENO: checking for $ac_func" >&5
27145echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27146if eval "test \"\${$as_ac_var+set}\" = set"; then
27147 echo $ECHO_N "(cached) $ECHO_C" >&6
27148else
27149 cat >conftest.$ac_ext <<_ACEOF
27150#line $LINENO "configure"
27151/* confdefs.h. */
27152_ACEOF
27153cat confdefs.h >>conftest.$ac_ext
27154cat >>conftest.$ac_ext <<_ACEOF
27155/* end confdefs.h. */
27156/* System header to define __stub macros and hopefully few prototypes,
27157 which can conflict with char $ac_func (); below.
27158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27159 <limits.h> exists even on freestanding compilers. */
27160#ifdef __STDC__
27161# include <limits.h>
27162#else
27163# include <assert.h>
27164#endif
27165/* Override any gcc2 internal prototype to avoid an error. */
27166#ifdef __cplusplus
27167extern "C"
27168{
27169#endif
27170/* We use char because int might match the return type of a gcc2
27171 builtin and then its argument prototype would still apply. */
27172char $ac_func ();
27173/* The GNU C library defines this for functions which it implements
27174 to always fail with ENOSYS. Some functions are actually named
27175 something starting with __ and the normal name is an alias. */
27176#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27177choke me
27178#else
27179char (*f) () = $ac_func;
27180#endif
27181#ifdef __cplusplus
27182}
27183#endif
27184
27185int
27186main ()
27187{
27188return f != $ac_func;
27189 ;
27190 return 0;
27191}
27192_ACEOF
27193rm -f conftest.$ac_objext conftest$ac_exeext
27194if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27195 (eval $ac_link) 2>&5
27196 ac_status=$?
27197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27198 (exit $ac_status); } &&
27199 { ac_try='test -s conftest$ac_exeext'
27200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27201 (eval $ac_try) 2>&5
27202 ac_status=$?
27203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27204 (exit $ac_status); }; }; then
27205 eval "$as_ac_var=yes"
27206else
27207 echo "$as_me: failed program was:" >&5
27208sed 's/^/| /' conftest.$ac_ext >&5
27209
27210eval "$as_ac_var=no"
27211fi
27212rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27213fi
27214echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27215echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27216if test `eval echo '${'$as_ac_var'}'` = yes; then
27217 cat >>confdefs.h <<_ACEOF
27218#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27219_ACEOF
27220 break
27221fi
27222done
27223
27224
27225echo "$as_me:$LINENO: checking for statfs" >&5
27226echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27227if test "${wx_cv_func_statfs+set}" = set; then
27228 echo $ECHO_N "(cached) $ECHO_C" >&6
27229else
27230 cat >conftest.$ac_ext <<_ACEOF
27231#line $LINENO "configure"
27232/* confdefs.h. */
27233_ACEOF
27234cat confdefs.h >>conftest.$ac_ext
27235cat >>conftest.$ac_ext <<_ACEOF
27236/* end confdefs.h. */
27237
27238 #if defined(__BSD__)
27239 #include <sys/param.h>
27240 #include <sys/mount.h>
27241 #else
27242 #include <sys/vfs.h>
27243 #endif
27244
27245int
27246main ()
27247{
27248
27249 long l;
27250 struct statfs fs;
27251 statfs("/", &fs);
27252 l = fs.f_bsize;
27253 l += fs.f_blocks;
27254 l += fs.f_bavail;
27255
27256 ;
27257 return 0;
27258}
27259_ACEOF
27260rm -f conftest.$ac_objext
27261if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27262 (eval $ac_compile) 2>&5
27263 ac_status=$?
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); } &&
27266 { ac_try='test -s conftest.$ac_objext'
27267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27268 (eval $ac_try) 2>&5
27269 ac_status=$?
27270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27271 (exit $ac_status); }; }; then
27272
27273 wx_cv_func_statfs=yes
27274
27275else
27276 echo "$as_me: failed program was:" >&5
27277sed 's/^/| /' conftest.$ac_ext >&5
27278
27279
27280 wx_cv_func_statfs=no
27281
27282
27283fi
27284rm -f conftest.$ac_objext conftest.$ac_ext
27285
27286fi
27287echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27288echo "${ECHO_T}$wx_cv_func_statfs" >&6
27289
27290if test "$wx_cv_func_statfs" = "yes"; then
27291 wx_cv_type_statvfs_t="struct statfs"
27292 cat >>confdefs.h <<\_ACEOF
27293#define HAVE_STATFS 1
27294_ACEOF
27295
27296else
27297 echo "$as_me:$LINENO: checking for statvfs" >&5
27298echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27299if test "${wx_cv_func_statvfs+set}" = set; then
27300 echo $ECHO_N "(cached) $ECHO_C" >&6
27301else
27302 cat >conftest.$ac_ext <<_ACEOF
27303#line $LINENO "configure"
27304/* confdefs.h. */
27305_ACEOF
27306cat confdefs.h >>conftest.$ac_ext
27307cat >>conftest.$ac_ext <<_ACEOF
27308/* end confdefs.h. */
27309
27310 #include <stddef.h>
27311 #include <sys/statvfs.h>
27312
27313int
27314main ()
27315{
27316
27317 statvfs("/", NULL);
27318
27319 ;
27320 return 0;
27321}
27322_ACEOF
27323rm -f conftest.$ac_objext
27324if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27325 (eval $ac_compile) 2>&5
27326 ac_status=$?
27327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27328 (exit $ac_status); } &&
27329 { ac_try='test -s conftest.$ac_objext'
27330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27331 (eval $ac_try) 2>&5
27332 ac_status=$?
27333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27334 (exit $ac_status); }; }; then
27335 wx_cv_func_statvfs=yes
27336else
27337 echo "$as_me: failed program was:" >&5
27338sed 's/^/| /' conftest.$ac_ext >&5
27339
27340wx_cv_func_statvfs=no
27341
27342fi
27343rm -f conftest.$ac_objext conftest.$ac_ext
27344
27345fi
27346echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27347echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27348
27349 if test "$wx_cv_func_statvfs" = "yes"; then
27350
27351
27352 ac_ext=cc
27353ac_cpp='$CXXCPP $CPPFLAGS'
27354ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27355ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27356ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27357
27358
27359 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27360echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27361if test "${wx_cv_type_statvfs_t+set}" = set; then
27362 echo $ECHO_N "(cached) $ECHO_C" >&6
27363else
27364 cat >conftest.$ac_ext <<_ACEOF
27365#line $LINENO "configure"
27366/* confdefs.h. */
27367_ACEOF
27368cat confdefs.h >>conftest.$ac_ext
27369cat >>conftest.$ac_ext <<_ACEOF
27370/* end confdefs.h. */
27371
27372 #include <sys/statvfs.h>
27373
27374int
27375main ()
27376{
27377
27378 long l;
27379 statvfs_t fs;
27380 statvfs("/", &fs);
27381 l = fs.f_bsize;
27382 l += fs.f_blocks;
27383 l += fs.f_bavail;
27384
27385 ;
27386 return 0;
27387}
27388_ACEOF
27389rm -f conftest.$ac_objext
27390if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27391 (eval $ac_compile) 2>&5
27392 ac_status=$?
27393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27394 (exit $ac_status); } &&
27395 { ac_try='test -s conftest.$ac_objext'
27396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27397 (eval $ac_try) 2>&5
27398 ac_status=$?
27399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27400 (exit $ac_status); }; }; then
27401 wx_cv_type_statvfs_t=statvfs_t
27402else
27403 echo "$as_me: failed program was:" >&5
27404sed 's/^/| /' conftest.$ac_ext >&5
27405
27406
27407 cat >conftest.$ac_ext <<_ACEOF
27408#line $LINENO "configure"
27409/* confdefs.h. */
27410_ACEOF
27411cat confdefs.h >>conftest.$ac_ext
27412cat >>conftest.$ac_ext <<_ACEOF
27413/* end confdefs.h. */
27414
27415 #include <sys/statvfs.h>
27416
27417int
27418main ()
27419{
27420
27421 long l;
27422 struct statvfs fs;
27423 statvfs("/", &fs);
27424 l = fs.f_bsize;
27425 l += fs.f_blocks;
27426 l += fs.f_bavail;
27427
27428 ;
27429 return 0;
27430}
27431_ACEOF
27432rm -f conftest.$ac_objext
27433if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27434 (eval $ac_compile) 2>&5
27435 ac_status=$?
27436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27437 (exit $ac_status); } &&
27438 { ac_try='test -s conftest.$ac_objext'
27439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27440 (eval $ac_try) 2>&5
27441 ac_status=$?
27442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27443 (exit $ac_status); }; }; then
27444 wx_cv_type_statvfs_t="struct statvfs"
27445else
27446 echo "$as_me: failed program was:" >&5
27447sed 's/^/| /' conftest.$ac_ext >&5
27448
27449wx_cv_type_statvfs_t="unknown"
27450
27451fi
27452rm -f conftest.$ac_objext conftest.$ac_ext
27453
27454
27455fi
27456rm -f conftest.$ac_objext conftest.$ac_ext
27457
27458fi
27459echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27460echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27461
27462 ac_ext=c
27463ac_cpp='$CPP $CPPFLAGS'
27464ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27465ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27466ac_compiler_gnu=$ac_cv_c_compiler_gnu
27467
27468
27469 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27470 cat >>confdefs.h <<\_ACEOF
27471#define HAVE_STATVFS 1
27472_ACEOF
27473
27474 fi
27475 else
27476 wx_cv_type_statvfs_t="unknown"
27477 fi
27478fi
27479
27480if test "$wx_cv_type_statvfs_t" != "unknown"; then
27481 cat >>confdefs.h <<_ACEOF
27482#define WX_STATFS_T $wx_cv_type_statvfs_t
27483_ACEOF
27484
27485else
27486 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27487echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27488fi
27489
27490if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27491
27492
27493for ac_func in fcntl flock
27494do
27495as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27496echo "$as_me:$LINENO: checking for $ac_func" >&5
27497echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27498if eval "test \"\${$as_ac_var+set}\" = set"; then
27499 echo $ECHO_N "(cached) $ECHO_C" >&6
27500else
27501 cat >conftest.$ac_ext <<_ACEOF
27502#line $LINENO "configure"
27503/* confdefs.h. */
27504_ACEOF
27505cat confdefs.h >>conftest.$ac_ext
27506cat >>conftest.$ac_ext <<_ACEOF
27507/* end confdefs.h. */
27508/* System header to define __stub macros and hopefully few prototypes,
27509 which can conflict with char $ac_func (); below.
27510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27511 <limits.h> exists even on freestanding compilers. */
27512#ifdef __STDC__
27513# include <limits.h>
27514#else
27515# include <assert.h>
27516#endif
27517/* Override any gcc2 internal prototype to avoid an error. */
27518#ifdef __cplusplus
27519extern "C"
27520{
27521#endif
27522/* We use char because int might match the return type of a gcc2
27523 builtin and then its argument prototype would still apply. */
27524char $ac_func ();
27525/* The GNU C library defines this for functions which it implements
27526 to always fail with ENOSYS. Some functions are actually named
27527 something starting with __ and the normal name is an alias. */
27528#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27529choke me
27530#else
27531char (*f) () = $ac_func;
27532#endif
27533#ifdef __cplusplus
27534}
27535#endif
27536
27537int
27538main ()
27539{
27540return f != $ac_func;
27541 ;
27542 return 0;
27543}
27544_ACEOF
27545rm -f conftest.$ac_objext conftest$ac_exeext
27546if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27547 (eval $ac_link) 2>&5
27548 ac_status=$?
27549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550 (exit $ac_status); } &&
27551 { ac_try='test -s conftest$ac_exeext'
27552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27553 (eval $ac_try) 2>&5
27554 ac_status=$?
27555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556 (exit $ac_status); }; }; then
27557 eval "$as_ac_var=yes"
27558else
27559 echo "$as_me: failed program was:" >&5
27560sed 's/^/| /' conftest.$ac_ext >&5
27561
27562eval "$as_ac_var=no"
27563fi
27564rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27565fi
27566echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27567echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27568if test `eval echo '${'$as_ac_var'}'` = yes; then
27569 cat >>confdefs.h <<_ACEOF
27570#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27571_ACEOF
27572 break
27573fi
27574done
27575
27576
27577 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27578 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27579echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27580 wxUSE_SNGLINST_CHECKER=no
27581 fi
27582fi
27583
27584
27585for ac_func in timegm
27586do
27587as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27588echo "$as_me:$LINENO: checking for $ac_func" >&5
27589echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27590if eval "test \"\${$as_ac_var+set}\" = set"; then
27591 echo $ECHO_N "(cached) $ECHO_C" >&6
27592else
27593 cat >conftest.$ac_ext <<_ACEOF
27594#line $LINENO "configure"
27595/* confdefs.h. */
27596_ACEOF
27597cat confdefs.h >>conftest.$ac_ext
27598cat >>conftest.$ac_ext <<_ACEOF
27599/* end confdefs.h. */
27600/* System header to define __stub macros and hopefully few prototypes,
27601 which can conflict with char $ac_func (); below.
27602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27603 <limits.h> exists even on freestanding compilers. */
27604#ifdef __STDC__
27605# include <limits.h>
27606#else
27607# include <assert.h>
27608#endif
27609/* Override any gcc2 internal prototype to avoid an error. */
27610#ifdef __cplusplus
27611extern "C"
27612{
27613#endif
27614/* We use char because int might match the return type of a gcc2
27615 builtin and then its argument prototype would still apply. */
27616char $ac_func ();
27617/* The GNU C library defines this for functions which it implements
27618 to always fail with ENOSYS. Some functions are actually named
27619 something starting with __ and the normal name is an alias. */
27620#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27621choke me
27622#else
27623char (*f) () = $ac_func;
27624#endif
27625#ifdef __cplusplus
27626}
27627#endif
27628
27629int
27630main ()
27631{
27632return f != $ac_func;
27633 ;
27634 return 0;
27635}
27636_ACEOF
27637rm -f conftest.$ac_objext conftest$ac_exeext
27638if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27639 (eval $ac_link) 2>&5
27640 ac_status=$?
27641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27642 (exit $ac_status); } &&
27643 { ac_try='test -s conftest$ac_exeext'
27644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27645 (eval $ac_try) 2>&5
27646 ac_status=$?
27647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27648 (exit $ac_status); }; }; then
27649 eval "$as_ac_var=yes"
27650else
27651 echo "$as_me: failed program was:" >&5
27652sed 's/^/| /' conftest.$ac_ext >&5
27653
27654eval "$as_ac_var=no"
27655fi
27656rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27657fi
27658echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27659echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27660if test `eval echo '${'$as_ac_var'}'` = yes; then
27661 cat >>confdefs.h <<_ACEOF
27662#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27663_ACEOF
27664
27665fi
27666done
27667
27668
27669
27670
27671for ac_func in putenv setenv
27672do
27673as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27674echo "$as_me:$LINENO: checking for $ac_func" >&5
27675echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27676if eval "test \"\${$as_ac_var+set}\" = set"; then
27677 echo $ECHO_N "(cached) $ECHO_C" >&6
27678else
27679 cat >conftest.$ac_ext <<_ACEOF
27680#line $LINENO "configure"
27681/* confdefs.h. */
27682_ACEOF
27683cat confdefs.h >>conftest.$ac_ext
27684cat >>conftest.$ac_ext <<_ACEOF
27685/* end confdefs.h. */
27686/* System header to define __stub macros and hopefully few prototypes,
27687 which can conflict with char $ac_func (); below.
27688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27689 <limits.h> exists even on freestanding compilers. */
27690#ifdef __STDC__
27691# include <limits.h>
27692#else
27693# include <assert.h>
27694#endif
27695/* Override any gcc2 internal prototype to avoid an error. */
27696#ifdef __cplusplus
27697extern "C"
27698{
27699#endif
27700/* We use char because int might match the return type of a gcc2
27701 builtin and then its argument prototype would still apply. */
27702char $ac_func ();
27703/* The GNU C library defines this for functions which it implements
27704 to always fail with ENOSYS. Some functions are actually named
27705 something starting with __ and the normal name is an alias. */
27706#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27707choke me
27708#else
27709char (*f) () = $ac_func;
27710#endif
27711#ifdef __cplusplus
27712}
27713#endif
27714
27715int
27716main ()
27717{
27718return f != $ac_func;
27719 ;
27720 return 0;
27721}
27722_ACEOF
27723rm -f conftest.$ac_objext conftest$ac_exeext
27724if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27725 (eval $ac_link) 2>&5
27726 ac_status=$?
27727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27728 (exit $ac_status); } &&
27729 { ac_try='test -s conftest$ac_exeext'
27730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27731 (eval $ac_try) 2>&5
27732 ac_status=$?
27733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27734 (exit $ac_status); }; }; then
27735 eval "$as_ac_var=yes"
27736else
27737 echo "$as_me: failed program was:" >&5
27738sed 's/^/| /' conftest.$ac_ext >&5
27739
27740eval "$as_ac_var=no"
27741fi
27742rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27743fi
27744echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27745echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27746if test `eval echo '${'$as_ac_var'}'` = yes; then
27747 cat >>confdefs.h <<_ACEOF
27748#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27749_ACEOF
27750 break
27751fi
27752done
27753
27754
27755HAVE_SOME_SLEEP_FUNC=0
27756if test "$USE_BEOS" = 1; then
27757 cat >>confdefs.h <<\_ACEOF
27758#define HAVE_SLEEP 1
27759_ACEOF
27760
27761 HAVE_SOME_SLEEP_FUNC=1
27762fi
27763
27764if test "$USE_DARWIN" = 1; then
27765 cat >>confdefs.h <<\_ACEOF
27766#define HAVE_USLEEP 1
27767_ACEOF
27768
27769 HAVE_SOME_SLEEP_FUNC=1
27770fi
27771
27772if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27773 POSIX4_LINK=
27774
27775for ac_func in nanosleep
27776do
27777as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27778echo "$as_me:$LINENO: checking for $ac_func" >&5
27779echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27780if eval "test \"\${$as_ac_var+set}\" = set"; then
27781 echo $ECHO_N "(cached) $ECHO_C" >&6
27782else
27783 cat >conftest.$ac_ext <<_ACEOF
27784#line $LINENO "configure"
27785/* confdefs.h. */
27786_ACEOF
27787cat confdefs.h >>conftest.$ac_ext
27788cat >>conftest.$ac_ext <<_ACEOF
27789/* end confdefs.h. */
27790/* System header to define __stub macros and hopefully few prototypes,
27791 which can conflict with char $ac_func (); below.
27792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27793 <limits.h> exists even on freestanding compilers. */
27794#ifdef __STDC__
27795# include <limits.h>
27796#else
27797# include <assert.h>
27798#endif
27799/* Override any gcc2 internal prototype to avoid an error. */
27800#ifdef __cplusplus
27801extern "C"
27802{
27803#endif
27804/* We use char because int might match the return type of a gcc2
27805 builtin and then its argument prototype would still apply. */
27806char $ac_func ();
27807/* The GNU C library defines this for functions which it implements
27808 to always fail with ENOSYS. Some functions are actually named
27809 something starting with __ and the normal name is an alias. */
27810#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27811choke me
27812#else
27813char (*f) () = $ac_func;
27814#endif
27815#ifdef __cplusplus
27816}
27817#endif
27818
27819int
27820main ()
27821{
27822return f != $ac_func;
27823 ;
27824 return 0;
27825}
27826_ACEOF
27827rm -f conftest.$ac_objext conftest$ac_exeext
27828if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27829 (eval $ac_link) 2>&5
27830 ac_status=$?
27831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27832 (exit $ac_status); } &&
27833 { ac_try='test -s conftest$ac_exeext'
27834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27835 (eval $ac_try) 2>&5
27836 ac_status=$?
27837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27838 (exit $ac_status); }; }; then
27839 eval "$as_ac_var=yes"
27840else
27841 echo "$as_me: failed program was:" >&5
27842sed 's/^/| /' conftest.$ac_ext >&5
27843
27844eval "$as_ac_var=no"
27845fi
27846rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27847fi
27848echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27849echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27850if test `eval echo '${'$as_ac_var'}'` = yes; then
27851 cat >>confdefs.h <<_ACEOF
27852#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27853_ACEOF
27854 cat >>confdefs.h <<\_ACEOF
27855#define HAVE_NANOSLEEP 1
27856_ACEOF
27857
27858else
27859
27860 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27861echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27862if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27863 echo $ECHO_N "(cached) $ECHO_C" >&6
27864else
27865 ac_check_lib_save_LIBS=$LIBS
27866LIBS="-lposix4 $LIBS"
27867cat >conftest.$ac_ext <<_ACEOF
27868#line $LINENO "configure"
27869/* confdefs.h. */
27870_ACEOF
27871cat confdefs.h >>conftest.$ac_ext
27872cat >>conftest.$ac_ext <<_ACEOF
27873/* end confdefs.h. */
27874
27875/* Override any gcc2 internal prototype to avoid an error. */
27876#ifdef __cplusplus
27877extern "C"
27878#endif
27879/* We use char because int might match the return type of a gcc2
27880 builtin and then its argument prototype would still apply. */
27881char nanosleep ();
27882int
27883main ()
27884{
27885nanosleep ();
27886 ;
27887 return 0;
27888}
27889_ACEOF
27890rm -f conftest.$ac_objext conftest$ac_exeext
27891if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27892 (eval $ac_link) 2>&5
27893 ac_status=$?
27894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27895 (exit $ac_status); } &&
27896 { ac_try='test -s conftest$ac_exeext'
27897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27898 (eval $ac_try) 2>&5
27899 ac_status=$?
27900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27901 (exit $ac_status); }; }; then
27902 ac_cv_lib_posix4_nanosleep=yes
27903else
27904 echo "$as_me: failed program was:" >&5
27905sed 's/^/| /' conftest.$ac_ext >&5
27906
27907ac_cv_lib_posix4_nanosleep=no
27908fi
27909rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27910LIBS=$ac_check_lib_save_LIBS
27911fi
27912echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27913echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27914if test $ac_cv_lib_posix4_nanosleep = yes; then
27915
27916 cat >>confdefs.h <<\_ACEOF
27917#define HAVE_NANOSLEEP 1
27918_ACEOF
27919
27920 POSIX4_LINK=" -lposix4"
27921
27922else
27923
27924
27925for ac_func in usleep
27926do
27927as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27928echo "$as_me:$LINENO: checking for $ac_func" >&5
27929echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27930if eval "test \"\${$as_ac_var+set}\" = set"; then
27931 echo $ECHO_N "(cached) $ECHO_C" >&6
27932else
27933 cat >conftest.$ac_ext <<_ACEOF
27934#line $LINENO "configure"
27935/* confdefs.h. */
27936_ACEOF
27937cat confdefs.h >>conftest.$ac_ext
27938cat >>conftest.$ac_ext <<_ACEOF
27939/* end confdefs.h. */
27940/* System header to define __stub macros and hopefully few prototypes,
27941 which can conflict with char $ac_func (); below.
27942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27943 <limits.h> exists even on freestanding compilers. */
27944#ifdef __STDC__
27945# include <limits.h>
27946#else
27947# include <assert.h>
27948#endif
27949/* Override any gcc2 internal prototype to avoid an error. */
27950#ifdef __cplusplus
27951extern "C"
27952{
27953#endif
27954/* We use char because int might match the return type of a gcc2
27955 builtin and then its argument prototype would still apply. */
27956char $ac_func ();
27957/* The GNU C library defines this for functions which it implements
27958 to always fail with ENOSYS. Some functions are actually named
27959 something starting with __ and the normal name is an alias. */
27960#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27961choke me
27962#else
27963char (*f) () = $ac_func;
27964#endif
27965#ifdef __cplusplus
27966}
27967#endif
27968
27969int
27970main ()
27971{
27972return f != $ac_func;
27973 ;
27974 return 0;
27975}
27976_ACEOF
27977rm -f conftest.$ac_objext conftest$ac_exeext
27978if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27979 (eval $ac_link) 2>&5
27980 ac_status=$?
27981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27982 (exit $ac_status); } &&
27983 { ac_try='test -s conftest$ac_exeext'
27984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27985 (eval $ac_try) 2>&5
27986 ac_status=$?
27987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27988 (exit $ac_status); }; }; then
27989 eval "$as_ac_var=yes"
27990else
27991 echo "$as_me: failed program was:" >&5
27992sed 's/^/| /' conftest.$ac_ext >&5
27993
27994eval "$as_ac_var=no"
27995fi
27996rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27997fi
27998echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27999echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28000if test `eval echo '${'$as_ac_var'}'` = yes; then
28001 cat >>confdefs.h <<_ACEOF
28002#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28003_ACEOF
28004 cat >>confdefs.h <<\_ACEOF
28005#define HAVE_USLEEP 1
28006_ACEOF
28007
28008else
28009 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28010echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28011
28012fi
28013done
28014
28015
28016
28017fi
28018
28019
28020
28021fi
28022done
28023
28024fi
28025
28026
28027
28028for ac_func in uname gethostname
28029do
28030as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28031echo "$as_me:$LINENO: checking for $ac_func" >&5
28032echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28033if eval "test \"\${$as_ac_var+set}\" = set"; then
28034 echo $ECHO_N "(cached) $ECHO_C" >&6
28035else
28036 cat >conftest.$ac_ext <<_ACEOF
28037#line $LINENO "configure"
28038/* confdefs.h. */
28039_ACEOF
28040cat confdefs.h >>conftest.$ac_ext
28041cat >>conftest.$ac_ext <<_ACEOF
28042/* end confdefs.h. */
28043/* System header to define __stub macros and hopefully few prototypes,
28044 which can conflict with char $ac_func (); below.
28045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28046 <limits.h> exists even on freestanding compilers. */
28047#ifdef __STDC__
28048# include <limits.h>
28049#else
28050# include <assert.h>
28051#endif
28052/* Override any gcc2 internal prototype to avoid an error. */
28053#ifdef __cplusplus
28054extern "C"
28055{
28056#endif
28057/* We use char because int might match the return type of a gcc2
28058 builtin and then its argument prototype would still apply. */
28059char $ac_func ();
28060/* The GNU C library defines this for functions which it implements
28061 to always fail with ENOSYS. Some functions are actually named
28062 something starting with __ and the normal name is an alias. */
28063#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28064choke me
28065#else
28066char (*f) () = $ac_func;
28067#endif
28068#ifdef __cplusplus
28069}
28070#endif
28071
28072int
28073main ()
28074{
28075return f != $ac_func;
28076 ;
28077 return 0;
28078}
28079_ACEOF
28080rm -f conftest.$ac_objext conftest$ac_exeext
28081if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28082 (eval $ac_link) 2>&5
28083 ac_status=$?
28084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28085 (exit $ac_status); } &&
28086 { ac_try='test -s conftest$ac_exeext'
28087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28088 (eval $ac_try) 2>&5
28089 ac_status=$?
28090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28091 (exit $ac_status); }; }; then
28092 eval "$as_ac_var=yes"
28093else
28094 echo "$as_me: failed program was:" >&5
28095sed 's/^/| /' conftest.$ac_ext >&5
28096
28097eval "$as_ac_var=no"
28098fi
28099rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28100fi
28101echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28102echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28103if test `eval echo '${'$as_ac_var'}'` = yes; then
28104 cat >>confdefs.h <<_ACEOF
28105#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28106_ACEOF
28107 break
28108fi
28109done
28110
28111
28112
28113
28114ac_ext=cc
28115ac_cpp='$CXXCPP $CPPFLAGS'
28116ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28117ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28118ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28119
28120
28121
28122for ac_func in strtok_r
28123do
28124as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28125echo "$as_me:$LINENO: checking for $ac_func" >&5
28126echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28127if eval "test \"\${$as_ac_var+set}\" = set"; then
28128 echo $ECHO_N "(cached) $ECHO_C" >&6
28129else
28130 cat >conftest.$ac_ext <<_ACEOF
28131#line $LINENO "configure"
28132/* confdefs.h. */
28133_ACEOF
28134cat confdefs.h >>conftest.$ac_ext
28135cat >>conftest.$ac_ext <<_ACEOF
28136/* end confdefs.h. */
28137/* System header to define __stub macros and hopefully few prototypes,
28138 which can conflict with char $ac_func (); below.
28139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28140 <limits.h> exists even on freestanding compilers. */
28141#ifdef __STDC__
28142# include <limits.h>
28143#else
28144# include <assert.h>
28145#endif
28146/* Override any gcc2 internal prototype to avoid an error. */
28147#ifdef __cplusplus
28148extern "C"
28149{
28150#endif
28151/* We use char because int might match the return type of a gcc2
28152 builtin and then its argument prototype would still apply. */
28153char $ac_func ();
28154/* The GNU C library defines this for functions which it implements
28155 to always fail with ENOSYS. Some functions are actually named
28156 something starting with __ and the normal name is an alias. */
28157#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28158choke me
28159#else
28160char (*f) () = $ac_func;
28161#endif
28162#ifdef __cplusplus
28163}
28164#endif
28165
28166int
28167main ()
28168{
28169return f != $ac_func;
28170 ;
28171 return 0;
28172}
28173_ACEOF
28174rm -f conftest.$ac_objext conftest$ac_exeext
28175if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28176 (eval $ac_link) 2>&5
28177 ac_status=$?
28178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28179 (exit $ac_status); } &&
28180 { ac_try='test -s conftest$ac_exeext'
28181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28182 (eval $ac_try) 2>&5
28183 ac_status=$?
28184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28185 (exit $ac_status); }; }; then
28186 eval "$as_ac_var=yes"
28187else
28188 echo "$as_me: failed program was:" >&5
28189sed 's/^/| /' conftest.$ac_ext >&5
28190
28191eval "$as_ac_var=no"
28192fi
28193rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28194fi
28195echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28196echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28197if test `eval echo '${'$as_ac_var'}'` = yes; then
28198 cat >>confdefs.h <<_ACEOF
28199#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28200_ACEOF
28201
28202fi
28203done
28204
28205
28206ac_ext=c
28207ac_cpp='$CPP $CPPFLAGS'
28208ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28209ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28210ac_compiler_gnu=$ac_cv_c_compiler_gnu
28211
28212
28213INET_LINK=
28214
28215for ac_func in inet_addr
28216do
28217as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28218echo "$as_me:$LINENO: checking for $ac_func" >&5
28219echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28220if eval "test \"\${$as_ac_var+set}\" = set"; then
28221 echo $ECHO_N "(cached) $ECHO_C" >&6
28222else
28223 cat >conftest.$ac_ext <<_ACEOF
28224#line $LINENO "configure"
28225/* confdefs.h. */
28226_ACEOF
28227cat confdefs.h >>conftest.$ac_ext
28228cat >>conftest.$ac_ext <<_ACEOF
28229/* end confdefs.h. */
28230/* System header to define __stub macros and hopefully few prototypes,
28231 which can conflict with char $ac_func (); below.
28232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28233 <limits.h> exists even on freestanding compilers. */
28234#ifdef __STDC__
28235# include <limits.h>
28236#else
28237# include <assert.h>
28238#endif
28239/* Override any gcc2 internal prototype to avoid an error. */
28240#ifdef __cplusplus
28241extern "C"
28242{
28243#endif
28244/* We use char because int might match the return type of a gcc2
28245 builtin and then its argument prototype would still apply. */
28246char $ac_func ();
28247/* The GNU C library defines this for functions which it implements
28248 to always fail with ENOSYS. Some functions are actually named
28249 something starting with __ and the normal name is an alias. */
28250#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28251choke me
28252#else
28253char (*f) () = $ac_func;
28254#endif
28255#ifdef __cplusplus
28256}
28257#endif
28258
28259int
28260main ()
28261{
28262return f != $ac_func;
28263 ;
28264 return 0;
28265}
28266_ACEOF
28267rm -f conftest.$ac_objext conftest$ac_exeext
28268if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28269 (eval $ac_link) 2>&5
28270 ac_status=$?
28271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28272 (exit $ac_status); } &&
28273 { ac_try='test -s conftest$ac_exeext'
28274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28275 (eval $ac_try) 2>&5
28276 ac_status=$?
28277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28278 (exit $ac_status); }; }; then
28279 eval "$as_ac_var=yes"
28280else
28281 echo "$as_me: failed program was:" >&5
28282sed 's/^/| /' conftest.$ac_ext >&5
28283
28284eval "$as_ac_var=no"
28285fi
28286rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28287fi
28288echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28289echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28290if test `eval echo '${'$as_ac_var'}'` = yes; then
28291 cat >>confdefs.h <<_ACEOF
28292#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28293_ACEOF
28294 cat >>confdefs.h <<\_ACEOF
28295#define HAVE_INET_ADDR 1
28296_ACEOF
28297
28298else
28299
28300 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28301echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28302if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28303 echo $ECHO_N "(cached) $ECHO_C" >&6
28304else
28305 ac_check_lib_save_LIBS=$LIBS
28306LIBS="-lnsl $LIBS"
28307cat >conftest.$ac_ext <<_ACEOF
28308#line $LINENO "configure"
28309/* confdefs.h. */
28310_ACEOF
28311cat confdefs.h >>conftest.$ac_ext
28312cat >>conftest.$ac_ext <<_ACEOF
28313/* end confdefs.h. */
28314
28315/* Override any gcc2 internal prototype to avoid an error. */
28316#ifdef __cplusplus
28317extern "C"
28318#endif
28319/* We use char because int might match the return type of a gcc2
28320 builtin and then its argument prototype would still apply. */
28321char inet_addr ();
28322int
28323main ()
28324{
28325inet_addr ();
28326 ;
28327 return 0;
28328}
28329_ACEOF
28330rm -f conftest.$ac_objext conftest$ac_exeext
28331if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28332 (eval $ac_link) 2>&5
28333 ac_status=$?
28334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28335 (exit $ac_status); } &&
28336 { ac_try='test -s conftest$ac_exeext'
28337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28338 (eval $ac_try) 2>&5
28339 ac_status=$?
28340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28341 (exit $ac_status); }; }; then
28342 ac_cv_lib_nsl_inet_addr=yes
28343else
28344 echo "$as_me: failed program was:" >&5
28345sed 's/^/| /' conftest.$ac_ext >&5
28346
28347ac_cv_lib_nsl_inet_addr=no
28348fi
28349rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28350LIBS=$ac_check_lib_save_LIBS
28351fi
28352echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28353echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28354if test $ac_cv_lib_nsl_inet_addr = yes; then
28355 INET_LINK="nsl"
28356else
28357
28358 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28359echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28360if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28361 echo $ECHO_N "(cached) $ECHO_C" >&6
28362else
28363 ac_check_lib_save_LIBS=$LIBS
28364LIBS="-lresolv $LIBS"
28365cat >conftest.$ac_ext <<_ACEOF
28366#line $LINENO "configure"
28367/* confdefs.h. */
28368_ACEOF
28369cat confdefs.h >>conftest.$ac_ext
28370cat >>conftest.$ac_ext <<_ACEOF
28371/* end confdefs.h. */
28372
28373/* Override any gcc2 internal prototype to avoid an error. */
28374#ifdef __cplusplus
28375extern "C"
28376#endif
28377/* We use char because int might match the return type of a gcc2
28378 builtin and then its argument prototype would still apply. */
28379char inet_addr ();
28380int
28381main ()
28382{
28383inet_addr ();
28384 ;
28385 return 0;
28386}
28387_ACEOF
28388rm -f conftest.$ac_objext conftest$ac_exeext
28389if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28390 (eval $ac_link) 2>&5
28391 ac_status=$?
28392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28393 (exit $ac_status); } &&
28394 { ac_try='test -s conftest$ac_exeext'
28395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28396 (eval $ac_try) 2>&5
28397 ac_status=$?
28398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28399 (exit $ac_status); }; }; then
28400 ac_cv_lib_resolv_inet_addr=yes
28401else
28402 echo "$as_me: failed program was:" >&5
28403sed 's/^/| /' conftest.$ac_ext >&5
28404
28405ac_cv_lib_resolv_inet_addr=no
28406fi
28407rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28408LIBS=$ac_check_lib_save_LIBS
28409fi
28410echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28411echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28412if test $ac_cv_lib_resolv_inet_addr = yes; then
28413 INET_LINK="resolv"
28414else
28415
28416 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28417echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28418if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28419 echo $ECHO_N "(cached) $ECHO_C" >&6
28420else
28421 ac_check_lib_save_LIBS=$LIBS
28422LIBS="-lsocket $LIBS"
28423cat >conftest.$ac_ext <<_ACEOF
28424#line $LINENO "configure"
28425/* confdefs.h. */
28426_ACEOF
28427cat confdefs.h >>conftest.$ac_ext
28428cat >>conftest.$ac_ext <<_ACEOF
28429/* end confdefs.h. */
28430
28431/* Override any gcc2 internal prototype to avoid an error. */
28432#ifdef __cplusplus
28433extern "C"
28434#endif
28435/* We use char because int might match the return type of a gcc2
28436 builtin and then its argument prototype would still apply. */
28437char inet_addr ();
28438int
28439main ()
28440{
28441inet_addr ();
28442 ;
28443 return 0;
28444}
28445_ACEOF
28446rm -f conftest.$ac_objext conftest$ac_exeext
28447if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28448 (eval $ac_link) 2>&5
28449 ac_status=$?
28450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28451 (exit $ac_status); } &&
28452 { ac_try='test -s conftest$ac_exeext'
28453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28454 (eval $ac_try) 2>&5
28455 ac_status=$?
28456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28457 (exit $ac_status); }; }; then
28458 ac_cv_lib_socket_inet_addr=yes
28459else
28460 echo "$as_me: failed program was:" >&5
28461sed 's/^/| /' conftest.$ac_ext >&5
28462
28463ac_cv_lib_socket_inet_addr=no
28464fi
28465rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28466LIBS=$ac_check_lib_save_LIBS
28467fi
28468echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28469echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28470if test $ac_cv_lib_socket_inet_addr = yes; then
28471 INET_LINK="socket"
28472
28473fi
28474
28475
28476
28477fi
28478
28479
28480
28481fi
28482
28483
28484
28485fi
28486done
28487
28488
28489
28490for ac_func in inet_aton
28491do
28492as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28493echo "$as_me:$LINENO: checking for $ac_func" >&5
28494echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28495if eval "test \"\${$as_ac_var+set}\" = set"; then
28496 echo $ECHO_N "(cached) $ECHO_C" >&6
28497else
28498 cat >conftest.$ac_ext <<_ACEOF
28499#line $LINENO "configure"
28500/* confdefs.h. */
28501_ACEOF
28502cat confdefs.h >>conftest.$ac_ext
28503cat >>conftest.$ac_ext <<_ACEOF
28504/* end confdefs.h. */
28505/* System header to define __stub macros and hopefully few prototypes,
28506 which can conflict with char $ac_func (); below.
28507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28508 <limits.h> exists even on freestanding compilers. */
28509#ifdef __STDC__
28510# include <limits.h>
28511#else
28512# include <assert.h>
28513#endif
28514/* Override any gcc2 internal prototype to avoid an error. */
28515#ifdef __cplusplus
28516extern "C"
28517{
28518#endif
28519/* We use char because int might match the return type of a gcc2
28520 builtin and then its argument prototype would still apply. */
28521char $ac_func ();
28522/* The GNU C library defines this for functions which it implements
28523 to always fail with ENOSYS. Some functions are actually named
28524 something starting with __ and the normal name is an alias. */
28525#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28526choke me
28527#else
28528char (*f) () = $ac_func;
28529#endif
28530#ifdef __cplusplus
28531}
28532#endif
28533
28534int
28535main ()
28536{
28537return f != $ac_func;
28538 ;
28539 return 0;
28540}
28541_ACEOF
28542rm -f conftest.$ac_objext conftest$ac_exeext
28543if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28544 (eval $ac_link) 2>&5
28545 ac_status=$?
28546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28547 (exit $ac_status); } &&
28548 { ac_try='test -s conftest$ac_exeext'
28549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28550 (eval $ac_try) 2>&5
28551 ac_status=$?
28552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28553 (exit $ac_status); }; }; then
28554 eval "$as_ac_var=yes"
28555else
28556 echo "$as_me: failed program was:" >&5
28557sed 's/^/| /' conftest.$ac_ext >&5
28558
28559eval "$as_ac_var=no"
28560fi
28561rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28562fi
28563echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28564echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28565if test `eval echo '${'$as_ac_var'}'` = yes; then
28566 cat >>confdefs.h <<_ACEOF
28567#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28568_ACEOF
28569 cat >>confdefs.h <<\_ACEOF
28570#define HAVE_INET_ATON 1
28571_ACEOF
28572
28573else
28574
28575 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28576echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28577echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28578if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28579 echo $ECHO_N "(cached) $ECHO_C" >&6
28580else
28581 ac_check_lib_save_LIBS=$LIBS
28582LIBS="-l$INET_LINK $LIBS"
28583cat >conftest.$ac_ext <<_ACEOF
28584#line $LINENO "configure"
28585/* confdefs.h. */
28586_ACEOF
28587cat confdefs.h >>conftest.$ac_ext
28588cat >>conftest.$ac_ext <<_ACEOF
28589/* end confdefs.h. */
28590
28591/* Override any gcc2 internal prototype to avoid an error. */
28592#ifdef __cplusplus
28593extern "C"
28594#endif
28595/* We use char because int might match the return type of a gcc2
28596 builtin and then its argument prototype would still apply. */
28597char inet_aton ();
28598int
28599main ()
28600{
28601inet_aton ();
28602 ;
28603 return 0;
28604}
28605_ACEOF
28606rm -f conftest.$ac_objext conftest$ac_exeext
28607if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28608 (eval $ac_link) 2>&5
28609 ac_status=$?
28610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28611 (exit $ac_status); } &&
28612 { ac_try='test -s conftest$ac_exeext'
28613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28614 (eval $ac_try) 2>&5
28615 ac_status=$?
28616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28617 (exit $ac_status); }; }; then
28618 eval "$as_ac_Lib=yes"
28619else
28620 echo "$as_me: failed program was:" >&5
28621sed 's/^/| /' conftest.$ac_ext >&5
28622
28623eval "$as_ac_Lib=no"
28624fi
28625rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28626LIBS=$ac_check_lib_save_LIBS
28627fi
28628echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28629echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28630if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28631 cat >>confdefs.h <<\_ACEOF
28632#define HAVE_INET_ATON 1
28633_ACEOF
28634
28635fi
28636
28637
28638fi
28639done
28640
28641
28642if test "x$INET_LINK" != "x"; then
28643 cat >>confdefs.h <<\_ACEOF
28644#define HAVE_INET_ADDR 1
28645_ACEOF
28646
28647 INET_LINK=" -l$INET_LINK"
28648fi
28649
28650fi
28651
28652
28653
28654EXTRALIBS_ESD=
28655echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28656echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28657if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28658 echo $ECHO_N "(cached) $ECHO_C" >&6
28659else
28660 ac_check_lib_save_LIBS=$LIBS
28661LIBS="-lesd $LIBS"
28662cat >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
28670/* Override any gcc2 internal prototype to avoid an error. */
28671#ifdef __cplusplus
28672extern "C"
28673#endif
28674/* We use char because int might match the return type of a gcc2
28675 builtin and then its argument prototype would still apply. */
28676char esd_close ();
28677int
28678main ()
28679{
28680esd_close ();
28681 ;
28682 return 0;
28683}
28684_ACEOF
28685rm -f conftest.$ac_objext conftest$ac_exeext
28686if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28687 (eval $ac_link) 2>&5
28688 ac_status=$?
28689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28690 (exit $ac_status); } &&
28691 { ac_try='test -s conftest$ac_exeext'
28692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28693 (eval $ac_try) 2>&5
28694 ac_status=$?
28695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28696 (exit $ac_status); }; }; then
28697 ac_cv_lib_esd_esd_close=yes
28698else
28699 echo "$as_me: failed program was:" >&5
28700sed 's/^/| /' conftest.$ac_ext >&5
28701
28702ac_cv_lib_esd_esd_close=no
28703fi
28704rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28705LIBS=$ac_check_lib_save_LIBS
28706fi
28707echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28708echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28709if test $ac_cv_lib_esd_esd_close = yes; then
28710
28711
28712for ac_header in esd.h
28713do
28714as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28715if eval "test \"\${$as_ac_Header+set}\" = set"; then
28716 echo "$as_me:$LINENO: checking for $ac_header" >&5
28717echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28718if eval "test \"\${$as_ac_Header+set}\" = set"; then
28719 echo $ECHO_N "(cached) $ECHO_C" >&6
28720fi
28721echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28722echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28723else
28724 # Is the header compilable?
28725echo "$as_me:$LINENO: checking $ac_header usability" >&5
28726echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28727cat >conftest.$ac_ext <<_ACEOF
28728#line $LINENO "configure"
28729/* confdefs.h. */
28730_ACEOF
28731cat confdefs.h >>conftest.$ac_ext
28732cat >>conftest.$ac_ext <<_ACEOF
28733/* end confdefs.h. */
28734$ac_includes_default
28735#include <$ac_header>
28736_ACEOF
28737rm -f conftest.$ac_objext
28738if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28739 (eval $ac_compile) 2>&5
28740 ac_status=$?
28741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28742 (exit $ac_status); } &&
28743 { ac_try='test -s conftest.$ac_objext'
28744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28745 (eval $ac_try) 2>&5
28746 ac_status=$?
28747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28748 (exit $ac_status); }; }; then
28749 ac_header_compiler=yes
28750else
28751 echo "$as_me: failed program was:" >&5
28752sed 's/^/| /' conftest.$ac_ext >&5
28753
28754ac_header_compiler=no
28755fi
28756rm -f conftest.$ac_objext conftest.$ac_ext
28757echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28758echo "${ECHO_T}$ac_header_compiler" >&6
28759
28760# Is the header present?
28761echo "$as_me:$LINENO: checking $ac_header presence" >&5
28762echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28763cat >conftest.$ac_ext <<_ACEOF
28764#line $LINENO "configure"
28765/* confdefs.h. */
28766_ACEOF
28767cat confdefs.h >>conftest.$ac_ext
28768cat >>conftest.$ac_ext <<_ACEOF
28769/* end confdefs.h. */
28770#include <$ac_header>
28771_ACEOF
28772if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28773 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28774 ac_status=$?
28775 grep -v '^ *+' conftest.er1 >conftest.err
28776 rm -f conftest.er1
28777 cat conftest.err >&5
28778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28779 (exit $ac_status); } >/dev/null; then
28780 if test -s conftest.err; then
28781 ac_cpp_err=$ac_c_preproc_warn_flag
28782 else
28783 ac_cpp_err=
28784 fi
28785else
28786 ac_cpp_err=yes
28787fi
28788if test -z "$ac_cpp_err"; then
28789 ac_header_preproc=yes
28790else
28791 echo "$as_me: failed program was:" >&5
28792sed 's/^/| /' conftest.$ac_ext >&5
28793
28794 ac_header_preproc=no
28795fi
28796rm -f conftest.err conftest.$ac_ext
28797echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28798echo "${ECHO_T}$ac_header_preproc" >&6
28799
28800# So? What about this header?
28801case $ac_header_compiler:$ac_header_preproc in
28802 yes:no )
28803 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28804echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28806echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28807 (
28808 cat <<\_ASBOX
28809## ------------------------------------ ##
28810## Report this to bug-autoconf@gnu.org. ##
28811## ------------------------------------ ##
28812_ASBOX
28813 ) |
28814 sed "s/^/$as_me: WARNING: /" >&2
28815 ;;
28816 no:yes )
28817 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28818echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28819 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28820echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28821 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28822echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28823 (
28824 cat <<\_ASBOX
28825## ------------------------------------ ##
28826## Report this to bug-autoconf@gnu.org. ##
28827## ------------------------------------ ##
28828_ASBOX
28829 ) |
28830 sed "s/^/$as_me: WARNING: /" >&2
28831 ;;
28832esac
28833echo "$as_me:$LINENO: checking for $ac_header" >&5
28834echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28835if eval "test \"\${$as_ac_Header+set}\" = set"; then
28836 echo $ECHO_N "(cached) $ECHO_C" >&6
28837else
28838 eval "$as_ac_Header=$ac_header_preproc"
28839fi
28840echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28841echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28842
28843fi
28844if test `eval echo '${'$as_ac_Header'}'` = yes; then
28845 cat >>confdefs.h <<_ACEOF
28846#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28847_ACEOF
28848
28849 EXTRALIBS_ESD="-lesd"
28850
28851fi
28852
28853done
28854
28855
28856fi
28857
28858
28859
28860echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
28861echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
28862cat >conftest.$ac_ext <<_ACEOF
28863#line $LINENO "configure"
28864/* confdefs.h. */
28865_ACEOF
28866cat confdefs.h >>conftest.$ac_ext
28867cat >>conftest.$ac_ext <<_ACEOF
28868/* end confdefs.h. */
28869#ifdef __linux__
28870 #include <linux/cdrom.h>
28871 #else
28872 /* For Solaris */
28873 #include <sys/cdio.h>
28874 #endif
28875
28876int
28877main ()
28878{
28879struct cdrom_tocentry entry, old_entry;
28880 ;
28881 return 0;
28882}
28883_ACEOF
28884rm -f conftest.$ac_objext
28885if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28886 (eval $ac_compile) 2>&5
28887 ac_status=$?
28888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28889 (exit $ac_status); } &&
28890 { ac_try='test -s conftest.$ac_objext'
28891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28892 (eval $ac_try) 2>&5
28893 ac_status=$?
28894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28895 (exit $ac_status); }; }; then
28896 echo "$as_me:$LINENO: result: yes" >&5
28897echo "${ECHO_T}yes" >&6
28898 cat >>confdefs.h <<\_ACEOF
28899#define HAVE_KNOWN_CDROM_INTERFACE 1
28900_ACEOF
28901
28902else
28903 echo "$as_me: failed program was:" >&5
28904sed 's/^/| /' conftest.$ac_ext >&5
28905
28906echo "$as_me:$LINENO: result: no" >&5
28907echo "${ECHO_T}no" >&6
28908fi
28909rm -f conftest.$ac_objext conftest.$ac_ext
28910
28911
28912cat >confcache <<\_ACEOF
28913# This file is a shell script that caches the results of configure
28914# tests run on this system so they can be shared between configure
28915# scripts and configure runs, see configure's option --config-cache.
28916# It is not useful on other systems. If it contains results you don't
28917# want to keep, you may remove or edit it.
28918#
28919# config.status only pays attention to the cache file if you give it
28920# the --recheck option to rerun configure.
28921#
28922# `ac_cv_env_foo' variables (set or unset) will be overridden when
28923# loading this file, other *unset* `ac_cv_foo' will be assigned the
28924# following values.
28925
28926_ACEOF
28927
28928# The following way of writing the cache mishandles newlines in values,
28929# but we know of no workaround that is simple, portable, and efficient.
28930# So, don't put newlines in cache variables' values.
28931# Ultrix sh set writes to stderr and can't be redirected directly,
28932# and sets the high bit in the cache file unless we assign to the vars.
28933{
28934 (set) 2>&1 |
28935 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28936 *ac_space=\ *)
28937 # `set' does not quote correctly, so add quotes (double-quote
28938 # substitution turns \\\\ into \\, and sed turns \\ into \).
28939 sed -n \
28940 "s/'/'\\\\''/g;
28941 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28942 ;;
28943 *)
28944 # `set' quotes correctly as required by POSIX, so do not add quotes.
28945 sed -n \
28946 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28947 ;;
28948 esac;
28949} |
28950 sed '
28951 t clear
28952 : clear
28953 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28954 t end
28955 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28956 : end' >>confcache
28957if diff $cache_file confcache >/dev/null 2>&1; then :; else
28958 if test -w $cache_file; then
28959 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28960 cat confcache >$cache_file
28961 else
28962 echo "not updating unwritable cache $cache_file"
28963 fi
28964fi
28965rm -f confcache
28966
28967
28968CPP_MT_FLAG=
28969if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
28970
28971
28972 THREADS_LINK=
28973 THREADS_CFLAGS=
28974
28975 if test "$wxUSE_THREADS" = "yes" ; then
28976 if test "$USE_BEOS" = 1; then
28977 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28978echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28979 wxUSE_THREADS="no"
28980 fi
28981 fi
28982
28983 if test "$wxUSE_THREADS" = "yes" ; then
28984
28985
28986 THREAD_OPTS="-pthread"
28987 case "${host}" in
28988 *-*-solaris2* | *-*-sunos4* )
28989 if test "x$GCC" = "xyes"; then
28990 THREAD_OPTS="-pthreads $THREAD_OPTS"
28991 else
28992 THREAD_OPTS="-mt $THREAD_OPTS"
28993 fi
28994 ;;
28995 *-*-freebsd*)
28996 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
28997 ;;
28998 *-*-darwin* | *-*-cygwin* )
28999 THREAD_OPTS=""
29000 ;;
29001 *-*-aix*)
29002 THREAD_OPTS="pthreads"
29003 ;;
29004 *-hp-hpux* )
29005 if test "x$GCC" != "xyes"; then
29006 THREAD_OPTS=""
29007 fi
29008 ;;
29009
29010 *-*-irix* )
29011 if test "x$GCC" = "xyes"; then
29012 THREAD_OPTS=""
29013 fi
29014 ;;
29015
29016 *-*-*UnixWare*)
29017 if test "x$GCC" != "xyes"; then
29018 THREAD_OPTS="-Ethread"
29019 fi
29020 ;;
29021 esac
29022
29023 THREAD_OPTS="$THREAD_OPTS pthread none"
29024
29025 THREADS_OK=no
29026 for flag in $THREAD_OPTS; do
29027 case $flag in
29028 none)
29029 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29030echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29031 ;;
29032
29033 -*)
29034 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29035echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29036 THREADS_CFLAGS="$flag"
29037 ;;
29038
29039 *)
29040 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29041echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29042 THREADS_LINK="-l$flag"
29043 ;;
29044 esac
29045
29046 save_LIBS="$LIBS"
29047 save_CFLAGS="$CFLAGS"
29048 LIBS="$THREADS_LINK $LIBS"
29049 CFLAGS="$THREADS_CFLAGS $CFLAGS"
29050
29051 cat >conftest.$ac_ext <<_ACEOF
29052#line $LINENO "configure"
29053/* confdefs.h. */
29054_ACEOF
29055cat confdefs.h >>conftest.$ac_ext
29056cat >>conftest.$ac_ext <<_ACEOF
29057/* end confdefs.h. */
29058#include <pthread.h>
29059int
29060main ()
29061{
29062pthread_create(0,0,0,0);
29063 ;
29064 return 0;
29065}
29066_ACEOF
29067rm -f conftest.$ac_objext conftest$ac_exeext
29068if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29069 (eval $ac_link) 2>&5
29070 ac_status=$?
29071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29072 (exit $ac_status); } &&
29073 { ac_try='test -s conftest$ac_exeext'
29074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29075 (eval $ac_try) 2>&5
29076 ac_status=$?
29077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29078 (exit $ac_status); }; }; then
29079 THREADS_OK=yes
29080else
29081 echo "$as_me: failed program was:" >&5
29082sed 's/^/| /' conftest.$ac_ext >&5
29083
29084fi
29085rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29086
29087 LIBS="$save_LIBS"
29088 CFLAGS="$save_CFLAGS"
29089
29090 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29091echo "${ECHO_T}$THREADS_OK" >&6
29092 if test "x$THREADS_OK" = "xyes"; then
29093 break;
29094 fi
29095
29096 THREADS_LINK=""
29097 THREADS_CFLAGS=""
29098 done
29099
29100 if test "x$THREADS_OK" != "xyes"; then
29101 wxUSE_THREADS=no
29102 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29103echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29104 else
29105 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
29106 LIBS="$THREADS_LINK $LIBS"
29107
29108 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29109echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29110 flag=no
29111 case "${host}" in
29112 *-aix*)
29113 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
29114 flag="-D_THREAD_SAFE"
29115 ;;
29116 *-freebsd*)
29117 flag="-D_THREAD_SAFE"
29118 ;;
29119 *-hp-hpux* )
29120 flag="-D_REENTRANT"
29121 if test "x$GCC" != "xyes"; then
29122 flag="$flag -D_RWSTD_MULTI_THREAD"
29123 fi
29124 ;;
29125 *solaris* | alpha*-osf*)
29126 flag="-D_REENTRANT"
29127 ;;
29128 esac
29129 echo "$as_me:$LINENO: result: ${flag}" >&5
29130echo "${ECHO_T}${flag}" >&6
29131 if test "x$flag" != xno; then
29132 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
29133 fi
29134
29135 if test "x$THREADS_CFLAGS" != "x"; then
29136 CFLAGS="$CFLAGS $THREADS_CFLAGS"
29137 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
29138 fi
29139 fi
29140 fi
29141
29142 if test "$wxUSE_THREADS" = "yes" ; then
29143
29144for ac_func in thr_setconcurrency
29145do
29146as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29147echo "$as_me:$LINENO: checking for $ac_func" >&5
29148echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29149if eval "test \"\${$as_ac_var+set}\" = set"; then
29150 echo $ECHO_N "(cached) $ECHO_C" >&6
29151else
29152 cat >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/* System header to define __stub macros and hopefully few prototypes,
29160 which can conflict with char $ac_func (); below.
29161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29162 <limits.h> exists even on freestanding compilers. */
29163#ifdef __STDC__
29164# include <limits.h>
29165#else
29166# include <assert.h>
29167#endif
29168/* Override any gcc2 internal prototype to avoid an error. */
29169#ifdef __cplusplus
29170extern "C"
29171{
29172#endif
29173/* We use char because int might match the return type of a gcc2
29174 builtin and then its argument prototype would still apply. */
29175char $ac_func ();
29176/* The GNU C library defines this for functions which it implements
29177 to always fail with ENOSYS. Some functions are actually named
29178 something starting with __ and the normal name is an alias. */
29179#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29180choke me
29181#else
29182char (*f) () = $ac_func;
29183#endif
29184#ifdef __cplusplus
29185}
29186#endif
29187
29188int
29189main ()
29190{
29191return f != $ac_func;
29192 ;
29193 return 0;
29194}
29195_ACEOF
29196rm -f conftest.$ac_objext conftest$ac_exeext
29197if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29198 (eval $ac_link) 2>&5
29199 ac_status=$?
29200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29201 (exit $ac_status); } &&
29202 { ac_try='test -s conftest$ac_exeext'
29203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29204 (eval $ac_try) 2>&5
29205 ac_status=$?
29206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29207 (exit $ac_status); }; }; then
29208 eval "$as_ac_var=yes"
29209else
29210 echo "$as_me: failed program was:" >&5
29211sed 's/^/| /' conftest.$ac_ext >&5
29212
29213eval "$as_ac_var=no"
29214fi
29215rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29216fi
29217echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29218echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29219if test `eval echo '${'$as_ac_var'}'` = yes; then
29220 cat >>confdefs.h <<_ACEOF
29221#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29222_ACEOF
29223
29224fi
29225done
29226
29227
29228
29229for ac_header in sched.h
29230do
29231as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29232if eval "test \"\${$as_ac_Header+set}\" = set"; then
29233 echo "$as_me:$LINENO: checking for $ac_header" >&5
29234echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29235if eval "test \"\${$as_ac_Header+set}\" = set"; then
29236 echo $ECHO_N "(cached) $ECHO_C" >&6
29237fi
29238echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29239echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29240else
29241 # Is the header compilable?
29242echo "$as_me:$LINENO: checking $ac_header usability" >&5
29243echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29244cat >conftest.$ac_ext <<_ACEOF
29245#line $LINENO "configure"
29246/* confdefs.h. */
29247_ACEOF
29248cat confdefs.h >>conftest.$ac_ext
29249cat >>conftest.$ac_ext <<_ACEOF
29250/* end confdefs.h. */
29251$ac_includes_default
29252#include <$ac_header>
29253_ACEOF
29254rm -f conftest.$ac_objext
29255if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29256 (eval $ac_compile) 2>&5
29257 ac_status=$?
29258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29259 (exit $ac_status); } &&
29260 { ac_try='test -s conftest.$ac_objext'
29261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29262 (eval $ac_try) 2>&5
29263 ac_status=$?
29264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29265 (exit $ac_status); }; }; then
29266 ac_header_compiler=yes
29267else
29268 echo "$as_me: failed program was:" >&5
29269sed 's/^/| /' conftest.$ac_ext >&5
29270
29271ac_header_compiler=no
29272fi
29273rm -f conftest.$ac_objext conftest.$ac_ext
29274echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29275echo "${ECHO_T}$ac_header_compiler" >&6
29276
29277# Is the header present?
29278echo "$as_me:$LINENO: checking $ac_header presence" >&5
29279echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29280cat >conftest.$ac_ext <<_ACEOF
29281#line $LINENO "configure"
29282/* confdefs.h. */
29283_ACEOF
29284cat confdefs.h >>conftest.$ac_ext
29285cat >>conftest.$ac_ext <<_ACEOF
29286/* end confdefs.h. */
29287#include <$ac_header>
29288_ACEOF
29289if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29290 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29291 ac_status=$?
29292 grep -v '^ *+' conftest.er1 >conftest.err
29293 rm -f conftest.er1
29294 cat conftest.err >&5
29295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29296 (exit $ac_status); } >/dev/null; then
29297 if test -s conftest.err; then
29298 ac_cpp_err=$ac_c_preproc_warn_flag
29299 else
29300 ac_cpp_err=
29301 fi
29302else
29303 ac_cpp_err=yes
29304fi
29305if test -z "$ac_cpp_err"; then
29306 ac_header_preproc=yes
29307else
29308 echo "$as_me: failed program was:" >&5
29309sed 's/^/| /' conftest.$ac_ext >&5
29310
29311 ac_header_preproc=no
29312fi
29313rm -f conftest.err conftest.$ac_ext
29314echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29315echo "${ECHO_T}$ac_header_preproc" >&6
29316
29317# So? What about this header?
29318case $ac_header_compiler:$ac_header_preproc in
29319 yes:no )
29320 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29321echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29322 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29323echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29324 (
29325 cat <<\_ASBOX
29326## ------------------------------------ ##
29327## Report this to bug-autoconf@gnu.org. ##
29328## ------------------------------------ ##
29329_ASBOX
29330 ) |
29331 sed "s/^/$as_me: WARNING: /" >&2
29332 ;;
29333 no:yes )
29334 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29335echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29336 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29337echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29338 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29339echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29340 (
29341 cat <<\_ASBOX
29342## ------------------------------------ ##
29343## Report this to bug-autoconf@gnu.org. ##
29344## ------------------------------------ ##
29345_ASBOX
29346 ) |
29347 sed "s/^/$as_me: WARNING: /" >&2
29348 ;;
29349esac
29350echo "$as_me:$LINENO: checking for $ac_header" >&5
29351echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29352if eval "test \"\${$as_ac_Header+set}\" = set"; then
29353 echo $ECHO_N "(cached) $ECHO_C" >&6
29354else
29355 eval "$as_ac_Header=$ac_header_preproc"
29356fi
29357echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29358echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29359
29360fi
29361if test `eval echo '${'$as_ac_Header'}'` = yes; then
29362 cat >>confdefs.h <<_ACEOF
29363#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29364_ACEOF
29365
29366fi
29367
29368done
29369
29370 if test "$ac_cv_header_sched_h" = "yes"; then
29371 echo "$as_me:$LINENO: checking for sched_yield" >&5
29372echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29373if test "${ac_cv_func_sched_yield+set}" = set; then
29374 echo $ECHO_N "(cached) $ECHO_C" >&6
29375else
29376 cat >conftest.$ac_ext <<_ACEOF
29377#line $LINENO "configure"
29378/* confdefs.h. */
29379_ACEOF
29380cat confdefs.h >>conftest.$ac_ext
29381cat >>conftest.$ac_ext <<_ACEOF
29382/* end confdefs.h. */
29383/* System header to define __stub macros and hopefully few prototypes,
29384 which can conflict with char sched_yield (); below.
29385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29386 <limits.h> exists even on freestanding compilers. */
29387#ifdef __STDC__
29388# include <limits.h>
29389#else
29390# include <assert.h>
29391#endif
29392/* Override any gcc2 internal prototype to avoid an error. */
29393#ifdef __cplusplus
29394extern "C"
29395{
29396#endif
29397/* We use char because int might match the return type of a gcc2
29398 builtin and then its argument prototype would still apply. */
29399char sched_yield ();
29400/* The GNU C library defines this for functions which it implements
29401 to always fail with ENOSYS. Some functions are actually named
29402 something starting with __ and the normal name is an alias. */
29403#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29404choke me
29405#else
29406char (*f) () = sched_yield;
29407#endif
29408#ifdef __cplusplus
29409}
29410#endif
29411
29412int
29413main ()
29414{
29415return f != sched_yield;
29416 ;
29417 return 0;
29418}
29419_ACEOF
29420rm -f conftest.$ac_objext conftest$ac_exeext
29421if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29422 (eval $ac_link) 2>&5
29423 ac_status=$?
29424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29425 (exit $ac_status); } &&
29426 { ac_try='test -s conftest$ac_exeext'
29427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29428 (eval $ac_try) 2>&5
29429 ac_status=$?
29430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29431 (exit $ac_status); }; }; then
29432 ac_cv_func_sched_yield=yes
29433else
29434 echo "$as_me: failed program was:" >&5
29435sed 's/^/| /' conftest.$ac_ext >&5
29436
29437ac_cv_func_sched_yield=no
29438fi
29439rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29440fi
29441echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29442echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29443if test $ac_cv_func_sched_yield = yes; then
29444 cat >>confdefs.h <<\_ACEOF
29445#define HAVE_SCHED_YIELD 1
29446_ACEOF
29447
29448else
29449
29450 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29451echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29452if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29453 echo $ECHO_N "(cached) $ECHO_C" >&6
29454else
29455 ac_check_lib_save_LIBS=$LIBS
29456LIBS="-lposix4 $LIBS"
29457cat >conftest.$ac_ext <<_ACEOF
29458#line $LINENO "configure"
29459/* confdefs.h. */
29460_ACEOF
29461cat confdefs.h >>conftest.$ac_ext
29462cat >>conftest.$ac_ext <<_ACEOF
29463/* end confdefs.h. */
29464
29465/* Override any gcc2 internal prototype to avoid an error. */
29466#ifdef __cplusplus
29467extern "C"
29468#endif
29469/* We use char because int might match the return type of a gcc2
29470 builtin and then its argument prototype would still apply. */
29471char sched_yield ();
29472int
29473main ()
29474{
29475sched_yield ();
29476 ;
29477 return 0;
29478}
29479_ACEOF
29480rm -f conftest.$ac_objext conftest$ac_exeext
29481if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29482 (eval $ac_link) 2>&5
29483 ac_status=$?
29484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29485 (exit $ac_status); } &&
29486 { ac_try='test -s conftest$ac_exeext'
29487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29488 (eval $ac_try) 2>&5
29489 ac_status=$?
29490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29491 (exit $ac_status); }; }; then
29492 ac_cv_lib_posix4_sched_yield=yes
29493else
29494 echo "$as_me: failed program was:" >&5
29495sed 's/^/| /' conftest.$ac_ext >&5
29496
29497ac_cv_lib_posix4_sched_yield=no
29498fi
29499rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29500LIBS=$ac_check_lib_save_LIBS
29501fi
29502echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29503echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29504if test $ac_cv_lib_posix4_sched_yield = yes; then
29505 cat >>confdefs.h <<\_ACEOF
29506#define HAVE_SCHED_YIELD 1
29507_ACEOF
29508 POSIX4_LINK=" -lposix4"
29509else
29510 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29511echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29512
29513fi
29514
29515
29516
29517fi
29518
29519 fi
29520
29521 HAVE_PRIOR_FUNCS=0
29522 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29523echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29524if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29525 echo $ECHO_N "(cached) $ECHO_C" >&6
29526else
29527 cat >conftest.$ac_ext <<_ACEOF
29528#line $LINENO "configure"
29529/* confdefs.h. */
29530_ACEOF
29531cat confdefs.h >>conftest.$ac_ext
29532cat >>conftest.$ac_ext <<_ACEOF
29533/* end confdefs.h. */
29534/* System header to define __stub macros and hopefully few prototypes,
29535 which can conflict with char pthread_attr_getschedpolicy (); below.
29536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29537 <limits.h> exists even on freestanding compilers. */
29538#ifdef __STDC__
29539# include <limits.h>
29540#else
29541# include <assert.h>
29542#endif
29543/* Override any gcc2 internal prototype to avoid an error. */
29544#ifdef __cplusplus
29545extern "C"
29546{
29547#endif
29548/* We use char because int might match the return type of a gcc2
29549 builtin and then its argument prototype would still apply. */
29550char pthread_attr_getschedpolicy ();
29551/* The GNU C library defines this for functions which it implements
29552 to always fail with ENOSYS. Some functions are actually named
29553 something starting with __ and the normal name is an alias. */
29554#if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29555choke me
29556#else
29557char (*f) () = pthread_attr_getschedpolicy;
29558#endif
29559#ifdef __cplusplus
29560}
29561#endif
29562
29563int
29564main ()
29565{
29566return f != pthread_attr_getschedpolicy;
29567 ;
29568 return 0;
29569}
29570_ACEOF
29571rm -f conftest.$ac_objext conftest$ac_exeext
29572if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29573 (eval $ac_link) 2>&5
29574 ac_status=$?
29575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29576 (exit $ac_status); } &&
29577 { ac_try='test -s conftest$ac_exeext'
29578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29579 (eval $ac_try) 2>&5
29580 ac_status=$?
29581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29582 (exit $ac_status); }; }; then
29583 ac_cv_func_pthread_attr_getschedpolicy=yes
29584else
29585 echo "$as_me: failed program was:" >&5
29586sed 's/^/| /' conftest.$ac_ext >&5
29587
29588ac_cv_func_pthread_attr_getschedpolicy=no
29589fi
29590rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29591fi
29592echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29593echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29594if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29595 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29596echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29597if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29598 echo $ECHO_N "(cached) $ECHO_C" >&6
29599else
29600 cat >conftest.$ac_ext <<_ACEOF
29601#line $LINENO "configure"
29602/* confdefs.h. */
29603_ACEOF
29604cat confdefs.h >>conftest.$ac_ext
29605cat >>conftest.$ac_ext <<_ACEOF
29606/* end confdefs.h. */
29607/* System header to define __stub macros and hopefully few prototypes,
29608 which can conflict with char pthread_attr_setschedparam (); below.
29609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29610 <limits.h> exists even on freestanding compilers. */
29611#ifdef __STDC__
29612# include <limits.h>
29613#else
29614# include <assert.h>
29615#endif
29616/* Override any gcc2 internal prototype to avoid an error. */
29617#ifdef __cplusplus
29618extern "C"
29619{
29620#endif
29621/* We use char because int might match the return type of a gcc2
29622 builtin and then its argument prototype would still apply. */
29623char pthread_attr_setschedparam ();
29624/* The GNU C library defines this for functions which it implements
29625 to always fail with ENOSYS. Some functions are actually named
29626 something starting with __ and the normal name is an alias. */
29627#if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29628choke me
29629#else
29630char (*f) () = pthread_attr_setschedparam;
29631#endif
29632#ifdef __cplusplus
29633}
29634#endif
29635
29636int
29637main ()
29638{
29639return f != pthread_attr_setschedparam;
29640 ;
29641 return 0;
29642}
29643_ACEOF
29644rm -f conftest.$ac_objext conftest$ac_exeext
29645if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29646 (eval $ac_link) 2>&5
29647 ac_status=$?
29648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29649 (exit $ac_status); } &&
29650 { ac_try='test -s conftest$ac_exeext'
29651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29652 (eval $ac_try) 2>&5
29653 ac_status=$?
29654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29655 (exit $ac_status); }; }; then
29656 ac_cv_func_pthread_attr_setschedparam=yes
29657else
29658 echo "$as_me: failed program was:" >&5
29659sed 's/^/| /' conftest.$ac_ext >&5
29660
29661ac_cv_func_pthread_attr_setschedparam=no
29662fi
29663rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29664fi
29665echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29666echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29667if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29668 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29669echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29670if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29671 echo $ECHO_N "(cached) $ECHO_C" >&6
29672else
29673 cat >conftest.$ac_ext <<_ACEOF
29674#line $LINENO "configure"
29675/* confdefs.h. */
29676_ACEOF
29677cat confdefs.h >>conftest.$ac_ext
29678cat >>conftest.$ac_ext <<_ACEOF
29679/* end confdefs.h. */
29680/* System header to define __stub macros and hopefully few prototypes,
29681 which can conflict with char sched_get_priority_max (); below.
29682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29683 <limits.h> exists even on freestanding compilers. */
29684#ifdef __STDC__
29685# include <limits.h>
29686#else
29687# include <assert.h>
29688#endif
29689/* Override any gcc2 internal prototype to avoid an error. */
29690#ifdef __cplusplus
29691extern "C"
29692{
29693#endif
29694/* We use char because int might match the return type of a gcc2
29695 builtin and then its argument prototype would still apply. */
29696char sched_get_priority_max ();
29697/* The GNU C library defines this for functions which it implements
29698 to always fail with ENOSYS. Some functions are actually named
29699 something starting with __ and the normal name is an alias. */
29700#if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29701choke me
29702#else
29703char (*f) () = sched_get_priority_max;
29704#endif
29705#ifdef __cplusplus
29706}
29707#endif
29708
29709int
29710main ()
29711{
29712return f != sched_get_priority_max;
29713 ;
29714 return 0;
29715}
29716_ACEOF
29717rm -f conftest.$ac_objext conftest$ac_exeext
29718if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29719 (eval $ac_link) 2>&5
29720 ac_status=$?
29721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29722 (exit $ac_status); } &&
29723 { ac_try='test -s conftest$ac_exeext'
29724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29725 (eval $ac_try) 2>&5
29726 ac_status=$?
29727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29728 (exit $ac_status); }; }; then
29729 ac_cv_func_sched_get_priority_max=yes
29730else
29731 echo "$as_me: failed program was:" >&5
29732sed 's/^/| /' conftest.$ac_ext >&5
29733
29734ac_cv_func_sched_get_priority_max=no
29735fi
29736rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29737fi
29738echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29739echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29740if test $ac_cv_func_sched_get_priority_max = yes; then
29741 HAVE_PRIOR_FUNCS=1
29742else
29743 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29744echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29745if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29746 echo $ECHO_N "(cached) $ECHO_C" >&6
29747else
29748 ac_check_lib_save_LIBS=$LIBS
29749LIBS="-lposix4 $LIBS"
29750cat >conftest.$ac_ext <<_ACEOF
29751#line $LINENO "configure"
29752/* confdefs.h. */
29753_ACEOF
29754cat confdefs.h >>conftest.$ac_ext
29755cat >>conftest.$ac_ext <<_ACEOF
29756/* end confdefs.h. */
29757
29758/* Override any gcc2 internal prototype to avoid an error. */
29759#ifdef __cplusplus
29760extern "C"
29761#endif
29762/* We use char because int might match the return type of a gcc2
29763 builtin and then its argument prototype would still apply. */
29764char sched_get_priority_max ();
29765int
29766main ()
29767{
29768sched_get_priority_max ();
29769 ;
29770 return 0;
29771}
29772_ACEOF
29773rm -f conftest.$ac_objext conftest$ac_exeext
29774if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29775 (eval $ac_link) 2>&5
29776 ac_status=$?
29777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29778 (exit $ac_status); } &&
29779 { ac_try='test -s conftest$ac_exeext'
29780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29781 (eval $ac_try) 2>&5
29782 ac_status=$?
29783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29784 (exit $ac_status); }; }; then
29785 ac_cv_lib_posix4_sched_get_priority_max=yes
29786else
29787 echo "$as_me: failed program was:" >&5
29788sed 's/^/| /' conftest.$ac_ext >&5
29789
29790ac_cv_lib_posix4_sched_get_priority_max=no
29791fi
29792rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29793LIBS=$ac_check_lib_save_LIBS
29794fi
29795echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29796echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29797if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29798
29799 HAVE_PRIOR_FUNCS=1
29800 POSIX4_LINK=" -lposix4"
29801
29802fi
29803
29804
29805fi
29806
29807
29808fi
29809
29810
29811fi
29812
29813
29814 if test "$HAVE_PRIOR_FUNCS" = 1; then
29815 cat >>confdefs.h <<\_ACEOF
29816#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29817_ACEOF
29818
29819 else
29820 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29821echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29822 fi
29823
29824 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29825echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29826if test "${ac_cv_func_pthread_cancel+set}" = set; then
29827 echo $ECHO_N "(cached) $ECHO_C" >&6
29828else
29829 cat >conftest.$ac_ext <<_ACEOF
29830#line $LINENO "configure"
29831/* confdefs.h. */
29832_ACEOF
29833cat confdefs.h >>conftest.$ac_ext
29834cat >>conftest.$ac_ext <<_ACEOF
29835/* end confdefs.h. */
29836/* System header to define __stub macros and hopefully few prototypes,
29837 which can conflict with char pthread_cancel (); below.
29838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29839 <limits.h> exists even on freestanding compilers. */
29840#ifdef __STDC__
29841# include <limits.h>
29842#else
29843# include <assert.h>
29844#endif
29845/* Override any gcc2 internal prototype to avoid an error. */
29846#ifdef __cplusplus
29847extern "C"
29848{
29849#endif
29850/* We use char because int might match the return type of a gcc2
29851 builtin and then its argument prototype would still apply. */
29852char pthread_cancel ();
29853/* The GNU C library defines this for functions which it implements
29854 to always fail with ENOSYS. Some functions are actually named
29855 something starting with __ and the normal name is an alias. */
29856#if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29857choke me
29858#else
29859char (*f) () = pthread_cancel;
29860#endif
29861#ifdef __cplusplus
29862}
29863#endif
29864
29865int
29866main ()
29867{
29868return f != pthread_cancel;
29869 ;
29870 return 0;
29871}
29872_ACEOF
29873rm -f conftest.$ac_objext conftest$ac_exeext
29874if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29875 (eval $ac_link) 2>&5
29876 ac_status=$?
29877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29878 (exit $ac_status); } &&
29879 { ac_try='test -s conftest$ac_exeext'
29880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29881 (eval $ac_try) 2>&5
29882 ac_status=$?
29883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29884 (exit $ac_status); }; }; then
29885 ac_cv_func_pthread_cancel=yes
29886else
29887 echo "$as_me: failed program was:" >&5
29888sed 's/^/| /' conftest.$ac_ext >&5
29889
29890ac_cv_func_pthread_cancel=no
29891fi
29892rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29893fi
29894echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29895echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29896if test $ac_cv_func_pthread_cancel = yes; then
29897 cat >>confdefs.h <<\_ACEOF
29898#define HAVE_PTHREAD_CANCEL 1
29899_ACEOF
29900
29901else
29902 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29903echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29904fi
29905
29906
29907
29908
29909 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29910echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29911if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29912 echo $ECHO_N "(cached) $ECHO_C" >&6
29913else
29914
29915 cat >conftest.$ac_ext <<_ACEOF
29916#line $LINENO "configure"
29917/* confdefs.h. */
29918_ACEOF
29919cat confdefs.h >>conftest.$ac_ext
29920cat >>conftest.$ac_ext <<_ACEOF
29921/* end confdefs.h. */
29922#include <pthread.h>
29923int
29924main ()
29925{
29926
29927 pthread_mutexattr_t attr;
29928 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29929
29930 ;
29931 return 0;
29932}
29933_ACEOF
29934rm -f conftest.$ac_objext
29935if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29936 (eval $ac_compile) 2>&5
29937 ac_status=$?
29938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29939 (exit $ac_status); } &&
29940 { ac_try='test -s conftest.$ac_objext'
29941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29942 (eval $ac_try) 2>&5
29943 ac_status=$?
29944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29945 (exit $ac_status); }; }; then
29946
29947 wx_cv_type_pthread_mutexattr_t=yes
29948
29949else
29950 echo "$as_me: failed program was:" >&5
29951sed 's/^/| /' conftest.$ac_ext >&5
29952
29953
29954 wx_cv_type_pthread_mutexattr_t=no
29955
29956
29957fi
29958rm -f conftest.$ac_objext conftest.$ac_ext
29959
29960fi
29961echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29962echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29963
29964 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29965 cat >>confdefs.h <<\_ACEOF
29966#define HAVE_PTHREAD_MUTEXATTR_T 1
29967_ACEOF
29968
29969 else
29970 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29971echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29972if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29973 echo $ECHO_N "(cached) $ECHO_C" >&6
29974else
29975
29976 cat >conftest.$ac_ext <<_ACEOF
29977#line $LINENO "configure"
29978/* confdefs.h. */
29979_ACEOF
29980cat confdefs.h >>conftest.$ac_ext
29981cat >>conftest.$ac_ext <<_ACEOF
29982/* end confdefs.h. */
29983#include <pthread.h>
29984int
29985main ()
29986{
29987
29988 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29989
29990 ;
29991 return 0;
29992}
29993_ACEOF
29994rm -f conftest.$ac_objext
29995if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29996 (eval $ac_compile) 2>&5
29997 ac_status=$?
29998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29999 (exit $ac_status); } &&
30000 { ac_try='test -s conftest.$ac_objext'
30001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30002 (eval $ac_try) 2>&5
30003 ac_status=$?
30004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30005 (exit $ac_status); }; }; then
30006
30007 wx_cv_type_pthread_rec_mutex_init=yes
30008
30009else
30010 echo "$as_me: failed program was:" >&5
30011sed 's/^/| /' conftest.$ac_ext >&5
30012
30013
30014 wx_cv_type_pthread_rec_mutex_init=no
30015
30016
30017fi
30018rm -f conftest.$ac_objext conftest.$ac_ext
30019
30020fi
30021echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30022echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30023 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30024 cat >>confdefs.h <<\_ACEOF
30025#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30026_ACEOF
30027
30028 else
30029 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30030echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30031 fi
30032 fi
30033 fi
30034
30035else
30036 if test "$wxUSE_THREADS" = "yes" ; then
30037 case "${host}" in
30038 *-*-mingw32* )
30039 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30040echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30041if test "${wx_cv_cflags_mthread+set}" = set; then
30042 echo $ECHO_N "(cached) $ECHO_C" >&6
30043else
30044
30045 CFLAGS_OLD="$CFLAGS"
30046 CFLAGS="$CFLAGS -mthreads"
30047 cat >conftest.$ac_ext <<_ACEOF
30048#line $LINENO "configure"
30049/* confdefs.h. */
30050_ACEOF
30051cat confdefs.h >>conftest.$ac_ext
30052cat >>conftest.$ac_ext <<_ACEOF
30053/* end confdefs.h. */
30054
30055int
30056main ()
30057{
30058
30059 ;
30060 return 0;
30061}
30062_ACEOF
30063rm -f conftest.$ac_objext
30064if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30065 (eval $ac_compile) 2>&5
30066 ac_status=$?
30067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30068 (exit $ac_status); } &&
30069 { ac_try='test -s conftest.$ac_objext'
30070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30071 (eval $ac_try) 2>&5
30072 ac_status=$?
30073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30074 (exit $ac_status); }; }; then
30075 wx_cv_cflags_mthread=yes
30076else
30077 echo "$as_me: failed program was:" >&5
30078sed 's/^/| /' conftest.$ac_ext >&5
30079
30080wx_cv_cflags_mthread=no
30081
30082fi
30083rm -f conftest.$ac_objext conftest.$ac_ext
30084
30085
30086fi
30087echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30088echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30089
30090 if test "$wx_cv_cflags_mthread" = "yes"; then
30091 CXXFLAGS="$CXXFLAGS -mthreads"
30092 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
30093 LDFLAGS="$LDFLAGS -mthreads"
30094 else
30095 CFLAGS="$CFLAGS_OLD"
30096 fi
30097 ;;
30098 *-pc-os2*emx )
30099 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
30100 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
30101 LDFLAGS="$LDFLAGS -Zmt"
30102 ;;
30103 esac
30104 fi
30105fi
30106
30107if test "$wxUSE_THREADS" = "yes"; then
30108 cat >>confdefs.h <<\_ACEOF
30109#define wxUSE_THREADS 1
30110_ACEOF
30111
30112
30113 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
30114else
30115 if test "$ac_cv_func_strtok_r" = "yes"; then
30116 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30117echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30118 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30119 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
30120 echo "$as_me:$LINENO: result: yes" >&5
30121echo "${ECHO_T}yes" >&6
30122 else
30123 echo "$as_me:$LINENO: result: no" >&5
30124echo "${ECHO_T}no" >&6
30125 fi
30126 fi
30127fi
30128
30129if test "$WXGTK20" = 1 ; then
30130 cat >>confdefs.h <<_ACEOF
30131#define __WXGTK20__ $WXGTK20
30132_ACEOF
30133
30134 WXGTK12=1
30135fi
30136
30137if test "$WXGTK12" = 1 ; then
30138 cat >>confdefs.h <<_ACEOF
30139#define __WXGTK12__ $WXGTK12
30140_ACEOF
30141
30142fi
30143
30144if test "$WXGTK127" = 1 ; then
30145 cat >>confdefs.h <<_ACEOF
30146#define __WXGTK127__ $WXGTK127
30147_ACEOF
30148
30149fi
30150
30151WXDEBUG=
30152
30153if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30154 WXDEBUG="-g"
30155 wxUSE_OPTIMISE=no
30156fi
30157
30158if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30159 wxUSE_DEBUG_INFO=yes
30160 WXDEBUG="-ggdb"
30161fi
30162
30163if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30164 cat >>confdefs.h <<\_ACEOF
30165#define WXDEBUG 1
30166_ACEOF
30167
30168 WXDEBUG_DEFINE="-D__WXDEBUG__"
30169else
30170 if test "$wxUSE_GTK" = 1 ; then
30171 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
30172 fi
30173fi
30174
30175if test "$wxUSE_MEM_TRACING" = "yes" ; then
30176 cat >>confdefs.h <<\_ACEOF
30177#define wxUSE_MEMORY_TRACING 1
30178_ACEOF
30179
30180 cat >>confdefs.h <<\_ACEOF
30181#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30182_ACEOF
30183
30184 cat >>confdefs.h <<\_ACEOF
30185#define wxUSE_DEBUG_NEW_ALWAYS 1
30186_ACEOF
30187
30188 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
30189fi
30190
30191if test "$wxUSE_DMALLOC" = "yes" ; then
30192 DMALLOC_LIBS="-ldmalloc"
30193fi
30194
30195PROFILE=
30196if test "$wxUSE_PROFILE" = "yes" ; then
30197 PROFILE=" -pg"
30198fi
30199
30200CODE_GEN_FLAGS=
30201CODE_GEN_FLAGS_CXX=
30202if test "$GCC" = "yes" ; then
30203 if test "$wxUSE_NO_RTTI" = "yes" ; then
30204 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
30205 fi
30206 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30207 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30208 fi
30209 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30210 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
30211 fi
30212
30213 case "${host}" in
30214 powerpc*-*-aix* )
30215 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
30216 ;;
30217 *-hppa* )
30218 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
30219 ;;
30220 esac
30221fi
30222
30223OPTIMISE=
30224if test "$wxUSE_OPTIMISE" = "no" ; then
30225 if test "$GCC" = yes ; then
30226 OPTIMISE="-O0"
30227 fi
30228else
30229 if test "$GCC" = yes ; then
30230 OPTIMISE="-O2"
30231
30232 case "${host}" in
30233 i586-*-*|i686-*-* )
30234 OPTIMISE="${OPTIMISE} "
30235 ;;
30236 esac
30237 else
30238 OPTIMISE="-O"
30239 fi
30240fi
30241
30242
30243if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30244 cat >>confdefs.h <<\_ACEOF
30245#define WXWIN_COMPATIBILITY_2_2 1
30246_ACEOF
30247
30248
30249 WXWIN_COMPATIBILITY_2_4="yes"
30250fi
30251
30252if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30253 cat >>confdefs.h <<\_ACEOF
30254#define WXWIN_COMPATIBILITY_2_4 1
30255_ACEOF
30256
30257fi
30258
30259
30260if test "$wxUSE_GUI" = "yes"; then
30261 cat >>confdefs.h <<\_ACEOF
30262#define wxUSE_GUI 1
30263_ACEOF
30264
30265
30266 else
30267 cat >>confdefs.h <<\_ACEOF
30268#define wxUSE_NOGUI 1
30269_ACEOF
30270
30271fi
30272
30273
30274if test "$wxUSE_UNIX" = "yes"; then
30275 cat >>confdefs.h <<\_ACEOF
30276#define wxUSE_UNIX 1
30277_ACEOF
30278
30279fi
30280
30281
30282if test "$wxUSE_STL" = "yes"; then
30283 cat >>confdefs.h <<\_ACEOF
30284#define wxUSE_STL 1
30285_ACEOF
30286
30287fi
30288
30289if test "$wxUSE_APPLE_IEEE" = "yes"; then
30290 cat >>confdefs.h <<\_ACEOF
30291#define wxUSE_APPLE_IEEE 1
30292_ACEOF
30293
30294fi
30295
30296if test "$wxUSE_TIMER" = "yes"; then
30297 cat >>confdefs.h <<\_ACEOF
30298#define wxUSE_TIMER 1
30299_ACEOF
30300
30301fi
30302
30303if test "$wxUSE_WAVE" = "yes"; then
30304 cat >>confdefs.h <<\_ACEOF
30305#define wxUSE_WAVE 1
30306_ACEOF
30307
30308fi
30309
30310if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30311 cat >>confdefs.h <<\_ACEOF
30312#define wxUSE_CMDLINE_PARSER 1
30313_ACEOF
30314
30315fi
30316
30317if test "$wxUSE_STOPWATCH" = "yes"; then
30318 cat >>confdefs.h <<\_ACEOF
30319#define wxUSE_STOPWATCH 1
30320_ACEOF
30321
30322fi
30323
30324if test "$wxUSE_DATETIME" = "yes"; then
30325 cat >>confdefs.h <<\_ACEOF
30326#define wxUSE_DATETIME 1
30327_ACEOF
30328
30329fi
30330
30331if test "$wxUSE_FILE" = "yes"; then
30332 cat >>confdefs.h <<\_ACEOF
30333#define wxUSE_FILE 1
30334_ACEOF
30335
30336fi
30337
30338if test "$wxUSE_FFILE" = "yes"; then
30339 cat >>confdefs.h <<\_ACEOF
30340#define wxUSE_FFILE 1
30341_ACEOF
30342
30343fi
30344
30345if test "$wxUSE_FILESYSTEM" = "yes"; then
30346 cat >>confdefs.h <<\_ACEOF
30347#define wxUSE_FILESYSTEM 1
30348_ACEOF
30349
30350fi
30351
30352if test "$wxUSE_FS_ZIP" = "yes"; then
30353 cat >>confdefs.h <<\_ACEOF
30354#define wxUSE_FS_ZIP 1
30355_ACEOF
30356
30357fi
30358
30359if test "$wxUSE_ZIPSTREAM" = "yes"; then
30360 cat >>confdefs.h <<\_ACEOF
30361#define wxUSE_ZIPSTREAM 1
30362_ACEOF
30363
30364fi
30365
30366if test "$wxUSE_GZSTREAM" = "yes"; then
30367 cat >>confdefs.h <<\_ACEOF
30368#define wxUSE_GZSTREAM 1
30369_ACEOF
30370
30371fi
30372
30373if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30374 cat >>confdefs.h <<\_ACEOF
30375#define wxUSE_ON_FATAL_EXCEPTION 1
30376_ACEOF
30377
30378fi
30379
30380if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30381 cat >>confdefs.h <<\_ACEOF
30382#define wxUSE_SNGLINST_CHECKER 1
30383_ACEOF
30384
30385fi
30386
30387if test "$wxUSE_BUSYINFO" = "yes"; then
30388 cat >>confdefs.h <<\_ACEOF
30389#define wxUSE_BUSYINFO 1
30390_ACEOF
30391
30392fi
30393
30394if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30395 cat >>confdefs.h <<\_ACEOF
30396#define wxUSE_STD_IOSTREAM 1
30397_ACEOF
30398
30399fi
30400
30401if test "$wxUSE_TEXTBUFFER" = "yes"; then
30402 cat >>confdefs.h <<\_ACEOF
30403#define wxUSE_TEXTBUFFER 1
30404_ACEOF
30405
30406fi
30407
30408if test "$wxUSE_TEXTFILE" = "yes"; then
30409 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30410 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30411echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30412 else
30413 cat >>confdefs.h <<\_ACEOF
30414#define wxUSE_TEXTFILE 1
30415_ACEOF
30416
30417 fi
30418fi
30419
30420if test "$wxUSE_CONFIG" = "yes" ; then
30421 if test "$wxUSE_TEXTFILE" != "yes"; then
30422 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30423echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30424 else
30425 cat >>confdefs.h <<\_ACEOF
30426#define wxUSE_CONFIG 1
30427_ACEOF
30428
30429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30430 fi
30431fi
30432
30433if test "$wxUSE_INTL" = "yes" ; then
30434 if test "$wxUSE_FILE" != "yes"; then
30435 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30436echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30437 else
30438 cat >>confdefs.h <<\_ACEOF
30439#define wxUSE_INTL 1
30440_ACEOF
30441
30442 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30443 GUIDIST="$GUIDIST INTL_DIST"
30444 fi
30445fi
30446
30447if test "$wxUSE_LOG" = "yes"; then
30448 cat >>confdefs.h <<\_ACEOF
30449#define wxUSE_LOG 1
30450_ACEOF
30451
30452
30453 if test "$wxUSE_LOGGUI" = "yes"; then
30454 cat >>confdefs.h <<\_ACEOF
30455#define wxUSE_LOGGUI 1
30456_ACEOF
30457
30458 fi
30459
30460 if test "$wxUSE_LOGWINDOW" = "yes"; then
30461 cat >>confdefs.h <<\_ACEOF
30462#define wxUSE_LOGWINDOW 1
30463_ACEOF
30464
30465 fi
30466
30467 if test "$wxUSE_LOGDIALOG" = "yes"; then
30468 cat >>confdefs.h <<\_ACEOF
30469#define wxUSE_LOG_DIALOG 1
30470_ACEOF
30471
30472 fi
30473fi
30474
30475if test "$wxUSE_LONGLONG" = "yes"; then
30476 cat >>confdefs.h <<\_ACEOF
30477#define wxUSE_LONGLONG 1
30478_ACEOF
30479
30480fi
30481
30482if test "$wxUSE_GEOMETRY" = "yes"; then
30483 cat >>confdefs.h <<\_ACEOF
30484#define wxUSE_GEOMETRY 1
30485_ACEOF
30486
30487fi
30488
30489if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30490 cat >>confdefs.h <<\_ACEOF
30491#define wxUSE_DIALUP_MANAGER 1
30492_ACEOF
30493
30494 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30495fi
30496
30497if test "$wxUSE_STREAMS" = "yes" ; then
30498 cat >>confdefs.h <<\_ACEOF
30499#define wxUSE_STREAMS 1
30500_ACEOF
30501
30502fi
30503
30504
30505if test "$wxUSE_DATETIME" = "yes"; then
30506
30507for ac_func in strptime
30508do
30509as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30510echo "$as_me:$LINENO: checking for $ac_func" >&5
30511echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30512if eval "test \"\${$as_ac_var+set}\" = set"; then
30513 echo $ECHO_N "(cached) $ECHO_C" >&6
30514else
30515 cat >conftest.$ac_ext <<_ACEOF
30516#line $LINENO "configure"
30517/* confdefs.h. */
30518_ACEOF
30519cat confdefs.h >>conftest.$ac_ext
30520cat >>conftest.$ac_ext <<_ACEOF
30521/* end confdefs.h. */
30522/* System header to define __stub macros and hopefully few prototypes,
30523 which can conflict with char $ac_func (); below.
30524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30525 <limits.h> exists even on freestanding compilers. */
30526#ifdef __STDC__
30527# include <limits.h>
30528#else
30529# include <assert.h>
30530#endif
30531/* Override any gcc2 internal prototype to avoid an error. */
30532#ifdef __cplusplus
30533extern "C"
30534{
30535#endif
30536/* We use char because int might match the return type of a gcc2
30537 builtin and then its argument prototype would still apply. */
30538char $ac_func ();
30539/* The GNU C library defines this for functions which it implements
30540 to always fail with ENOSYS. Some functions are actually named
30541 something starting with __ and the normal name is an alias. */
30542#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30543choke me
30544#else
30545char (*f) () = $ac_func;
30546#endif
30547#ifdef __cplusplus
30548}
30549#endif
30550
30551int
30552main ()
30553{
30554return f != $ac_func;
30555 ;
30556 return 0;
30557}
30558_ACEOF
30559rm -f conftest.$ac_objext conftest$ac_exeext
30560if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30561 (eval $ac_link) 2>&5
30562 ac_status=$?
30563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30564 (exit $ac_status); } &&
30565 { ac_try='test -s conftest$ac_exeext'
30566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30567 (eval $ac_try) 2>&5
30568 ac_status=$?
30569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570 (exit $ac_status); }; }; then
30571 eval "$as_ac_var=yes"
30572else
30573 echo "$as_me: failed program was:" >&5
30574sed 's/^/| /' conftest.$ac_ext >&5
30575
30576eval "$as_ac_var=no"
30577fi
30578rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30579fi
30580echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30581echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30582if test `eval echo '${'$as_ac_var'}'` = yes; then
30583 cat >>confdefs.h <<_ACEOF
30584#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30585_ACEOF
30586
30587fi
30588done
30589
30590
30591 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30592echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30593if test "${wx_cv_var_timezone+set}" = set; then
30594 echo $ECHO_N "(cached) $ECHO_C" >&6
30595else
30596
30597 cat >conftest.$ac_ext <<_ACEOF
30598#line $LINENO "configure"
30599/* confdefs.h. */
30600_ACEOF
30601cat confdefs.h >>conftest.$ac_ext
30602cat >>conftest.$ac_ext <<_ACEOF
30603/* end confdefs.h. */
30604
30605 #include <time.h>
30606
30607int
30608main ()
30609{
30610
30611 int tz;
30612 tz = timezone;
30613
30614 ;
30615 return 0;
30616}
30617_ACEOF
30618rm -f conftest.$ac_objext
30619if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30620 (eval $ac_compile) 2>&5
30621 ac_status=$?
30622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30623 (exit $ac_status); } &&
30624 { ac_try='test -s conftest.$ac_objext'
30625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30626 (eval $ac_try) 2>&5
30627 ac_status=$?
30628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30629 (exit $ac_status); }; }; then
30630
30631 wx_cv_var_timezone=timezone
30632
30633else
30634 echo "$as_me: failed program was:" >&5
30635sed 's/^/| /' conftest.$ac_ext >&5
30636
30637
30638 cat >conftest.$ac_ext <<_ACEOF
30639#line $LINENO "configure"
30640/* confdefs.h. */
30641_ACEOF
30642cat confdefs.h >>conftest.$ac_ext
30643cat >>conftest.$ac_ext <<_ACEOF
30644/* end confdefs.h. */
30645
30646 #include <time.h>
30647
30648int
30649main ()
30650{
30651
30652 int tz;
30653 tz = _timezone;
30654
30655 ;
30656 return 0;
30657}
30658_ACEOF
30659rm -f conftest.$ac_objext
30660if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30661 (eval $ac_compile) 2>&5
30662 ac_status=$?
30663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30664 (exit $ac_status); } &&
30665 { ac_try='test -s conftest.$ac_objext'
30666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30667 (eval $ac_try) 2>&5
30668 ac_status=$?
30669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30670 (exit $ac_status); }; }; then
30671
30672 wx_cv_var_timezone=_timezone
30673
30674else
30675 echo "$as_me: failed program was:" >&5
30676sed 's/^/| /' conftest.$ac_ext >&5
30677
30678
30679 cat >conftest.$ac_ext <<_ACEOF
30680#line $LINENO "configure"
30681/* confdefs.h. */
30682_ACEOF
30683cat confdefs.h >>conftest.$ac_ext
30684cat >>conftest.$ac_ext <<_ACEOF
30685/* end confdefs.h. */
30686
30687 #include <time.h>
30688
30689int
30690main ()
30691{
30692
30693 int tz;
30694 tz = __timezone;
30695
30696 ;
30697 return 0;
30698}
30699_ACEOF
30700rm -f conftest.$ac_objext
30701if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30702 (eval $ac_compile) 2>&5
30703 ac_status=$?
30704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30705 (exit $ac_status); } &&
30706 { ac_try='test -s conftest.$ac_objext'
30707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30708 (eval $ac_try) 2>&5
30709 ac_status=$?
30710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30711 (exit $ac_status); }; }; then
30712
30713 wx_cv_var_timezone=__timezone
30714
30715else
30716 echo "$as_me: failed program was:" >&5
30717sed 's/^/| /' conftest.$ac_ext >&5
30718
30719
30720 if test "$USE_DOS" = 0 ; then
30721 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30722echo "$as_me: WARNING: no timezone variable" >&2;}
30723 fi
30724
30725
30726fi
30727rm -f conftest.$ac_objext conftest.$ac_ext
30728
30729
30730fi
30731rm -f conftest.$ac_objext conftest.$ac_ext
30732
30733
30734fi
30735rm -f conftest.$ac_objext conftest.$ac_ext
30736
30737
30738fi
30739echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30740echo "${ECHO_T}$wx_cv_var_timezone" >&6
30741
30742 if test "x$wx_cv_var_timezone" != x ; then
30743 cat >>confdefs.h <<_ACEOF
30744#define WX_TIMEZONE $wx_cv_var_timezone
30745_ACEOF
30746
30747 fi
30748
30749
30750for ac_func in localtime
30751do
30752as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30753echo "$as_me:$LINENO: checking for $ac_func" >&5
30754echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30755if eval "test \"\${$as_ac_var+set}\" = set"; then
30756 echo $ECHO_N "(cached) $ECHO_C" >&6
30757else
30758 cat >conftest.$ac_ext <<_ACEOF
30759#line $LINENO "configure"
30760/* confdefs.h. */
30761_ACEOF
30762cat confdefs.h >>conftest.$ac_ext
30763cat >>conftest.$ac_ext <<_ACEOF
30764/* end confdefs.h. */
30765/* System header to define __stub macros and hopefully few prototypes,
30766 which can conflict with char $ac_func (); below.
30767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30768 <limits.h> exists even on freestanding compilers. */
30769#ifdef __STDC__
30770# include <limits.h>
30771#else
30772# include <assert.h>
30773#endif
30774/* Override any gcc2 internal prototype to avoid an error. */
30775#ifdef __cplusplus
30776extern "C"
30777{
30778#endif
30779/* We use char because int might match the return type of a gcc2
30780 builtin and then its argument prototype would still apply. */
30781char $ac_func ();
30782/* The GNU C library defines this for functions which it implements
30783 to always fail with ENOSYS. Some functions are actually named
30784 something starting with __ and the normal name is an alias. */
30785#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30786choke me
30787#else
30788char (*f) () = $ac_func;
30789#endif
30790#ifdef __cplusplus
30791}
30792#endif
30793
30794int
30795main ()
30796{
30797return f != $ac_func;
30798 ;
30799 return 0;
30800}
30801_ACEOF
30802rm -f conftest.$ac_objext conftest$ac_exeext
30803if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30804 (eval $ac_link) 2>&5
30805 ac_status=$?
30806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30807 (exit $ac_status); } &&
30808 { ac_try='test -s conftest$ac_exeext'
30809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30810 (eval $ac_try) 2>&5
30811 ac_status=$?
30812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30813 (exit $ac_status); }; }; then
30814 eval "$as_ac_var=yes"
30815else
30816 echo "$as_me: failed program was:" >&5
30817sed 's/^/| /' conftest.$ac_ext >&5
30818
30819eval "$as_ac_var=no"
30820fi
30821rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30822fi
30823echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30824echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30825if test `eval echo '${'$as_ac_var'}'` = yes; then
30826 cat >>confdefs.h <<_ACEOF
30827#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30828_ACEOF
30829
30830fi
30831done
30832
30833
30834 if test "$ac_cv_func_localtime" = "yes"; then
30835 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30836echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30837if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30838 echo $ECHO_N "(cached) $ECHO_C" >&6
30839else
30840
30841 cat >conftest.$ac_ext <<_ACEOF
30842#line $LINENO "configure"
30843/* confdefs.h. */
30844_ACEOF
30845cat confdefs.h >>conftest.$ac_ext
30846cat >>conftest.$ac_ext <<_ACEOF
30847/* end confdefs.h. */
30848
30849 #include <time.h>
30850
30851int
30852main ()
30853{
30854
30855 struct tm tm;
30856 tm.tm_gmtoff++;
30857
30858 ;
30859 return 0;
30860}
30861_ACEOF
30862rm -f conftest.$ac_objext
30863if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30864 (eval $ac_compile) 2>&5
30865 ac_status=$?
30866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30867 (exit $ac_status); } &&
30868 { ac_try='test -s conftest.$ac_objext'
30869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30870 (eval $ac_try) 2>&5
30871 ac_status=$?
30872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30873 (exit $ac_status); }; }; then
30874
30875 wx_cv_struct_tm_has_gmtoff=yes
30876
30877else
30878 echo "$as_me: failed program was:" >&5
30879sed 's/^/| /' conftest.$ac_ext >&5
30880
30881wx_cv_struct_tm_has_gmtoff=no
30882
30883fi
30884rm -f conftest.$ac_objext conftest.$ac_ext
30885
30886fi
30887echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30888echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30889 fi
30890
30891 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30892 cat >>confdefs.h <<\_ACEOF
30893#define WX_GMTOFF_IN_TM 1
30894_ACEOF
30895
30896 fi
30897
30898
30899
30900for ac_func in gettimeofday ftime
30901do
30902as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30903echo "$as_me:$LINENO: checking for $ac_func" >&5
30904echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30905if eval "test \"\${$as_ac_var+set}\" = set"; then
30906 echo $ECHO_N "(cached) $ECHO_C" >&6
30907else
30908 cat >conftest.$ac_ext <<_ACEOF
30909#line $LINENO "configure"
30910/* confdefs.h. */
30911_ACEOF
30912cat confdefs.h >>conftest.$ac_ext
30913cat >>conftest.$ac_ext <<_ACEOF
30914/* end confdefs.h. */
30915/* System header to define __stub macros and hopefully few prototypes,
30916 which can conflict with char $ac_func (); below.
30917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30918 <limits.h> exists even on freestanding compilers. */
30919#ifdef __STDC__
30920# include <limits.h>
30921#else
30922# include <assert.h>
30923#endif
30924/* Override any gcc2 internal prototype to avoid an error. */
30925#ifdef __cplusplus
30926extern "C"
30927{
30928#endif
30929/* We use char because int might match the return type of a gcc2
30930 builtin and then its argument prototype would still apply. */
30931char $ac_func ();
30932/* The GNU C library defines this for functions which it implements
30933 to always fail with ENOSYS. Some functions are actually named
30934 something starting with __ and the normal name is an alias. */
30935#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30936choke me
30937#else
30938char (*f) () = $ac_func;
30939#endif
30940#ifdef __cplusplus
30941}
30942#endif
30943
30944int
30945main ()
30946{
30947return f != $ac_func;
30948 ;
30949 return 0;
30950}
30951_ACEOF
30952rm -f conftest.$ac_objext conftest$ac_exeext
30953if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30954 (eval $ac_link) 2>&5
30955 ac_status=$?
30956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30957 (exit $ac_status); } &&
30958 { ac_try='test -s conftest$ac_exeext'
30959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30960 (eval $ac_try) 2>&5
30961 ac_status=$?
30962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30963 (exit $ac_status); }; }; then
30964 eval "$as_ac_var=yes"
30965else
30966 echo "$as_me: failed program was:" >&5
30967sed 's/^/| /' conftest.$ac_ext >&5
30968
30969eval "$as_ac_var=no"
30970fi
30971rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30972fi
30973echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30974echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30975if test `eval echo '${'$as_ac_var'}'` = yes; then
30976 cat >>confdefs.h <<_ACEOF
30977#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30978_ACEOF
30979 break
30980fi
30981done
30982
30983
30984 if test "$ac_cv_func_gettimeofday" = "yes"; then
30985 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30986echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30987if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30988 echo $ECHO_N "(cached) $ECHO_C" >&6
30989else
30990
30991
30992
30993 ac_ext=cc
30994ac_cpp='$CXXCPP $CPPFLAGS'
30995ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30996ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30997ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30998
30999
31000 cat >conftest.$ac_ext <<_ACEOF
31001#line $LINENO "configure"
31002/* confdefs.h. */
31003_ACEOF
31004cat confdefs.h >>conftest.$ac_ext
31005cat >>conftest.$ac_ext <<_ACEOF
31006/* end confdefs.h. */
31007
31008 #include <sys/time.h>
31009 #include <unistd.h>
31010
31011int
31012main ()
31013{
31014
31015 struct timeval tv;
31016 gettimeofday(&tv, NULL);
31017
31018 ;
31019 return 0;
31020}
31021_ACEOF
31022rm -f conftest.$ac_objext
31023if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31024 (eval $ac_compile) 2>&5
31025 ac_status=$?
31026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31027 (exit $ac_status); } &&
31028 { ac_try='test -s conftest.$ac_objext'
31029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31030 (eval $ac_try) 2>&5
31031 ac_status=$?
31032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31033 (exit $ac_status); }; }; then
31034 wx_cv_func_gettimeofday_has_2_args=yes
31035else
31036 echo "$as_me: failed program was:" >&5
31037sed 's/^/| /' conftest.$ac_ext >&5
31038
31039cat >conftest.$ac_ext <<_ACEOF
31040#line $LINENO "configure"
31041/* confdefs.h. */
31042_ACEOF
31043cat confdefs.h >>conftest.$ac_ext
31044cat >>conftest.$ac_ext <<_ACEOF
31045/* end confdefs.h. */
31046
31047 #include <sys/time.h>
31048 #include <unistd.h>
31049
31050int
31051main ()
31052{
31053
31054 struct timeval tv;
31055 gettimeofday(&tv);
31056
31057 ;
31058 return 0;
31059}
31060_ACEOF
31061rm -f conftest.$ac_objext
31062if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31063 (eval $ac_compile) 2>&5
31064 ac_status=$?
31065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31066 (exit $ac_status); } &&
31067 { ac_try='test -s conftest.$ac_objext'
31068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31069 (eval $ac_try) 2>&5
31070 ac_status=$?
31071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31072 (exit $ac_status); }; }; then
31073 wx_cv_func_gettimeofday_has_2_args=no
31074else
31075 echo "$as_me: failed program was:" >&5
31076sed 's/^/| /' conftest.$ac_ext >&5
31077
31078
31079 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31080echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31081 wx_cv_func_gettimeofday_has_2_args=unknown
31082
31083
31084fi
31085rm -f conftest.$ac_objext conftest.$ac_ext
31086
31087fi
31088rm -f conftest.$ac_objext conftest.$ac_ext
31089 ac_ext=c
31090ac_cpp='$CPP $CPPFLAGS'
31091ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31092ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31093ac_compiler_gnu=$ac_cv_c_compiler_gnu
31094
31095
31096fi
31097echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31098echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31099
31100 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31101 cat >>confdefs.h <<\_ACEOF
31102#define WX_GETTIMEOFDAY_NO_TZ 1
31103_ACEOF
31104
31105 fi
31106 fi
31107
31108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
31109fi
31110
31111
31112if test "$wxUSE_SOCKETS" = "yes"; then
31113 if test "$wxUSE_MGL" = "1"; then
31114 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31115echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31116 wxUSE_SOCKETS="no"
31117 fi
31118 if test "$wxUSE_COCOA" = "1"; then
31119 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
31120echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31121 wxUSE_SOCKETS="no"
31122 fi
31123fi
31124
31125if test "$wxUSE_SOCKETS" = "yes"; then
31126 if test "$TOOLKIT" != "MSW"; then
31127 echo "$as_me:$LINENO: checking for socket" >&5
31128echo $ECHO_N "checking for socket... $ECHO_C" >&6
31129if test "${ac_cv_func_socket+set}" = set; then
31130 echo $ECHO_N "(cached) $ECHO_C" >&6
31131else
31132 cat >conftest.$ac_ext <<_ACEOF
31133#line $LINENO "configure"
31134/* confdefs.h. */
31135_ACEOF
31136cat confdefs.h >>conftest.$ac_ext
31137cat >>conftest.$ac_ext <<_ACEOF
31138/* end confdefs.h. */
31139/* System header to define __stub macros and hopefully few prototypes,
31140 which can conflict with char socket (); below.
31141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31142 <limits.h> exists even on freestanding compilers. */
31143#ifdef __STDC__
31144# include <limits.h>
31145#else
31146# include <assert.h>
31147#endif
31148/* Override any gcc2 internal prototype to avoid an error. */
31149#ifdef __cplusplus
31150extern "C"
31151{
31152#endif
31153/* We use char because int might match the return type of a gcc2
31154 builtin and then its argument prototype would still apply. */
31155char socket ();
31156/* The GNU C library defines this for functions which it implements
31157 to always fail with ENOSYS. Some functions are actually named
31158 something starting with __ and the normal name is an alias. */
31159#if defined (__stub_socket) || defined (__stub___socket)
31160choke me
31161#else
31162char (*f) () = socket;
31163#endif
31164#ifdef __cplusplus
31165}
31166#endif
31167
31168int
31169main ()
31170{
31171return f != socket;
31172 ;
31173 return 0;
31174}
31175_ACEOF
31176rm -f conftest.$ac_objext conftest$ac_exeext
31177if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31178 (eval $ac_link) 2>&5
31179 ac_status=$?
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); } &&
31182 { ac_try='test -s conftest$ac_exeext'
31183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31184 (eval $ac_try) 2>&5
31185 ac_status=$?
31186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31187 (exit $ac_status); }; }; then
31188 ac_cv_func_socket=yes
31189else
31190 echo "$as_me: failed program was:" >&5
31191sed 's/^/| /' conftest.$ac_ext >&5
31192
31193ac_cv_func_socket=no
31194fi
31195rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31196fi
31197echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31198echo "${ECHO_T}$ac_cv_func_socket" >&6
31199if test $ac_cv_func_socket = yes; then
31200 :
31201else
31202
31203 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31204echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31205if test "${ac_cv_lib_socket_socket+set}" = set; then
31206 echo $ECHO_N "(cached) $ECHO_C" >&6
31207else
31208 ac_check_lib_save_LIBS=$LIBS
31209LIBS="-lsocket $LIBS"
31210cat >conftest.$ac_ext <<_ACEOF
31211#line $LINENO "configure"
31212/* confdefs.h. */
31213_ACEOF
31214cat confdefs.h >>conftest.$ac_ext
31215cat >>conftest.$ac_ext <<_ACEOF
31216/* end confdefs.h. */
31217
31218/* Override any gcc2 internal prototype to avoid an error. */
31219#ifdef __cplusplus
31220extern "C"
31221#endif
31222/* We use char because int might match the return type of a gcc2
31223 builtin and then its argument prototype would still apply. */
31224char socket ();
31225int
31226main ()
31227{
31228socket ();
31229 ;
31230 return 0;
31231}
31232_ACEOF
31233rm -f conftest.$ac_objext conftest$ac_exeext
31234if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31235 (eval $ac_link) 2>&5
31236 ac_status=$?
31237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31238 (exit $ac_status); } &&
31239 { ac_try='test -s conftest$ac_exeext'
31240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31241 (eval $ac_try) 2>&5
31242 ac_status=$?
31243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31244 (exit $ac_status); }; }; then
31245 ac_cv_lib_socket_socket=yes
31246else
31247 echo "$as_me: failed program was:" >&5
31248sed 's/^/| /' conftest.$ac_ext >&5
31249
31250ac_cv_lib_socket_socket=no
31251fi
31252rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31253LIBS=$ac_check_lib_save_LIBS
31254fi
31255echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31256echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31257if test $ac_cv_lib_socket_socket = yes; then
31258 if test "$INET_LINK" != " -lsocket"; then
31259 INET_LINK="$INET_LINK -lsocket"
31260 fi
31261else
31262
31263 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31264echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31265 wxUSE_SOCKETS=no
31266
31267
31268fi
31269
31270
31271
31272fi
31273
31274 fi
31275fi
31276
31277if test "$wxUSE_SOCKETS" = "yes" ; then
31278 if test "$TOOLKIT" != "MSW"; then
31279 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31280echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31281if test "${wx_cv_type_getsockname3+set}" = set; then
31282 echo $ECHO_N "(cached) $ECHO_C" >&6
31283else
31284
31285 cat >conftest.$ac_ext <<_ACEOF
31286#line $LINENO "configure"
31287/* confdefs.h. */
31288_ACEOF
31289cat confdefs.h >>conftest.$ac_ext
31290cat >>conftest.$ac_ext <<_ACEOF
31291/* end confdefs.h. */
31292
31293 #include <sys/types.h>
31294 #include <sys/socket.h>
31295
31296int
31297main ()
31298{
31299
31300 socklen_t len;
31301 getsockname(0, 0, &len);
31302
31303 ;
31304 return 0;
31305}
31306_ACEOF
31307rm -f conftest.$ac_objext
31308if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31309 (eval $ac_compile) 2>&5
31310 ac_status=$?
31311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31312 (exit $ac_status); } &&
31313 { ac_try='test -s conftest.$ac_objext'
31314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31315 (eval $ac_try) 2>&5
31316 ac_status=$?
31317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31318 (exit $ac_status); }; }; then
31319 wx_cv_type_getsockname3=socklen_t
31320else
31321 echo "$as_me: failed program was:" >&5
31322sed 's/^/| /' conftest.$ac_ext >&5
31323
31324
31325 CFLAGS_OLD="$CFLAGS"
31326 if test "$GCC" = yes ; then
31327 CFLAGS="$CFLAGS -Werror"
31328 fi
31329
31330 cat >conftest.$ac_ext <<_ACEOF
31331#line $LINENO "configure"
31332/* confdefs.h. */
31333_ACEOF
31334cat confdefs.h >>conftest.$ac_ext
31335cat >>conftest.$ac_ext <<_ACEOF
31336/* end confdefs.h. */
31337
31338 #include <sys/types.h>
31339 #include <sys/socket.h>
31340
31341int
31342main ()
31343{
31344
31345 size_t len;
31346 getsockname(0, 0, &len);
31347
31348 ;
31349 return 0;
31350}
31351_ACEOF
31352rm -f conftest.$ac_objext
31353if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31354 (eval $ac_compile) 2>&5
31355 ac_status=$?
31356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31357 (exit $ac_status); } &&
31358 { ac_try='test -s conftest.$ac_objext'
31359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31360 (eval $ac_try) 2>&5
31361 ac_status=$?
31362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31363 (exit $ac_status); }; }; then
31364 wx_cv_type_getsockname3=size_t
31365else
31366 echo "$as_me: failed program was:" >&5
31367sed 's/^/| /' conftest.$ac_ext >&5
31368
31369cat >conftest.$ac_ext <<_ACEOF
31370#line $LINENO "configure"
31371/* confdefs.h. */
31372_ACEOF
31373cat confdefs.h >>conftest.$ac_ext
31374cat >>conftest.$ac_ext <<_ACEOF
31375/* end confdefs.h. */
31376
31377 #include <sys/types.h>
31378 #include <sys/socket.h>
31379
31380int
31381main ()
31382{
31383
31384 int len;
31385 getsockname(0, 0, &len);
31386
31387 ;
31388 return 0;
31389}
31390_ACEOF
31391rm -f conftest.$ac_objext
31392if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31393 (eval $ac_compile) 2>&5
31394 ac_status=$?
31395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31396 (exit $ac_status); } &&
31397 { ac_try='test -s conftest.$ac_objext'
31398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31399 (eval $ac_try) 2>&5
31400 ac_status=$?
31401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31402 (exit $ac_status); }; }; then
31403 wx_cv_type_getsockname3=int
31404else
31405 echo "$as_me: failed program was:" >&5
31406sed 's/^/| /' conftest.$ac_ext >&5
31407
31408wx_cv_type_getsockname3=unknown
31409
31410fi
31411rm -f conftest.$ac_objext conftest.$ac_ext
31412
31413fi
31414rm -f conftest.$ac_objext conftest.$ac_ext
31415
31416 CFLAGS="$CFLAGS_OLD"
31417
31418
31419fi
31420rm -f conftest.$ac_objext conftest.$ac_ext
31421
31422fi
31423echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31424echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31425
31426 if test "$wx_cv_type_getsockname3" = "unknown"; then
31427 wxUSE_SOCKETS=no
31428 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31429echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31430 else
31431 cat >>confdefs.h <<_ACEOF
31432#define SOCKLEN_T $wx_cv_type_getsockname3
31433_ACEOF
31434
31435 fi
31436 fi
31437fi
31438
31439if test "$wxUSE_SOCKETS" = "yes" ; then
31440 cat >>confdefs.h <<\_ACEOF
31441#define wxUSE_SOCKETS 1
31442_ACEOF
31443
31444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31445fi
31446
31447if test "$wxUSE_PROTOCOL" = "yes"; then
31448 if test "$wxUSE_SOCKETS" != "yes"; then
31449 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31450echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31451 wxUSE_PROTOCOL=no
31452 fi
31453fi
31454
31455if test "$wxUSE_PROTOCOL" = "yes"; then
31456 cat >>confdefs.h <<\_ACEOF
31457#define wxUSE_PROTOCOL 1
31458_ACEOF
31459
31460
31461 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31462 cat >>confdefs.h <<\_ACEOF
31463#define wxUSE_PROTOCOL_HTTP 1
31464_ACEOF
31465
31466 fi
31467 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31468 cat >>confdefs.h <<\_ACEOF
31469#define wxUSE_PROTOCOL_FTP 1
31470_ACEOF
31471
31472 fi
31473 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31474 cat >>confdefs.h <<\_ACEOF
31475#define wxUSE_PROTOCOL_FILE 1
31476_ACEOF
31477
31478 fi
31479else
31480 if test "$wxUSE_FS_INET" = "yes"; then
31481 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31482echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31483 wxUSE_FS_INET="no"
31484 fi
31485fi
31486
31487if test "$wxUSE_URL" = "yes"; then
31488 if test "$wxUSE_PROTOCOL" != "yes"; then
31489 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31490echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31491 wxUSE_URL=no
31492 fi
31493 if test "$wxUSE_URL" = "yes"; then
31494 cat >>confdefs.h <<\_ACEOF
31495#define wxUSE_URL 1
31496_ACEOF
31497
31498 fi
31499fi
31500
31501if test "$wxUSE_FS_INET" = "yes"; then
31502 cat >>confdefs.h <<\_ACEOF
31503#define wxUSE_FS_INET 1
31504_ACEOF
31505
31506fi
31507
31508
31509if test "$wxUSE_GUI" = "yes"; then
31510
31511 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31512 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31513echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31514 wxUSE_JOYSTICK=no
31515 fi
31516
31517 if test "$TOOLKIT" != "MSW"; then
31518 if test "$wxUSE_JOYSTICK" = "yes"; then
31519
31520for ac_header in linux/joystick.h
31521do
31522as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31523if eval "test \"\${$as_ac_Header+set}\" = set"; then
31524 echo "$as_me:$LINENO: checking for $ac_header" >&5
31525echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31526if eval "test \"\${$as_ac_Header+set}\" = set"; then
31527 echo $ECHO_N "(cached) $ECHO_C" >&6
31528fi
31529echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31530echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31531else
31532 # Is the header compilable?
31533echo "$as_me:$LINENO: checking $ac_header usability" >&5
31534echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31535cat >conftest.$ac_ext <<_ACEOF
31536#line $LINENO "configure"
31537/* confdefs.h. */
31538_ACEOF
31539cat confdefs.h >>conftest.$ac_ext
31540cat >>conftest.$ac_ext <<_ACEOF
31541/* end confdefs.h. */
31542$ac_includes_default
31543#include <$ac_header>
31544_ACEOF
31545rm -f conftest.$ac_objext
31546if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31547 (eval $ac_compile) 2>&5
31548 ac_status=$?
31549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31550 (exit $ac_status); } &&
31551 { ac_try='test -s conftest.$ac_objext'
31552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31553 (eval $ac_try) 2>&5
31554 ac_status=$?
31555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31556 (exit $ac_status); }; }; then
31557 ac_header_compiler=yes
31558else
31559 echo "$as_me: failed program was:" >&5
31560sed 's/^/| /' conftest.$ac_ext >&5
31561
31562ac_header_compiler=no
31563fi
31564rm -f conftest.$ac_objext conftest.$ac_ext
31565echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31566echo "${ECHO_T}$ac_header_compiler" >&6
31567
31568# Is the header present?
31569echo "$as_me:$LINENO: checking $ac_header presence" >&5
31570echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31571cat >conftest.$ac_ext <<_ACEOF
31572#line $LINENO "configure"
31573/* confdefs.h. */
31574_ACEOF
31575cat confdefs.h >>conftest.$ac_ext
31576cat >>conftest.$ac_ext <<_ACEOF
31577/* end confdefs.h. */
31578#include <$ac_header>
31579_ACEOF
31580if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31581 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31582 ac_status=$?
31583 grep -v '^ *+' conftest.er1 >conftest.err
31584 rm -f conftest.er1
31585 cat conftest.err >&5
31586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31587 (exit $ac_status); } >/dev/null; then
31588 if test -s conftest.err; then
31589 ac_cpp_err=$ac_c_preproc_warn_flag
31590 else
31591 ac_cpp_err=
31592 fi
31593else
31594 ac_cpp_err=yes
31595fi
31596if test -z "$ac_cpp_err"; then
31597 ac_header_preproc=yes
31598else
31599 echo "$as_me: failed program was:" >&5
31600sed 's/^/| /' conftest.$ac_ext >&5
31601
31602 ac_header_preproc=no
31603fi
31604rm -f conftest.err conftest.$ac_ext
31605echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31606echo "${ECHO_T}$ac_header_preproc" >&6
31607
31608# So? What about this header?
31609case $ac_header_compiler:$ac_header_preproc in
31610 yes:no )
31611 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31612echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31613 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31614echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31615 (
31616 cat <<\_ASBOX
31617## ------------------------------------ ##
31618## Report this to bug-autoconf@gnu.org. ##
31619## ------------------------------------ ##
31620_ASBOX
31621 ) |
31622 sed "s/^/$as_me: WARNING: /" >&2
31623 ;;
31624 no:yes )
31625 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31626echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31627 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31628echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31629 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31630echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31631 (
31632 cat <<\_ASBOX
31633## ------------------------------------ ##
31634## Report this to bug-autoconf@gnu.org. ##
31635## ------------------------------------ ##
31636_ASBOX
31637 ) |
31638 sed "s/^/$as_me: WARNING: /" >&2
31639 ;;
31640esac
31641echo "$as_me:$LINENO: checking for $ac_header" >&5
31642echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31643if eval "test \"\${$as_ac_Header+set}\" = set"; then
31644 echo $ECHO_N "(cached) $ECHO_C" >&6
31645else
31646 eval "$as_ac_Header=$ac_header_preproc"
31647fi
31648echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31649echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31650
31651fi
31652if test `eval echo '${'$as_ac_Header'}'` = yes; then
31653 cat >>confdefs.h <<_ACEOF
31654#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31655_ACEOF
31656
31657fi
31658
31659done
31660
31661 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31662 wxUSE_JOYSTICK=no
31663 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31664echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31665 fi
31666 fi
31667 fi
31668
31669 if test "$wxUSE_JOYSTICK" = "yes"; then
31670 cat >>confdefs.h <<\_ACEOF
31671#define wxUSE_JOYSTICK 1
31672_ACEOF
31673
31674 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31675 fi
31676fi
31677
31678
31679if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31680
31681 HAVE_DL_FUNCS=0
31682 HAVE_SHL_FUNCS=0
31683 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31684 if test "$USE_DARWIN" = 1; then
31685 HAVE_DL_FUNCS=1
31686 else
31687
31688for ac_func in dlopen
31689do
31690as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31691echo "$as_me:$LINENO: checking for $ac_func" >&5
31692echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31693if eval "test \"\${$as_ac_var+set}\" = set"; then
31694 echo $ECHO_N "(cached) $ECHO_C" >&6
31695else
31696 cat >conftest.$ac_ext <<_ACEOF
31697#line $LINENO "configure"
31698/* confdefs.h. */
31699_ACEOF
31700cat confdefs.h >>conftest.$ac_ext
31701cat >>conftest.$ac_ext <<_ACEOF
31702/* end confdefs.h. */
31703/* System header to define __stub macros and hopefully few prototypes,
31704 which can conflict with char $ac_func (); below.
31705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31706 <limits.h> exists even on freestanding compilers. */
31707#ifdef __STDC__
31708# include <limits.h>
31709#else
31710# include <assert.h>
31711#endif
31712/* Override any gcc2 internal prototype to avoid an error. */
31713#ifdef __cplusplus
31714extern "C"
31715{
31716#endif
31717/* We use char because int might match the return type of a gcc2
31718 builtin and then its argument prototype would still apply. */
31719char $ac_func ();
31720/* The GNU C library defines this for functions which it implements
31721 to always fail with ENOSYS. Some functions are actually named
31722 something starting with __ and the normal name is an alias. */
31723#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31724choke me
31725#else
31726char (*f) () = $ac_func;
31727#endif
31728#ifdef __cplusplus
31729}
31730#endif
31731
31732int
31733main ()
31734{
31735return f != $ac_func;
31736 ;
31737 return 0;
31738}
31739_ACEOF
31740rm -f conftest.$ac_objext conftest$ac_exeext
31741if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31742 (eval $ac_link) 2>&5
31743 ac_status=$?
31744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31745 (exit $ac_status); } &&
31746 { ac_try='test -s conftest$ac_exeext'
31747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31748 (eval $ac_try) 2>&5
31749 ac_status=$?
31750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31751 (exit $ac_status); }; }; then
31752 eval "$as_ac_var=yes"
31753else
31754 echo "$as_me: failed program was:" >&5
31755sed 's/^/| /' conftest.$ac_ext >&5
31756
31757eval "$as_ac_var=no"
31758fi
31759rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31760fi
31761echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31762echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31763if test `eval echo '${'$as_ac_var'}'` = yes; then
31764 cat >>confdefs.h <<_ACEOF
31765#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31766_ACEOF
31767
31768 cat >>confdefs.h <<\_ACEOF
31769#define HAVE_DLOPEN 1
31770_ACEOF
31771
31772 HAVE_DL_FUNCS=1
31773
31774else
31775
31776 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31777echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31778if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31779 echo $ECHO_N "(cached) $ECHO_C" >&6
31780else
31781 ac_check_lib_save_LIBS=$LIBS
31782LIBS="-ldl $LIBS"
31783cat >conftest.$ac_ext <<_ACEOF
31784#line $LINENO "configure"
31785/* confdefs.h. */
31786_ACEOF
31787cat confdefs.h >>conftest.$ac_ext
31788cat >>conftest.$ac_ext <<_ACEOF
31789/* end confdefs.h. */
31790
31791/* Override any gcc2 internal prototype to avoid an error. */
31792#ifdef __cplusplus
31793extern "C"
31794#endif
31795/* We use char because int might match the return type of a gcc2
31796 builtin and then its argument prototype would still apply. */
31797char dlopen ();
31798int
31799main ()
31800{
31801dlopen ();
31802 ;
31803 return 0;
31804}
31805_ACEOF
31806rm -f conftest.$ac_objext conftest$ac_exeext
31807if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31808 (eval $ac_link) 2>&5
31809 ac_status=$?
31810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31811 (exit $ac_status); } &&
31812 { ac_try='test -s conftest$ac_exeext'
31813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31814 (eval $ac_try) 2>&5
31815 ac_status=$?
31816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31817 (exit $ac_status); }; }; then
31818 ac_cv_lib_dl_dlopen=yes
31819else
31820 echo "$as_me: failed program was:" >&5
31821sed 's/^/| /' conftest.$ac_ext >&5
31822
31823ac_cv_lib_dl_dlopen=no
31824fi
31825rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31826LIBS=$ac_check_lib_save_LIBS
31827fi
31828echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31829echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31830if test $ac_cv_lib_dl_dlopen = yes; then
31831
31832 cat >>confdefs.h <<\_ACEOF
31833#define HAVE_DLOPEN 1
31834_ACEOF
31835
31836 HAVE_DL_FUNCS=1
31837 DL_LINK=" -ldl$DL_LINK"
31838
31839else
31840
31841
31842for ac_func in shl_load
31843do
31844as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31845echo "$as_me:$LINENO: checking for $ac_func" >&5
31846echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31847if eval "test \"\${$as_ac_var+set}\" = set"; then
31848 echo $ECHO_N "(cached) $ECHO_C" >&6
31849else
31850 cat >conftest.$ac_ext <<_ACEOF
31851#line $LINENO "configure"
31852/* confdefs.h. */
31853_ACEOF
31854cat confdefs.h >>conftest.$ac_ext
31855cat >>conftest.$ac_ext <<_ACEOF
31856/* end confdefs.h. */
31857/* System header to define __stub macros and hopefully few prototypes,
31858 which can conflict with char $ac_func (); below.
31859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31860 <limits.h> exists even on freestanding compilers. */
31861#ifdef __STDC__
31862# include <limits.h>
31863#else
31864# include <assert.h>
31865#endif
31866/* Override any gcc2 internal prototype to avoid an error. */
31867#ifdef __cplusplus
31868extern "C"
31869{
31870#endif
31871/* We use char because int might match the return type of a gcc2
31872 builtin and then its argument prototype would still apply. */
31873char $ac_func ();
31874/* The GNU C library defines this for functions which it implements
31875 to always fail with ENOSYS. Some functions are actually named
31876 something starting with __ and the normal name is an alias. */
31877#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31878choke me
31879#else
31880char (*f) () = $ac_func;
31881#endif
31882#ifdef __cplusplus
31883}
31884#endif
31885
31886int
31887main ()
31888{
31889return f != $ac_func;
31890 ;
31891 return 0;
31892}
31893_ACEOF
31894rm -f conftest.$ac_objext conftest$ac_exeext
31895if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31896 (eval $ac_link) 2>&5
31897 ac_status=$?
31898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31899 (exit $ac_status); } &&
31900 { ac_try='test -s conftest$ac_exeext'
31901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31902 (eval $ac_try) 2>&5
31903 ac_status=$?
31904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31905 (exit $ac_status); }; }; then
31906 eval "$as_ac_var=yes"
31907else
31908 echo "$as_me: failed program was:" >&5
31909sed 's/^/| /' conftest.$ac_ext >&5
31910
31911eval "$as_ac_var=no"
31912fi
31913rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31914fi
31915echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31916echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31917if test `eval echo '${'$as_ac_var'}'` = yes; then
31918 cat >>confdefs.h <<_ACEOF
31919#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31920_ACEOF
31921
31922 cat >>confdefs.h <<\_ACEOF
31923#define HAVE_SHL_LOAD 1
31924_ACEOF
31925
31926 HAVE_SHL_FUNCS=1
31927
31928else
31929
31930 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31931echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31932if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31933 echo $ECHO_N "(cached) $ECHO_C" >&6
31934else
31935 ac_check_lib_save_LIBS=$LIBS
31936LIBS="-lshl_load $LIBS"
31937cat >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/* Override any gcc2 internal prototype to avoid an error. */
31946#ifdef __cplusplus
31947extern "C"
31948#endif
31949/* We use char because int might match the return type of a gcc2
31950 builtin and then its argument prototype would still apply. */
31951char dld ();
31952int
31953main ()
31954{
31955dld ();
31956 ;
31957 return 0;
31958}
31959_ACEOF
31960rm -f conftest.$ac_objext conftest$ac_exeext
31961if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31962 (eval $ac_link) 2>&5
31963 ac_status=$?
31964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31965 (exit $ac_status); } &&
31966 { ac_try='test -s conftest$ac_exeext'
31967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31968 (eval $ac_try) 2>&5
31969 ac_status=$?
31970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31971 (exit $ac_status); }; }; then
31972 ac_cv_lib_shl_load_dld=yes
31973else
31974 echo "$as_me: failed program was:" >&5
31975sed 's/^/| /' conftest.$ac_ext >&5
31976
31977ac_cv_lib_shl_load_dld=no
31978fi
31979rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31980LIBS=$ac_check_lib_save_LIBS
31981fi
31982echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31983echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31984if test $ac_cv_lib_shl_load_dld = yes; then
31985
31986 HAVE_SHL_FUNCS=1
31987 DL_LINK=" -ldld$DL_LINK"
31988
31989fi
31990
31991
31992fi
31993done
31994
31995
31996fi
31997
31998
31999fi
32000done
32001
32002
32003 if test "$HAVE_DL_FUNCS" = 1; then
32004
32005for ac_func in dlerror
32006do
32007as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32008echo "$as_me:$LINENO: checking for $ac_func" >&5
32009echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32010if eval "test \"\${$as_ac_var+set}\" = set"; then
32011 echo $ECHO_N "(cached) $ECHO_C" >&6
32012else
32013 cat >conftest.$ac_ext <<_ACEOF
32014#line $LINENO "configure"
32015/* confdefs.h. */
32016_ACEOF
32017cat confdefs.h >>conftest.$ac_ext
32018cat >>conftest.$ac_ext <<_ACEOF
32019/* end confdefs.h. */
32020/* System header to define __stub macros and hopefully few prototypes,
32021 which can conflict with char $ac_func (); below.
32022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32023 <limits.h> exists even on freestanding compilers. */
32024#ifdef __STDC__
32025# include <limits.h>
32026#else
32027# include <assert.h>
32028#endif
32029/* Override any gcc2 internal prototype to avoid an error. */
32030#ifdef __cplusplus
32031extern "C"
32032{
32033#endif
32034/* We use char because int might match the return type of a gcc2
32035 builtin and then its argument prototype would still apply. */
32036char $ac_func ();
32037/* The GNU C library defines this for functions which it implements
32038 to always fail with ENOSYS. Some functions are actually named
32039 something starting with __ and the normal name is an alias. */
32040#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32041choke me
32042#else
32043char (*f) () = $ac_func;
32044#endif
32045#ifdef __cplusplus
32046}
32047#endif
32048
32049int
32050main ()
32051{
32052return f != $ac_func;
32053 ;
32054 return 0;
32055}
32056_ACEOF
32057rm -f conftest.$ac_objext conftest$ac_exeext
32058if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32059 (eval $ac_link) 2>&5
32060 ac_status=$?
32061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32062 (exit $ac_status); } &&
32063 { ac_try='test -s conftest$ac_exeext'
32064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32065 (eval $ac_try) 2>&5
32066 ac_status=$?
32067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32068 (exit $ac_status); }; }; then
32069 eval "$as_ac_var=yes"
32070else
32071 echo "$as_me: failed program was:" >&5
32072sed 's/^/| /' conftest.$ac_ext >&5
32073
32074eval "$as_ac_var=no"
32075fi
32076rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32077fi
32078echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32079echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32080if test `eval echo '${'$as_ac_var'}'` = yes; then
32081 cat >>confdefs.h <<_ACEOF
32082#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32083_ACEOF
32084 cat >>confdefs.h <<\_ACEOF
32085#define HAVE_DLERROR 1
32086_ACEOF
32087
32088else
32089
32090 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32091echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32092if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32093 echo $ECHO_N "(cached) $ECHO_C" >&6
32094else
32095 ac_check_lib_save_LIBS=$LIBS
32096LIBS="-ldl $LIBS"
32097cat >conftest.$ac_ext <<_ACEOF
32098#line $LINENO "configure"
32099/* confdefs.h. */
32100_ACEOF
32101cat confdefs.h >>conftest.$ac_ext
32102cat >>conftest.$ac_ext <<_ACEOF
32103/* end confdefs.h. */
32104
32105/* Override any gcc2 internal prototype to avoid an error. */
32106#ifdef __cplusplus
32107extern "C"
32108#endif
32109/* We use char because int might match the return type of a gcc2
32110 builtin and then its argument prototype would still apply. */
32111char dlerror ();
32112int
32113main ()
32114{
32115dlerror ();
32116 ;
32117 return 0;
32118}
32119_ACEOF
32120rm -f conftest.$ac_objext conftest$ac_exeext
32121if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32122 (eval $ac_link) 2>&5
32123 ac_status=$?
32124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32125 (exit $ac_status); } &&
32126 { ac_try='test -s conftest$ac_exeext'
32127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32128 (eval $ac_try) 2>&5
32129 ac_status=$?
32130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32131 (exit $ac_status); }; }; then
32132 ac_cv_lib_dl_dlerror=yes
32133else
32134 echo "$as_me: failed program was:" >&5
32135sed 's/^/| /' conftest.$ac_ext >&5
32136
32137ac_cv_lib_dl_dlerror=no
32138fi
32139rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32140LIBS=$ac_check_lib_save_LIBS
32141fi
32142echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32143echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32144if test $ac_cv_lib_dl_dlerror = yes; then
32145 cat >>confdefs.h <<\_ACEOF
32146#define HAVE_DLERROR 1
32147_ACEOF
32148
32149fi
32150
32151
32152
32153fi
32154done
32155
32156 fi
32157 fi
32158
32159 if test "$HAVE_DL_FUNCS" = 0; then
32160 if test "$HAVE_SHL_FUNCS" = 0; then
32161 if test "$USE_UNIX" = 1; then
32162 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32163echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32164 wxUSE_DYNAMIC_LOADER=no
32165 wxUSE_DYNLIB_CLASS=no
32166 else
32167 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32168echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32169 fi
32170 fi
32171 fi
32172 fi
32173fi
32174
32175if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32176 cat >>confdefs.h <<\_ACEOF
32177#define wxUSE_DYNAMIC_LOADER 1
32178_ACEOF
32179
32180fi
32181if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32182 cat >>confdefs.h <<\_ACEOF
32183#define wxUSE_DYNLIB_CLASS 1
32184_ACEOF
32185
32186fi
32187
32188
32189if test "$wxUSE_FONTMAP" = "yes" ; then
32190 cat >>confdefs.h <<\_ACEOF
32191#define wxUSE_FONTMAP 1
32192_ACEOF
32193
32194fi
32195
32196if test "$wxUSE_UNICODE" = "yes" ; then
32197 cat >>confdefs.h <<\_ACEOF
32198#define wxUSE_UNICODE 1
32199_ACEOF
32200
32201
32202 if test "$USE_WIN32" != 1; then
32203 wxUSE_UNICODE_MSLU=no
32204 fi
32205
32206 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32207 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32208echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32209if test "${ac_cv_lib_unicows_main+set}" = set; then
32210 echo $ECHO_N "(cached) $ECHO_C" >&6
32211else
32212 ac_check_lib_save_LIBS=$LIBS
32213LIBS="-lunicows $LIBS"
32214cat >conftest.$ac_ext <<_ACEOF
32215#line $LINENO "configure"
32216/* confdefs.h. */
32217_ACEOF
32218cat confdefs.h >>conftest.$ac_ext
32219cat >>conftest.$ac_ext <<_ACEOF
32220/* end confdefs.h. */
32221
32222
32223int
32224main ()
32225{
32226main ();
32227 ;
32228 return 0;
32229}
32230_ACEOF
32231rm -f conftest.$ac_objext conftest$ac_exeext
32232if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32233 (eval $ac_link) 2>&5
32234 ac_status=$?
32235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32236 (exit $ac_status); } &&
32237 { ac_try='test -s conftest$ac_exeext'
32238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32239 (eval $ac_try) 2>&5
32240 ac_status=$?
32241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32242 (exit $ac_status); }; }; then
32243 ac_cv_lib_unicows_main=yes
32244else
32245 echo "$as_me: failed program was:" >&5
32246sed 's/^/| /' conftest.$ac_ext >&5
32247
32248ac_cv_lib_unicows_main=no
32249fi
32250rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32251LIBS=$ac_check_lib_save_LIBS
32252fi
32253echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32254echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32255if test $ac_cv_lib_unicows_main = yes; then
32256
32257 cat >>confdefs.h <<\_ACEOF
32258#define wxUSE_UNICODE_MSLU 1
32259_ACEOF
32260
32261
32262else
32263
32264 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32265 Applications will only run on Windows NT/2000/XP!" >&5
32266echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32267 Applications will only run on Windows NT/2000/XP!" >&2;}
32268 wxUSE_UNICODE_MSLU=no
32269
32270fi
32271
32272 fi
32273fi
32274
32275if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32276 cat >>confdefs.h <<\_ACEOF
32277#define wxUSE_EXPERIMENTAL_PRINTF 1
32278_ACEOF
32279
32280fi
32281
32282
32283if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32284 cat >>confdefs.h <<\_ACEOF
32285#define wxUSE_POSTSCRIPT 1
32286_ACEOF
32287
32288fi
32289
32290cat >>confdefs.h <<\_ACEOF
32291#define wxUSE_AFM_FOR_POSTSCRIPT 1
32292_ACEOF
32293
32294
32295cat >>confdefs.h <<\_ACEOF
32296#define wxUSE_NORMALIZED_PS_FONTS 1
32297_ACEOF
32298
32299
32300
32301if test "$wxUSE_CONSTRAINTS" = "yes"; then
32302 cat >>confdefs.h <<\_ACEOF
32303#define wxUSE_CONSTRAINTS 1
32304_ACEOF
32305
32306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
32307fi
32308
32309if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32310 cat >>confdefs.h <<\_ACEOF
32311#define wxUSE_MDI_ARCHITECTURE 1
32312_ACEOF
32313
32314 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
32315fi
32316
32317if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32318 cat >>confdefs.h <<\_ACEOF
32319#define wxUSE_DOC_VIEW_ARCHITECTURE 1
32320_ACEOF
32321
32322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
32323 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32324 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
32325 fi
32326fi
32327
32328if test "$wxUSE_HELP" = "yes"; then
32329 cat >>confdefs.h <<\_ACEOF
32330#define wxUSE_HELP 1
32331_ACEOF
32332
32333 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
32334
32335 if test "$wxUSE_MSW" = 1; then
32336 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32337 cat >>confdefs.h <<\_ACEOF
32338#define wxUSE_MS_HTML_HELP 1
32339_ACEOF
32340
32341 fi
32342 fi
32343
32344 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32345 if test "$wxUSE_HTML" = "yes"; then
32346 cat >>confdefs.h <<\_ACEOF
32347#define wxUSE_WXHTML_HELP 1
32348_ACEOF
32349
32350 else
32351 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32352echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32353 wxUSE_WXHTML_HELP=no
32354 fi
32355 fi
32356fi
32357
32358if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32359 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32360 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32361echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32362 else
32363 cat >>confdefs.h <<\_ACEOF
32364#define wxUSE_PRINTING_ARCHITECTURE 1
32365_ACEOF
32366
32367 fi
32368 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
32369fi
32370
32371if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32372 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32373echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32374 { (exit 1); exit 1; }; }
32375fi
32376
32377
32378if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
32379 -o "$wxUSE_CLIPBOARD" = "yes" \
32380 -o "$wxUSE_OLE" = "yes" \
32381 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
32382
32383for ac_header in ole2.h
32384do
32385as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32386if eval "test \"\${$as_ac_Header+set}\" = set"; then
32387 echo "$as_me:$LINENO: checking for $ac_header" >&5
32388echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32389if eval "test \"\${$as_ac_Header+set}\" = set"; then
32390 echo $ECHO_N "(cached) $ECHO_C" >&6
32391fi
32392echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32393echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32394else
32395 # Is the header compilable?
32396echo "$as_me:$LINENO: checking $ac_header usability" >&5
32397echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32398cat >conftest.$ac_ext <<_ACEOF
32399#line $LINENO "configure"
32400/* confdefs.h. */
32401_ACEOF
32402cat confdefs.h >>conftest.$ac_ext
32403cat >>conftest.$ac_ext <<_ACEOF
32404/* end confdefs.h. */
32405$ac_includes_default
32406#include <$ac_header>
32407_ACEOF
32408rm -f conftest.$ac_objext
32409if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32410 (eval $ac_compile) 2>&5
32411 ac_status=$?
32412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32413 (exit $ac_status); } &&
32414 { ac_try='test -s conftest.$ac_objext'
32415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32416 (eval $ac_try) 2>&5
32417 ac_status=$?
32418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32419 (exit $ac_status); }; }; then
32420 ac_header_compiler=yes
32421else
32422 echo "$as_me: failed program was:" >&5
32423sed 's/^/| /' conftest.$ac_ext >&5
32424
32425ac_header_compiler=no
32426fi
32427rm -f conftest.$ac_objext conftest.$ac_ext
32428echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32429echo "${ECHO_T}$ac_header_compiler" >&6
32430
32431# Is the header present?
32432echo "$as_me:$LINENO: checking $ac_header presence" >&5
32433echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32434cat >conftest.$ac_ext <<_ACEOF
32435#line $LINENO "configure"
32436/* confdefs.h. */
32437_ACEOF
32438cat confdefs.h >>conftest.$ac_ext
32439cat >>conftest.$ac_ext <<_ACEOF
32440/* end confdefs.h. */
32441#include <$ac_header>
32442_ACEOF
32443if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32444 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32445 ac_status=$?
32446 grep -v '^ *+' conftest.er1 >conftest.err
32447 rm -f conftest.er1
32448 cat conftest.err >&5
32449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32450 (exit $ac_status); } >/dev/null; then
32451 if test -s conftest.err; then
32452 ac_cpp_err=$ac_c_preproc_warn_flag
32453 else
32454 ac_cpp_err=
32455 fi
32456else
32457 ac_cpp_err=yes
32458fi
32459if test -z "$ac_cpp_err"; then
32460 ac_header_preproc=yes
32461else
32462 echo "$as_me: failed program was:" >&5
32463sed 's/^/| /' conftest.$ac_ext >&5
32464
32465 ac_header_preproc=no
32466fi
32467rm -f conftest.err conftest.$ac_ext
32468echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32469echo "${ECHO_T}$ac_header_preproc" >&6
32470
32471# So? What about this header?
32472case $ac_header_compiler:$ac_header_preproc in
32473 yes:no )
32474 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32475echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32477echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32478 (
32479 cat <<\_ASBOX
32480## ------------------------------------ ##
32481## Report this to bug-autoconf@gnu.org. ##
32482## ------------------------------------ ##
32483_ASBOX
32484 ) |
32485 sed "s/^/$as_me: WARNING: /" >&2
32486 ;;
32487 no:yes )
32488 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32489echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32490 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32491echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32493echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32494 (
32495 cat <<\_ASBOX
32496## ------------------------------------ ##
32497## Report this to bug-autoconf@gnu.org. ##
32498## ------------------------------------ ##
32499_ASBOX
32500 ) |
32501 sed "s/^/$as_me: WARNING: /" >&2
32502 ;;
32503esac
32504echo "$as_me:$LINENO: checking for $ac_header" >&5
32505echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32506if eval "test \"\${$as_ac_Header+set}\" = set"; then
32507 echo $ECHO_N "(cached) $ECHO_C" >&6
32508else
32509 eval "$as_ac_Header=$ac_header_preproc"
32510fi
32511echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32512echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32513
32514fi
32515if test `eval echo '${'$as_ac_Header'}'` = yes; then
32516 cat >>confdefs.h <<_ACEOF
32517#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32518_ACEOF
32519
32520fi
32521
32522done
32523
32524
32525 if test "$ac_cv_header_ole2_h" = "yes" ; then
32526 if test "$GCC" = yes ; then
32527
32528
32529 ac_ext=cc
32530ac_cpp='$CXXCPP $CPPFLAGS'
32531ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32532ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32533ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32534
32535
32536 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32537echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32538 cat >conftest.$ac_ext <<_ACEOF
32539#line $LINENO "configure"
32540/* confdefs.h. */
32541_ACEOF
32542cat confdefs.h >>conftest.$ac_ext
32543cat >>conftest.$ac_ext <<_ACEOF
32544/* end confdefs.h. */
32545#include <windows.h>
32546 #include <ole2.h>
32547int
32548main ()
32549{
32550
32551 ;
32552 return 0;
32553}
32554_ACEOF
32555rm -f conftest.$ac_objext
32556if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32557 (eval $ac_compile) 2>&5
32558 ac_status=$?
32559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32560 (exit $ac_status); } &&
32561 { ac_try='test -s conftest.$ac_objext'
32562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32563 (eval $ac_try) 2>&5
32564 ac_status=$?
32565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32566 (exit $ac_status); }; }; then
32567 echo "$as_me:$LINENO: result: no" >&5
32568echo "${ECHO_T}no" >&6
32569else
32570 echo "$as_me: failed program was:" >&5
32571sed 's/^/| /' conftest.$ac_ext >&5
32572
32573echo "$as_me:$LINENO: result: yes" >&5
32574echo "${ECHO_T}yes" >&6
32575 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32576fi
32577rm -f conftest.$ac_objext conftest.$ac_ext
32578 ac_ext=c
32579ac_cpp='$CPP $CPPFLAGS'
32580ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32581ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32582ac_compiler_gnu=$ac_cv_c_compiler_gnu
32583
32584 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32585 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32586 cat >>confdefs.h <<\_ACEOF
32587#define wxUSE_OLE 1
32588_ACEOF
32589
32590
32591 fi
32592
32593 cat >>confdefs.h <<\_ACEOF
32594#define wxUSE_DATAOBJ 1
32595_ACEOF
32596
32597 else
32598 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32599echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32600
32601 wxUSE_CLIPBOARD=no
32602 wxUSE_DRAG_AND_DROP=no
32603 wxUSE_DATAOBJ=no
32604 wxUSE_OLE=no
32605 fi
32606
32607 if test "$wxUSE_METAFILE" = "yes"; then
32608 cat >>confdefs.h <<\_ACEOF
32609#define wxUSE_METAFILE 1
32610_ACEOF
32611
32612
32613 cat >>confdefs.h <<\_ACEOF
32614#define wxUSE_ENH_METAFILE 1
32615_ACEOF
32616
32617 fi
32618fi
32619
32620if test "$wxUSE_IPC" = "yes"; then
32621 if test "$wxUSE_SOCKETS" != "yes"; then
32622 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32623echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32624 fi
32625
32626 cat >>confdefs.h <<\_ACEOF
32627#define wxUSE_IPC 1
32628_ACEOF
32629
32630fi
32631
32632if test "$wxUSE_CLIPBOARD" = "yes"; then
32633 if test "$wxUSE_MGL" = 1; then
32634 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32635echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32636 wxUSE_CLIPBOARD=no
32637 fi
32638
32639 if test "$wxUSE_CLIPBOARD" = "yes"; then
32640 cat >>confdefs.h <<\_ACEOF
32641#define wxUSE_CLIPBOARD 1
32642_ACEOF
32643
32644
32645 cat >>confdefs.h <<\_ACEOF
32646#define wxUSE_DATAOBJ 1
32647_ACEOF
32648
32649 fi
32650fi
32651
32652if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32653 if test "$wxUSE_GTK" = 1; then
32654 if test "$WXGTK12" != 1; then
32655 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32656echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32657 wxUSE_DRAG_AND_DROP=no
32658 fi
32659 fi
32660
32661 if test "$wxUSE_MOTIF" = 1; then
32662 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32663echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32664 wxUSE_DRAG_AND_DROP=no
32665 fi
32666
32667 if test "$wxUSE_X11" = 1; then
32668 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32669echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32670 wxUSE_DRAG_AND_DROP=no
32671 fi
32672
32673 if test "$wxUSE_MGL" = 1; then
32674 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32675echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32676 wxUSE_DRAG_AND_DROP=no
32677 fi
32678
32679 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32680 cat >>confdefs.h <<\_ACEOF
32681#define wxUSE_DRAG_AND_DROP 1
32682_ACEOF
32683
32684 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32685 fi
32686
32687fi
32688
32689if test "$wxUSE_SPLINES" = "yes" ; then
32690 cat >>confdefs.h <<\_ACEOF
32691#define wxUSE_SPLINES 1
32692_ACEOF
32693
32694fi
32695
32696
32697USES_CONTROLS=0
32698if test "$wxUSE_CONTROLS" = "yes"; then
32699 USES_CONTROLS=1
32700fi
32701
32702if test "$wxUSE_ACCEL" = "yes"; then
32703 cat >>confdefs.h <<\_ACEOF
32704#define wxUSE_ACCEL 1
32705_ACEOF
32706
32707 USES_CONTROLS=1
32708fi
32709
32710if test "$wxUSE_BUTTON" = "yes"; then
32711 cat >>confdefs.h <<\_ACEOF
32712#define wxUSE_BUTTON 1
32713_ACEOF
32714
32715 USES_CONTROLS=1
32716fi
32717
32718if test "$wxUSE_BMPBUTTON" = "yes"; then
32719 cat >>confdefs.h <<\_ACEOF
32720#define wxUSE_BMPBUTTON 1
32721_ACEOF
32722
32723 USES_CONTROLS=1
32724fi
32725
32726if test "$wxUSE_CALCTRL" = "yes"; then
32727 cat >>confdefs.h <<\_ACEOF
32728#define wxUSE_CALENDARCTRL 1
32729_ACEOF
32730
32731 USES_CONTROLS=1
32732 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32733fi
32734
32735if test "$wxUSE_CARET" = "yes"; then
32736 cat >>confdefs.h <<\_ACEOF
32737#define wxUSE_CARET 1
32738_ACEOF
32739
32740 USES_CONTROLS=1
32741 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32742fi
32743
32744if test "$wxUSE_COMBOBOX" = "yes"; then
32745 cat >>confdefs.h <<\_ACEOF
32746#define wxUSE_COMBOBOX 1
32747_ACEOF
32748
32749 USES_CONTROLS=1
32750fi
32751
32752if test "$wxUSE_CHOICE" = "yes"; then
32753 cat >>confdefs.h <<\_ACEOF
32754#define wxUSE_CHOICE 1
32755_ACEOF
32756
32757 USES_CONTROLS=1
32758fi
32759
32760if test "$wxUSE_CHECKBOX" = "yes"; then
32761 cat >>confdefs.h <<\_ACEOF
32762#define wxUSE_CHECKBOX 1
32763_ACEOF
32764
32765 USES_CONTROLS=1
32766fi
32767
32768if test "$wxUSE_CHECKLST" = "yes"; then
32769 cat >>confdefs.h <<\_ACEOF
32770#define wxUSE_CHECKLISTBOX 1
32771_ACEOF
32772
32773 USES_CONTROLS=1
32774 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
32775fi
32776
32777if test "$wxUSE_DISPLAY" = "yes"; then
32778 cat >>confdefs.h <<\_ACEOF
32779#define wxUSE_DISPLAY 1
32780_ACEOF
32781
32782 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
32783fi
32784
32785if test "$wxUSE_GAUGE" = "yes"; then
32786 cat >>confdefs.h <<\_ACEOF
32787#define wxUSE_GAUGE 1
32788_ACEOF
32789
32790 USES_CONTROLS=1
32791fi
32792
32793if test "$wxUSE_GRID" = "yes"; then
32794 cat >>confdefs.h <<\_ACEOF
32795#define wxUSE_GRID 1
32796_ACEOF
32797
32798 USES_CONTROLS=1
32799 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
32800fi
32801
32802if test "$wxUSE_IMAGLIST" = "yes"; then
32803 cat >>confdefs.h <<\_ACEOF
32804#define wxUSE_IMAGLIST 1
32805_ACEOF
32806
32807fi
32808
32809if test "$wxUSE_LISTBOOK" = "yes"; then
32810 cat >>confdefs.h <<\_ACEOF
32811#define wxUSE_LISTBOOK 1
32812_ACEOF
32813
32814 USES_CONTROLS=1
32815fi
32816
32817if test "$wxUSE_LISTBOX" = "yes"; then
32818 cat >>confdefs.h <<\_ACEOF
32819#define wxUSE_LISTBOX 1
32820_ACEOF
32821
32822 USES_CONTROLS=1
32823fi
32824
32825if test "$wxUSE_LISTCTRL" = "yes"; then
32826 if test "$wxUSE_IMAGLIST" = "yes"; then
32827 cat >>confdefs.h <<\_ACEOF
32828#define wxUSE_LISTCTRL 1
32829_ACEOF
32830
32831 USES_CONTROLS=1
32832 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
32833 else
32834 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32835echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32836 fi
32837fi
32838
32839if test "$wxUSE_NOTEBOOK" = "yes"; then
32840 cat >>confdefs.h <<\_ACEOF
32841#define wxUSE_NOTEBOOK 1
32842_ACEOF
32843
32844 USES_CONTROLS=1
32845 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
32846fi
32847
32848
32849if test "$wxUSE_RADIOBOX" = "yes"; then
32850 cat >>confdefs.h <<\_ACEOF
32851#define wxUSE_RADIOBOX 1
32852_ACEOF
32853
32854 USES_CONTROLS=1
32855fi
32856
32857if test "$wxUSE_RADIOBTN" = "yes"; then
32858 cat >>confdefs.h <<\_ACEOF
32859#define wxUSE_RADIOBTN 1
32860_ACEOF
32861
32862 USES_CONTROLS=1
32863fi
32864
32865if test "$wxUSE_SASH" = "yes"; then
32866 cat >>confdefs.h <<\_ACEOF
32867#define wxUSE_SASH 1
32868_ACEOF
32869
32870 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
32871fi
32872
32873if test "$wxUSE_SCROLLBAR" = "yes"; then
32874 cat >>confdefs.h <<\_ACEOF
32875#define wxUSE_SCROLLBAR 1
32876_ACEOF
32877
32878 USES_CONTROLS=1
32879 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
32880fi
32881
32882if test "$wxUSE_SLIDER" = "yes"; then
32883 cat >>confdefs.h <<\_ACEOF
32884#define wxUSE_SLIDER 1
32885_ACEOF
32886
32887 USES_CONTROLS=1
32888fi
32889
32890if test "$wxUSE_SPINBTN" = "yes"; then
32891 cat >>confdefs.h <<\_ACEOF
32892#define wxUSE_SPINBTN 1
32893_ACEOF
32894
32895 USES_CONTROLS=1
32896fi
32897
32898if test "$wxUSE_SPINCTRL" = "yes"; then
32899 cat >>confdefs.h <<\_ACEOF
32900#define wxUSE_SPINCTRL 1
32901_ACEOF
32902
32903 USES_CONTROLS=1
32904fi
32905
32906if test "$wxUSE_SPLITTER" = "yes"; then
32907 cat >>confdefs.h <<\_ACEOF
32908#define wxUSE_SPLITTER 1
32909_ACEOF
32910
32911 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
32912fi
32913
32914if test "$wxUSE_STATBMP" = "yes"; then
32915 cat >>confdefs.h <<\_ACEOF
32916#define wxUSE_STATBMP 1
32917_ACEOF
32918
32919 USES_CONTROLS=1
32920fi
32921
32922if test "$wxUSE_STATBOX" = "yes"; then
32923 cat >>confdefs.h <<\_ACEOF
32924#define wxUSE_STATBOX 1
32925_ACEOF
32926
32927 USES_CONTROLS=1
32928fi
32929
32930if test "$wxUSE_STATTEXT" = "yes"; then
32931 cat >>confdefs.h <<\_ACEOF
32932#define wxUSE_STATTEXT 1
32933_ACEOF
32934
32935 USES_CONTROLS=1
32936fi
32937
32938if test "$wxUSE_STATLINE" = "yes"; then
32939 cat >>confdefs.h <<\_ACEOF
32940#define wxUSE_STATLINE 1
32941_ACEOF
32942
32943 USES_CONTROLS=1
32944fi
32945
32946if test "$wxUSE_STATUSBAR" = "yes"; then
32947 cat >>confdefs.h <<\_ACEOF
32948#define wxUSE_STATUSBAR 1
32949_ACEOF
32950
32951 USES_CONTROLS=1
32952
32953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
32954fi
32955
32956if test "$wxUSE_TABDIALOG" = "yes"; then
32957 cat >>confdefs.h <<\_ACEOF
32958#define wxUSE_TAB_DIALOG 1
32959_ACEOF
32960
32961 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
32962fi
32963
32964if test "$wxUSE_TEXTCTRL" = "yes"; then
32965 cat >>confdefs.h <<\_ACEOF
32966#define wxUSE_TEXTCTRL 1
32967_ACEOF
32968
32969 USES_CONTROLS=1
32970 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
32971fi
32972
32973if test "$wxUSE_TOGGLEBTN" = "yes"; then
32974 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32975 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32976echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32977 wxUSE_TOGGLEBTN=no
32978 fi
32979 if test "$wxUSE_UNIVERSAL" = "yes"; then
32980 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32981echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32982 wxUSE_TOGGLEBTN=no
32983 fi
32984
32985 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32986 cat >>confdefs.h <<\_ACEOF
32987#define wxUSE_TOGGLEBTN 1
32988_ACEOF
32989
32990 USES_CONTROLS=1
32991 fi
32992fi
32993
32994if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32995 cat >>confdefs.h <<\_ACEOF
32996#define wxUSE_TOOLBAR_SIMPLE 1
32997_ACEOF
32998
32999 wxUSE_TOOLBAR="yes"
33000 USES_CONTROLS=1
33001fi
33002
33003if test "$wxUSE_TOOLBAR" = "yes"; then
33004 cat >>confdefs.h <<\_ACEOF
33005#define wxUSE_TOOLBAR 1
33006_ACEOF
33007
33008 USES_CONTROLS=1
33009
33010 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
33011 wxUSE_TOOLBAR_NATIVE="yes"
33012 fi
33013
33014 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
33015 cat >>confdefs.h <<\_ACEOF
33016#define wxUSE_TOOLBAR_NATIVE 1
33017_ACEOF
33018
33019 USES_CONTROLS=1
33020 fi
33021
33022 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
33023fi
33024
33025if test "$wxUSE_TOOLTIPS" = "yes"; then
33026 if test "$wxUSE_MOTIF" = 1; then
33027 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
33028echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
33029 else
33030 if test "$wxUSE_UNIVERSAL" = "yes"; then
33031 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
33032echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
33033 else
33034 cat >>confdefs.h <<\_ACEOF
33035#define wxUSE_TOOLTIPS 1
33036_ACEOF
33037
33038 fi
33039 fi
33040fi
33041
33042if test "$wxUSE_TREECTRL" = "yes"; then
33043 if test "$wxUSE_IMAGLIST" = "yes"; then
33044 cat >>confdefs.h <<\_ACEOF
33045#define wxUSE_TREECTRL 1
33046_ACEOF
33047
33048 USES_CONTROLS=1
33049 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
33050 else
33051 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33052echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33053 fi
33054fi
33055
33056if test "$wxUSE_POPUPWIN" = "yes"; then
33057 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33058 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33059echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33060 else
33061 if test "$wxUSE_MOTIF" = 1; then
33062 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
33063echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
33064 else
33065 if test "$wxUSE_PM" = 1; then
33066 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33067echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33068 else
33069 cat >>confdefs.h <<\_ACEOF
33070#define wxUSE_POPUPWIN 1
33071_ACEOF
33072
33073
33074 USES_CONTROLS=1
33075 fi
33076 fi
33077 fi
33078fi
33079
33080if test "$wxUSE_TIPWINDOW" = "yes"; then
33081 if test "$wxUSE_PM" = 1; then
33082 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33083echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33084 else
33085 cat >>confdefs.h <<\_ACEOF
33086#define wxUSE_TIPWINDOW 1
33087_ACEOF
33088
33089 fi
33090fi
33091
33092if test "$USES_CONTROLS" = 1; then
33093 cat >>confdefs.h <<\_ACEOF
33094#define wxUSE_CONTROLS 1
33095_ACEOF
33096
33097fi
33098
33099
33100if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33101 cat >>confdefs.h <<\_ACEOF
33102#define wxUSE_ACCESSIBILITY 1
33103_ACEOF
33104
33105 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
33106fi
33107
33108if test "$wxUSE_DRAGIMAGE" = "yes"; then
33109 cat >>confdefs.h <<\_ACEOF
33110#define wxUSE_DRAGIMAGE 1
33111_ACEOF
33112
33113 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
33114fi
33115
33116if test "$wxUSE_EXCEPTIONS" = "yes"; then
33117 cat >>confdefs.h <<\_ACEOF
33118#define wxUSE_EXCEPTIONS 1
33119_ACEOF
33120
33121fi
33122
33123USE_HTML=0
33124if test "$wxUSE_HTML" = "yes"; then
33125 cat >>confdefs.h <<\_ACEOF
33126#define wxUSE_HTML 1
33127_ACEOF
33128
33129 USE_HTML=1
33130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33131fi
33132
33133if test "$wxUSE_MENUS" = "yes"; then
33134 cat >>confdefs.h <<\_ACEOF
33135#define wxUSE_MENUS 1
33136_ACEOF
33137
33138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
33139fi
33140
33141if test "$wxUSE_METAFILE" = "yes"; then
33142 cat >>confdefs.h <<\_ACEOF
33143#define wxUSE_METAFILE 1
33144_ACEOF
33145
33146fi
33147
33148if test "$wxUSE_MIMETYPE" = "yes"; then
33149 cat >>confdefs.h <<\_ACEOF
33150#define wxUSE_MIMETYPE 1
33151_ACEOF
33152
33153fi
33154
33155if test "$wxUSE_MINIFRAME" = "yes"; then
33156 cat >>confdefs.h <<\_ACEOF
33157#define wxUSE_MINIFRAME 1
33158_ACEOF
33159
33160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
33161fi
33162
33163if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33164 cat >>confdefs.h <<\_ACEOF
33165#define wxUSE_SYSTEM_OPTIONS 1
33166_ACEOF
33167
33168 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33169 "$TOOLKIT" = "MOTIF"; then
33170 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
33171 fi
33172fi
33173
33174
33175if test "$wxUSE_VALIDATORS" = "yes"; then
33176 cat >>confdefs.h <<\_ACEOF
33177#define wxUSE_VALIDATORS 1
33178_ACEOF
33179
33180 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
33181fi
33182
33183if test "$wxUSE_PALETTE" = "yes" ; then
33184 cat >>confdefs.h <<\_ACEOF
33185#define wxUSE_PALETTE 1
33186_ACEOF
33187
33188fi
33189
33190if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33191 LIBS=" -lunicows $LIBS"
33192fi
33193
33194
33195if test "$wxUSE_IMAGE" = "yes" ; then
33196 cat >>confdefs.h <<\_ACEOF
33197#define wxUSE_IMAGE 1
33198_ACEOF
33199
33200
33201 if test "$wxUSE_GIF" = "yes" ; then
33202 cat >>confdefs.h <<\_ACEOF
33203#define wxUSE_GIF 1
33204_ACEOF
33205
33206 fi
33207
33208 if test "$wxUSE_PCX" = "yes" ; then
33209 cat >>confdefs.h <<\_ACEOF
33210#define wxUSE_PCX 1
33211_ACEOF
33212
33213 fi
33214
33215 if test "$wxUSE_IFF" = "yes" ; then
33216 cat >>confdefs.h <<\_ACEOF
33217#define wxUSE_IFF 1
33218_ACEOF
33219
33220 fi
33221
33222 if test "$wxUSE_PNM" = "yes" ; then
33223 cat >>confdefs.h <<\_ACEOF
33224#define wxUSE_PNM 1
33225_ACEOF
33226
33227 fi
33228
33229 if test "$wxUSE_XPM" = "yes" ; then
33230 cat >>confdefs.h <<\_ACEOF
33231#define wxUSE_XPM 1
33232_ACEOF
33233
33234 fi
33235
33236 if test "$wxUSE_ICO_CUR" = "yes" ; then
33237 cat >>confdefs.h <<\_ACEOF
33238#define wxUSE_ICO_CUR 1
33239_ACEOF
33240
33241 fi
33242fi
33243
33244
33245if test "$wxUSE_CHOICEDLG" = "yes"; then
33246 cat >>confdefs.h <<\_ACEOF
33247#define wxUSE_CHOICEDLG 1
33248_ACEOF
33249
33250fi
33251
33252if test "$wxUSE_COLOURDLG" = "yes"; then
33253 cat >>confdefs.h <<\_ACEOF
33254#define wxUSE_COLOURDLG 1
33255_ACEOF
33256
33257fi
33258
33259if test "$wxUSE_FILEDLG" = "yes"; then
33260 cat >>confdefs.h <<\_ACEOF
33261#define wxUSE_FILEDLG 1
33262_ACEOF
33263
33264fi
33265
33266if test "$wxUSE_FINDREPLDLG" = "yes"; then
33267 cat >>confdefs.h <<\_ACEOF
33268#define wxUSE_FINDREPLDLG 1
33269_ACEOF
33270
33271fi
33272
33273if test "$wxUSE_FONTDLG" = "yes"; then
33274 cat >>confdefs.h <<\_ACEOF
33275#define wxUSE_FONTDLG 1
33276_ACEOF
33277
33278fi
33279
33280if test "$wxUSE_DIRDLG" = "yes"; then
33281 if test "$wxUSE_TREECTRL" != "yes"; then
33282 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33283echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33284 else
33285 cat >>confdefs.h <<\_ACEOF
33286#define wxUSE_DIRDLG 1
33287_ACEOF
33288
33289 fi
33290fi
33291
33292if test "$wxUSE_MSGDLG" = "yes"; then
33293 cat >>confdefs.h <<\_ACEOF
33294#define wxUSE_MSGDLG 1
33295_ACEOF
33296
33297fi
33298
33299if test "$wxUSE_NUMBERDLG" = "yes"; then
33300 cat >>confdefs.h <<\_ACEOF
33301#define wxUSE_NUMBERDLG 1
33302_ACEOF
33303
33304fi
33305
33306if test "$wxUSE_PROGRESSDLG" = "yes"; then
33307 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33308 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33309echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33310 else
33311 cat >>confdefs.h <<\_ACEOF
33312#define wxUSE_PROGRESSDLG 1
33313_ACEOF
33314
33315 fi
33316fi
33317
33318if test "$wxUSE_SPLASH" = "yes"; then
33319 cat >>confdefs.h <<\_ACEOF
33320#define wxUSE_SPLASH 1
33321_ACEOF
33322
33323fi
33324
33325if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33326 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33327 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33328echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33329 else
33330 cat >>confdefs.h <<\_ACEOF
33331#define wxUSE_STARTUP_TIPS 1
33332_ACEOF
33333
33334 fi
33335fi
33336
33337if test "$wxUSE_TEXTDLG" = "yes"; then
33338 cat >>confdefs.h <<\_ACEOF
33339#define wxUSE_TEXTDLG 1
33340_ACEOF
33341
33342fi
33343
33344if test "$wxUSE_WIZARDDLG" = "yes"; then
33345 cat >>confdefs.h <<\_ACEOF
33346#define wxUSE_WIZARDDLG 1
33347_ACEOF
33348
33349 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
33350fi
33351
33352
33353if test "$cross_compiling" = "yes"; then
33354 OSINFO="\"$host\""
33355else
33356 OSINFO=`uname -s -r -m`
33357 OSINFO="\"$OSINFO\""
33358fi
33359
33360cat >>confdefs.h <<_ACEOF
33361#define WXWIN_OS_DESCRIPTION $OSINFO
33362_ACEOF
33363
33364
33365
33366if test "x$prefix" != "xNONE"; then
33367 wxPREFIX=$prefix
33368else
33369 wxPREFIX=$ac_default_prefix
33370fi
33371
33372cat >>confdefs.h <<_ACEOF
33373#define wxINSTALL_PREFIX "$wxPREFIX"
33374_ACEOF
33375
33376
33377top_builddir_wxconfig=`pwd`
33378
33379
33380
33381CORE_BASE_LIBS="net base"
33382CORE_GUI_LIBS="adv core"
33383
33384if test "$wxUSE_XML" = "yes" ; then
33385 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
33386fi
33387if test "$wxUSE_ODBC" != "no" ; then
33388 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
33389 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
33390fi
33391if test "$wxUSE_HTML" = "yes" ; then
33392 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
33393fi
33394
33395
33396
33397
33398
33399
33400
33401
33402if test "$wxUSE_MAC" = 1 ; then
33403 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33404fi
33405if test "$wxUSE_COCOA" = 1 ; then
33406 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33407fi
33408
33409
33410LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33411
33412have_cos=0
33413have_floor=0
33414
33415for ac_func in cos
33416do
33417as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33418echo "$as_me:$LINENO: checking for $ac_func" >&5
33419echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33420if eval "test \"\${$as_ac_var+set}\" = set"; then
33421 echo $ECHO_N "(cached) $ECHO_C" >&6
33422else
33423 cat >conftest.$ac_ext <<_ACEOF
33424#line $LINENO "configure"
33425/* confdefs.h. */
33426_ACEOF
33427cat confdefs.h >>conftest.$ac_ext
33428cat >>conftest.$ac_ext <<_ACEOF
33429/* end confdefs.h. */
33430/* System header to define __stub macros and hopefully few prototypes,
33431 which can conflict with char $ac_func (); below.
33432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33433 <limits.h> exists even on freestanding compilers. */
33434#ifdef __STDC__
33435# include <limits.h>
33436#else
33437# include <assert.h>
33438#endif
33439/* Override any gcc2 internal prototype to avoid an error. */
33440#ifdef __cplusplus
33441extern "C"
33442{
33443#endif
33444/* We use char because int might match the return type of a gcc2
33445 builtin and then its argument prototype would still apply. */
33446char $ac_func ();
33447/* The GNU C library defines this for functions which it implements
33448 to always fail with ENOSYS. Some functions are actually named
33449 something starting with __ and the normal name is an alias. */
33450#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33451choke me
33452#else
33453char (*f) () = $ac_func;
33454#endif
33455#ifdef __cplusplus
33456}
33457#endif
33458
33459int
33460main ()
33461{
33462return f != $ac_func;
33463 ;
33464 return 0;
33465}
33466_ACEOF
33467rm -f conftest.$ac_objext conftest$ac_exeext
33468if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33469 (eval $ac_link) 2>&5
33470 ac_status=$?
33471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33472 (exit $ac_status); } &&
33473 { ac_try='test -s conftest$ac_exeext'
33474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33475 (eval $ac_try) 2>&5
33476 ac_status=$?
33477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33478 (exit $ac_status); }; }; then
33479 eval "$as_ac_var=yes"
33480else
33481 echo "$as_me: failed program was:" >&5
33482sed 's/^/| /' conftest.$ac_ext >&5
33483
33484eval "$as_ac_var=no"
33485fi
33486rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33487fi
33488echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33489echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33490if test `eval echo '${'$as_ac_var'}'` = yes; then
33491 cat >>confdefs.h <<_ACEOF
33492#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33493_ACEOF
33494 have_cos=1
33495fi
33496done
33497
33498
33499for ac_func in floor
33500do
33501as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33502echo "$as_me:$LINENO: checking for $ac_func" >&5
33503echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33504if eval "test \"\${$as_ac_var+set}\" = set"; then
33505 echo $ECHO_N "(cached) $ECHO_C" >&6
33506else
33507 cat >conftest.$ac_ext <<_ACEOF
33508#line $LINENO "configure"
33509/* confdefs.h. */
33510_ACEOF
33511cat confdefs.h >>conftest.$ac_ext
33512cat >>conftest.$ac_ext <<_ACEOF
33513/* end confdefs.h. */
33514/* System header to define __stub macros and hopefully few prototypes,
33515 which can conflict with char $ac_func (); below.
33516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33517 <limits.h> exists even on freestanding compilers. */
33518#ifdef __STDC__
33519# include <limits.h>
33520#else
33521# include <assert.h>
33522#endif
33523/* Override any gcc2 internal prototype to avoid an error. */
33524#ifdef __cplusplus
33525extern "C"
33526{
33527#endif
33528/* We use char because int might match the return type of a gcc2
33529 builtin and then its argument prototype would still apply. */
33530char $ac_func ();
33531/* The GNU C library defines this for functions which it implements
33532 to always fail with ENOSYS. Some functions are actually named
33533 something starting with __ and the normal name is an alias. */
33534#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33535choke me
33536#else
33537char (*f) () = $ac_func;
33538#endif
33539#ifdef __cplusplus
33540}
33541#endif
33542
33543int
33544main ()
33545{
33546return f != $ac_func;
33547 ;
33548 return 0;
33549}
33550_ACEOF
33551rm -f conftest.$ac_objext conftest$ac_exeext
33552if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33553 (eval $ac_link) 2>&5
33554 ac_status=$?
33555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33556 (exit $ac_status); } &&
33557 { ac_try='test -s conftest$ac_exeext'
33558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33559 (eval $ac_try) 2>&5
33560 ac_status=$?
33561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33562 (exit $ac_status); }; }; then
33563 eval "$as_ac_var=yes"
33564else
33565 echo "$as_me: failed program was:" >&5
33566sed 's/^/| /' conftest.$ac_ext >&5
33567
33568eval "$as_ac_var=no"
33569fi
33570rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33571fi
33572echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33573echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33574if test `eval echo '${'$as_ac_var'}'` = yes; then
33575 cat >>confdefs.h <<_ACEOF
33576#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33577_ACEOF
33578 have_floor=1
33579fi
33580done
33581
33582echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33583echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33584if test "$have_cos" = 1 -a "$have_floor" = 1; then
33585 echo "$as_me:$LINENO: result: yes" >&5
33586echo "${ECHO_T}yes" >&6
33587else
33588 echo "$as_me:$LINENO: result: no" >&5
33589echo "${ECHO_T}no" >&6
33590 LIBS="$LIBS -lm"
33591 # use different functions to avoid configure caching
33592 have_sin=0
33593 have_ceil=0
33594
33595for ac_func in sin
33596do
33597as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33598echo "$as_me:$LINENO: checking for $ac_func" >&5
33599echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33600if eval "test \"\${$as_ac_var+set}\" = set"; then
33601 echo $ECHO_N "(cached) $ECHO_C" >&6
33602else
33603 cat >conftest.$ac_ext <<_ACEOF
33604#line $LINENO "configure"
33605/* confdefs.h. */
33606_ACEOF
33607cat confdefs.h >>conftest.$ac_ext
33608cat >>conftest.$ac_ext <<_ACEOF
33609/* end confdefs.h. */
33610/* System header to define __stub macros and hopefully few prototypes,
33611 which can conflict with char $ac_func (); below.
33612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33613 <limits.h> exists even on freestanding compilers. */
33614#ifdef __STDC__
33615# include <limits.h>
33616#else
33617# include <assert.h>
33618#endif
33619/* Override any gcc2 internal prototype to avoid an error. */
33620#ifdef __cplusplus
33621extern "C"
33622{
33623#endif
33624/* We use char because int might match the return type of a gcc2
33625 builtin and then its argument prototype would still apply. */
33626char $ac_func ();
33627/* The GNU C library defines this for functions which it implements
33628 to always fail with ENOSYS. Some functions are actually named
33629 something starting with __ and the normal name is an alias. */
33630#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33631choke me
33632#else
33633char (*f) () = $ac_func;
33634#endif
33635#ifdef __cplusplus
33636}
33637#endif
33638
33639int
33640main ()
33641{
33642return f != $ac_func;
33643 ;
33644 return 0;
33645}
33646_ACEOF
33647rm -f conftest.$ac_objext conftest$ac_exeext
33648if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33649 (eval $ac_link) 2>&5
33650 ac_status=$?
33651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33652 (exit $ac_status); } &&
33653 { ac_try='test -s conftest$ac_exeext'
33654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33655 (eval $ac_try) 2>&5
33656 ac_status=$?
33657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33658 (exit $ac_status); }; }; then
33659 eval "$as_ac_var=yes"
33660else
33661 echo "$as_me: failed program was:" >&5
33662sed 's/^/| /' conftest.$ac_ext >&5
33663
33664eval "$as_ac_var=no"
33665fi
33666rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33667fi
33668echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33669echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33670if test `eval echo '${'$as_ac_var'}'` = yes; then
33671 cat >>confdefs.h <<_ACEOF
33672#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33673_ACEOF
33674 have_sin=1
33675fi
33676done
33677
33678
33679for ac_func in ceil
33680do
33681as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33682echo "$as_me:$LINENO: checking for $ac_func" >&5
33683echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33684if eval "test \"\${$as_ac_var+set}\" = set"; then
33685 echo $ECHO_N "(cached) $ECHO_C" >&6
33686else
33687 cat >conftest.$ac_ext <<_ACEOF
33688#line $LINENO "configure"
33689/* confdefs.h. */
33690_ACEOF
33691cat confdefs.h >>conftest.$ac_ext
33692cat >>conftest.$ac_ext <<_ACEOF
33693/* end confdefs.h. */
33694/* System header to define __stub macros and hopefully few prototypes,
33695 which can conflict with char $ac_func (); below.
33696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33697 <limits.h> exists even on freestanding compilers. */
33698#ifdef __STDC__
33699# include <limits.h>
33700#else
33701# include <assert.h>
33702#endif
33703/* Override any gcc2 internal prototype to avoid an error. */
33704#ifdef __cplusplus
33705extern "C"
33706{
33707#endif
33708/* We use char because int might match the return type of a gcc2
33709 builtin and then its argument prototype would still apply. */
33710char $ac_func ();
33711/* The GNU C library defines this for functions which it implements
33712 to always fail with ENOSYS. Some functions are actually named
33713 something starting with __ and the normal name is an alias. */
33714#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33715choke me
33716#else
33717char (*f) () = $ac_func;
33718#endif
33719#ifdef __cplusplus
33720}
33721#endif
33722
33723int
33724main ()
33725{
33726return f != $ac_func;
33727 ;
33728 return 0;
33729}
33730_ACEOF
33731rm -f conftest.$ac_objext conftest$ac_exeext
33732if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33733 (eval $ac_link) 2>&5
33734 ac_status=$?
33735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33736 (exit $ac_status); } &&
33737 { ac_try='test -s conftest$ac_exeext'
33738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33739 (eval $ac_try) 2>&5
33740 ac_status=$?
33741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33742 (exit $ac_status); }; }; then
33743 eval "$as_ac_var=yes"
33744else
33745 echo "$as_me: failed program was:" >&5
33746sed 's/^/| /' conftest.$ac_ext >&5
33747
33748eval "$as_ac_var=no"
33749fi
33750rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33751fi
33752echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33753echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33754if test `eval echo '${'$as_ac_var'}'` = yes; then
33755 cat >>confdefs.h <<_ACEOF
33756#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33757_ACEOF
33758 have_ceil=1
33759fi
33760done
33761
33762 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33763echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33764 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33765 echo "$as_me:$LINENO: result: yes" >&5
33766echo "${ECHO_T}yes" >&6
33767 else
33768 echo "$as_me:$LINENO: result: no" >&5
33769echo "${ECHO_T}no" >&6
33770 # not sure we should warn the user, crash, etc.
33771 fi
33772fi
33773
33774if test "$wxUSE_GUI" = "yes"; then
33775
33776
33777 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
33778 drawing dynamic erase event exec font image \
33779 minimal propsize rotate shaped widgets render"
33780
33781 if test "$wxUSE_MONOLITHIC" != "yes"; then
33782 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
33783 fi
33784else
33785 SAMPLES_SUBDIRS="console"
33786fi
33787
33788
33789INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33790-I\${top_srcdir}/include \
33791$REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33792$TOOLKIT_INCLUDE"
33793
33794if test "$GXX" = yes ; then
33795 CXXWARNINGS="-Wall"
33796 fi
33797
33798EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33799
33800CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33801CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33802CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33803
33804
33805LIBS=`echo $LIBS | sed 's/ \+/ /g'`
33806EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33807EXTRALIBS_XML="$EXPAT_LINK"
33808EXTRALIBS_ODBC="$ODBC_LINK"
33809if test "$wxUSE_GUI" = "yes"; then
33810 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33811fi
33812if test "$wxUSE_OPENGL" = "yes"; then
33813 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
33814fi
33815
33816LDFLAGS="$LDFLAGS $PROFILE"
33817
33818if test "$wxUSE_GTK" = 1; then
33819 WXCONFIG_INCLUDE=
33820else
33821 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
33822fi
33823
33824WXCONFIG_EXTRALIBS="$LIBS"
33825
33826if test "$wxUSE_REGEX" = "builtin" ; then
33827 wxconfig_3rdparty="$wxconfig_3rdparty regex"
33828fi
33829if test "$wxUSE_EXPAT" = "builtin" ; then
33830 wxconfig_3rdparty="$wxconfig_3rdparty expat"
33831fi
33832if test "$wxUSE_ODBC" = "builtin" ; then
33833 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33834fi
33835if test "$wxUSE_LIBTIFF" = "builtin" ; then
33836 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
33837fi
33838if test "$wxUSE_LIBJPEG" = "builtin" ; then
33839 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
33840fi
33841if test "$wxUSE_LIBPNG" = "builtin" ; then
33842 wxconfig_3rdparty="$wxconfig_3rdparty png"
33843fi
33844if test "$wxUSE_ZLIB" = "builtin" ; then
33845 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
33846fi
33847if test "$wxUSE_ODBC" = "builtin" ; then
33848 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33849fi
33850
33851for i in $wxconfig_3rdparty ; do
33852 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33853done
33854
33855
33856if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33857 WXUNIV=1
33858else
33859 WXUNIV=0
33860fi
33861
33862
33863
33864
33865
33866
33867
33868
33869
33870if test $wxUSE_MONOLITHIC = "yes" ; then
33871 MONOLITHIC=1
33872else
33873 MONOLITHIC=0
33874fi
33875
33876if test $wxUSE_ODBC != "no" ; then
33877 USE_ODBC=1
33878else
33879 USE_ODBC=0
33880fi
33881
33882if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
33883 OFFICIAL_BUILD=1
33884else
33885 OFFICIAL_BUILD=0
33886fi
33887
33888
33889
33890
33891
33892
33893
33894
33895
33896
33897
33898
33899
33900
33901
33902
33903
33904TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
33905
33906
33907
33908
33909
33910
33911
33912 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33913
33914 if test -n "$ac_tool_prefix"; then
33915 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33916set dummy ${ac_tool_prefix}ranlib; ac_word=$2
33917echo "$as_me:$LINENO: checking for $ac_word" >&5
33918echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33919if test "${ac_cv_prog_RANLIB+set}" = set; then
33920 echo $ECHO_N "(cached) $ECHO_C" >&6
33921else
33922 if test -n "$RANLIB"; then
33923 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
33924else
33925as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33926for as_dir in $PATH
33927do
33928 IFS=$as_save_IFS
33929 test -z "$as_dir" && as_dir=.
33930 for ac_exec_ext in '' $ac_executable_extensions; do
33931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33932 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
33933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33934 break 2
33935 fi
33936done
33937done
33938
33939fi
33940fi
33941RANLIB=$ac_cv_prog_RANLIB
33942if test -n "$RANLIB"; then
33943 echo "$as_me:$LINENO: result: $RANLIB" >&5
33944echo "${ECHO_T}$RANLIB" >&6
33945else
33946 echo "$as_me:$LINENO: result: no" >&5
33947echo "${ECHO_T}no" >&6
33948fi
33949
33950fi
33951if test -z "$ac_cv_prog_RANLIB"; then
33952 ac_ct_RANLIB=$RANLIB
33953 # Extract the first word of "ranlib", so it can be a program name with args.
33954set dummy ranlib; ac_word=$2
33955echo "$as_me:$LINENO: checking for $ac_word" >&5
33956echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33957if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33958 echo $ECHO_N "(cached) $ECHO_C" >&6
33959else
33960 if test -n "$ac_ct_RANLIB"; then
33961 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
33962else
33963as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33964for as_dir in $PATH
33965do
33966 IFS=$as_save_IFS
33967 test -z "$as_dir" && as_dir=.
33968 for ac_exec_ext in '' $ac_executable_extensions; do
33969 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33970 ac_cv_prog_ac_ct_RANLIB="ranlib"
33971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33972 break 2
33973 fi
33974done
33975done
33976
33977 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
33978fi
33979fi
33980ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
33981if test -n "$ac_ct_RANLIB"; then
33982 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33983echo "${ECHO_T}$ac_ct_RANLIB" >&6
33984else
33985 echo "$as_me:$LINENO: result: no" >&5
33986echo "${ECHO_T}no" >&6
33987fi
33988
33989 RANLIB=$ac_ct_RANLIB
33990else
33991 RANLIB="$ac_cv_prog_RANLIB"
33992fi
33993
33994 # Find a good install program. We prefer a C program (faster),
33995# so one script is as good as another. But avoid the broken or
33996# incompatible versions:
33997# SysV /etc/install, /usr/sbin/install
33998# SunOS /usr/etc/install
33999# IRIX /sbin/install
34000# AIX /bin/install
34001# AmigaOS /C/install, which installs bootblocks on floppy discs
34002# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34003# AFS /usr/afsws/bin/install, which mishandles nonexistent args
34004# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34005# ./install, which can be erroneously created by make from ./install.sh.
34006echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34007echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34008if test -z "$INSTALL"; then
34009if test "${ac_cv_path_install+set}" = set; then
34010 echo $ECHO_N "(cached) $ECHO_C" >&6
34011else
34012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34013for as_dir in $PATH
34014do
34015 IFS=$as_save_IFS
34016 test -z "$as_dir" && as_dir=.
34017 # Account for people who put trailing slashes in PATH elements.
34018case $as_dir/ in
34019 ./ | .// | /cC/* | \
34020 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
34021 /usr/ucb/* ) ;;
34022 *)
34023 # OSF1 and SCO ODT 3.0 have their own names for install.
34024 # Don't use installbsd from OSF since it installs stuff as root
34025 # by default.
34026 for ac_prog in ginstall scoinst install; do
34027 for ac_exec_ext in '' $ac_executable_extensions; do
34028 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34029 if test $ac_prog = install &&
34030 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34031 # AIX install. It has an incompatible calling convention.
34032 :
34033 elif test $ac_prog = install &&
34034 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34035 # program-specific install script used by HP pwplus--don't use.
34036 :
34037 else
34038 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
34039 break 3
34040 fi
34041 fi
34042 done
34043 done
34044 ;;
34045esac
34046done
34047
34048
34049fi
34050 if test "${ac_cv_path_install+set}" = set; then
34051 INSTALL=$ac_cv_path_install
34052 else
34053 # As a last resort, use the slow shell script. We don't cache a
34054 # path for INSTALL within a source directory, because that will
34055 # break other packages using the cache if that directory is
34056 # removed, or if the path is relative.
34057 INSTALL=$ac_install_sh
34058 fi
34059fi
34060echo "$as_me:$LINENO: result: $INSTALL" >&5
34061echo "${ECHO_T}$INSTALL" >&6
34062
34063# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34064# It thinks the first close brace ends the variable substitution.
34065test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
34066
34067test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
34068
34069test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
34070
34071 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34072echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34073LN_S=$as_ln_s
34074if test "$LN_S" = "ln -s"; then
34075 echo "$as_me:$LINENO: result: yes" >&5
34076echo "${ECHO_T}yes" >&6
34077else
34078 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34079echo "${ECHO_T}no, using $LN_S" >&6
34080fi
34081
34082
34083 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34084echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34085set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34086if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34087 echo $ECHO_N "(cached) $ECHO_C" >&6
34088else
34089 cat >conftest.make <<\_ACEOF
34090all:
34091 @echo 'ac_maketemp="$(MAKE)"'
34092_ACEOF
34093# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34094eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34095if test -n "$ac_maketemp"; then
34096 eval ac_cv_prog_make_${ac_make}_set=yes
34097else
34098 eval ac_cv_prog_make_${ac_make}_set=no
34099fi
34100rm -f conftest.make
34101fi
34102if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34103 echo "$as_me:$LINENO: result: yes" >&5
34104echo "${ECHO_T}yes" >&6
34105 SET_MAKE=
34106else
34107 echo "$as_me:$LINENO: result: no" >&5
34108echo "${ECHO_T}no" >&6
34109 SET_MAKE="MAKE=${MAKE-make}"
34110fi
34111
34112
34113
34114 if test -n "$ac_tool_prefix"; then
34115 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
34116set dummy ${ac_tool_prefix}ar; ac_word=$2
34117echo "$as_me:$LINENO: checking for $ac_word" >&5
34118echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34119if test "${ac_cv_prog_AR+set}" = set; then
34120 echo $ECHO_N "(cached) $ECHO_C" >&6
34121else
34122 if test -n "$AR"; then
34123 ac_cv_prog_AR="$AR" # Let the user override the test.
34124else
34125as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34126for as_dir in $PATH
34127do
34128 IFS=$as_save_IFS
34129 test -z "$as_dir" && as_dir=.
34130 for ac_exec_ext in '' $ac_executable_extensions; do
34131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34132 ac_cv_prog_AR="${ac_tool_prefix}ar"
34133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34134 break 2
34135 fi
34136done
34137done
34138
34139fi
34140fi
34141AR=$ac_cv_prog_AR
34142if test -n "$AR"; then
34143 echo "$as_me:$LINENO: result: $AR" >&5
34144echo "${ECHO_T}$AR" >&6
34145else
34146 echo "$as_me:$LINENO: result: no" >&5
34147echo "${ECHO_T}no" >&6
34148fi
34149
34150fi
34151if test -z "$ac_cv_prog_AR"; then
34152 ac_ct_AR=$AR
34153 # Extract the first word of "ar", so it can be a program name with args.
34154set dummy ar; ac_word=$2
34155echo "$as_me:$LINENO: checking for $ac_word" >&5
34156echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34157if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
34158 echo $ECHO_N "(cached) $ECHO_C" >&6
34159else
34160 if test -n "$ac_ct_AR"; then
34161 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
34162else
34163as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34164for as_dir in $PATH
34165do
34166 IFS=$as_save_IFS
34167 test -z "$as_dir" && as_dir=.
34168 for ac_exec_ext in '' $ac_executable_extensions; do
34169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34170 ac_cv_prog_ac_ct_AR="ar"
34171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34172 break 2
34173 fi
34174done
34175done
34176
34177 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
34178fi
34179fi
34180ac_ct_AR=$ac_cv_prog_ac_ct_AR
34181if test -n "$ac_ct_AR"; then
34182 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
34183echo "${ECHO_T}$ac_ct_AR" >&6
34184else
34185 echo "$as_me:$LINENO: result: no" >&5
34186echo "${ECHO_T}no" >&6
34187fi
34188
34189 AR=$ac_ct_AR
34190else
34191 AR="$ac_cv_prog_AR"
34192fi
34193
34194 if test -n "$ac_tool_prefix"; then
34195 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
34196set dummy ${ac_tool_prefix}strip; ac_word=$2
34197echo "$as_me:$LINENO: checking for $ac_word" >&5
34198echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34199if test "${ac_cv_prog_STRIP+set}" = set; then
34200 echo $ECHO_N "(cached) $ECHO_C" >&6
34201else
34202 if test -n "$STRIP"; then
34203 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
34204else
34205as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34206for as_dir in $PATH
34207do
34208 IFS=$as_save_IFS
34209 test -z "$as_dir" && as_dir=.
34210 for ac_exec_ext in '' $ac_executable_extensions; do
34211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34212 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
34213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34214 break 2
34215 fi
34216done
34217done
34218
34219fi
34220fi
34221STRIP=$ac_cv_prog_STRIP
34222if test -n "$STRIP"; then
34223 echo "$as_me:$LINENO: result: $STRIP" >&5
34224echo "${ECHO_T}$STRIP" >&6
34225else
34226 echo "$as_me:$LINENO: result: no" >&5
34227echo "${ECHO_T}no" >&6
34228fi
34229
34230fi
34231if test -z "$ac_cv_prog_STRIP"; then
34232 ac_ct_STRIP=$STRIP
34233 # Extract the first word of "strip", so it can be a program name with args.
34234set dummy strip; ac_word=$2
34235echo "$as_me:$LINENO: checking for $ac_word" >&5
34236echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34237if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
34238 echo $ECHO_N "(cached) $ECHO_C" >&6
34239else
34240 if test -n "$ac_ct_STRIP"; then
34241 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
34242else
34243as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34244for as_dir in $PATH
34245do
34246 IFS=$as_save_IFS
34247 test -z "$as_dir" && as_dir=.
34248 for ac_exec_ext in '' $ac_executable_extensions; do
34249 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34250 ac_cv_prog_ac_ct_STRIP="strip"
34251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34252 break 2
34253 fi
34254done
34255done
34256
34257 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
34258fi
34259fi
34260ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
34261if test -n "$ac_ct_STRIP"; then
34262 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
34263echo "${ECHO_T}$ac_ct_STRIP" >&6
34264else
34265 echo "$as_me:$LINENO: result: no" >&5
34266echo "${ECHO_T}no" >&6
34267fi
34268
34269 STRIP=$ac_ct_STRIP
34270else
34271 STRIP="$ac_cv_prog_STRIP"
34272fi
34273
34274 if test -n "$ac_tool_prefix"; then
34275 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
34276set dummy ${ac_tool_prefix}nm; ac_word=$2
34277echo "$as_me:$LINENO: checking for $ac_word" >&5
34278echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34279if test "${ac_cv_prog_NM+set}" = set; then
34280 echo $ECHO_N "(cached) $ECHO_C" >&6
34281else
34282 if test -n "$NM"; then
34283 ac_cv_prog_NM="$NM" # Let the user override the test.
34284else
34285as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34286for as_dir in $PATH
34287do
34288 IFS=$as_save_IFS
34289 test -z "$as_dir" && as_dir=.
34290 for ac_exec_ext in '' $ac_executable_extensions; do
34291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34292 ac_cv_prog_NM="${ac_tool_prefix}nm"
34293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34294 break 2
34295 fi
34296done
34297done
34298
34299fi
34300fi
34301NM=$ac_cv_prog_NM
34302if test -n "$NM"; then
34303 echo "$as_me:$LINENO: result: $NM" >&5
34304echo "${ECHO_T}$NM" >&6
34305else
34306 echo "$as_me:$LINENO: result: no" >&5
34307echo "${ECHO_T}no" >&6
34308fi
34309
34310fi
34311if test -z "$ac_cv_prog_NM"; then
34312 ac_ct_NM=$NM
34313 # Extract the first word of "nm", so it can be a program name with args.
34314set dummy nm; ac_word=$2
34315echo "$as_me:$LINENO: checking for $ac_word" >&5
34316echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34317if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
34318 echo $ECHO_N "(cached) $ECHO_C" >&6
34319else
34320 if test -n "$ac_ct_NM"; then
34321 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
34322else
34323as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34324for as_dir in $PATH
34325do
34326 IFS=$as_save_IFS
34327 test -z "$as_dir" && as_dir=.
34328 for ac_exec_ext in '' $ac_executable_extensions; do
34329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34330 ac_cv_prog_ac_ct_NM="nm"
34331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34332 break 2
34333 fi
34334done
34335done
34336
34337 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
34338fi
34339fi
34340ac_ct_NM=$ac_cv_prog_ac_ct_NM
34341if test -n "$ac_ct_NM"; then
34342 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
34343echo "${ECHO_T}$ac_ct_NM" >&6
34344else
34345 echo "$as_me:$LINENO: result: no" >&5
34346echo "${ECHO_T}no" >&6
34347fi
34348
34349 NM=$ac_ct_NM
34350else
34351 NM="$ac_cv_prog_NM"
34352fi
34353
34354
34355 case ${host} in
34356 *-hp-hpux* )
34357 INSTALL_DIR="mkdir"
34358 ;;
34359 *) INSTALL_DIR="$INSTALL -d"
34360 ;;
34361 esac
34362
34363
34364 LDFLAGS_GUI=
34365 case ${host} in
34366 *-*-cygwin* | *-*-mingw32* )
34367 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
34368 esac
34369
34370
34371 fi
34372
34373 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34374echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34375if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34376 echo $ECHO_N "(cached) $ECHO_C" >&6
34377else
34378
34379 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
34380 egrep -s GNU > /dev/null); then
34381 bakefile_cv_prog_makeisgnu="yes"
34382 else
34383 bakefile_cv_prog_makeisgnu="no"
34384 fi
34385
34386fi
34387echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34388echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34389
34390 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34391 IF_GNU_MAKE=""
34392 else
34393 IF_GNU_MAKE="#"
34394 fi
34395
34396
34397
34398 PLATFORM_UNIX=0
34399 PLATFORM_WIN32=0
34400 PLATFORM_MSDOS=0
34401 PLATFORM_MAC=0
34402 PLATFORM_MACOSX=0
34403 PLATFORM_OS2=0
34404
34405 case "${host}" in
34406 *-*-cygwin* | *-*-mingw32* )
34407 PLATFORM_WIN32=1
34408 ;;
34409 *-pc-msdosdjgpp )
34410 PLATFORM_MSDOS=1
34411 ;;
34412 *-pc-os2_emx | *-pc-os2-emx )
34413 PLATFORM_OS2=1
34414 ;;
34415 powerpc-*-darwin* )
34416 PLATFORM_MAC=1
34417 PLATFORM_MACOSX=1
34418 ;;
34419 * )
34420 PLATFORM_UNIX=1
34421 ;;
34422 esac
34423
34424
34425
34426
34427
34428
34429
34430
34431
34432 SO_SUFFIX="so"
34433 SO_SUFFIX_MODULE="so"
34434 EXEEXT=""
34435 LIBPREFIX=lib
34436 DLLPREFIX=lib
34437 DLLPREFIX_MODULE=
34438
34439 case "${host}" in
34440 *-hp-hpux* )
34441 SO_SUFFIX="sl"
34442 SO_SUFFIX_MODULE="sl"
34443 ;;
34444 *-*-aix* )
34445 SO_SUFFIX="a"
34446 SO_SUFFIX_MODULE="a"
34447 ;;
34448 *-*-cygwin* | *-*-mingw32* )
34449 SO_SUFFIX="dll"
34450 SO_SUFFIX_MODULE="dll"
34451 EXEEXT=".exe"
34452 DLLPREFIX=""
34453 ;;
34454 *-pc-msdosdjgpp )
34455 EXEEXT=".exe"
34456 DLLPREFIX=""
34457 ;;
34458 *-pc-os2_emx | *-pc-os2-emx )
34459 EXEEXT=".exe"
34460 DLLPREFIX=""
34461 LIBPREFIX=""
34462 ;;
34463 powerpc-*-darwin* )
34464 SO_SUFFIX="dylib"
34465 SO_SUFFIX_MODULE="bundle"
34466 ;;
34467 esac
34468
34469
34470
34471
34472
34473
34474
34475
34476
34477 SHARED_LD_CC="\$(CC) -shared -o"
34478 SHARED_LD_CXX="\$(CXX) -shared -o"
34479
34480 if test "x$GCC" = "xyes"; then
34481 PIC_FLAG="-fPIC"
34482 fi
34483
34484 case "${host}" in
34485 *-hp-hpux* )
34486 if test "x$GCC" = "xyes"; then
34487 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
34488 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
34489 else
34490 LDFLAGS="$LDFLAGS -L/usr/lib"
34491
34492 SHARED_LD_CC="${CC} -b -o"
34493 SHARED_LD_CXX="${CXX} -b -o"
34494 PIC_FLAG="+Z"
34495 fi
34496 ;;
34497
34498 *-*-linux* )
34499 if test "x$GCC" != "xyes"; then
34500 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34501echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34502if test "${bakefile_cv_prog_icc+set}" = set; then
34503 echo $ECHO_N "(cached) $ECHO_C" >&6
34504else
34505
34506 cat >conftest.$ac_ext <<_ACEOF
34507#line $LINENO "configure"
34508/* confdefs.h. */
34509_ACEOF
34510cat confdefs.h >>conftest.$ac_ext
34511cat >>conftest.$ac_ext <<_ACEOF
34512/* end confdefs.h. */
34513
34514int
34515main ()
34516{
34517
34518 #ifndef __INTEL_COMPILER
34519 #error Not icc
34520 #endif
34521
34522 ;
34523 return 0;
34524}
34525_ACEOF
34526rm -f conftest.$ac_objext
34527if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34528 (eval $ac_compile) 2>&5
34529 ac_status=$?
34530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34531 (exit $ac_status); } &&
34532 { ac_try='test -s conftest.$ac_objext'
34533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34534 (eval $ac_try) 2>&5
34535 ac_status=$?
34536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34537 (exit $ac_status); }; }; then
34538 bakefile_cv_prog_icc=yes
34539else
34540 echo "$as_me: failed program was:" >&5
34541sed 's/^/| /' conftest.$ac_ext >&5
34542
34543bakefile_cv_prog_icc=no
34544
34545fi
34546rm -f conftest.$ac_objext conftest.$ac_ext
34547
34548fi
34549echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34550echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34551 if test "$bakefile_cv_prog_icc" = "yes"; then
34552 PIC_FLAG="-KPIC"
34553 fi
34554 fi
34555 ;;
34556
34557 *-*-solaris2* )
34558 if test "x$GCC" != xyes ; then
34559 SHARED_LD_CC="${CC} -G -o"
34560 SHARED_LD_CXX="${CXX} -G -o"
34561 PIC_FLAG="-KPIC"
34562 fi
34563 ;;
34564
34565 *-*-darwin* )
34566 CFLAGS="$CFLAGS -fno-common"
34567 CXXFLAGS="$CXXFLAGS -fno-common"
34568
34569
34570 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
34571echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
34572if test "${wx_cv_gcc31+set}" = set; then
34573 echo $ECHO_N "(cached) $ECHO_C" >&6
34574else
34575
34576 cat >conftest.$ac_ext <<_ACEOF
34577#line $LINENO "configure"
34578/* confdefs.h. */
34579_ACEOF
34580cat confdefs.h >>conftest.$ac_ext
34581cat >>conftest.$ac_ext <<_ACEOF
34582/* end confdefs.h. */
34583
34584int
34585main ()
34586{
34587
34588 #if (__GNUC__ < 3) || \
34589 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
34590 #error old gcc
34591 #endif
34592
34593 ;
34594 return 0;
34595}
34596_ACEOF
34597rm -f conftest.$ac_objext
34598if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34599 (eval $ac_compile) 2>&5
34600 ac_status=$?
34601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34602 (exit $ac_status); } &&
34603 { ac_try='test -s conftest.$ac_objext'
34604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34605 (eval $ac_try) 2>&5
34606 ac_status=$?
34607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34608 (exit $ac_status); }; }; then
34609
34610 wx_cv_gcc31=yes
34611
34612else
34613 echo "$as_me: failed program was:" >&5
34614sed 's/^/| /' conftest.$ac_ext >&5
34615
34616
34617 wx_cv_gcc31=no
34618
34619
34620fi
34621rm -f conftest.$ac_objext conftest.$ac_ext
34622
34623fi
34624echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
34625echo "${ECHO_T}$wx_cv_gcc31" >&6
34626 if test "$wx_cv_gcc31" = "no"; then
34627 cat <<EOF >shared-ld-sh
34628#!/bin/sh
34629#-----------------------------------------------------------------------------
34630#-- Name: distrib/mac/shared-ld-sh
34631#-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34632#-- Author: Gilles Depeyrot
34633#-- Copyright: (c) 2002 Gilles Depeyrot
34634#-- Licence: any use permitted
34635#-----------------------------------------------------------------------------
34636
34637verbose=0
34638args=""
34639objects=""
34640linking_flag="-dynamiclib"
34641
34642while test \${#} -gt 0; do
34643 case \${1} in
34644
34645 -v)
34646 verbose=1
34647 ;;
34648
34649 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34650 # collect these options and values
34651 args="\${args} \${1} \${2}"
34652 shift
34653 ;;
34654
34655 -l*|-L*|-flat_namespace)
34656 # collect these options
34657 args="\${args} \${1}"
34658 ;;
34659
34660 -dynamiclib|-bundle)
34661 linking_flag="\${1}"
34662 ;;
34663
34664 -*)
34665 echo "shared-ld: unhandled option '\${1}'"
34666 exit 1
34667 ;;
34668
34669 *.o | *.a | *.dylib)
34670 # collect object files
34671 objects="\${objects} \${1}"
34672 ;;
34673
34674 *)
34675 echo "shared-ld: unhandled argument '\${1}'"
34676 exit 1
34677 ;;
34678
34679 esac
34680 shift
34681done
34682
34683#
34684# Link one module containing all the others
34685#
34686if test \${verbose} = 1; then
34687 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34688fi
34689c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34690status=\$?
34691if test \${status} != 0; then
34692 exit \${status}
34693fi
34694
34695#
34696# Link the shared library from the single module created
34697#
34698if test \${verbose} = 1; then
34699 echo "cc \${linking_flag} master.\$\$.o \${args}"
34700fi
34701c++ \${linking_flag} master.\$\$.o \${args}
34702status=\$?
34703if test \${status} != 0; then
34704 exit \${status}
34705fi
34706
34707#
34708# Remove intermediate module
34709#
34710rm -f master.\$\$.o
34711
34712exit 0
34713EOF
34714 chmod +x shared-ld-sh
34715
34716 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -o"
34717 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -o"
34718 SHARED_LD_CXX="$SHARED_LD_CC"
34719 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
34720 else
34721 SHARED_LD_CC="\${CC} -dynamiclib -single_module -o"
34722 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -o"
34723 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -o"
34724 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -o"
34725 fi
34726
34727 PIC_FLAG="-dynamic -fPIC"
34728 ;;
34729
34730 *-*-aix* )
34731 if test "x$GCC" != "xyes"; then
34732 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34733set dummy makeC++SharedLib; ac_word=$2
34734echo "$as_me:$LINENO: checking for $ac_word" >&5
34735echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34736if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34737 echo $ECHO_N "(cached) $ECHO_C" >&6
34738else
34739 if test -n "$AIX_CXX_LD"; then
34740 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34741else
34742as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34743for as_dir in $PATH
34744do
34745 IFS=$as_save_IFS
34746 test -z "$as_dir" && as_dir=.
34747 for ac_exec_ext in '' $ac_executable_extensions; do
34748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34749 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
34750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34751 break 2
34752 fi
34753done
34754done
34755
34756 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
34757fi
34758fi
34759AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
34760if test -n "$AIX_CXX_LD"; then
34761 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34762echo "${ECHO_T}$AIX_CXX_LD" >&6
34763else
34764 echo "$as_me:$LINENO: result: no" >&5
34765echo "${ECHO_T}no" >&6
34766fi
34767
34768 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
34769 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
34770 fi
34771 ;;
34772
34773 *-*-beos* )
34774 SHARED_LD_CC="${LD} -shared -o"
34775 SHARED_LD_CXX="${LD} -shared -o"
34776 ;;
34777
34778 *-*-irix* )
34779 if test "x$GCC" != "xyes"; then
34780 PIC_FLAG="-KPIC"
34781 fi
34782 ;;
34783
34784 *-*-cygwin* | *-*-mingw32* )
34785 PIC_FLAG=""
34786 ;;
34787
34788 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34789 *-*-sunos4* | \
34790 *-*-osf* | \
34791 *-*-dgux5* | \
34792 *-pc-os2_emx | *-pc-os2-emx | \
34793 *-*-sysv5* )
34794 ;;
34795
34796 *)
34797 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34798echo "$as_me: error: unknown system type $host." >&2;}
34799 { (exit 1); exit 1; }; }
34800 esac
34801
34802 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
34803 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
34804 fi
34805 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
34806 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
34807 fi
34808
34809
34810
34811
34812
34813
34814
34815
34816 USE_SOVERSION=0
34817 USE_SOVERLINUX=0
34818 USE_SOVERSOLARIS=0
34819 USE_SOSYMLINKS=0
34820 USE_MACVERSION=0
34821 SONAME_FLAG=
34822
34823 case "${host}" in
34824 *-*-linux* )
34825 SONAME_FLAG="-Wl,-soname,"
34826 USE_SOVERSION=1
34827 USE_SOVERLINUX=1
34828 USE_SOSYMLINKS=1
34829 ;;
34830
34831 *-*-solaris2* )
34832 SONAME_FLAG="-h "
34833 USE_SOVERSION=1
34834 USE_SOVERSOLARIS=1
34835 USE_SOSYMLINKS=1
34836 ;;
34837
34838 *-*-darwin* )
34839 USE_MACVERSION=1
34840 USE_SOVERSION=1
34841 USE_SOSYMLINKS=1
34842 ;;
34843 esac
34844
34845
34846
34847
34848
34849
34850
34851
34852
34853 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34854echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34855 DEPS_TRACKING=0
34856
34857 if test "x$GCC" = "xyes"; then
34858 DEPSMODE=gcc
34859 DEPS_TRACKING=1
34860 case "${host}" in
34861 powerpc-*-darwin* )
34862 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
34863 ;;
34864 * )
34865 DEPSFLAG_GCC="-MMD"
34866 ;;
34867 esac
34868 echo "$as_me:$LINENO: result: gcc" >&5
34869echo "${ECHO_T}gcc" >&6
34870 else
34871 echo "$as_me:$LINENO: result: none" >&5
34872echo "${ECHO_T}none" >&6
34873 fi
34874
34875 if test $DEPS_TRACKING = 1 ; then
34876 cat <<EOF >bk-deps
34877#!/bin/sh
34878
34879# This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34880# script. It is used to track C/C++ files dependencies in portable way.
34881#
34882# Permission is given to use this file in any way.
34883
34884DEPSMODE=$DEPSMODE
34885DEPSDIR=.deps
34886DEPSFLAG_GCC="$DEPSFLAG_GCC"
34887
34888mkdir -p \$DEPSDIR
34889
34890if test \$DEPSMODE = gcc ; then
34891 \${*} \${DEPSFLAG_GCC}
34892 status=\${?}
34893 if test \${status} != 0 ; then
34894 exit \${status}
34895 fi
34896 # move created file to the location we want it in:
34897 while test \${#} -gt 0; do
34898 case "\${1}" in
34899 -o )
34900 shift
34901 objfile=\${1}
34902 ;;
34903 -* )
34904 ;;
34905 * )
34906 srcfile=\${1}
34907 ;;
34908 esac
34909 shift
34910 done
34911 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34912 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34913 if test -f \$depfile ; then
34914 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34915 rm -f \$depfile
34916 else
34917 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34918 if test -f \$depfile ; then
34919 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34920 rm -f \$depfile
34921 fi
34922 fi
34923 exit 0
34924else
34925 \${*}
34926 exit \${?}
34927fi
34928EOF
34929 chmod +x bk-deps
34930 fi
34931
34932
34933
34934
34935 RESCOMP=
34936 SETFILE=
34937
34938 case ${host} in
34939 *-*-cygwin* | *-*-mingw32* )
34940 if test "$build" != "$host" ; then
34941 RESCOMP=$host_alias-windres
34942 else
34943 # Extract the first word of "windres", so it can be a program name with args.
34944set dummy windres; ac_word=$2
34945echo "$as_me:$LINENO: checking for $ac_word" >&5
34946echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34947if test "${ac_cv_prog_RESCOMP+set}" = set; then
34948 echo $ECHO_N "(cached) $ECHO_C" >&6
34949else
34950 if test -n "$RESCOMP"; then
34951 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34952else
34953as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34954for as_dir in $PATH
34955do
34956 IFS=$as_save_IFS
34957 test -z "$as_dir" && as_dir=.
34958 for ac_exec_ext in '' $ac_executable_extensions; do
34959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34960 ac_cv_prog_RESCOMP="windres"
34961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34962 break 2
34963 fi
34964done
34965done
34966
34967 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
34968fi
34969fi
34970RESCOMP=$ac_cv_prog_RESCOMP
34971if test -n "$RESCOMP"; then
34972 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34973echo "${ECHO_T}$RESCOMP" >&6
34974else
34975 echo "$as_me:$LINENO: result: no" >&5
34976echo "${ECHO_T}no" >&6
34977fi
34978
34979 fi
34980 ;;
34981
34982 *-*-darwin* )
34983 # Extract the first word of "Rez", so it can be a program name with args.
34984set dummy Rez; ac_word=$2
34985echo "$as_me:$LINENO: checking for $ac_word" >&5
34986echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34987if test "${ac_cv_prog_RESCOMP+set}" = set; then
34988 echo $ECHO_N "(cached) $ECHO_C" >&6
34989else
34990 if test -n "$RESCOMP"; then
34991 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34992else
34993as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34994for as_dir in $PATH
34995do
34996 IFS=$as_save_IFS
34997 test -z "$as_dir" && as_dir=.
34998 for ac_exec_ext in '' $ac_executable_extensions; do
34999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35000 ac_cv_prog_RESCOMP="Rez"
35001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35002 break 2
35003 fi
35004done
35005done
35006
35007 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
35008fi
35009fi
35010RESCOMP=$ac_cv_prog_RESCOMP
35011if test -n "$RESCOMP"; then
35012 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35013echo "${ECHO_T}$RESCOMP" >&6
35014else
35015 echo "$as_me:$LINENO: result: no" >&5
35016echo "${ECHO_T}no" >&6
35017fi
35018
35019 # Extract the first word of "SetFile", so it can be a program name with args.
35020set dummy SetFile; ac_word=$2
35021echo "$as_me:$LINENO: checking for $ac_word" >&5
35022echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35023if test "${ac_cv_prog_SETFILE+set}" = set; then
35024 echo $ECHO_N "(cached) $ECHO_C" >&6
35025else
35026 if test -n "$SETFILE"; then
35027 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
35028else
35029as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35030for as_dir in $PATH
35031do
35032 IFS=$as_save_IFS
35033 test -z "$as_dir" && as_dir=.
35034 for ac_exec_ext in '' $ac_executable_extensions; do
35035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35036 ac_cv_prog_SETFILE="SetFile"
35037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35038 break 2
35039 fi
35040done
35041done
35042
35043 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
35044fi
35045fi
35046SETFILE=$ac_cv_prog_SETFILE
35047if test -n "$SETFILE"; then
35048 echo "$as_me:$LINENO: result: $SETFILE" >&5
35049echo "${ECHO_T}$SETFILE" >&6
35050else
35051 echo "$as_me:$LINENO: result: no" >&5
35052echo "${ECHO_T}no" >&6
35053fi
35054
35055 ;;
35056 esac
35057
35058
35059
35060
35061
35062
35063
35064
35065 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
35066if test "${enable_precomp_headers+set}" = set; then
35067 enableval="$enable_precomp_headers"
35068 bk_use_pch="$enableval"
35069fi;
35070
35071 GCC_PCH=0
35072
35073 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
35074 if test "x$GCC" = "xyes"; then
35075 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
35076echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
35077 cat >conftest.$ac_ext <<_ACEOF
35078#line $LINENO "configure"
35079/* confdefs.h. */
35080_ACEOF
35081cat confdefs.h >>conftest.$ac_ext
35082cat >>conftest.$ac_ext <<_ACEOF
35083/* end confdefs.h. */
35084
35085int
35086main ()
35087{
35088
35089 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
35090 #error "no pch support"
35091 #endif
35092 #if (__GNUC__ < 3)
35093 #error "no pch support"
35094 #endif
35095 #if (__GNUC__ == 3) && \
35096 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
35097 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
35098 #error "no pch support"
35099 #endif
35100
35101 ;
35102 return 0;
35103}
35104_ACEOF
35105rm -f conftest.$ac_objext
35106if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35107 (eval $ac_compile) 2>&5
35108 ac_status=$?
35109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35110 (exit $ac_status); } &&
35111 { ac_try='test -s conftest.$ac_objext'
35112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35113 (eval $ac_try) 2>&5
35114 ac_status=$?
35115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35116 (exit $ac_status); }; }; then
35117
35118 echo "$as_me:$LINENO: result: yes" >&5
35119echo "${ECHO_T}yes" >&6
35120 CPPFLAGS="-fpch-deps $CPPFLAGS"
35121 GCC_PCH=1
35122
35123else
35124 echo "$as_me: failed program was:" >&5
35125sed 's/^/| /' conftest.$ac_ext >&5
35126
35127
35128 echo "$as_me:$LINENO: result: no" >&5
35129echo "${ECHO_T}no" >&6
35130
35131fi
35132rm -f conftest.$ac_objext conftest.$ac_ext
35133 if test $GCC_PCH = 1 ; then
35134 cat <<EOF >bk-make-pch
35135#!/bin/sh
35136
35137# This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35138# script. It is used to generated precompiled headers.
35139#
35140# Permission is given to use this file in any way.
35141
35142outfile="\${1}"
35143header="\${2}"
35144shift
35145shift
35146
35147compiler=
35148headerfile=
35149while test \${#} -gt 0; do
35150 case "\${1}" in
35151 -I* )
35152 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
35153 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
35154 headerfile="\${incdir}/\${header}"
35155 fi
35156 ;;
35157 esac
35158 compiler="\${compiler} \${1}"
35159 shift
35160done
35161
35162if test "x\${headerfile}" = "x" ; then
35163 echo "error: can't find header \${header} in include paths" >2
35164else
35165 if test -f \${outfile} ; then
35166 rm -f \${outfile}
35167 else
35168 mkdir -p \`dirname \${outfile}\`
35169 fi
35170 depsfile=".deps/\`basename \${outfile}\`.d"
35171 mkdir -p .deps
35172 # can do this because gcc is >= 3.4:
35173 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
35174 exit \${?}
35175fi
35176EOF
35177 chmod +x bk-make-pch
35178 fi
35179 fi
35180 fi
35181
35182
35183
35184
35185
35186 COND_BUILD_DEBUG="#"
35187 if test "x$BUILD" = "xdebug" ; then
35188 COND_BUILD_DEBUG=""
35189 fi
35190
35191 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
35192 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
35193 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
35194 fi
35195
35196 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
35197 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
35198 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
35199 fi
35200
35201 COND_BUILD_RELEASE="#"
35202 if test "x$BUILD" = "xrelease" ; then
35203 COND_BUILD_RELEASE=""
35204 fi
35205
35206 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
35207 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
35208 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
35209 fi
35210
35211 COND_DEBUG_FLAG_1="#"
35212 if test "x$DEBUG_FLAG" = "x1" ; then
35213 COND_DEBUG_FLAG_1=""
35214 fi
35215
35216 COND_DEBUG_INFO_0="#"
35217 if test "x$DEBUG_INFO" = "x0" ; then
35218 COND_DEBUG_INFO_0=""
35219 fi
35220
35221 COND_DEBUG_INFO_1="#"
35222 if test "x$DEBUG_INFO" = "x1" ; then
35223 COND_DEBUG_INFO_1=""
35224 fi
35225
35226 COND_DEPS_TRACKING_0="#"
35227 if test "x$DEPS_TRACKING" = "x0" ; then
35228 COND_DEPS_TRACKING_0=""
35229 fi
35230
35231 COND_DEPS_TRACKING_1="#"
35232 if test "x$DEPS_TRACKING" = "x1" ; then
35233 COND_DEPS_TRACKING_1=""
35234 fi
35235
35236 COND_GCC_PCH_1="#"
35237 if test "x$GCC_PCH" = "x1" ; then
35238 COND_GCC_PCH_1=""
35239 fi
35240
35241 COND_MONOLITHIC_0="#"
35242 if test "x$MONOLITHIC" = "x0" ; then
35243 COND_MONOLITHIC_0=""
35244 fi
35245
35246 COND_MONOLITHIC_0_SHARED_0="#"
35247 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
35248 COND_MONOLITHIC_0_SHARED_0=""
35249 fi
35250
35251 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
35252 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
35253 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
35254 fi
35255
35256 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
35257 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35258 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
35259 fi
35260
35261 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
35262 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
35263 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
35264 fi
35265
35266 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
35267 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
35268 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
35269 fi
35270
35271 COND_MONOLITHIC_0_SHARED_1="#"
35272 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
35273 COND_MONOLITHIC_0_SHARED_1=""
35274 fi
35275
35276 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
35277 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
35278 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
35279 fi
35280
35281 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
35282 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35283 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
35284 fi
35285
35286 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
35287 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
35288 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
35289 fi
35290
35291 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
35292 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
35293 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
35294 fi
35295
35296 COND_MONOLITHIC_1="#"
35297 if test "x$MONOLITHIC" = "x1" ; then
35298 COND_MONOLITHIC_1=""
35299 fi
35300
35301 COND_MONOLITHIC_1_SHARED_0="#"
35302 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
35303 COND_MONOLITHIC_1_SHARED_0=""
35304 fi
35305
35306 COND_MONOLITHIC_1_SHARED_1="#"
35307 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
35308 COND_MONOLITHIC_1_SHARED_1=""
35309 fi
35310
35311 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
35312 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
35313 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
35314 fi
35315
35316 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
35317 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
35318 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
35319 fi
35320
35321 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
35322 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
35323 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
35324 fi
35325
35326 COND_PLATFORM_MACOSX_1="#"
35327 if test "x$PLATFORM_MACOSX" = "x1" ; then
35328 COND_PLATFORM_MACOSX_1=""
35329 fi
35330
35331 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
35332 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
35333 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
35334 fi
35335
35336 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
35337 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
35338 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
35339 fi
35340
35341 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
35342 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
35343 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
35344 fi
35345
35346 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
35347 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
35348 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
35349 fi
35350
35351 COND_PLATFORM_MAC_1="#"
35352 if test "x$PLATFORM_MAC" = "x1" ; then
35353 COND_PLATFORM_MAC_1=""
35354 fi
35355
35356 COND_PLATFORM_OS2_1="#"
35357 if test "x$PLATFORM_OS2" = "x1" ; then
35358 COND_PLATFORM_OS2_1=""
35359 fi
35360
35361 COND_PLATFORM_UNIX_0="#"
35362 if test "x$PLATFORM_UNIX" = "x0" ; then
35363 COND_PLATFORM_UNIX_0=""
35364 fi
35365
35366 COND_PLATFORM_UNIX_1="#"
35367 if test "x$PLATFORM_UNIX" = "x1" ; then
35368 COND_PLATFORM_UNIX_1=""
35369 fi
35370
35371 COND_PLATFORM_WIN32_0="#"
35372 if test "x$PLATFORM_WIN32" = "x0" ; then
35373 COND_PLATFORM_WIN32_0=""
35374 fi
35375
35376 COND_PLATFORM_WIN32_1="#"
35377 if test "x$PLATFORM_WIN32" = "x1" ; then
35378 COND_PLATFORM_WIN32_1=""
35379 fi
35380
35381 COND_SHARED_0="#"
35382 if test "x$SHARED" = "x0" ; then
35383 COND_SHARED_0=""
35384 fi
35385
35386 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
35387 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35388 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
35389 fi
35390
35391 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35392 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35393 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35394 fi
35395
35396 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35397 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35398 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35399 fi
35400
35401 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35402 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35403 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35404 fi
35405
35406 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
35407 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35408 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
35409 fi
35410
35411 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
35412 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35413 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
35414 fi
35415
35416 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
35417 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35418 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
35419 fi
35420
35421 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
35422 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35423 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
35424 fi
35425
35426 COND_SHARED_1="#"
35427 if test "x$SHARED" = "x1" ; then
35428 COND_SHARED_1=""
35429 fi
35430
35431 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
35432 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35433 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
35434 fi
35435
35436 COND_TOOLKIT_COCOA="#"
35437 if test "x$TOOLKIT" = "xCOCOA" ; then
35438 COND_TOOLKIT_COCOA=""
35439 fi
35440
35441 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
35442 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35443 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
35444 fi
35445
35446 COND_TOOLKIT_GTK="#"
35447 if test "x$TOOLKIT" = "xGTK" ; then
35448 COND_TOOLKIT_GTK=""
35449 fi
35450
35451 COND_TOOLKIT_GTK_USE_GUI_1="#"
35452 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35453 COND_TOOLKIT_GTK_USE_GUI_1=""
35454 fi
35455
35456 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
35457 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35458 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
35459 fi
35460
35461 COND_TOOLKIT_MAC="#"
35462 if test "x$TOOLKIT" = "xMAC" ; then
35463 COND_TOOLKIT_MAC=""
35464 fi
35465
35466 COND_TOOLKIT_MAC_USE_GUI_1="#"
35467 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35468 COND_TOOLKIT_MAC_USE_GUI_1=""
35469 fi
35470
35471 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
35472 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35473 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
35474 fi
35475
35476 COND_TOOLKIT_MGL="#"
35477 if test "x$TOOLKIT" = "xMGL" ; then
35478 COND_TOOLKIT_MGL=""
35479 fi
35480
35481 COND_TOOLKIT_MGL_USE_GUI_1="#"
35482 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35483 COND_TOOLKIT_MGL_USE_GUI_1=""
35484 fi
35485
35486 COND_TOOLKIT_MOTIF="#"
35487 if test "x$TOOLKIT" = "xMOTIF" ; then
35488 COND_TOOLKIT_MOTIF=""
35489 fi
35490
35491 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
35492 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35493 COND_TOOLKIT_MOTIF_USE_GUI_1=""
35494 fi
35495
35496 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
35497 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35498 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
35499 fi
35500
35501 COND_TOOLKIT_MSW="#"
35502 if test "x$TOOLKIT" = "xMSW" ; then
35503 COND_TOOLKIT_MSW=""
35504 fi
35505
35506 COND_TOOLKIT_MSW_USE_GUI_1="#"
35507 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35508 COND_TOOLKIT_MSW_USE_GUI_1=""
35509 fi
35510
35511 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
35512 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35513 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
35514 fi
35515
35516 COND_TOOLKIT_PM="#"
35517 if test "x$TOOLKIT" = "xPM" ; then
35518 COND_TOOLKIT_PM=""
35519 fi
35520
35521 COND_TOOLKIT_PM_USE_GUI_1="#"
35522 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
35523 COND_TOOLKIT_PM_USE_GUI_1=""
35524 fi
35525
35526 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
35527 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35528 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
35529 fi
35530
35531 COND_TOOLKIT_X11="#"
35532 if test "x$TOOLKIT" = "xX11" ; then
35533 COND_TOOLKIT_X11=""
35534 fi
35535
35536 COND_TOOLKIT_X11_USE_GUI_1="#"
35537 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35538 COND_TOOLKIT_X11_USE_GUI_1=""
35539 fi
35540
35541 COND_UNICODE_1="#"
35542 if test "x$UNICODE" = "x1" ; then
35543 COND_UNICODE_1=""
35544 fi
35545
35546 COND_USE_EXCEPTIONS_0="#"
35547 if test "x$USE_EXCEPTIONS" = "x0" ; then
35548 COND_USE_EXCEPTIONS_0=""
35549 fi
35550
35551 COND_USE_EXCEPTIONS_1="#"
35552 if test "x$USE_EXCEPTIONS" = "x1" ; then
35553 COND_USE_EXCEPTIONS_1=""
35554 fi
35555
35556 COND_USE_GUI_0="#"
35557 if test "x$USE_GUI" = "x0" ; then
35558 COND_USE_GUI_0=""
35559 fi
35560
35561 COND_USE_GUI_1="#"
35562 if test "x$USE_GUI" = "x1" ; then
35563 COND_USE_GUI_1=""
35564 fi
35565
35566 COND_USE_GUI_1_WXUNIV_0="#"
35567 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35568 COND_USE_GUI_1_WXUNIV_0=""
35569 fi
35570
35571 COND_USE_GUI_1_WXUNIV_1="#"
35572 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35573 COND_USE_GUI_1_WXUNIV_1=""
35574 fi
35575
35576 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35577 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35578 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35579 fi
35580
35581 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35582 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35583 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35584 fi
35585
35586 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35587 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35588 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35589 fi
35590
35591 COND_USE_SOSYMLINKS_1="#"
35592 if test "x$USE_SOSYMLINKS" = "x1" ; then
35593 COND_USE_SOSYMLINKS_1=""
35594 fi
35595
35596 COND_USE_SOVERLINUX_1="#"
35597 if test "x$USE_SOVERLINUX" = "x1" ; then
35598 COND_USE_SOVERLINUX_1=""
35599 fi
35600
35601 COND_USE_SOVERSION_0="#"
35602 if test "x$USE_SOVERSION" = "x0" ; then
35603 COND_USE_SOVERSION_0=""
35604 fi
35605
35606 COND_USE_SOVERSOLARIS_1="#"
35607 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35608 COND_USE_SOVERSOLARIS_1=""
35609 fi
35610
35611 COND_WXUNIV_1="#"
35612 if test "x$WXUNIV" = "x1" ; then
35613 COND_WXUNIV_1=""
35614 fi
35615
35616 COND_WXUSE_EXPAT_BUILTIN="#"
35617 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35618 COND_WXUSE_EXPAT_BUILTIN=""
35619 fi
35620
35621 COND_WXUSE_LIBJPEG_BUILTIN="#"
35622 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35623 COND_WXUSE_LIBJPEG_BUILTIN=""
35624 fi
35625
35626 COND_WXUSE_LIBPNG_BUILTIN="#"
35627 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35628 COND_WXUSE_LIBPNG_BUILTIN=""
35629 fi
35630
35631 COND_WXUSE_LIBTIFF_BUILTIN="#"
35632 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35633 COND_WXUSE_LIBTIFF_BUILTIN=""
35634 fi
35635
35636 COND_WXUSE_ODBC_BUILTIN="#"
35637 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35638 COND_WXUSE_ODBC_BUILTIN=""
35639 fi
35640
35641 COND_WXUSE_REGEX_BUILTIN="#"
35642 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35643 COND_WXUSE_REGEX_BUILTIN=""
35644 fi
35645
35646 COND_WXUSE_ZLIB_BUILTIN="#"
35647 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35648 COND_WXUSE_ZLIB_BUILTIN=""
35649 fi
35650
35651
35652
35653
35654
35655if test $GCC_PCH = 1 ; then
35656 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35657else
35658 case "${host}" in
35659 powerpc-*-darwin* )
35660 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
35661 ;;
35662 esac
35663fi
35664case "${host}" in
35665 powerpc-*-darwin* )
35666 CODE_GEN_FLAGS_CXX="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
35667 ;;
35668esac
35669
35670
35671SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35672
35673
35674
35675
35676
35677
35678
35679
35680
35681
35682
35683
35684
35685
35686
35687
35688
35689
35690
35691
35692
35693
35694
35695
35696
35697
35698
35699
35700
35701
35702
35703
35704
35705
35706
35707
35708
35709
35710
35711
35712
35713
35714
35715
35716
35717
35718
35719
35720
35721
35722
35723
35724
35725
35726
35727
35728
35729
35730
35731
35732
35733
35734
35735
35736
35737
35738
35739
35740
35741
35742
35743
35744
35745
35746
35747
35748
35749
35750
35751
35752
35753
35754
35755
35756
35757
35758
35759
35760
35761
35762
35763
35764
35765
35766
35767
35768
35769
35770
35771
35772echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35773echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35774set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
35775if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35776 echo $ECHO_N "(cached) $ECHO_C" >&6
35777else
35778 cat >conftest.make <<\_ACEOF
35779all:
35780 @echo 'ac_maketemp="$(MAKE)"'
35781_ACEOF
35782# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35783eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35784if test -n "$ac_maketemp"; then
35785 eval ac_cv_prog_make_${ac_make}_set=yes
35786else
35787 eval ac_cv_prog_make_${ac_make}_set=no
35788fi
35789rm -f conftest.make
35790fi
35791if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35792 echo "$as_me:$LINENO: result: yes" >&5
35793echo "${ECHO_T}yes" >&6
35794 SET_MAKE=
35795else
35796 echo "$as_me:$LINENO: result: no" >&5
35797echo "${ECHO_T}no" >&6
35798 SET_MAKE="MAKE=${MAKE-make}"
35799fi
35800
35801
35802if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
35803 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
35804fi
35805
35806 ac_config_headers="$ac_config_headers setup.h"
35807
35808
35809 ac_config_files="$ac_config_files wx-config version-script Makefile"
35810
35811
35812 ac_config_commands="$ac_config_commands default"
35813
35814
35815
35816if test "$wxUSE_GUI" = "yes"; then
35817 SUBDIRS="samples demos utils contrib"
35818else SUBDIRS="samples utils"
35819fi
35820
35821for subdir in `echo $SUBDIRS`; do
35822 if test -d ${srcdir}/${subdir} ; then
35823 if test "$wxUSE_GUI" = "yes"; then
35824 if test ${subdir} = "samples"; then
35825 makefiles="samples/Makefile.in $makefiles"
35826 for sample in `echo $SAMPLES_SUBDIRS`; do
35827 if test -d $srcdir/samples/$sample; then
35828 makefiles="samples/$sample/Makefile.in $makefiles"
35829 fi
35830 done
35831 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
35832 fi
35833 else if test ${subdir} = "samples"; then
35834 makefiles="samples/Makefile.in samples/console/Makefile.in"
35835 else makefiles="utils/HelpGen/Makefile.in \
35836 utils/HelpGen/src/Makefile.in"
35837 fi
35838 fi
35839
35840 for mkin in $makefiles ; do
35841 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35842 ac_config_files="$ac_config_files $mk"
35843
35844 done
35845 fi
35846done
35847
35848
35849cat >confcache <<\_ACEOF
35850# This file is a shell script that caches the results of configure
35851# tests run on this system so they can be shared between configure
35852# scripts and configure runs, see configure's option --config-cache.
35853# It is not useful on other systems. If it contains results you don't
35854# want to keep, you may remove or edit it.
35855#
35856# config.status only pays attention to the cache file if you give it
35857# the --recheck option to rerun configure.
35858#
35859# `ac_cv_env_foo' variables (set or unset) will be overridden when
35860# loading this file, other *unset* `ac_cv_foo' will be assigned the
35861# following values.
35862
35863_ACEOF
35864
35865# The following way of writing the cache mishandles newlines in values,
35866# but we know of no workaround that is simple, portable, and efficient.
35867# So, don't put newlines in cache variables' values.
35868# Ultrix sh set writes to stderr and can't be redirected directly,
35869# and sets the high bit in the cache file unless we assign to the vars.
35870{
35871 (set) 2>&1 |
35872 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35873 *ac_space=\ *)
35874 # `set' does not quote correctly, so add quotes (double-quote
35875 # substitution turns \\\\ into \\, and sed turns \\ into \).
35876 sed -n \
35877 "s/'/'\\\\''/g;
35878 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35879 ;;
35880 *)
35881 # `set' quotes correctly as required by POSIX, so do not add quotes.
35882 sed -n \
35883 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35884 ;;
35885 esac;
35886} |
35887 sed '
35888 t clear
35889 : clear
35890 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35891 t end
35892 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35893 : end' >>confcache
35894if diff $cache_file confcache >/dev/null 2>&1; then :; else
35895 if test -w $cache_file; then
35896 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35897 cat confcache >$cache_file
35898 else
35899 echo "not updating unwritable cache $cache_file"
35900 fi
35901fi
35902rm -f confcache
35903
35904test "x$prefix" = xNONE && prefix=$ac_default_prefix
35905# Let make expand exec_prefix.
35906test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
35907
35908# VPATH may cause trouble with some makes, so we remove $(srcdir),
35909# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35910# trailing colons and then remove the whole line if VPATH becomes empty
35911# (actually we leave an empty line to preserve line numbers).
35912if test "x$srcdir" = x.; then
35913 ac_vpsub='/^[ ]*VPATH[ ]*=/{
35914s/:*\$(srcdir):*/:/;
35915s/:*\${srcdir}:*/:/;
35916s/:*@srcdir@:*/:/;
35917s/^\([^=]*=[ ]*\):*/\1/;
35918s/:*$//;
35919s/^[^=]*=[ ]*$//;
35920}'
35921fi
35922
35923DEFS=-DHAVE_CONFIG_H
35924
35925ac_libobjs=
35926ac_ltlibobjs=
35927for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
35928 # 1. Remove the extension, and $U if already installed.
35929 ac_i=`echo "$ac_i" |
35930 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35931 # 2. Add them.
35932 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
35933 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
35934done
35935LIBOBJS=$ac_libobjs
35936
35937LTLIBOBJS=$ac_ltlibobjs
35938
35939
35940
35941: ${CONFIG_STATUS=./config.status}
35942ac_clean_files_save=$ac_clean_files
35943ac_clean_files="$ac_clean_files $CONFIG_STATUS"
35944{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35945echo "$as_me: creating $CONFIG_STATUS" >&6;}
35946cat >$CONFIG_STATUS <<_ACEOF
35947#! $SHELL
35948# Generated by $as_me.
35949# Run this file to recreate the current configuration.
35950# Compiler output produced by configure, useful for debugging
35951# configure, is in config.log if it exists.
35952
35953debug=false
35954ac_cs_recheck=false
35955ac_cs_silent=false
35956SHELL=\${CONFIG_SHELL-$SHELL}
35957_ACEOF
35958
35959cat >>$CONFIG_STATUS <<\_ACEOF
35960## --------------------- ##
35961## M4sh Initialization. ##
35962## --------------------- ##
35963
35964# Be Bourne compatible
35965if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
35966 emulate sh
35967 NULLCMD=:
35968 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35969 # is contrary to our usage. Disable this feature.
35970 alias -g '${1+"$@"}'='"$@"'
35971elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
35972 set -o posix
35973fi
35974
35975# Support unset when possible.
35976if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
35977 as_unset=unset
35978else
35979 as_unset=false
35980fi
35981
35982
35983# Work around bugs in pre-3.0 UWIN ksh.
35984$as_unset ENV MAIL MAILPATH
35985PS1='$ '
35986PS2='> '
35987PS4='+ '
35988
35989# NLS nuisances.
35990for as_var in \
35991 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35992 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35993 LC_TELEPHONE LC_TIME
35994do
35995 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35996 eval $as_var=C; export $as_var
35997 else
35998 $as_unset $as_var
35999 fi
36000done
36001
36002# Required to use basename.
36003if expr a : '\(a\)' >/dev/null 2>&1; then
36004 as_expr=expr
36005else
36006 as_expr=false
36007fi
36008
36009if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
36010 as_basename=basename
36011else
36012 as_basename=false
36013fi
36014
36015
36016# Name of the executable.
36017as_me=`$as_basename "$0" ||
36018$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
36019 X"$0" : 'X\(//\)$' \| \
36020 X"$0" : 'X\(/\)$' \| \
36021 . : '\(.\)' 2>/dev/null ||
36022echo X/"$0" |
36023 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
36024 /^X\/\(\/\/\)$/{ s//\1/; q; }
36025 /^X\/\(\/\).*/{ s//\1/; q; }
36026 s/.*/./; q'`
36027
36028
36029# PATH needs CR, and LINENO needs CR and PATH.
36030# Avoid depending upon Character Ranges.
36031as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36032as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36033as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36034as_cr_digits='0123456789'
36035as_cr_alnum=$as_cr_Letters$as_cr_digits
36036
36037# The user is always right.
36038if test "${PATH_SEPARATOR+set}" != set; then
36039 echo "#! /bin/sh" >conf$$.sh
36040 echo "exit 0" >>conf$$.sh
36041 chmod +x conf$$.sh
36042 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
36043 PATH_SEPARATOR=';'
36044 else
36045 PATH_SEPARATOR=:
36046 fi
36047 rm -f conf$$.sh
36048fi
36049
36050
36051 as_lineno_1=$LINENO
36052 as_lineno_2=$LINENO
36053 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36054 test "x$as_lineno_1" != "x$as_lineno_2" &&
36055 test "x$as_lineno_3" = "x$as_lineno_2" || {
36056 # Find who we are. Look in the path if we contain no path at all
36057 # relative or not.
36058 case $0 in
36059 *[\\/]* ) as_myself=$0 ;;
36060 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36061for as_dir in $PATH
36062do
36063 IFS=$as_save_IFS
36064 test -z "$as_dir" && as_dir=.
36065 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
36066done
36067
36068 ;;
36069 esac
36070 # We did not find ourselves, most probably we were run as `sh COMMAND'
36071 # in which case we are not to be found in the path.
36072 if test "x$as_myself" = x; then
36073 as_myself=$0
36074 fi
36075 if test ! -f "$as_myself"; then
36076 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
36077echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
36078 { (exit 1); exit 1; }; }
36079 fi
36080 case $CONFIG_SHELL in
36081 '')
36082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36083for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
36084do
36085 IFS=$as_save_IFS
36086 test -z "$as_dir" && as_dir=.
36087 for as_base in sh bash ksh sh5; do
36088 case $as_dir in
36089 /*)
36090 if ("$as_dir/$as_base" -c '
36091 as_lineno_1=$LINENO
36092 as_lineno_2=$LINENO
36093 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36094 test "x$as_lineno_1" != "x$as_lineno_2" &&
36095 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
36096 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
36097 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
36098 CONFIG_SHELL=$as_dir/$as_base
36099 export CONFIG_SHELL
36100 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
36101 fi;;
36102 esac
36103 done
36104done
36105;;
36106 esac
36107
36108 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
36109 # uniformly replaced by the line number. The first 'sed' inserts a
36110 # line-number line before each line; the second 'sed' does the real
36111 # work. The second script uses 'N' to pair each line-number line
36112 # with the numbered line, and appends trailing '-' during
36113 # substitution so that $LINENO is not a special case at line end.
36114 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
36115 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
36116 sed '=' <$as_myself |
36117 sed '
36118 N
36119 s,$,-,
36120 : loop
36121 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
36122 t loop
36123 s,-$,,
36124 s,^['$as_cr_digits']*\n,,
36125 ' >$as_me.lineno &&
36126 chmod +x $as_me.lineno ||
36127 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
36128echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
36129 { (exit 1); exit 1; }; }
36130
36131 # Don't try to exec as it changes $[0], causing all sort of problems
36132 # (the dirname of $[0] is not the place where we might find the
36133 # original and so on. Autoconf is especially sensible to this).
36134 . ./$as_me.lineno
36135 # Exit status is that of the last command.
36136 exit
36137}
36138
36139
36140case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
36141 *c*,-n*) ECHO_N= ECHO_C='
36142' ECHO_T=' ' ;;
36143 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
36144 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
36145esac
36146
36147if expr a : '\(a\)' >/dev/null 2>&1; then
36148 as_expr=expr
36149else
36150 as_expr=false
36151fi
36152
36153rm -f conf$$ conf$$.exe conf$$.file
36154echo >conf$$.file
36155if ln -s conf$$.file conf$$ 2>/dev/null; then
36156 # We could just check for DJGPP; but this test a) works b) is more generic
36157 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
36158 if test -f conf$$.exe; then
36159 # Don't use ln at all; we don't have any links
36160 as_ln_s='cp -p'
36161 else
36162 as_ln_s='ln -s'
36163 fi
36164elif ln conf$$.file conf$$ 2>/dev/null; then
36165 as_ln_s=ln
36166else
36167 as_ln_s='cp -p'
36168fi
36169rm -f conf$$ conf$$.exe conf$$.file
36170
36171if mkdir -p . 2>/dev/null; then
36172 as_mkdir_p=:
36173else
36174 as_mkdir_p=false
36175fi
36176
36177as_executable_p="test -f"
36178
36179# Sed expression to map a string onto a valid CPP name.
36180as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
36181
36182# Sed expression to map a string onto a valid variable name.
36183as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
36184
36185
36186# IFS
36187# We need space, tab and new line, in precisely that order.
36188as_nl='
36189'
36190IFS=" $as_nl"
36191
36192# CDPATH.
36193$as_unset CDPATH
36194
36195exec 6>&1
36196
36197# Open the log real soon, to keep \$[0] and so on meaningful, and to
36198# report actual input values of CONFIG_FILES etc. instead of their
36199# values after options handling. Logging --version etc. is OK.
36200exec 5>>config.log
36201{
36202 echo
36203 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
36204## Running $as_me. ##
36205_ASBOX
36206} >&5
36207cat >&5 <<_CSEOF
36208
36209This file was extended by wxWindows $as_me 2.5.1, which was
36210generated by GNU Autoconf 2.57. Invocation command line was
36211
36212 CONFIG_FILES = $CONFIG_FILES
36213 CONFIG_HEADERS = $CONFIG_HEADERS
36214 CONFIG_LINKS = $CONFIG_LINKS
36215 CONFIG_COMMANDS = $CONFIG_COMMANDS
36216 $ $0 $@
36217
36218_CSEOF
36219echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
36220echo >&5
36221_ACEOF
36222
36223# Files that config.status was made for.
36224if test -n "$ac_config_files"; then
36225 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
36226fi
36227
36228if test -n "$ac_config_headers"; then
36229 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
36230fi
36231
36232if test -n "$ac_config_links"; then
36233 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
36234fi
36235
36236if test -n "$ac_config_commands"; then
36237 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
36238fi
36239
36240cat >>$CONFIG_STATUS <<\_ACEOF
36241
36242ac_cs_usage="\
36243\`$as_me' instantiates files from templates according to the
36244current configuration.
36245
36246Usage: $0 [OPTIONS] [FILE]...
36247
36248 -h, --help print this help, then exit
36249 -V, --version print version number, then exit
36250 -q, --quiet do not print progress messages
36251 -d, --debug don't remove temporary files
36252 --recheck update $as_me by reconfiguring in the same conditions
36253 --file=FILE[:TEMPLATE]
36254 instantiate the configuration file FILE
36255 --header=FILE[:TEMPLATE]
36256 instantiate the configuration header FILE
36257
36258Configuration files:
36259$config_files
36260
36261Configuration headers:
36262$config_headers
36263
36264Configuration commands:
36265$config_commands
36266
36267Report bugs to <bug-autoconf@gnu.org>."
36268_ACEOF
36269
36270cat >>$CONFIG_STATUS <<_ACEOF
36271ac_cs_version="\\
36272wxWindows config.status 2.5.1
36273configured by $0, generated by GNU Autoconf 2.57,
36274 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
36275
36276Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
36277Free Software Foundation, Inc.
36278This config.status script is free software; the Free Software Foundation
36279gives unlimited permission to copy, distribute and modify it."
36280srcdir=$srcdir
36281INSTALL="$INSTALL"
36282_ACEOF
36283
36284cat >>$CONFIG_STATUS <<\_ACEOF
36285# If no file are specified by the user, then we need to provide default
36286# value. By we need to know if files were specified by the user.
36287ac_need_defaults=:
36288while test $# != 0
36289do
36290 case $1 in
36291 --*=*)
36292 ac_option=`expr "x$1" : 'x\([^=]*\)='`
36293 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
36294 ac_shift=:
36295 ;;
36296 -*)
36297 ac_option=$1
36298 ac_optarg=$2
36299 ac_shift=shift
36300 ;;
36301 *) # This is not an option, so the user has probably given explicit
36302 # arguments.
36303 ac_option=$1
36304 ac_need_defaults=false;;
36305 esac
36306
36307 case $ac_option in
36308 # Handling of the options.
36309_ACEOF
36310cat >>$CONFIG_STATUS <<\_ACEOF
36311 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
36312 ac_cs_recheck=: ;;
36313 --version | --vers* | -V )
36314 echo "$ac_cs_version"; exit 0 ;;
36315 --he | --h)
36316 # Conflict between --help and --header
36317 { { echo "$as_me:$LINENO: error: ambiguous option: $1
36318Try \`$0 --help' for more information." >&5
36319echo "$as_me: error: ambiguous option: $1
36320Try \`$0 --help' for more information." >&2;}
36321 { (exit 1); exit 1; }; };;
36322 --help | --hel | -h )
36323 echo "$ac_cs_usage"; exit 0 ;;
36324 --debug | --d* | -d )
36325 debug=: ;;
36326 --file | --fil | --fi | --f )
36327 $ac_shift
36328 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
36329 ac_need_defaults=false;;
36330 --header | --heade | --head | --hea )
36331 $ac_shift
36332 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
36333 ac_need_defaults=false;;
36334 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
36335 | -silent | --silent | --silen | --sile | --sil | --si | --s)
36336 ac_cs_silent=: ;;
36337
36338 # This is an error.
36339 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
36340Try \`$0 --help' for more information." >&5
36341echo "$as_me: error: unrecognized option: $1
36342Try \`$0 --help' for more information." >&2;}
36343 { (exit 1); exit 1; }; } ;;
36344
36345 *) ac_config_targets="$ac_config_targets $1" ;;
36346
36347 esac
36348 shift
36349done
36350
36351ac_configure_extra_args=
36352
36353if $ac_cs_silent; then
36354 exec 6>/dev/null
36355 ac_configure_extra_args="$ac_configure_extra_args --silent"
36356fi
36357
36358_ACEOF
36359cat >>$CONFIG_STATUS <<_ACEOF
36360if \$ac_cs_recheck; then
36361 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
36362 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36363fi
36364
36365_ACEOF
36366
36367cat >>$CONFIG_STATUS <<_ACEOF
36368#
36369# INIT-COMMANDS section.
36370#
36371
36372
36373 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36374 LN_S="${LN_S}"
36375
36376
36377
36378_ACEOF
36379
36380
36381
36382cat >>$CONFIG_STATUS <<\_ACEOF
36383for ac_config_target in $ac_config_targets
36384do
36385 case "$ac_config_target" in
36386 # Handling of arguments.
36387 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
36388 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
36389 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
36390 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
36391 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
36392 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
36393 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36394echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36395 { (exit 1); exit 1; }; };;
36396 esac
36397done
36398
36399# If the user did not use the arguments to specify the items to instantiate,
36400# then the envvar interface is used. Set only those that are not.
36401# We use the long form for the default assignment because of an extremely
36402# bizarre bug on SunOS 4.1.3.
36403if $ac_need_defaults; then
36404 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
36405 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
36406 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
36407fi
36408
36409# Have a temporary directory for convenience. Make it in the build tree
36410# simply because there is no reason to put it here, and in addition,
36411# creating and moving files from /tmp can sometimes cause problems.
36412# Create a temporary directory, and hook for its removal unless debugging.
36413$debug ||
36414{
36415 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36416 trap '{ (exit 1); exit 1; }' 1 2 13 15
36417}
36418
36419# Create a (secure) tmp directory for tmp files.
36420
36421{
36422 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36423 test -n "$tmp" && test -d "$tmp"
36424} ||
36425{
36426 tmp=./confstat$$-$RANDOM
36427 (umask 077 && mkdir $tmp)
36428} ||
36429{
36430 echo "$me: cannot create a temporary directory in ." >&2
36431 { (exit 1); exit 1; }
36432}
36433
36434_ACEOF
36435
36436cat >>$CONFIG_STATUS <<_ACEOF
36437
36438#
36439# CONFIG_FILES section.
36440#
36441
36442# No need to generate the scripts if there are no CONFIG_FILES.
36443# This happens for instance when ./config.status config.h
36444if test -n "\$CONFIG_FILES"; then
36445 # Protect against being on the right side of a sed subst in config.status.
36446 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36447 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36448s,@SHELL@,$SHELL,;t t
36449s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36450s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36451s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36452s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36453s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36454s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36455s,@exec_prefix@,$exec_prefix,;t t
36456s,@prefix@,$prefix,;t t
36457s,@program_transform_name@,$program_transform_name,;t t
36458s,@bindir@,$bindir,;t t
36459s,@sbindir@,$sbindir,;t t
36460s,@libexecdir@,$libexecdir,;t t
36461s,@datadir@,$datadir,;t t
36462s,@sysconfdir@,$sysconfdir,;t t
36463s,@sharedstatedir@,$sharedstatedir,;t t
36464s,@localstatedir@,$localstatedir,;t t
36465s,@libdir@,$libdir,;t t
36466s,@includedir@,$includedir,;t t
36467s,@oldincludedir@,$oldincludedir,;t t
36468s,@infodir@,$infodir,;t t
36469s,@mandir@,$mandir,;t t
36470s,@build_alias@,$build_alias,;t t
36471s,@host_alias@,$host_alias,;t t
36472s,@target_alias@,$target_alias,;t t
36473s,@DEFS@,$DEFS,;t t
36474s,@ECHO_C@,$ECHO_C,;t t
36475s,@ECHO_N@,$ECHO_N,;t t
36476s,@ECHO_T@,$ECHO_T,;t t
36477s,@LIBS@,$LIBS,;t t
36478s,@build@,$build,;t t
36479s,@build_cpu@,$build_cpu,;t t
36480s,@build_vendor@,$build_vendor,;t t
36481s,@build_os@,$build_os,;t t
36482s,@host@,$host,;t t
36483s,@host_cpu@,$host_cpu,;t t
36484s,@host_vendor@,$host_vendor,;t t
36485s,@host_os@,$host_os,;t t
36486s,@target@,$target,;t t
36487s,@target_cpu@,$target_cpu,;t t
36488s,@target_vendor@,$target_vendor,;t t
36489s,@target_os@,$target_os,;t t
36490s,@CC@,$CC,;t t
36491s,@CFLAGS@,$CFLAGS,;t t
36492s,@LDFLAGS@,$LDFLAGS,;t t
36493s,@CPPFLAGS@,$CPPFLAGS,;t t
36494s,@ac_ct_CC@,$ac_ct_CC,;t t
36495s,@EXEEXT@,$EXEEXT,;t t
36496s,@OBJEXT@,$OBJEXT,;t t
36497s,@CPP@,$CPP,;t t
36498s,@EGREP@,$EGREP,;t t
36499s,@CXX@,$CXX,;t t
36500s,@CXXFLAGS@,$CXXFLAGS,;t t
36501s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36502s,@RANLIB@,$RANLIB,;t t
36503s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36504s,@AR@,$AR,;t t
36505s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36506s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36507s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36508s,@STRIP@,$STRIP,;t t
36509s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36510s,@LN_S@,$LN_S,;t t
36511s,@CXXCPP@,$CXXCPP,;t t
36512s,@subdirs@,$subdirs,;t t
36513s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36514s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36515s,@GTK_LIBS@,$GTK_LIBS,;t t
36516s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36517s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36518s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36519s,@X_CFLAGS@,$X_CFLAGS,;t t
36520s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36521s,@X_LIBS@,$X_LIBS,;t t
36522s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36523s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36524s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36525s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36526s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36527s,@RESCOMP@,$RESCOMP,;t t
36528s,@DEREZ@,$DEREZ,;t t
36529s,@SETFILE@,$SETFILE,;t t
36530s,@LIBICONV@,$LIBICONV,;t t
36531s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36532s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36533s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36534s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36535s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36536s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36537s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36538s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36539s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36540s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36541s,@VENDOR@,$VENDOR,;t t
36542s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36543s,@WXUNIV@,$WXUNIV,;t t
36544s,@MONOLITHIC@,$MONOLITHIC,;t t
36545s,@EXTRALIBS@,$EXTRALIBS,;t t
36546s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36547s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36548s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36549s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36550s,@UNICODE@,$UNICODE,;t t
36551s,@BUILD@,$BUILD,;t t
36552s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36553s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36554s,@SHARED@,$SHARED,;t t
36555s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36556s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36557s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36558s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36559s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36560s,@SET_MAKE@,$SET_MAKE,;t t
36561s,@MAKE_SET@,$MAKE_SET,;t t
36562s,@ac_ct_AR@,$ac_ct_AR,;t t
36563s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
36564s,@NM@,$NM,;t t
36565s,@ac_ct_NM@,$ac_ct_NM,;t t
36566s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36567s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36568s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36569s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36570s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36571s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36572s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36573s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
36574s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36575s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36576s,@LIBPREFIX@,$LIBPREFIX,;t t
36577s,@DLLPREFIX@,$DLLPREFIX,;t t
36578s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36579s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36580s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36581s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36582s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36583s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36584s,@PIC_FLAG@,$PIC_FLAG,;t t
36585s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36586s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36587s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36588s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36589s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36590s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36591s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36592s,@GCC_PCH@,$GCC_PCH,;t t
36593s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36594s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36595s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36596s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36597s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36598s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36599s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36600s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36601s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36602s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36603s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36604s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36605s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36606s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36607s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1,;t t
36608s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36609s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36610s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36611s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36612s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1,;t t
36613s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36614s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36615s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36616s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36617s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36618s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36619s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36620s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36621s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36622s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36623s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36624s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36625s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36626s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36627s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
36628s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36629s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36630s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36631s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36632s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36633s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36634s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36635s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36636s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36637s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36638s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36639s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36640s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36641s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36642s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36643s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36644s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36645s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36646s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36647s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36648s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36649s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36650s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36651s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36652s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36653s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36654s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36655s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36656s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36657s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36658s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36659s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
36660s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
36661s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
36662s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36663s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36664s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36665s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
36666s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
36667s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36668s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36669s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36670s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36671s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36672s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36673s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36674s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36675s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36676s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36677s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36678s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36679s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36680s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36681s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36682s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36683s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36684s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36685s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36686s,@PATH_IFS@,$PATH_IFS,;t t
36687s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36688s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36689s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36690s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36691s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36692s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36693s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36694s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36695s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36696s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36697s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36698s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36699s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36700s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36701s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36702s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36703s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36704s,@WX_ALL@,$WX_ALL,;t t
36705s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36706s,@SHARED_LD@,$SHARED_LD,;t t
36707s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36708s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36709s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36710s,@USE_GUI@,$USE_GUI,;t t
36711s,@AFMINSTALL@,$AFMINSTALL,;t t
36712s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36713s,@TOOLKIT@,$TOOLKIT,;t t
36714s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36715s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36716s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36717s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36718s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36719s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36720s,@cross_compiling@,$cross_compiling,;t t
36721s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36722s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36723s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36724s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36725s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36726s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36727s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36728s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36729s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36730s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36731s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36732s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36733s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36734s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36735s,@GUIDIST@,$GUIDIST,;t t
36736s,@PORT_FILES@,$PORT_FILES,;t t
36737s,@DISTDIR@,$DISTDIR,;t t
36738s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36739s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36740s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36741s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36742s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36743s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36744s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36745s,@RESFLAGS@,$RESFLAGS,;t t
36746s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36747s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36748s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36749s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36750s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36751s,@MACRESCOMP@,$MACRESCOMP,;t t
36752s,@MACSETFILE@,$MACSETFILE,;t t
36753s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36754s,@GCC@,$GCC,;t t
36755s,@DLLTOOL@,$DLLTOOL,;t t
36756s,@AS@,$AS,;t t
36757s,@LD@,$LD,;t t
36758s,@MAKEINFO@,$MAKEINFO,;t t
36759s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36760s,@LIBOBJS@,$LIBOBJS,;t t
36761s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36762CEOF
36763
36764_ACEOF
36765
36766 cat >>$CONFIG_STATUS <<\_ACEOF
36767 # Split the substitutions into bite-sized pieces for seds with
36768 # small command number limits, like on Digital OSF/1 and HP-UX.
36769 ac_max_sed_lines=48
36770 ac_sed_frag=1 # Number of current file.
36771 ac_beg=1 # First line for current file.
36772 ac_end=$ac_max_sed_lines # Line after last line for current file.
36773 ac_more_lines=:
36774 ac_sed_cmds=
36775 while $ac_more_lines; do
36776 if test $ac_beg -gt 1; then
36777 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36778 else
36779 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36780 fi
36781 if test ! -s $tmp/subs.frag; then
36782 ac_more_lines=false
36783 else
36784 # The purpose of the label and of the branching condition is to
36785 # speed up the sed processing (if there are no `@' at all, there
36786 # is no need to browse any of the substitutions).
36787 # These are the two extra sed commands mentioned above.
36788 (echo ':t
36789 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
36790 if test -z "$ac_sed_cmds"; then
36791 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
36792 else
36793 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36794 fi
36795 ac_sed_frag=`expr $ac_sed_frag + 1`
36796 ac_beg=$ac_end
36797 ac_end=`expr $ac_end + $ac_max_sed_lines`
36798 fi
36799 done
36800 if test -z "$ac_sed_cmds"; then
36801 ac_sed_cmds=cat
36802 fi
36803fi # test -n "$CONFIG_FILES"
36804
36805_ACEOF
36806cat >>$CONFIG_STATUS <<\_ACEOF
36807for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
36808 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36809 case $ac_file in
36810 - | *:- | *:-:* ) # input from stdin
36811 cat >$tmp/stdin
36812 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36813 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36814 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36815 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36816 * ) ac_file_in=$ac_file.in ;;
36817 esac
36818
36819 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36820 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36821$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36822 X"$ac_file" : 'X\(//\)[^/]' \| \
36823 X"$ac_file" : 'X\(//\)$' \| \
36824 X"$ac_file" : 'X\(/\)' \| \
36825 . : '\(.\)' 2>/dev/null ||
36826echo X"$ac_file" |
36827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36828 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36829 /^X\(\/\/\)$/{ s//\1/; q; }
36830 /^X\(\/\).*/{ s//\1/; q; }
36831 s/.*/./; q'`
36832 { if $as_mkdir_p; then
36833 mkdir -p "$ac_dir"
36834 else
36835 as_dir="$ac_dir"
36836 as_dirs=
36837 while test ! -d "$as_dir"; do
36838 as_dirs="$as_dir $as_dirs"
36839 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36840$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36841 X"$as_dir" : 'X\(//\)[^/]' \| \
36842 X"$as_dir" : 'X\(//\)$' \| \
36843 X"$as_dir" : 'X\(/\)' \| \
36844 . : '\(.\)' 2>/dev/null ||
36845echo X"$as_dir" |
36846 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36847 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36848 /^X\(\/\/\)$/{ s//\1/; q; }
36849 /^X\(\/\).*/{ s//\1/; q; }
36850 s/.*/./; q'`
36851 done
36852 test ! -n "$as_dirs" || mkdir $as_dirs
36853 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36854echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36855 { (exit 1); exit 1; }; }; }
36856
36857 ac_builddir=.
36858
36859if test "$ac_dir" != .; then
36860 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36861 # A "../" for each directory in $ac_dir_suffix.
36862 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36863else
36864 ac_dir_suffix= ac_top_builddir=
36865fi
36866
36867case $srcdir in
36868 .) # No --srcdir option. We are building in place.
36869 ac_srcdir=.
36870 if test -z "$ac_top_builddir"; then
36871 ac_top_srcdir=.
36872 else
36873 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36874 fi ;;
36875 [\\/]* | ?:[\\/]* ) # Absolute path.
36876 ac_srcdir=$srcdir$ac_dir_suffix;
36877 ac_top_srcdir=$srcdir ;;
36878 *) # Relative path.
36879 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36880 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36881esac
36882# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36883# absolute.
36884ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36885ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36886ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36887ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36888
36889
36890 case $INSTALL in
36891 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
36892 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
36893 esac
36894
36895 if test x"$ac_file" != x-; then
36896 { echo "$as_me:$LINENO: creating $ac_file" >&5
36897echo "$as_me: creating $ac_file" >&6;}
36898 rm -f "$ac_file"
36899 fi
36900 # Let's still pretend it is `configure' which instantiates (i.e., don't
36901 # use $as_me), people would be surprised to read:
36902 # /* config.h. Generated by config.status. */
36903 if test x"$ac_file" = x-; then
36904 configure_input=
36905 else
36906 configure_input="$ac_file. "
36907 fi
36908 configure_input=$configure_input"Generated from `echo $ac_file_in |
36909 sed 's,.*/,,'` by configure."
36910
36911 # First look for the input files in the build tree, otherwise in the
36912 # src tree.
36913 ac_file_inputs=`IFS=:
36914 for f in $ac_file_in; do
36915 case $f in
36916 -) echo $tmp/stdin ;;
36917 [\\/$]*)
36918 # Absolute (can't be DOS-style, as IFS=:)
36919 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36920echo "$as_me: error: cannot find input file: $f" >&2;}
36921 { (exit 1); exit 1; }; }
36922 echo $f;;
36923 *) # Relative
36924 if test -f "$f"; then
36925 # Build tree
36926 echo $f
36927 elif test -f "$srcdir/$f"; then
36928 # Source tree
36929 echo $srcdir/$f
36930 else
36931 # /dev/null tree
36932 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36933echo "$as_me: error: cannot find input file: $f" >&2;}
36934 { (exit 1); exit 1; }; }
36935 fi;;
36936 esac
36937 done` || { (exit 1); exit 1; }
36938_ACEOF
36939cat >>$CONFIG_STATUS <<_ACEOF
36940 sed "$ac_vpsub
36941$extrasub
36942_ACEOF
36943cat >>$CONFIG_STATUS <<\_ACEOF
36944:t
36945/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
36946s,@configure_input@,$configure_input,;t t
36947s,@srcdir@,$ac_srcdir,;t t
36948s,@abs_srcdir@,$ac_abs_srcdir,;t t
36949s,@top_srcdir@,$ac_top_srcdir,;t t
36950s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
36951s,@builddir@,$ac_builddir,;t t
36952s,@abs_builddir@,$ac_abs_builddir,;t t
36953s,@top_builddir@,$ac_top_builddir,;t t
36954s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
36955s,@INSTALL@,$ac_INSTALL,;t t
36956" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36957 rm -f $tmp/stdin
36958 if test x"$ac_file" != x-; then
36959 mv $tmp/out $ac_file
36960 else
36961 cat $tmp/out
36962 rm -f $tmp/out
36963 fi
36964
36965done
36966_ACEOF
36967cat >>$CONFIG_STATUS <<\_ACEOF
36968
36969#
36970# CONFIG_HEADER section.
36971#
36972
36973# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
36974# NAME is the cpp macro being defined and VALUE is the value it is being given.
36975#
36976# ac_d sets the value in "#define NAME VALUE" lines.
36977ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36978ac_dB='[ ].*$,\1#\2'
36979ac_dC=' '
36980ac_dD=',;t'
36981# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36982ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36983ac_uB='$,\1#\2define\3'
36984ac_uC=' '
36985ac_uD=',;t'
36986
36987for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
36988 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36989 case $ac_file in
36990 - | *:- | *:-:* ) # input from stdin
36991 cat >$tmp/stdin
36992 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36993 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36994 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36995 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36996 * ) ac_file_in=$ac_file.in ;;
36997 esac
36998
36999 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
37000echo "$as_me: creating $ac_file" >&6;}
37001
37002 # First look for the input files in the build tree, otherwise in the
37003 # src tree.
37004 ac_file_inputs=`IFS=:
37005 for f in $ac_file_in; do
37006 case $f in
37007 -) echo $tmp/stdin ;;
37008 [\\/$]*)
37009 # Absolute (can't be DOS-style, as IFS=:)
37010 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37011echo "$as_me: error: cannot find input file: $f" >&2;}
37012 { (exit 1); exit 1; }; }
37013 echo $f;;
37014 *) # Relative
37015 if test -f "$f"; then
37016 # Build tree
37017 echo $f
37018 elif test -f "$srcdir/$f"; then
37019 # Source tree
37020 echo $srcdir/$f
37021 else
37022 # /dev/null tree
37023 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37024echo "$as_me: error: cannot find input file: $f" >&2;}
37025 { (exit 1); exit 1; }; }
37026 fi;;
37027 esac
37028 done` || { (exit 1); exit 1; }
37029 # Remove the trailing spaces.
37030 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
37031
37032_ACEOF
37033
37034# Transform confdefs.h into two sed scripts, `conftest.defines' and
37035# `conftest.undefs', that substitutes the proper values into
37036# config.h.in to produce config.h. The first handles `#define'
37037# templates, and the second `#undef' templates.
37038# And first: Protect against being on the right side of a sed subst in
37039# config.status. Protect against being in an unquoted here document
37040# in config.status.
37041rm -f conftest.defines conftest.undefs
37042# Using a here document instead of a string reduces the quoting nightmare.
37043# Putting comments in sed scripts is not portable.
37044#
37045# `end' is used to avoid that the second main sed command (meant for
37046# 0-ary CPP macros) applies to n-ary macro definitions.
37047# See the Autoconf documentation for `clear'.
37048cat >confdef2sed.sed <<\_ACEOF
37049s/[\\&,]/\\&/g
37050s,[\\$`],\\&,g
37051t clear
37052: clear
37053s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
37054t end
37055s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
37056: end
37057_ACEOF
37058# If some macros were called several times there might be several times
37059# the same #defines, which is useless. Nevertheless, we may not want to
37060# sort them, since we want the *last* AC-DEFINE to be honored.
37061uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
37062sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
37063rm -f confdef2sed.sed
37064
37065# This sed command replaces #undef with comments. This is necessary, for
37066# example, in the case of _POSIX_SOURCE, which is predefined and required
37067# on some systems where configure will not decide to define it.
37068cat >>conftest.undefs <<\_ACEOF
37069s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
37070_ACEOF
37071
37072# Break up conftest.defines because some shells have a limit on the size
37073# of here documents, and old seds have small limits too (100 cmds).
37074echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
37075echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
37076echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
37077echo ' :' >>$CONFIG_STATUS
37078rm -f conftest.tail
37079while grep . conftest.defines >/dev/null
37080do
37081 # Write a limited-size here document to $tmp/defines.sed.
37082 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
37083 # Speed up: don't consider the non `#define' lines.
37084 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
37085 # Work around the forget-to-reset-the-flag bug.
37086 echo 't clr' >>$CONFIG_STATUS
37087 echo ': clr' >>$CONFIG_STATUS
37088 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
37089 echo 'CEOF
37090 sed -f $tmp/defines.sed $tmp/in >$tmp/out
37091 rm -f $tmp/in
37092 mv $tmp/out $tmp/in
37093' >>$CONFIG_STATUS
37094 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
37095 rm -f conftest.defines
37096 mv conftest.tail conftest.defines
37097done
37098rm -f conftest.defines
37099echo ' fi # grep' >>$CONFIG_STATUS
37100echo >>$CONFIG_STATUS
37101
37102# Break up conftest.undefs because some shells have a limit on the size
37103# of here documents, and old seds have small limits too (100 cmds).
37104echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
37105rm -f conftest.tail
37106while grep . conftest.undefs >/dev/null
37107do
37108 # Write a limited-size here document to $tmp/undefs.sed.
37109 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
37110 # Speed up: don't consider the non `#undef'
37111 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
37112 # Work around the forget-to-reset-the-flag bug.
37113 echo 't clr' >>$CONFIG_STATUS
37114 echo ': clr' >>$CONFIG_STATUS
37115 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
37116 echo 'CEOF
37117 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
37118 rm -f $tmp/in
37119 mv $tmp/out $tmp/in
37120' >>$CONFIG_STATUS
37121 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
37122 rm -f conftest.undefs
37123 mv conftest.tail conftest.undefs
37124done
37125rm -f conftest.undefs
37126
37127cat >>$CONFIG_STATUS <<\_ACEOF
37128 # Let's still pretend it is `configure' which instantiates (i.e., don't
37129 # use $as_me), people would be surprised to read:
37130 # /* config.h. Generated by config.status. */
37131 if test x"$ac_file" = x-; then
37132 echo "/* Generated by configure. */" >$tmp/config.h
37133 else
37134 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
37135 fi
37136 cat $tmp/in >>$tmp/config.h
37137 rm -f $tmp/in
37138 if test x"$ac_file" != x-; then
37139 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
37140 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
37141echo "$as_me: $ac_file is unchanged" >&6;}
37142 else
37143 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
37144$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37145 X"$ac_file" : 'X\(//\)[^/]' \| \
37146 X"$ac_file" : 'X\(//\)$' \| \
37147 X"$ac_file" : 'X\(/\)' \| \
37148 . : '\(.\)' 2>/dev/null ||
37149echo X"$ac_file" |
37150 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37151 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37152 /^X\(\/\/\)$/{ s//\1/; q; }
37153 /^X\(\/\).*/{ s//\1/; q; }
37154 s/.*/./; q'`
37155 { if $as_mkdir_p; then
37156 mkdir -p "$ac_dir"
37157 else
37158 as_dir="$ac_dir"
37159 as_dirs=
37160 while test ! -d "$as_dir"; do
37161 as_dirs="$as_dir $as_dirs"
37162 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37163$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37164 X"$as_dir" : 'X\(//\)[^/]' \| \
37165 X"$as_dir" : 'X\(//\)$' \| \
37166 X"$as_dir" : 'X\(/\)' \| \
37167 . : '\(.\)' 2>/dev/null ||
37168echo X"$as_dir" |
37169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37170 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37171 /^X\(\/\/\)$/{ s//\1/; q; }
37172 /^X\(\/\).*/{ s//\1/; q; }
37173 s/.*/./; q'`
37174 done
37175 test ! -n "$as_dirs" || mkdir $as_dirs
37176 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37177echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37178 { (exit 1); exit 1; }; }; }
37179
37180 rm -f $ac_file
37181 mv $tmp/config.h $ac_file
37182 fi
37183 else
37184 cat $tmp/config.h
37185 rm -f $tmp/config.h
37186 fi
37187done
37188_ACEOF
37189cat >>$CONFIG_STATUS <<\_ACEOF
37190
37191#
37192# CONFIG_COMMANDS section.
37193#
37194for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
37195 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
37196 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
37197 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
37198$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37199 X"$ac_dest" : 'X\(//\)[^/]' \| \
37200 X"$ac_dest" : 'X\(//\)$' \| \
37201 X"$ac_dest" : 'X\(/\)' \| \
37202 . : '\(.\)' 2>/dev/null ||
37203echo X"$ac_dest" |
37204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37205 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37206 /^X\(\/\/\)$/{ s//\1/; q; }
37207 /^X\(\/\).*/{ s//\1/; q; }
37208 s/.*/./; q'`
37209 ac_builddir=.
37210
37211if test "$ac_dir" != .; then
37212 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37213 # A "../" for each directory in $ac_dir_suffix.
37214 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37215else
37216 ac_dir_suffix= ac_top_builddir=
37217fi
37218
37219case $srcdir in
37220 .) # No --srcdir option. We are building in place.
37221 ac_srcdir=.
37222 if test -z "$ac_top_builddir"; then
37223 ac_top_srcdir=.
37224 else
37225 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37226 fi ;;
37227 [\\/]* | ?:[\\/]* ) # Absolute path.
37228 ac_srcdir=$srcdir$ac_dir_suffix;
37229 ac_top_srcdir=$srcdir ;;
37230 *) # Relative path.
37231 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37232 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37233esac
37234# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37235# absolute.
37236ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37237ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37238ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37239ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37240
37241
37242 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
37243echo "$as_me: executing $ac_dest commands" >&6;}
37244 case $ac_dest in
37245 default )
37246 if test ! -h wx-config; then
37247 chmod +x wx-config
37248 mv wx-config wx${TOOLCHAIN_NAME}-config
37249 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
37250 fi
37251
37252 if test ! -d lib; then
37253 mkdir lib
37254 fi
37255 if test ! -d lib/wx; then
37256 mkdir lib/wx
37257 fi
37258 if test ! -d lib/wx/include; then
37259 mkdir lib/wx/include
37260 fi
37261 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
37262 mkdir lib/wx/include/${TOOLCHAIN_NAME}
37263 fi
37264 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
37265 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
37266 fi
37267 if test -f setup.h; then
37268 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
37269 fi
37270 ;;
37271 esac
37272done
37273_ACEOF
37274
37275cat >>$CONFIG_STATUS <<\_ACEOF
37276
37277{ (exit 0); exit 0; }
37278_ACEOF
37279chmod +x $CONFIG_STATUS
37280ac_clean_files=$ac_clean_files_save
37281
37282
37283# configure is writing to config.log, and then calls config.status.
37284# config.status does its own redirection, appending to config.log.
37285# Unfortunately, on DOS this fails, as config.log is still kept open
37286# by configure, so config.status won't be able to write to it; its
37287# output is simply discarded. So we exec the FD to /dev/null,
37288# effectively closing config.log, so it can be properly (re)opened and
37289# appended to by config.status. When coming back to configure, we
37290# need to make the FD available again.
37291if test "$no_create" != yes; then
37292 ac_cs_success=:
37293 ac_config_status_args=
37294 test "$silent" = yes &&
37295 ac_config_status_args="$ac_config_status_args --quiet"
37296 exec 5>/dev/null
37297 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
37298 exec 5>>config.log
37299 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37300 # would make configure fail if this is the last instruction.
37301 $ac_cs_success || { (exit 1); exit 1; }
37302fi
37303
37304#
37305# CONFIG_SUBDIRS section.
37306#
37307if test "$no_recursion" != yes; then
37308
37309 # Remove --cache-file and --srcdir arguments so they do not pile up.
37310 ac_sub_configure_args=
37311 ac_prev=
37312 for ac_arg in $ac_configure_args; do
37313 if test -n "$ac_prev"; then
37314 ac_prev=
37315 continue
37316 fi
37317 case $ac_arg in
37318 -cache-file | --cache-file | --cache-fil | --cache-fi \
37319 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
37320 ac_prev=cache_file ;;
37321 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
37322 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
37323 | --c=*)
37324 ;;
37325 --config-cache | -C)
37326 ;;
37327 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
37328 ac_prev=srcdir ;;
37329 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
37330 ;;
37331 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
37332 ac_prev=prefix ;;
37333 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
37334 ;;
37335 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
37336 esac
37337 done
37338
37339 # Always prepend --prefix to ensure using the same prefix
37340 # in subdir configurations.
37341 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
37342
37343 ac_popdir=`pwd`
37344 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
37345
37346 # Do not complain, so a configure script can configure whichever
37347 # parts of a large source tree are present.
37348 test -d $srcdir/$ac_dir || continue
37349
37350 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
37351echo "$as_me: configuring in $ac_dir" >&6;}
37352 { if $as_mkdir_p; then
37353 mkdir -p "$ac_dir"
37354 else
37355 as_dir="$ac_dir"
37356 as_dirs=
37357 while test ! -d "$as_dir"; do
37358 as_dirs="$as_dir $as_dirs"
37359 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37360$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37361 X"$as_dir" : 'X\(//\)[^/]' \| \
37362 X"$as_dir" : 'X\(//\)$' \| \
37363 X"$as_dir" : 'X\(/\)' \| \
37364 . : '\(.\)' 2>/dev/null ||
37365echo X"$as_dir" |
37366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37367 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37368 /^X\(\/\/\)$/{ s//\1/; q; }
37369 /^X\(\/\).*/{ s//\1/; q; }
37370 s/.*/./; q'`
37371 done
37372 test ! -n "$as_dirs" || mkdir $as_dirs
37373 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37374echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37375 { (exit 1); exit 1; }; }; }
37376
37377 ac_builddir=.
37378
37379if test "$ac_dir" != .; then
37380 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37381 # A "../" for each directory in $ac_dir_suffix.
37382 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37383else
37384 ac_dir_suffix= ac_top_builddir=
37385fi
37386
37387case $srcdir in
37388 .) # No --srcdir option. We are building in place.
37389 ac_srcdir=.
37390 if test -z "$ac_top_builddir"; then
37391 ac_top_srcdir=.
37392 else
37393 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37394 fi ;;
37395 [\\/]* | ?:[\\/]* ) # Absolute path.
37396 ac_srcdir=$srcdir$ac_dir_suffix;
37397 ac_top_srcdir=$srcdir ;;
37398 *) # Relative path.
37399 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37400 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37401esac
37402# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37403# absolute.
37404ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37405ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37406ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37407ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37408
37409
37410 cd $ac_dir
37411
37412 # Check for guested configure; otherwise get Cygnus style configure.
37413 if test -f $ac_srcdir/configure.gnu; then
37414 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
37415 elif test -f $ac_srcdir/configure; then
37416 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
37417 elif test -f $ac_srcdir/configure.in; then
37418 ac_sub_configure=$ac_configure
37419 else
37420 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37421echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37422 ac_sub_configure=
37423 fi
37424
37425 # The recursion is here.
37426 if test -n "$ac_sub_configure"; then
37427 # Make the cache file name correct relative to the subdirectory.
37428 case $cache_file in
37429 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
37430 *) # Relative path.
37431 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
37432 esac
37433
37434 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37435echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37436 # The eval makes quoting arguments work.
37437 eval $ac_sub_configure $ac_sub_configure_args \
37438 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37439 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37440echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37441 { (exit 1); exit 1; }; }
37442 fi
37443
37444 cd $ac_popdir
37445 done
37446fi
37447
37448
37449echo
37450echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37451echo ""
37452echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
37453echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37454
37455echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37456echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37457echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37458
37459echo " What level of wxWindows compatibility should be enabled?"
37460echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37461echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37462
37463echo " Which libraries should wxWindows use?"
37464echo " jpeg ${wxUSE_LIBJPEG-none}"
37465echo " png ${wxUSE_LIBPNG-none}"
37466echo " regex ${wxUSE_REGEX}"
37467echo " tiff ${wxUSE_LIBTIFF-none}"
37468echo " zlib ${wxUSE_ZLIB}"
37469echo " odbc ${wxUSE_ODBC}"
37470echo " expat ${wxUSE_EXPAT}"
37471
37472echo ""
37473