]> git.saurik.com Git - wxWidgets.git/blame_incremental - configure
Enabled handling of drive letters on OS/2.
[wxWidgets.git] / configure
... / ...
CommitLineData
1#! /bin/sh
2# From configure.in Id: configure.in.
3# Guess values for system-dependent variables and create Makefiles.
4# Generated by GNU Autoconf 2.57 for wxWindows 2.5.1.
5#
6# Report bugs to <wx-dev@lists.wxwindows.org>.
7#
8# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9# Free Software Foundation, Inc.
10# This configure script is free software; the Free Software Foundation
11# gives unlimited permission to copy, distribute and modify it.
12## --------------------- ##
13## M4sh Initialization. ##
14## --------------------- ##
15
16# Be Bourne compatible
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 set -o posix
25fi
26
27# Support unset when possible.
28if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
29 as_unset=unset
30else
31 as_unset=false
32fi
33
34
35# Work around bugs in pre-3.0 UWIN ksh.
36$as_unset ENV MAIL MAILPATH
37PS1='$ '
38PS2='> '
39PS4='+ '
40
41# NLS nuisances.
42for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46do
47 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52done
53
54# Required to use basename.
55if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57else
58 as_expr=false
59fi
60
61if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63else
64 as_basename=false
65fi
66
67
68# Name of the executable.
69as_me=`$as_basename "$0" ||
70$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81# PATH needs CR, and LINENO needs CR and PATH.
82# Avoid depending upon Character Ranges.
83as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86as_cr_digits='0123456789'
87as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89# The user is always right.
90if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113for as_dir in $PATH
114do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155done
156;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187}
188
189
190case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195esac
196
197if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199else
200 as_expr=false
201fi
202
203rm -f conf$$ conf$$.exe conf$$.file
204echo >conf$$.file
205if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216else
217 as_ln_s='cp -p'
218fi
219rm -f conf$$ conf$$.exe conf$$.file
220
221if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223else
224 as_mkdir_p=false
225fi
226
227as_executable_p="test -f"
228
229# Sed expression to map a string onto a valid CPP name.
230as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231
232# Sed expression to map a string onto a valid variable name.
233as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234
235
236# IFS
237# We need space, tab and new line, in precisely that order.
238as_nl='
239'
240IFS=" $as_nl"
241
242# CDPATH.
243$as_unset CDPATH
244
245
246# Name of the host.
247# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248# so uname gets run too.
249ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251exec 6>&1
252
253#
254# Initializations.
255#
256ac_default_prefix=/usr/local
257ac_config_libobj_dir=.
258cross_compiling=no
259subdirs=
260MFLAGS=
261MAKEFLAGS=
262SHELL=${CONFIG_SHELL-/bin/sh}
263
264# Maximum number of lines to put in a shell here document.
265# This variable seems obsolete. It should probably be removed, and
266# only ac_max_sed_lines should be used.
267: ${ac_max_here_lines=38}
268
269# Identity of this package.
270PACKAGE_NAME='wxWindows'
271PACKAGE_TARNAME='wxwindows'
272PACKAGE_VERSION='2.5.1'
273PACKAGE_STRING='wxWindows 2.5.1'
274PACKAGE_BUGREPORT='wx-dev@lists.wxwindows.org'
275
276ac_unique_file="wx-config.in"
277# Factoring default headers for most tests.
278ac_includes_default="\
279#include <stdio.h>
280#if HAVE_SYS_TYPES_H
281# include <sys/types.h>
282#endif
283#if HAVE_SYS_STAT_H
284# include <sys/stat.h>
285#endif
286#if STDC_HEADERS
287# include <stdlib.h>
288# include <stddef.h>
289#else
290# if HAVE_STDLIB_H
291# include <stdlib.h>
292# endif
293#endif
294#if HAVE_STRING_H
295# if !STDC_HEADERS && HAVE_MEMORY_H
296# include <memory.h>
297# endif
298# include <string.h>
299#endif
300#if HAVE_STRINGS_H
301# include <strings.h>
302#endif
303#if HAVE_INTTYPES_H
304# include <inttypes.h>
305#else
306# if HAVE_STDINT_H
307# include <stdint.h>
308# endif
309#endif
310#if HAVE_UNISTD_H
311# include <unistd.h>
312#endif"
313
314ac_subdirs_all="$ac_subdirs_all src/expat"
315ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE LIBPREFIX DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY LIBOBJS LTLIBOBJS'
316ac_subst_files=''
317
318# Initialize some variables set by options.
319ac_init_help=
320ac_init_version=false
321# The variables have the same names as the options, with
322# dashes changed to underlines.
323cache_file=/dev/null
324exec_prefix=NONE
325no_create=
326no_recursion=
327prefix=NONE
328program_prefix=NONE
329program_suffix=NONE
330program_transform_name=s,x,x,
331silent=
332site=
333srcdir=
334verbose=
335x_includes=NONE
336x_libraries=NONE
337
338# Installation directory options.
339# These are left unexpanded so users can "make install exec_prefix=/foo"
340# and all the variables that are supposed to be based on exec_prefix
341# by default will actually change.
342# Use braces instead of parens because sh, perl, etc. also accept them.
343bindir='${exec_prefix}/bin'
344sbindir='${exec_prefix}/sbin'
345libexecdir='${exec_prefix}/libexec'
346datadir='${prefix}/share'
347sysconfdir='${prefix}/etc'
348sharedstatedir='${prefix}/com'
349localstatedir='${prefix}/var'
350libdir='${exec_prefix}/lib'
351includedir='${prefix}/include'
352oldincludedir='/usr/include'
353infodir='${prefix}/info'
354mandir='${prefix}/man'
355
356ac_prev=
357for ac_option
358do
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
362 ac_prev=
363 continue
364 fi
365
366 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367
368 # Accept the important Cygnus configure options, so we can diagnose typos.
369
370 case $ac_option in
371
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 ac_prev=bindir ;;
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 bindir=$ac_optarg ;;
376
377 -build | --build | --buil | --bui | --bu)
378 ac_prev=build_alias ;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias=$ac_optarg ;;
381
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev=cache_file ;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file=$ac_optarg ;;
388
389 --config-cache | -C)
390 cache_file=config.cache ;;
391
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393 ac_prev=datadir ;;
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395 | --da=*)
396 datadir=$ac_optarg ;;
397
398 -disable-* | --disable-*)
399 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
406
407 -enable-* | --enable-*)
408 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414 case $ac_option in
415 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 *) ac_optarg=yes ;;
417 esac
418 eval "enable_$ac_feature='$ac_optarg'" ;;
419
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev=exec_prefix ;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix=$ac_optarg ;;
428
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
431 with_gas=yes ;;
432
433 -help | --help | --hel | --he | -h)
434 ac_init_help=long ;;
435 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
436 ac_init_help=recursive ;;
437 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
438 ac_init_help=short ;;
439
440 -host | --host | --hos | --ho)
441 ac_prev=host_alias ;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias=$ac_optarg ;;
444
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev=includedir ;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir=$ac_optarg ;;
451
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
453 ac_prev=infodir ;;
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir=$ac_optarg ;;
456
457 -libdir | --libdir | --libdi | --libd)
458 ac_prev=libdir ;;
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
460 libdir=$ac_optarg ;;
461
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev=libexecdir ;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir=$ac_optarg ;;
468
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev=localstatedir ;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir=$ac_optarg ;;
477
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 ac_prev=mandir ;;
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 mandir=$ac_optarg ;;
482
483 -nfp | --nfp | --nf)
484 # Obsolete; use --without-fp.
485 with_fp=no ;;
486
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
489 no_create=yes ;;
490
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493 no_recursion=yes ;;
494
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev=oldincludedir ;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir=$ac_optarg ;;
503
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505 ac_prev=prefix ;;
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507 prefix=$ac_optarg ;;
508
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev=program_prefix ;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix=$ac_optarg ;;
515
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev=program_suffix ;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix=$ac_optarg ;;
522
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev=program_transform_name ;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name=$ac_optarg ;;
539
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
542 silent=yes ;;
543
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545 ac_prev=sbindir ;;
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547 | --sbi=* | --sb=*)
548 sbindir=$ac_optarg ;;
549
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
553 | --sha | --sh)
554 ac_prev=sharedstatedir ;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558 | --sha=* | --sh=*)
559 sharedstatedir=$ac_optarg ;;
560
561 -site | --site | --sit)
562 ac_prev=site ;;
563 -site=* | --site=* | --sit=*)
564 site=$ac_optarg ;;
565
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567 ac_prev=srcdir ;;
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569 srcdir=$ac_optarg ;;
570
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev=sysconfdir ;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir=$ac_optarg ;;
577
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev=target_alias ;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias=$ac_optarg ;;
582
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
584 verbose=yes ;;
585
586 -version | --version | --versio | --versi | --vers | -V)
587 ac_init_version=: ;;
588
589 -with-* | --with-*)
590 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package=`echo $ac_package| sed 's/-/_/g'`
596 case $ac_option in
597 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 *) ac_optarg=yes ;;
599 esac
600 eval "with_$ac_package='$ac_optarg'" ;;
601
602 -without-* | --without-*)
603 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
610
611 --x)
612 # Obsolete; use --with-x.
613 with_x=yes ;;
614
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev=x_includes ;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes=$ac_optarg ;;
621
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev=x_libraries ;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries=$ac_optarg ;;
628
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
632 ;;
633
634 *=*)
635 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
642 export $ac_envvar ;;
643
644 *)
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
650 ;;
651
652 esac
653done
654
655if test -n "$ac_prev"; then
656 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
659fi
660
661# Be sure to have absolute paths.
662for ac_var in exec_prefix prefix
663do
664 eval ac_val=$`echo $ac_var`
665 case $ac_val in
666 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
669 esac
670done
671
672# Be sure to have absolute paths.
673for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
675do
676 eval ac_val=$`echo $ac_var`
677 case $ac_val in
678 [\\/$]* | ?:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
681 esac
682done
683
684# There might be people who depend on the old broken behavior: `$host'
685# used to hold the argument of --host etc.
686# FIXME: To remove some day.
687build=$build_alias
688host=$host_alias
689target=$target_alias
690
691# FIXME: To remove some day.
692if test "x$host_alias" != x; then
693 if test "x$build_alias" = x; then
694 cross_compiling=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
698 cross_compiling=yes
699 fi
700fi
701
702ac_tool_prefix=
703test -n "$host_alias" && ac_tool_prefix=$host_alias-
704
705test "$silent" = yes && exec 6>/dev/null
706
707
708# Find the source files, if location was not specified.
709if test -z "$srcdir"; then
710 ac_srcdir_defaulted=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir=`(dirname "$0") 2>/dev/null ||
713$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
718echo X"$0" |
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
723 s/.*/./; q'`
724 srcdir=$ac_confdir
725 if test ! -r $srcdir/$ac_unique_file; then
726 srcdir=..
727 fi
728else
729 ac_srcdir_defaulted=no
730fi
731if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
735 else
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
738 fi
739fi
740(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744ac_env_build_alias_set=${build_alias+set}
745ac_env_build_alias_value=$build_alias
746ac_cv_env_build_alias_set=${build_alias+set}
747ac_cv_env_build_alias_value=$build_alias
748ac_env_host_alias_set=${host_alias+set}
749ac_env_host_alias_value=$host_alias
750ac_cv_env_host_alias_set=${host_alias+set}
751ac_cv_env_host_alias_value=$host_alias
752ac_env_target_alias_set=${target_alias+set}
753ac_env_target_alias_value=$target_alias
754ac_cv_env_target_alias_set=${target_alias+set}
755ac_cv_env_target_alias_value=$target_alias
756ac_env_CC_set=${CC+set}
757ac_env_CC_value=$CC
758ac_cv_env_CC_set=${CC+set}
759ac_cv_env_CC_value=$CC
760ac_env_CFLAGS_set=${CFLAGS+set}
761ac_env_CFLAGS_value=$CFLAGS
762ac_cv_env_CFLAGS_set=${CFLAGS+set}
763ac_cv_env_CFLAGS_value=$CFLAGS
764ac_env_LDFLAGS_set=${LDFLAGS+set}
765ac_env_LDFLAGS_value=$LDFLAGS
766ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
767ac_cv_env_LDFLAGS_value=$LDFLAGS
768ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769ac_env_CPPFLAGS_value=$CPPFLAGS
770ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772ac_env_CPP_set=${CPP+set}
773ac_env_CPP_value=$CPP
774ac_cv_env_CPP_set=${CPP+set}
775ac_cv_env_CPP_value=$CPP
776ac_env_CXX_set=${CXX+set}
777ac_env_CXX_value=$CXX
778ac_cv_env_CXX_set=${CXX+set}
779ac_cv_env_CXX_value=$CXX
780ac_env_CXXFLAGS_set=${CXXFLAGS+set}
781ac_env_CXXFLAGS_value=$CXXFLAGS
782ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
783ac_cv_env_CXXFLAGS_value=$CXXFLAGS
784ac_env_CXXCPP_set=${CXXCPP+set}
785ac_env_CXXCPP_value=$CXXCPP
786ac_cv_env_CXXCPP_set=${CXXCPP+set}
787ac_cv_env_CXXCPP_value=$CXXCPP
788
789#
790# Report the --help message.
791#
792if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
795 cat <<_ACEOF
796\`configure' configures wxWindows 2.5.1 to adapt to many kinds of systems.
797
798Usage: $0 [OPTION]... [VAR=VALUE]...
799
800To assign environment variables (e.g., CC, CFLAGS...), specify them as
801VAR=VALUE. See below for descriptions of some of the useful variables.
802
803Defaults for the options are specified in brackets.
804
805Configuration:
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
815
816_ACEOF
817
818 cat <<_ACEOF
819Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
821 [$ac_default_prefix]
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
823 [PREFIX]
824
825By default, \`make install' will install all the files in
826\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828for instance \`--prefix=\$HOME'.
829
830For better control, use the options below.
831
832Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
845_ACEOF
846
847 cat <<\_ACEOF
848
849X features:
850 --x-includes=DIR X include files are in DIR
851 --x-libraries=DIR X library files are in DIR
852
853System types:
854 --build=BUILD configure for building on BUILD [guessed]
855 --host=HOST cross-compile to build programs to run on HOST [BUILD]
856 --target=TARGET configure for building compilers for TARGET [HOST]
857_ACEOF
858fi
859
860if test -n "$ac_init_help"; then
861 case $ac_init_help in
862 short | recursive ) echo "Configuration of wxWindows 2.5.1:";;
863 esac
864 cat <<\_ACEOF
865
866Optional Features:
867 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
868 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
869 --enable-gui use GUI classes
870 --disable-monolithic don't build wxWindows as single library
871 --enable-universal use wxWindows GUI controls instead of native ones
872 --enable-nanox use NanoX
873 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
874 --enable-shared create shared library code
875 --enable-optimise create optimised code
876 --enable-debug same as debug_flag and debug_info
877 --enable-stl use STL for containers
878 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
879 --enable-debug_info create code with debugging information
880 --enable-debug_gdb create code with extra GDB debugging information
881 --enable-debug_cntxt use wxDebugContext
882 --enable-mem_tracing create code with memory tracing
883 --enable-profile create code with profiling information
884 --enable-no_rtti create code without RTTI information
885 --enable-no_exceptions create code without C++ exceptions handling
886 --enable-permissive compile code disregarding strict ANSI
887 --enable-no_deps create code without dependency information
888 --enable-compat22 enable wxWindows 2.2 compatibility
889 --disable-compat24 disable wxWindows 2.4 compatibility
890 --enable-rpath=DIR output the rpath flag from wx-config
891 --enable-intl use internationalization system
892 --enable-config use wxConfig (and derived) classes
893 --enable-protocols use wxProtocol and derived classes
894 --enable-ftp use wxFTP (requires wxProtocol
895 --enable-http use wxHTTP (requires wxProtocol
896 --enable-fileproto use wxFileProto class (requires wxProtocol
897 --enable-sockets use socket/network classes
898 --enable-ole use OLE classes (Win32 only)
899 --enable-dataobj use data object classes
900 --enable-ipc use interprocess communication (wxSocket etc.)
901 --enable-apple_ieee use the Apple IEEE codec
902 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
903 --enable-cmdline use wxCmdLineParser class
904 --enable-datetime use wxDateTime class
905 --enable-dialupman use dialup network classes
906 --enable-dynlib use wxLibrary class for DLL loading
907 --enable-dynamicloader use (new) wxDynamicLibrary class
908 --enable-exceptions build exception-safe library
909 --enable-ffile use wxFFile class
910 --enable-file use wxFile class
911 --enable-filesystem use virtual file systems classes
912 --enable-fontmap use font encodings conversion classes
913 --enable-fs_inet use virtual HTTP/FTP filesystems
914 --enable-fs_zip use virtual ZIP filesystems
915 --enable-geometry use geometry class
916 --enable-log use logging system
917 --enable-longlong use wxLongLong class
918 --enable-mimetype use wxMimeTypesManager
919 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
920 --enable-snglinst use wxSingleInstanceChecker class
921 --enable-streams use wxStream etc classes
922 --enable-std_iostreams use standard C++ stream classes
923 --enable-stopwatch use wxStopWatch class
924 --enable-sysoptions use wxSystemOptions
925 --enable-textbuf use wxTextBuffer class
926 --enable-textfile use wxTextFile class
927 --enable-timer use wxTimer class
928 --enable-unicode compile wxString with Unicode support
929 --enable-wave use wxWave class
930 --enable-wxprintfv use wxWindows implementation of vprintf()
931 --enable-zipstream use wxZipInputStream
932 --enable-gzstream use wxGzipInputStream
933 --enable-url use wxURL class
934 --enable-protocol use wxProtocol class
935 --enable-protocol-http HTTP support in wxProtocol
936 --enable-protocol-ftp FTP support in wxProtocol
937 --enable-protocol-file FILE support in wxProtocol
938 --enable-threads use threads
939 --enable-docview use document view architecture
940 --enable-help use help subsystem
941 --enable-mshtmlhelp use MS HTML Help (win32)
942 --enable-html use wxHTML sub-library
943 --enable-htmlhelp use wxHTML-based help
944 --enable-constraints use layout-constraints system
945 --enable-printarch use printing architecture
946 --enable-mdi use multiple document interface architecture
947 --enable-loggui use standard GUI logger
948 --enable-logwin use wxLogWindow
949 --enable-logdialog use wxLogDialog
950 --enable-postscript use wxPostscriptDC device context (default for gtk+)
951 --enable-prologio not available; see contrib
952 --enable-resources not available; see contrib
953 --enable-clipboard use wxClipboard class
954 --enable-dnd use Drag'n'Drop classes
955 --enable-metafile use win32 metafiles
956 --enable-controls use all usual controls
957 --enable-accel use accelerators
958 --enable-button use wxButton class
959 --enable-bmpbutton use wxBitmapButton class
960 --enable-calendar use wxCalendarCtrl class
961 --enable-caret use wxCaret class
962 --enable-checkbox use wxCheckBox class
963 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
964 --enable-choice use wxChoice class
965 --enable-combobox use wxComboBox class
966 --enable-display use wxDisplay class
967 --enable-gauge use wxGauge class
968 --enable-grid use wxGrid class
969 --enable-imaglist use wxImageList class
970 --enable-listbook use wxListbook class
971 --enable-listbox use wxListBox class
972 --enable-listctrl use wxListCtrl class
973 --enable-notebook use wxNotebook class
974 --enable-radiobox use wxRadioBox class
975 --enable-radiobtn use wxRadioButton class
976 --enable-sash use wxSashWindow class
977 --enable-scrollbar use wxScrollBar class and scrollable windows
978 --enable-slider use wxSlider class
979 --enable-spinbtn use wxSpinButton class
980 --enable-spinctrl use wxSpinCtrl class
981 --enable-splitter use wxSplitterWindow class
982 --enable-statbmp use wxStaticBitmap class
983 --enable-statbox use wxStaticBox class
984 --enable-statline use wxStaticLine class
985 --enable-stattext use wxStaticText class
986 --enable-statusbar use wxStatusBar class
987 --enable-tabdialog use wxTabControl class
988 --enable-textctrl use wxTextCtrl class
989 --enable-togglebtn use wxToggleButton class
990 --enable-toolbar use wxToolBar class
991 --enable-tbarnative use native wxToolBar class
992 --enable-tbarsmpl use wxToolBarSimple class
993 --enable-treectrl use wxTreeCtrl class
994 --enable-tipwindow use wxTipWindow class
995 --enable-popupwin use wxPopUpWindow class
996 --enable-commondlg use all common dialogs
997 --enable-choicedlg use wxChoiceDialog
998 --enable-coldlg use wxColourDialog
999 --enable-filedlg use wxFileDialog
1000 --enable-finddlg use wxFindReplaceDialog
1001 --enable-fontdlg use wxFontDialog
1002 --enable-dirdlg use wxDirDialog
1003 --enable-msgdlg use wxMessageDialog
1004 --enable-numberdlg use wxNumberEntryDialog
1005 --enable-splash use wxSplashScreen
1006 --enable-textdlg use wxTextDialog
1007 --enable-tipdlg use startup tips
1008 --enable-progressdlg use wxProgressDialog
1009 --enable-wizarddlg use wxWizard
1010 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1011 --enable-miniframe use wxMiniFrame class
1012 --enable-tooltips use wxToolTip class
1013 --enable-splines use spline drawing code
1014 --enable-validators use wxValidator and derived classes
1015 --enable-busyinfo use wxBusyInfo
1016 --enable-joystick use wxJoystick (Linux only)
1017 --enable-metafiles use wxMetaFile (Windows only)
1018 --enable-dragimage use wxDragImage
1019 --enable-accessibility enable accessibility support
1020 --enable-palette use wxPalette class
1021 --enable-image use wxImage class
1022 --enable-gif use gif images (GIF file format)
1023 --enable-pcx use pcx images (PCX file format)
1024 --enable-iff use iff images (IFF file format)
1025 --enable-pnm use pnm images (PNM file format)
1026 --enable-xpm use xpm images (XPM file format)
1027 --enable-icocur use Windows ICO and CUR formats
1028 --enable-official_build official build of wxWindows (win32 DLL only)
1029 --enable-vendor=VENDOR vendor name (win32 DLL only)
1030 --disable-largefile omit support for large files
1031 --disable-gtktest do not try to compile and run a test GTK+ program
1032 --disable-gtktest Do not try to compile and run a test GTK program
1033 --disable-precomp-headers don't use precompiled headers even if compiler can
1034
1035Optional Packages:
1036 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1037 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1038 --with-gtk use GTK+
1039 --with-motif use Motif/Lesstif
1040 --with-mac use Mac OS X
1041 --with-cocoa use Cocoa
1042 --with-wine use Wine
1043 --with-msw use MS-Windows
1044 --with-pm use OS/2 Presentation Manager
1045 --with-mgl use SciTech MGL
1046 --with-microwin use MicroWindows
1047 --with-x11 use X11
1048 --with-libpng use libpng (PNG image format)
1049 --with-libjpeg use libjpeg (JPEG file format)
1050 --with-libtiff use libtiff (TIFF file format)
1051 --with-libxpm use libxpm (XPM file format)
1052 --with-libmspack use libmspack (CHM help files loading)
1053 --with-opengl use OpenGL (or Mesa)
1054 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1055 --with-regex enable support for wxRegEx class
1056 --with-zlib use zlib for LZW compression
1057 --with-odbc use the IODBC and wxODBC classes
1058 --with-expat enable XML support using expat parser
1059 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1060 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1061 --with-x use the X Window System
1062 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1063
1064Some influential environment variables:
1065 CC C compiler command
1066 CFLAGS C compiler flags
1067 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1068 nonstandard directory <lib dir>
1069 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1070 headers in a nonstandard directory <include dir>
1071 CPP C preprocessor
1072 CXX C++ compiler command
1073 CXXFLAGS C++ compiler flags
1074 CXXCPP C++ preprocessor
1075
1076Use these variables to override the choices made by `configure' or to help
1077it to find libraries and programs with nonstandard names/locations.
1078
1079Report bugs to <wx-dev@lists.wxwindows.org>.
1080_ACEOF
1081fi
1082
1083if test "$ac_init_help" = "recursive"; then
1084 # If there are subdirs, report their specific --help.
1085 ac_popdir=`pwd`
1086 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1087 test -d $ac_dir || continue
1088 ac_builddir=.
1089
1090if test "$ac_dir" != .; then
1091 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1092 # A "../" for each directory in $ac_dir_suffix.
1093 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1094else
1095 ac_dir_suffix= ac_top_builddir=
1096fi
1097
1098case $srcdir in
1099 .) # No --srcdir option. We are building in place.
1100 ac_srcdir=.
1101 if test -z "$ac_top_builddir"; then
1102 ac_top_srcdir=.
1103 else
1104 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1105 fi ;;
1106 [\\/]* | ?:[\\/]* ) # Absolute path.
1107 ac_srcdir=$srcdir$ac_dir_suffix;
1108 ac_top_srcdir=$srcdir ;;
1109 *) # Relative path.
1110 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1111 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1112esac
1113# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1114# absolute.
1115ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1116ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1117ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1118ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1119
1120 cd $ac_dir
1121 # Check for guested configure; otherwise get Cygnus style configure.
1122 if test -f $ac_srcdir/configure.gnu; then
1123 echo
1124 $SHELL $ac_srcdir/configure.gnu --help=recursive
1125 elif test -f $ac_srcdir/configure; then
1126 echo
1127 $SHELL $ac_srcdir/configure --help=recursive
1128 elif test -f $ac_srcdir/configure.ac ||
1129 test -f $ac_srcdir/configure.in; then
1130 echo
1131 $ac_configure --help
1132 else
1133 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1134 fi
1135 cd $ac_popdir
1136 done
1137fi
1138
1139test -n "$ac_init_help" && exit 0
1140if $ac_init_version; then
1141 cat <<\_ACEOF
1142wxWindows configure 2.5.1
1143generated by GNU Autoconf 2.57
1144
1145Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1146Free Software Foundation, Inc.
1147This configure script is free software; the Free Software Foundation
1148gives unlimited permission to copy, distribute and modify it.
1149_ACEOF
1150 exit 0
1151fi
1152exec 5>config.log
1153cat >&5 <<_ACEOF
1154This file contains any messages produced by compilers while
1155running configure, to aid debugging if configure makes a mistake.
1156
1157It was created by wxWindows $as_me 2.5.1, which was
1158generated by GNU Autoconf 2.57. Invocation command line was
1159
1160 $ $0 $@
1161
1162_ACEOF
1163{
1164cat <<_ASUNAME
1165## --------- ##
1166## Platform. ##
1167## --------- ##
1168
1169hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1170uname -m = `(uname -m) 2>/dev/null || echo unknown`
1171uname -r = `(uname -r) 2>/dev/null || echo unknown`
1172uname -s = `(uname -s) 2>/dev/null || echo unknown`
1173uname -v = `(uname -v) 2>/dev/null || echo unknown`
1174
1175/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1176/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1177
1178/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1179/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1180/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1181hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1182/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1183/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1184/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1185
1186_ASUNAME
1187
1188as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1189for as_dir in $PATH
1190do
1191 IFS=$as_save_IFS
1192 test -z "$as_dir" && as_dir=.
1193 echo "PATH: $as_dir"
1194done
1195
1196} >&5
1197
1198cat >&5 <<_ACEOF
1199
1200
1201## ----------- ##
1202## Core tests. ##
1203## ----------- ##
1204
1205_ACEOF
1206
1207
1208# Keep a trace of the command line.
1209# Strip out --no-create and --no-recursion so they do not pile up.
1210# Strip out --silent because we don't want to record it for future runs.
1211# Also quote any args containing shell meta-characters.
1212# Make two passes to allow for proper duplicate-argument suppression.
1213ac_configure_args=
1214ac_configure_args0=
1215ac_configure_args1=
1216ac_sep=
1217ac_must_keep_next=false
1218for ac_pass in 1 2
1219do
1220 for ac_arg
1221 do
1222 case $ac_arg in
1223 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1224 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1225 | -silent | --silent | --silen | --sile | --sil)
1226 continue ;;
1227 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1228 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1229 esac
1230 case $ac_pass in
1231 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1232 2)
1233 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1234 if test $ac_must_keep_next = true; then
1235 ac_must_keep_next=false # Got value, back to normal.
1236 else
1237 case $ac_arg in
1238 *=* | --config-cache | -C | -disable-* | --disable-* \
1239 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1240 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1241 | -with-* | --with-* | -without-* | --without-* | --x)
1242 case "$ac_configure_args0 " in
1243 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1244 esac
1245 ;;
1246 -* ) ac_must_keep_next=true ;;
1247 esac
1248 fi
1249 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1250 # Get rid of the leading space.
1251 ac_sep=" "
1252 ;;
1253 esac
1254 done
1255done
1256$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1257$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1258
1259# When interrupted or exit'd, cleanup temporary files, and complete
1260# config.log. We remove comments because anyway the quotes in there
1261# would cause problems or look ugly.
1262# WARNING: Be sure not to use single quotes in there, as some shells,
1263# such as our DU 5.0 friend, will then `close' the trap.
1264trap 'exit_status=$?
1265 # Save into config.log some information that might help in debugging.
1266 {
1267 echo
1268
1269 cat <<\_ASBOX
1270## ---------------- ##
1271## Cache variables. ##
1272## ---------------- ##
1273_ASBOX
1274 echo
1275 # The following way of writing the cache mishandles newlines in values,
1276{
1277 (set) 2>&1 |
1278 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1279 *ac_space=\ *)
1280 sed -n \
1281 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1282 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1283 ;;
1284 *)
1285 sed -n \
1286 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1287 ;;
1288 esac;
1289}
1290 echo
1291
1292 cat <<\_ASBOX
1293## ----------------- ##
1294## Output variables. ##
1295## ----------------- ##
1296_ASBOX
1297 echo
1298 for ac_var in $ac_subst_vars
1299 do
1300 eval ac_val=$`echo $ac_var`
1301 echo "$ac_var='"'"'$ac_val'"'"'"
1302 done | sort
1303 echo
1304
1305 if test -n "$ac_subst_files"; then
1306 cat <<\_ASBOX
1307## ------------- ##
1308## Output files. ##
1309## ------------- ##
1310_ASBOX
1311 echo
1312 for ac_var in $ac_subst_files
1313 do
1314 eval ac_val=$`echo $ac_var`
1315 echo "$ac_var='"'"'$ac_val'"'"'"
1316 done | sort
1317 echo
1318 fi
1319
1320 if test -s confdefs.h; then
1321 cat <<\_ASBOX
1322## ----------- ##
1323## confdefs.h. ##
1324## ----------- ##
1325_ASBOX
1326 echo
1327 sed "/^$/d" confdefs.h | sort
1328 echo
1329 fi
1330 test "$ac_signal" != 0 &&
1331 echo "$as_me: caught signal $ac_signal"
1332 echo "$as_me: exit $exit_status"
1333 } >&5
1334 rm -f core core.* *.core &&
1335 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1336 exit $exit_status
1337 ' 0
1338for ac_signal in 1 2 13 15; do
1339 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1340done
1341ac_signal=0
1342
1343# confdefs.h avoids OS command line length limits that DEFS can exceed.
1344rm -rf conftest* confdefs.h
1345# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1346echo >confdefs.h
1347
1348# Predefined preprocessor variables.
1349
1350cat >>confdefs.h <<_ACEOF
1351#define PACKAGE_NAME "$PACKAGE_NAME"
1352_ACEOF
1353
1354
1355cat >>confdefs.h <<_ACEOF
1356#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1357_ACEOF
1358
1359
1360cat >>confdefs.h <<_ACEOF
1361#define PACKAGE_VERSION "$PACKAGE_VERSION"
1362_ACEOF
1363
1364
1365cat >>confdefs.h <<_ACEOF
1366#define PACKAGE_STRING "$PACKAGE_STRING"
1367_ACEOF
1368
1369
1370cat >>confdefs.h <<_ACEOF
1371#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1372_ACEOF
1373
1374
1375# Let the site file select an alternate cache file if it wants to.
1376# Prefer explicitly selected file to automatically selected ones.
1377if test -z "$CONFIG_SITE"; then
1378 if test "x$prefix" != xNONE; then
1379 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1380 else
1381 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1382 fi
1383fi
1384for ac_site_file in $CONFIG_SITE; do
1385 if test -r "$ac_site_file"; then
1386 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1387echo "$as_me: loading site script $ac_site_file" >&6;}
1388 sed 's/^/| /' "$ac_site_file" >&5
1389 . "$ac_site_file"
1390 fi
1391done
1392
1393if test -r "$cache_file"; then
1394 # Some versions of bash will fail to source /dev/null (special
1395 # files actually), so we avoid doing that.
1396 if test -f "$cache_file"; then
1397 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1398echo "$as_me: loading cache $cache_file" >&6;}
1399 case $cache_file in
1400 [\\/]* | ?:[\\/]* ) . $cache_file;;
1401 *) . ./$cache_file;;
1402 esac
1403 fi
1404else
1405 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1406echo "$as_me: creating cache $cache_file" >&6;}
1407 >$cache_file
1408fi
1409
1410# Check that the precious variables saved in the cache have kept the same
1411# value.
1412ac_cache_corrupted=false
1413for ac_var in `(set) 2>&1 |
1414 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1415 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1416 eval ac_new_set=\$ac_env_${ac_var}_set
1417 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1418 eval ac_new_val="\$ac_env_${ac_var}_value"
1419 case $ac_old_set,$ac_new_set in
1420 set,)
1421 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1422echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1423 ac_cache_corrupted=: ;;
1424 ,set)
1425 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1426echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1427 ac_cache_corrupted=: ;;
1428 ,);;
1429 *)
1430 if test "x$ac_old_val" != "x$ac_new_val"; then
1431 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1432echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1433 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1434echo "$as_me: former value: $ac_old_val" >&2;}
1435 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1436echo "$as_me: current value: $ac_new_val" >&2;}
1437 ac_cache_corrupted=:
1438 fi;;
1439 esac
1440 # Pass precious variables to config.status.
1441 if test "$ac_new_set" = set; then
1442 case $ac_new_val in
1443 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1444 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1445 *) ac_arg=$ac_var=$ac_new_val ;;
1446 esac
1447 case " $ac_configure_args " in
1448 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1449 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1450 esac
1451 fi
1452done
1453if $ac_cache_corrupted; then
1454 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1455echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1456 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1457echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1458 { (exit 1); exit 1; }; }
1459fi
1460
1461ac_ext=c
1462ac_cpp='$CPP $CPPFLAGS'
1463ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1464ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1465ac_compiler_gnu=$ac_cv_c_compiler_gnu
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496ac_aux_dir=
1497for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1498 if test -f $ac_dir/install-sh; then
1499 ac_aux_dir=$ac_dir
1500 ac_install_sh="$ac_aux_dir/install-sh -c"
1501 break
1502 elif test -f $ac_dir/install.sh; then
1503 ac_aux_dir=$ac_dir
1504 ac_install_sh="$ac_aux_dir/install.sh -c"
1505 break
1506 elif test -f $ac_dir/shtool; then
1507 ac_aux_dir=$ac_dir
1508 ac_install_sh="$ac_aux_dir/shtool install -c"
1509 break
1510 fi
1511done
1512if test -z "$ac_aux_dir"; then
1513 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1514echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1515 { (exit 1); exit 1; }; }
1516fi
1517ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1518ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1519ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1520
1521# Make sure we can run config.sub.
1522$ac_config_sub sun4 >/dev/null 2>&1 ||
1523 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1524echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1525 { (exit 1); exit 1; }; }
1526
1527echo "$as_me:$LINENO: checking build system type" >&5
1528echo $ECHO_N "checking build system type... $ECHO_C" >&6
1529if test "${ac_cv_build+set}" = set; then
1530 echo $ECHO_N "(cached) $ECHO_C" >&6
1531else
1532 ac_cv_build_alias=$build_alias
1533test -z "$ac_cv_build_alias" &&
1534 ac_cv_build_alias=`$ac_config_guess`
1535test -z "$ac_cv_build_alias" &&
1536 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1537echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1538 { (exit 1); exit 1; }; }
1539ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1540 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1541echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1542 { (exit 1); exit 1; }; }
1543
1544fi
1545echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1546echo "${ECHO_T}$ac_cv_build" >&6
1547build=$ac_cv_build
1548build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1549build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1550build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1551
1552
1553echo "$as_me:$LINENO: checking host system type" >&5
1554echo $ECHO_N "checking host system type... $ECHO_C" >&6
1555if test "${ac_cv_host+set}" = set; then
1556 echo $ECHO_N "(cached) $ECHO_C" >&6
1557else
1558 ac_cv_host_alias=$host_alias
1559test -z "$ac_cv_host_alias" &&
1560 ac_cv_host_alias=$ac_cv_build_alias
1561ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1562 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1563echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1564 { (exit 1); exit 1; }; }
1565
1566fi
1567echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1568echo "${ECHO_T}$ac_cv_host" >&6
1569host=$ac_cv_host
1570host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1571host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1572host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1573
1574
1575echo "$as_me:$LINENO: checking target system type" >&5
1576echo $ECHO_N "checking target system type... $ECHO_C" >&6
1577if test "${ac_cv_target+set}" = set; then
1578 echo $ECHO_N "(cached) $ECHO_C" >&6
1579else
1580 ac_cv_target_alias=$target_alias
1581test "x$ac_cv_target_alias" = "x" &&
1582 ac_cv_target_alias=$ac_cv_host_alias
1583ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1584 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1585echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1586 { (exit 1); exit 1; }; }
1587
1588fi
1589echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1590echo "${ECHO_T}$ac_cv_target" >&6
1591target=$ac_cv_target
1592target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1593target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1594target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1595
1596
1597# The aliases save the names the user supplied, while $host etc.
1598# will get canonicalized.
1599test -n "$target_alias" &&
1600 test "$program_prefix$program_suffix$program_transform_name" = \
1601 NONENONEs,x,x, &&
1602 program_prefix=${target_alias}-
1603
1604
1605
1606WX_MAJOR_VERSION_NUMBER=2
1607WX_MINOR_VERSION_NUMBER=5
1608WX_RELEASE_NUMBER=1
1609
1610WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1611WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1612
1613WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1614
1615WX_CURRENT=1
1616WX_REVISION=0
1617WX_AGE=0
1618
1619
1620
1621USE_UNIX=1
1622USE_OS2=0
1623USE_WIN32=0
1624USE_DOS=0
1625USE_BEOS=0
1626USE_MAC=0
1627
1628USE_AIX=
1629USE_BSD= USE_DARWIN= USE_FREEBSD=
1630USE_GNU= USE_HPUX=
1631USE_LINUX=
1632USE_NETBSD=
1633USE_OPENBSD=
1634USE_OSF= USE_SGI=
1635USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1636USE_ULTRIX=
1637USE_UNIXWARE=
1638
1639USE_ALPHA=
1640
1641NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1642
1643ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1644
1645DEFAULT_wxUSE_COCOA=0
1646DEFAULT_wxUSE_GTK=0
1647DEFAULT_wxUSE_MAC=0
1648DEFAULT_wxUSE_MGL=0
1649DEFAULT_wxUSE_MICROWIN=0
1650DEFAULT_wxUSE_MOTIF=0
1651DEFAULT_wxUSE_MSW=0
1652DEFAULT_wxUSE_PM=0
1653DEFAULT_wxUSE_X11=0
1654
1655DEFAULT_DEFAULT_wxUSE_COCOA=0
1656DEFAULT_DEFAULT_wxUSE_GTK=0
1657DEFAULT_DEFAULT_wxUSE_MAC=0
1658DEFAULT_DEFAULT_wxUSE_MGL=0
1659DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1660DEFAULT_DEFAULT_wxUSE_MOTIF=0
1661DEFAULT_DEFAULT_wxUSE_MSW=0
1662DEFAULT_DEFAULT_wxUSE_PM=0
1663DEFAULT_DEFAULT_wxUSE_X11=0
1664
1665PROGRAM_EXT=
1666SO_SUFFIX=so
1667SAMPLES_RPATH_FLAG=
1668SAMPLES_RPATH_POSTLINK=
1669
1670case "${host}" in
1671 *-hp-hpux* )
1672 USE_HPUX=1
1673 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1674 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1675 SO_SUFFIX=sl
1676 cat >>confdefs.h <<\_ACEOF
1677#define __HPUX__ 1
1678_ACEOF
1679
1680 ;;
1681 *-*-linux* )
1682 USE_LINUX=1
1683 cat >>confdefs.h <<\_ACEOF
1684#define __LINUX__ 1
1685_ACEOF
1686
1687 TMP=`uname -m`
1688 if test "x$TMP" = "xalpha"; then
1689 USE_ALPHA=1
1690 cat >>confdefs.h <<\_ACEOF
1691#define __ALPHA__ 1
1692_ACEOF
1693
1694 fi
1695 DEFAULT_DEFAULT_wxUSE_GTK=1
1696 ;;
1697 *-*-gnu* )
1698 USE_GNU=1
1699 cat >>confdefs.h <<\_ACEOF
1700#define __GNU__ 1
1701_ACEOF
1702
1703 TMP=`uname -m`
1704 if test "x$TMP" = "xalpha"; then
1705 USE_ALPHA=1
1706 cat >>confdefs.h <<\_ACEOF
1707#define __ALPHA__ 1
1708_ACEOF
1709
1710 fi
1711 DEFAULT_DEFAULT_wxUSE_GTK=1
1712 ;;
1713 *-*-irix5* | *-*-irix6* )
1714 USE_SGI=1
1715 USE_SVR4=1
1716 cat >>confdefs.h <<\_ACEOF
1717#define __SGI__ 1
1718_ACEOF
1719
1720 cat >>confdefs.h <<\_ACEOF
1721#define __SVR4__ 1
1722_ACEOF
1723
1724 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1725 ;;
1726 *-*-solaris2* )
1727 USE_SUN=1
1728 USE_SOLARIS=1
1729 USE_SVR4=1
1730 cat >>confdefs.h <<\_ACEOF
1731#define __SUN__ 1
1732_ACEOF
1733
1734 cat >>confdefs.h <<\_ACEOF
1735#define __SOLARIS__ 1
1736_ACEOF
1737
1738 cat >>confdefs.h <<\_ACEOF
1739#define __SVR4__ 1
1740_ACEOF
1741
1742 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1743 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1744 ;;
1745 *-*-sunos4* )
1746 USE_SUN=1
1747 USE_SUNOS=1
1748 USE_BSD=1
1749 cat >>confdefs.h <<\_ACEOF
1750#define __SUN__ 1
1751_ACEOF
1752
1753 cat >>confdefs.h <<\_ACEOF
1754#define __SUNOS__ 1
1755_ACEOF
1756
1757 cat >>confdefs.h <<\_ACEOF
1758#define __BSD__ 1
1759_ACEOF
1760
1761 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1762 ;;
1763 *-*-freebsd*)
1764 USE_BSD=1
1765 USE_FREEBSD=1
1766 cat >>confdefs.h <<\_ACEOF
1767#define __FREEBSD__ 1
1768_ACEOF
1769
1770 cat >>confdefs.h <<\_ACEOF
1771#define __BSD__ 1
1772_ACEOF
1773
1774 DEFAULT_DEFAULT_wxUSE_GTK=1
1775 ;;
1776 *-*-openbsd*)
1777 USE_BSD=1
1778 USE_OPENBSD=1
1779 cat >>confdefs.h <<\_ACEOF
1780#define __OPENBSD__ 1
1781_ACEOF
1782
1783 cat >>confdefs.h <<\_ACEOF
1784#define __BSD__ 1
1785_ACEOF
1786
1787 DEFAULT_DEFAULT_wxUSE_GTK=1
1788 ;;
1789 *-*-netbsd*)
1790 USE_BSD=1
1791 USE_NETBSD=1
1792 cat >>confdefs.h <<\_ACEOF
1793#define __NETBSD__ 1
1794_ACEOF
1795
1796 cat >>confdefs.h <<\_ACEOF
1797#define __BSD__ 1
1798_ACEOF
1799
1800 DEFAULT_DEFAULT_wxUSE_GTK=1
1801 ;;
1802 *-*-osf* )
1803 USE_ALPHA=1
1804 USE_OSF=1
1805 cat >>confdefs.h <<\_ACEOF
1806#define __ALPHA__ 1
1807_ACEOF
1808
1809 cat >>confdefs.h <<\_ACEOF
1810#define __OSF__ 1
1811_ACEOF
1812
1813 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1814 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1815 ;;
1816 *-*-dgux5* )
1817 USE_ALPHA=1
1818 USE_SVR4=1
1819 cat >>confdefs.h <<\_ACEOF
1820#define __ALPHA__ 1
1821_ACEOF
1822
1823 cat >>confdefs.h <<\_ACEOF
1824#define __SVR4__ 1
1825_ACEOF
1826
1827 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1828 ;;
1829 *-*-sysv5* )
1830 USE_SYSV=1
1831 USE_SVR4=1
1832 cat >>confdefs.h <<\_ACEOF
1833#define __SYSV__ 1
1834_ACEOF
1835
1836 cat >>confdefs.h <<\_ACEOF
1837#define __SVR4__ 1
1838_ACEOF
1839
1840 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1841 ;;
1842 *-*-aix* )
1843 USE_AIX=1
1844 USE_SYSV=1
1845 USE_SVR4=1
1846 SO_SUFFIX=a
1847 cat >>confdefs.h <<\_ACEOF
1848#define __AIX__ 1
1849_ACEOF
1850
1851 cat >>confdefs.h <<\_ACEOF
1852#define __SYSV__ 1
1853_ACEOF
1854
1855 cat >>confdefs.h <<\_ACEOF
1856#define __SVR4__ 1
1857_ACEOF
1858
1859 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1860 ;;
1861
1862 *-*-*UnixWare*)
1863 USE_SYSV=1
1864 USE_SVR4=1
1865 USE_UNIXWARE=1
1866 cat >>confdefs.h <<\_ACEOF
1867#define __UNIXWARE__ 1
1868_ACEOF
1869
1870 ;;
1871
1872 *-*-cygwin* | *-*-mingw32* )
1873 SO_SUFFIX=dll
1874 PROGRAM_EXT=".exe"
1875 RESCOMP=windres
1876 DEFAULT_DEFAULT_wxUSE_MSW=1
1877 ;;
1878
1879 *-pc-msdosdjgpp )
1880 USE_UNIX=0
1881 USE_DOS=1
1882 cat >>confdefs.h <<\_ACEOF
1883#define __DOS__ 1
1884_ACEOF
1885
1886 PROGRAM_EXT=".exe"
1887 DEFAULT_DEFAULT_wxUSE_MGL=1
1888 LIBS="$LIBS -lstdc++"
1889 ;;
1890
1891 *-pc-os2_emx | *-pc-os2-emx )
1892 cat >>confdefs.h <<\_ACEOF
1893#define __EMX__ 1
1894_ACEOF
1895
1896 USE_OS2=1
1897 cat >>confdefs.h <<\_ACEOF
1898#define __OS2__ 1
1899_ACEOF
1900
1901 PROGRAM_EXT=".exe"
1902 DEFAULT_DEFAULT_wxUSE_PM=1
1903 CXX=gcc
1904 LDFLAGS="$LDFLAGS -Zcrtdll -Zsysv-signals"
1905 ac_executable_extensions=".exe"
1906 export ac_executable_extensions
1907 ac_save_IFS="$IFS"
1908 IFS='\\'
1909 ac_TEMP_PATH=
1910 for ac_dir in $PATH; do
1911 IFS=$ac_save_IFS
1912 if test -z "$ac_TEMP_PATH"; then
1913 ac_TEMP_PATH="$ac_dir"
1914 else
1915 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1916 fi
1917 done
1918 export PATH="$ac_TEMP_PATH"
1919 unset ac_TEMP_PATH
1920 ;;
1921
1922 powerpc-*-darwin* )
1923 USE_BSD=1
1924 USE_DARWIN=1
1925 SO_SUFFIX=dylib
1926 cat >>confdefs.h <<\_ACEOF
1927#define __BSD__ 1
1928_ACEOF
1929
1930 cat >>confdefs.h <<\_ACEOF
1931#define __DARWIN__ 1
1932_ACEOF
1933
1934 cat >>confdefs.h <<\_ACEOF
1935#define __POWERPC__ 1
1936_ACEOF
1937
1938 cat >>confdefs.h <<\_ACEOF
1939#define TARGET_CARBON 1
1940_ACEOF
1941
1942 DEFAULT_DEFAULT_wxUSE_MAC=1
1943 ;;
1944
1945 *-*-beos* )
1946 USE_BEOS=1
1947 cat >>confdefs.h <<\_ACEOF
1948#define __BEOS__ 1
1949_ACEOF
1950
1951 ;;
1952
1953 *)
1954 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1955echo "$as_me: error: unknown system type ${host}." >&2;}
1956 { (exit 1); exit 1; }; }
1957esac
1958
1959
1960
1961
1962 wx_arg_cache_file="configarg.cache"
1963 echo "loading argument cache $wx_arg_cache_file"
1964 rm -f ${wx_arg_cache_file}.tmp
1965 touch ${wx_arg_cache_file}.tmp
1966 touch ${wx_arg_cache_file}
1967
1968
1969DEBUG_CONFIGURE=0
1970if test $DEBUG_CONFIGURE = 1; then
1971 DEFAULT_wxUSE_UNIVERSAL=no
1972 DEFAULT_wxUSE_STL=no
1973
1974 DEFAULT_wxUSE_NANOX=no
1975
1976 DEFAULT_wxUSE_THREADS=yes
1977
1978 DEFAULT_wxUSE_SHARED=yes
1979 DEFAULT_wxUSE_OPTIMISE=no
1980 DEFAULT_wxUSE_PROFILE=no
1981 DEFAULT_wxUSE_NO_DEPS=no
1982 DEFAULT_wxUSE_NO_RTTI=no
1983 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1984 DEFAULT_wxUSE_PERMISSIVE=no
1985 DEFAULT_wxUSE_DEBUG_FLAG=yes
1986 DEFAULT_wxUSE_DEBUG_INFO=yes
1987 DEFAULT_wxUSE_DEBUG_GDB=yes
1988 DEFAULT_wxUSE_MEM_TRACING=no
1989 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1990 DEFAULT_wxUSE_DMALLOC=no
1991 DEFAULT_wxUSE_APPLE_IEEE=no
1992
1993 DEFAULT_wxUSE_EXCEPTIONS=no
1994 DEFAULT_wxUSE_LOG=yes
1995 DEFAULT_wxUSE_LOGWINDOW=no
1996 DEFAULT_wxUSE_LOGGUI=no
1997 DEFAULT_wxUSE_LOGDIALOG=no
1998
1999 DEFAULT_wxUSE_GUI=yes
2000 DEFAULT_wxUSE_CONTROLS=no
2001
2002 DEFAULT_wxUSE_REGEX=no
2003 DEFAULT_wxUSE_XML=no
2004 DEFAULT_wxUSE_EXPAT=no
2005 DEFAULT_wxUSE_ZLIB=no
2006 DEFAULT_wxUSE_LIBPNG=no
2007 DEFAULT_wxUSE_LIBJPEG=no
2008 DEFAULT_wxUSE_LIBTIFF=no
2009 DEFAULT_wxUSE_LIBXPM=no
2010 DEFAULT_wxUSE_ODBC=no
2011 DEFAULT_wxUSE_OPENGL=no
2012
2013 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2014 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2015 DEFAULT_wxUSE_STD_IOSTREAM=no
2016 DEFAULT_wxUSE_CMDLINE_PARSER=no
2017 DEFAULT_wxUSE_DATETIME=no
2018 DEFAULT_wxUSE_TIMER=no
2019 DEFAULT_wxUSE_STOPWATCH=no
2020 DEFAULT_wxUSE_FILE=no
2021 DEFAULT_wxUSE_FFILE=no
2022 DEFAULT_wxUSE_TEXTBUFFER=no
2023 DEFAULT_wxUSE_TEXTFILE=no
2024 DEFAULT_wxUSE_WAVE=no
2025 DEFAULT_wxUSE_INTL=no
2026 DEFAULT_wxUSE_CONFIG=no
2027 DEFAULT_wxUSE_FONTMAP=no
2028 DEFAULT_wxUSE_STREAMS=no
2029 DEFAULT_wxUSE_SOCKETS=no
2030 DEFAULT_wxUSE_OLE=no
2031 DEFAULT_wxUSE_DATAOBJ=no
2032 DEFAULT_wxUSE_DIALUP_MANAGER=no
2033 DEFAULT_wxUSE_JOYSTICK=no
2034 DEFAULT_wxUSE_DYNLIB_CLASS=no
2035 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2036 DEFAULT_wxUSE_LONGLONG=no
2037 DEFAULT_wxUSE_GEOMETRY=no
2038
2039 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2040 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2041 DEFAULT_wxUSE_POSTSCRIPT=no
2042
2043 DEFAULT_wxUSE_CLIPBOARD=no
2044 DEFAULT_wxUSE_TOOLTIPS=no
2045 DEFAULT_wxUSE_DRAG_AND_DROP=no
2046 DEFAULT_wxUSE_DRAGIMAGE=no
2047 DEFAULT_wxUSE_SPLINES=no
2048
2049 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2050 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2051 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2052
2053 DEFAULT_wxUSE_RESOURCES=no
2054 DEFAULT_wxUSE_CONSTRAINTS=no
2055 DEFAULT_wxUSE_IPC=no
2056 DEFAULT_wxUSE_HELP=no
2057 DEFAULT_wxUSE_MS_HTML_HELP=no
2058 DEFAULT_wxUSE_WXHTML_HELP=no
2059 DEFAULT_wxUSE_TREELAYOUT=no
2060 DEFAULT_wxUSE_METAFILE=no
2061 DEFAULT_wxUSE_MIMETYPE=no
2062 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2063 DEFAULT_wxUSE_PROTOCOL=no
2064 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2065 DEFAULT_wxUSE_PROTOCOL_FTP=no
2066 DEFAULT_wxUSE_PROTOCOL_FILE=no
2067 DEFAULT_wxUSE_URL=no
2068
2069 DEFAULT_wxUSE_COMMONDLGS=no
2070 DEFAULT_wxUSE_CHOICEDLG=no
2071 DEFAULT_wxUSE_COLOURDLG=no
2072 DEFAULT_wxUSE_DIRDLG=no
2073 DEFAULT_wxUSE_FILEDLG=no
2074 DEFAULT_wxUSE_FINDREPLDLG=no
2075 DEFAULT_wxUSE_FONTDLG=no
2076 DEFAULT_wxUSE_MSGDLG=no
2077 DEFAULT_wxUSE_NUMBERDLG=no
2078 DEFAULT_wxUSE_TEXTDLG=no
2079 DEFAULT_wxUSE_SPLASH=no
2080 DEFAULT_wxUSE_STARTUP_TIPS=no
2081 DEFAULT_wxUSE_PROGRESSDLG=no
2082 DEFAULT_wxUSE_WIZARDDLG=no
2083
2084 DEFAULT_wxUSE_MENUS=no
2085 DEFAULT_wxUSE_MINIFRAME=no
2086 DEFAULT_wxUSE_HTML=no
2087 DEFAULT_wxUSE_FILESYSTEM=no
2088 DEFAULT_wxUSE_FS_INET=no
2089 DEFAULT_wxUSE_FS_ZIP=no
2090 DEFAULT_wxUSE_BUSYINFO=no
2091 DEFAULT_wxUSE_ZIPSTREAM=no
2092 DEFAULT_wxUSE_GZSTREAM=no
2093 DEFAULT_wxUSE_VALIDATORS=no
2094
2095 DEFAULT_wxUSE_ACCEL=no
2096 DEFAULT_wxUSE_BUTTON=no
2097 DEFAULT_wxUSE_BMPBUTTON=no
2098 DEFAULT_wxUSE_CALCTRL=no
2099 DEFAULT_wxUSE_CARET=no
2100 DEFAULT_wxUSE_CHECKBOX=no
2101 DEFAULT_wxUSE_CHECKLST=no
2102 DEFAULT_wxUSE_CHOICE=no
2103 DEFAULT_wxUSE_COMBOBOX=no
2104 DEFAULT_wxUSE_DISPLAY=no
2105 DEFAULT_wxUSE_GAUGE=no
2106 DEFAULT_wxUSE_GRID=no
2107 DEFAULT_wxUSE_IMAGLIST=no
2108 DEFAULT_wxUSE_LISTBOOK=no
2109 DEFAULT_wxUSE_LISTBOX=no
2110 DEFAULT_wxUSE_LISTCTRL=no
2111 DEFAULT_wxUSE_NOTEBOOK=no
2112 DEFAULT_wxUSE_RADIOBOX=no
2113 DEFAULT_wxUSE_RADIOBTN=no
2114 DEFAULT_wxUSE_SASH=no
2115 DEFAULT_wxUSE_SCROLLBAR=no
2116 DEFAULT_wxUSE_SLIDER=no
2117 DEFAULT_wxUSE_SPINBTN=no
2118 DEFAULT_wxUSE_SPINCTRL=no
2119 DEFAULT_wxUSE_SPLITTER=no
2120 DEFAULT_wxUSE_STATBMP=no
2121 DEFAULT_wxUSE_STATBOX=no
2122 DEFAULT_wxUSE_STATLINE=no
2123 DEFAULT_wxUSE_STATTEXT=no
2124 DEFAULT_wxUSE_STATUSBAR=yes
2125 DEFAULT_wxUSE_TABDIALOG=no
2126 DEFAULT_wxUSE_TEXTCTRL=no
2127 DEFAULT_wxUSE_TOGGLEBTN=no
2128 DEFAULT_wxUSE_TOOLBAR=no
2129 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2130 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2131 DEFAULT_wxUSE_TREECTRL=no
2132 DEFAULT_wxUSE_POPUPWIN=no
2133 DEFAULT_wxUSE_TIPWINDOW=no
2134
2135 DEFAULT_wxUSE_UNICODE=no
2136 DEFAULT_wxUSE_UNICODE_MSLU=no
2137 DEFAULT_wxUSE_WCSRTOMBS=no
2138
2139 DEFAULT_wxUSE_PALETTE=no
2140 DEFAULT_wxUSE_IMAGE=no
2141 DEFAULT_wxUSE_GIF=no
2142 DEFAULT_wxUSE_PCX=no
2143 DEFAULT_wxUSE_PNM=no
2144 DEFAULT_wxUSE_IFF=no
2145 DEFAULT_wxUSE_XPM=no
2146 DEFAULT_wxUSE_ICO_CUR=no
2147 DEFAULT_wxUSE_ACCESSIBILITY=no
2148
2149 DEFAULT_wxUSE_MONOLITHIC=no
2150 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2151else
2152 DEFAULT_wxUSE_UNIVERSAL=no
2153 DEFAULT_wxUSE_STL=no
2154
2155 DEFAULT_wxUSE_NANOX=no
2156
2157 DEFAULT_wxUSE_THREADS=yes
2158
2159 DEFAULT_wxUSE_SHARED=yes
2160 DEFAULT_wxUSE_OPTIMISE=yes
2161 DEFAULT_wxUSE_PROFILE=no
2162 DEFAULT_wxUSE_NO_DEPS=no
2163 DEFAULT_wxUSE_NO_RTTI=no
2164 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2165 DEFAULT_wxUSE_PERMISSIVE=no
2166 DEFAULT_wxUSE_DEBUG_FLAG=no
2167 DEFAULT_wxUSE_DEBUG_INFO=no
2168 DEFAULT_wxUSE_DEBUG_GDB=no
2169 DEFAULT_wxUSE_MEM_TRACING=no
2170 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2171 DEFAULT_wxUSE_DMALLOC=no
2172 DEFAULT_wxUSE_APPLE_IEEE=yes
2173
2174 DEFAULT_wxUSE_EXCEPTIONS=yes
2175 DEFAULT_wxUSE_LOG=yes
2176 DEFAULT_wxUSE_LOGWINDOW=yes
2177 DEFAULT_wxUSE_LOGGUI=yes
2178 DEFAULT_wxUSE_LOGDIALOG=yes
2179
2180 DEFAULT_wxUSE_GUI=yes
2181
2182 DEFAULT_wxUSE_REGEX=yes
2183 DEFAULT_wxUSE_XML=yes
2184 DEFAULT_wxUSE_EXPAT=yes
2185 DEFAULT_wxUSE_ZLIB=yes
2186 DEFAULT_wxUSE_LIBPNG=yes
2187 DEFAULT_wxUSE_LIBJPEG=yes
2188 DEFAULT_wxUSE_LIBTIFF=yes
2189 DEFAULT_wxUSE_LIBXPM=yes
2190 DEFAULT_wxUSE_LIBMSPACK=yes
2191 DEFAULT_wxUSE_ODBC=no
2192 DEFAULT_wxUSE_OPENGL=no
2193
2194 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2195 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2196 DEFAULT_wxUSE_STD_IOSTREAM=no
2197 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2198 DEFAULT_wxUSE_DATETIME=yes
2199 DEFAULT_wxUSE_TIMER=yes
2200 DEFAULT_wxUSE_STOPWATCH=yes
2201 DEFAULT_wxUSE_FILE=yes
2202 DEFAULT_wxUSE_FFILE=yes
2203 DEFAULT_wxUSE_TEXTBUFFER=yes
2204 DEFAULT_wxUSE_TEXTFILE=yes
2205 DEFAULT_wxUSE_WAVE=no
2206 DEFAULT_wxUSE_INTL=yes
2207 DEFAULT_wxUSE_CONFIG=yes
2208 DEFAULT_wxUSE_FONTMAP=yes
2209 DEFAULT_wxUSE_STREAMS=yes
2210 DEFAULT_wxUSE_SOCKETS=yes
2211 DEFAULT_wxUSE_OLE=yes
2212 DEFAULT_wxUSE_DATAOBJ=yes
2213 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2214 DEFAULT_wxUSE_JOYSTICK=yes
2215 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2216 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2217 DEFAULT_wxUSE_LONGLONG=yes
2218 DEFAULT_wxUSE_GEOMETRY=yes
2219
2220 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2221 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2222 DEFAULT_wxUSE_POSTSCRIPT=yes
2223
2224 DEFAULT_wxUSE_CLIPBOARD=yes
2225 DEFAULT_wxUSE_TOOLTIPS=yes
2226 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2227 DEFAULT_wxUSE_DRAGIMAGE=yes
2228 DEFAULT_wxUSE_SPLINES=yes
2229
2230 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2231 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2232 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2233
2234 DEFAULT_wxUSE_RESOURCES=no
2235 DEFAULT_wxUSE_CONSTRAINTS=yes
2236 DEFAULT_wxUSE_IPC=yes
2237 DEFAULT_wxUSE_HELP=yes
2238 DEFAULT_wxUSE_MS_HTML_HELP=yes
2239 DEFAULT_wxUSE_WXHTML_HELP=yes
2240 DEFAULT_wxUSE_TREELAYOUT=yes
2241 DEFAULT_wxUSE_METAFILE=yes
2242 DEFAULT_wxUSE_MIMETYPE=yes
2243 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2244 DEFAULT_wxUSE_PROTOCOL=yes
2245 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2246 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2247 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2248 DEFAULT_wxUSE_URL=yes
2249
2250 DEFAULT_wxUSE_COMMONDLGS=yes
2251 DEFAULT_wxUSE_CHOICEDLG=yes
2252 DEFAULT_wxUSE_COLOURDLG=yes
2253 DEFAULT_wxUSE_DIRDLG=yes
2254 DEFAULT_wxUSE_FILEDLG=yes
2255 DEFAULT_wxUSE_FINDREPLDLG=yes
2256 DEFAULT_wxUSE_FONTDLG=yes
2257 DEFAULT_wxUSE_MSGDLG=yes
2258 DEFAULT_wxUSE_NUMBERDLG=yes
2259 DEFAULT_wxUSE_TEXTDLG=yes
2260 DEFAULT_wxUSE_SPLASH=yes
2261 DEFAULT_wxUSE_STARTUP_TIPS=yes
2262 DEFAULT_wxUSE_PROGRESSDLG=yes
2263 DEFAULT_wxUSE_WIZARDDLG=yes
2264
2265 DEFAULT_wxUSE_MENUS=yes
2266 DEFAULT_wxUSE_MINIFRAME=yes
2267 DEFAULT_wxUSE_HTML=yes
2268 DEFAULT_wxUSE_FILESYSTEM=yes
2269 DEFAULT_wxUSE_FS_INET=yes
2270 DEFAULT_wxUSE_FS_ZIP=yes
2271 DEFAULT_wxUSE_BUSYINFO=yes
2272 DEFAULT_wxUSE_ZIPSTREAM=yes
2273 DEFAULT_wxUSE_GZSTREAM=yes
2274 DEFAULT_wxUSE_VALIDATORS=yes
2275
2276 DEFAULT_wxUSE_ACCEL=yes
2277 DEFAULT_wxUSE_BUTTON=yes
2278 DEFAULT_wxUSE_BMPBUTTON=yes
2279 DEFAULT_wxUSE_CALCTRL=yes
2280 DEFAULT_wxUSE_CARET=yes
2281 DEFAULT_wxUSE_CHECKBOX=yes
2282 DEFAULT_wxUSE_CHECKLST=yes
2283 DEFAULT_wxUSE_CHOICE=yes
2284 DEFAULT_wxUSE_COMBOBOX=yes
2285 DEFAULT_wxUSE_DISPLAY=no
2286 DEFAULT_wxUSE_GAUGE=yes
2287 DEFAULT_wxUSE_GRID=yes
2288 DEFAULT_wxUSE_IMAGLIST=yes
2289 DEFAULT_wxUSE_LISTBOOK=yes
2290 DEFAULT_wxUSE_LISTBOX=yes
2291 DEFAULT_wxUSE_LISTCTRL=yes
2292 DEFAULT_wxUSE_NOTEBOOK=yes
2293 DEFAULT_wxUSE_RADIOBOX=yes
2294 DEFAULT_wxUSE_RADIOBTN=yes
2295 DEFAULT_wxUSE_SASH=yes
2296 DEFAULT_wxUSE_SCROLLBAR=yes
2297 DEFAULT_wxUSE_SLIDER=yes
2298 DEFAULT_wxUSE_SPINBTN=yes
2299 DEFAULT_wxUSE_SPINCTRL=yes
2300 DEFAULT_wxUSE_SPLITTER=yes
2301 DEFAULT_wxUSE_STATBMP=yes
2302 DEFAULT_wxUSE_STATBOX=yes
2303 DEFAULT_wxUSE_STATLINE=yes
2304 DEFAULT_wxUSE_STATTEXT=yes
2305 DEFAULT_wxUSE_STATUSBAR=yes
2306 DEFAULT_wxUSE_TABDIALOG=no
2307 DEFAULT_wxUSE_TEXTCTRL=yes
2308 DEFAULT_wxUSE_TOGGLEBTN=yes
2309 DEFAULT_wxUSE_TOOLBAR=yes
2310 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2311 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2312 DEFAULT_wxUSE_TREECTRL=yes
2313 DEFAULT_wxUSE_POPUPWIN=yes
2314 DEFAULT_wxUSE_TIPWINDOW=yes
2315
2316 DEFAULT_wxUSE_UNICODE=no
2317 DEFAULT_wxUSE_UNICODE_MSLU=yes
2318 DEFAULT_wxUSE_WCSRTOMBS=no
2319
2320 DEFAULT_wxUSE_PALETTE=yes
2321 DEFAULT_wxUSE_IMAGE=yes
2322 DEFAULT_wxUSE_GIF=yes
2323 DEFAULT_wxUSE_PCX=yes
2324 DEFAULT_wxUSE_IFF=no
2325 DEFAULT_wxUSE_PNM=yes
2326 DEFAULT_wxUSE_XPM=yes
2327 DEFAULT_wxUSE_ICO_CUR=yes
2328 DEFAULT_wxUSE_ACCESSIBILITY=no
2329
2330 DEFAULT_wxUSE_MONOLITHIC=no
2331 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2332fi
2333
2334
2335
2336for toolkit in `echo $ALL_TOOLKITS`; do
2337 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2338 if test "x$LINE" != "x" ; then
2339 has_toolkit_in_cache=1
2340 eval "DEFAULT_$LINE"
2341 eval "CACHE_$toolkit=1"
2342 fi
2343done
2344
2345
2346
2347 enablestring=
2348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2349echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2350 no_cache=0
2351 # Check whether --enable-gui or --disable-gui was given.
2352if test "${enable_gui+set}" = set; then
2353 enableval="$enable_gui"
2354
2355 if test "$enableval" = yes; then
2356 ac_cv_use_gui='wxUSE_GUI=yes'
2357 else
2358 ac_cv_use_gui='wxUSE_GUI=no'
2359 fi
2360
2361else
2362
2363 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2364 if test "x$LINE" != x ; then
2365 eval "DEFAULT_$LINE"
2366 else
2367 no_cache=1
2368 fi
2369
2370 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2371
2372fi;
2373
2374 eval "$ac_cv_use_gui"
2375 if test "$no_cache" != 1; then
2376 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2377 fi
2378
2379 if test "$wxUSE_GUI" = yes; then
2380 echo "$as_me:$LINENO: result: yes" >&5
2381echo "${ECHO_T}yes" >&6
2382 else
2383 echo "$as_me:$LINENO: result: no" >&5
2384echo "${ECHO_T}no" >&6
2385 fi
2386
2387
2388 enablestring=
2389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2390echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2391 no_cache=0
2392 # Check whether --enable-monolithic or --disable-monolithic was given.
2393if test "${enable_monolithic+set}" = set; then
2394 enableval="$enable_monolithic"
2395
2396 if test "$enableval" = yes; then
2397 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2398 else
2399 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2400 fi
2401
2402else
2403
2404 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2405 if test "x$LINE" != x ; then
2406 eval "DEFAULT_$LINE"
2407 else
2408 no_cache=1
2409 fi
2410
2411 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2412
2413fi;
2414
2415 eval "$ac_cv_use_monolithic"
2416 if test "$no_cache" != 1; then
2417 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2418 fi
2419
2420 if test "$wxUSE_MONOLITHIC" = yes; then
2421 echo "$as_me:$LINENO: result: yes" >&5
2422echo "${ECHO_T}yes" >&6
2423 else
2424 echo "$as_me:$LINENO: result: no" >&5
2425echo "${ECHO_T}no" >&6
2426 fi
2427
2428
2429if test "$wxUSE_GUI" = "yes"; then
2430
2431
2432 enablestring=
2433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2434echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2435 no_cache=0
2436 # Check whether --enable-universal or --disable-universal was given.
2437if test "${enable_universal+set}" = set; then
2438 enableval="$enable_universal"
2439
2440 if test "$enableval" = yes; then
2441 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2442 else
2443 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2444 fi
2445
2446else
2447
2448 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2449 if test "x$LINE" != x ; then
2450 eval "DEFAULT_$LINE"
2451 else
2452 no_cache=1
2453 fi
2454
2455 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2456
2457fi;
2458
2459 eval "$ac_cv_use_universal"
2460 if test "$no_cache" != 1; then
2461 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2462 fi
2463
2464 if test "$wxUSE_UNIVERSAL" = yes; then
2465 echo "$as_me:$LINENO: result: yes" >&5
2466echo "${ECHO_T}yes" >&6
2467 else
2468 echo "$as_me:$LINENO: result: no" >&5
2469echo "${ECHO_T}no" >&6
2470 fi
2471
2472
2473# Check whether --with-gtk or --without-gtk was given.
2474if test "${with_gtk+set}" = set; then
2475 withval="$with_gtk"
2476 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2477fi;
2478
2479# Check whether --with-motif or --without-motif was given.
2480if test "${with_motif+set}" = set; then
2481 withval="$with_motif"
2482 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2483fi;
2484
2485# Check whether --with-mac or --without-mac was given.
2486if test "${with_mac+set}" = set; then
2487 withval="$with_mac"
2488 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2489fi;
2490
2491# Check whether --with-cocoa or --without-cocoa was given.
2492if test "${with_cocoa+set}" = set; then
2493 withval="$with_cocoa"
2494 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2495fi;
2496
2497# Check whether --with-wine or --without-wine was given.
2498if test "${with_wine+set}" = set; then
2499 withval="$with_wine"
2500 wxUSE_WINE="$withval" CACHE_WINE=1
2501fi;
2502
2503# Check whether --with-msw or --without-msw was given.
2504if test "${with_msw+set}" = set; then
2505 withval="$with_msw"
2506 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2507fi;
2508
2509# Check whether --with-pm or --without-pm was given.
2510if test "${with_pm+set}" = set; then
2511 withval="$with_pm"
2512 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2513fi;
2514
2515# Check whether --with-mgl or --without-mgl was given.
2516if test "${with_mgl+set}" = set; then
2517 withval="$with_mgl"
2518 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2519fi;
2520
2521# Check whether --with-microwin or --without-microwin was given.
2522if test "${with_microwin+set}" = set; then
2523 withval="$with_microwin"
2524 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2525fi;
2526
2527# Check whether --with-x11 or --without-x11 was given.
2528if test "${with_x11+set}" = set; then
2529 withval="$with_x11"
2530 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2531fi;
2532
2533 enablestring=
2534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2535echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2536 no_cache=0
2537 # Check whether --enable-nanox or --disable-nanox was given.
2538if test "${enable_nanox+set}" = set; then
2539 enableval="$enable_nanox"
2540
2541 if test "$enableval" = yes; then
2542 ac_cv_use_nanox='wxUSE_NANOX=yes'
2543 else
2544 ac_cv_use_nanox='wxUSE_NANOX=no'
2545 fi
2546
2547else
2548
2549 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2550 if test "x$LINE" != x ; then
2551 eval "DEFAULT_$LINE"
2552 else
2553 no_cache=1
2554 fi
2555
2556 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2557
2558fi;
2559
2560 eval "$ac_cv_use_nanox"
2561 if test "$no_cache" != 1; then
2562 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2563 fi
2564
2565 if test "$wxUSE_NANOX" = yes; then
2566 echo "$as_me:$LINENO: result: yes" >&5
2567echo "${ECHO_T}yes" >&6
2568 else
2569 echo "$as_me:$LINENO: result: no" >&5
2570echo "${ECHO_T}no" >&6
2571 fi
2572
2573
2574
2575 enablestring=
2576 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2577echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2578 no_cache=0
2579 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2580if test "${enable_gtk2+set}" = set; then
2581 enableval="$enable_gtk2"
2582
2583 if test "$enableval" = yes; then
2584 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2585 else
2586 ac_cv_use_gtk2='wxUSE_GTK2=no'
2587 fi
2588
2589else
2590
2591 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2592 if test "x$LINE" != x ; then
2593 eval "DEFAULT_$LINE"
2594 else
2595 no_cache=1
2596 fi
2597
2598 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2599
2600fi;
2601
2602 eval "$ac_cv_use_gtk2"
2603 if test "$no_cache" != 1; then
2604 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2605 fi
2606
2607 if test "$wxUSE_GTK2" = yes; then
2608 echo "$as_me:$LINENO: result: yes" >&5
2609echo "${ECHO_T}yes" >&6
2610 else
2611 echo "$as_me:$LINENO: result: no" >&5
2612echo "${ECHO_T}no" >&6
2613 fi
2614
2615
2616
2617 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2618echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2619 no_cache=0
2620
2621# Check whether --with-libpng or --without-libpng was given.
2622if test "${with_libpng+set}" = set; then
2623 withval="$with_libpng"
2624
2625 if test "$withval" = yes; then
2626 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2627 elif test "$withval" = no; then
2628 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2629 elif test "$withval" = sys; then
2630 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2631 elif test "$withval" = builtin; then
2632 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2633 else
2634 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2635echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2636 { (exit 1); exit 1; }; }
2637 fi
2638
2639else
2640
2641 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2642 if test "x$LINE" != x ; then
2643 eval "DEFAULT_$LINE"
2644 else
2645 no_cache=1
2646 fi
2647
2648 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2649
2650fi;
2651
2652 eval "$ac_cv_use_libpng"
2653 if test "$no_cache" != 1; then
2654 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2655 fi
2656
2657 if test "$wxUSE_LIBPNG" = yes; then
2658 echo "$as_me:$LINENO: result: yes" >&5
2659echo "${ECHO_T}yes" >&6
2660 elif test "$wxUSE_LIBPNG" = no; then
2661 echo "$as_me:$LINENO: result: no" >&5
2662echo "${ECHO_T}no" >&6
2663 elif test "$wxUSE_LIBPNG" = sys; then
2664 echo "$as_me:$LINENO: result: system version" >&5
2665echo "${ECHO_T}system version" >&6
2666 elif test "$wxUSE_LIBPNG" = builtin; then
2667 echo "$as_me:$LINENO: result: builtin version" >&5
2668echo "${ECHO_T}builtin version" >&6
2669 else
2670 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2671echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2672 { (exit 1); exit 1; }; }
2673 fi
2674
2675
2676 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2677echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2678 no_cache=0
2679
2680# Check whether --with-libjpeg or --without-libjpeg was given.
2681if test "${with_libjpeg+set}" = set; then
2682 withval="$with_libjpeg"
2683
2684 if test "$withval" = yes; then
2685 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2686 elif test "$withval" = no; then
2687 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2688 elif test "$withval" = sys; then
2689 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2690 elif test "$withval" = builtin; then
2691 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2692 else
2693 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2694echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2695 { (exit 1); exit 1; }; }
2696 fi
2697
2698else
2699
2700 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2701 if test "x$LINE" != x ; then
2702 eval "DEFAULT_$LINE"
2703 else
2704 no_cache=1
2705 fi
2706
2707 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2708
2709fi;
2710
2711 eval "$ac_cv_use_libjpeg"
2712 if test "$no_cache" != 1; then
2713 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2714 fi
2715
2716 if test "$wxUSE_LIBJPEG" = yes; then
2717 echo "$as_me:$LINENO: result: yes" >&5
2718echo "${ECHO_T}yes" >&6
2719 elif test "$wxUSE_LIBJPEG" = no; then
2720 echo "$as_me:$LINENO: result: no" >&5
2721echo "${ECHO_T}no" >&6
2722 elif test "$wxUSE_LIBJPEG" = sys; then
2723 echo "$as_me:$LINENO: result: system version" >&5
2724echo "${ECHO_T}system version" >&6
2725 elif test "$wxUSE_LIBJPEG" = builtin; then
2726 echo "$as_me:$LINENO: result: builtin version" >&5
2727echo "${ECHO_T}builtin version" >&6
2728 else
2729 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2730echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2731 { (exit 1); exit 1; }; }
2732 fi
2733
2734
2735 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2736echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2737 no_cache=0
2738
2739# Check whether --with-libtiff or --without-libtiff was given.
2740if test "${with_libtiff+set}" = set; then
2741 withval="$with_libtiff"
2742
2743 if test "$withval" = yes; then
2744 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2745 elif test "$withval" = no; then
2746 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2747 elif test "$withval" = sys; then
2748 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2749 elif test "$withval" = builtin; then
2750 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2751 else
2752 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2753echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2754 { (exit 1); exit 1; }; }
2755 fi
2756
2757else
2758
2759 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2760 if test "x$LINE" != x ; then
2761 eval "DEFAULT_$LINE"
2762 else
2763 no_cache=1
2764 fi
2765
2766 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2767
2768fi;
2769
2770 eval "$ac_cv_use_libtiff"
2771 if test "$no_cache" != 1; then
2772 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2773 fi
2774
2775 if test "$wxUSE_LIBTIFF" = yes; then
2776 echo "$as_me:$LINENO: result: yes" >&5
2777echo "${ECHO_T}yes" >&6
2778 elif test "$wxUSE_LIBTIFF" = no; then
2779 echo "$as_me:$LINENO: result: no" >&5
2780echo "${ECHO_T}no" >&6
2781 elif test "$wxUSE_LIBTIFF" = sys; then
2782 echo "$as_me:$LINENO: result: system version" >&5
2783echo "${ECHO_T}system version" >&6
2784 elif test "$wxUSE_LIBTIFF" = builtin; then
2785 echo "$as_me:$LINENO: result: builtin version" >&5
2786echo "${ECHO_T}builtin version" >&6
2787 else
2788 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2789echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2790 { (exit 1); exit 1; }; }
2791 fi
2792
2793
2794 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2795echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2796 no_cache=0
2797
2798# Check whether --with-libxpm or --without-libxpm was given.
2799if test "${with_libxpm+set}" = set; then
2800 withval="$with_libxpm"
2801
2802 if test "$withval" = yes; then
2803 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2804 elif test "$withval" = no; then
2805 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2806 elif test "$withval" = sys; then
2807 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2808 elif test "$withval" = builtin; then
2809 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2810 else
2811 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2812echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2813 { (exit 1); exit 1; }; }
2814 fi
2815
2816else
2817
2818 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2819 if test "x$LINE" != x ; then
2820 eval "DEFAULT_$LINE"
2821 else
2822 no_cache=1
2823 fi
2824
2825 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2826
2827fi;
2828
2829 eval "$ac_cv_use_libxpm"
2830 if test "$no_cache" != 1; then
2831 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2832 fi
2833
2834 if test "$wxUSE_LIBXPM" = yes; then
2835 echo "$as_me:$LINENO: result: yes" >&5
2836echo "${ECHO_T}yes" >&6
2837 elif test "$wxUSE_LIBXPM" = no; then
2838 echo "$as_me:$LINENO: result: no" >&5
2839echo "${ECHO_T}no" >&6
2840 elif test "$wxUSE_LIBXPM" = sys; then
2841 echo "$as_me:$LINENO: result: system version" >&5
2842echo "${ECHO_T}system version" >&6
2843 elif test "$wxUSE_LIBXPM" = builtin; then
2844 echo "$as_me:$LINENO: result: builtin version" >&5
2845echo "${ECHO_T}builtin version" >&6
2846 else
2847 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2848echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2849 { (exit 1); exit 1; }; }
2850 fi
2851
2852
2853 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2854echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2855 no_cache=0
2856
2857# Check whether --with-libmspack or --without-libmspack was given.
2858if test "${with_libmspack+set}" = set; then
2859 withval="$with_libmspack"
2860
2861 if test "$withval" = yes; then
2862 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
2863 else
2864 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
2865 fi
2866
2867else
2868
2869 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2870 if test "x$LINE" != x ; then
2871 eval "DEFAULT_$LINE"
2872 else
2873 no_cache=1
2874 fi
2875
2876 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
2877
2878fi;
2879
2880 eval "$ac_cv_use_libmspack"
2881 if test "$no_cache" != 1; then
2882 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
2883 fi
2884
2885 if test "$wxUSE_LIBMSPACK" = yes; then
2886 echo "$as_me:$LINENO: result: yes" >&5
2887echo "${ECHO_T}yes" >&6
2888 else
2889 echo "$as_me:$LINENO: result: no" >&5
2890echo "${ECHO_T}no" >&6
2891 fi
2892
2893
2894 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2895echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2896 no_cache=0
2897
2898# Check whether --with-opengl or --without-opengl was given.
2899if test "${with_opengl+set}" = set; then
2900 withval="$with_opengl"
2901
2902 if test "$withval" = yes; then
2903 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2904 else
2905 ac_cv_use_opengl='wxUSE_OPENGL=no'
2906 fi
2907
2908else
2909
2910 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2911 if test "x$LINE" != x ; then
2912 eval "DEFAULT_$LINE"
2913 else
2914 no_cache=1
2915 fi
2916
2917 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2918
2919fi;
2920
2921 eval "$ac_cv_use_opengl"
2922 if test "$no_cache" != 1; then
2923 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2924 fi
2925
2926 if test "$wxUSE_OPENGL" = yes; then
2927 echo "$as_me:$LINENO: result: yes" >&5
2928echo "${ECHO_T}yes" >&6
2929 else
2930 echo "$as_me:$LINENO: result: no" >&5
2931echo "${ECHO_T}no" >&6
2932 fi
2933
2934
2935fi
2936
2937
2938 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2939echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2940 no_cache=0
2941
2942# Check whether --with-dmalloc or --without-dmalloc was given.
2943if test "${with_dmalloc+set}" = set; then
2944 withval="$with_dmalloc"
2945
2946 if test "$withval" = yes; then
2947 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2948 else
2949 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2950 fi
2951
2952else
2953
2954 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2955 if test "x$LINE" != x ; then
2956 eval "DEFAULT_$LINE"
2957 else
2958 no_cache=1
2959 fi
2960
2961 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2962
2963fi;
2964
2965 eval "$ac_cv_use_dmalloc"
2966 if test "$no_cache" != 1; then
2967 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2968 fi
2969
2970 if test "$wxUSE_DMALLOC" = yes; then
2971 echo "$as_me:$LINENO: result: yes" >&5
2972echo "${ECHO_T}yes" >&6
2973 else
2974 echo "$as_me:$LINENO: result: no" >&5
2975echo "${ECHO_T}no" >&6
2976 fi
2977
2978
2979 echo "$as_me:$LINENO: checking for --with-regex" >&5
2980echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2981 no_cache=0
2982
2983# Check whether --with-regex or --without-regex was given.
2984if test "${with_regex+set}" = set; then
2985 withval="$with_regex"
2986
2987 if test "$withval" = yes; then
2988 ac_cv_use_regex='wxUSE_REGEX=yes'
2989 elif test "$withval" = no; then
2990 ac_cv_use_regex='wxUSE_REGEX=no'
2991 elif test "$withval" = sys; then
2992 ac_cv_use_regex='wxUSE_REGEX=sys'
2993 elif test "$withval" = builtin; then
2994 ac_cv_use_regex='wxUSE_REGEX=builtin'
2995 else
2996 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2997echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2998 { (exit 1); exit 1; }; }
2999 fi
3000
3001else
3002
3003 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3004 if test "x$LINE" != x ; then
3005 eval "DEFAULT_$LINE"
3006 else
3007 no_cache=1
3008 fi
3009
3010 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3011
3012fi;
3013
3014 eval "$ac_cv_use_regex"
3015 if test "$no_cache" != 1; then
3016 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3017 fi
3018
3019 if test "$wxUSE_REGEX" = yes; then
3020 echo "$as_me:$LINENO: result: yes" >&5
3021echo "${ECHO_T}yes" >&6
3022 elif test "$wxUSE_REGEX" = no; then
3023 echo "$as_me:$LINENO: result: no" >&5
3024echo "${ECHO_T}no" >&6
3025 elif test "$wxUSE_REGEX" = sys; then
3026 echo "$as_me:$LINENO: result: system version" >&5
3027echo "${ECHO_T}system version" >&6
3028 elif test "$wxUSE_REGEX" = builtin; then
3029 echo "$as_me:$LINENO: result: builtin version" >&5
3030echo "${ECHO_T}builtin version" >&6
3031 else
3032 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3033echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3034 { (exit 1); exit 1; }; }
3035 fi
3036
3037
3038 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3039echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3040 no_cache=0
3041
3042# Check whether --with-zlib or --without-zlib was given.
3043if test "${with_zlib+set}" = set; then
3044 withval="$with_zlib"
3045
3046 if test "$withval" = yes; then
3047 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3048 elif test "$withval" = no; then
3049 ac_cv_use_zlib='wxUSE_ZLIB=no'
3050 elif test "$withval" = sys; then
3051 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3052 elif test "$withval" = builtin; then
3053 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3054 else
3055 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3056echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3057 { (exit 1); exit 1; }; }
3058 fi
3059
3060else
3061
3062 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3063 if test "x$LINE" != x ; then
3064 eval "DEFAULT_$LINE"
3065 else
3066 no_cache=1
3067 fi
3068
3069 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3070
3071fi;
3072
3073 eval "$ac_cv_use_zlib"
3074 if test "$no_cache" != 1; then
3075 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3076 fi
3077
3078 if test "$wxUSE_ZLIB" = yes; then
3079 echo "$as_me:$LINENO: result: yes" >&5
3080echo "${ECHO_T}yes" >&6
3081 elif test "$wxUSE_ZLIB" = no; then
3082 echo "$as_me:$LINENO: result: no" >&5
3083echo "${ECHO_T}no" >&6
3084 elif test "$wxUSE_ZLIB" = sys; then
3085 echo "$as_me:$LINENO: result: system version" >&5
3086echo "${ECHO_T}system version" >&6
3087 elif test "$wxUSE_ZLIB" = builtin; then
3088 echo "$as_me:$LINENO: result: builtin version" >&5
3089echo "${ECHO_T}builtin version" >&6
3090 else
3091 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3092echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3093 { (exit 1); exit 1; }; }
3094 fi
3095
3096
3097 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3098echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3099 no_cache=0
3100
3101# Check whether --with-odbc or --without-odbc was given.
3102if test "${with_odbc+set}" = set; then
3103 withval="$with_odbc"
3104
3105 if test "$withval" = yes; then
3106 ac_cv_use_odbc='wxUSE_ODBC=yes'
3107 elif test "$withval" = no; then
3108 ac_cv_use_odbc='wxUSE_ODBC=no'
3109 elif test "$withval" = sys; then
3110 ac_cv_use_odbc='wxUSE_ODBC=sys'
3111 elif test "$withval" = builtin; then
3112 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3113 else
3114 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3115echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3116 { (exit 1); exit 1; }; }
3117 fi
3118
3119else
3120
3121 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3122 if test "x$LINE" != x ; then
3123 eval "DEFAULT_$LINE"
3124 else
3125 no_cache=1
3126 fi
3127
3128 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3129
3130fi;
3131
3132 eval "$ac_cv_use_odbc"
3133 if test "$no_cache" != 1; then
3134 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3135 fi
3136
3137 if test "$wxUSE_ODBC" = yes; then
3138 echo "$as_me:$LINENO: result: yes" >&5
3139echo "${ECHO_T}yes" >&6
3140 elif test "$wxUSE_ODBC" = no; then
3141 echo "$as_me:$LINENO: result: no" >&5
3142echo "${ECHO_T}no" >&6
3143 elif test "$wxUSE_ODBC" = sys; then
3144 echo "$as_me:$LINENO: result: system version" >&5
3145echo "${ECHO_T}system version" >&6
3146 elif test "$wxUSE_ODBC" = builtin; then
3147 echo "$as_me:$LINENO: result: builtin version" >&5
3148echo "${ECHO_T}builtin version" >&6
3149 else
3150 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3151echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3152 { (exit 1); exit 1; }; }
3153 fi
3154
3155
3156 echo "$as_me:$LINENO: checking for --with-expat" >&5
3157echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3158 no_cache=0
3159
3160# Check whether --with-expat or --without-expat was given.
3161if test "${with_expat+set}" = set; then
3162 withval="$with_expat"
3163
3164 if test "$withval" = yes; then
3165 ac_cv_use_expat='wxUSE_EXPAT=yes'
3166 elif test "$withval" = no; then
3167 ac_cv_use_expat='wxUSE_EXPAT=no'
3168 elif test "$withval" = sys; then
3169 ac_cv_use_expat='wxUSE_EXPAT=sys'
3170 elif test "$withval" = builtin; then
3171 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3172 else
3173 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3174echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3175 { (exit 1); exit 1; }; }
3176 fi
3177
3178else
3179
3180 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3181 if test "x$LINE" != x ; then
3182 eval "DEFAULT_$LINE"
3183 else
3184 no_cache=1
3185 fi
3186
3187 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3188
3189fi;
3190
3191 eval "$ac_cv_use_expat"
3192 if test "$no_cache" != 1; then
3193 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3194 fi
3195
3196 if test "$wxUSE_EXPAT" = yes; then
3197 echo "$as_me:$LINENO: result: yes" >&5
3198echo "${ECHO_T}yes" >&6
3199 elif test "$wxUSE_EXPAT" = no; then
3200 echo "$as_me:$LINENO: result: no" >&5
3201echo "${ECHO_T}no" >&6
3202 elif test "$wxUSE_EXPAT" = sys; then
3203 echo "$as_me:$LINENO: result: system version" >&5
3204echo "${ECHO_T}system version" >&6
3205 elif test "$wxUSE_EXPAT" = builtin; then
3206 echo "$as_me:$LINENO: result: builtin version" >&5
3207echo "${ECHO_T}builtin version" >&6
3208 else
3209 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3210echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3211 { (exit 1); exit 1; }; }
3212 fi
3213
3214
3215
3216
3217 enablestring=
3218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3219echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3220 no_cache=0
3221 # Check whether --enable-shared or --disable-shared was given.
3222if test "${enable_shared+set}" = set; then
3223 enableval="$enable_shared"
3224
3225 if test "$enableval" = yes; then
3226 ac_cv_use_shared='wxUSE_SHARED=yes'
3227 else
3228 ac_cv_use_shared='wxUSE_SHARED=no'
3229 fi
3230
3231else
3232
3233 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3234 if test "x$LINE" != x ; then
3235 eval "DEFAULT_$LINE"
3236 else
3237 no_cache=1
3238 fi
3239
3240 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3241
3242fi;
3243
3244 eval "$ac_cv_use_shared"
3245 if test "$no_cache" != 1; then
3246 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3247 fi
3248
3249 if test "$wxUSE_SHARED" = yes; then
3250 echo "$as_me:$LINENO: result: yes" >&5
3251echo "${ECHO_T}yes" >&6
3252 else
3253 echo "$as_me:$LINENO: result: no" >&5
3254echo "${ECHO_T}no" >&6
3255 fi
3256
3257
3258 enablestring=
3259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3260echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3261 no_cache=0
3262 # Check whether --enable-optimise or --disable-optimise was given.
3263if test "${enable_optimise+set}" = set; then
3264 enableval="$enable_optimise"
3265
3266 if test "$enableval" = yes; then
3267 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3268 else
3269 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3270 fi
3271
3272else
3273
3274 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3275 if test "x$LINE" != x ; then
3276 eval "DEFAULT_$LINE"
3277 else
3278 no_cache=1
3279 fi
3280
3281 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3282
3283fi;
3284
3285 eval "$ac_cv_use_optimise"
3286 if test "$no_cache" != 1; then
3287 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3288 fi
3289
3290 if test "$wxUSE_OPTIMISE" = yes; then
3291 echo "$as_me:$LINENO: result: yes" >&5
3292echo "${ECHO_T}yes" >&6
3293 else
3294 echo "$as_me:$LINENO: result: no" >&5
3295echo "${ECHO_T}no" >&6
3296 fi
3297
3298
3299 enablestring=
3300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3301echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3302 no_cache=0
3303 # Check whether --enable-debug or --disable-debug was given.
3304if test "${enable_debug+set}" = set; then
3305 enableval="$enable_debug"
3306
3307 if test "$enableval" = yes; then
3308 ac_cv_use_debug='wxUSE_DEBUG=yes'
3309 else
3310 ac_cv_use_debug='wxUSE_DEBUG=no'
3311 fi
3312
3313else
3314
3315 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3316 if test "x$LINE" != x ; then
3317 eval "DEFAULT_$LINE"
3318 else
3319 no_cache=1
3320 fi
3321
3322 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3323
3324fi;
3325
3326 eval "$ac_cv_use_debug"
3327 if test "$no_cache" != 1; then
3328 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3329 fi
3330
3331 if test "$wxUSE_DEBUG" = yes; then
3332 echo "$as_me:$LINENO: result: yes" >&5
3333echo "${ECHO_T}yes" >&6
3334 else
3335 echo "$as_me:$LINENO: result: no" >&5
3336echo "${ECHO_T}no" >&6
3337 fi
3338
3339
3340 enablestring=
3341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3342echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3343 no_cache=0
3344 # Check whether --enable-stl or --disable-stl was given.
3345if test "${enable_stl+set}" = set; then
3346 enableval="$enable_stl"
3347
3348 if test "$enableval" = yes; then
3349 ac_cv_use_stl='wxUSE_STL=yes'
3350 else
3351 ac_cv_use_stl='wxUSE_STL=no'
3352 fi
3353
3354else
3355
3356 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3357 if test "x$LINE" != x ; then
3358 eval "DEFAULT_$LINE"
3359 else
3360 no_cache=1
3361 fi
3362
3363 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3364
3365fi;
3366
3367 eval "$ac_cv_use_stl"
3368 if test "$no_cache" != 1; then
3369 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3370 fi
3371
3372 if test "$wxUSE_STL" = yes; then
3373 echo "$as_me:$LINENO: result: yes" >&5
3374echo "${ECHO_T}yes" >&6
3375 else
3376 echo "$as_me:$LINENO: result: no" >&5
3377echo "${ECHO_T}no" >&6
3378 fi
3379
3380
3381if test "$wxUSE_DEBUG" = "yes"; then
3382 DEFAULT_wxUSE_DEBUG_FLAG=yes
3383 DEFAULT_wxUSE_DEBUG_INFO=yes
3384 BUILD=debug
3385elif test "$wxUSE_DEBUG" = "no"; then
3386 DEFAULT_wxUSE_DEBUG_FLAG=no
3387 DEFAULT_wxUSE_DEBUG_INFO=no
3388 BUILD=release
3389fi
3390
3391
3392 enablestring=
3393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3394echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3395 no_cache=0
3396 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3397if test "${enable_debug_flag+set}" = set; then
3398 enableval="$enable_debug_flag"
3399
3400 if test "$enableval" = yes; then
3401 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3402 else
3403 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3404 fi
3405
3406else
3407
3408 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3409 if test "x$LINE" != x ; then
3410 eval "DEFAULT_$LINE"
3411 else
3412 no_cache=1
3413 fi
3414
3415 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3416
3417fi;
3418
3419 eval "$ac_cv_use_debug_flag"
3420 if test "$no_cache" != 1; then
3421 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3422 fi
3423
3424 if test "$wxUSE_DEBUG_FLAG" = yes; then
3425 echo "$as_me:$LINENO: result: yes" >&5
3426echo "${ECHO_T}yes" >&6
3427 else
3428 echo "$as_me:$LINENO: result: no" >&5
3429echo "${ECHO_T}no" >&6
3430 fi
3431
3432
3433 enablestring=
3434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3435echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3436 no_cache=0
3437 # Check whether --enable-debug_info or --disable-debug_info was given.
3438if test "${enable_debug_info+set}" = set; then
3439 enableval="$enable_debug_info"
3440
3441 if test "$enableval" = yes; then
3442 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3443 else
3444 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3445 fi
3446
3447else
3448
3449 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3450 if test "x$LINE" != x ; then
3451 eval "DEFAULT_$LINE"
3452 else
3453 no_cache=1
3454 fi
3455
3456 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3457
3458fi;
3459
3460 eval "$ac_cv_use_debug_info"
3461 if test "$no_cache" != 1; then
3462 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3463 fi
3464
3465 if test "$wxUSE_DEBUG_INFO" = yes; then
3466 echo "$as_me:$LINENO: result: yes" >&5
3467echo "${ECHO_T}yes" >&6
3468 else
3469 echo "$as_me:$LINENO: result: no" >&5
3470echo "${ECHO_T}no" >&6
3471 fi
3472
3473
3474 enablestring=
3475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3476echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3477 no_cache=0
3478 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3479if test "${enable_debug_gdb+set}" = set; then
3480 enableval="$enable_debug_gdb"
3481
3482 if test "$enableval" = yes; then
3483 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3484 else
3485 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3486 fi
3487
3488else
3489
3490 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3491 if test "x$LINE" != x ; then
3492 eval "DEFAULT_$LINE"
3493 else
3494 no_cache=1
3495 fi
3496
3497 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3498
3499fi;
3500
3501 eval "$ac_cv_use_debug_gdb"
3502 if test "$no_cache" != 1; then
3503 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3504 fi
3505
3506 if test "$wxUSE_DEBUG_GDB" = yes; then
3507 echo "$as_me:$LINENO: result: yes" >&5
3508echo "${ECHO_T}yes" >&6
3509 else
3510 echo "$as_me:$LINENO: result: no" >&5
3511echo "${ECHO_T}no" >&6
3512 fi
3513
3514
3515 enablestring=
3516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3517echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3518 no_cache=0
3519 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3520if test "${enable_debug_cntxt+set}" = set; then
3521 enableval="$enable_debug_cntxt"
3522
3523 if test "$enableval" = yes; then
3524 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3525 else
3526 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3527 fi
3528
3529else
3530
3531 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3532 if test "x$LINE" != x ; then
3533 eval "DEFAULT_$LINE"
3534 else
3535 no_cache=1
3536 fi
3537
3538 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3539
3540fi;
3541
3542 eval "$ac_cv_use_debug_cntxt"
3543 if test "$no_cache" != 1; then
3544 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3545 fi
3546
3547 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3548 echo "$as_me:$LINENO: result: yes" >&5
3549echo "${ECHO_T}yes" >&6
3550 else
3551 echo "$as_me:$LINENO: result: no" >&5
3552echo "${ECHO_T}no" >&6
3553 fi
3554
3555
3556 enablestring=
3557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3558echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3559 no_cache=0
3560 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3561if test "${enable_mem_tracing+set}" = set; then
3562 enableval="$enable_mem_tracing"
3563
3564 if test "$enableval" = yes; then
3565 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3566 else
3567 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3568 fi
3569
3570else
3571
3572 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3573 if test "x$LINE" != x ; then
3574 eval "DEFAULT_$LINE"
3575 else
3576 no_cache=1
3577 fi
3578
3579 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3580
3581fi;
3582
3583 eval "$ac_cv_use_mem_tracing"
3584 if test "$no_cache" != 1; then
3585 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3586 fi
3587
3588 if test "$wxUSE_MEM_TRACING" = yes; then
3589 echo "$as_me:$LINENO: result: yes" >&5
3590echo "${ECHO_T}yes" >&6
3591 else
3592 echo "$as_me:$LINENO: result: no" >&5
3593echo "${ECHO_T}no" >&6
3594 fi
3595
3596
3597 enablestring=
3598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3599echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3600 no_cache=0
3601 # Check whether --enable-profile or --disable-profile was given.
3602if test "${enable_profile+set}" = set; then
3603 enableval="$enable_profile"
3604
3605 if test "$enableval" = yes; then
3606 ac_cv_use_profile='wxUSE_PROFILE=yes'
3607 else
3608 ac_cv_use_profile='wxUSE_PROFILE=no'
3609 fi
3610
3611else
3612
3613 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3614 if test "x$LINE" != x ; then
3615 eval "DEFAULT_$LINE"
3616 else
3617 no_cache=1
3618 fi
3619
3620 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3621
3622fi;
3623
3624 eval "$ac_cv_use_profile"
3625 if test "$no_cache" != 1; then
3626 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3627 fi
3628
3629 if test "$wxUSE_PROFILE" = yes; then
3630 echo "$as_me:$LINENO: result: yes" >&5
3631echo "${ECHO_T}yes" >&6
3632 else
3633 echo "$as_me:$LINENO: result: no" >&5
3634echo "${ECHO_T}no" >&6
3635 fi
3636
3637
3638 enablestring=
3639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3640echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3641 no_cache=0
3642 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3643if test "${enable_no_rtti+set}" = set; then
3644 enableval="$enable_no_rtti"
3645
3646 if test "$enableval" = yes; then
3647 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3648 else
3649 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3650 fi
3651
3652else
3653
3654 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3655 if test "x$LINE" != x ; then
3656 eval "DEFAULT_$LINE"
3657 else
3658 no_cache=1
3659 fi
3660
3661 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3662
3663fi;
3664
3665 eval "$ac_cv_use_no_rtti"
3666 if test "$no_cache" != 1; then
3667 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3668 fi
3669
3670 if test "$wxUSE_NO_RTTI" = yes; then
3671 echo "$as_me:$LINENO: result: yes" >&5
3672echo "${ECHO_T}yes" >&6
3673 else
3674 echo "$as_me:$LINENO: result: no" >&5
3675echo "${ECHO_T}no" >&6
3676 fi
3677
3678
3679 enablestring=
3680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3681echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3682 no_cache=0
3683 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3684if test "${enable_no_exceptions+set}" = set; then
3685 enableval="$enable_no_exceptions"
3686
3687 if test "$enableval" = yes; then
3688 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3689 else
3690 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3691 fi
3692
3693else
3694
3695 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3696 if test "x$LINE" != x ; then
3697 eval "DEFAULT_$LINE"
3698 else
3699 no_cache=1
3700 fi
3701
3702 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3703
3704fi;
3705
3706 eval "$ac_cv_use_no_exceptions"
3707 if test "$no_cache" != 1; then
3708 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3709 fi
3710
3711 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3712 echo "$as_me:$LINENO: result: yes" >&5
3713echo "${ECHO_T}yes" >&6
3714 else
3715 echo "$as_me:$LINENO: result: no" >&5
3716echo "${ECHO_T}no" >&6
3717 fi
3718
3719
3720 enablestring=
3721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3722echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3723 no_cache=0
3724 # Check whether --enable-permissive or --disable-permissive was given.
3725if test "${enable_permissive+set}" = set; then
3726 enableval="$enable_permissive"
3727
3728 if test "$enableval" = yes; then
3729 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3730 else
3731 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3732 fi
3733
3734else
3735
3736 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3737 if test "x$LINE" != x ; then
3738 eval "DEFAULT_$LINE"
3739 else
3740 no_cache=1
3741 fi
3742
3743 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3744
3745fi;
3746
3747 eval "$ac_cv_use_permissive"
3748 if test "$no_cache" != 1; then
3749 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3750 fi
3751
3752 if test "$wxUSE_PERMISSIVE" = yes; then
3753 echo "$as_me:$LINENO: result: yes" >&5
3754echo "${ECHO_T}yes" >&6
3755 else
3756 echo "$as_me:$LINENO: result: no" >&5
3757echo "${ECHO_T}no" >&6
3758 fi
3759
3760
3761 enablestring=
3762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3763echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3764 no_cache=0
3765 # Check whether --enable-no_deps or --disable-no_deps was given.
3766if test "${enable_no_deps+set}" = set; then
3767 enableval="$enable_no_deps"
3768
3769 if test "$enableval" = yes; then
3770 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3771 else
3772 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3773 fi
3774
3775else
3776
3777 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3778 if test "x$LINE" != x ; then
3779 eval "DEFAULT_$LINE"
3780 else
3781 no_cache=1
3782 fi
3783
3784 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3785
3786fi;
3787
3788 eval "$ac_cv_use_no_deps"
3789 if test "$no_cache" != 1; then
3790 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3791 fi
3792
3793 if test "$wxUSE_NO_DEPS" = yes; then
3794 echo "$as_me:$LINENO: result: yes" >&5
3795echo "${ECHO_T}yes" >&6
3796 else
3797 echo "$as_me:$LINENO: result: no" >&5
3798echo "${ECHO_T}no" >&6
3799 fi
3800
3801
3802
3803 enablestring=
3804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3805echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3806 no_cache=0
3807 # Check whether --enable-compat22 or --disable-compat22 was given.
3808if test "${enable_compat22+set}" = set; then
3809 enableval="$enable_compat22"
3810
3811 if test "$enableval" = yes; then
3812 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3813 else
3814 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3815 fi
3816
3817else
3818
3819 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3820 if test "x$LINE" != x ; then
3821 eval "DEFAULT_$LINE"
3822 else
3823 no_cache=1
3824 fi
3825
3826 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3827
3828fi;
3829
3830 eval "$ac_cv_use_compat22"
3831 if test "$no_cache" != 1; then
3832 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3833 fi
3834
3835 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3836 echo "$as_me:$LINENO: result: yes" >&5
3837echo "${ECHO_T}yes" >&6
3838 else
3839 echo "$as_me:$LINENO: result: no" >&5
3840echo "${ECHO_T}no" >&6
3841 fi
3842
3843
3844 enablestring=disable
3845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3846echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3847 no_cache=0
3848 # Check whether --enable-compat24 or --disable-compat24 was given.
3849if test "${enable_compat24+set}" = set; then
3850 enableval="$enable_compat24"
3851
3852 if test "$enableval" = yes; then
3853 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3854 else
3855 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3856 fi
3857
3858else
3859
3860 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3861 if test "x$LINE" != x ; then
3862 eval "DEFAULT_$LINE"
3863 else
3864 no_cache=1
3865 fi
3866
3867 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3868
3869fi;
3870
3871 eval "$ac_cv_use_compat24"
3872 if test "$no_cache" != 1; then
3873 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3874 fi
3875
3876 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3877 echo "$as_me:$LINENO: result: yes" >&5
3878echo "${ECHO_T}yes" >&6
3879 else
3880 echo "$as_me:$LINENO: result: no" >&5
3881echo "${ECHO_T}no" >&6
3882 fi
3883
3884
3885# Check whether --enable-rpath or --disable-rpath was given.
3886if test "${enable_rpath+set}" = set; then
3887 enableval="$enable_rpath"
3888 wxRPATH_DIR="$enableval"
3889fi;
3890
3891if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3892 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3893fi
3894
3895
3896
3897
3898 enablestring=
3899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3900echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3901 no_cache=0
3902 # Check whether --enable-intl or --disable-intl was given.
3903if test "${enable_intl+set}" = set; then
3904 enableval="$enable_intl"
3905
3906 if test "$enableval" = yes; then
3907 ac_cv_use_intl='wxUSE_INTL=yes'
3908 else
3909 ac_cv_use_intl='wxUSE_INTL=no'
3910 fi
3911
3912else
3913
3914 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3915 if test "x$LINE" != x ; then
3916 eval "DEFAULT_$LINE"
3917 else
3918 no_cache=1
3919 fi
3920
3921 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3922
3923fi;
3924
3925 eval "$ac_cv_use_intl"
3926 if test "$no_cache" != 1; then
3927 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3928 fi
3929
3930 if test "$wxUSE_INTL" = yes; then
3931 echo "$as_me:$LINENO: result: yes" >&5
3932echo "${ECHO_T}yes" >&6
3933 else
3934 echo "$as_me:$LINENO: result: no" >&5
3935echo "${ECHO_T}no" >&6
3936 fi
3937
3938
3939 enablestring=
3940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3941echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3942 no_cache=0
3943 # Check whether --enable-config or --disable-config was given.
3944if test "${enable_config+set}" = set; then
3945 enableval="$enable_config"
3946
3947 if test "$enableval" = yes; then
3948 ac_cv_use_config='wxUSE_CONFIG=yes'
3949 else
3950 ac_cv_use_config='wxUSE_CONFIG=no'
3951 fi
3952
3953else
3954
3955 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3956 if test "x$LINE" != x ; then
3957 eval "DEFAULT_$LINE"
3958 else
3959 no_cache=1
3960 fi
3961
3962 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3963
3964fi;
3965
3966 eval "$ac_cv_use_config"
3967 if test "$no_cache" != 1; then
3968 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3969 fi
3970
3971 if test "$wxUSE_CONFIG" = yes; then
3972 echo "$as_me:$LINENO: result: yes" >&5
3973echo "${ECHO_T}yes" >&6
3974 else
3975 echo "$as_me:$LINENO: result: no" >&5
3976echo "${ECHO_T}no" >&6
3977 fi
3978
3979
3980
3981 enablestring=
3982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3983echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3984 no_cache=0
3985 # Check whether --enable-protocols or --disable-protocols was given.
3986if test "${enable_protocols+set}" = set; then
3987 enableval="$enable_protocols"
3988
3989 if test "$enableval" = yes; then
3990 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3991 else
3992 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3993 fi
3994
3995else
3996
3997 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3998 if test "x$LINE" != x ; then
3999 eval "DEFAULT_$LINE"
4000 else
4001 no_cache=1
4002 fi
4003
4004 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4005
4006fi;
4007
4008 eval "$ac_cv_use_protocols"
4009 if test "$no_cache" != 1; then
4010 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4011 fi
4012
4013 if test "$wxUSE_PROTOCOL" = yes; then
4014 echo "$as_me:$LINENO: result: yes" >&5
4015echo "${ECHO_T}yes" >&6
4016 else
4017 echo "$as_me:$LINENO: result: no" >&5
4018echo "${ECHO_T}no" >&6
4019 fi
4020
4021
4022 enablestring=
4023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4024echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4025 no_cache=0
4026 # Check whether --enable-ftp or --disable-ftp was given.
4027if test "${enable_ftp+set}" = set; then
4028 enableval="$enable_ftp"
4029
4030 if test "$enableval" = yes; then
4031 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4032 else
4033 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4034 fi
4035
4036else
4037
4038 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4039 if test "x$LINE" != x ; then
4040 eval "DEFAULT_$LINE"
4041 else
4042 no_cache=1
4043 fi
4044
4045 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4046
4047fi;
4048
4049 eval "$ac_cv_use_ftp"
4050 if test "$no_cache" != 1; then
4051 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4052 fi
4053
4054 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4055 echo "$as_me:$LINENO: result: yes" >&5
4056echo "${ECHO_T}yes" >&6
4057 else
4058 echo "$as_me:$LINENO: result: no" >&5
4059echo "${ECHO_T}no" >&6
4060 fi
4061
4062
4063 enablestring=
4064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4065echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4066 no_cache=0
4067 # Check whether --enable-http or --disable-http was given.
4068if test "${enable_http+set}" = set; then
4069 enableval="$enable_http"
4070
4071 if test "$enableval" = yes; then
4072 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4073 else
4074 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4075 fi
4076
4077else
4078
4079 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4080 if test "x$LINE" != x ; then
4081 eval "DEFAULT_$LINE"
4082 else
4083 no_cache=1
4084 fi
4085
4086 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4087
4088fi;
4089
4090 eval "$ac_cv_use_http"
4091 if test "$no_cache" != 1; then
4092 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4093 fi
4094
4095 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4096 echo "$as_me:$LINENO: result: yes" >&5
4097echo "${ECHO_T}yes" >&6
4098 else
4099 echo "$as_me:$LINENO: result: no" >&5
4100echo "${ECHO_T}no" >&6
4101 fi
4102
4103
4104 enablestring=
4105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4106echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4107 no_cache=0
4108 # Check whether --enable-fileproto or --disable-fileproto was given.
4109if test "${enable_fileproto+set}" = set; then
4110 enableval="$enable_fileproto"
4111
4112 if test "$enableval" = yes; then
4113 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4114 else
4115 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4116 fi
4117
4118else
4119
4120 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4121 if test "x$LINE" != x ; then
4122 eval "DEFAULT_$LINE"
4123 else
4124 no_cache=1
4125 fi
4126
4127 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4128
4129fi;
4130
4131 eval "$ac_cv_use_fileproto"
4132 if test "$no_cache" != 1; then
4133 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4134 fi
4135
4136 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4137 echo "$as_me:$LINENO: result: yes" >&5
4138echo "${ECHO_T}yes" >&6
4139 else
4140 echo "$as_me:$LINENO: result: no" >&5
4141echo "${ECHO_T}no" >&6
4142 fi
4143
4144
4145 enablestring=
4146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4147echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4148 no_cache=0
4149 # Check whether --enable-sockets or --disable-sockets was given.
4150if test "${enable_sockets+set}" = set; then
4151 enableval="$enable_sockets"
4152
4153 if test "$enableval" = yes; then
4154 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4155 else
4156 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4157 fi
4158
4159else
4160
4161 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4162 if test "x$LINE" != x ; then
4163 eval "DEFAULT_$LINE"
4164 else
4165 no_cache=1
4166 fi
4167
4168 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4169
4170fi;
4171
4172 eval "$ac_cv_use_sockets"
4173 if test "$no_cache" != 1; then
4174 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4175 fi
4176
4177 if test "$wxUSE_SOCKETS" = yes; then
4178 echo "$as_me:$LINENO: result: yes" >&5
4179echo "${ECHO_T}yes" >&6
4180 else
4181 echo "$as_me:$LINENO: result: no" >&5
4182echo "${ECHO_T}no" >&6
4183 fi
4184
4185
4186 enablestring=
4187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4188echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4189 no_cache=0
4190 # Check whether --enable-ole or --disable-ole was given.
4191if test "${enable_ole+set}" = set; then
4192 enableval="$enable_ole"
4193
4194 if test "$enableval" = yes; then
4195 ac_cv_use_ole='wxUSE_OLE=yes'
4196 else
4197 ac_cv_use_ole='wxUSE_OLE=no'
4198 fi
4199
4200else
4201
4202 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4203 if test "x$LINE" != x ; then
4204 eval "DEFAULT_$LINE"
4205 else
4206 no_cache=1
4207 fi
4208
4209 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4210
4211fi;
4212
4213 eval "$ac_cv_use_ole"
4214 if test "$no_cache" != 1; then
4215 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4216 fi
4217
4218 if test "$wxUSE_OLE" = yes; then
4219 echo "$as_me:$LINENO: result: yes" >&5
4220echo "${ECHO_T}yes" >&6
4221 else
4222 echo "$as_me:$LINENO: result: no" >&5
4223echo "${ECHO_T}no" >&6
4224 fi
4225
4226
4227 enablestring=
4228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4229echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4230 no_cache=0
4231 # Check whether --enable-dataobj or --disable-dataobj was given.
4232if test "${enable_dataobj+set}" = set; then
4233 enableval="$enable_dataobj"
4234
4235 if test "$enableval" = yes; then
4236 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4237 else
4238 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4239 fi
4240
4241else
4242
4243 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4244 if test "x$LINE" != x ; then
4245 eval "DEFAULT_$LINE"
4246 else
4247 no_cache=1
4248 fi
4249
4250 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4251
4252fi;
4253
4254 eval "$ac_cv_use_dataobj"
4255 if test "$no_cache" != 1; then
4256 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4257 fi
4258
4259 if test "$wxUSE_DATAOBJ" = yes; then
4260 echo "$as_me:$LINENO: result: yes" >&5
4261echo "${ECHO_T}yes" >&6
4262 else
4263 echo "$as_me:$LINENO: result: no" >&5
4264echo "${ECHO_T}no" >&6
4265 fi
4266
4267
4268
4269 enablestring=
4270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4271echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4272 no_cache=0
4273 # Check whether --enable-ipc or --disable-ipc was given.
4274if test "${enable_ipc+set}" = set; then
4275 enableval="$enable_ipc"
4276
4277 if test "$enableval" = yes; then
4278 ac_cv_use_ipc='wxUSE_IPC=yes'
4279 else
4280 ac_cv_use_ipc='wxUSE_IPC=no'
4281 fi
4282
4283else
4284
4285 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4286 if test "x$LINE" != x ; then
4287 eval "DEFAULT_$LINE"
4288 else
4289 no_cache=1
4290 fi
4291
4292 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4293
4294fi;
4295
4296 eval "$ac_cv_use_ipc"
4297 if test "$no_cache" != 1; then
4298 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4299 fi
4300
4301 if test "$wxUSE_IPC" = yes; then
4302 echo "$as_me:$LINENO: result: yes" >&5
4303echo "${ECHO_T}yes" >&6
4304 else
4305 echo "$as_me:$LINENO: result: no" >&5
4306echo "${ECHO_T}no" >&6
4307 fi
4308
4309
4310
4311 enablestring=
4312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4313echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4314 no_cache=0
4315 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4316if test "${enable_apple_ieee+set}" = set; then
4317 enableval="$enable_apple_ieee"
4318
4319 if test "$enableval" = yes; then
4320 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4321 else
4322 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4323 fi
4324
4325else
4326
4327 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4328 if test "x$LINE" != x ; then
4329 eval "DEFAULT_$LINE"
4330 else
4331 no_cache=1
4332 fi
4333
4334 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4335
4336fi;
4337
4338 eval "$ac_cv_use_apple_ieee"
4339 if test "$no_cache" != 1; then
4340 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4341 fi
4342
4343 if test "$wxUSE_APPLE_IEEE" = yes; then
4344 echo "$as_me:$LINENO: result: yes" >&5
4345echo "${ECHO_T}yes" >&6
4346 else
4347 echo "$as_me:$LINENO: result: no" >&5
4348echo "${ECHO_T}no" >&6
4349 fi
4350
4351
4352 enablestring=
4353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4354echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4355 no_cache=0
4356 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4357if test "${enable_catch_segvs+set}" = set; then
4358 enableval="$enable_catch_segvs"
4359
4360 if test "$enableval" = yes; then
4361 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4362 else
4363 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4364 fi
4365
4366else
4367
4368 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4369 if test "x$LINE" != x ; then
4370 eval "DEFAULT_$LINE"
4371 else
4372 no_cache=1
4373 fi
4374
4375 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4376
4377fi;
4378
4379 eval "$ac_cv_use_catch_segvs"
4380 if test "$no_cache" != 1; then
4381 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4382 fi
4383
4384 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4385 echo "$as_me:$LINENO: result: yes" >&5
4386echo "${ECHO_T}yes" >&6
4387 else
4388 echo "$as_me:$LINENO: result: no" >&5
4389echo "${ECHO_T}no" >&6
4390 fi
4391
4392
4393 enablestring=
4394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4395echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4396 no_cache=0
4397 # Check whether --enable-cmdline or --disable-cmdline was given.
4398if test "${enable_cmdline+set}" = set; then
4399 enableval="$enable_cmdline"
4400
4401 if test "$enableval" = yes; then
4402 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4403 else
4404 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4405 fi
4406
4407else
4408
4409 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4410 if test "x$LINE" != x ; then
4411 eval "DEFAULT_$LINE"
4412 else
4413 no_cache=1
4414 fi
4415
4416 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4417
4418fi;
4419
4420 eval "$ac_cv_use_cmdline"
4421 if test "$no_cache" != 1; then
4422 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4423 fi
4424
4425 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4426 echo "$as_me:$LINENO: result: yes" >&5
4427echo "${ECHO_T}yes" >&6
4428 else
4429 echo "$as_me:$LINENO: result: no" >&5
4430echo "${ECHO_T}no" >&6
4431 fi
4432
4433
4434 enablestring=
4435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4436echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4437 no_cache=0
4438 # Check whether --enable-datetime or --disable-datetime was given.
4439if test "${enable_datetime+set}" = set; then
4440 enableval="$enable_datetime"
4441
4442 if test "$enableval" = yes; then
4443 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4444 else
4445 ac_cv_use_datetime='wxUSE_DATETIME=no'
4446 fi
4447
4448else
4449
4450 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4451 if test "x$LINE" != x ; then
4452 eval "DEFAULT_$LINE"
4453 else
4454 no_cache=1
4455 fi
4456
4457 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4458
4459fi;
4460
4461 eval "$ac_cv_use_datetime"
4462 if test "$no_cache" != 1; then
4463 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4464 fi
4465
4466 if test "$wxUSE_DATETIME" = yes; then
4467 echo "$as_me:$LINENO: result: yes" >&5
4468echo "${ECHO_T}yes" >&6
4469 else
4470 echo "$as_me:$LINENO: result: no" >&5
4471echo "${ECHO_T}no" >&6
4472 fi
4473
4474
4475 enablestring=
4476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4477echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4478 no_cache=0
4479 # Check whether --enable-dialupman or --disable-dialupman was given.
4480if test "${enable_dialupman+set}" = set; then
4481 enableval="$enable_dialupman"
4482
4483 if test "$enableval" = yes; then
4484 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4485 else
4486 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4487 fi
4488
4489else
4490
4491 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4492 if test "x$LINE" != x ; then
4493 eval "DEFAULT_$LINE"
4494 else
4495 no_cache=1
4496 fi
4497
4498 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4499
4500fi;
4501
4502 eval "$ac_cv_use_dialupman"
4503 if test "$no_cache" != 1; then
4504 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4505 fi
4506
4507 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4508 echo "$as_me:$LINENO: result: yes" >&5
4509echo "${ECHO_T}yes" >&6
4510 else
4511 echo "$as_me:$LINENO: result: no" >&5
4512echo "${ECHO_T}no" >&6
4513 fi
4514
4515
4516 enablestring=
4517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4518echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4519 no_cache=0
4520 # Check whether --enable-dynlib or --disable-dynlib was given.
4521if test "${enable_dynlib+set}" = set; then
4522 enableval="$enable_dynlib"
4523
4524 if test "$enableval" = yes; then
4525 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4526 else
4527 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4528 fi
4529
4530else
4531
4532 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4533 if test "x$LINE" != x ; then
4534 eval "DEFAULT_$LINE"
4535 else
4536 no_cache=1
4537 fi
4538
4539 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4540
4541fi;
4542
4543 eval "$ac_cv_use_dynlib"
4544 if test "$no_cache" != 1; then
4545 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4546 fi
4547
4548 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4549 echo "$as_me:$LINENO: result: yes" >&5
4550echo "${ECHO_T}yes" >&6
4551 else
4552 echo "$as_me:$LINENO: result: no" >&5
4553echo "${ECHO_T}no" >&6
4554 fi
4555
4556
4557 enablestring=
4558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4559echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4560 no_cache=0
4561 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4562if test "${enable_dynamicloader+set}" = set; then
4563 enableval="$enable_dynamicloader"
4564
4565 if test "$enableval" = yes; then
4566 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4567 else
4568 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4569 fi
4570
4571else
4572
4573 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4574 if test "x$LINE" != x ; then
4575 eval "DEFAULT_$LINE"
4576 else
4577 no_cache=1
4578 fi
4579
4580 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4581
4582fi;
4583
4584 eval "$ac_cv_use_dynamicloader"
4585 if test "$no_cache" != 1; then
4586 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4587 fi
4588
4589 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4590 echo "$as_me:$LINENO: result: yes" >&5
4591echo "${ECHO_T}yes" >&6
4592 else
4593 echo "$as_me:$LINENO: result: no" >&5
4594echo "${ECHO_T}no" >&6
4595 fi
4596
4597
4598 enablestring=
4599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4600echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4601 no_cache=0
4602 # Check whether --enable-exceptions or --disable-exceptions was given.
4603if test "${enable_exceptions+set}" = set; then
4604 enableval="$enable_exceptions"
4605
4606 if test "$enableval" = yes; then
4607 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4608 else
4609 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4610 fi
4611
4612else
4613
4614 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4615 if test "x$LINE" != x ; then
4616 eval "DEFAULT_$LINE"
4617 else
4618 no_cache=1
4619 fi
4620
4621 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4622
4623fi;
4624
4625 eval "$ac_cv_use_exceptions"
4626 if test "$no_cache" != 1; then
4627 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4628 fi
4629
4630 if test "$wxUSE_EXCEPTIONS" = yes; then
4631 echo "$as_me:$LINENO: result: yes" >&5
4632echo "${ECHO_T}yes" >&6
4633 else
4634 echo "$as_me:$LINENO: result: no" >&5
4635echo "${ECHO_T}no" >&6
4636 fi
4637
4638
4639 enablestring=
4640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4641echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4642 no_cache=0
4643 # Check whether --enable-ffile or --disable-ffile was given.
4644if test "${enable_ffile+set}" = set; then
4645 enableval="$enable_ffile"
4646
4647 if test "$enableval" = yes; then
4648 ac_cv_use_ffile='wxUSE_FFILE=yes'
4649 else
4650 ac_cv_use_ffile='wxUSE_FFILE=no'
4651 fi
4652
4653else
4654
4655 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4656 if test "x$LINE" != x ; then
4657 eval "DEFAULT_$LINE"
4658 else
4659 no_cache=1
4660 fi
4661
4662 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4663
4664fi;
4665
4666 eval "$ac_cv_use_ffile"
4667 if test "$no_cache" != 1; then
4668 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4669 fi
4670
4671 if test "$wxUSE_FFILE" = yes; then
4672 echo "$as_me:$LINENO: result: yes" >&5
4673echo "${ECHO_T}yes" >&6
4674 else
4675 echo "$as_me:$LINENO: result: no" >&5
4676echo "${ECHO_T}no" >&6
4677 fi
4678
4679
4680 enablestring=
4681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4682echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4683 no_cache=0
4684 # Check whether --enable-file or --disable-file was given.
4685if test "${enable_file+set}" = set; then
4686 enableval="$enable_file"
4687
4688 if test "$enableval" = yes; then
4689 ac_cv_use_file='wxUSE_FILE=yes'
4690 else
4691 ac_cv_use_file='wxUSE_FILE=no'
4692 fi
4693
4694else
4695
4696 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4697 if test "x$LINE" != x ; then
4698 eval "DEFAULT_$LINE"
4699 else
4700 no_cache=1
4701 fi
4702
4703 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4704
4705fi;
4706
4707 eval "$ac_cv_use_file"
4708 if test "$no_cache" != 1; then
4709 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4710 fi
4711
4712 if test "$wxUSE_FILE" = yes; then
4713 echo "$as_me:$LINENO: result: yes" >&5
4714echo "${ECHO_T}yes" >&6
4715 else
4716 echo "$as_me:$LINENO: result: no" >&5
4717echo "${ECHO_T}no" >&6
4718 fi
4719
4720
4721 enablestring=
4722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4723echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4724 no_cache=0
4725 # Check whether --enable-filesystem or --disable-filesystem was given.
4726if test "${enable_filesystem+set}" = set; then
4727 enableval="$enable_filesystem"
4728
4729 if test "$enableval" = yes; then
4730 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4731 else
4732 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4733 fi
4734
4735else
4736
4737 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4738 if test "x$LINE" != x ; then
4739 eval "DEFAULT_$LINE"
4740 else
4741 no_cache=1
4742 fi
4743
4744 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4745
4746fi;
4747
4748 eval "$ac_cv_use_filesystem"
4749 if test "$no_cache" != 1; then
4750 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4751 fi
4752
4753 if test "$wxUSE_FILESYSTEM" = yes; then
4754 echo "$as_me:$LINENO: result: yes" >&5
4755echo "${ECHO_T}yes" >&6
4756 else
4757 echo "$as_me:$LINENO: result: no" >&5
4758echo "${ECHO_T}no" >&6
4759 fi
4760
4761
4762 enablestring=
4763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4764echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4765 no_cache=0
4766 # Check whether --enable-fontmap or --disable-fontmap was given.
4767if test "${enable_fontmap+set}" = set; then
4768 enableval="$enable_fontmap"
4769
4770 if test "$enableval" = yes; then
4771 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4772 else
4773 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4774 fi
4775
4776else
4777
4778 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4779 if test "x$LINE" != x ; then
4780 eval "DEFAULT_$LINE"
4781 else
4782 no_cache=1
4783 fi
4784
4785 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4786
4787fi;
4788
4789 eval "$ac_cv_use_fontmap"
4790 if test "$no_cache" != 1; then
4791 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4792 fi
4793
4794 if test "$wxUSE_FONTMAP" = yes; then
4795 echo "$as_me:$LINENO: result: yes" >&5
4796echo "${ECHO_T}yes" >&6
4797 else
4798 echo "$as_me:$LINENO: result: no" >&5
4799echo "${ECHO_T}no" >&6
4800 fi
4801
4802
4803 enablestring=
4804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4805echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4806 no_cache=0
4807 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4808if test "${enable_fs_inet+set}" = set; then
4809 enableval="$enable_fs_inet"
4810
4811 if test "$enableval" = yes; then
4812 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4813 else
4814 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4815 fi
4816
4817else
4818
4819 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4820 if test "x$LINE" != x ; then
4821 eval "DEFAULT_$LINE"
4822 else
4823 no_cache=1
4824 fi
4825
4826 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4827
4828fi;
4829
4830 eval "$ac_cv_use_fs_inet"
4831 if test "$no_cache" != 1; then
4832 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4833 fi
4834
4835 if test "$wxUSE_FS_INET" = yes; then
4836 echo "$as_me:$LINENO: result: yes" >&5
4837echo "${ECHO_T}yes" >&6
4838 else
4839 echo "$as_me:$LINENO: result: no" >&5
4840echo "${ECHO_T}no" >&6
4841 fi
4842
4843
4844 enablestring=
4845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
4846echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
4847 no_cache=0
4848 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4849if test "${enable_fs_zip+set}" = set; then
4850 enableval="$enable_fs_zip"
4851
4852 if test "$enableval" = yes; then
4853 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4854 else
4855 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4856 fi
4857
4858else
4859
4860 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4861 if test "x$LINE" != x ; then
4862 eval "DEFAULT_$LINE"
4863 else
4864 no_cache=1
4865 fi
4866
4867 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4868
4869fi;
4870
4871 eval "$ac_cv_use_fs_zip"
4872 if test "$no_cache" != 1; then
4873 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4874 fi
4875
4876 if test "$wxUSE_FS_ZIP" = yes; then
4877 echo "$as_me:$LINENO: result: yes" >&5
4878echo "${ECHO_T}yes" >&6
4879 else
4880 echo "$as_me:$LINENO: result: no" >&5
4881echo "${ECHO_T}no" >&6
4882 fi
4883
4884
4885 enablestring=
4886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4887echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4888 no_cache=0
4889 # Check whether --enable-geometry or --disable-geometry was given.
4890if test "${enable_geometry+set}" = set; then
4891 enableval="$enable_geometry"
4892
4893 if test "$enableval" = yes; then
4894 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4895 else
4896 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4897 fi
4898
4899else
4900
4901 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4902 if test "x$LINE" != x ; then
4903 eval "DEFAULT_$LINE"
4904 else
4905 no_cache=1
4906 fi
4907
4908 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4909
4910fi;
4911
4912 eval "$ac_cv_use_geometry"
4913 if test "$no_cache" != 1; then
4914 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4915 fi
4916
4917 if test "$wxUSE_GEOMETRY" = yes; then
4918 echo "$as_me:$LINENO: result: yes" >&5
4919echo "${ECHO_T}yes" >&6
4920 else
4921 echo "$as_me:$LINENO: result: no" >&5
4922echo "${ECHO_T}no" >&6
4923 fi
4924
4925
4926 enablestring=
4927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4928echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4929 no_cache=0
4930 # Check whether --enable-log or --disable-log was given.
4931if test "${enable_log+set}" = set; then
4932 enableval="$enable_log"
4933
4934 if test "$enableval" = yes; then
4935 ac_cv_use_log='wxUSE_LOG=yes'
4936 else
4937 ac_cv_use_log='wxUSE_LOG=no'
4938 fi
4939
4940else
4941
4942 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4943 if test "x$LINE" != x ; then
4944 eval "DEFAULT_$LINE"
4945 else
4946 no_cache=1
4947 fi
4948
4949 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4950
4951fi;
4952
4953 eval "$ac_cv_use_log"
4954 if test "$no_cache" != 1; then
4955 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4956 fi
4957
4958 if test "$wxUSE_LOG" = yes; then
4959 echo "$as_me:$LINENO: result: yes" >&5
4960echo "${ECHO_T}yes" >&6
4961 else
4962 echo "$as_me:$LINENO: result: no" >&5
4963echo "${ECHO_T}no" >&6
4964 fi
4965
4966
4967 enablestring=
4968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4969echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4970 no_cache=0
4971 # Check whether --enable-longlong or --disable-longlong was given.
4972if test "${enable_longlong+set}" = set; then
4973 enableval="$enable_longlong"
4974
4975 if test "$enableval" = yes; then
4976 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4977 else
4978 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4979 fi
4980
4981else
4982
4983 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4984 if test "x$LINE" != x ; then
4985 eval "DEFAULT_$LINE"
4986 else
4987 no_cache=1
4988 fi
4989
4990 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4991
4992fi;
4993
4994 eval "$ac_cv_use_longlong"
4995 if test "$no_cache" != 1; then
4996 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4997 fi
4998
4999 if test "$wxUSE_LONGLONG" = yes; then
5000 echo "$as_me:$LINENO: result: yes" >&5
5001echo "${ECHO_T}yes" >&6
5002 else
5003 echo "$as_me:$LINENO: result: no" >&5
5004echo "${ECHO_T}no" >&6
5005 fi
5006
5007
5008 enablestring=
5009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5010echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5011 no_cache=0
5012 # Check whether --enable-mimetype or --disable-mimetype was given.
5013if test "${enable_mimetype+set}" = set; then
5014 enableval="$enable_mimetype"
5015
5016 if test "$enableval" = yes; then
5017 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5018 else
5019 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5020 fi
5021
5022else
5023
5024 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5025 if test "x$LINE" != x ; then
5026 eval "DEFAULT_$LINE"
5027 else
5028 no_cache=1
5029 fi
5030
5031 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5032
5033fi;
5034
5035 eval "$ac_cv_use_mimetype"
5036 if test "$no_cache" != 1; then
5037 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5038 fi
5039
5040 if test "$wxUSE_MIMETYPE" = yes; then
5041 echo "$as_me:$LINENO: result: yes" >&5
5042echo "${ECHO_T}yes" >&6
5043 else
5044 echo "$as_me:$LINENO: result: no" >&5
5045echo "${ECHO_T}no" >&6
5046 fi
5047
5048
5049 enablestring=
5050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5051echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5052 no_cache=0
5053 # Check whether --enable-mslu or --disable-mslu was given.
5054if test "${enable_mslu+set}" = set; then
5055 enableval="$enable_mslu"
5056
5057 if test "$enableval" = yes; then
5058 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5059 else
5060 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5061 fi
5062
5063else
5064
5065 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5066 if test "x$LINE" != x ; then
5067 eval "DEFAULT_$LINE"
5068 else
5069 no_cache=1
5070 fi
5071
5072 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5073
5074fi;
5075
5076 eval "$ac_cv_use_mslu"
5077 if test "$no_cache" != 1; then
5078 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5079 fi
5080
5081 if test "$wxUSE_UNICODE_MSLU" = yes; then
5082 echo "$as_me:$LINENO: result: yes" >&5
5083echo "${ECHO_T}yes" >&6
5084 else
5085 echo "$as_me:$LINENO: result: no" >&5
5086echo "${ECHO_T}no" >&6
5087 fi
5088
5089
5090 enablestring=
5091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5092echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5093 no_cache=0
5094 # Check whether --enable-snglinst or --disable-snglinst was given.
5095if test "${enable_snglinst+set}" = set; then
5096 enableval="$enable_snglinst"
5097
5098 if test "$enableval" = yes; then
5099 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5100 else
5101 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5102 fi
5103
5104else
5105
5106 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5107 if test "x$LINE" != x ; then
5108 eval "DEFAULT_$LINE"
5109 else
5110 no_cache=1
5111 fi
5112
5113 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5114
5115fi;
5116
5117 eval "$ac_cv_use_snglinst"
5118 if test "$no_cache" != 1; then
5119 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5120 fi
5121
5122 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5123 echo "$as_me:$LINENO: result: yes" >&5
5124echo "${ECHO_T}yes" >&6
5125 else
5126 echo "$as_me:$LINENO: result: no" >&5
5127echo "${ECHO_T}no" >&6
5128 fi
5129
5130
5131 enablestring=
5132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5133echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5134 no_cache=0
5135 # Check whether --enable-streams or --disable-streams was given.
5136if test "${enable_streams+set}" = set; then
5137 enableval="$enable_streams"
5138
5139 if test "$enableval" = yes; then
5140 ac_cv_use_streams='wxUSE_STREAMS=yes'
5141 else
5142 ac_cv_use_streams='wxUSE_STREAMS=no'
5143 fi
5144
5145else
5146
5147 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5148 if test "x$LINE" != x ; then
5149 eval "DEFAULT_$LINE"
5150 else
5151 no_cache=1
5152 fi
5153
5154 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5155
5156fi;
5157
5158 eval "$ac_cv_use_streams"
5159 if test "$no_cache" != 1; then
5160 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5161 fi
5162
5163 if test "$wxUSE_STREAMS" = yes; then
5164 echo "$as_me:$LINENO: result: yes" >&5
5165echo "${ECHO_T}yes" >&6
5166 else
5167 echo "$as_me:$LINENO: result: no" >&5
5168echo "${ECHO_T}no" >&6
5169 fi
5170
5171
5172 enablestring=
5173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5174echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5175 no_cache=0
5176 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5177if test "${enable_std_iostreams+set}" = set; then
5178 enableval="$enable_std_iostreams"
5179
5180 if test "$enableval" = yes; then
5181 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5182 else
5183 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5184 fi
5185
5186else
5187
5188 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5189 if test "x$LINE" != x ; then
5190 eval "DEFAULT_$LINE"
5191 else
5192 no_cache=1
5193 fi
5194
5195 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5196
5197fi;
5198
5199 eval "$ac_cv_use_std_iostreams"
5200 if test "$no_cache" != 1; then
5201 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5202 fi
5203
5204 if test "$wxUSE_STD_IOSTREAM" = yes; then
5205 echo "$as_me:$LINENO: result: yes" >&5
5206echo "${ECHO_T}yes" >&6
5207 else
5208 echo "$as_me:$LINENO: result: no" >&5
5209echo "${ECHO_T}no" >&6
5210 fi
5211
5212
5213 enablestring=
5214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5215echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5216 no_cache=0
5217 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5218if test "${enable_stopwatch+set}" = set; then
5219 enableval="$enable_stopwatch"
5220
5221 if test "$enableval" = yes; then
5222 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5223 else
5224 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5225 fi
5226
5227else
5228
5229 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5230 if test "x$LINE" != x ; then
5231 eval "DEFAULT_$LINE"
5232 else
5233 no_cache=1
5234 fi
5235
5236 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5237
5238fi;
5239
5240 eval "$ac_cv_use_stopwatch"
5241 if test "$no_cache" != 1; then
5242 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5243 fi
5244
5245 if test "$wxUSE_STOPWATCH" = yes; then
5246 echo "$as_me:$LINENO: result: yes" >&5
5247echo "${ECHO_T}yes" >&6
5248 else
5249 echo "$as_me:$LINENO: result: no" >&5
5250echo "${ECHO_T}no" >&6
5251 fi
5252
5253
5254 enablestring=
5255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5256echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5257 no_cache=0
5258 # Check whether --enable-system_options or --disable-system_options was given.
5259if test "${enable_system_options+set}" = set; then
5260 enableval="$enable_system_options"
5261
5262 if test "$enableval" = yes; then
5263 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5264 else
5265 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5266 fi
5267
5268else
5269
5270 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5271 if test "x$LINE" != x ; then
5272 eval "DEFAULT_$LINE"
5273 else
5274 no_cache=1
5275 fi
5276
5277 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5278
5279fi;
5280
5281 eval "$ac_cv_use_system_options"
5282 if test "$no_cache" != 1; then
5283 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5284 fi
5285
5286 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5287 echo "$as_me:$LINENO: result: yes" >&5
5288echo "${ECHO_T}yes" >&6
5289 else
5290 echo "$as_me:$LINENO: result: no" >&5
5291echo "${ECHO_T}no" >&6
5292 fi
5293
5294
5295 enablestring=
5296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5297echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5298 no_cache=0
5299 # Check whether --enable-textbuf or --disable-textbuf was given.
5300if test "${enable_textbuf+set}" = set; then
5301 enableval="$enable_textbuf"
5302
5303 if test "$enableval" = yes; then
5304 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5305 else
5306 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5307 fi
5308
5309else
5310
5311 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5312 if test "x$LINE" != x ; then
5313 eval "DEFAULT_$LINE"
5314 else
5315 no_cache=1
5316 fi
5317
5318 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5319
5320fi;
5321
5322 eval "$ac_cv_use_textbuf"
5323 if test "$no_cache" != 1; then
5324 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5325 fi
5326
5327 if test "$wxUSE_TEXTBUFFER" = yes; then
5328 echo "$as_me:$LINENO: result: yes" >&5
5329echo "${ECHO_T}yes" >&6
5330 else
5331 echo "$as_me:$LINENO: result: no" >&5
5332echo "${ECHO_T}no" >&6
5333 fi
5334
5335
5336 enablestring=
5337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5338echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5339 no_cache=0
5340 # Check whether --enable-textfile or --disable-textfile was given.
5341if test "${enable_textfile+set}" = set; then
5342 enableval="$enable_textfile"
5343
5344 if test "$enableval" = yes; then
5345 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5346 else
5347 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5348 fi
5349
5350else
5351
5352 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5353 if test "x$LINE" != x ; then
5354 eval "DEFAULT_$LINE"
5355 else
5356 no_cache=1
5357 fi
5358
5359 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5360
5361fi;
5362
5363 eval "$ac_cv_use_textfile"
5364 if test "$no_cache" != 1; then
5365 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5366 fi
5367
5368 if test "$wxUSE_TEXTFILE" = yes; then
5369 echo "$as_me:$LINENO: result: yes" >&5
5370echo "${ECHO_T}yes" >&6
5371 else
5372 echo "$as_me:$LINENO: result: no" >&5
5373echo "${ECHO_T}no" >&6
5374 fi
5375
5376
5377 enablestring=
5378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5379echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5380 no_cache=0
5381 # Check whether --enable-timer or --disable-timer was given.
5382if test "${enable_timer+set}" = set; then
5383 enableval="$enable_timer"
5384
5385 if test "$enableval" = yes; then
5386 ac_cv_use_timer='wxUSE_TIMER=yes'
5387 else
5388 ac_cv_use_timer='wxUSE_TIMER=no'
5389 fi
5390
5391else
5392
5393 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5394 if test "x$LINE" != x ; then
5395 eval "DEFAULT_$LINE"
5396 else
5397 no_cache=1
5398 fi
5399
5400 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5401
5402fi;
5403
5404 eval "$ac_cv_use_timer"
5405 if test "$no_cache" != 1; then
5406 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5407 fi
5408
5409 if test "$wxUSE_TIMER" = yes; then
5410 echo "$as_me:$LINENO: result: yes" >&5
5411echo "${ECHO_T}yes" >&6
5412 else
5413 echo "$as_me:$LINENO: result: no" >&5
5414echo "${ECHO_T}no" >&6
5415 fi
5416
5417
5418 enablestring=
5419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5420echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5421 no_cache=0
5422 # Check whether --enable-unicode or --disable-unicode was given.
5423if test "${enable_unicode+set}" = set; then
5424 enableval="$enable_unicode"
5425
5426 if test "$enableval" = yes; then
5427 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5428 else
5429 ac_cv_use_unicode='wxUSE_UNICODE=no'
5430 fi
5431
5432else
5433
5434 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5435 if test "x$LINE" != x ; then
5436 eval "DEFAULT_$LINE"
5437 else
5438 no_cache=1
5439 fi
5440
5441 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5442
5443fi;
5444
5445 eval "$ac_cv_use_unicode"
5446 if test "$no_cache" != 1; then
5447 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5448 fi
5449
5450 if test "$wxUSE_UNICODE" = yes; then
5451 echo "$as_me:$LINENO: result: yes" >&5
5452echo "${ECHO_T}yes" >&6
5453 else
5454 echo "$as_me:$LINENO: result: no" >&5
5455echo "${ECHO_T}no" >&6
5456 fi
5457
5458
5459 enablestring=
5460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
5461echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
5462 no_cache=0
5463 # Check whether --enable-wave or --disable-wave was given.
5464if test "${enable_wave+set}" = set; then
5465 enableval="$enable_wave"
5466
5467 if test "$enableval" = yes; then
5468 ac_cv_use_wave='wxUSE_WAVE=yes'
5469 else
5470 ac_cv_use_wave='wxUSE_WAVE=no'
5471 fi
5472
5473else
5474
5475 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
5476 if test "x$LINE" != x ; then
5477 eval "DEFAULT_$LINE"
5478 else
5479 no_cache=1
5480 fi
5481
5482 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
5483
5484fi;
5485
5486 eval "$ac_cv_use_wave"
5487 if test "$no_cache" != 1; then
5488 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
5489 fi
5490
5491 if test "$wxUSE_WAVE" = yes; then
5492 echo "$as_me:$LINENO: result: yes" >&5
5493echo "${ECHO_T}yes" >&6
5494 else
5495 echo "$as_me:$LINENO: result: no" >&5
5496echo "${ECHO_T}no" >&6
5497 fi
5498
5499
5500 enablestring=
5501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5502echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5503 no_cache=0
5504 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5505if test "${enable_wxprintfv+set}" = set; then
5506 enableval="$enable_wxprintfv"
5507
5508 if test "$enableval" = yes; then
5509 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5510 else
5511 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5512 fi
5513
5514else
5515
5516 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5517 if test "x$LINE" != x ; then
5518 eval "DEFAULT_$LINE"
5519 else
5520 no_cache=1
5521 fi
5522
5523 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5524
5525fi;
5526
5527 eval "$ac_cv_use_wxprintfv"
5528 if test "$no_cache" != 1; then
5529 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5530 fi
5531
5532 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5533 echo "$as_me:$LINENO: result: yes" >&5
5534echo "${ECHO_T}yes" >&6
5535 else
5536 echo "$as_me:$LINENO: result: no" >&5
5537echo "${ECHO_T}no" >&6
5538 fi
5539
5540
5541 enablestring=
5542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5543echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5544 no_cache=0
5545 # Check whether --enable-zipstream or --disable-zipstream was given.
5546if test "${enable_zipstream+set}" = set; then
5547 enableval="$enable_zipstream"
5548
5549 if test "$enableval" = yes; then
5550 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5551 else
5552 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5553 fi
5554
5555else
5556
5557 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5558 if test "x$LINE" != x ; then
5559 eval "DEFAULT_$LINE"
5560 else
5561 no_cache=1
5562 fi
5563
5564 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5565
5566fi;
5567
5568 eval "$ac_cv_use_zipstream"
5569 if test "$no_cache" != 1; then
5570 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5571 fi
5572
5573 if test "$wxUSE_ZIPSTREAM" = yes; then
5574 echo "$as_me:$LINENO: result: yes" >&5
5575echo "${ECHO_T}yes" >&6
5576 else
5577 echo "$as_me:$LINENO: result: no" >&5
5578echo "${ECHO_T}no" >&6
5579 fi
5580
5581
5582 enablestring=
5583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5584echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5585 no_cache=0
5586 # Check whether --enable-gzstream or --disable-gzstream was given.
5587if test "${enable_gzstream+set}" = set; then
5588 enableval="$enable_gzstream"
5589
5590 if test "$enableval" = yes; then
5591 ac_cv_use_gzstream='wxUSE_GZSTREAM=yes'
5592 else
5593 ac_cv_use_gzstream='wxUSE_GZSTREAM=no'
5594 fi
5595
5596else
5597
5598 LINE=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5599 if test "x$LINE" != x ; then
5600 eval "DEFAULT_$LINE"
5601 else
5602 no_cache=1
5603 fi
5604
5605 ac_cv_use_gzstream='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5606
5607fi;
5608
5609 eval "$ac_cv_use_gzstream"
5610 if test "$no_cache" != 1; then
5611 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5612 fi
5613
5614 if test "$wxUSE_GZSTREAM" = yes; then
5615 echo "$as_me:$LINENO: result: yes" >&5
5616echo "${ECHO_T}yes" >&6
5617 else
5618 echo "$as_me:$LINENO: result: no" >&5
5619echo "${ECHO_T}no" >&6
5620 fi
5621
5622
5623
5624 enablestring=
5625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5626echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5627 no_cache=0
5628 # Check whether --enable-url or --disable-url was given.
5629if test "${enable_url+set}" = set; then
5630 enableval="$enable_url"
5631
5632 if test "$enableval" = yes; then
5633 ac_cv_use_url='wxUSE_URL=yes'
5634 else
5635 ac_cv_use_url='wxUSE_URL=no'
5636 fi
5637
5638else
5639
5640 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5641 if test "x$LINE" != x ; then
5642 eval "DEFAULT_$LINE"
5643 else
5644 no_cache=1
5645 fi
5646
5647 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5648
5649fi;
5650
5651 eval "$ac_cv_use_url"
5652 if test "$no_cache" != 1; then
5653 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5654 fi
5655
5656 if test "$wxUSE_URL" = yes; then
5657 echo "$as_me:$LINENO: result: yes" >&5
5658echo "${ECHO_T}yes" >&6
5659 else
5660 echo "$as_me:$LINENO: result: no" >&5
5661echo "${ECHO_T}no" >&6
5662 fi
5663
5664
5665 enablestring=
5666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5667echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5668 no_cache=0
5669 # Check whether --enable-protocol or --disable-protocol was given.
5670if test "${enable_protocol+set}" = set; then
5671 enableval="$enable_protocol"
5672
5673 if test "$enableval" = yes; then
5674 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5675 else
5676 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5677 fi
5678
5679else
5680
5681 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5682 if test "x$LINE" != x ; then
5683 eval "DEFAULT_$LINE"
5684 else
5685 no_cache=1
5686 fi
5687
5688 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5689
5690fi;
5691
5692 eval "$ac_cv_use_protocol"
5693 if test "$no_cache" != 1; then
5694 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5695 fi
5696
5697 if test "$wxUSE_PROTOCOL" = yes; then
5698 echo "$as_me:$LINENO: result: yes" >&5
5699echo "${ECHO_T}yes" >&6
5700 else
5701 echo "$as_me:$LINENO: result: no" >&5
5702echo "${ECHO_T}no" >&6
5703 fi
5704
5705
5706 enablestring=
5707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5708echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5709 no_cache=0
5710 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5711if test "${enable_protocol_http+set}" = set; then
5712 enableval="$enable_protocol_http"
5713
5714 if test "$enableval" = yes; then
5715 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5716 else
5717 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5718 fi
5719
5720else
5721
5722 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5723 if test "x$LINE" != x ; then
5724 eval "DEFAULT_$LINE"
5725 else
5726 no_cache=1
5727 fi
5728
5729 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5730
5731fi;
5732
5733 eval "$ac_cv_use_protocol_http"
5734 if test "$no_cache" != 1; then
5735 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5736 fi
5737
5738 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5739 echo "$as_me:$LINENO: result: yes" >&5
5740echo "${ECHO_T}yes" >&6
5741 else
5742 echo "$as_me:$LINENO: result: no" >&5
5743echo "${ECHO_T}no" >&6
5744 fi
5745
5746
5747 enablestring=
5748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5749echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5750 no_cache=0
5751 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5752if test "${enable_protocol_ftp+set}" = set; then
5753 enableval="$enable_protocol_ftp"
5754
5755 if test "$enableval" = yes; then
5756 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5757 else
5758 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5759 fi
5760
5761else
5762
5763 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5764 if test "x$LINE" != x ; then
5765 eval "DEFAULT_$LINE"
5766 else
5767 no_cache=1
5768 fi
5769
5770 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5771
5772fi;
5773
5774 eval "$ac_cv_use_protocol_ftp"
5775 if test "$no_cache" != 1; then
5776 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5777 fi
5778
5779 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5780 echo "$as_me:$LINENO: result: yes" >&5
5781echo "${ECHO_T}yes" >&6
5782 else
5783 echo "$as_me:$LINENO: result: no" >&5
5784echo "${ECHO_T}no" >&6
5785 fi
5786
5787
5788 enablestring=
5789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5790echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5791 no_cache=0
5792 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5793if test "${enable_protocol_file+set}" = set; then
5794 enableval="$enable_protocol_file"
5795
5796 if test "$enableval" = yes; then
5797 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5798 else
5799 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5800 fi
5801
5802else
5803
5804 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5805 if test "x$LINE" != x ; then
5806 eval "DEFAULT_$LINE"
5807 else
5808 no_cache=1
5809 fi
5810
5811 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5812
5813fi;
5814
5815 eval "$ac_cv_use_protocol_file"
5816 if test "$no_cache" != 1; then
5817 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5818 fi
5819
5820 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5821 echo "$as_me:$LINENO: result: yes" >&5
5822echo "${ECHO_T}yes" >&6
5823 else
5824 echo "$as_me:$LINENO: result: no" >&5
5825echo "${ECHO_T}no" >&6
5826 fi
5827
5828
5829
5830
5831
5832 enablestring=
5833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5834echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5835 no_cache=0
5836 # Check whether --enable-threads or --disable-threads was given.
5837if test "${enable_threads+set}" = set; then
5838 enableval="$enable_threads"
5839
5840 if test "$enableval" = yes; then
5841 ac_cv_use_threads='wxUSE_THREADS=yes'
5842 else
5843 ac_cv_use_threads='wxUSE_THREADS=no'
5844 fi
5845
5846else
5847
5848 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5849 if test "x$LINE" != x ; then
5850 eval "DEFAULT_$LINE"
5851 else
5852 no_cache=1
5853 fi
5854
5855 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5856
5857fi;
5858
5859 eval "$ac_cv_use_threads"
5860 if test "$no_cache" != 1; then
5861 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5862 fi
5863
5864 if test "$wxUSE_THREADS" = yes; then
5865 echo "$as_me:$LINENO: result: yes" >&5
5866echo "${ECHO_T}yes" >&6
5867 else
5868 echo "$as_me:$LINENO: result: no" >&5
5869echo "${ECHO_T}no" >&6
5870 fi
5871
5872
5873if test "$wxUSE_GUI" = "yes"; then
5874
5875
5876
5877 enablestring=
5878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5879echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5880 no_cache=0
5881 # Check whether --enable-docview or --disable-docview was given.
5882if test "${enable_docview+set}" = set; then
5883 enableval="$enable_docview"
5884
5885 if test "$enableval" = yes; then
5886 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5887 else
5888 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5889 fi
5890
5891else
5892
5893 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5894 if test "x$LINE" != x ; then
5895 eval "DEFAULT_$LINE"
5896 else
5897 no_cache=1
5898 fi
5899
5900 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5901
5902fi;
5903
5904 eval "$ac_cv_use_docview"
5905 if test "$no_cache" != 1; then
5906 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5907 fi
5908
5909 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5910 echo "$as_me:$LINENO: result: yes" >&5
5911echo "${ECHO_T}yes" >&6
5912 else
5913 echo "$as_me:$LINENO: result: no" >&5
5914echo "${ECHO_T}no" >&6
5915 fi
5916
5917
5918 enablestring=
5919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5920echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5921 no_cache=0
5922 # Check whether --enable-help or --disable-help was given.
5923if test "${enable_help+set}" = set; then
5924 enableval="$enable_help"
5925
5926 if test "$enableval" = yes; then
5927 ac_cv_use_help='wxUSE_HELP=yes'
5928 else
5929 ac_cv_use_help='wxUSE_HELP=no'
5930 fi
5931
5932else
5933
5934 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5935 if test "x$LINE" != x ; then
5936 eval "DEFAULT_$LINE"
5937 else
5938 no_cache=1
5939 fi
5940
5941 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5942
5943fi;
5944
5945 eval "$ac_cv_use_help"
5946 if test "$no_cache" != 1; then
5947 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5948 fi
5949
5950 if test "$wxUSE_HELP" = yes; then
5951 echo "$as_me:$LINENO: result: yes" >&5
5952echo "${ECHO_T}yes" >&6
5953 else
5954 echo "$as_me:$LINENO: result: no" >&5
5955echo "${ECHO_T}no" >&6
5956 fi
5957
5958
5959 enablestring=
5960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5961echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5962 no_cache=0
5963 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5964if test "${enable_mshtmlhelp+set}" = set; then
5965 enableval="$enable_mshtmlhelp"
5966
5967 if test "$enableval" = yes; then
5968 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5969 else
5970 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5971 fi
5972
5973else
5974
5975 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5976 if test "x$LINE" != x ; then
5977 eval "DEFAULT_$LINE"
5978 else
5979 no_cache=1
5980 fi
5981
5982 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5983
5984fi;
5985
5986 eval "$ac_cv_use_mshtmlhelp"
5987 if test "$no_cache" != 1; then
5988 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5989 fi
5990
5991 if test "$wxUSE_MS_HTML_HELP" = yes; then
5992 echo "$as_me:$LINENO: result: yes" >&5
5993echo "${ECHO_T}yes" >&6
5994 else
5995 echo "$as_me:$LINENO: result: no" >&5
5996echo "${ECHO_T}no" >&6
5997 fi
5998
5999
6000 enablestring=
6001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6002echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6003 no_cache=0
6004 # Check whether --enable-html or --disable-html was given.
6005if test "${enable_html+set}" = set; then
6006 enableval="$enable_html"
6007
6008 if test "$enableval" = yes; then
6009 ac_cv_use_html='wxUSE_HTML=yes'
6010 else
6011 ac_cv_use_html='wxUSE_HTML=no'
6012 fi
6013
6014else
6015
6016 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6017 if test "x$LINE" != x ; then
6018 eval "DEFAULT_$LINE"
6019 else
6020 no_cache=1
6021 fi
6022
6023 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6024
6025fi;
6026
6027 eval "$ac_cv_use_html"
6028 if test "$no_cache" != 1; then
6029 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6030 fi
6031
6032 if test "$wxUSE_HTML" = yes; then
6033 echo "$as_me:$LINENO: result: yes" >&5
6034echo "${ECHO_T}yes" >&6
6035 else
6036 echo "$as_me:$LINENO: result: no" >&5
6037echo "${ECHO_T}no" >&6
6038 fi
6039
6040
6041 enablestring=
6042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6043echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6044 no_cache=0
6045 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6046if test "${enable_htmlhelp+set}" = set; then
6047 enableval="$enable_htmlhelp"
6048
6049 if test "$enableval" = yes; then
6050 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6051 else
6052 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6053 fi
6054
6055else
6056
6057 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6058 if test "x$LINE" != x ; then
6059 eval "DEFAULT_$LINE"
6060 else
6061 no_cache=1
6062 fi
6063
6064 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6065
6066fi;
6067
6068 eval "$ac_cv_use_htmlhelp"
6069 if test "$no_cache" != 1; then
6070 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6071 fi
6072
6073 if test "$wxUSE_WXHTML_HELP" = yes; then
6074 echo "$as_me:$LINENO: result: yes" >&5
6075echo "${ECHO_T}yes" >&6
6076 else
6077 echo "$as_me:$LINENO: result: no" >&5
6078echo "${ECHO_T}no" >&6
6079 fi
6080
6081
6082 enablestring=
6083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6084echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6085 no_cache=0
6086 # Check whether --enable-constraints or --disable-constraints was given.
6087if test "${enable_constraints+set}" = set; then
6088 enableval="$enable_constraints"
6089
6090 if test "$enableval" = yes; then
6091 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6092 else
6093 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6094 fi
6095
6096else
6097
6098 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6099 if test "x$LINE" != x ; then
6100 eval "DEFAULT_$LINE"
6101 else
6102 no_cache=1
6103 fi
6104
6105 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6106
6107fi;
6108
6109 eval "$ac_cv_use_constraints"
6110 if test "$no_cache" != 1; then
6111 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6112 fi
6113
6114 if test "$wxUSE_CONSTRAINTS" = yes; then
6115 echo "$as_me:$LINENO: result: yes" >&5
6116echo "${ECHO_T}yes" >&6
6117 else
6118 echo "$as_me:$LINENO: result: no" >&5
6119echo "${ECHO_T}no" >&6
6120 fi
6121
6122
6123 enablestring=
6124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6125echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6126 no_cache=0
6127 # Check whether --enable-printarch or --disable-printarch was given.
6128if test "${enable_printarch+set}" = set; then
6129 enableval="$enable_printarch"
6130
6131 if test "$enableval" = yes; then
6132 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6133 else
6134 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6135 fi
6136
6137else
6138
6139 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6140 if test "x$LINE" != x ; then
6141 eval "DEFAULT_$LINE"
6142 else
6143 no_cache=1
6144 fi
6145
6146 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6147
6148fi;
6149
6150 eval "$ac_cv_use_printarch"
6151 if test "$no_cache" != 1; then
6152 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6153 fi
6154
6155 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6156 echo "$as_me:$LINENO: result: yes" >&5
6157echo "${ECHO_T}yes" >&6
6158 else
6159 echo "$as_me:$LINENO: result: no" >&5
6160echo "${ECHO_T}no" >&6
6161 fi
6162
6163
6164 enablestring=
6165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6166echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6167 no_cache=0
6168 # Check whether --enable-mdi or --disable-mdi was given.
6169if test "${enable_mdi+set}" = set; then
6170 enableval="$enable_mdi"
6171
6172 if test "$enableval" = yes; then
6173 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6174 else
6175 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6176 fi
6177
6178else
6179
6180 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6181 if test "x$LINE" != x ; then
6182 eval "DEFAULT_$LINE"
6183 else
6184 no_cache=1
6185 fi
6186
6187 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6188
6189fi;
6190
6191 eval "$ac_cv_use_mdi"
6192 if test "$no_cache" != 1; then
6193 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6194 fi
6195
6196 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6197 echo "$as_me:$LINENO: result: yes" >&5
6198echo "${ECHO_T}yes" >&6
6199 else
6200 echo "$as_me:$LINENO: result: no" >&5
6201echo "${ECHO_T}no" >&6
6202 fi
6203
6204
6205 enablestring=
6206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6207echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6208 no_cache=0
6209 # Check whether --enable-loggui or --disable-loggui was given.
6210if test "${enable_loggui+set}" = set; then
6211 enableval="$enable_loggui"
6212
6213 if test "$enableval" = yes; then
6214 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6215 else
6216 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6217 fi
6218
6219else
6220
6221 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6222 if test "x$LINE" != x ; then
6223 eval "DEFAULT_$LINE"
6224 else
6225 no_cache=1
6226 fi
6227
6228 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6229
6230fi;
6231
6232 eval "$ac_cv_use_loggui"
6233 if test "$no_cache" != 1; then
6234 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6235 fi
6236
6237 if test "$wxUSE_LOGGUI" = yes; then
6238 echo "$as_me:$LINENO: result: yes" >&5
6239echo "${ECHO_T}yes" >&6
6240 else
6241 echo "$as_me:$LINENO: result: no" >&5
6242echo "${ECHO_T}no" >&6
6243 fi
6244
6245
6246 enablestring=
6247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6248echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6249 no_cache=0
6250 # Check whether --enable-logwin or --disable-logwin was given.
6251if test "${enable_logwin+set}" = set; then
6252 enableval="$enable_logwin"
6253
6254 if test "$enableval" = yes; then
6255 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6256 else
6257 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6258 fi
6259
6260else
6261
6262 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6263 if test "x$LINE" != x ; then
6264 eval "DEFAULT_$LINE"
6265 else
6266 no_cache=1
6267 fi
6268
6269 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6270
6271fi;
6272
6273 eval "$ac_cv_use_logwin"
6274 if test "$no_cache" != 1; then
6275 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6276 fi
6277
6278 if test "$wxUSE_LOGWINDOW" = yes; then
6279 echo "$as_me:$LINENO: result: yes" >&5
6280echo "${ECHO_T}yes" >&6
6281 else
6282 echo "$as_me:$LINENO: result: no" >&5
6283echo "${ECHO_T}no" >&6
6284 fi
6285
6286
6287 enablestring=
6288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6289echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6290 no_cache=0
6291 # Check whether --enable-logdialog or --disable-logdialog was given.
6292if test "${enable_logdialog+set}" = set; then
6293 enableval="$enable_logdialog"
6294
6295 if test "$enableval" = yes; then
6296 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6297 else
6298 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6299 fi
6300
6301else
6302
6303 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6304 if test "x$LINE" != x ; then
6305 eval "DEFAULT_$LINE"
6306 else
6307 no_cache=1
6308 fi
6309
6310 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6311
6312fi;
6313
6314 eval "$ac_cv_use_logdialog"
6315 if test "$no_cache" != 1; then
6316 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6317 fi
6318
6319 if test "$wxUSE_LOGDIALOG" = yes; then
6320 echo "$as_me:$LINENO: result: yes" >&5
6321echo "${ECHO_T}yes" >&6
6322 else
6323 echo "$as_me:$LINENO: result: no" >&5
6324echo "${ECHO_T}no" >&6
6325 fi
6326
6327
6328
6329 enablestring=
6330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6331echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6332 no_cache=0
6333 # Check whether --enable-postscript or --disable-postscript was given.
6334if test "${enable_postscript+set}" = set; then
6335 enableval="$enable_postscript"
6336
6337 if test "$enableval" = yes; then
6338 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6339 else
6340 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6341 fi
6342
6343else
6344
6345 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6346 if test "x$LINE" != x ; then
6347 eval "DEFAULT_$LINE"
6348 else
6349 no_cache=1
6350 fi
6351
6352 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6353
6354fi;
6355
6356 eval "$ac_cv_use_postscript"
6357 if test "$no_cache" != 1; then
6358 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6359 fi
6360
6361 if test "$wxUSE_POSTSCRIPT" = yes; then
6362 echo "$as_me:$LINENO: result: yes" >&5
6363echo "${ECHO_T}yes" >&6
6364 else
6365 echo "$as_me:$LINENO: result: no" >&5
6366echo "${ECHO_T}no" >&6
6367 fi
6368
6369
6370
6371
6372
6373 enablestring=
6374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6375echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6376 no_cache=0
6377 # Check whether --enable-prologio or --disable-prologio was given.
6378if test "${enable_prologio+set}" = set; then
6379 enableval="$enable_prologio"
6380
6381 if test "$enableval" = yes; then
6382 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6383 else
6384 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6385 fi
6386
6387else
6388
6389 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6390 if test "x$LINE" != x ; then
6391 eval "DEFAULT_$LINE"
6392 else
6393 no_cache=1
6394 fi
6395
6396 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6397
6398fi;
6399
6400 eval "$ac_cv_use_prologio"
6401 if test "$no_cache" != 1; then
6402 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6403 fi
6404
6405 if test "$wxUSE_PROLOGIO" = yes; then
6406 echo "$as_me:$LINENO: result: yes" >&5
6407echo "${ECHO_T}yes" >&6
6408 else
6409 echo "$as_me:$LINENO: result: no" >&5
6410echo "${ECHO_T}no" >&6
6411 fi
6412
6413
6414 enablestring=
6415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6416echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6417 no_cache=0
6418 # Check whether --enable-resources or --disable-resources was given.
6419if test "${enable_resources+set}" = set; then
6420 enableval="$enable_resources"
6421
6422 if test "$enableval" = yes; then
6423 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6424 else
6425 ac_cv_use_resources='wxUSE_RESOURCES=no'
6426 fi
6427
6428else
6429
6430 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6431 if test "x$LINE" != x ; then
6432 eval "DEFAULT_$LINE"
6433 else
6434 no_cache=1
6435 fi
6436
6437 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6438
6439fi;
6440
6441 eval "$ac_cv_use_resources"
6442 if test "$no_cache" != 1; then
6443 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6444 fi
6445
6446 if test "$wxUSE_RESOURCES" = yes; then
6447 echo "$as_me:$LINENO: result: yes" >&5
6448echo "${ECHO_T}yes" >&6
6449 else
6450 echo "$as_me:$LINENO: result: no" >&5
6451echo "${ECHO_T}no" >&6
6452 fi
6453
6454
6455
6456
6457 enablestring=
6458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6459echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6460 no_cache=0
6461 # Check whether --enable-clipboard or --disable-clipboard was given.
6462if test "${enable_clipboard+set}" = set; then
6463 enableval="$enable_clipboard"
6464
6465 if test "$enableval" = yes; then
6466 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6467 else
6468 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6469 fi
6470
6471else
6472
6473 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6474 if test "x$LINE" != x ; then
6475 eval "DEFAULT_$LINE"
6476 else
6477 no_cache=1
6478 fi
6479
6480 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6481
6482fi;
6483
6484 eval "$ac_cv_use_clipboard"
6485 if test "$no_cache" != 1; then
6486 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6487 fi
6488
6489 if test "$wxUSE_CLIPBOARD" = yes; then
6490 echo "$as_me:$LINENO: result: yes" >&5
6491echo "${ECHO_T}yes" >&6
6492 else
6493 echo "$as_me:$LINENO: result: no" >&5
6494echo "${ECHO_T}no" >&6
6495 fi
6496
6497
6498 enablestring=
6499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6500echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6501 no_cache=0
6502 # Check whether --enable-dnd or --disable-dnd was given.
6503if test "${enable_dnd+set}" = set; then
6504 enableval="$enable_dnd"
6505
6506 if test "$enableval" = yes; then
6507 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6508 else
6509 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6510 fi
6511
6512else
6513
6514 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6515 if test "x$LINE" != x ; then
6516 eval "DEFAULT_$LINE"
6517 else
6518 no_cache=1
6519 fi
6520
6521 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6522
6523fi;
6524
6525 eval "$ac_cv_use_dnd"
6526 if test "$no_cache" != 1; then
6527 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6528 fi
6529
6530 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6531 echo "$as_me:$LINENO: result: yes" >&5
6532echo "${ECHO_T}yes" >&6
6533 else
6534 echo "$as_me:$LINENO: result: no" >&5
6535echo "${ECHO_T}no" >&6
6536 fi
6537
6538
6539 enablestring=
6540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6541echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6542 no_cache=0
6543 # Check whether --enable-metafile or --disable-metafile was given.
6544if test "${enable_metafile+set}" = set; then
6545 enableval="$enable_metafile"
6546
6547 if test "$enableval" = yes; then
6548 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6549 else
6550 ac_cv_use_metafile='wxUSE_METAFILE=no'
6551 fi
6552
6553else
6554
6555 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6556 if test "x$LINE" != x ; then
6557 eval "DEFAULT_$LINE"
6558 else
6559 no_cache=1
6560 fi
6561
6562 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6563
6564fi;
6565
6566 eval "$ac_cv_use_metafile"
6567 if test "$no_cache" != 1; then
6568 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6569 fi
6570
6571 if test "$wxUSE_METAFILE" = yes; then
6572 echo "$as_me:$LINENO: result: yes" >&5
6573echo "${ECHO_T}yes" >&6
6574 else
6575 echo "$as_me:$LINENO: result: no" >&5
6576echo "${ECHO_T}no" >&6
6577 fi
6578
6579
6580
6581
6582
6583 enablestring=
6584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6585echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6586 no_cache=0
6587 # Check whether --enable-controls or --disable-controls was given.
6588if test "${enable_controls+set}" = set; then
6589 enableval="$enable_controls"
6590
6591 if test "$enableval" = yes; then
6592 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6593 else
6594 ac_cv_use_controls='wxUSE_CONTROLS=no'
6595 fi
6596
6597else
6598
6599 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6600 if test "x$LINE" != x ; then
6601 eval "DEFAULT_$LINE"
6602 else
6603 no_cache=1
6604 fi
6605
6606 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6607
6608fi;
6609
6610 eval "$ac_cv_use_controls"
6611 if test "$no_cache" != 1; then
6612 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6613 fi
6614
6615 if test "$wxUSE_CONTROLS" = yes; then
6616 echo "$as_me:$LINENO: result: yes" >&5
6617echo "${ECHO_T}yes" >&6
6618 else
6619 echo "$as_me:$LINENO: result: no" >&5
6620echo "${ECHO_T}no" >&6
6621 fi
6622
6623
6624if test "$wxUSE_CONTROLS" = "yes"; then
6625 DEFAULT_wxUSE_ACCEL=yes
6626 DEFAULT_wxUSE_BMPBUTTON=yes
6627 DEFAULT_wxUSE_BUTTON=yes
6628 DEFAULT_wxUSE_CALCTRL=no
6629 DEFAULT_wxUSE_CARET=yes
6630 DEFAULT_wxUSE_COMBOBOX=yes
6631 DEFAULT_wxUSE_CHECKBOX=yes
6632 DEFAULT_wxUSE_CHECKLISTBOX=yes
6633 DEFAULT_wxUSE_CHOICE=yes
6634 DEFAULT_wxUSE_GAUGE=yes
6635 DEFAULT_wxUSE_GRID=yes
6636 DEFAULT_wxUSE_IMAGLIST=yes
6637 DEFAULT_wxUSE_LISTBOOK=yes
6638 DEFAULT_wxUSE_LISTBOX=yes
6639 DEFAULT_wxUSE_LISTCTRL=yes
6640 DEFAULT_wxUSE_NOTEBOOK=yes
6641 DEFAULT_wxUSE_RADIOBOX=yes
6642 DEFAULT_wxUSE_RADIOBTN=yes
6643 DEFAULT_wxUSE_SASH=yes
6644 DEFAULT_wxUSE_SCROLLBAR=yes
6645 DEFAULT_wxUSE_SLIDER=yes
6646 DEFAULT_wxUSE_SPINBTN=yes
6647 DEFAULT_wxUSE_SPINCTRL=yes
6648 DEFAULT_wxUSE_SPLITTER=yes
6649 DEFAULT_wxUSE_STATBMP=yes
6650 DEFAULT_wxUSE_STATBOX=yes
6651 DEFAULT_wxUSE_STATLINE=yes
6652 DEFAULT_wxUSE_STATUSBAR=yes
6653 DEFAULT_wxUSE_TAB_DIALOG=yes
6654 DEFAULT_wxUSE_TOGGLEBTN=yes
6655 DEFAULT_wxUSE_TOOLBAR=yes
6656 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6657 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6658 DEFAULT_wxUSE_TOOLTIPS=yes
6659 DEFAULT_wxUSE_TREECTRL=yes
6660 DEFAULT_wxUSE_POPUPWIN=yes
6661 DEFAULT_wxUSE_TIPWINDOW=yes
6662elif test "$wxUSE_CONTROLS" = "no"; then
6663 DEFAULT_wxUSE_ACCEL=no
6664 DEFAULT_wxUSE_BMPBUTTON=no
6665 DEFAULT_wxUSE_BUTTON=no
6666 DEFAULT_wxUSE_CALCTRL=no
6667 DEFAULT_wxUSE_CARET=no
6668 DEFAULT_wxUSE_COMBOBOX=no
6669 DEFAULT_wxUSE_CHECKBOX=no
6670 DEFAULT_wxUSE_CHECKLISTBOX=no
6671 DEFAULT_wxUSE_CHOICE=no
6672 DEFAULT_wxUSE_GAUGE=no
6673 DEFAULT_wxUSE_GRID=no
6674 DEFAULT_wxUSE_IMAGLIST=no
6675 DEFAULT_wxUSE_LISTBOOK=no
6676 DEFAULT_wxUSE_LISTBOX=no
6677 DEFAULT_wxUSE_LISTCTRL=no
6678 DEFAULT_wxUSE_NOTEBOOK=no
6679 DEFAULT_wxUSE_RADIOBOX=no
6680 DEFAULT_wxUSE_RADIOBTN=no
6681 DEFAULT_wxUSE_SASH=no
6682 DEFAULT_wxUSE_SCROLLBAR=no
6683 DEFAULT_wxUSE_SLIDER=no
6684 DEFAULT_wxUSE_SPINBTN=no
6685 DEFAULT_wxUSE_SPINCTRL=no
6686 DEFAULT_wxUSE_SPLITTER=no
6687 DEFAULT_wxUSE_STATBMP=no
6688 DEFAULT_wxUSE_STATBOX=no
6689 DEFAULT_wxUSE_STATLINE=no
6690 DEFAULT_wxUSE_STATUSBAR=no
6691 DEFAULT_wxUSE_TAB_DIALOG=no
6692 DEFAULT_wxUSE_TOGGLEBTN=no
6693 DEFAULT_wxUSE_TOOLBAR=no
6694 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6695 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6696 DEFAULT_wxUSE_TOOLTIPS=no
6697 DEFAULT_wxUSE_TREECTRL=no
6698 DEFAULT_wxUSE_POPUPWIN=no
6699 DEFAULT_wxUSE_TIPWINDOW=no
6700fi
6701
6702## FIXME: This is a blatant hack
6703if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6704 wxUSE_PRINTING_ARCHITECTURE=no
6705 wxUSE_DRAG_AND_DROP=no
6706 # Generic notebook requires tab dialog
6707 DEFAULT_wxUSE_TABDIALOG=yes
6708 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6709 DEFAULT_wxUSE_SCROLLBAR=no
6710 DEFAULT_wxUSE_TOOLTIPS=no
6711 DEFAULT_wxUSE_DRAGIMAGE=no
6712fi
6713
6714
6715 enablestring=
6716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6717echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6718 no_cache=0
6719 # Check whether --enable-accel or --disable-accel was given.
6720if test "${enable_accel+set}" = set; then
6721 enableval="$enable_accel"
6722
6723 if test "$enableval" = yes; then
6724 ac_cv_use_accel='wxUSE_ACCEL=yes'
6725 else
6726 ac_cv_use_accel='wxUSE_ACCEL=no'
6727 fi
6728
6729else
6730
6731 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6732 if test "x$LINE" != x ; then
6733 eval "DEFAULT_$LINE"
6734 else
6735 no_cache=1
6736 fi
6737
6738 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6739
6740fi;
6741
6742 eval "$ac_cv_use_accel"
6743 if test "$no_cache" != 1; then
6744 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6745 fi
6746
6747 if test "$wxUSE_ACCEL" = yes; then
6748 echo "$as_me:$LINENO: result: yes" >&5
6749echo "${ECHO_T}yes" >&6
6750 else
6751 echo "$as_me:$LINENO: result: no" >&5
6752echo "${ECHO_T}no" >&6
6753 fi
6754
6755
6756 enablestring=
6757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6758echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6759 no_cache=0
6760 # Check whether --enable-button or --disable-button was given.
6761if test "${enable_button+set}" = set; then
6762 enableval="$enable_button"
6763
6764 if test "$enableval" = yes; then
6765 ac_cv_use_button='wxUSE_BUTTON=yes'
6766 else
6767 ac_cv_use_button='wxUSE_BUTTON=no'
6768 fi
6769
6770else
6771
6772 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6773 if test "x$LINE" != x ; then
6774 eval "DEFAULT_$LINE"
6775 else
6776 no_cache=1
6777 fi
6778
6779 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6780
6781fi;
6782
6783 eval "$ac_cv_use_button"
6784 if test "$no_cache" != 1; then
6785 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6786 fi
6787
6788 if test "$wxUSE_BUTTON" = yes; then
6789 echo "$as_me:$LINENO: result: yes" >&5
6790echo "${ECHO_T}yes" >&6
6791 else
6792 echo "$as_me:$LINENO: result: no" >&5
6793echo "${ECHO_T}no" >&6
6794 fi
6795
6796
6797 enablestring=
6798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6799echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6800 no_cache=0
6801 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6802if test "${enable_bmpbutton+set}" = set; then
6803 enableval="$enable_bmpbutton"
6804
6805 if test "$enableval" = yes; then
6806 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6807 else
6808 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6809 fi
6810
6811else
6812
6813 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6814 if test "x$LINE" != x ; then
6815 eval "DEFAULT_$LINE"
6816 else
6817 no_cache=1
6818 fi
6819
6820 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6821
6822fi;
6823
6824 eval "$ac_cv_use_bmpbutton"
6825 if test "$no_cache" != 1; then
6826 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6827 fi
6828
6829 if test "$wxUSE_BMPBUTTON" = yes; then
6830 echo "$as_me:$LINENO: result: yes" >&5
6831echo "${ECHO_T}yes" >&6
6832 else
6833 echo "$as_me:$LINENO: result: no" >&5
6834echo "${ECHO_T}no" >&6
6835 fi
6836
6837
6838 enablestring=
6839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6840echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6841 no_cache=0
6842 # Check whether --enable-calendar or --disable-calendar was given.
6843if test "${enable_calendar+set}" = set; then
6844 enableval="$enable_calendar"
6845
6846 if test "$enableval" = yes; then
6847 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6848 else
6849 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6850 fi
6851
6852else
6853
6854 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6855 if test "x$LINE" != x ; then
6856 eval "DEFAULT_$LINE"
6857 else
6858 no_cache=1
6859 fi
6860
6861 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6862
6863fi;
6864
6865 eval "$ac_cv_use_calendar"
6866 if test "$no_cache" != 1; then
6867 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6868 fi
6869
6870 if test "$wxUSE_CALCTRL" = yes; then
6871 echo "$as_me:$LINENO: result: yes" >&5
6872echo "${ECHO_T}yes" >&6
6873 else
6874 echo "$as_me:$LINENO: result: no" >&5
6875echo "${ECHO_T}no" >&6
6876 fi
6877
6878
6879 enablestring=
6880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6881echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6882 no_cache=0
6883 # Check whether --enable-caret or --disable-caret was given.
6884if test "${enable_caret+set}" = set; then
6885 enableval="$enable_caret"
6886
6887 if test "$enableval" = yes; then
6888 ac_cv_use_caret='wxUSE_CARET=yes'
6889 else
6890 ac_cv_use_caret='wxUSE_CARET=no'
6891 fi
6892
6893else
6894
6895 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6896 if test "x$LINE" != x ; then
6897 eval "DEFAULT_$LINE"
6898 else
6899 no_cache=1
6900 fi
6901
6902 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6903
6904fi;
6905
6906 eval "$ac_cv_use_caret"
6907 if test "$no_cache" != 1; then
6908 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6909 fi
6910
6911 if test "$wxUSE_CARET" = yes; then
6912 echo "$as_me:$LINENO: result: yes" >&5
6913echo "${ECHO_T}yes" >&6
6914 else
6915 echo "$as_me:$LINENO: result: no" >&5
6916echo "${ECHO_T}no" >&6
6917 fi
6918
6919
6920 enablestring=
6921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6922echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6923 no_cache=0
6924 # Check whether --enable-checkbox or --disable-checkbox was given.
6925if test "${enable_checkbox+set}" = set; then
6926 enableval="$enable_checkbox"
6927
6928 if test "$enableval" = yes; then
6929 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6930 else
6931 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6932 fi
6933
6934else
6935
6936 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6937 if test "x$LINE" != x ; then
6938 eval "DEFAULT_$LINE"
6939 else
6940 no_cache=1
6941 fi
6942
6943 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6944
6945fi;
6946
6947 eval "$ac_cv_use_checkbox"
6948 if test "$no_cache" != 1; then
6949 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6950 fi
6951
6952 if test "$wxUSE_CHECKBOX" = yes; then
6953 echo "$as_me:$LINENO: result: yes" >&5
6954echo "${ECHO_T}yes" >&6
6955 else
6956 echo "$as_me:$LINENO: result: no" >&5
6957echo "${ECHO_T}no" >&6
6958 fi
6959
6960
6961 enablestring=
6962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6963echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6964 no_cache=0
6965 # Check whether --enable-checklst or --disable-checklst was given.
6966if test "${enable_checklst+set}" = set; then
6967 enableval="$enable_checklst"
6968
6969 if test "$enableval" = yes; then
6970 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6971 else
6972 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6973 fi
6974
6975else
6976
6977 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6978 if test "x$LINE" != x ; then
6979 eval "DEFAULT_$LINE"
6980 else
6981 no_cache=1
6982 fi
6983
6984 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6985
6986fi;
6987
6988 eval "$ac_cv_use_checklst"
6989 if test "$no_cache" != 1; then
6990 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6991 fi
6992
6993 if test "$wxUSE_CHECKLST" = yes; then
6994 echo "$as_me:$LINENO: result: yes" >&5
6995echo "${ECHO_T}yes" >&6
6996 else
6997 echo "$as_me:$LINENO: result: no" >&5
6998echo "${ECHO_T}no" >&6
6999 fi
7000
7001
7002 enablestring=
7003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7004echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7005 no_cache=0
7006 # Check whether --enable-choice or --disable-choice was given.
7007if test "${enable_choice+set}" = set; then
7008 enableval="$enable_choice"
7009
7010 if test "$enableval" = yes; then
7011 ac_cv_use_choice='wxUSE_CHOICE=yes'
7012 else
7013 ac_cv_use_choice='wxUSE_CHOICE=no'
7014 fi
7015
7016else
7017
7018 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7019 if test "x$LINE" != x ; then
7020 eval "DEFAULT_$LINE"
7021 else
7022 no_cache=1
7023 fi
7024
7025 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7026
7027fi;
7028
7029 eval "$ac_cv_use_choice"
7030 if test "$no_cache" != 1; then
7031 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7032 fi
7033
7034 if test "$wxUSE_CHOICE" = yes; then
7035 echo "$as_me:$LINENO: result: yes" >&5
7036echo "${ECHO_T}yes" >&6
7037 else
7038 echo "$as_me:$LINENO: result: no" >&5
7039echo "${ECHO_T}no" >&6
7040 fi
7041
7042
7043 enablestring=
7044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7045echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7046 no_cache=0
7047 # Check whether --enable-combobox or --disable-combobox was given.
7048if test "${enable_combobox+set}" = set; then
7049 enableval="$enable_combobox"
7050
7051 if test "$enableval" = yes; then
7052 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7053 else
7054 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7055 fi
7056
7057else
7058
7059 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7060 if test "x$LINE" != x ; then
7061 eval "DEFAULT_$LINE"
7062 else
7063 no_cache=1
7064 fi
7065
7066 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7067
7068fi;
7069
7070 eval "$ac_cv_use_combobox"
7071 if test "$no_cache" != 1; then
7072 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7073 fi
7074
7075 if test "$wxUSE_COMBOBOX" = yes; then
7076 echo "$as_me:$LINENO: result: yes" >&5
7077echo "${ECHO_T}yes" >&6
7078 else
7079 echo "$as_me:$LINENO: result: no" >&5
7080echo "${ECHO_T}no" >&6
7081 fi
7082
7083
7084 enablestring=
7085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7086echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7087 no_cache=0
7088 # Check whether --enable-display or --disable-display was given.
7089if test "${enable_display+set}" = set; then
7090 enableval="$enable_display"
7091
7092 if test "$enableval" = yes; then
7093 ac_cv_use_display='wxUSE_DISPLAY=yes'
7094 else
7095 ac_cv_use_display='wxUSE_DISPLAY=no'
7096 fi
7097
7098else
7099
7100 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7101 if test "x$LINE" != x ; then
7102 eval "DEFAULT_$LINE"
7103 else
7104 no_cache=1
7105 fi
7106
7107 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7108
7109fi;
7110
7111 eval "$ac_cv_use_display"
7112 if test "$no_cache" != 1; then
7113 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7114 fi
7115
7116 if test "$wxUSE_DISPLAY" = yes; then
7117 echo "$as_me:$LINENO: result: yes" >&5
7118echo "${ECHO_T}yes" >&6
7119 else
7120 echo "$as_me:$LINENO: result: no" >&5
7121echo "${ECHO_T}no" >&6
7122 fi
7123
7124
7125 enablestring=
7126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7127echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7128 no_cache=0
7129 # Check whether --enable-gauge or --disable-gauge was given.
7130if test "${enable_gauge+set}" = set; then
7131 enableval="$enable_gauge"
7132
7133 if test "$enableval" = yes; then
7134 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7135 else
7136 ac_cv_use_gauge='wxUSE_GAUGE=no'
7137 fi
7138
7139else
7140
7141 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7142 if test "x$LINE" != x ; then
7143 eval "DEFAULT_$LINE"
7144 else
7145 no_cache=1
7146 fi
7147
7148 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7149
7150fi;
7151
7152 eval "$ac_cv_use_gauge"
7153 if test "$no_cache" != 1; then
7154 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7155 fi
7156
7157 if test "$wxUSE_GAUGE" = yes; then
7158 echo "$as_me:$LINENO: result: yes" >&5
7159echo "${ECHO_T}yes" >&6
7160 else
7161 echo "$as_me:$LINENO: result: no" >&5
7162echo "${ECHO_T}no" >&6
7163 fi
7164
7165
7166 enablestring=
7167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7168echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7169 no_cache=0
7170 # Check whether --enable-grid or --disable-grid was given.
7171if test "${enable_grid+set}" = set; then
7172 enableval="$enable_grid"
7173
7174 if test "$enableval" = yes; then
7175 ac_cv_use_grid='wxUSE_GRID=yes'
7176 else
7177 ac_cv_use_grid='wxUSE_GRID=no'
7178 fi
7179
7180else
7181
7182 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7183 if test "x$LINE" != x ; then
7184 eval "DEFAULT_$LINE"
7185 else
7186 no_cache=1
7187 fi
7188
7189 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7190
7191fi;
7192
7193 eval "$ac_cv_use_grid"
7194 if test "$no_cache" != 1; then
7195 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7196 fi
7197
7198 if test "$wxUSE_GRID" = yes; then
7199 echo "$as_me:$LINENO: result: yes" >&5
7200echo "${ECHO_T}yes" >&6
7201 else
7202 echo "$as_me:$LINENO: result: no" >&5
7203echo "${ECHO_T}no" >&6
7204 fi
7205
7206
7207 enablestring=
7208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7209echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7210 no_cache=0
7211 # Check whether --enable-imaglist or --disable-imaglist was given.
7212if test "${enable_imaglist+set}" = set; then
7213 enableval="$enable_imaglist"
7214
7215 if test "$enableval" = yes; then
7216 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7217 else
7218 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7219 fi
7220
7221else
7222
7223 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7224 if test "x$LINE" != x ; then
7225 eval "DEFAULT_$LINE"
7226 else
7227 no_cache=1
7228 fi
7229
7230 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7231
7232fi;
7233
7234 eval "$ac_cv_use_imaglist"
7235 if test "$no_cache" != 1; then
7236 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7237 fi
7238
7239 if test "$wxUSE_IMAGLIST" = yes; then
7240 echo "$as_me:$LINENO: result: yes" >&5
7241echo "${ECHO_T}yes" >&6
7242 else
7243 echo "$as_me:$LINENO: result: no" >&5
7244echo "${ECHO_T}no" >&6
7245 fi
7246
7247
7248 enablestring=
7249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7250echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7251 no_cache=0
7252 # Check whether --enable-listbook or --disable-listbook was given.
7253if test "${enable_listbook+set}" = set; then
7254 enableval="$enable_listbook"
7255
7256 if test "$enableval" = yes; then
7257 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7258 else
7259 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7260 fi
7261
7262else
7263
7264 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7265 if test "x$LINE" != x ; then
7266 eval "DEFAULT_$LINE"
7267 else
7268 no_cache=1
7269 fi
7270
7271 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7272
7273fi;
7274
7275 eval "$ac_cv_use_listbook"
7276 if test "$no_cache" != 1; then
7277 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7278 fi
7279
7280 if test "$wxUSE_LISTBOOK" = yes; then
7281 echo "$as_me:$LINENO: result: yes" >&5
7282echo "${ECHO_T}yes" >&6
7283 else
7284 echo "$as_me:$LINENO: result: no" >&5
7285echo "${ECHO_T}no" >&6
7286 fi
7287
7288
7289 enablestring=
7290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7291echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7292 no_cache=0
7293 # Check whether --enable-listbox or --disable-listbox was given.
7294if test "${enable_listbox+set}" = set; then
7295 enableval="$enable_listbox"
7296
7297 if test "$enableval" = yes; then
7298 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7299 else
7300 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7301 fi
7302
7303else
7304
7305 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7306 if test "x$LINE" != x ; then
7307 eval "DEFAULT_$LINE"
7308 else
7309 no_cache=1
7310 fi
7311
7312 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7313
7314fi;
7315
7316 eval "$ac_cv_use_listbox"
7317 if test "$no_cache" != 1; then
7318 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7319 fi
7320
7321 if test "$wxUSE_LISTBOX" = yes; then
7322 echo "$as_me:$LINENO: result: yes" >&5
7323echo "${ECHO_T}yes" >&6
7324 else
7325 echo "$as_me:$LINENO: result: no" >&5
7326echo "${ECHO_T}no" >&6
7327 fi
7328
7329
7330 enablestring=
7331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7332echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7333 no_cache=0
7334 # Check whether --enable-listctrl or --disable-listctrl was given.
7335if test "${enable_listctrl+set}" = set; then
7336 enableval="$enable_listctrl"
7337
7338 if test "$enableval" = yes; then
7339 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7340 else
7341 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7342 fi
7343
7344else
7345
7346 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7347 if test "x$LINE" != x ; then
7348 eval "DEFAULT_$LINE"
7349 else
7350 no_cache=1
7351 fi
7352
7353 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7354
7355fi;
7356
7357 eval "$ac_cv_use_listctrl"
7358 if test "$no_cache" != 1; then
7359 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7360 fi
7361
7362 if test "$wxUSE_LISTCTRL" = yes; then
7363 echo "$as_me:$LINENO: result: yes" >&5
7364echo "${ECHO_T}yes" >&6
7365 else
7366 echo "$as_me:$LINENO: result: no" >&5
7367echo "${ECHO_T}no" >&6
7368 fi
7369
7370
7371 enablestring=
7372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7373echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7374 no_cache=0
7375 # Check whether --enable-notebook or --disable-notebook was given.
7376if test "${enable_notebook+set}" = set; then
7377 enableval="$enable_notebook"
7378
7379 if test "$enableval" = yes; then
7380 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7381 else
7382 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7383 fi
7384
7385else
7386
7387 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7388 if test "x$LINE" != x ; then
7389 eval "DEFAULT_$LINE"
7390 else
7391 no_cache=1
7392 fi
7393
7394 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7395
7396fi;
7397
7398 eval "$ac_cv_use_notebook"
7399 if test "$no_cache" != 1; then
7400 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7401 fi
7402
7403 if test "$wxUSE_NOTEBOOK" = yes; then
7404 echo "$as_me:$LINENO: result: yes" >&5
7405echo "${ECHO_T}yes" >&6
7406 else
7407 echo "$as_me:$LINENO: result: no" >&5
7408echo "${ECHO_T}no" >&6
7409 fi
7410
7411
7412 enablestring=
7413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7414echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7415 no_cache=0
7416 # Check whether --enable-radiobox or --disable-radiobox was given.
7417if test "${enable_radiobox+set}" = set; then
7418 enableval="$enable_radiobox"
7419
7420 if test "$enableval" = yes; then
7421 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7422 else
7423 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7424 fi
7425
7426else
7427
7428 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7429 if test "x$LINE" != x ; then
7430 eval "DEFAULT_$LINE"
7431 else
7432 no_cache=1
7433 fi
7434
7435 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7436
7437fi;
7438
7439 eval "$ac_cv_use_radiobox"
7440 if test "$no_cache" != 1; then
7441 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7442 fi
7443
7444 if test "$wxUSE_RADIOBOX" = yes; then
7445 echo "$as_me:$LINENO: result: yes" >&5
7446echo "${ECHO_T}yes" >&6
7447 else
7448 echo "$as_me:$LINENO: result: no" >&5
7449echo "${ECHO_T}no" >&6
7450 fi
7451
7452
7453 enablestring=
7454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7455echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7456 no_cache=0
7457 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7458if test "${enable_radiobtn+set}" = set; then
7459 enableval="$enable_radiobtn"
7460
7461 if test "$enableval" = yes; then
7462 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7463 else
7464 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7465 fi
7466
7467else
7468
7469 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7470 if test "x$LINE" != x ; then
7471 eval "DEFAULT_$LINE"
7472 else
7473 no_cache=1
7474 fi
7475
7476 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7477
7478fi;
7479
7480 eval "$ac_cv_use_radiobtn"
7481 if test "$no_cache" != 1; then
7482 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7483 fi
7484
7485 if test "$wxUSE_RADIOBTN" = yes; then
7486 echo "$as_me:$LINENO: result: yes" >&5
7487echo "${ECHO_T}yes" >&6
7488 else
7489 echo "$as_me:$LINENO: result: no" >&5
7490echo "${ECHO_T}no" >&6
7491 fi
7492
7493
7494 enablestring=
7495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7496echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7497 no_cache=0
7498 # Check whether --enable-sash or --disable-sash was given.
7499if test "${enable_sash+set}" = set; then
7500 enableval="$enable_sash"
7501
7502 if test "$enableval" = yes; then
7503 ac_cv_use_sash='wxUSE_SASH=yes'
7504 else
7505 ac_cv_use_sash='wxUSE_SASH=no'
7506 fi
7507
7508else
7509
7510 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7511 if test "x$LINE" != x ; then
7512 eval "DEFAULT_$LINE"
7513 else
7514 no_cache=1
7515 fi
7516
7517 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7518
7519fi;
7520
7521 eval "$ac_cv_use_sash"
7522 if test "$no_cache" != 1; then
7523 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7524 fi
7525
7526 if test "$wxUSE_SASH" = yes; then
7527 echo "$as_me:$LINENO: result: yes" >&5
7528echo "${ECHO_T}yes" >&6
7529 else
7530 echo "$as_me:$LINENO: result: no" >&5
7531echo "${ECHO_T}no" >&6
7532 fi
7533
7534
7535 enablestring=
7536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7537echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7538 no_cache=0
7539 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7540if test "${enable_scrollbar+set}" = set; then
7541 enableval="$enable_scrollbar"
7542
7543 if test "$enableval" = yes; then
7544 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7545 else
7546 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7547 fi
7548
7549else
7550
7551 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7552 if test "x$LINE" != x ; then
7553 eval "DEFAULT_$LINE"
7554 else
7555 no_cache=1
7556 fi
7557
7558 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7559
7560fi;
7561
7562 eval "$ac_cv_use_scrollbar"
7563 if test "$no_cache" != 1; then
7564 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7565 fi
7566
7567 if test "$wxUSE_SCROLLBAR" = yes; then
7568 echo "$as_me:$LINENO: result: yes" >&5
7569echo "${ECHO_T}yes" >&6
7570 else
7571 echo "$as_me:$LINENO: result: no" >&5
7572echo "${ECHO_T}no" >&6
7573 fi
7574
7575
7576 enablestring=
7577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7578echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7579 no_cache=0
7580 # Check whether --enable-slider or --disable-slider was given.
7581if test "${enable_slider+set}" = set; then
7582 enableval="$enable_slider"
7583
7584 if test "$enableval" = yes; then
7585 ac_cv_use_slider='wxUSE_SLIDER=yes'
7586 else
7587 ac_cv_use_slider='wxUSE_SLIDER=no'
7588 fi
7589
7590else
7591
7592 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7593 if test "x$LINE" != x ; then
7594 eval "DEFAULT_$LINE"
7595 else
7596 no_cache=1
7597 fi
7598
7599 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7600
7601fi;
7602
7603 eval "$ac_cv_use_slider"
7604 if test "$no_cache" != 1; then
7605 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7606 fi
7607
7608 if test "$wxUSE_SLIDER" = yes; then
7609 echo "$as_me:$LINENO: result: yes" >&5
7610echo "${ECHO_T}yes" >&6
7611 else
7612 echo "$as_me:$LINENO: result: no" >&5
7613echo "${ECHO_T}no" >&6
7614 fi
7615
7616
7617 enablestring=
7618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7619echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7620 no_cache=0
7621 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7622if test "${enable_spinbtn+set}" = set; then
7623 enableval="$enable_spinbtn"
7624
7625 if test "$enableval" = yes; then
7626 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7627 else
7628 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7629 fi
7630
7631else
7632
7633 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7634 if test "x$LINE" != x ; then
7635 eval "DEFAULT_$LINE"
7636 else
7637 no_cache=1
7638 fi
7639
7640 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7641
7642fi;
7643
7644 eval "$ac_cv_use_spinbtn"
7645 if test "$no_cache" != 1; then
7646 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7647 fi
7648
7649 if test "$wxUSE_SPINBTN" = yes; then
7650 echo "$as_me:$LINENO: result: yes" >&5
7651echo "${ECHO_T}yes" >&6
7652 else
7653 echo "$as_me:$LINENO: result: no" >&5
7654echo "${ECHO_T}no" >&6
7655 fi
7656
7657
7658 enablestring=
7659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7660echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7661 no_cache=0
7662 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7663if test "${enable_spinctrl+set}" = set; then
7664 enableval="$enable_spinctrl"
7665
7666 if test "$enableval" = yes; then
7667 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7668 else
7669 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7670 fi
7671
7672else
7673
7674 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7675 if test "x$LINE" != x ; then
7676 eval "DEFAULT_$LINE"
7677 else
7678 no_cache=1
7679 fi
7680
7681 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7682
7683fi;
7684
7685 eval "$ac_cv_use_spinctrl"
7686 if test "$no_cache" != 1; then
7687 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7688 fi
7689
7690 if test "$wxUSE_SPINCTRL" = yes; then
7691 echo "$as_me:$LINENO: result: yes" >&5
7692echo "${ECHO_T}yes" >&6
7693 else
7694 echo "$as_me:$LINENO: result: no" >&5
7695echo "${ECHO_T}no" >&6
7696 fi
7697
7698
7699 enablestring=
7700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7701echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7702 no_cache=0
7703 # Check whether --enable-splitter or --disable-splitter was given.
7704if test "${enable_splitter+set}" = set; then
7705 enableval="$enable_splitter"
7706
7707 if test "$enableval" = yes; then
7708 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7709 else
7710 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7711 fi
7712
7713else
7714
7715 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7716 if test "x$LINE" != x ; then
7717 eval "DEFAULT_$LINE"
7718 else
7719 no_cache=1
7720 fi
7721
7722 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7723
7724fi;
7725
7726 eval "$ac_cv_use_splitter"
7727 if test "$no_cache" != 1; then
7728 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7729 fi
7730
7731 if test "$wxUSE_SPLITTER" = yes; then
7732 echo "$as_me:$LINENO: result: yes" >&5
7733echo "${ECHO_T}yes" >&6
7734 else
7735 echo "$as_me:$LINENO: result: no" >&5
7736echo "${ECHO_T}no" >&6
7737 fi
7738
7739
7740 enablestring=
7741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7742echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7743 no_cache=0
7744 # Check whether --enable-statbmp or --disable-statbmp was given.
7745if test "${enable_statbmp+set}" = set; then
7746 enableval="$enable_statbmp"
7747
7748 if test "$enableval" = yes; then
7749 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7750 else
7751 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7752 fi
7753
7754else
7755
7756 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7757 if test "x$LINE" != x ; then
7758 eval "DEFAULT_$LINE"
7759 else
7760 no_cache=1
7761 fi
7762
7763 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7764
7765fi;
7766
7767 eval "$ac_cv_use_statbmp"
7768 if test "$no_cache" != 1; then
7769 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7770 fi
7771
7772 if test "$wxUSE_STATBMP" = yes; then
7773 echo "$as_me:$LINENO: result: yes" >&5
7774echo "${ECHO_T}yes" >&6
7775 else
7776 echo "$as_me:$LINENO: result: no" >&5
7777echo "${ECHO_T}no" >&6
7778 fi
7779
7780
7781 enablestring=
7782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7783echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7784 no_cache=0
7785 # Check whether --enable-statbox or --disable-statbox was given.
7786if test "${enable_statbox+set}" = set; then
7787 enableval="$enable_statbox"
7788
7789 if test "$enableval" = yes; then
7790 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7791 else
7792 ac_cv_use_statbox='wxUSE_STATBOX=no'
7793 fi
7794
7795else
7796
7797 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7798 if test "x$LINE" != x ; then
7799 eval "DEFAULT_$LINE"
7800 else
7801 no_cache=1
7802 fi
7803
7804 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7805
7806fi;
7807
7808 eval "$ac_cv_use_statbox"
7809 if test "$no_cache" != 1; then
7810 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7811 fi
7812
7813 if test "$wxUSE_STATBOX" = yes; then
7814 echo "$as_me:$LINENO: result: yes" >&5
7815echo "${ECHO_T}yes" >&6
7816 else
7817 echo "$as_me:$LINENO: result: no" >&5
7818echo "${ECHO_T}no" >&6
7819 fi
7820
7821
7822 enablestring=
7823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7824echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7825 no_cache=0
7826 # Check whether --enable-statline or --disable-statline was given.
7827if test "${enable_statline+set}" = set; then
7828 enableval="$enable_statline"
7829
7830 if test "$enableval" = yes; then
7831 ac_cv_use_statline='wxUSE_STATLINE=yes'
7832 else
7833 ac_cv_use_statline='wxUSE_STATLINE=no'
7834 fi
7835
7836else
7837
7838 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7839 if test "x$LINE" != x ; then
7840 eval "DEFAULT_$LINE"
7841 else
7842 no_cache=1
7843 fi
7844
7845 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7846
7847fi;
7848
7849 eval "$ac_cv_use_statline"
7850 if test "$no_cache" != 1; then
7851 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7852 fi
7853
7854 if test "$wxUSE_STATLINE" = yes; then
7855 echo "$as_me:$LINENO: result: yes" >&5
7856echo "${ECHO_T}yes" >&6
7857 else
7858 echo "$as_me:$LINENO: result: no" >&5
7859echo "${ECHO_T}no" >&6
7860 fi
7861
7862
7863 enablestring=
7864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7865echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7866 no_cache=0
7867 # Check whether --enable-stattext or --disable-stattext was given.
7868if test "${enable_stattext+set}" = set; then
7869 enableval="$enable_stattext"
7870
7871 if test "$enableval" = yes; then
7872 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7873 else
7874 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7875 fi
7876
7877else
7878
7879 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7880 if test "x$LINE" != x ; then
7881 eval "DEFAULT_$LINE"
7882 else
7883 no_cache=1
7884 fi
7885
7886 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7887
7888fi;
7889
7890 eval "$ac_cv_use_stattext"
7891 if test "$no_cache" != 1; then
7892 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7893 fi
7894
7895 if test "$wxUSE_STATTEXT" = yes; then
7896 echo "$as_me:$LINENO: result: yes" >&5
7897echo "${ECHO_T}yes" >&6
7898 else
7899 echo "$as_me:$LINENO: result: no" >&5
7900echo "${ECHO_T}no" >&6
7901 fi
7902
7903
7904 enablestring=
7905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7906echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7907 no_cache=0
7908 # Check whether --enable-statusbar or --disable-statusbar was given.
7909if test "${enable_statusbar+set}" = set; then
7910 enableval="$enable_statusbar"
7911
7912 if test "$enableval" = yes; then
7913 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7914 else
7915 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7916 fi
7917
7918else
7919
7920 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7921 if test "x$LINE" != x ; then
7922 eval "DEFAULT_$LINE"
7923 else
7924 no_cache=1
7925 fi
7926
7927 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7928
7929fi;
7930
7931 eval "$ac_cv_use_statusbar"
7932 if test "$no_cache" != 1; then
7933 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7934 fi
7935
7936 if test "$wxUSE_STATUSBAR" = yes; then
7937 echo "$as_me:$LINENO: result: yes" >&5
7938echo "${ECHO_T}yes" >&6
7939 else
7940 echo "$as_me:$LINENO: result: no" >&5
7941echo "${ECHO_T}no" >&6
7942 fi
7943
7944
7945 enablestring=
7946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7947echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7948 no_cache=0
7949 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7950if test "${enable_tabdialog+set}" = set; then
7951 enableval="$enable_tabdialog"
7952
7953 if test "$enableval" = yes; then
7954 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7955 else
7956 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7957 fi
7958
7959else
7960
7961 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7962 if test "x$LINE" != x ; then
7963 eval "DEFAULT_$LINE"
7964 else
7965 no_cache=1
7966 fi
7967
7968 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7969
7970fi;
7971
7972 eval "$ac_cv_use_tabdialog"
7973 if test "$no_cache" != 1; then
7974 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7975 fi
7976
7977 if test "$wxUSE_TABDIALOG" = yes; then
7978 echo "$as_me:$LINENO: result: yes" >&5
7979echo "${ECHO_T}yes" >&6
7980 else
7981 echo "$as_me:$LINENO: result: no" >&5
7982echo "${ECHO_T}no" >&6
7983 fi
7984
7985
7986 enablestring=
7987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7988echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7989 no_cache=0
7990 # Check whether --enable-textctrl or --disable-textctrl was given.
7991if test "${enable_textctrl+set}" = set; then
7992 enableval="$enable_textctrl"
7993
7994 if test "$enableval" = yes; then
7995 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7996 else
7997 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7998 fi
7999
8000else
8001
8002 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8003 if test "x$LINE" != x ; then
8004 eval "DEFAULT_$LINE"
8005 else
8006 no_cache=1
8007 fi
8008
8009 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8010
8011fi;
8012
8013 eval "$ac_cv_use_textctrl"
8014 if test "$no_cache" != 1; then
8015 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8016 fi
8017
8018 if test "$wxUSE_TEXTCTRL" = yes; then
8019 echo "$as_me:$LINENO: result: yes" >&5
8020echo "${ECHO_T}yes" >&6
8021 else
8022 echo "$as_me:$LINENO: result: no" >&5
8023echo "${ECHO_T}no" >&6
8024 fi
8025
8026
8027 enablestring=
8028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8029echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8030 no_cache=0
8031 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8032if test "${enable_togglebtn+set}" = set; then
8033 enableval="$enable_togglebtn"
8034
8035 if test "$enableval" = yes; then
8036 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8037 else
8038 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8039 fi
8040
8041else
8042
8043 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8044 if test "x$LINE" != x ; then
8045 eval "DEFAULT_$LINE"
8046 else
8047 no_cache=1
8048 fi
8049
8050 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8051
8052fi;
8053
8054 eval "$ac_cv_use_togglebtn"
8055 if test "$no_cache" != 1; then
8056 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8057 fi
8058
8059 if test "$wxUSE_TOGGLEBTN" = yes; then
8060 echo "$as_me:$LINENO: result: yes" >&5
8061echo "${ECHO_T}yes" >&6
8062 else
8063 echo "$as_me:$LINENO: result: no" >&5
8064echo "${ECHO_T}no" >&6
8065 fi
8066
8067
8068 enablestring=
8069 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8070echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8071 no_cache=0
8072 # Check whether --enable-toolbar or --disable-toolbar was given.
8073if test "${enable_toolbar+set}" = set; then
8074 enableval="$enable_toolbar"
8075
8076 if test "$enableval" = yes; then
8077 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8078 else
8079 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8080 fi
8081
8082else
8083
8084 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8085 if test "x$LINE" != x ; then
8086 eval "DEFAULT_$LINE"
8087 else
8088 no_cache=1
8089 fi
8090
8091 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8092
8093fi;
8094
8095 eval "$ac_cv_use_toolbar"
8096 if test "$no_cache" != 1; then
8097 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8098 fi
8099
8100 if test "$wxUSE_TOOLBAR" = yes; then
8101 echo "$as_me:$LINENO: result: yes" >&5
8102echo "${ECHO_T}yes" >&6
8103 else
8104 echo "$as_me:$LINENO: result: no" >&5
8105echo "${ECHO_T}no" >&6
8106 fi
8107
8108
8109 enablestring=
8110 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8111echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8112 no_cache=0
8113 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8114if test "${enable_tbarnative+set}" = set; then
8115 enableval="$enable_tbarnative"
8116
8117 if test "$enableval" = yes; then
8118 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8119 else
8120 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8121 fi
8122
8123else
8124
8125 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8126 if test "x$LINE" != x ; then
8127 eval "DEFAULT_$LINE"
8128 else
8129 no_cache=1
8130 fi
8131
8132 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8133
8134fi;
8135
8136 eval "$ac_cv_use_tbarnative"
8137 if test "$no_cache" != 1; then
8138 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8139 fi
8140
8141 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8142 echo "$as_me:$LINENO: result: yes" >&5
8143echo "${ECHO_T}yes" >&6
8144 else
8145 echo "$as_me:$LINENO: result: no" >&5
8146echo "${ECHO_T}no" >&6
8147 fi
8148
8149
8150 enablestring=
8151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8152echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8153 no_cache=0
8154 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8155if test "${enable_tbarsmpl+set}" = set; then
8156 enableval="$enable_tbarsmpl"
8157
8158 if test "$enableval" = yes; then
8159 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8160 else
8161 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8162 fi
8163
8164else
8165
8166 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8167 if test "x$LINE" != x ; then
8168 eval "DEFAULT_$LINE"
8169 else
8170 no_cache=1
8171 fi
8172
8173 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8174
8175fi;
8176
8177 eval "$ac_cv_use_tbarsmpl"
8178 if test "$no_cache" != 1; then
8179 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8180 fi
8181
8182 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8183 echo "$as_me:$LINENO: result: yes" >&5
8184echo "${ECHO_T}yes" >&6
8185 else
8186 echo "$as_me:$LINENO: result: no" >&5
8187echo "${ECHO_T}no" >&6
8188 fi
8189
8190
8191 enablestring=
8192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8193echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8194 no_cache=0
8195 # Check whether --enable-treectrl or --disable-treectrl was given.
8196if test "${enable_treectrl+set}" = set; then
8197 enableval="$enable_treectrl"
8198
8199 if test "$enableval" = yes; then
8200 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8201 else
8202 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8203 fi
8204
8205else
8206
8207 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8208 if test "x$LINE" != x ; then
8209 eval "DEFAULT_$LINE"
8210 else
8211 no_cache=1
8212 fi
8213
8214 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8215
8216fi;
8217
8218 eval "$ac_cv_use_treectrl"
8219 if test "$no_cache" != 1; then
8220 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8221 fi
8222
8223 if test "$wxUSE_TREECTRL" = yes; then
8224 echo "$as_me:$LINENO: result: yes" >&5
8225echo "${ECHO_T}yes" >&6
8226 else
8227 echo "$as_me:$LINENO: result: no" >&5
8228echo "${ECHO_T}no" >&6
8229 fi
8230
8231
8232 enablestring=
8233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8234echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8235 no_cache=0
8236 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8237if test "${enable_tipwindow+set}" = set; then
8238 enableval="$enable_tipwindow"
8239
8240 if test "$enableval" = yes; then
8241 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8242 else
8243 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8244 fi
8245
8246else
8247
8248 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8249 if test "x$LINE" != x ; then
8250 eval "DEFAULT_$LINE"
8251 else
8252 no_cache=1
8253 fi
8254
8255 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8256
8257fi;
8258
8259 eval "$ac_cv_use_tipwindow"
8260 if test "$no_cache" != 1; then
8261 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8262 fi
8263
8264 if test "$wxUSE_TIPWINDOW" = yes; then
8265 echo "$as_me:$LINENO: result: yes" >&5
8266echo "${ECHO_T}yes" >&6
8267 else
8268 echo "$as_me:$LINENO: result: no" >&5
8269echo "${ECHO_T}no" >&6
8270 fi
8271
8272
8273 enablestring=
8274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8275echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8276 no_cache=0
8277 # Check whether --enable-popupwin or --disable-popupwin was given.
8278if test "${enable_popupwin+set}" = set; then
8279 enableval="$enable_popupwin"
8280
8281 if test "$enableval" = yes; then
8282 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8283 else
8284 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8285 fi
8286
8287else
8288
8289 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8290 if test "x$LINE" != x ; then
8291 eval "DEFAULT_$LINE"
8292 else
8293 no_cache=1
8294 fi
8295
8296 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8297
8298fi;
8299
8300 eval "$ac_cv_use_popupwin"
8301 if test "$no_cache" != 1; then
8302 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8303 fi
8304
8305 if test "$wxUSE_POPUPWIN" = yes; then
8306 echo "$as_me:$LINENO: result: yes" >&5
8307echo "${ECHO_T}yes" >&6
8308 else
8309 echo "$as_me:$LINENO: result: no" >&5
8310echo "${ECHO_T}no" >&6
8311 fi
8312
8313
8314
8315
8316 enablestring=
8317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8318echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8319 no_cache=0
8320 # Check whether --enable-commondlg or --disable-commondlg was given.
8321if test "${enable_commondlg+set}" = set; then
8322 enableval="$enable_commondlg"
8323
8324 if test "$enableval" = yes; then
8325 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8326 else
8327 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8328 fi
8329
8330else
8331
8332 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8333 if test "x$LINE" != x ; then
8334 eval "DEFAULT_$LINE"
8335 else
8336 no_cache=1
8337 fi
8338
8339 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8340
8341fi;
8342
8343 eval "$ac_cv_use_commondlg"
8344 if test "$no_cache" != 1; then
8345 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8346 fi
8347
8348 if test "$wxUSE_COMMONDLGS" = yes; then
8349 echo "$as_me:$LINENO: result: yes" >&5
8350echo "${ECHO_T}yes" >&6
8351 else
8352 echo "$as_me:$LINENO: result: no" >&5
8353echo "${ECHO_T}no" >&6
8354 fi
8355
8356
8357 enablestring=
8358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8359echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8360 no_cache=0
8361 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8362if test "${enable_choicedlg+set}" = set; then
8363 enableval="$enable_choicedlg"
8364
8365 if test "$enableval" = yes; then
8366 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8367 else
8368 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8369 fi
8370
8371else
8372
8373 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8374 if test "x$LINE" != x ; then
8375 eval "DEFAULT_$LINE"
8376 else
8377 no_cache=1
8378 fi
8379
8380 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8381
8382fi;
8383
8384 eval "$ac_cv_use_choicedlg"
8385 if test "$no_cache" != 1; then
8386 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8387 fi
8388
8389 if test "$wxUSE_CHOICEDLG" = yes; then
8390 echo "$as_me:$LINENO: result: yes" >&5
8391echo "${ECHO_T}yes" >&6
8392 else
8393 echo "$as_me:$LINENO: result: no" >&5
8394echo "${ECHO_T}no" >&6
8395 fi
8396
8397
8398 enablestring=
8399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8400echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8401 no_cache=0
8402 # Check whether --enable-coldlg or --disable-coldlg was given.
8403if test "${enable_coldlg+set}" = set; then
8404 enableval="$enable_coldlg"
8405
8406 if test "$enableval" = yes; then
8407 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8408 else
8409 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8410 fi
8411
8412else
8413
8414 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8415 if test "x$LINE" != x ; then
8416 eval "DEFAULT_$LINE"
8417 else
8418 no_cache=1
8419 fi
8420
8421 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8422
8423fi;
8424
8425 eval "$ac_cv_use_coldlg"
8426 if test "$no_cache" != 1; then
8427 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8428 fi
8429
8430 if test "$wxUSE_COLOURDLG" = yes; then
8431 echo "$as_me:$LINENO: result: yes" >&5
8432echo "${ECHO_T}yes" >&6
8433 else
8434 echo "$as_me:$LINENO: result: no" >&5
8435echo "${ECHO_T}no" >&6
8436 fi
8437
8438
8439 enablestring=
8440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8441echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8442 no_cache=0
8443 # Check whether --enable-filedlg or --disable-filedlg was given.
8444if test "${enable_filedlg+set}" = set; then
8445 enableval="$enable_filedlg"
8446
8447 if test "$enableval" = yes; then
8448 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8449 else
8450 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8451 fi
8452
8453else
8454
8455 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8456 if test "x$LINE" != x ; then
8457 eval "DEFAULT_$LINE"
8458 else
8459 no_cache=1
8460 fi
8461
8462 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8463
8464fi;
8465
8466 eval "$ac_cv_use_filedlg"
8467 if test "$no_cache" != 1; then
8468 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8469 fi
8470
8471 if test "$wxUSE_FILEDLG" = yes; then
8472 echo "$as_me:$LINENO: result: yes" >&5
8473echo "${ECHO_T}yes" >&6
8474 else
8475 echo "$as_me:$LINENO: result: no" >&5
8476echo "${ECHO_T}no" >&6
8477 fi
8478
8479
8480 enablestring=
8481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8482echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8483 no_cache=0
8484 # Check whether --enable-finddlg or --disable-finddlg was given.
8485if test "${enable_finddlg+set}" = set; then
8486 enableval="$enable_finddlg"
8487
8488 if test "$enableval" = yes; then
8489 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8490 else
8491 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8492 fi
8493
8494else
8495
8496 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8497 if test "x$LINE" != x ; then
8498 eval "DEFAULT_$LINE"
8499 else
8500 no_cache=1
8501 fi
8502
8503 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8504
8505fi;
8506
8507 eval "$ac_cv_use_finddlg"
8508 if test "$no_cache" != 1; then
8509 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8510 fi
8511
8512 if test "$wxUSE_FINDREPLDLG" = yes; then
8513 echo "$as_me:$LINENO: result: yes" >&5
8514echo "${ECHO_T}yes" >&6
8515 else
8516 echo "$as_me:$LINENO: result: no" >&5
8517echo "${ECHO_T}no" >&6
8518 fi
8519
8520
8521 enablestring=
8522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8523echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8524 no_cache=0
8525 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8526if test "${enable_fontdlg+set}" = set; then
8527 enableval="$enable_fontdlg"
8528
8529 if test "$enableval" = yes; then
8530 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8531 else
8532 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8533 fi
8534
8535else
8536
8537 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8538 if test "x$LINE" != x ; then
8539 eval "DEFAULT_$LINE"
8540 else
8541 no_cache=1
8542 fi
8543
8544 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8545
8546fi;
8547
8548 eval "$ac_cv_use_fontdlg"
8549 if test "$no_cache" != 1; then
8550 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8551 fi
8552
8553 if test "$wxUSE_FONTDLG" = yes; then
8554 echo "$as_me:$LINENO: result: yes" >&5
8555echo "${ECHO_T}yes" >&6
8556 else
8557 echo "$as_me:$LINENO: result: no" >&5
8558echo "${ECHO_T}no" >&6
8559 fi
8560
8561
8562 enablestring=
8563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8564echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8565 no_cache=0
8566 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8567if test "${enable_dirdlg+set}" = set; then
8568 enableval="$enable_dirdlg"
8569
8570 if test "$enableval" = yes; then
8571 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8572 else
8573 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8574 fi
8575
8576else
8577
8578 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8579 if test "x$LINE" != x ; then
8580 eval "DEFAULT_$LINE"
8581 else
8582 no_cache=1
8583 fi
8584
8585 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8586
8587fi;
8588
8589 eval "$ac_cv_use_dirdlg"
8590 if test "$no_cache" != 1; then
8591 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8592 fi
8593
8594 if test "$wxUSE_DIRDLG" = yes; then
8595 echo "$as_me:$LINENO: result: yes" >&5
8596echo "${ECHO_T}yes" >&6
8597 else
8598 echo "$as_me:$LINENO: result: no" >&5
8599echo "${ECHO_T}no" >&6
8600 fi
8601
8602
8603 enablestring=
8604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8605echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8606 no_cache=0
8607 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8608if test "${enable_msgdlg+set}" = set; then
8609 enableval="$enable_msgdlg"
8610
8611 if test "$enableval" = yes; then
8612 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8613 else
8614 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8615 fi
8616
8617else
8618
8619 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8620 if test "x$LINE" != x ; then
8621 eval "DEFAULT_$LINE"
8622 else
8623 no_cache=1
8624 fi
8625
8626 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8627
8628fi;
8629
8630 eval "$ac_cv_use_msgdlg"
8631 if test "$no_cache" != 1; then
8632 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8633 fi
8634
8635 if test "$wxUSE_MSGDLG" = yes; then
8636 echo "$as_me:$LINENO: result: yes" >&5
8637echo "${ECHO_T}yes" >&6
8638 else
8639 echo "$as_me:$LINENO: result: no" >&5
8640echo "${ECHO_T}no" >&6
8641 fi
8642
8643
8644 enablestring=
8645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8646echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8647 no_cache=0
8648 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8649if test "${enable_numberdlg+set}" = set; then
8650 enableval="$enable_numberdlg"
8651
8652 if test "$enableval" = yes; then
8653 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8654 else
8655 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8656 fi
8657
8658else
8659
8660 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8661 if test "x$LINE" != x ; then
8662 eval "DEFAULT_$LINE"
8663 else
8664 no_cache=1
8665 fi
8666
8667 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8668
8669fi;
8670
8671 eval "$ac_cv_use_numberdlg"
8672 if test "$no_cache" != 1; then
8673 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8674 fi
8675
8676 if test "$wxUSE_NUMBERDLG" = yes; then
8677 echo "$as_me:$LINENO: result: yes" >&5
8678echo "${ECHO_T}yes" >&6
8679 else
8680 echo "$as_me:$LINENO: result: no" >&5
8681echo "${ECHO_T}no" >&6
8682 fi
8683
8684
8685 enablestring=
8686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8687echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8688 no_cache=0
8689 # Check whether --enable-splash or --disable-splash was given.
8690if test "${enable_splash+set}" = set; then
8691 enableval="$enable_splash"
8692
8693 if test "$enableval" = yes; then
8694 ac_cv_use_splash='wxUSE_SPLASH=yes'
8695 else
8696 ac_cv_use_splash='wxUSE_SPLASH=no'
8697 fi
8698
8699else
8700
8701 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8702 if test "x$LINE" != x ; then
8703 eval "DEFAULT_$LINE"
8704 else
8705 no_cache=1
8706 fi
8707
8708 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8709
8710fi;
8711
8712 eval "$ac_cv_use_splash"
8713 if test "$no_cache" != 1; then
8714 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8715 fi
8716
8717 if test "$wxUSE_SPLASH" = yes; then
8718 echo "$as_me:$LINENO: result: yes" >&5
8719echo "${ECHO_T}yes" >&6
8720 else
8721 echo "$as_me:$LINENO: result: no" >&5
8722echo "${ECHO_T}no" >&6
8723 fi
8724
8725
8726 enablestring=
8727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8728echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8729 no_cache=0
8730 # Check whether --enable-textdlg or --disable-textdlg was given.
8731if test "${enable_textdlg+set}" = set; then
8732 enableval="$enable_textdlg"
8733
8734 if test "$enableval" = yes; then
8735 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8736 else
8737 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8738 fi
8739
8740else
8741
8742 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8743 if test "x$LINE" != x ; then
8744 eval "DEFAULT_$LINE"
8745 else
8746 no_cache=1
8747 fi
8748
8749 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8750
8751fi;
8752
8753 eval "$ac_cv_use_textdlg"
8754 if test "$no_cache" != 1; then
8755 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8756 fi
8757
8758 if test "$wxUSE_TEXTDLG" = yes; then
8759 echo "$as_me:$LINENO: result: yes" >&5
8760echo "${ECHO_T}yes" >&6
8761 else
8762 echo "$as_me:$LINENO: result: no" >&5
8763echo "${ECHO_T}no" >&6
8764 fi
8765
8766
8767 enablestring=
8768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8769echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8770 no_cache=0
8771 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8772if test "${enable_tipdlg+set}" = set; then
8773 enableval="$enable_tipdlg"
8774
8775 if test "$enableval" = yes; then
8776 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8777 else
8778 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8779 fi
8780
8781else
8782
8783 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8784 if test "x$LINE" != x ; then
8785 eval "DEFAULT_$LINE"
8786 else
8787 no_cache=1
8788 fi
8789
8790 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8791
8792fi;
8793
8794 eval "$ac_cv_use_tipdlg"
8795 if test "$no_cache" != 1; then
8796 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8797 fi
8798
8799 if test "$wxUSE_STARTUP_TIPS" = yes; then
8800 echo "$as_me:$LINENO: result: yes" >&5
8801echo "${ECHO_T}yes" >&6
8802 else
8803 echo "$as_me:$LINENO: result: no" >&5
8804echo "${ECHO_T}no" >&6
8805 fi
8806
8807
8808 enablestring=
8809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8810echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8811 no_cache=0
8812 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8813if test "${enable_progressdlg+set}" = set; then
8814 enableval="$enable_progressdlg"
8815
8816 if test "$enableval" = yes; then
8817 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8818 else
8819 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8820 fi
8821
8822else
8823
8824 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8825 if test "x$LINE" != x ; then
8826 eval "DEFAULT_$LINE"
8827 else
8828 no_cache=1
8829 fi
8830
8831 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8832
8833fi;
8834
8835 eval "$ac_cv_use_progressdlg"
8836 if test "$no_cache" != 1; then
8837 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8838 fi
8839
8840 if test "$wxUSE_PROGRESSDLG" = yes; then
8841 echo "$as_me:$LINENO: result: yes" >&5
8842echo "${ECHO_T}yes" >&6
8843 else
8844 echo "$as_me:$LINENO: result: no" >&5
8845echo "${ECHO_T}no" >&6
8846 fi
8847
8848
8849 enablestring=
8850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8851echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8852 no_cache=0
8853 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8854if test "${enable_wizarddlg+set}" = set; then
8855 enableval="$enable_wizarddlg"
8856
8857 if test "$enableval" = yes; then
8858 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8859 else
8860 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8861 fi
8862
8863else
8864
8865 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8866 if test "x$LINE" != x ; then
8867 eval "DEFAULT_$LINE"
8868 else
8869 no_cache=1
8870 fi
8871
8872 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8873
8874fi;
8875
8876 eval "$ac_cv_use_wizarddlg"
8877 if test "$no_cache" != 1; then
8878 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8879 fi
8880
8881 if test "$wxUSE_WIZARDDLG" = yes; then
8882 echo "$as_me:$LINENO: result: yes" >&5
8883echo "${ECHO_T}yes" >&6
8884 else
8885 echo "$as_me:$LINENO: result: no" >&5
8886echo "${ECHO_T}no" >&6
8887 fi
8888
8889
8890
8891
8892 enablestring=
8893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8894echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8895 no_cache=0
8896 # Check whether --enable-menus or --disable-menus was given.
8897if test "${enable_menus+set}" = set; then
8898 enableval="$enable_menus"
8899
8900 if test "$enableval" = yes; then
8901 ac_cv_use_menus='wxUSE_MENUS=yes'
8902 else
8903 ac_cv_use_menus='wxUSE_MENUS=no'
8904 fi
8905
8906else
8907
8908 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8909 if test "x$LINE" != x ; then
8910 eval "DEFAULT_$LINE"
8911 else
8912 no_cache=1
8913 fi
8914
8915 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8916
8917fi;
8918
8919 eval "$ac_cv_use_menus"
8920 if test "$no_cache" != 1; then
8921 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8922 fi
8923
8924 if test "$wxUSE_MENUS" = yes; then
8925 echo "$as_me:$LINENO: result: yes" >&5
8926echo "${ECHO_T}yes" >&6
8927 else
8928 echo "$as_me:$LINENO: result: no" >&5
8929echo "${ECHO_T}no" >&6
8930 fi
8931
8932
8933 enablestring=
8934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8935echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8936 no_cache=0
8937 # Check whether --enable-miniframe or --disable-miniframe was given.
8938if test "${enable_miniframe+set}" = set; then
8939 enableval="$enable_miniframe"
8940
8941 if test "$enableval" = yes; then
8942 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8943 else
8944 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8945 fi
8946
8947else
8948
8949 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8950 if test "x$LINE" != x ; then
8951 eval "DEFAULT_$LINE"
8952 else
8953 no_cache=1
8954 fi
8955
8956 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8957
8958fi;
8959
8960 eval "$ac_cv_use_miniframe"
8961 if test "$no_cache" != 1; then
8962 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8963 fi
8964
8965 if test "$wxUSE_MINIFRAME" = yes; then
8966 echo "$as_me:$LINENO: result: yes" >&5
8967echo "${ECHO_T}yes" >&6
8968 else
8969 echo "$as_me:$LINENO: result: no" >&5
8970echo "${ECHO_T}no" >&6
8971 fi
8972
8973
8974 enablestring=
8975 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8976echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8977 no_cache=0
8978 # Check whether --enable-tooltips or --disable-tooltips was given.
8979if test "${enable_tooltips+set}" = set; then
8980 enableval="$enable_tooltips"
8981
8982 if test "$enableval" = yes; then
8983 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8984 else
8985 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8986 fi
8987
8988else
8989
8990 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8991 if test "x$LINE" != x ; then
8992 eval "DEFAULT_$LINE"
8993 else
8994 no_cache=1
8995 fi
8996
8997 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8998
8999fi;
9000
9001 eval "$ac_cv_use_tooltips"
9002 if test "$no_cache" != 1; then
9003 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9004 fi
9005
9006 if test "$wxUSE_TOOLTIPS" = yes; then
9007 echo "$as_me:$LINENO: result: yes" >&5
9008echo "${ECHO_T}yes" >&6
9009 else
9010 echo "$as_me:$LINENO: result: no" >&5
9011echo "${ECHO_T}no" >&6
9012 fi
9013
9014
9015 enablestring=
9016 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9017echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9018 no_cache=0
9019 # Check whether --enable-splines or --disable-splines was given.
9020if test "${enable_splines+set}" = set; then
9021 enableval="$enable_splines"
9022
9023 if test "$enableval" = yes; then
9024 ac_cv_use_splines='wxUSE_SPLINES=yes'
9025 else
9026 ac_cv_use_splines='wxUSE_SPLINES=no'
9027 fi
9028
9029else
9030
9031 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9032 if test "x$LINE" != x ; then
9033 eval "DEFAULT_$LINE"
9034 else
9035 no_cache=1
9036 fi
9037
9038 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9039
9040fi;
9041
9042 eval "$ac_cv_use_splines"
9043 if test "$no_cache" != 1; then
9044 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9045 fi
9046
9047 if test "$wxUSE_SPLINES" = yes; then
9048 echo "$as_me:$LINENO: result: yes" >&5
9049echo "${ECHO_T}yes" >&6
9050 else
9051 echo "$as_me:$LINENO: result: no" >&5
9052echo "${ECHO_T}no" >&6
9053 fi
9054
9055
9056 enablestring=
9057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9058echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9059 no_cache=0
9060 # Check whether --enable-validators or --disable-validators was given.
9061if test "${enable_validators+set}" = set; then
9062 enableval="$enable_validators"
9063
9064 if test "$enableval" = yes; then
9065 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9066 else
9067 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9068 fi
9069
9070else
9071
9072 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9073 if test "x$LINE" != x ; then
9074 eval "DEFAULT_$LINE"
9075 else
9076 no_cache=1
9077 fi
9078
9079 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9080
9081fi;
9082
9083 eval "$ac_cv_use_validators"
9084 if test "$no_cache" != 1; then
9085 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9086 fi
9087
9088 if test "$wxUSE_VALIDATORS" = yes; then
9089 echo "$as_me:$LINENO: result: yes" >&5
9090echo "${ECHO_T}yes" >&6
9091 else
9092 echo "$as_me:$LINENO: result: no" >&5
9093echo "${ECHO_T}no" >&6
9094 fi
9095
9096
9097 enablestring=
9098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9099echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9100 no_cache=0
9101 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9102if test "${enable_busyinfo+set}" = set; then
9103 enableval="$enable_busyinfo"
9104
9105 if test "$enableval" = yes; then
9106 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9107 else
9108 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9109 fi
9110
9111else
9112
9113 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9114 if test "x$LINE" != x ; then
9115 eval "DEFAULT_$LINE"
9116 else
9117 no_cache=1
9118 fi
9119
9120 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9121
9122fi;
9123
9124 eval "$ac_cv_use_busyinfo"
9125 if test "$no_cache" != 1; then
9126 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9127 fi
9128
9129 if test "$wxUSE_BUSYINFO" = yes; then
9130 echo "$as_me:$LINENO: result: yes" >&5
9131echo "${ECHO_T}yes" >&6
9132 else
9133 echo "$as_me:$LINENO: result: no" >&5
9134echo "${ECHO_T}no" >&6
9135 fi
9136
9137
9138 enablestring=
9139 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9140echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9141 no_cache=0
9142 # Check whether --enable-joystick or --disable-joystick was given.
9143if test "${enable_joystick+set}" = set; then
9144 enableval="$enable_joystick"
9145
9146 if test "$enableval" = yes; then
9147 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9148 else
9149 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9150 fi
9151
9152else
9153
9154 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9155 if test "x$LINE" != x ; then
9156 eval "DEFAULT_$LINE"
9157 else
9158 no_cache=1
9159 fi
9160
9161 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9162
9163fi;
9164
9165 eval "$ac_cv_use_joystick"
9166 if test "$no_cache" != 1; then
9167 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9168 fi
9169
9170 if test "$wxUSE_JOYSTICK" = yes; then
9171 echo "$as_me:$LINENO: result: yes" >&5
9172echo "${ECHO_T}yes" >&6
9173 else
9174 echo "$as_me:$LINENO: result: no" >&5
9175echo "${ECHO_T}no" >&6
9176 fi
9177
9178
9179 enablestring=
9180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9181echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9182 no_cache=0
9183 # Check whether --enable-metafile or --disable-metafile was given.
9184if test "${enable_metafile+set}" = set; then
9185 enableval="$enable_metafile"
9186
9187 if test "$enableval" = yes; then
9188 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9189 else
9190 ac_cv_use_metafile='wxUSE_METAFILE=no'
9191 fi
9192
9193else
9194
9195 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9196 if test "x$LINE" != x ; then
9197 eval "DEFAULT_$LINE"
9198 else
9199 no_cache=1
9200 fi
9201
9202 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9203
9204fi;
9205
9206 eval "$ac_cv_use_metafile"
9207 if test "$no_cache" != 1; then
9208 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9209 fi
9210
9211 if test "$wxUSE_METAFILE" = yes; then
9212 echo "$as_me:$LINENO: result: yes" >&5
9213echo "${ECHO_T}yes" >&6
9214 else
9215 echo "$as_me:$LINENO: result: no" >&5
9216echo "${ECHO_T}no" >&6
9217 fi
9218
9219
9220 enablestring=
9221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9222echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9223 no_cache=0
9224 # Check whether --enable-dragimage or --disable-dragimage was given.
9225if test "${enable_dragimage+set}" = set; then
9226 enableval="$enable_dragimage"
9227
9228 if test "$enableval" = yes; then
9229 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9230 else
9231 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9232 fi
9233
9234else
9235
9236 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9237 if test "x$LINE" != x ; then
9238 eval "DEFAULT_$LINE"
9239 else
9240 no_cache=1
9241 fi
9242
9243 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9244
9245fi;
9246
9247 eval "$ac_cv_use_dragimage"
9248 if test "$no_cache" != 1; then
9249 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9250 fi
9251
9252 if test "$wxUSE_DRAGIMAGE" = yes; then
9253 echo "$as_me:$LINENO: result: yes" >&5
9254echo "${ECHO_T}yes" >&6
9255 else
9256 echo "$as_me:$LINENO: result: no" >&5
9257echo "${ECHO_T}no" >&6
9258 fi
9259
9260
9261 enablestring=
9262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9263echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9264 no_cache=0
9265 # Check whether --enable-accessibility or --disable-accessibility was given.
9266if test "${enable_accessibility+set}" = set; then
9267 enableval="$enable_accessibility"
9268
9269 if test "$enableval" = yes; then
9270 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9271 else
9272 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9273 fi
9274
9275else
9276
9277 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9278 if test "x$LINE" != x ; then
9279 eval "DEFAULT_$LINE"
9280 else
9281 no_cache=1
9282 fi
9283
9284 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9285
9286fi;
9287
9288 eval "$ac_cv_use_accessibility"
9289 if test "$no_cache" != 1; then
9290 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9291 fi
9292
9293 if test "$wxUSE_ACCESSIBILITY" = yes; then
9294 echo "$as_me:$LINENO: result: yes" >&5
9295echo "${ECHO_T}yes" >&6
9296 else
9297 echo "$as_me:$LINENO: result: no" >&5
9298echo "${ECHO_T}no" >&6
9299 fi
9300
9301
9302
9303
9304 enablestring=
9305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9306echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9307 no_cache=0
9308 # Check whether --enable-palette or --disable-palette was given.
9309if test "${enable_palette+set}" = set; then
9310 enableval="$enable_palette"
9311
9312 if test "$enableval" = yes; then
9313 ac_cv_use_palette='wxUSE_PALETTE=yes'
9314 else
9315 ac_cv_use_palette='wxUSE_PALETTE=no'
9316 fi
9317
9318else
9319
9320 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9321 if test "x$LINE" != x ; then
9322 eval "DEFAULT_$LINE"
9323 else
9324 no_cache=1
9325 fi
9326
9327 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9328
9329fi;
9330
9331 eval "$ac_cv_use_palette"
9332 if test "$no_cache" != 1; then
9333 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9334 fi
9335
9336 if test "$wxUSE_PALETTE" = yes; then
9337 echo "$as_me:$LINENO: result: yes" >&5
9338echo "${ECHO_T}yes" >&6
9339 else
9340 echo "$as_me:$LINENO: result: no" >&5
9341echo "${ECHO_T}no" >&6
9342 fi
9343
9344
9345 enablestring=
9346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9347echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9348 no_cache=0
9349 # Check whether --enable-image or --disable-image was given.
9350if test "${enable_image+set}" = set; then
9351 enableval="$enable_image"
9352
9353 if test "$enableval" = yes; then
9354 ac_cv_use_image='wxUSE_IMAGE=yes'
9355 else
9356 ac_cv_use_image='wxUSE_IMAGE=no'
9357 fi
9358
9359else
9360
9361 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9362 if test "x$LINE" != x ; then
9363 eval "DEFAULT_$LINE"
9364 else
9365 no_cache=1
9366 fi
9367
9368 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9369
9370fi;
9371
9372 eval "$ac_cv_use_image"
9373 if test "$no_cache" != 1; then
9374 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9375 fi
9376
9377 if test "$wxUSE_IMAGE" = yes; then
9378 echo "$as_me:$LINENO: result: yes" >&5
9379echo "${ECHO_T}yes" >&6
9380 else
9381 echo "$as_me:$LINENO: result: no" >&5
9382echo "${ECHO_T}no" >&6
9383 fi
9384
9385
9386 enablestring=
9387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9388echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9389 no_cache=0
9390 # Check whether --enable-gif or --disable-gif was given.
9391if test "${enable_gif+set}" = set; then
9392 enableval="$enable_gif"
9393
9394 if test "$enableval" = yes; then
9395 ac_cv_use_gif='wxUSE_GIF=yes'
9396 else
9397 ac_cv_use_gif='wxUSE_GIF=no'
9398 fi
9399
9400else
9401
9402 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9403 if test "x$LINE" != x ; then
9404 eval "DEFAULT_$LINE"
9405 else
9406 no_cache=1
9407 fi
9408
9409 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9410
9411fi;
9412
9413 eval "$ac_cv_use_gif"
9414 if test "$no_cache" != 1; then
9415 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9416 fi
9417
9418 if test "$wxUSE_GIF" = yes; then
9419 echo "$as_me:$LINENO: result: yes" >&5
9420echo "${ECHO_T}yes" >&6
9421 else
9422 echo "$as_me:$LINENO: result: no" >&5
9423echo "${ECHO_T}no" >&6
9424 fi
9425
9426
9427 enablestring=
9428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9429echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9430 no_cache=0
9431 # Check whether --enable-pcx or --disable-pcx was given.
9432if test "${enable_pcx+set}" = set; then
9433 enableval="$enable_pcx"
9434
9435 if test "$enableval" = yes; then
9436 ac_cv_use_pcx='wxUSE_PCX=yes'
9437 else
9438 ac_cv_use_pcx='wxUSE_PCX=no'
9439 fi
9440
9441else
9442
9443 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9444 if test "x$LINE" != x ; then
9445 eval "DEFAULT_$LINE"
9446 else
9447 no_cache=1
9448 fi
9449
9450 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9451
9452fi;
9453
9454 eval "$ac_cv_use_pcx"
9455 if test "$no_cache" != 1; then
9456 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9457 fi
9458
9459 if test "$wxUSE_PCX" = yes; then
9460 echo "$as_me:$LINENO: result: yes" >&5
9461echo "${ECHO_T}yes" >&6
9462 else
9463 echo "$as_me:$LINENO: result: no" >&5
9464echo "${ECHO_T}no" >&6
9465 fi
9466
9467
9468 enablestring=
9469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9470echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9471 no_cache=0
9472 # Check whether --enable-iff or --disable-iff was given.
9473if test "${enable_iff+set}" = set; then
9474 enableval="$enable_iff"
9475
9476 if test "$enableval" = yes; then
9477 ac_cv_use_iff='wxUSE_IFF=yes'
9478 else
9479 ac_cv_use_iff='wxUSE_IFF=no'
9480 fi
9481
9482else
9483
9484 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9485 if test "x$LINE" != x ; then
9486 eval "DEFAULT_$LINE"
9487 else
9488 no_cache=1
9489 fi
9490
9491 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9492
9493fi;
9494
9495 eval "$ac_cv_use_iff"
9496 if test "$no_cache" != 1; then
9497 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9498 fi
9499
9500 if test "$wxUSE_IFF" = yes; then
9501 echo "$as_me:$LINENO: result: yes" >&5
9502echo "${ECHO_T}yes" >&6
9503 else
9504 echo "$as_me:$LINENO: result: no" >&5
9505echo "${ECHO_T}no" >&6
9506 fi
9507
9508
9509 enablestring=
9510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9511echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9512 no_cache=0
9513 # Check whether --enable-pnm or --disable-pnm was given.
9514if test "${enable_pnm+set}" = set; then
9515 enableval="$enable_pnm"
9516
9517 if test "$enableval" = yes; then
9518 ac_cv_use_pnm='wxUSE_PNM=yes'
9519 else
9520 ac_cv_use_pnm='wxUSE_PNM=no'
9521 fi
9522
9523else
9524
9525 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9526 if test "x$LINE" != x ; then
9527 eval "DEFAULT_$LINE"
9528 else
9529 no_cache=1
9530 fi
9531
9532 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9533
9534fi;
9535
9536 eval "$ac_cv_use_pnm"
9537 if test "$no_cache" != 1; then
9538 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9539 fi
9540
9541 if test "$wxUSE_PNM" = yes; then
9542 echo "$as_me:$LINENO: result: yes" >&5
9543echo "${ECHO_T}yes" >&6
9544 else
9545 echo "$as_me:$LINENO: result: no" >&5
9546echo "${ECHO_T}no" >&6
9547 fi
9548
9549
9550 enablestring=
9551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9552echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9553 no_cache=0
9554 # Check whether --enable-xpm or --disable-xpm was given.
9555if test "${enable_xpm+set}" = set; then
9556 enableval="$enable_xpm"
9557
9558 if test "$enableval" = yes; then
9559 ac_cv_use_xpm='wxUSE_XPM=yes'
9560 else
9561 ac_cv_use_xpm='wxUSE_XPM=no'
9562 fi
9563
9564else
9565
9566 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9567 if test "x$LINE" != x ; then
9568 eval "DEFAULT_$LINE"
9569 else
9570 no_cache=1
9571 fi
9572
9573 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9574
9575fi;
9576
9577 eval "$ac_cv_use_xpm"
9578 if test "$no_cache" != 1; then
9579 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9580 fi
9581
9582 if test "$wxUSE_XPM" = yes; then
9583 echo "$as_me:$LINENO: result: yes" >&5
9584echo "${ECHO_T}yes" >&6
9585 else
9586 echo "$as_me:$LINENO: result: no" >&5
9587echo "${ECHO_T}no" >&6
9588 fi
9589
9590
9591 enablestring=
9592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9593echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9594 no_cache=0
9595 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9596if test "${enable_ico_cur+set}" = set; then
9597 enableval="$enable_ico_cur"
9598
9599 if test "$enableval" = yes; then
9600 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9601 else
9602 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9603 fi
9604
9605else
9606
9607 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9608 if test "x$LINE" != x ; then
9609 eval "DEFAULT_$LINE"
9610 else
9611 no_cache=1
9612 fi
9613
9614 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9615
9616fi;
9617
9618 eval "$ac_cv_use_ico_cur"
9619 if test "$no_cache" != 1; then
9620 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9621 fi
9622
9623 if test "$wxUSE_ICO_CUR" = yes; then
9624 echo "$as_me:$LINENO: result: yes" >&5
9625echo "${ECHO_T}yes" >&6
9626 else
9627 echo "$as_me:$LINENO: result: no" >&5
9628echo "${ECHO_T}no" >&6
9629 fi
9630
9631
9632fi
9633
9634
9635
9636 enablestring=
9637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9638echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9639 no_cache=0
9640 # Check whether --enable-official_build or --disable-official_build was given.
9641if test "${enable_official_build+set}" = set; then
9642 enableval="$enable_official_build"
9643
9644 if test "$enableval" = yes; then
9645 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9646 else
9647 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9648 fi
9649
9650else
9651
9652 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9653 if test "x$LINE" != x ; then
9654 eval "DEFAULT_$LINE"
9655 else
9656 no_cache=1
9657 fi
9658
9659 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9660
9661fi;
9662
9663 eval "$ac_cv_use_official_build"
9664 if test "$no_cache" != 1; then
9665 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9666 fi
9667
9668 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9669 echo "$as_me:$LINENO: result: yes" >&5
9670echo "${ECHO_T}yes" >&6
9671 else
9672 echo "$as_me:$LINENO: result: no" >&5
9673echo "${ECHO_T}no" >&6
9674 fi
9675
9676# Check whether --enable-vendor or --disable-vendor was given.
9677if test "${enable_vendor+set}" = set; then
9678 enableval="$enable_vendor"
9679 VENDOR="$enableval"
9680fi;
9681if test "x$VENDOR" = "x"; then
9682 VENDOR="custom"
9683fi
9684
9685case "${host}" in
9686 *-pc-os2_emx | *-pc-os2-emx )
9687 PATH_IFS=';'
9688 ;;
9689 *)
9690 PATH_IFS=':'
9691 ;;
9692esac
9693
9694
9695
9696 echo "saving argument cache $wx_arg_cache_file"
9697 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9698
9699
9700
9701echo "$as_me:$LINENO: checking for toolkit" >&5
9702echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9703
9704# In Wine, we need to default to MSW, not GTK or MOTIF
9705if test "$wxUSE_WINE" = "yes"; then
9706 DEFAULT_DEFAULT_wxUSE_GTK=0
9707 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9708 DEFAULT_DEFAULT_wxUSE_MSW=1
9709fi
9710
9711if test "$wxUSE_GUI" = "yes"; then
9712
9713 if test "$USE_BEOS" = 1; then
9714 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9715echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9716 { (exit 1); exit 1; }; }
9717 fi
9718
9719 if test "$TOOLKIT_GIVEN" = 1; then
9720 for toolkit in `echo $ALL_TOOLKITS`; do
9721 var=wxUSE_$toolkit
9722 eval "value=\$${var}"
9723 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9724 done
9725 else
9726 for toolkit in `echo $ALL_TOOLKITS`; do
9727 if test "$has_toolkit_in_cache" != 1; then
9728 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9729 else
9730 var=DEFAULT_wxUSE_$toolkit
9731 fi
9732 eval "wxUSE_$toolkit=\$${var}"
9733 done
9734 fi
9735
9736 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9737 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9738 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9739
9740 case "${host}" in
9741 *-pc-os2_emx | *-pc-os2-emx )
9742 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9743 esac
9744
9745 case "$NUM_TOOLKITS" in
9746 1)
9747 ;;
9748 0)
9749 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9750echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9751 { (exit 1); exit 1; }; }
9752 ;;
9753 *)
9754 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9755echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9756 { (exit 1); exit 1; }; }
9757 esac
9758
9759 for toolkit in `echo $ALL_TOOLKITS`; do
9760 var=wxUSE_$toolkit
9761 eval "value=\$${var}"
9762 if test "x$value" != x; then
9763 cache_var=CACHE_$toolkit
9764 eval "cache=\$${cache_var}"
9765 if test "$cache" = 1; then
9766 echo "$var=$value" >> ${wx_arg_cache_file}
9767 fi
9768 if test "$value" = 1; then
9769 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9770 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9771echo "${ECHO_T}$toolkit_echo" >&6
9772 fi
9773 fi
9774 done
9775else
9776 if test "x$host_alias" != "x"; then
9777 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9778echo "${ECHO_T}base ($host_alias hosted) only" >&6
9779 else
9780 echo "$as_me:$LINENO: result: base only" >&5
9781echo "${ECHO_T}base only" >&6
9782 fi
9783fi
9784
9785wants_win32=0
9786doesnt_want_win32=0
9787case "${host}" in
9788 *-*-cygwin*)
9789 if test "$wxUSE_MSW" = 1 ; then
9790 wants_win32=1
9791 else
9792 doesnt_want_win32=1
9793 fi
9794 ;;
9795 *-*-mingw*)
9796 wants_win32=1
9797 ;;
9798esac
9799
9800if test "$wxUSE_WINE" = "yes"; then
9801 wants_win32=1
9802 CC=winegcc
9803 CXX=wineg++
9804 RESCOMP=wrc
9805fi
9806
9807if test "$wants_win32" = 1 ; then
9808 USE_UNIX=0
9809 USE_WIN32=1
9810 cat >>confdefs.h <<\_ACEOF
9811#define __WIN32__ 1
9812_ACEOF
9813
9814 cat >>confdefs.h <<\_ACEOF
9815#define __WIN95__ 1
9816_ACEOF
9817
9818 cat >>confdefs.h <<\_ACEOF
9819#define __WINDOWS__ 1
9820_ACEOF
9821
9822 cat >>confdefs.h <<\_ACEOF
9823#define __GNUWIN32__ 1
9824_ACEOF
9825
9826 cat >>confdefs.h <<\_ACEOF
9827#define STRICT 1
9828_ACEOF
9829
9830 cat >>confdefs.h <<\_ACEOF
9831#define WINVER 0x0400
9832_ACEOF
9833
9834fi
9835if test "$doesnt_want_win32" = 1 ; then
9836 USE_UNIX=1
9837 USE_WIN32=0
9838fi
9839
9840if test "$USE_UNIX" = 1 ; then
9841 wxUSE_UNIX=yes
9842 cat >>confdefs.h <<\_ACEOF
9843#define __UNIX__ 1
9844_ACEOF
9845
9846fi
9847
9848
9849cat >confcache <<\_ACEOF
9850# This file is a shell script that caches the results of configure
9851# tests run on this system so they can be shared between configure
9852# scripts and configure runs, see configure's option --config-cache.
9853# It is not useful on other systems. If it contains results you don't
9854# want to keep, you may remove or edit it.
9855#
9856# config.status only pays attention to the cache file if you give it
9857# the --recheck option to rerun configure.
9858#
9859# `ac_cv_env_foo' variables (set or unset) will be overridden when
9860# loading this file, other *unset* `ac_cv_foo' will be assigned the
9861# following values.
9862
9863_ACEOF
9864
9865# The following way of writing the cache mishandles newlines in values,
9866# but we know of no workaround that is simple, portable, and efficient.
9867# So, don't put newlines in cache variables' values.
9868# Ultrix sh set writes to stderr and can't be redirected directly,
9869# and sets the high bit in the cache file unless we assign to the vars.
9870{
9871 (set) 2>&1 |
9872 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9873 *ac_space=\ *)
9874 # `set' does not quote correctly, so add quotes (double-quote
9875 # substitution turns \\\\ into \\, and sed turns \\ into \).
9876 sed -n \
9877 "s/'/'\\\\''/g;
9878 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9879 ;;
9880 *)
9881 # `set' quotes correctly as required by POSIX, so do not add quotes.
9882 sed -n \
9883 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9884 ;;
9885 esac;
9886} |
9887 sed '
9888 t clear
9889 : clear
9890 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9891 t end
9892 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9893 : end' >>confcache
9894if diff $cache_file confcache >/dev/null 2>&1; then :; else
9895 if test -w $cache_file; then
9896 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9897 cat confcache >$cache_file
9898 else
9899 echo "not updating unwritable cache $cache_file"
9900 fi
9901fi
9902rm -f confcache
9903
9904if test "$build" != "$host" ; then
9905 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9906 CC=$host_alias-gcc
9907 CXX=$host_alias-c++
9908 AR=$host_alias-ar
9909 RANLIB=$host_alias-ranlib
9910 DLLTOOL=$host_alias-dlltool
9911 RESCOMP=$host_alias-windres
9912 LD=$host_alias-ld
9913 NM=$host_alias-nm
9914 STRIP=$host_alias-strip
9915 else
9916 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9917echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9918 { (exit 1); exit 1; }; }
9919 fi
9920fi
9921
9922CFLAGS=${CFLAGS:=}
9923ac_ext=c
9924ac_cpp='$CPP $CPPFLAGS'
9925ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9926ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9927ac_compiler_gnu=$ac_cv_c_compiler_gnu
9928if test -n "$ac_tool_prefix"; then
9929 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9930set dummy ${ac_tool_prefix}gcc; ac_word=$2
9931echo "$as_me:$LINENO: checking for $ac_word" >&5
9932echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9933if test "${ac_cv_prog_CC+set}" = set; then
9934 echo $ECHO_N "(cached) $ECHO_C" >&6
9935else
9936 if test -n "$CC"; then
9937 ac_cv_prog_CC="$CC" # Let the user override the test.
9938else
9939as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9940for as_dir in $PATH
9941do
9942 IFS=$as_save_IFS
9943 test -z "$as_dir" && as_dir=.
9944 for ac_exec_ext in '' $ac_executable_extensions; do
9945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9946 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9948 break 2
9949 fi
9950done
9951done
9952
9953fi
9954fi
9955CC=$ac_cv_prog_CC
9956if test -n "$CC"; then
9957 echo "$as_me:$LINENO: result: $CC" >&5
9958echo "${ECHO_T}$CC" >&6
9959else
9960 echo "$as_me:$LINENO: result: no" >&5
9961echo "${ECHO_T}no" >&6
9962fi
9963
9964fi
9965if test -z "$ac_cv_prog_CC"; then
9966 ac_ct_CC=$CC
9967 # Extract the first word of "gcc", so it can be a program name with args.
9968set dummy gcc; ac_word=$2
9969echo "$as_me:$LINENO: checking for $ac_word" >&5
9970echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9971if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9972 echo $ECHO_N "(cached) $ECHO_C" >&6
9973else
9974 if test -n "$ac_ct_CC"; then
9975 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9976else
9977as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9978for as_dir in $PATH
9979do
9980 IFS=$as_save_IFS
9981 test -z "$as_dir" && as_dir=.
9982 for ac_exec_ext in '' $ac_executable_extensions; do
9983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9984 ac_cv_prog_ac_ct_CC="gcc"
9985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9986 break 2
9987 fi
9988done
9989done
9990
9991fi
9992fi
9993ac_ct_CC=$ac_cv_prog_ac_ct_CC
9994if test -n "$ac_ct_CC"; then
9995 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9996echo "${ECHO_T}$ac_ct_CC" >&6
9997else
9998 echo "$as_me:$LINENO: result: no" >&5
9999echo "${ECHO_T}no" >&6
10000fi
10001
10002 CC=$ac_ct_CC
10003else
10004 CC="$ac_cv_prog_CC"
10005fi
10006
10007if test -z "$CC"; then
10008 if test -n "$ac_tool_prefix"; then
10009 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10010set dummy ${ac_tool_prefix}cc; ac_word=$2
10011echo "$as_me:$LINENO: checking for $ac_word" >&5
10012echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10013if test "${ac_cv_prog_CC+set}" = set; then
10014 echo $ECHO_N "(cached) $ECHO_C" >&6
10015else
10016 if test -n "$CC"; then
10017 ac_cv_prog_CC="$CC" # Let the user override the test.
10018else
10019as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10020for as_dir in $PATH
10021do
10022 IFS=$as_save_IFS
10023 test -z "$as_dir" && as_dir=.
10024 for ac_exec_ext in '' $ac_executable_extensions; do
10025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10026 ac_cv_prog_CC="${ac_tool_prefix}cc"
10027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10028 break 2
10029 fi
10030done
10031done
10032
10033fi
10034fi
10035CC=$ac_cv_prog_CC
10036if test -n "$CC"; then
10037 echo "$as_me:$LINENO: result: $CC" >&5
10038echo "${ECHO_T}$CC" >&6
10039else
10040 echo "$as_me:$LINENO: result: no" >&5
10041echo "${ECHO_T}no" >&6
10042fi
10043
10044fi
10045if test -z "$ac_cv_prog_CC"; then
10046 ac_ct_CC=$CC
10047 # Extract the first word of "cc", so it can be a program name with args.
10048set dummy cc; ac_word=$2
10049echo "$as_me:$LINENO: checking for $ac_word" >&5
10050echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10051if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10052 echo $ECHO_N "(cached) $ECHO_C" >&6
10053else
10054 if test -n "$ac_ct_CC"; then
10055 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10056else
10057as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10058for as_dir in $PATH
10059do
10060 IFS=$as_save_IFS
10061 test -z "$as_dir" && as_dir=.
10062 for ac_exec_ext in '' $ac_executable_extensions; do
10063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10064 ac_cv_prog_ac_ct_CC="cc"
10065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10066 break 2
10067 fi
10068done
10069done
10070
10071fi
10072fi
10073ac_ct_CC=$ac_cv_prog_ac_ct_CC
10074if test -n "$ac_ct_CC"; then
10075 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10076echo "${ECHO_T}$ac_ct_CC" >&6
10077else
10078 echo "$as_me:$LINENO: result: no" >&5
10079echo "${ECHO_T}no" >&6
10080fi
10081
10082 CC=$ac_ct_CC
10083else
10084 CC="$ac_cv_prog_CC"
10085fi
10086
10087fi
10088if test -z "$CC"; then
10089 # Extract the first word of "cc", so it can be a program name with args.
10090set dummy cc; ac_word=$2
10091echo "$as_me:$LINENO: checking for $ac_word" >&5
10092echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10093if test "${ac_cv_prog_CC+set}" = set; then
10094 echo $ECHO_N "(cached) $ECHO_C" >&6
10095else
10096 if test -n "$CC"; then
10097 ac_cv_prog_CC="$CC" # Let the user override the test.
10098else
10099 ac_prog_rejected=no
10100as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10101for as_dir in $PATH
10102do
10103 IFS=$as_save_IFS
10104 test -z "$as_dir" && as_dir=.
10105 for ac_exec_ext in '' $ac_executable_extensions; do
10106 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10107 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10108 ac_prog_rejected=yes
10109 continue
10110 fi
10111 ac_cv_prog_CC="cc"
10112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10113 break 2
10114 fi
10115done
10116done
10117
10118if test $ac_prog_rejected = yes; then
10119 # We found a bogon in the path, so make sure we never use it.
10120 set dummy $ac_cv_prog_CC
10121 shift
10122 if test $# != 0; then
10123 # We chose a different compiler from the bogus one.
10124 # However, it has the same basename, so the bogon will be chosen
10125 # first if we set CC to just the basename; use the full file name.
10126 shift
10127 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10128 fi
10129fi
10130fi
10131fi
10132CC=$ac_cv_prog_CC
10133if test -n "$CC"; then
10134 echo "$as_me:$LINENO: result: $CC" >&5
10135echo "${ECHO_T}$CC" >&6
10136else
10137 echo "$as_me:$LINENO: result: no" >&5
10138echo "${ECHO_T}no" >&6
10139fi
10140
10141fi
10142if test -z "$CC"; then
10143 if test -n "$ac_tool_prefix"; then
10144 for ac_prog in cl
10145 do
10146 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10147set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10148echo "$as_me:$LINENO: checking for $ac_word" >&5
10149echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10150if test "${ac_cv_prog_CC+set}" = set; then
10151 echo $ECHO_N "(cached) $ECHO_C" >&6
10152else
10153 if test -n "$CC"; then
10154 ac_cv_prog_CC="$CC" # Let the user override the test.
10155else
10156as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10157for as_dir in $PATH
10158do
10159 IFS=$as_save_IFS
10160 test -z "$as_dir" && as_dir=.
10161 for ac_exec_ext in '' $ac_executable_extensions; do
10162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10163 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10165 break 2
10166 fi
10167done
10168done
10169
10170fi
10171fi
10172CC=$ac_cv_prog_CC
10173if test -n "$CC"; then
10174 echo "$as_me:$LINENO: result: $CC" >&5
10175echo "${ECHO_T}$CC" >&6
10176else
10177 echo "$as_me:$LINENO: result: no" >&5
10178echo "${ECHO_T}no" >&6
10179fi
10180
10181 test -n "$CC" && break
10182 done
10183fi
10184if test -z "$CC"; then
10185 ac_ct_CC=$CC
10186 for ac_prog in cl
10187do
10188 # Extract the first word of "$ac_prog", so it can be a program name with args.
10189set dummy $ac_prog; ac_word=$2
10190echo "$as_me:$LINENO: checking for $ac_word" >&5
10191echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10192if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10193 echo $ECHO_N "(cached) $ECHO_C" >&6
10194else
10195 if test -n "$ac_ct_CC"; then
10196 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10197else
10198as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10199for as_dir in $PATH
10200do
10201 IFS=$as_save_IFS
10202 test -z "$as_dir" && as_dir=.
10203 for ac_exec_ext in '' $ac_executable_extensions; do
10204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10205 ac_cv_prog_ac_ct_CC="$ac_prog"
10206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10207 break 2
10208 fi
10209done
10210done
10211
10212fi
10213fi
10214ac_ct_CC=$ac_cv_prog_ac_ct_CC
10215if test -n "$ac_ct_CC"; then
10216 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10217echo "${ECHO_T}$ac_ct_CC" >&6
10218else
10219 echo "$as_me:$LINENO: result: no" >&5
10220echo "${ECHO_T}no" >&6
10221fi
10222
10223 test -n "$ac_ct_CC" && break
10224done
10225
10226 CC=$ac_ct_CC
10227fi
10228
10229fi
10230
10231
10232test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10233See \`config.log' for more details." >&5
10234echo "$as_me: error: no acceptable C compiler found in \$PATH
10235See \`config.log' for more details." >&2;}
10236 { (exit 1); exit 1; }; }
10237
10238# Provide some information about the compiler.
10239echo "$as_me:$LINENO:" \
10240 "checking for C compiler version" >&5
10241ac_compiler=`set X $ac_compile; echo $2`
10242{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10243 (eval $ac_compiler --version </dev/null >&5) 2>&5
10244 ac_status=$?
10245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10246 (exit $ac_status); }
10247{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10248 (eval $ac_compiler -v </dev/null >&5) 2>&5
10249 ac_status=$?
10250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251 (exit $ac_status); }
10252{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10253 (eval $ac_compiler -V </dev/null >&5) 2>&5
10254 ac_status=$?
10255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10256 (exit $ac_status); }
10257
10258cat >conftest.$ac_ext <<_ACEOF
10259#line $LINENO "configure"
10260/* confdefs.h. */
10261_ACEOF
10262cat confdefs.h >>conftest.$ac_ext
10263cat >>conftest.$ac_ext <<_ACEOF
10264/* end confdefs.h. */
10265
10266int
10267main ()
10268{
10269
10270 ;
10271 return 0;
10272}
10273_ACEOF
10274ac_clean_files_save=$ac_clean_files
10275ac_clean_files="$ac_clean_files a.out a.exe b.out"
10276# Try to create an executable without -o first, disregard a.out.
10277# It will help us diagnose broken compilers, and finding out an intuition
10278# of exeext.
10279echo "$as_me:$LINENO: checking for C compiler default output" >&5
10280echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10281ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10282if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10283 (eval $ac_link_default) 2>&5
10284 ac_status=$?
10285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10286 (exit $ac_status); }; then
10287 # Find the output, starting from the most likely. This scheme is
10288# not robust to junk in `.', hence go to wildcards (a.*) only as a last
10289# resort.
10290
10291# Be careful to initialize this variable, since it used to be cached.
10292# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10293ac_cv_exeext=
10294# b.out is created by i960 compilers.
10295for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10296do
10297 test -f "$ac_file" || continue
10298 case $ac_file in
10299 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10300 ;;
10301 conftest.$ac_ext )
10302 # This is the source file.
10303 ;;
10304 [ab].out )
10305 # We found the default executable, but exeext='' is most
10306 # certainly right.
10307 break;;
10308 *.* )
10309 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10310 # FIXME: I believe we export ac_cv_exeext for Libtool,
10311 # but it would be cool to find out if it's true. Does anybody
10312 # maintain Libtool? --akim.
10313 export ac_cv_exeext
10314 break;;
10315 * )
10316 break;;
10317 esac
10318done
10319else
10320 echo "$as_me: failed program was:" >&5
10321sed 's/^/| /' conftest.$ac_ext >&5
10322
10323{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
10324See \`config.log' for more details." >&5
10325echo "$as_me: error: C compiler cannot create executables
10326See \`config.log' for more details." >&2;}
10327 { (exit 77); exit 77; }; }
10328fi
10329
10330ac_exeext=$ac_cv_exeext
10331echo "$as_me:$LINENO: result: $ac_file" >&5
10332echo "${ECHO_T}$ac_file" >&6
10333
10334# Check the compiler produces executables we can run. If not, either
10335# the compiler is broken, or we cross compile.
10336echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10337echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10338# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10339# If not cross compiling, check that we can run a simple program.
10340if test "$cross_compiling" != yes; then
10341 if { ac_try='./$ac_file'
10342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10343 (eval $ac_try) 2>&5
10344 ac_status=$?
10345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10346 (exit $ac_status); }; }; then
10347 cross_compiling=no
10348 else
10349 if test "$cross_compiling" = maybe; then
10350 cross_compiling=yes
10351 else
10352 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10353If you meant to cross compile, use \`--host'.
10354See \`config.log' for more details." >&5
10355echo "$as_me: error: cannot run C compiled programs.
10356If you meant to cross compile, use \`--host'.
10357See \`config.log' for more details." >&2;}
10358 { (exit 1); exit 1; }; }
10359 fi
10360 fi
10361fi
10362echo "$as_me:$LINENO: result: yes" >&5
10363echo "${ECHO_T}yes" >&6
10364
10365rm -f a.out a.exe conftest$ac_cv_exeext b.out
10366ac_clean_files=$ac_clean_files_save
10367# Check the compiler produces executables we can run. If not, either
10368# the compiler is broken, or we cross compile.
10369echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10370echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10371echo "$as_me:$LINENO: result: $cross_compiling" >&5
10372echo "${ECHO_T}$cross_compiling" >&6
10373
10374echo "$as_me:$LINENO: checking for suffix of executables" >&5
10375echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10376if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10377 (eval $ac_link) 2>&5
10378 ac_status=$?
10379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10380 (exit $ac_status); }; then
10381 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10382# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10383# work properly (i.e., refer to `conftest.exe'), while it won't with
10384# `rm'.
10385for ac_file in conftest.exe conftest conftest.*; do
10386 test -f "$ac_file" || continue
10387 case $ac_file in
10388 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10389 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10390 export ac_cv_exeext
10391 break;;
10392 * ) break;;
10393 esac
10394done
10395else
10396 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10397See \`config.log' for more details." >&5
10398echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10399See \`config.log' for more details." >&2;}
10400 { (exit 1); exit 1; }; }
10401fi
10402
10403rm -f conftest$ac_cv_exeext
10404echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10405echo "${ECHO_T}$ac_cv_exeext" >&6
10406
10407rm -f conftest.$ac_ext
10408EXEEXT=$ac_cv_exeext
10409ac_exeext=$EXEEXT
10410echo "$as_me:$LINENO: checking for suffix of object files" >&5
10411echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10412if test "${ac_cv_objext+set}" = set; then
10413 echo $ECHO_N "(cached) $ECHO_C" >&6
10414else
10415 cat >conftest.$ac_ext <<_ACEOF
10416#line $LINENO "configure"
10417/* confdefs.h. */
10418_ACEOF
10419cat confdefs.h >>conftest.$ac_ext
10420cat >>conftest.$ac_ext <<_ACEOF
10421/* end confdefs.h. */
10422
10423int
10424main ()
10425{
10426
10427 ;
10428 return 0;
10429}
10430_ACEOF
10431rm -f conftest.o conftest.obj
10432if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10433 (eval $ac_compile) 2>&5
10434 ac_status=$?
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); }; then
10437 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10438 case $ac_file in
10439 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10440 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10441 break;;
10442 esac
10443done
10444else
10445 echo "$as_me: failed program was:" >&5
10446sed 's/^/| /' conftest.$ac_ext >&5
10447
10448{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10449See \`config.log' for more details." >&5
10450echo "$as_me: error: cannot compute suffix of object files: cannot compile
10451See \`config.log' for more details." >&2;}
10452 { (exit 1); exit 1; }; }
10453fi
10454
10455rm -f conftest.$ac_cv_objext conftest.$ac_ext
10456fi
10457echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10458echo "${ECHO_T}$ac_cv_objext" >&6
10459OBJEXT=$ac_cv_objext
10460ac_objext=$OBJEXT
10461echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10462echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10463if test "${ac_cv_c_compiler_gnu+set}" = set; then
10464 echo $ECHO_N "(cached) $ECHO_C" >&6
10465else
10466 cat >conftest.$ac_ext <<_ACEOF
10467#line $LINENO "configure"
10468/* confdefs.h. */
10469_ACEOF
10470cat confdefs.h >>conftest.$ac_ext
10471cat >>conftest.$ac_ext <<_ACEOF
10472/* end confdefs.h. */
10473
10474int
10475main ()
10476{
10477#ifndef __GNUC__
10478 choke me
10479#endif
10480
10481 ;
10482 return 0;
10483}
10484_ACEOF
10485rm -f conftest.$ac_objext
10486if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10487 (eval $ac_compile) 2>&5
10488 ac_status=$?
10489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10490 (exit $ac_status); } &&
10491 { ac_try='test -s conftest.$ac_objext'
10492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10493 (eval $ac_try) 2>&5
10494 ac_status=$?
10495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10496 (exit $ac_status); }; }; then
10497 ac_compiler_gnu=yes
10498else
10499 echo "$as_me: failed program was:" >&5
10500sed 's/^/| /' conftest.$ac_ext >&5
10501
10502ac_compiler_gnu=no
10503fi
10504rm -f conftest.$ac_objext conftest.$ac_ext
10505ac_cv_c_compiler_gnu=$ac_compiler_gnu
10506
10507fi
10508echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10509echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10510GCC=`test $ac_compiler_gnu = yes && echo yes`
10511ac_test_CFLAGS=${CFLAGS+set}
10512ac_save_CFLAGS=$CFLAGS
10513CFLAGS="-g"
10514echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10515echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10516if test "${ac_cv_prog_cc_g+set}" = set; then
10517 echo $ECHO_N "(cached) $ECHO_C" >&6
10518else
10519 cat >conftest.$ac_ext <<_ACEOF
10520#line $LINENO "configure"
10521/* confdefs.h. */
10522_ACEOF
10523cat confdefs.h >>conftest.$ac_ext
10524cat >>conftest.$ac_ext <<_ACEOF
10525/* end confdefs.h. */
10526
10527int
10528main ()
10529{
10530
10531 ;
10532 return 0;
10533}
10534_ACEOF
10535rm -f conftest.$ac_objext
10536if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10537 (eval $ac_compile) 2>&5
10538 ac_status=$?
10539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10540 (exit $ac_status); } &&
10541 { ac_try='test -s conftest.$ac_objext'
10542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10543 (eval $ac_try) 2>&5
10544 ac_status=$?
10545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10546 (exit $ac_status); }; }; then
10547 ac_cv_prog_cc_g=yes
10548else
10549 echo "$as_me: failed program was:" >&5
10550sed 's/^/| /' conftest.$ac_ext >&5
10551
10552ac_cv_prog_cc_g=no
10553fi
10554rm -f conftest.$ac_objext conftest.$ac_ext
10555fi
10556echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10557echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10558if test "$ac_test_CFLAGS" = set; then
10559 CFLAGS=$ac_save_CFLAGS
10560elif test $ac_cv_prog_cc_g = yes; then
10561 if test "$GCC" = yes; then
10562 CFLAGS="-g -O2"
10563 else
10564 CFLAGS="-g"
10565 fi
10566else
10567 if test "$GCC" = yes; then
10568 CFLAGS="-O2"
10569 else
10570 CFLAGS=
10571 fi
10572fi
10573echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10574echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10575if test "${ac_cv_prog_cc_stdc+set}" = set; then
10576 echo $ECHO_N "(cached) $ECHO_C" >&6
10577else
10578 ac_cv_prog_cc_stdc=no
10579ac_save_CC=$CC
10580cat >conftest.$ac_ext <<_ACEOF
10581#line $LINENO "configure"
10582/* confdefs.h. */
10583_ACEOF
10584cat confdefs.h >>conftest.$ac_ext
10585cat >>conftest.$ac_ext <<_ACEOF
10586/* end confdefs.h. */
10587#include <stdarg.h>
10588#include <stdio.h>
10589#include <sys/types.h>
10590#include <sys/stat.h>
10591/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10592struct buf { int x; };
10593FILE * (*rcsopen) (struct buf *, struct stat *, int);
10594static char *e (p, i)
10595 char **p;
10596 int i;
10597{
10598 return p[i];
10599}
10600static char *f (char * (*g) (char **, int), char **p, ...)
10601{
10602 char *s;
10603 va_list v;
10604 va_start (v,p);
10605 s = g (p, va_arg (v,int));
10606 va_end (v);
10607 return s;
10608}
10609int test (int i, double x);
10610struct s1 {int (*f) (int a);};
10611struct s2 {int (*f) (double a);};
10612int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10613int argc;
10614char **argv;
10615int
10616main ()
10617{
10618return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10619 ;
10620 return 0;
10621}
10622_ACEOF
10623# Don't try gcc -ansi; that turns off useful extensions and
10624# breaks some systems' header files.
10625# AIX -qlanglvl=ansi
10626# Ultrix and OSF/1 -std1
10627# HP-UX 10.20 and later -Ae
10628# HP-UX older versions -Aa -D_HPUX_SOURCE
10629# SVR4 -Xc -D__EXTENSIONS__
10630for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10631do
10632 CC="$ac_save_CC $ac_arg"
10633 rm -f conftest.$ac_objext
10634if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10635 (eval $ac_compile) 2>&5
10636 ac_status=$?
10637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10638 (exit $ac_status); } &&
10639 { ac_try='test -s conftest.$ac_objext'
10640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10641 (eval $ac_try) 2>&5
10642 ac_status=$?
10643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 (exit $ac_status); }; }; then
10645 ac_cv_prog_cc_stdc=$ac_arg
10646break
10647else
10648 echo "$as_me: failed program was:" >&5
10649sed 's/^/| /' conftest.$ac_ext >&5
10650
10651fi
10652rm -f conftest.$ac_objext
10653done
10654rm -f conftest.$ac_ext conftest.$ac_objext
10655CC=$ac_save_CC
10656
10657fi
10658
10659case "x$ac_cv_prog_cc_stdc" in
10660 x|xno)
10661 echo "$as_me:$LINENO: result: none needed" >&5
10662echo "${ECHO_T}none needed" >&6 ;;
10663 *)
10664 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10665echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10666 CC="$CC $ac_cv_prog_cc_stdc" ;;
10667esac
10668
10669# Some people use a C++ compiler to compile C. Since we use `exit',
10670# in C++ we need to declare it. In case someone uses the same compiler
10671# for both compiling C and C++ we need to have the C++ compiler decide
10672# the declaration of exit, since it's the most demanding environment.
10673cat >conftest.$ac_ext <<_ACEOF
10674#ifndef __cplusplus
10675 choke me
10676#endif
10677_ACEOF
10678rm -f conftest.$ac_objext
10679if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10680 (eval $ac_compile) 2>&5
10681 ac_status=$?
10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683 (exit $ac_status); } &&
10684 { ac_try='test -s conftest.$ac_objext'
10685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10686 (eval $ac_try) 2>&5
10687 ac_status=$?
10688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10689 (exit $ac_status); }; }; then
10690 for ac_declaration in \
10691 ''\
10692 '#include <stdlib.h>' \
10693 'extern "C" void std::exit (int) throw (); using std::exit;' \
10694 'extern "C" void std::exit (int); using std::exit;' \
10695 'extern "C" void exit (int) throw ();' \
10696 'extern "C" void exit (int);' \
10697 'void exit (int);'
10698do
10699 cat >conftest.$ac_ext <<_ACEOF
10700#line $LINENO "configure"
10701/* confdefs.h. */
10702_ACEOF
10703cat confdefs.h >>conftest.$ac_ext
10704cat >>conftest.$ac_ext <<_ACEOF
10705/* end confdefs.h. */
10706#include <stdlib.h>
10707$ac_declaration
10708int
10709main ()
10710{
10711exit (42);
10712 ;
10713 return 0;
10714}
10715_ACEOF
10716rm -f conftest.$ac_objext
10717if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10718 (eval $ac_compile) 2>&5
10719 ac_status=$?
10720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10721 (exit $ac_status); } &&
10722 { ac_try='test -s conftest.$ac_objext'
10723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10724 (eval $ac_try) 2>&5
10725 ac_status=$?
10726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10727 (exit $ac_status); }; }; then
10728 :
10729else
10730 echo "$as_me: failed program was:" >&5
10731sed 's/^/| /' conftest.$ac_ext >&5
10732
10733continue
10734fi
10735rm -f conftest.$ac_objext conftest.$ac_ext
10736 cat >conftest.$ac_ext <<_ACEOF
10737#line $LINENO "configure"
10738/* confdefs.h. */
10739_ACEOF
10740cat confdefs.h >>conftest.$ac_ext
10741cat >>conftest.$ac_ext <<_ACEOF
10742/* end confdefs.h. */
10743$ac_declaration
10744int
10745main ()
10746{
10747exit (42);
10748 ;
10749 return 0;
10750}
10751_ACEOF
10752rm -f conftest.$ac_objext
10753if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10754 (eval $ac_compile) 2>&5
10755 ac_status=$?
10756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757 (exit $ac_status); } &&
10758 { ac_try='test -s conftest.$ac_objext'
10759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10760 (eval $ac_try) 2>&5
10761 ac_status=$?
10762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10763 (exit $ac_status); }; }; then
10764 break
10765else
10766 echo "$as_me: failed program was:" >&5
10767sed 's/^/| /' conftest.$ac_ext >&5
10768
10769fi
10770rm -f conftest.$ac_objext conftest.$ac_ext
10771done
10772rm -f conftest*
10773if test -n "$ac_declaration"; then
10774 echo '#ifdef __cplusplus' >>confdefs.h
10775 echo $ac_declaration >>confdefs.h
10776 echo '#endif' >>confdefs.h
10777fi
10778
10779else
10780 echo "$as_me: failed program was:" >&5
10781sed 's/^/| /' conftest.$ac_ext >&5
10782
10783fi
10784rm -f conftest.$ac_objext conftest.$ac_ext
10785ac_ext=c
10786ac_cpp='$CPP $CPPFLAGS'
10787ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10788ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10789ac_compiler_gnu=$ac_cv_c_compiler_gnu
10790
10791
10792
10793ac_ext=c
10794ac_cpp='$CPP $CPPFLAGS'
10795ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10796ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10797ac_compiler_gnu=$ac_cv_c_compiler_gnu
10798echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10799echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10800# On Suns, sometimes $CPP names a directory.
10801if test -n "$CPP" && test -d "$CPP"; then
10802 CPP=
10803fi
10804if test -z "$CPP"; then
10805 if test "${ac_cv_prog_CPP+set}" = set; then
10806 echo $ECHO_N "(cached) $ECHO_C" >&6
10807else
10808 # Double quotes because CPP needs to be expanded
10809 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10810 do
10811 ac_preproc_ok=false
10812for ac_c_preproc_warn_flag in '' yes
10813do
10814 # Use a header file that comes with gcc, so configuring glibc
10815 # with a fresh cross-compiler works.
10816 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10817 # <limits.h> exists even on freestanding compilers.
10818 # On the NeXT, cc -E runs the code through the compiler's parser,
10819 # not just through cpp. "Syntax error" is here to catch this case.
10820 cat >conftest.$ac_ext <<_ACEOF
10821#line $LINENO "configure"
10822/* confdefs.h. */
10823_ACEOF
10824cat confdefs.h >>conftest.$ac_ext
10825cat >>conftest.$ac_ext <<_ACEOF
10826/* end confdefs.h. */
10827#ifdef __STDC__
10828# include <limits.h>
10829#else
10830# include <assert.h>
10831#endif
10832 Syntax error
10833_ACEOF
10834if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10835 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10836 ac_status=$?
10837 grep -v '^ *+' conftest.er1 >conftest.err
10838 rm -f conftest.er1
10839 cat conftest.err >&5
10840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10841 (exit $ac_status); } >/dev/null; then
10842 if test -s conftest.err; then
10843 ac_cpp_err=$ac_c_preproc_warn_flag
10844 else
10845 ac_cpp_err=
10846 fi
10847else
10848 ac_cpp_err=yes
10849fi
10850if test -z "$ac_cpp_err"; then
10851 :
10852else
10853 echo "$as_me: failed program was:" >&5
10854sed 's/^/| /' conftest.$ac_ext >&5
10855
10856 # Broken: fails on valid input.
10857continue
10858fi
10859rm -f conftest.err conftest.$ac_ext
10860
10861 # OK, works on sane cases. Now check whether non-existent headers
10862 # can be detected and how.
10863 cat >conftest.$ac_ext <<_ACEOF
10864#line $LINENO "configure"
10865/* confdefs.h. */
10866_ACEOF
10867cat confdefs.h >>conftest.$ac_ext
10868cat >>conftest.$ac_ext <<_ACEOF
10869/* end confdefs.h. */
10870#include <ac_nonexistent.h>
10871_ACEOF
10872if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10873 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10874 ac_status=$?
10875 grep -v '^ *+' conftest.er1 >conftest.err
10876 rm -f conftest.er1
10877 cat conftest.err >&5
10878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879 (exit $ac_status); } >/dev/null; then
10880 if test -s conftest.err; then
10881 ac_cpp_err=$ac_c_preproc_warn_flag
10882 else
10883 ac_cpp_err=
10884 fi
10885else
10886 ac_cpp_err=yes
10887fi
10888if test -z "$ac_cpp_err"; then
10889 # Broken: success on invalid input.
10890continue
10891else
10892 echo "$as_me: failed program was:" >&5
10893sed 's/^/| /' conftest.$ac_ext >&5
10894
10895 # Passes both tests.
10896ac_preproc_ok=:
10897break
10898fi
10899rm -f conftest.err conftest.$ac_ext
10900
10901done
10902# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10903rm -f conftest.err conftest.$ac_ext
10904if $ac_preproc_ok; then
10905 break
10906fi
10907
10908 done
10909 ac_cv_prog_CPP=$CPP
10910
10911fi
10912 CPP=$ac_cv_prog_CPP
10913else
10914 ac_cv_prog_CPP=$CPP
10915fi
10916echo "$as_me:$LINENO: result: $CPP" >&5
10917echo "${ECHO_T}$CPP" >&6
10918ac_preproc_ok=false
10919for ac_c_preproc_warn_flag in '' yes
10920do
10921 # Use a header file that comes with gcc, so configuring glibc
10922 # with a fresh cross-compiler works.
10923 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10924 # <limits.h> exists even on freestanding compilers.
10925 # On the NeXT, cc -E runs the code through the compiler's parser,
10926 # not just through cpp. "Syntax error" is here to catch this case.
10927 cat >conftest.$ac_ext <<_ACEOF
10928#line $LINENO "configure"
10929/* confdefs.h. */
10930_ACEOF
10931cat confdefs.h >>conftest.$ac_ext
10932cat >>conftest.$ac_ext <<_ACEOF
10933/* end confdefs.h. */
10934#ifdef __STDC__
10935# include <limits.h>
10936#else
10937# include <assert.h>
10938#endif
10939 Syntax error
10940_ACEOF
10941if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10942 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10943 ac_status=$?
10944 grep -v '^ *+' conftest.er1 >conftest.err
10945 rm -f conftest.er1
10946 cat conftest.err >&5
10947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10948 (exit $ac_status); } >/dev/null; then
10949 if test -s conftest.err; then
10950 ac_cpp_err=$ac_c_preproc_warn_flag
10951 else
10952 ac_cpp_err=
10953 fi
10954else
10955 ac_cpp_err=yes
10956fi
10957if test -z "$ac_cpp_err"; then
10958 :
10959else
10960 echo "$as_me: failed program was:" >&5
10961sed 's/^/| /' conftest.$ac_ext >&5
10962
10963 # Broken: fails on valid input.
10964continue
10965fi
10966rm -f conftest.err conftest.$ac_ext
10967
10968 # OK, works on sane cases. Now check whether non-existent headers
10969 # can be detected and how.
10970 cat >conftest.$ac_ext <<_ACEOF
10971#line $LINENO "configure"
10972/* confdefs.h. */
10973_ACEOF
10974cat confdefs.h >>conftest.$ac_ext
10975cat >>conftest.$ac_ext <<_ACEOF
10976/* end confdefs.h. */
10977#include <ac_nonexistent.h>
10978_ACEOF
10979if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10980 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10981 ac_status=$?
10982 grep -v '^ *+' conftest.er1 >conftest.err
10983 rm -f conftest.er1
10984 cat conftest.err >&5
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); } >/dev/null; then
10987 if test -s conftest.err; then
10988 ac_cpp_err=$ac_c_preproc_warn_flag
10989 else
10990 ac_cpp_err=
10991 fi
10992else
10993 ac_cpp_err=yes
10994fi
10995if test -z "$ac_cpp_err"; then
10996 # Broken: success on invalid input.
10997continue
10998else
10999 echo "$as_me: failed program was:" >&5
11000sed 's/^/| /' conftest.$ac_ext >&5
11001
11002 # Passes both tests.
11003ac_preproc_ok=:
11004break
11005fi
11006rm -f conftest.err conftest.$ac_ext
11007
11008done
11009# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11010rm -f conftest.err conftest.$ac_ext
11011if $ac_preproc_ok; then
11012 :
11013else
11014 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11015See \`config.log' for more details." >&5
11016echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11017See \`config.log' for more details." >&2;}
11018 { (exit 1); exit 1; }; }
11019fi
11020
11021ac_ext=c
11022ac_cpp='$CPP $CPPFLAGS'
11023ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11024ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11025ac_compiler_gnu=$ac_cv_c_compiler_gnu
11026
11027
11028echo "$as_me:$LINENO: checking for egrep" >&5
11029echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11030if test "${ac_cv_prog_egrep+set}" = set; then
11031 echo $ECHO_N "(cached) $ECHO_C" >&6
11032else
11033 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11034 then ac_cv_prog_egrep='grep -E'
11035 else ac_cv_prog_egrep='egrep'
11036 fi
11037fi
11038echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11039echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11040 EGREP=$ac_cv_prog_egrep
11041
11042
11043if test $ac_cv_c_compiler_gnu = yes; then
11044 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11045echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11046if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11047 echo $ECHO_N "(cached) $ECHO_C" >&6
11048else
11049 ac_pattern="Autoconf.*'x'"
11050 cat >conftest.$ac_ext <<_ACEOF
11051#line $LINENO "configure"
11052/* confdefs.h. */
11053_ACEOF
11054cat confdefs.h >>conftest.$ac_ext
11055cat >>conftest.$ac_ext <<_ACEOF
11056/* end confdefs.h. */
11057#include <sgtty.h>
11058Autoconf TIOCGETP
11059_ACEOF
11060if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11061 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11062 ac_cv_prog_gcc_traditional=yes
11063else
11064 ac_cv_prog_gcc_traditional=no
11065fi
11066rm -f conftest*
11067
11068
11069 if test $ac_cv_prog_gcc_traditional = no; then
11070 cat >conftest.$ac_ext <<_ACEOF
11071#line $LINENO "configure"
11072/* confdefs.h. */
11073_ACEOF
11074cat confdefs.h >>conftest.$ac_ext
11075cat >>conftest.$ac_ext <<_ACEOF
11076/* end confdefs.h. */
11077#include <termio.h>
11078Autoconf TCGETA
11079_ACEOF
11080if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11081 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11082 ac_cv_prog_gcc_traditional=yes
11083fi
11084rm -f conftest*
11085
11086 fi
11087fi
11088echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11089echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11090 if test $ac_cv_prog_gcc_traditional = yes; then
11091 CC="$CC -traditional"
11092 fi
11093fi
11094
11095
11096
11097
11098ac_ext=cc
11099ac_cpp='$CXXCPP $CPPFLAGS'
11100ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11101ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11102ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11103
11104
11105CXXFLAGS=${CXXFLAGS:=}
11106ac_ext=cc
11107ac_cpp='$CXXCPP $CPPFLAGS'
11108ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11109ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11110ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11111if test -n "$ac_tool_prefix"; then
11112 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11113 do
11114 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11115set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11116echo "$as_me:$LINENO: checking for $ac_word" >&5
11117echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11118if test "${ac_cv_prog_CXX+set}" = set; then
11119 echo $ECHO_N "(cached) $ECHO_C" >&6
11120else
11121 if test -n "$CXX"; then
11122 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11123else
11124as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11125for as_dir in $PATH
11126do
11127 IFS=$as_save_IFS
11128 test -z "$as_dir" && as_dir=.
11129 for ac_exec_ext in '' $ac_executable_extensions; do
11130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11131 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11133 break 2
11134 fi
11135done
11136done
11137
11138fi
11139fi
11140CXX=$ac_cv_prog_CXX
11141if test -n "$CXX"; then
11142 echo "$as_me:$LINENO: result: $CXX" >&5
11143echo "${ECHO_T}$CXX" >&6
11144else
11145 echo "$as_me:$LINENO: result: no" >&5
11146echo "${ECHO_T}no" >&6
11147fi
11148
11149 test -n "$CXX" && break
11150 done
11151fi
11152if test -z "$CXX"; then
11153 ac_ct_CXX=$CXX
11154 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11155do
11156 # Extract the first word of "$ac_prog", so it can be a program name with args.
11157set dummy $ac_prog; ac_word=$2
11158echo "$as_me:$LINENO: checking for $ac_word" >&5
11159echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11160if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11161 echo $ECHO_N "(cached) $ECHO_C" >&6
11162else
11163 if test -n "$ac_ct_CXX"; then
11164 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11165else
11166as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11167for as_dir in $PATH
11168do
11169 IFS=$as_save_IFS
11170 test -z "$as_dir" && as_dir=.
11171 for ac_exec_ext in '' $ac_executable_extensions; do
11172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11173 ac_cv_prog_ac_ct_CXX="$ac_prog"
11174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11175 break 2
11176 fi
11177done
11178done
11179
11180fi
11181fi
11182ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11183if test -n "$ac_ct_CXX"; then
11184 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11185echo "${ECHO_T}$ac_ct_CXX" >&6
11186else
11187 echo "$as_me:$LINENO: result: no" >&5
11188echo "${ECHO_T}no" >&6
11189fi
11190
11191 test -n "$ac_ct_CXX" && break
11192done
11193test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11194
11195 CXX=$ac_ct_CXX
11196fi
11197
11198
11199# Provide some information about the compiler.
11200echo "$as_me:$LINENO:" \
11201 "checking for C++ compiler version" >&5
11202ac_compiler=`set X $ac_compile; echo $2`
11203{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11204 (eval $ac_compiler --version </dev/null >&5) 2>&5
11205 ac_status=$?
11206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207 (exit $ac_status); }
11208{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11209 (eval $ac_compiler -v </dev/null >&5) 2>&5
11210 ac_status=$?
11211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11212 (exit $ac_status); }
11213{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11214 (eval $ac_compiler -V </dev/null >&5) 2>&5
11215 ac_status=$?
11216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11217 (exit $ac_status); }
11218
11219echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11220echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11221if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11222 echo $ECHO_N "(cached) $ECHO_C" >&6
11223else
11224 cat >conftest.$ac_ext <<_ACEOF
11225#line $LINENO "configure"
11226/* confdefs.h. */
11227_ACEOF
11228cat confdefs.h >>conftest.$ac_ext
11229cat >>conftest.$ac_ext <<_ACEOF
11230/* end confdefs.h. */
11231
11232int
11233main ()
11234{
11235#ifndef __GNUC__
11236 choke me
11237#endif
11238
11239 ;
11240 return 0;
11241}
11242_ACEOF
11243rm -f conftest.$ac_objext
11244if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11245 (eval $ac_compile) 2>&5
11246 ac_status=$?
11247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11248 (exit $ac_status); } &&
11249 { ac_try='test -s conftest.$ac_objext'
11250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11251 (eval $ac_try) 2>&5
11252 ac_status=$?
11253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11254 (exit $ac_status); }; }; then
11255 ac_compiler_gnu=yes
11256else
11257 echo "$as_me: failed program was:" >&5
11258sed 's/^/| /' conftest.$ac_ext >&5
11259
11260ac_compiler_gnu=no
11261fi
11262rm -f conftest.$ac_objext conftest.$ac_ext
11263ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11264
11265fi
11266echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11267echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11268GXX=`test $ac_compiler_gnu = yes && echo yes`
11269ac_test_CXXFLAGS=${CXXFLAGS+set}
11270ac_save_CXXFLAGS=$CXXFLAGS
11271CXXFLAGS="-g"
11272echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11273echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11274if test "${ac_cv_prog_cxx_g+set}" = set; then
11275 echo $ECHO_N "(cached) $ECHO_C" >&6
11276else
11277 cat >conftest.$ac_ext <<_ACEOF
11278#line $LINENO "configure"
11279/* confdefs.h. */
11280_ACEOF
11281cat confdefs.h >>conftest.$ac_ext
11282cat >>conftest.$ac_ext <<_ACEOF
11283/* end confdefs.h. */
11284
11285int
11286main ()
11287{
11288
11289 ;
11290 return 0;
11291}
11292_ACEOF
11293rm -f conftest.$ac_objext
11294if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11295 (eval $ac_compile) 2>&5
11296 ac_status=$?
11297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11298 (exit $ac_status); } &&
11299 { ac_try='test -s conftest.$ac_objext'
11300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11301 (eval $ac_try) 2>&5
11302 ac_status=$?
11303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11304 (exit $ac_status); }; }; then
11305 ac_cv_prog_cxx_g=yes
11306else
11307 echo "$as_me: failed program was:" >&5
11308sed 's/^/| /' conftest.$ac_ext >&5
11309
11310ac_cv_prog_cxx_g=no
11311fi
11312rm -f conftest.$ac_objext conftest.$ac_ext
11313fi
11314echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11315echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11316if test "$ac_test_CXXFLAGS" = set; then
11317 CXXFLAGS=$ac_save_CXXFLAGS
11318elif test $ac_cv_prog_cxx_g = yes; then
11319 if test "$GXX" = yes; then
11320 CXXFLAGS="-g -O2"
11321 else
11322 CXXFLAGS="-g"
11323 fi
11324else
11325 if test "$GXX" = yes; then
11326 CXXFLAGS="-O2"
11327 else
11328 CXXFLAGS=
11329 fi
11330fi
11331for ac_declaration in \
11332 ''\
11333 '#include <stdlib.h>' \
11334 'extern "C" void std::exit (int) throw (); using std::exit;' \
11335 'extern "C" void std::exit (int); using std::exit;' \
11336 'extern "C" void exit (int) throw ();' \
11337 'extern "C" void exit (int);' \
11338 'void exit (int);'
11339do
11340 cat >conftest.$ac_ext <<_ACEOF
11341#line $LINENO "configure"
11342/* confdefs.h. */
11343_ACEOF
11344cat confdefs.h >>conftest.$ac_ext
11345cat >>conftest.$ac_ext <<_ACEOF
11346/* end confdefs.h. */
11347#include <stdlib.h>
11348$ac_declaration
11349int
11350main ()
11351{
11352exit (42);
11353 ;
11354 return 0;
11355}
11356_ACEOF
11357rm -f conftest.$ac_objext
11358if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11359 (eval $ac_compile) 2>&5
11360 ac_status=$?
11361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362 (exit $ac_status); } &&
11363 { ac_try='test -s conftest.$ac_objext'
11364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11365 (eval $ac_try) 2>&5
11366 ac_status=$?
11367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11368 (exit $ac_status); }; }; then
11369 :
11370else
11371 echo "$as_me: failed program was:" >&5
11372sed 's/^/| /' conftest.$ac_ext >&5
11373
11374continue
11375fi
11376rm -f conftest.$ac_objext conftest.$ac_ext
11377 cat >conftest.$ac_ext <<_ACEOF
11378#line $LINENO "configure"
11379/* confdefs.h. */
11380_ACEOF
11381cat confdefs.h >>conftest.$ac_ext
11382cat >>conftest.$ac_ext <<_ACEOF
11383/* end confdefs.h. */
11384$ac_declaration
11385int
11386main ()
11387{
11388exit (42);
11389 ;
11390 return 0;
11391}
11392_ACEOF
11393rm -f conftest.$ac_objext
11394if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11395 (eval $ac_compile) 2>&5
11396 ac_status=$?
11397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398 (exit $ac_status); } &&
11399 { ac_try='test -s conftest.$ac_objext'
11400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11401 (eval $ac_try) 2>&5
11402 ac_status=$?
11403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11404 (exit $ac_status); }; }; then
11405 break
11406else
11407 echo "$as_me: failed program was:" >&5
11408sed 's/^/| /' conftest.$ac_ext >&5
11409
11410fi
11411rm -f conftest.$ac_objext conftest.$ac_ext
11412done
11413rm -f conftest*
11414if test -n "$ac_declaration"; then
11415 echo '#ifdef __cplusplus' >>confdefs.h
11416 echo $ac_declaration >>confdefs.h
11417 echo '#endif' >>confdefs.h
11418fi
11419
11420ac_ext=cc
11421ac_cpp='$CXXCPP $CPPFLAGS'
11422ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11423ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11424ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11425
11426
11427ac_ext=c
11428ac_cpp='$CPP $CPPFLAGS'
11429ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11430ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11431ac_compiler_gnu=$ac_cv_c_compiler_gnu
11432
11433
11434if test -n "$ac_tool_prefix"; then
11435 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11436set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11437echo "$as_me:$LINENO: checking for $ac_word" >&5
11438echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11439if test "${ac_cv_prog_RANLIB+set}" = set; then
11440 echo $ECHO_N "(cached) $ECHO_C" >&6
11441else
11442 if test -n "$RANLIB"; then
11443 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11444else
11445as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11446for as_dir in $PATH
11447do
11448 IFS=$as_save_IFS
11449 test -z "$as_dir" && as_dir=.
11450 for ac_exec_ext in '' $ac_executable_extensions; do
11451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11452 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11454 break 2
11455 fi
11456done
11457done
11458
11459fi
11460fi
11461RANLIB=$ac_cv_prog_RANLIB
11462if test -n "$RANLIB"; then
11463 echo "$as_me:$LINENO: result: $RANLIB" >&5
11464echo "${ECHO_T}$RANLIB" >&6
11465else
11466 echo "$as_me:$LINENO: result: no" >&5
11467echo "${ECHO_T}no" >&6
11468fi
11469
11470fi
11471if test -z "$ac_cv_prog_RANLIB"; then
11472 ac_ct_RANLIB=$RANLIB
11473 # Extract the first word of "ranlib", so it can be a program name with args.
11474set dummy ranlib; ac_word=$2
11475echo "$as_me:$LINENO: checking for $ac_word" >&5
11476echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11477if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11478 echo $ECHO_N "(cached) $ECHO_C" >&6
11479else
11480 if test -n "$ac_ct_RANLIB"; then
11481 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11482else
11483as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11484for as_dir in $PATH
11485do
11486 IFS=$as_save_IFS
11487 test -z "$as_dir" && as_dir=.
11488 for ac_exec_ext in '' $ac_executable_extensions; do
11489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11490 ac_cv_prog_ac_ct_RANLIB="ranlib"
11491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11492 break 2
11493 fi
11494done
11495done
11496
11497 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11498fi
11499fi
11500ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11501if test -n "$ac_ct_RANLIB"; then
11502 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11503echo "${ECHO_T}$ac_ct_RANLIB" >&6
11504else
11505 echo "$as_me:$LINENO: result: no" >&5
11506echo "${ECHO_T}no" >&6
11507fi
11508
11509 RANLIB=$ac_ct_RANLIB
11510else
11511 RANLIB="$ac_cv_prog_RANLIB"
11512fi
11513
11514
11515# Extract the first word of "ar", so it can be a program name with args.
11516set dummy ar; ac_word=$2
11517echo "$as_me:$LINENO: checking for $ac_word" >&5
11518echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11519if test "${ac_cv_prog_AR+set}" = set; then
11520 echo $ECHO_N "(cached) $ECHO_C" >&6
11521else
11522 if test -n "$AR"; then
11523 ac_cv_prog_AR="$AR" # Let the user override the test.
11524else
11525as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11526for as_dir in $PATH
11527do
11528 IFS=$as_save_IFS
11529 test -z "$as_dir" && as_dir=.
11530 for ac_exec_ext in '' $ac_executable_extensions; do
11531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11532 ac_cv_prog_AR="ar"
11533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11534 break 2
11535 fi
11536done
11537done
11538
11539fi
11540fi
11541AR=$ac_cv_prog_AR
11542if test -n "$AR"; then
11543 echo "$as_me:$LINENO: result: $AR" >&5
11544echo "${ECHO_T}$AR" >&6
11545else
11546 echo "$as_me:$LINENO: result: no" >&5
11547echo "${ECHO_T}no" >&6
11548fi
11549
11550if test "x$AR" = "x" ; then
11551 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11552echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11553 { (exit 1); exit 1; }; }
11554fi
11555
11556# Find a good install program. We prefer a C program (faster),
11557# so one script is as good as another. But avoid the broken or
11558# incompatible versions:
11559# SysV /etc/install, /usr/sbin/install
11560# SunOS /usr/etc/install
11561# IRIX /sbin/install
11562# AIX /bin/install
11563# AmigaOS /C/install, which installs bootblocks on floppy discs
11564# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11565# AFS /usr/afsws/bin/install, which mishandles nonexistent args
11566# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11567# ./install, which can be erroneously created by make from ./install.sh.
11568echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11569echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11570if test -z "$INSTALL"; then
11571if test "${ac_cv_path_install+set}" = set; then
11572 echo $ECHO_N "(cached) $ECHO_C" >&6
11573else
11574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11575for as_dir in $PATH
11576do
11577 IFS=$as_save_IFS
11578 test -z "$as_dir" && as_dir=.
11579 # Account for people who put trailing slashes in PATH elements.
11580case $as_dir/ in
11581 ./ | .// | /cC/* | \
11582 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11583 /usr/ucb/* ) ;;
11584 *)
11585 # OSF1 and SCO ODT 3.0 have their own names for install.
11586 # Don't use installbsd from OSF since it installs stuff as root
11587 # by default.
11588 for ac_prog in ginstall scoinst install; do
11589 for ac_exec_ext in '' $ac_executable_extensions; do
11590 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11591 if test $ac_prog = install &&
11592 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11593 # AIX install. It has an incompatible calling convention.
11594 :
11595 elif test $ac_prog = install &&
11596 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11597 # program-specific install script used by HP pwplus--don't use.
11598 :
11599 else
11600 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11601 break 3
11602 fi
11603 fi
11604 done
11605 done
11606 ;;
11607esac
11608done
11609
11610
11611fi
11612 if test "${ac_cv_path_install+set}" = set; then
11613 INSTALL=$ac_cv_path_install
11614 else
11615 # As a last resort, use the slow shell script. We don't cache a
11616 # path for INSTALL within a source directory, because that will
11617 # break other packages using the cache if that directory is
11618 # removed, or if the path is relative.
11619 INSTALL=$ac_install_sh
11620 fi
11621fi
11622echo "$as_me:$LINENO: result: $INSTALL" >&5
11623echo "${ECHO_T}$INSTALL" >&6
11624
11625# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11626# It thinks the first close brace ends the variable substitution.
11627test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11628
11629test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11630
11631test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11632
11633
11634case ${INSTALL} in
11635 /* ) # Absolute
11636 ;;
11637 ?:* ) # Drive letter, considered as absolute.
11638 ;;
11639 *)
11640 INSTALL=`pwd`/${INSTALL} ;;
11641esac
11642
11643case ${host} in
11644 *-hp-hpux* )
11645 INSTALL_DIR="mkdir"
11646 ;;
11647
11648 *) INSTALL_DIR="$INSTALL -d"
11649 ;;
11650esac
11651
11652
11653case "${host}" in
11654
11655 powerpc-*-darwin* )
11656 INSTALL_PROGRAM="cp -fp"
11657 INSTALL_DATA="cp -fp"
11658 ;;
11659 *)
11660 ;;
11661esac
11662
11663# Extract the first word of "strip", so it can be a program name with args.
11664set dummy strip; ac_word=$2
11665echo "$as_me:$LINENO: checking for $ac_word" >&5
11666echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11667if test "${ac_cv_prog_STRIP+set}" = set; then
11668 echo $ECHO_N "(cached) $ECHO_C" >&6
11669else
11670 if test -n "$STRIP"; then
11671 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11672else
11673as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11674for as_dir in $PATH
11675do
11676 IFS=$as_save_IFS
11677 test -z "$as_dir" && as_dir=.
11678 for ac_exec_ext in '' $ac_executable_extensions; do
11679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11680 ac_cv_prog_STRIP="strip"
11681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11682 break 2
11683 fi
11684done
11685done
11686
11687 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11688fi
11689fi
11690STRIP=$ac_cv_prog_STRIP
11691if test -n "$STRIP"; then
11692 echo "$as_me:$LINENO: result: $STRIP" >&5
11693echo "${ECHO_T}$STRIP" >&6
11694else
11695 echo "$as_me:$LINENO: result: no" >&5
11696echo "${ECHO_T}no" >&6
11697fi
11698
11699
11700echo "$as_me:$LINENO: checking if make is GNU make" >&5
11701echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11702if test "${wx_cv_prog_makeisgnu+set}" = set; then
11703 echo $ECHO_N "(cached) $ECHO_C" >&6
11704else
11705
11706 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11707 egrep -s GNU > /dev/null); then
11708 wx_cv_prog_makeisgnu="yes"
11709 else
11710 wx_cv_prog_makeisgnu="no"
11711 fi
11712
11713fi
11714echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11715echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11716
11717if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11718 IF_GNU_MAKE=""
11719else
11720 IF_GNU_MAKE="#"
11721fi
11722
11723
11724
11725if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11726echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11727echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11728if test "${wx_cv_prog_makevpath+set}" = set; then
11729 echo $ECHO_N "(cached) $ECHO_C" >&6
11730else
11731
11732cat - << EOF > confMake
11733check : file
11734 cp \$? \$@
11735 cp \$? final_file
11736EOF
11737
11738if test ! -d sub ; then
11739 mkdir sub
11740fi
11741echo dummy > sub/file
11742${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11743RESULT=$?
11744rm -f sub/file check final_file confMake
11745rmdir sub
11746if test "$RESULT" = 0; then
11747 wx_cv_prog_makevpath="yes"
11748else
11749 wx_cv_prog_makevpath="no"
11750fi
11751
11752fi
11753echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11754echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11755
11756if test "x$wx_cv_prog_makevpath" != "xyes"; then
11757{ { echo "$as_me:$LINENO: error:
11758You need a make-utility that is able to use the variable
11759VPATH correctly.
11760If your version of make does not support VPATH correctly,
11761please install GNU-make (possibly as gmake), and start
11762configure with the following command:
11763export MAKE=gmake; ./configure for sh-type shells
11764setenv MAKE gmake; ./configure for csh-type shells
11765Also please do remember to use gmake in this case every time
11766you are trying to compile.
11767" >&5
11768echo "$as_me: error:
11769You need a make-utility that is able to use the variable
11770VPATH correctly.
11771If your version of make does not support VPATH correctly,
11772please install GNU-make (possibly as gmake), and start
11773configure with the following command:
11774export MAKE=gmake; ./configure for sh-type shells
11775setenv MAKE gmake; ./configure for csh-type shells
11776Also please do remember to use gmake in this case every time
11777you are trying to compile.
11778" >&2;}
11779 { (exit 1); exit 1; }; }
11780fi fi
11781echo "$as_me:$LINENO: checking whether ln -s works" >&5
11782echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11783LN_S=$as_ln_s
11784if test "$LN_S" = "ln -s"; then
11785 echo "$as_me:$LINENO: result: yes" >&5
11786echo "${ECHO_T}yes" >&6
11787else
11788 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11789echo "${ECHO_T}no, using $LN_S" >&6
11790fi
11791
11792
11793case "${host}" in
11794 *-pc-os2_emx | *-pc-os2-emx )
11795 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11796 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11797echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11798if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11799 echo $ECHO_N "(cached) $ECHO_C" >&6
11800else
11801 ac_check_lib_save_LIBS=$LIBS
11802LIBS="-lcExt $LIBS"
11803cat >conftest.$ac_ext <<_ACEOF
11804#line $LINENO "configure"
11805/* confdefs.h. */
11806_ACEOF
11807cat confdefs.h >>conftest.$ac_ext
11808cat >>conftest.$ac_ext <<_ACEOF
11809/* end confdefs.h. */
11810
11811/* Override any gcc2 internal prototype to avoid an error. */
11812#ifdef __cplusplus
11813extern "C"
11814#endif
11815/* We use char because int might match the return type of a gcc2
11816 builtin and then its argument prototype would still apply. */
11817char drand48 ();
11818int
11819main ()
11820{
11821drand48 ();
11822 ;
11823 return 0;
11824}
11825_ACEOF
11826rm -f conftest.$ac_objext conftest$ac_exeext
11827if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11828 (eval $ac_link) 2>&5
11829 ac_status=$?
11830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831 (exit $ac_status); } &&
11832 { ac_try='test -s conftest$ac_exeext'
11833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11834 (eval $ac_try) 2>&5
11835 ac_status=$?
11836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11837 (exit $ac_status); }; }; then
11838 ac_cv_lib_cExt_drand48=yes
11839else
11840 echo "$as_me: failed program was:" >&5
11841sed 's/^/| /' conftest.$ac_ext >&5
11842
11843ac_cv_lib_cExt_drand48=no
11844fi
11845rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11846LIBS=$ac_check_lib_save_LIBS
11847fi
11848echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11849echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11850if test $ac_cv_lib_cExt_drand48 = yes; then
11851 LIBS="$LIBS -lcExt"
11852fi
11853
11854 else
11855 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11856 fi
11857 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
11858echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
11859if test "${wx_cv_gcc3+set}" = set; then
11860 echo $ECHO_N "(cached) $ECHO_C" >&6
11861else
11862
11863 cat >conftest.$ac_ext <<_ACEOF
11864#line $LINENO "configure"
11865/* confdefs.h. */
11866_ACEOF
11867cat confdefs.h >>conftest.$ac_ext
11868cat >>conftest.$ac_ext <<_ACEOF
11869/* end confdefs.h. */
11870
11871int
11872main ()
11873{
11874
11875 #if (__GNUC__ < 3)
11876 #error old gcc
11877 #endif
11878
11879 ;
11880 return 0;
11881}
11882_ACEOF
11883rm -f conftest.$ac_objext
11884if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11885 (eval $ac_compile) 2>&5
11886 ac_status=$?
11887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11888 (exit $ac_status); } &&
11889 { ac_try='test -s conftest.$ac_objext'
11890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11891 (eval $ac_try) 2>&5
11892 ac_status=$?
11893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11894 (exit $ac_status); }; }; then
11895
11896 wx_cv_gcc3=yes
11897
11898else
11899 echo "$as_me: failed program was:" >&5
11900sed 's/^/| /' conftest.$ac_ext >&5
11901
11902
11903 wx_cv_gcc3=no
11904
11905
11906fi
11907rm -f conftest.$ac_objext conftest.$ac_ext
11908
11909fi
11910echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
11911echo "${ECHO_T}$wx_cv_gcc3" >&6
11912 if test "$wx_cv_gcc3" = "no"; then
11913 LIBS="$LIBS -lstdcpp"
11914 else
11915 LIBS="$LIBS -lstdcxx"
11916 fi
11917 ;;
11918esac
11919
11920
11921if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11922 echo "$as_me:$LINENO: checking for strings.h" >&5
11923echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11924if test "${ac_cv_header_strings_h+set}" = set; then
11925 echo $ECHO_N "(cached) $ECHO_C" >&6
11926else
11927 ac_cv_header_strings_h=no
11928fi
11929echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11930echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11931 if test "$ac_cv_header_strings_h" = "no"; then
11932 echo "$as_me:$LINENO: result: forced no into cache" >&5
11933echo "${ECHO_T}forced no into cache" >&6
11934 else
11935 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11936echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11937 fi
11938fi
11939echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11940echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11941if test "${ac_cv_header_stdc+set}" = set; then
11942 echo $ECHO_N "(cached) $ECHO_C" >&6
11943else
11944 cat >conftest.$ac_ext <<_ACEOF
11945#line $LINENO "configure"
11946/* confdefs.h. */
11947_ACEOF
11948cat confdefs.h >>conftest.$ac_ext
11949cat >>conftest.$ac_ext <<_ACEOF
11950/* end confdefs.h. */
11951#include <stdlib.h>
11952#include <stdarg.h>
11953#include <string.h>
11954#include <float.h>
11955
11956int
11957main ()
11958{
11959
11960 ;
11961 return 0;
11962}
11963_ACEOF
11964rm -f conftest.$ac_objext
11965if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11966 (eval $ac_compile) 2>&5
11967 ac_status=$?
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); } &&
11970 { ac_try='test -s conftest.$ac_objext'
11971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11972 (eval $ac_try) 2>&5
11973 ac_status=$?
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); }; }; then
11976 ac_cv_header_stdc=yes
11977else
11978 echo "$as_me: failed program was:" >&5
11979sed 's/^/| /' conftest.$ac_ext >&5
11980
11981ac_cv_header_stdc=no
11982fi
11983rm -f conftest.$ac_objext conftest.$ac_ext
11984
11985if test $ac_cv_header_stdc = yes; then
11986 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11987 cat >conftest.$ac_ext <<_ACEOF
11988#line $LINENO "configure"
11989/* confdefs.h. */
11990_ACEOF
11991cat confdefs.h >>conftest.$ac_ext
11992cat >>conftest.$ac_ext <<_ACEOF
11993/* end confdefs.h. */
11994#include <string.h>
11995
11996_ACEOF
11997if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11998 $EGREP "memchr" >/dev/null 2>&1; then
11999 :
12000else
12001 ac_cv_header_stdc=no
12002fi
12003rm -f conftest*
12004
12005fi
12006
12007if test $ac_cv_header_stdc = yes; then
12008 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12009 cat >conftest.$ac_ext <<_ACEOF
12010#line $LINENO "configure"
12011/* confdefs.h. */
12012_ACEOF
12013cat confdefs.h >>conftest.$ac_ext
12014cat >>conftest.$ac_ext <<_ACEOF
12015/* end confdefs.h. */
12016#include <stdlib.h>
12017
12018_ACEOF
12019if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12020 $EGREP "free" >/dev/null 2>&1; then
12021 :
12022else
12023 ac_cv_header_stdc=no
12024fi
12025rm -f conftest*
12026
12027fi
12028
12029if test $ac_cv_header_stdc = yes; then
12030 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12031 if test "$cross_compiling" = yes; then
12032 :
12033else
12034 cat >conftest.$ac_ext <<_ACEOF
12035#line $LINENO "configure"
12036/* confdefs.h. */
12037_ACEOF
12038cat confdefs.h >>conftest.$ac_ext
12039cat >>conftest.$ac_ext <<_ACEOF
12040/* end confdefs.h. */
12041#include <ctype.h>
12042#if ((' ' & 0x0FF) == 0x020)
12043# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12044# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12045#else
12046# define ISLOWER(c) \
12047 (('a' <= (c) && (c) <= 'i') \
12048 || ('j' <= (c) && (c) <= 'r') \
12049 || ('s' <= (c) && (c) <= 'z'))
12050# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12051#endif
12052
12053#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12054int
12055main ()
12056{
12057 int i;
12058 for (i = 0; i < 256; i++)
12059 if (XOR (islower (i), ISLOWER (i))
12060 || toupper (i) != TOUPPER (i))
12061 exit(2);
12062 exit (0);
12063}
12064_ACEOF
12065rm -f conftest$ac_exeext
12066if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12067 (eval $ac_link) 2>&5
12068 ac_status=$?
12069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12070 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12072 (eval $ac_try) 2>&5
12073 ac_status=$?
12074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); }; }; then
12076 :
12077else
12078 echo "$as_me: program exited with status $ac_status" >&5
12079echo "$as_me: failed program was:" >&5
12080sed 's/^/| /' conftest.$ac_ext >&5
12081
12082( exit $ac_status )
12083ac_cv_header_stdc=no
12084fi
12085rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12086fi
12087fi
12088fi
12089echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12090echo "${ECHO_T}$ac_cv_header_stdc" >&6
12091if test $ac_cv_header_stdc = yes; then
12092
12093cat >>confdefs.h <<\_ACEOF
12094#define STDC_HEADERS 1
12095_ACEOF
12096
12097fi
12098
12099# On IRIX 5.3, sys/types and inttypes.h are conflicting.
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12110 inttypes.h stdint.h unistd.h
12111do
12112as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12113echo "$as_me:$LINENO: checking for $ac_header" >&5
12114echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12115if eval "test \"\${$as_ac_Header+set}\" = set"; then
12116 echo $ECHO_N "(cached) $ECHO_C" >&6
12117else
12118 cat >conftest.$ac_ext <<_ACEOF
12119#line $LINENO "configure"
12120/* confdefs.h. */
12121_ACEOF
12122cat confdefs.h >>conftest.$ac_ext
12123cat >>conftest.$ac_ext <<_ACEOF
12124/* end confdefs.h. */
12125$ac_includes_default
12126
12127#include <$ac_header>
12128_ACEOF
12129rm -f conftest.$ac_objext
12130if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12131 (eval $ac_compile) 2>&5
12132 ac_status=$?
12133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12134 (exit $ac_status); } &&
12135 { ac_try='test -s conftest.$ac_objext'
12136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12137 (eval $ac_try) 2>&5
12138 ac_status=$?
12139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12140 (exit $ac_status); }; }; then
12141 eval "$as_ac_Header=yes"
12142else
12143 echo "$as_me: failed program was:" >&5
12144sed 's/^/| /' conftest.$ac_ext >&5
12145
12146eval "$as_ac_Header=no"
12147fi
12148rm -f conftest.$ac_objext conftest.$ac_ext
12149fi
12150echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12151echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12152if test `eval echo '${'$as_ac_Header'}'` = yes; then
12153 cat >>confdefs.h <<_ACEOF
12154#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12155_ACEOF
12156
12157fi
12158
12159done
12160
12161
12162
12163for ac_header in strings.h
12164do
12165as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12166if eval "test \"\${$as_ac_Header+set}\" = set"; then
12167 echo "$as_me:$LINENO: checking for $ac_header" >&5
12168echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12169if eval "test \"\${$as_ac_Header+set}\" = set"; then
12170 echo $ECHO_N "(cached) $ECHO_C" >&6
12171fi
12172echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12173echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12174else
12175 # Is the header compilable?
12176echo "$as_me:$LINENO: checking $ac_header usability" >&5
12177echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12178cat >conftest.$ac_ext <<_ACEOF
12179#line $LINENO "configure"
12180/* confdefs.h. */
12181_ACEOF
12182cat confdefs.h >>conftest.$ac_ext
12183cat >>conftest.$ac_ext <<_ACEOF
12184/* end confdefs.h. */
12185$ac_includes_default
12186#include <$ac_header>
12187_ACEOF
12188rm -f conftest.$ac_objext
12189if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12190 (eval $ac_compile) 2>&5
12191 ac_status=$?
12192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193 (exit $ac_status); } &&
12194 { ac_try='test -s conftest.$ac_objext'
12195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12196 (eval $ac_try) 2>&5
12197 ac_status=$?
12198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12199 (exit $ac_status); }; }; then
12200 ac_header_compiler=yes
12201else
12202 echo "$as_me: failed program was:" >&5
12203sed 's/^/| /' conftest.$ac_ext >&5
12204
12205ac_header_compiler=no
12206fi
12207rm -f conftest.$ac_objext conftest.$ac_ext
12208echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12209echo "${ECHO_T}$ac_header_compiler" >&6
12210
12211# Is the header present?
12212echo "$as_me:$LINENO: checking $ac_header presence" >&5
12213echo $ECHO_N "checking $ac_header presence... $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#include <$ac_header>
12222_ACEOF
12223if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12224 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12225 ac_status=$?
12226 grep -v '^ *+' conftest.er1 >conftest.err
12227 rm -f conftest.er1
12228 cat conftest.err >&5
12229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12230 (exit $ac_status); } >/dev/null; then
12231 if test -s conftest.err; then
12232 ac_cpp_err=$ac_c_preproc_warn_flag
12233 else
12234 ac_cpp_err=
12235 fi
12236else
12237 ac_cpp_err=yes
12238fi
12239if test -z "$ac_cpp_err"; then
12240 ac_header_preproc=yes
12241else
12242 echo "$as_me: failed program was:" >&5
12243sed 's/^/| /' conftest.$ac_ext >&5
12244
12245 ac_header_preproc=no
12246fi
12247rm -f conftest.err conftest.$ac_ext
12248echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12249echo "${ECHO_T}$ac_header_preproc" >&6
12250
12251# So? What about this header?
12252case $ac_header_compiler:$ac_header_preproc in
12253 yes:no )
12254 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12255echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12256 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12257echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12258 (
12259 cat <<\_ASBOX
12260## ------------------------------------ ##
12261## Report this to bug-autoconf@gnu.org. ##
12262## ------------------------------------ ##
12263_ASBOX
12264 ) |
12265 sed "s/^/$as_me: WARNING: /" >&2
12266 ;;
12267 no:yes )
12268 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12269echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12270 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12271echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12272 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12273echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12274 (
12275 cat <<\_ASBOX
12276## ------------------------------------ ##
12277## Report this to bug-autoconf@gnu.org. ##
12278## ------------------------------------ ##
12279_ASBOX
12280 ) |
12281 sed "s/^/$as_me: WARNING: /" >&2
12282 ;;
12283esac
12284echo "$as_me:$LINENO: checking for $ac_header" >&5
12285echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12286if eval "test \"\${$as_ac_Header+set}\" = set"; then
12287 echo $ECHO_N "(cached) $ECHO_C" >&6
12288else
12289 eval "$as_ac_Header=$ac_header_preproc"
12290fi
12291echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12292echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12293
12294fi
12295if test `eval echo '${'$as_ac_Header'}'` = yes; then
12296 cat >>confdefs.h <<_ACEOF
12297#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12298_ACEOF
12299
12300fi
12301
12302done
12303
12304
12305
12306for ac_header in stdlib.h
12307do
12308as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12309if eval "test \"\${$as_ac_Header+set}\" = set"; then
12310 echo "$as_me:$LINENO: checking for $ac_header" >&5
12311echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12312if eval "test \"\${$as_ac_Header+set}\" = set"; then
12313 echo $ECHO_N "(cached) $ECHO_C" >&6
12314fi
12315echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12316echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12317else
12318 # Is the header compilable?
12319echo "$as_me:$LINENO: checking $ac_header usability" >&5
12320echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12321cat >conftest.$ac_ext <<_ACEOF
12322#line $LINENO "configure"
12323/* confdefs.h. */
12324_ACEOF
12325cat confdefs.h >>conftest.$ac_ext
12326cat >>conftest.$ac_ext <<_ACEOF
12327/* end confdefs.h. */
12328$ac_includes_default
12329#include <$ac_header>
12330_ACEOF
12331rm -f conftest.$ac_objext
12332if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12333 (eval $ac_compile) 2>&5
12334 ac_status=$?
12335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336 (exit $ac_status); } &&
12337 { ac_try='test -s conftest.$ac_objext'
12338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12339 (eval $ac_try) 2>&5
12340 ac_status=$?
12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12342 (exit $ac_status); }; }; then
12343 ac_header_compiler=yes
12344else
12345 echo "$as_me: failed program was:" >&5
12346sed 's/^/| /' conftest.$ac_ext >&5
12347
12348ac_header_compiler=no
12349fi
12350rm -f conftest.$ac_objext conftest.$ac_ext
12351echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12352echo "${ECHO_T}$ac_header_compiler" >&6
12353
12354# Is the header present?
12355echo "$as_me:$LINENO: checking $ac_header presence" >&5
12356echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12357cat >conftest.$ac_ext <<_ACEOF
12358#line $LINENO "configure"
12359/* confdefs.h. */
12360_ACEOF
12361cat confdefs.h >>conftest.$ac_ext
12362cat >>conftest.$ac_ext <<_ACEOF
12363/* end confdefs.h. */
12364#include <$ac_header>
12365_ACEOF
12366if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12367 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12368 ac_status=$?
12369 grep -v '^ *+' conftest.er1 >conftest.err
12370 rm -f conftest.er1
12371 cat conftest.err >&5
12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373 (exit $ac_status); } >/dev/null; then
12374 if test -s conftest.err; then
12375 ac_cpp_err=$ac_c_preproc_warn_flag
12376 else
12377 ac_cpp_err=
12378 fi
12379else
12380 ac_cpp_err=yes
12381fi
12382if test -z "$ac_cpp_err"; then
12383 ac_header_preproc=yes
12384else
12385 echo "$as_me: failed program was:" >&5
12386sed 's/^/| /' conftest.$ac_ext >&5
12387
12388 ac_header_preproc=no
12389fi
12390rm -f conftest.err conftest.$ac_ext
12391echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12392echo "${ECHO_T}$ac_header_preproc" >&6
12393
12394# So? What about this header?
12395case $ac_header_compiler:$ac_header_preproc in
12396 yes:no )
12397 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12398echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12400echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12401 (
12402 cat <<\_ASBOX
12403## ------------------------------------ ##
12404## Report this to bug-autoconf@gnu.org. ##
12405## ------------------------------------ ##
12406_ASBOX
12407 ) |
12408 sed "s/^/$as_me: WARNING: /" >&2
12409 ;;
12410 no:yes )
12411 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12412echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12413 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12414echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12415 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12416echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12417 (
12418 cat <<\_ASBOX
12419## ------------------------------------ ##
12420## Report this to bug-autoconf@gnu.org. ##
12421## ------------------------------------ ##
12422_ASBOX
12423 ) |
12424 sed "s/^/$as_me: WARNING: /" >&2
12425 ;;
12426esac
12427echo "$as_me:$LINENO: checking for $ac_header" >&5
12428echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12429if eval "test \"\${$as_ac_Header+set}\" = set"; then
12430 echo $ECHO_N "(cached) $ECHO_C" >&6
12431else
12432 eval "$as_ac_Header=$ac_header_preproc"
12433fi
12434echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12435echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12436
12437fi
12438if test `eval echo '${'$as_ac_Header'}'` = yes; then
12439 cat >>confdefs.h <<_ACEOF
12440#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12441_ACEOF
12442
12443fi
12444
12445done
12446
12447
12448for ac_header in malloc.h
12449do
12450as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12451if eval "test \"\${$as_ac_Header+set}\" = set"; then
12452 echo "$as_me:$LINENO: checking for $ac_header" >&5
12453echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12454if eval "test \"\${$as_ac_Header+set}\" = set"; then
12455 echo $ECHO_N "(cached) $ECHO_C" >&6
12456fi
12457echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12458echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12459else
12460 # Is the header compilable?
12461echo "$as_me:$LINENO: checking $ac_header usability" >&5
12462echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12463cat >conftest.$ac_ext <<_ACEOF
12464#line $LINENO "configure"
12465/* confdefs.h. */
12466_ACEOF
12467cat confdefs.h >>conftest.$ac_ext
12468cat >>conftest.$ac_ext <<_ACEOF
12469/* end confdefs.h. */
12470$ac_includes_default
12471#include <$ac_header>
12472_ACEOF
12473rm -f conftest.$ac_objext
12474if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12475 (eval $ac_compile) 2>&5
12476 ac_status=$?
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); } &&
12479 { ac_try='test -s conftest.$ac_objext'
12480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12481 (eval $ac_try) 2>&5
12482 ac_status=$?
12483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12484 (exit $ac_status); }; }; then
12485 ac_header_compiler=yes
12486else
12487 echo "$as_me: failed program was:" >&5
12488sed 's/^/| /' conftest.$ac_ext >&5
12489
12490ac_header_compiler=no
12491fi
12492rm -f conftest.$ac_objext conftest.$ac_ext
12493echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12494echo "${ECHO_T}$ac_header_compiler" >&6
12495
12496# Is the header present?
12497echo "$as_me:$LINENO: checking $ac_header presence" >&5
12498echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12499cat >conftest.$ac_ext <<_ACEOF
12500#line $LINENO "configure"
12501/* confdefs.h. */
12502_ACEOF
12503cat confdefs.h >>conftest.$ac_ext
12504cat >>conftest.$ac_ext <<_ACEOF
12505/* end confdefs.h. */
12506#include <$ac_header>
12507_ACEOF
12508if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12509 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12510 ac_status=$?
12511 grep -v '^ *+' conftest.er1 >conftest.err
12512 rm -f conftest.er1
12513 cat conftest.err >&5
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); } >/dev/null; then
12516 if test -s conftest.err; then
12517 ac_cpp_err=$ac_c_preproc_warn_flag
12518 else
12519 ac_cpp_err=
12520 fi
12521else
12522 ac_cpp_err=yes
12523fi
12524if test -z "$ac_cpp_err"; then
12525 ac_header_preproc=yes
12526else
12527 echo "$as_me: failed program was:" >&5
12528sed 's/^/| /' conftest.$ac_ext >&5
12529
12530 ac_header_preproc=no
12531fi
12532rm -f conftest.err conftest.$ac_ext
12533echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12534echo "${ECHO_T}$ac_header_preproc" >&6
12535
12536# So? What about this header?
12537case $ac_header_compiler:$ac_header_preproc in
12538 yes:no )
12539 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12540echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12541 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12542echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12543 (
12544 cat <<\_ASBOX
12545## ------------------------------------ ##
12546## Report this to bug-autoconf@gnu.org. ##
12547## ------------------------------------ ##
12548_ASBOX
12549 ) |
12550 sed "s/^/$as_me: WARNING: /" >&2
12551 ;;
12552 no:yes )
12553 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12554echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12555 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12556echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12558echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12559 (
12560 cat <<\_ASBOX
12561## ------------------------------------ ##
12562## Report this to bug-autoconf@gnu.org. ##
12563## ------------------------------------ ##
12564_ASBOX
12565 ) |
12566 sed "s/^/$as_me: WARNING: /" >&2
12567 ;;
12568esac
12569echo "$as_me:$LINENO: checking for $ac_header" >&5
12570echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12571if eval "test \"\${$as_ac_Header+set}\" = set"; then
12572 echo $ECHO_N "(cached) $ECHO_C" >&6
12573else
12574 eval "$as_ac_Header=$ac_header_preproc"
12575fi
12576echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12577echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12578
12579fi
12580if test `eval echo '${'$as_ac_Header'}'` = yes; then
12581 cat >>confdefs.h <<_ACEOF
12582#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12583_ACEOF
12584
12585fi
12586
12587done
12588
12589
12590for ac_header in unistd.h
12591do
12592as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12593if eval "test \"\${$as_ac_Header+set}\" = set"; then
12594 echo "$as_me:$LINENO: checking for $ac_header" >&5
12595echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12596if eval "test \"\${$as_ac_Header+set}\" = set"; then
12597 echo $ECHO_N "(cached) $ECHO_C" >&6
12598fi
12599echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12600echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12601else
12602 # Is the header compilable?
12603echo "$as_me:$LINENO: checking $ac_header usability" >&5
12604echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12605cat >conftest.$ac_ext <<_ACEOF
12606#line $LINENO "configure"
12607/* confdefs.h. */
12608_ACEOF
12609cat confdefs.h >>conftest.$ac_ext
12610cat >>conftest.$ac_ext <<_ACEOF
12611/* end confdefs.h. */
12612$ac_includes_default
12613#include <$ac_header>
12614_ACEOF
12615rm -f conftest.$ac_objext
12616if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12617 (eval $ac_compile) 2>&5
12618 ac_status=$?
12619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12620 (exit $ac_status); } &&
12621 { ac_try='test -s conftest.$ac_objext'
12622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12623 (eval $ac_try) 2>&5
12624 ac_status=$?
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); }; }; then
12627 ac_header_compiler=yes
12628else
12629 echo "$as_me: failed program was:" >&5
12630sed 's/^/| /' conftest.$ac_ext >&5
12631
12632ac_header_compiler=no
12633fi
12634rm -f conftest.$ac_objext conftest.$ac_ext
12635echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12636echo "${ECHO_T}$ac_header_compiler" >&6
12637
12638# Is the header present?
12639echo "$as_me:$LINENO: checking $ac_header presence" >&5
12640echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12641cat >conftest.$ac_ext <<_ACEOF
12642#line $LINENO "configure"
12643/* confdefs.h. */
12644_ACEOF
12645cat confdefs.h >>conftest.$ac_ext
12646cat >>conftest.$ac_ext <<_ACEOF
12647/* end confdefs.h. */
12648#include <$ac_header>
12649_ACEOF
12650if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12651 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12652 ac_status=$?
12653 grep -v '^ *+' conftest.er1 >conftest.err
12654 rm -f conftest.er1
12655 cat conftest.err >&5
12656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12657 (exit $ac_status); } >/dev/null; then
12658 if test -s conftest.err; then
12659 ac_cpp_err=$ac_c_preproc_warn_flag
12660 else
12661 ac_cpp_err=
12662 fi
12663else
12664 ac_cpp_err=yes
12665fi
12666if test -z "$ac_cpp_err"; then
12667 ac_header_preproc=yes
12668else
12669 echo "$as_me: failed program was:" >&5
12670sed 's/^/| /' conftest.$ac_ext >&5
12671
12672 ac_header_preproc=no
12673fi
12674rm -f conftest.err conftest.$ac_ext
12675echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12676echo "${ECHO_T}$ac_header_preproc" >&6
12677
12678# So? What about this header?
12679case $ac_header_compiler:$ac_header_preproc in
12680 yes:no )
12681 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12682echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12684echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12685 (
12686 cat <<\_ASBOX
12687## ------------------------------------ ##
12688## Report this to bug-autoconf@gnu.org. ##
12689## ------------------------------------ ##
12690_ASBOX
12691 ) |
12692 sed "s/^/$as_me: WARNING: /" >&2
12693 ;;
12694 no:yes )
12695 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12696echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12697 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12698echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12699 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12700echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12701 (
12702 cat <<\_ASBOX
12703## ------------------------------------ ##
12704## Report this to bug-autoconf@gnu.org. ##
12705## ------------------------------------ ##
12706_ASBOX
12707 ) |
12708 sed "s/^/$as_me: WARNING: /" >&2
12709 ;;
12710esac
12711echo "$as_me:$LINENO: checking for $ac_header" >&5
12712echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12713if eval "test \"\${$as_ac_Header+set}\" = set"; then
12714 echo $ECHO_N "(cached) $ECHO_C" >&6
12715else
12716 eval "$as_ac_Header=$ac_header_preproc"
12717fi
12718echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12719echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12720
12721fi
12722if test `eval echo '${'$as_ac_Header'}'` = yes; then
12723 cat >>confdefs.h <<_ACEOF
12724#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12725_ACEOF
12726
12727fi
12728
12729done
12730
12731
12732for ac_header in wchar.h
12733do
12734as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12735if eval "test \"\${$as_ac_Header+set}\" = set"; then
12736 echo "$as_me:$LINENO: checking for $ac_header" >&5
12737echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12738if eval "test \"\${$as_ac_Header+set}\" = set"; then
12739 echo $ECHO_N "(cached) $ECHO_C" >&6
12740fi
12741echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12742echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12743else
12744 # Is the header compilable?
12745echo "$as_me:$LINENO: checking $ac_header usability" >&5
12746echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12747cat >conftest.$ac_ext <<_ACEOF
12748#line $LINENO "configure"
12749/* confdefs.h. */
12750_ACEOF
12751cat confdefs.h >>conftest.$ac_ext
12752cat >>conftest.$ac_ext <<_ACEOF
12753/* end confdefs.h. */
12754$ac_includes_default
12755#include <$ac_header>
12756_ACEOF
12757rm -f conftest.$ac_objext
12758if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12759 (eval $ac_compile) 2>&5
12760 ac_status=$?
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); } &&
12763 { ac_try='test -s conftest.$ac_objext'
12764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12765 (eval $ac_try) 2>&5
12766 ac_status=$?
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); }; }; then
12769 ac_header_compiler=yes
12770else
12771 echo "$as_me: failed program was:" >&5
12772sed 's/^/| /' conftest.$ac_ext >&5
12773
12774ac_header_compiler=no
12775fi
12776rm -f conftest.$ac_objext conftest.$ac_ext
12777echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12778echo "${ECHO_T}$ac_header_compiler" >&6
12779
12780# Is the header present?
12781echo "$as_me:$LINENO: checking $ac_header presence" >&5
12782echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12783cat >conftest.$ac_ext <<_ACEOF
12784#line $LINENO "configure"
12785/* confdefs.h. */
12786_ACEOF
12787cat confdefs.h >>conftest.$ac_ext
12788cat >>conftest.$ac_ext <<_ACEOF
12789/* end confdefs.h. */
12790#include <$ac_header>
12791_ACEOF
12792if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12793 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12794 ac_status=$?
12795 grep -v '^ *+' conftest.er1 >conftest.err
12796 rm -f conftest.er1
12797 cat conftest.err >&5
12798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12799 (exit $ac_status); } >/dev/null; then
12800 if test -s conftest.err; then
12801 ac_cpp_err=$ac_c_preproc_warn_flag
12802 else
12803 ac_cpp_err=
12804 fi
12805else
12806 ac_cpp_err=yes
12807fi
12808if test -z "$ac_cpp_err"; then
12809 ac_header_preproc=yes
12810else
12811 echo "$as_me: failed program was:" >&5
12812sed 's/^/| /' conftest.$ac_ext >&5
12813
12814 ac_header_preproc=no
12815fi
12816rm -f conftest.err conftest.$ac_ext
12817echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12818echo "${ECHO_T}$ac_header_preproc" >&6
12819
12820# So? What about this header?
12821case $ac_header_compiler:$ac_header_preproc in
12822 yes:no )
12823 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12824echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12826echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12827 (
12828 cat <<\_ASBOX
12829## ------------------------------------ ##
12830## Report this to bug-autoconf@gnu.org. ##
12831## ------------------------------------ ##
12832_ASBOX
12833 ) |
12834 sed "s/^/$as_me: WARNING: /" >&2
12835 ;;
12836 no:yes )
12837 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12838echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12839 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12840echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12842echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12843 (
12844 cat <<\_ASBOX
12845## ------------------------------------ ##
12846## Report this to bug-autoconf@gnu.org. ##
12847## ------------------------------------ ##
12848_ASBOX
12849 ) |
12850 sed "s/^/$as_me: WARNING: /" >&2
12851 ;;
12852esac
12853echo "$as_me:$LINENO: checking for $ac_header" >&5
12854echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12855if eval "test \"\${$as_ac_Header+set}\" = set"; then
12856 echo $ECHO_N "(cached) $ECHO_C" >&6
12857else
12858 eval "$as_ac_Header=$ac_header_preproc"
12859fi
12860echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12861echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12862
12863fi
12864if test `eval echo '${'$as_ac_Header'}'` = yes; then
12865 cat >>confdefs.h <<_ACEOF
12866#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12867_ACEOF
12868
12869fi
12870
12871done
12872
12873
12874if test "$ac_cv_header_wchar_h" != "yes"; then
12875
12876for ac_header in wcstr.h
12877do
12878as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12879if eval "test \"\${$as_ac_Header+set}\" = set"; then
12880 echo "$as_me:$LINENO: checking for $ac_header" >&5
12881echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12882if eval "test \"\${$as_ac_Header+set}\" = set"; then
12883 echo $ECHO_N "(cached) $ECHO_C" >&6
12884fi
12885echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12886echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12887else
12888 # Is the header compilable?
12889echo "$as_me:$LINENO: checking $ac_header usability" >&5
12890echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12891cat >conftest.$ac_ext <<_ACEOF
12892#line $LINENO "configure"
12893/* confdefs.h. */
12894_ACEOF
12895cat confdefs.h >>conftest.$ac_ext
12896cat >>conftest.$ac_ext <<_ACEOF
12897/* end confdefs.h. */
12898$ac_includes_default
12899#include <$ac_header>
12900_ACEOF
12901rm -f conftest.$ac_objext
12902if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12903 (eval $ac_compile) 2>&5
12904 ac_status=$?
12905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12906 (exit $ac_status); } &&
12907 { ac_try='test -s conftest.$ac_objext'
12908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12909 (eval $ac_try) 2>&5
12910 ac_status=$?
12911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912 (exit $ac_status); }; }; then
12913 ac_header_compiler=yes
12914else
12915 echo "$as_me: failed program was:" >&5
12916sed 's/^/| /' conftest.$ac_ext >&5
12917
12918ac_header_compiler=no
12919fi
12920rm -f conftest.$ac_objext conftest.$ac_ext
12921echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12922echo "${ECHO_T}$ac_header_compiler" >&6
12923
12924# Is the header present?
12925echo "$as_me:$LINENO: checking $ac_header presence" >&5
12926echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12927cat >conftest.$ac_ext <<_ACEOF
12928#line $LINENO "configure"
12929/* confdefs.h. */
12930_ACEOF
12931cat confdefs.h >>conftest.$ac_ext
12932cat >>conftest.$ac_ext <<_ACEOF
12933/* end confdefs.h. */
12934#include <$ac_header>
12935_ACEOF
12936if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12937 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12938 ac_status=$?
12939 grep -v '^ *+' conftest.er1 >conftest.err
12940 rm -f conftest.er1
12941 cat conftest.err >&5
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); } >/dev/null; then
12944 if test -s conftest.err; then
12945 ac_cpp_err=$ac_c_preproc_warn_flag
12946 else
12947 ac_cpp_err=
12948 fi
12949else
12950 ac_cpp_err=yes
12951fi
12952if test -z "$ac_cpp_err"; then
12953 ac_header_preproc=yes
12954else
12955 echo "$as_me: failed program was:" >&5
12956sed 's/^/| /' conftest.$ac_ext >&5
12957
12958 ac_header_preproc=no
12959fi
12960rm -f conftest.err conftest.$ac_ext
12961echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12962echo "${ECHO_T}$ac_header_preproc" >&6
12963
12964# So? What about this header?
12965case $ac_header_compiler:$ac_header_preproc in
12966 yes:no )
12967 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12968echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12969 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12970echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12971 (
12972 cat <<\_ASBOX
12973## ------------------------------------ ##
12974## Report this to bug-autoconf@gnu.org. ##
12975## ------------------------------------ ##
12976_ASBOX
12977 ) |
12978 sed "s/^/$as_me: WARNING: /" >&2
12979 ;;
12980 no:yes )
12981 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12982echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12983 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12984echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12985 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12986echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12987 (
12988 cat <<\_ASBOX
12989## ------------------------------------ ##
12990## Report this to bug-autoconf@gnu.org. ##
12991## ------------------------------------ ##
12992_ASBOX
12993 ) |
12994 sed "s/^/$as_me: WARNING: /" >&2
12995 ;;
12996esac
12997echo "$as_me:$LINENO: checking for $ac_header" >&5
12998echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12999if eval "test \"\${$as_ac_Header+set}\" = set"; then
13000 echo $ECHO_N "(cached) $ECHO_C" >&6
13001else
13002 eval "$as_ac_Header=$ac_header_preproc"
13003fi
13004echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13005echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13006
13007fi
13008if test `eval echo '${'$as_ac_Header'}'` = yes; then
13009 cat >>confdefs.h <<_ACEOF
13010#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13011_ACEOF
13012
13013fi
13014
13015done
13016
13017fi
13018
13019
13020for ac_header in fnmatch.h
13021do
13022as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13023if eval "test \"\${$as_ac_Header+set}\" = set"; then
13024 echo "$as_me:$LINENO: checking for $ac_header" >&5
13025echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13026if eval "test \"\${$as_ac_Header+set}\" = set"; then
13027 echo $ECHO_N "(cached) $ECHO_C" >&6
13028fi
13029echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13030echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13031else
13032 # Is the header compilable?
13033echo "$as_me:$LINENO: checking $ac_header usability" >&5
13034echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13035cat >conftest.$ac_ext <<_ACEOF
13036#line $LINENO "configure"
13037/* confdefs.h. */
13038_ACEOF
13039cat confdefs.h >>conftest.$ac_ext
13040cat >>conftest.$ac_ext <<_ACEOF
13041/* end confdefs.h. */
13042$ac_includes_default
13043#include <$ac_header>
13044_ACEOF
13045rm -f conftest.$ac_objext
13046if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13047 (eval $ac_compile) 2>&5
13048 ac_status=$?
13049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13050 (exit $ac_status); } &&
13051 { ac_try='test -s conftest.$ac_objext'
13052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13053 (eval $ac_try) 2>&5
13054 ac_status=$?
13055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13056 (exit $ac_status); }; }; then
13057 ac_header_compiler=yes
13058else
13059 echo "$as_me: failed program was:" >&5
13060sed 's/^/| /' conftest.$ac_ext >&5
13061
13062ac_header_compiler=no
13063fi
13064rm -f conftest.$ac_objext conftest.$ac_ext
13065echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13066echo "${ECHO_T}$ac_header_compiler" >&6
13067
13068# Is the header present?
13069echo "$as_me:$LINENO: checking $ac_header presence" >&5
13070echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13071cat >conftest.$ac_ext <<_ACEOF
13072#line $LINENO "configure"
13073/* confdefs.h. */
13074_ACEOF
13075cat confdefs.h >>conftest.$ac_ext
13076cat >>conftest.$ac_ext <<_ACEOF
13077/* end confdefs.h. */
13078#include <$ac_header>
13079_ACEOF
13080if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13081 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13082 ac_status=$?
13083 grep -v '^ *+' conftest.er1 >conftest.err
13084 rm -f conftest.er1
13085 cat conftest.err >&5
13086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13087 (exit $ac_status); } >/dev/null; then
13088 if test -s conftest.err; then
13089 ac_cpp_err=$ac_c_preproc_warn_flag
13090 else
13091 ac_cpp_err=
13092 fi
13093else
13094 ac_cpp_err=yes
13095fi
13096if test -z "$ac_cpp_err"; then
13097 ac_header_preproc=yes
13098else
13099 echo "$as_me: failed program was:" >&5
13100sed 's/^/| /' conftest.$ac_ext >&5
13101
13102 ac_header_preproc=no
13103fi
13104rm -f conftest.err conftest.$ac_ext
13105echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13106echo "${ECHO_T}$ac_header_preproc" >&6
13107
13108# So? What about this header?
13109case $ac_header_compiler:$ac_header_preproc in
13110 yes:no )
13111 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13112echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13113 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13114echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13115 (
13116 cat <<\_ASBOX
13117## ------------------------------------ ##
13118## Report this to bug-autoconf@gnu.org. ##
13119## ------------------------------------ ##
13120_ASBOX
13121 ) |
13122 sed "s/^/$as_me: WARNING: /" >&2
13123 ;;
13124 no:yes )
13125 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13126echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13127 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13128echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13129 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13130echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13131 (
13132 cat <<\_ASBOX
13133## ------------------------------------ ##
13134## Report this to bug-autoconf@gnu.org. ##
13135## ------------------------------------ ##
13136_ASBOX
13137 ) |
13138 sed "s/^/$as_me: WARNING: /" >&2
13139 ;;
13140esac
13141echo "$as_me:$LINENO: checking for $ac_header" >&5
13142echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13143if eval "test \"\${$as_ac_Header+set}\" = set"; then
13144 echo $ECHO_N "(cached) $ECHO_C" >&6
13145else
13146 eval "$as_ac_Header=$ac_header_preproc"
13147fi
13148echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13149echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13150
13151fi
13152if test `eval echo '${'$as_ac_Header'}'` = yes; then
13153 cat >>confdefs.h <<_ACEOF
13154#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13155_ACEOF
13156
13157fi
13158
13159done
13160
13161
13162if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13163
13164for ac_func in fnmatch
13165do
13166as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13167echo "$as_me:$LINENO: checking for $ac_func" >&5
13168echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13169if eval "test \"\${$as_ac_var+set}\" = set"; then
13170 echo $ECHO_N "(cached) $ECHO_C" >&6
13171else
13172 cat >conftest.$ac_ext <<_ACEOF
13173#line $LINENO "configure"
13174/* confdefs.h. */
13175_ACEOF
13176cat confdefs.h >>conftest.$ac_ext
13177cat >>conftest.$ac_ext <<_ACEOF
13178/* end confdefs.h. */
13179/* System header to define __stub macros and hopefully few prototypes,
13180 which can conflict with char $ac_func (); below.
13181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13182 <limits.h> exists even on freestanding compilers. */
13183#ifdef __STDC__
13184# include <limits.h>
13185#else
13186# include <assert.h>
13187#endif
13188/* Override any gcc2 internal prototype to avoid an error. */
13189#ifdef __cplusplus
13190extern "C"
13191{
13192#endif
13193/* We use char because int might match the return type of a gcc2
13194 builtin and then its argument prototype would still apply. */
13195char $ac_func ();
13196/* The GNU C library defines this for functions which it implements
13197 to always fail with ENOSYS. Some functions are actually named
13198 something starting with __ and the normal name is an alias. */
13199#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13200choke me
13201#else
13202char (*f) () = $ac_func;
13203#endif
13204#ifdef __cplusplus
13205}
13206#endif
13207
13208int
13209main ()
13210{
13211return f != $ac_func;
13212 ;
13213 return 0;
13214}
13215_ACEOF
13216rm -f conftest.$ac_objext conftest$ac_exeext
13217if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13218 (eval $ac_link) 2>&5
13219 ac_status=$?
13220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13221 (exit $ac_status); } &&
13222 { ac_try='test -s conftest$ac_exeext'
13223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13224 (eval $ac_try) 2>&5
13225 ac_status=$?
13226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227 (exit $ac_status); }; }; then
13228 eval "$as_ac_var=yes"
13229else
13230 echo "$as_me: failed program was:" >&5
13231sed 's/^/| /' conftest.$ac_ext >&5
13232
13233eval "$as_ac_var=no"
13234fi
13235rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13236fi
13237echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13238echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13239if test `eval echo '${'$as_ac_var'}'` = yes; then
13240 cat >>confdefs.h <<_ACEOF
13241#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13242_ACEOF
13243
13244fi
13245done
13246
13247fi
13248
13249
13250for ac_header in langinfo.h
13251do
13252as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13253if eval "test \"\${$as_ac_Header+set}\" = set"; then
13254 echo "$as_me:$LINENO: checking for $ac_header" >&5
13255echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13256if eval "test \"\${$as_ac_Header+set}\" = set"; then
13257 echo $ECHO_N "(cached) $ECHO_C" >&6
13258fi
13259echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13260echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13261else
13262 # Is the header compilable?
13263echo "$as_me:$LINENO: checking $ac_header usability" >&5
13264echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13265cat >conftest.$ac_ext <<_ACEOF
13266#line $LINENO "configure"
13267/* confdefs.h. */
13268_ACEOF
13269cat confdefs.h >>conftest.$ac_ext
13270cat >>conftest.$ac_ext <<_ACEOF
13271/* end confdefs.h. */
13272$ac_includes_default
13273#include <$ac_header>
13274_ACEOF
13275rm -f conftest.$ac_objext
13276if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13277 (eval $ac_compile) 2>&5
13278 ac_status=$?
13279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 (exit $ac_status); } &&
13281 { ac_try='test -s conftest.$ac_objext'
13282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13283 (eval $ac_try) 2>&5
13284 ac_status=$?
13285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 (exit $ac_status); }; }; then
13287 ac_header_compiler=yes
13288else
13289 echo "$as_me: failed program was:" >&5
13290sed 's/^/| /' conftest.$ac_ext >&5
13291
13292ac_header_compiler=no
13293fi
13294rm -f conftest.$ac_objext conftest.$ac_ext
13295echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13296echo "${ECHO_T}$ac_header_compiler" >&6
13297
13298# Is the header present?
13299echo "$as_me:$LINENO: checking $ac_header presence" >&5
13300echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13301cat >conftest.$ac_ext <<_ACEOF
13302#line $LINENO "configure"
13303/* confdefs.h. */
13304_ACEOF
13305cat confdefs.h >>conftest.$ac_ext
13306cat >>conftest.$ac_ext <<_ACEOF
13307/* end confdefs.h. */
13308#include <$ac_header>
13309_ACEOF
13310if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13311 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13312 ac_status=$?
13313 grep -v '^ *+' conftest.er1 >conftest.err
13314 rm -f conftest.er1
13315 cat conftest.err >&5
13316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13317 (exit $ac_status); } >/dev/null; then
13318 if test -s conftest.err; then
13319 ac_cpp_err=$ac_c_preproc_warn_flag
13320 else
13321 ac_cpp_err=
13322 fi
13323else
13324 ac_cpp_err=yes
13325fi
13326if test -z "$ac_cpp_err"; then
13327 ac_header_preproc=yes
13328else
13329 echo "$as_me: failed program was:" >&5
13330sed 's/^/| /' conftest.$ac_ext >&5
13331
13332 ac_header_preproc=no
13333fi
13334rm -f conftest.err conftest.$ac_ext
13335echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13336echo "${ECHO_T}$ac_header_preproc" >&6
13337
13338# So? What about this header?
13339case $ac_header_compiler:$ac_header_preproc in
13340 yes:no )
13341 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13342echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13344echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13345 (
13346 cat <<\_ASBOX
13347## ------------------------------------ ##
13348## Report this to bug-autoconf@gnu.org. ##
13349## ------------------------------------ ##
13350_ASBOX
13351 ) |
13352 sed "s/^/$as_me: WARNING: /" >&2
13353 ;;
13354 no:yes )
13355 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13356echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13357 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13358echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13360echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13361 (
13362 cat <<\_ASBOX
13363## ------------------------------------ ##
13364## Report this to bug-autoconf@gnu.org. ##
13365## ------------------------------------ ##
13366_ASBOX
13367 ) |
13368 sed "s/^/$as_me: WARNING: /" >&2
13369 ;;
13370esac
13371echo "$as_me:$LINENO: checking for $ac_header" >&5
13372echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13373if eval "test \"\${$as_ac_Header+set}\" = set"; then
13374 echo $ECHO_N "(cached) $ECHO_C" >&6
13375else
13376 eval "$as_ac_Header=$ac_header_preproc"
13377fi
13378echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13379echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13380
13381fi
13382if test `eval echo '${'$as_ac_Header'}'` = yes; then
13383 cat >>confdefs.h <<_ACEOF
13384#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13385_ACEOF
13386
13387fi
13388
13389done
13390
13391
13392case "${host}" in
13393 *-pc-os2_emx | *-pc-os2-emx )
13394 if test $ac_cv_header_langinfo_h = "yes"; then
13395 LIBS="$LIBS -lintl"
13396 fi
13397 ;;
13398esac
13399
13400if test "$wxUSE_GUI" = "yes"; then
13401 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13402
13403for ac_header in X11/Xlib.h
13404do
13405as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13406if eval "test \"\${$as_ac_Header+set}\" = set"; then
13407 echo "$as_me:$LINENO: checking for $ac_header" >&5
13408echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13409if eval "test \"\${$as_ac_Header+set}\" = set"; then
13410 echo $ECHO_N "(cached) $ECHO_C" >&6
13411fi
13412echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13413echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13414else
13415 # Is the header compilable?
13416echo "$as_me:$LINENO: checking $ac_header usability" >&5
13417echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13418cat >conftest.$ac_ext <<_ACEOF
13419#line $LINENO "configure"
13420/* confdefs.h. */
13421_ACEOF
13422cat confdefs.h >>conftest.$ac_ext
13423cat >>conftest.$ac_ext <<_ACEOF
13424/* end confdefs.h. */
13425$ac_includes_default
13426#include <$ac_header>
13427_ACEOF
13428rm -f conftest.$ac_objext
13429if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13430 (eval $ac_compile) 2>&5
13431 ac_status=$?
13432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 (exit $ac_status); } &&
13434 { ac_try='test -s conftest.$ac_objext'
13435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13436 (eval $ac_try) 2>&5
13437 ac_status=$?
13438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13439 (exit $ac_status); }; }; then
13440 ac_header_compiler=yes
13441else
13442 echo "$as_me: failed program was:" >&5
13443sed 's/^/| /' conftest.$ac_ext >&5
13444
13445ac_header_compiler=no
13446fi
13447rm -f conftest.$ac_objext conftest.$ac_ext
13448echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13449echo "${ECHO_T}$ac_header_compiler" >&6
13450
13451# Is the header present?
13452echo "$as_me:$LINENO: checking $ac_header presence" >&5
13453echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13454cat >conftest.$ac_ext <<_ACEOF
13455#line $LINENO "configure"
13456/* confdefs.h. */
13457_ACEOF
13458cat confdefs.h >>conftest.$ac_ext
13459cat >>conftest.$ac_ext <<_ACEOF
13460/* end confdefs.h. */
13461#include <$ac_header>
13462_ACEOF
13463if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13464 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13465 ac_status=$?
13466 grep -v '^ *+' conftest.er1 >conftest.err
13467 rm -f conftest.er1
13468 cat conftest.err >&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); } >/dev/null; then
13471 if test -s conftest.err; then
13472 ac_cpp_err=$ac_c_preproc_warn_flag
13473 else
13474 ac_cpp_err=
13475 fi
13476else
13477 ac_cpp_err=yes
13478fi
13479if test -z "$ac_cpp_err"; then
13480 ac_header_preproc=yes
13481else
13482 echo "$as_me: failed program was:" >&5
13483sed 's/^/| /' conftest.$ac_ext >&5
13484
13485 ac_header_preproc=no
13486fi
13487rm -f conftest.err conftest.$ac_ext
13488echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13489echo "${ECHO_T}$ac_header_preproc" >&6
13490
13491# So? What about this header?
13492case $ac_header_compiler:$ac_header_preproc in
13493 yes:no )
13494 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13495echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13497echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13498 (
13499 cat <<\_ASBOX
13500## ------------------------------------ ##
13501## Report this to bug-autoconf@gnu.org. ##
13502## ------------------------------------ ##
13503_ASBOX
13504 ) |
13505 sed "s/^/$as_me: WARNING: /" >&2
13506 ;;
13507 no:yes )
13508 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13509echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13510 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13511echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13513echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13514 (
13515 cat <<\_ASBOX
13516## ------------------------------------ ##
13517## Report this to bug-autoconf@gnu.org. ##
13518## ------------------------------------ ##
13519_ASBOX
13520 ) |
13521 sed "s/^/$as_me: WARNING: /" >&2
13522 ;;
13523esac
13524echo "$as_me:$LINENO: checking for $ac_header" >&5
13525echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13526if eval "test \"\${$as_ac_Header+set}\" = set"; then
13527 echo $ECHO_N "(cached) $ECHO_C" >&6
13528else
13529 eval "$as_ac_Header=$ac_header_preproc"
13530fi
13531echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13532echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13533
13534fi
13535if test `eval echo '${'$as_ac_Header'}'` = yes; then
13536 cat >>confdefs.h <<_ACEOF
13537#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13538_ACEOF
13539
13540fi
13541
13542done
13543
13544
13545for ac_header in X11/XKBlib.h
13546do
13547as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13548echo "$as_me:$LINENO: checking for $ac_header" >&5
13549echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13550if eval "test \"\${$as_ac_Header+set}\" = set"; then
13551 echo $ECHO_N "(cached) $ECHO_C" >&6
13552else
13553 cat >conftest.$ac_ext <<_ACEOF
13554#line $LINENO "configure"
13555/* confdefs.h. */
13556_ACEOF
13557cat confdefs.h >>conftest.$ac_ext
13558cat >>conftest.$ac_ext <<_ACEOF
13559/* end confdefs.h. */
13560
13561 #if HAVE_X11_XLIB_H
13562 #include <X11/Xlib.h>
13563 #endif
13564
13565
13566#include <$ac_header>
13567_ACEOF
13568rm -f conftest.$ac_objext
13569if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13570 (eval $ac_compile) 2>&5
13571 ac_status=$?
13572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13573 (exit $ac_status); } &&
13574 { ac_try='test -s conftest.$ac_objext'
13575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13576 (eval $ac_try) 2>&5
13577 ac_status=$?
13578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13579 (exit $ac_status); }; }; then
13580 eval "$as_ac_Header=yes"
13581else
13582 echo "$as_me: failed program was:" >&5
13583sed 's/^/| /' conftest.$ac_ext >&5
13584
13585eval "$as_ac_Header=no"
13586fi
13587rm -f conftest.$ac_objext conftest.$ac_ext
13588fi
13589echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13590echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13591if test `eval echo '${'$as_ac_Header'}'` = yes; then
13592 cat >>confdefs.h <<_ACEOF
13593#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13594_ACEOF
13595
13596fi
13597
13598done
13599
13600 fi
13601fi
13602
13603
13604echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13605echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13606if test "${ac_cv_c_const+set}" = set; then
13607 echo $ECHO_N "(cached) $ECHO_C" >&6
13608else
13609 cat >conftest.$ac_ext <<_ACEOF
13610#line $LINENO "configure"
13611/* confdefs.h. */
13612_ACEOF
13613cat confdefs.h >>conftest.$ac_ext
13614cat >>conftest.$ac_ext <<_ACEOF
13615/* end confdefs.h. */
13616
13617int
13618main ()
13619{
13620/* FIXME: Include the comments suggested by Paul. */
13621#ifndef __cplusplus
13622 /* Ultrix mips cc rejects this. */
13623 typedef int charset[2];
13624 const charset x;
13625 /* SunOS 4.1.1 cc rejects this. */
13626 char const *const *ccp;
13627 char **p;
13628 /* NEC SVR4.0.2 mips cc rejects this. */
13629 struct point {int x, y;};
13630 static struct point const zero = {0,0};
13631 /* AIX XL C 1.02.0.0 rejects this.
13632 It does not let you subtract one const X* pointer from another in
13633 an arm of an if-expression whose if-part is not a constant
13634 expression */
13635 const char *g = "string";
13636 ccp = &g + (g ? g-g : 0);
13637 /* HPUX 7.0 cc rejects these. */
13638 ++ccp;
13639 p = (char**) ccp;
13640 ccp = (char const *const *) p;
13641 { /* SCO 3.2v4 cc rejects this. */
13642 char *t;
13643 char const *s = 0 ? (char *) 0 : (char const *) 0;
13644
13645 *t++ = 0;
13646 }
13647 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13648 int x[] = {25, 17};
13649 const int *foo = &x[0];
13650 ++foo;
13651 }
13652 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13653 typedef const int *iptr;
13654 iptr p = 0;
13655 ++p;
13656 }
13657 { /* AIX XL C 1.02.0.0 rejects this saying
13658 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13659 struct s { int j; const int *ap[3]; };
13660 struct s *b; b->j = 5;
13661 }
13662 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13663 const int foo = 10;
13664 }
13665#endif
13666
13667 ;
13668 return 0;
13669}
13670_ACEOF
13671rm -f conftest.$ac_objext
13672if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13673 (eval $ac_compile) 2>&5
13674 ac_status=$?
13675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13676 (exit $ac_status); } &&
13677 { ac_try='test -s conftest.$ac_objext'
13678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13679 (eval $ac_try) 2>&5
13680 ac_status=$?
13681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682 (exit $ac_status); }; }; then
13683 ac_cv_c_const=yes
13684else
13685 echo "$as_me: failed program was:" >&5
13686sed 's/^/| /' conftest.$ac_ext >&5
13687
13688ac_cv_c_const=no
13689fi
13690rm -f conftest.$ac_objext conftest.$ac_ext
13691fi
13692echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13693echo "${ECHO_T}$ac_cv_c_const" >&6
13694if test $ac_cv_c_const = no; then
13695
13696cat >>confdefs.h <<\_ACEOF
13697#define const
13698_ACEOF
13699
13700fi
13701
13702echo "$as_me:$LINENO: checking for inline" >&5
13703echo $ECHO_N "checking for inline... $ECHO_C" >&6
13704if test "${ac_cv_c_inline+set}" = set; then
13705 echo $ECHO_N "(cached) $ECHO_C" >&6
13706else
13707 ac_cv_c_inline=no
13708for ac_kw in inline __inline__ __inline; do
13709 cat >conftest.$ac_ext <<_ACEOF
13710#line $LINENO "configure"
13711/* confdefs.h. */
13712_ACEOF
13713cat confdefs.h >>conftest.$ac_ext
13714cat >>conftest.$ac_ext <<_ACEOF
13715/* end confdefs.h. */
13716#ifndef __cplusplus
13717typedef int foo_t;
13718static $ac_kw foo_t static_foo () {return 0; }
13719$ac_kw foo_t foo () {return 0; }
13720#endif
13721
13722_ACEOF
13723rm -f conftest.$ac_objext
13724if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13725 (eval $ac_compile) 2>&5
13726 ac_status=$?
13727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13728 (exit $ac_status); } &&
13729 { ac_try='test -s conftest.$ac_objext'
13730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13731 (eval $ac_try) 2>&5
13732 ac_status=$?
13733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13734 (exit $ac_status); }; }; then
13735 ac_cv_c_inline=$ac_kw; break
13736else
13737 echo "$as_me: failed program was:" >&5
13738sed 's/^/| /' conftest.$ac_ext >&5
13739
13740fi
13741rm -f conftest.$ac_objext conftest.$ac_ext
13742done
13743
13744fi
13745echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13746echo "${ECHO_T}$ac_cv_c_inline" >&6
13747case $ac_cv_c_inline in
13748 inline | yes) ;;
13749 no)
13750cat >>confdefs.h <<\_ACEOF
13751#define inline
13752_ACEOF
13753 ;;
13754 *) cat >>confdefs.h <<_ACEOF
13755#define inline $ac_cv_c_inline
13756_ACEOF
13757 ;;
13758esac
13759
13760
13761echo "$as_me:$LINENO: checking for char" >&5
13762echo $ECHO_N "checking for char... $ECHO_C" >&6
13763if test "${ac_cv_type_char+set}" = set; then
13764 echo $ECHO_N "(cached) $ECHO_C" >&6
13765else
13766 cat >conftest.$ac_ext <<_ACEOF
13767#line $LINENO "configure"
13768/* confdefs.h. */
13769_ACEOF
13770cat confdefs.h >>conftest.$ac_ext
13771cat >>conftest.$ac_ext <<_ACEOF
13772/* end confdefs.h. */
13773$ac_includes_default
13774int
13775main ()
13776{
13777if ((char *) 0)
13778 return 0;
13779if (sizeof (char))
13780 return 0;
13781 ;
13782 return 0;
13783}
13784_ACEOF
13785rm -f conftest.$ac_objext
13786if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13787 (eval $ac_compile) 2>&5
13788 ac_status=$?
13789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13790 (exit $ac_status); } &&
13791 { ac_try='test -s conftest.$ac_objext'
13792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13793 (eval $ac_try) 2>&5
13794 ac_status=$?
13795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13796 (exit $ac_status); }; }; then
13797 ac_cv_type_char=yes
13798else
13799 echo "$as_me: failed program was:" >&5
13800sed 's/^/| /' conftest.$ac_ext >&5
13801
13802ac_cv_type_char=no
13803fi
13804rm -f conftest.$ac_objext conftest.$ac_ext
13805fi
13806echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13807echo "${ECHO_T}$ac_cv_type_char" >&6
13808
13809echo "$as_me:$LINENO: checking size of char" >&5
13810echo $ECHO_N "checking size of char... $ECHO_C" >&6
13811if test "${ac_cv_sizeof_char+set}" = set; then
13812 echo $ECHO_N "(cached) $ECHO_C" >&6
13813else
13814 if test "$ac_cv_type_char" = yes; then
13815 # The cast to unsigned long works around a bug in the HP C Compiler
13816 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13817 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13818 # This bug is HP SR number 8606223364.
13819 if test "$cross_compiling" = yes; then
13820 # Depending upon the size, compute the lo and hi bounds.
13821cat >conftest.$ac_ext <<_ACEOF
13822#line $LINENO "configure"
13823/* confdefs.h. */
13824_ACEOF
13825cat confdefs.h >>conftest.$ac_ext
13826cat >>conftest.$ac_ext <<_ACEOF
13827/* end confdefs.h. */
13828$ac_includes_default
13829int
13830main ()
13831{
13832static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13833test_array [0] = 0
13834
13835 ;
13836 return 0;
13837}
13838_ACEOF
13839rm -f conftest.$ac_objext
13840if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13841 (eval $ac_compile) 2>&5
13842 ac_status=$?
13843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13844 (exit $ac_status); } &&
13845 { ac_try='test -s conftest.$ac_objext'
13846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13847 (eval $ac_try) 2>&5
13848 ac_status=$?
13849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); }; }; then
13851 ac_lo=0 ac_mid=0
13852 while :; do
13853 cat >conftest.$ac_ext <<_ACEOF
13854#line $LINENO "configure"
13855/* confdefs.h. */
13856_ACEOF
13857cat confdefs.h >>conftest.$ac_ext
13858cat >>conftest.$ac_ext <<_ACEOF
13859/* end confdefs.h. */
13860$ac_includes_default
13861int
13862main ()
13863{
13864static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13865test_array [0] = 0
13866
13867 ;
13868 return 0;
13869}
13870_ACEOF
13871rm -f conftest.$ac_objext
13872if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13873 (eval $ac_compile) 2>&5
13874 ac_status=$?
13875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13876 (exit $ac_status); } &&
13877 { ac_try='test -s conftest.$ac_objext'
13878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13879 (eval $ac_try) 2>&5
13880 ac_status=$?
13881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882 (exit $ac_status); }; }; then
13883 ac_hi=$ac_mid; break
13884else
13885 echo "$as_me: failed program was:" >&5
13886sed 's/^/| /' conftest.$ac_ext >&5
13887
13888ac_lo=`expr $ac_mid + 1`
13889 if test $ac_lo -le $ac_mid; then
13890 ac_lo= ac_hi=
13891 break
13892 fi
13893 ac_mid=`expr 2 '*' $ac_mid + 1`
13894fi
13895rm -f conftest.$ac_objext conftest.$ac_ext
13896 done
13897else
13898 echo "$as_me: failed program was:" >&5
13899sed 's/^/| /' conftest.$ac_ext >&5
13900
13901cat >conftest.$ac_ext <<_ACEOF
13902#line $LINENO "configure"
13903/* confdefs.h. */
13904_ACEOF
13905cat confdefs.h >>conftest.$ac_ext
13906cat >>conftest.$ac_ext <<_ACEOF
13907/* end confdefs.h. */
13908$ac_includes_default
13909int
13910main ()
13911{
13912static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13913test_array [0] = 0
13914
13915 ;
13916 return 0;
13917}
13918_ACEOF
13919rm -f conftest.$ac_objext
13920if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13921 (eval $ac_compile) 2>&5
13922 ac_status=$?
13923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13924 (exit $ac_status); } &&
13925 { ac_try='test -s conftest.$ac_objext'
13926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13927 (eval $ac_try) 2>&5
13928 ac_status=$?
13929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13930 (exit $ac_status); }; }; then
13931 ac_hi=-1 ac_mid=-1
13932 while :; do
13933 cat >conftest.$ac_ext <<_ACEOF
13934#line $LINENO "configure"
13935/* confdefs.h. */
13936_ACEOF
13937cat confdefs.h >>conftest.$ac_ext
13938cat >>conftest.$ac_ext <<_ACEOF
13939/* end confdefs.h. */
13940$ac_includes_default
13941int
13942main ()
13943{
13944static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13945test_array [0] = 0
13946
13947 ;
13948 return 0;
13949}
13950_ACEOF
13951rm -f conftest.$ac_objext
13952if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13953 (eval $ac_compile) 2>&5
13954 ac_status=$?
13955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 (exit $ac_status); } &&
13957 { ac_try='test -s conftest.$ac_objext'
13958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13959 (eval $ac_try) 2>&5
13960 ac_status=$?
13961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13962 (exit $ac_status); }; }; then
13963 ac_lo=$ac_mid; break
13964else
13965 echo "$as_me: failed program was:" >&5
13966sed 's/^/| /' conftest.$ac_ext >&5
13967
13968ac_hi=`expr '(' $ac_mid ')' - 1`
13969 if test $ac_mid -le $ac_hi; then
13970 ac_lo= ac_hi=
13971 break
13972 fi
13973 ac_mid=`expr 2 '*' $ac_mid`
13974fi
13975rm -f conftest.$ac_objext conftest.$ac_ext
13976 done
13977else
13978 echo "$as_me: failed program was:" >&5
13979sed 's/^/| /' conftest.$ac_ext >&5
13980
13981ac_lo= ac_hi=
13982fi
13983rm -f conftest.$ac_objext conftest.$ac_ext
13984fi
13985rm -f conftest.$ac_objext conftest.$ac_ext
13986# Binary search between lo and hi bounds.
13987while test "x$ac_lo" != "x$ac_hi"; do
13988 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13989 cat >conftest.$ac_ext <<_ACEOF
13990#line $LINENO "configure"
13991/* confdefs.h. */
13992_ACEOF
13993cat confdefs.h >>conftest.$ac_ext
13994cat >>conftest.$ac_ext <<_ACEOF
13995/* end confdefs.h. */
13996$ac_includes_default
13997int
13998main ()
13999{
14000static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14001test_array [0] = 0
14002
14003 ;
14004 return 0;
14005}
14006_ACEOF
14007rm -f conftest.$ac_objext
14008if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14009 (eval $ac_compile) 2>&5
14010 ac_status=$?
14011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14012 (exit $ac_status); } &&
14013 { ac_try='test -s conftest.$ac_objext'
14014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14015 (eval $ac_try) 2>&5
14016 ac_status=$?
14017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14018 (exit $ac_status); }; }; then
14019 ac_hi=$ac_mid
14020else
14021 echo "$as_me: failed program was:" >&5
14022sed 's/^/| /' conftest.$ac_ext >&5
14023
14024ac_lo=`expr '(' $ac_mid ')' + 1`
14025fi
14026rm -f conftest.$ac_objext conftest.$ac_ext
14027done
14028case $ac_lo in
14029?*) ac_cv_sizeof_char=$ac_lo;;
14030'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14031See \`config.log' for more details." >&5
14032echo "$as_me: error: cannot compute sizeof (char), 77
14033See \`config.log' for more details." >&2;}
14034 { (exit 1); exit 1; }; } ;;
14035esac
14036else
14037 if test "$cross_compiling" = yes; then
14038 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14039See \`config.log' for more details." >&5
14040echo "$as_me: error: cannot run test program while cross compiling
14041See \`config.log' for more details." >&2;}
14042 { (exit 1); exit 1; }; }
14043else
14044 cat >conftest.$ac_ext <<_ACEOF
14045#line $LINENO "configure"
14046/* confdefs.h. */
14047_ACEOF
14048cat confdefs.h >>conftest.$ac_ext
14049cat >>conftest.$ac_ext <<_ACEOF
14050/* end confdefs.h. */
14051$ac_includes_default
14052long longval () { return (long) (sizeof (char)); }
14053unsigned long ulongval () { return (long) (sizeof (char)); }
14054#include <stdio.h>
14055#include <stdlib.h>
14056int
14057main ()
14058{
14059
14060 FILE *f = fopen ("conftest.val", "w");
14061 if (! f)
14062 exit (1);
14063 if (((long) (sizeof (char))) < 0)
14064 {
14065 long i = longval ();
14066 if (i != ((long) (sizeof (char))))
14067 exit (1);
14068 fprintf (f, "%ld\n", i);
14069 }
14070 else
14071 {
14072 unsigned long i = ulongval ();
14073 if (i != ((long) (sizeof (char))))
14074 exit (1);
14075 fprintf (f, "%lu\n", i);
14076 }
14077 exit (ferror (f) || fclose (f) != 0);
14078
14079 ;
14080 return 0;
14081}
14082_ACEOF
14083rm -f conftest$ac_exeext
14084if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14085 (eval $ac_link) 2>&5
14086 ac_status=$?
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14090 (eval $ac_try) 2>&5
14091 ac_status=$?
14092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14093 (exit $ac_status); }; }; then
14094 ac_cv_sizeof_char=`cat conftest.val`
14095else
14096 echo "$as_me: program exited with status $ac_status" >&5
14097echo "$as_me: failed program was:" >&5
14098sed 's/^/| /' conftest.$ac_ext >&5
14099
14100( exit $ac_status )
14101{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14102See \`config.log' for more details." >&5
14103echo "$as_me: error: cannot compute sizeof (char), 77
14104See \`config.log' for more details." >&2;}
14105 { (exit 1); exit 1; }; }
14106fi
14107rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14108fi
14109fi
14110rm -f conftest.val
14111else
14112 ac_cv_sizeof_char=0
14113fi
14114fi
14115echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14116echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14117cat >>confdefs.h <<_ACEOF
14118#define SIZEOF_CHAR $ac_cv_sizeof_char
14119_ACEOF
14120
14121
14122echo "$as_me:$LINENO: checking for short" >&5
14123echo $ECHO_N "checking for short... $ECHO_C" >&6
14124if test "${ac_cv_type_short+set}" = set; then
14125 echo $ECHO_N "(cached) $ECHO_C" >&6
14126else
14127 cat >conftest.$ac_ext <<_ACEOF
14128#line $LINENO "configure"
14129/* confdefs.h. */
14130_ACEOF
14131cat confdefs.h >>conftest.$ac_ext
14132cat >>conftest.$ac_ext <<_ACEOF
14133/* end confdefs.h. */
14134$ac_includes_default
14135int
14136main ()
14137{
14138if ((short *) 0)
14139 return 0;
14140if (sizeof (short))
14141 return 0;
14142 ;
14143 return 0;
14144}
14145_ACEOF
14146rm -f conftest.$ac_objext
14147if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14148 (eval $ac_compile) 2>&5
14149 ac_status=$?
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); } &&
14152 { ac_try='test -s conftest.$ac_objext'
14153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14154 (eval $ac_try) 2>&5
14155 ac_status=$?
14156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14157 (exit $ac_status); }; }; then
14158 ac_cv_type_short=yes
14159else
14160 echo "$as_me: failed program was:" >&5
14161sed 's/^/| /' conftest.$ac_ext >&5
14162
14163ac_cv_type_short=no
14164fi
14165rm -f conftest.$ac_objext conftest.$ac_ext
14166fi
14167echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14168echo "${ECHO_T}$ac_cv_type_short" >&6
14169
14170echo "$as_me:$LINENO: checking size of short" >&5
14171echo $ECHO_N "checking size of short... $ECHO_C" >&6
14172if test "${ac_cv_sizeof_short+set}" = set; then
14173 echo $ECHO_N "(cached) $ECHO_C" >&6
14174else
14175 if test "$ac_cv_type_short" = yes; then
14176 # The cast to unsigned long works around a bug in the HP C Compiler
14177 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14178 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14179 # This bug is HP SR number 8606223364.
14180 if test "$cross_compiling" = yes; then
14181 # Depending upon the size, compute the lo and hi bounds.
14182cat >conftest.$ac_ext <<_ACEOF
14183#line $LINENO "configure"
14184/* confdefs.h. */
14185_ACEOF
14186cat confdefs.h >>conftest.$ac_ext
14187cat >>conftest.$ac_ext <<_ACEOF
14188/* end confdefs.h. */
14189$ac_includes_default
14190int
14191main ()
14192{
14193static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14194test_array [0] = 0
14195
14196 ;
14197 return 0;
14198}
14199_ACEOF
14200rm -f conftest.$ac_objext
14201if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14202 (eval $ac_compile) 2>&5
14203 ac_status=$?
14204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14205 (exit $ac_status); } &&
14206 { ac_try='test -s conftest.$ac_objext'
14207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14208 (eval $ac_try) 2>&5
14209 ac_status=$?
14210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14211 (exit $ac_status); }; }; then
14212 ac_lo=0 ac_mid=0
14213 while :; do
14214 cat >conftest.$ac_ext <<_ACEOF
14215#line $LINENO "configure"
14216/* confdefs.h. */
14217_ACEOF
14218cat confdefs.h >>conftest.$ac_ext
14219cat >>conftest.$ac_ext <<_ACEOF
14220/* end confdefs.h. */
14221$ac_includes_default
14222int
14223main ()
14224{
14225static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14226test_array [0] = 0
14227
14228 ;
14229 return 0;
14230}
14231_ACEOF
14232rm -f conftest.$ac_objext
14233if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14234 (eval $ac_compile) 2>&5
14235 ac_status=$?
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); } &&
14238 { ac_try='test -s conftest.$ac_objext'
14239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14240 (eval $ac_try) 2>&5
14241 ac_status=$?
14242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14243 (exit $ac_status); }; }; then
14244 ac_hi=$ac_mid; break
14245else
14246 echo "$as_me: failed program was:" >&5
14247sed 's/^/| /' conftest.$ac_ext >&5
14248
14249ac_lo=`expr $ac_mid + 1`
14250 if test $ac_lo -le $ac_mid; then
14251 ac_lo= ac_hi=
14252 break
14253 fi
14254 ac_mid=`expr 2 '*' $ac_mid + 1`
14255fi
14256rm -f conftest.$ac_objext conftest.$ac_ext
14257 done
14258else
14259 echo "$as_me: failed program was:" >&5
14260sed 's/^/| /' conftest.$ac_ext >&5
14261
14262cat >conftest.$ac_ext <<_ACEOF
14263#line $LINENO "configure"
14264/* confdefs.h. */
14265_ACEOF
14266cat confdefs.h >>conftest.$ac_ext
14267cat >>conftest.$ac_ext <<_ACEOF
14268/* end confdefs.h. */
14269$ac_includes_default
14270int
14271main ()
14272{
14273static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14274test_array [0] = 0
14275
14276 ;
14277 return 0;
14278}
14279_ACEOF
14280rm -f conftest.$ac_objext
14281if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14282 (eval $ac_compile) 2>&5
14283 ac_status=$?
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); } &&
14286 { ac_try='test -s conftest.$ac_objext'
14287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14288 (eval $ac_try) 2>&5
14289 ac_status=$?
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); }; }; then
14292 ac_hi=-1 ac_mid=-1
14293 while :; do
14294 cat >conftest.$ac_ext <<_ACEOF
14295#line $LINENO "configure"
14296/* confdefs.h. */
14297_ACEOF
14298cat confdefs.h >>conftest.$ac_ext
14299cat >>conftest.$ac_ext <<_ACEOF
14300/* end confdefs.h. */
14301$ac_includes_default
14302int
14303main ()
14304{
14305static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14306test_array [0] = 0
14307
14308 ;
14309 return 0;
14310}
14311_ACEOF
14312rm -f conftest.$ac_objext
14313if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14314 (eval $ac_compile) 2>&5
14315 ac_status=$?
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); } &&
14318 { ac_try='test -s conftest.$ac_objext'
14319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14320 (eval $ac_try) 2>&5
14321 ac_status=$?
14322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14323 (exit $ac_status); }; }; then
14324 ac_lo=$ac_mid; break
14325else
14326 echo "$as_me: failed program was:" >&5
14327sed 's/^/| /' conftest.$ac_ext >&5
14328
14329ac_hi=`expr '(' $ac_mid ')' - 1`
14330 if test $ac_mid -le $ac_hi; then
14331 ac_lo= ac_hi=
14332 break
14333 fi
14334 ac_mid=`expr 2 '*' $ac_mid`
14335fi
14336rm -f conftest.$ac_objext conftest.$ac_ext
14337 done
14338else
14339 echo "$as_me: failed program was:" >&5
14340sed 's/^/| /' conftest.$ac_ext >&5
14341
14342ac_lo= ac_hi=
14343fi
14344rm -f conftest.$ac_objext conftest.$ac_ext
14345fi
14346rm -f conftest.$ac_objext conftest.$ac_ext
14347# Binary search between lo and hi bounds.
14348while test "x$ac_lo" != "x$ac_hi"; do
14349 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14350 cat >conftest.$ac_ext <<_ACEOF
14351#line $LINENO "configure"
14352/* confdefs.h. */
14353_ACEOF
14354cat confdefs.h >>conftest.$ac_ext
14355cat >>conftest.$ac_ext <<_ACEOF
14356/* end confdefs.h. */
14357$ac_includes_default
14358int
14359main ()
14360{
14361static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14362test_array [0] = 0
14363
14364 ;
14365 return 0;
14366}
14367_ACEOF
14368rm -f conftest.$ac_objext
14369if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14370 (eval $ac_compile) 2>&5
14371 ac_status=$?
14372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373 (exit $ac_status); } &&
14374 { ac_try='test -s conftest.$ac_objext'
14375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14376 (eval $ac_try) 2>&5
14377 ac_status=$?
14378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14379 (exit $ac_status); }; }; then
14380 ac_hi=$ac_mid
14381else
14382 echo "$as_me: failed program was:" >&5
14383sed 's/^/| /' conftest.$ac_ext >&5
14384
14385ac_lo=`expr '(' $ac_mid ')' + 1`
14386fi
14387rm -f conftest.$ac_objext conftest.$ac_ext
14388done
14389case $ac_lo in
14390?*) ac_cv_sizeof_short=$ac_lo;;
14391'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14392See \`config.log' for more details." >&5
14393echo "$as_me: error: cannot compute sizeof (short), 77
14394See \`config.log' for more details." >&2;}
14395 { (exit 1); exit 1; }; } ;;
14396esac
14397else
14398 if test "$cross_compiling" = yes; then
14399 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14400See \`config.log' for more details." >&5
14401echo "$as_me: error: cannot run test program while cross compiling
14402See \`config.log' for more details." >&2;}
14403 { (exit 1); exit 1; }; }
14404else
14405 cat >conftest.$ac_ext <<_ACEOF
14406#line $LINENO "configure"
14407/* confdefs.h. */
14408_ACEOF
14409cat confdefs.h >>conftest.$ac_ext
14410cat >>conftest.$ac_ext <<_ACEOF
14411/* end confdefs.h. */
14412$ac_includes_default
14413long longval () { return (long) (sizeof (short)); }
14414unsigned long ulongval () { return (long) (sizeof (short)); }
14415#include <stdio.h>
14416#include <stdlib.h>
14417int
14418main ()
14419{
14420
14421 FILE *f = fopen ("conftest.val", "w");
14422 if (! f)
14423 exit (1);
14424 if (((long) (sizeof (short))) < 0)
14425 {
14426 long i = longval ();
14427 if (i != ((long) (sizeof (short))))
14428 exit (1);
14429 fprintf (f, "%ld\n", i);
14430 }
14431 else
14432 {
14433 unsigned long i = ulongval ();
14434 if (i != ((long) (sizeof (short))))
14435 exit (1);
14436 fprintf (f, "%lu\n", i);
14437 }
14438 exit (ferror (f) || fclose (f) != 0);
14439
14440 ;
14441 return 0;
14442}
14443_ACEOF
14444rm -f conftest$ac_exeext
14445if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14446 (eval $ac_link) 2>&5
14447 ac_status=$?
14448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14449 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14451 (eval $ac_try) 2>&5
14452 ac_status=$?
14453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14454 (exit $ac_status); }; }; then
14455 ac_cv_sizeof_short=`cat conftest.val`
14456else
14457 echo "$as_me: program exited with status $ac_status" >&5
14458echo "$as_me: failed program was:" >&5
14459sed 's/^/| /' conftest.$ac_ext >&5
14460
14461( exit $ac_status )
14462{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14463See \`config.log' for more details." >&5
14464echo "$as_me: error: cannot compute sizeof (short), 77
14465See \`config.log' for more details." >&2;}
14466 { (exit 1); exit 1; }; }
14467fi
14468rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14469fi
14470fi
14471rm -f conftest.val
14472else
14473 ac_cv_sizeof_short=0
14474fi
14475fi
14476echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14477echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14478cat >>confdefs.h <<_ACEOF
14479#define SIZEOF_SHORT $ac_cv_sizeof_short
14480_ACEOF
14481
14482
14483echo "$as_me:$LINENO: checking for void *" >&5
14484echo $ECHO_N "checking for void *... $ECHO_C" >&6
14485if test "${ac_cv_type_void_p+set}" = set; then
14486 echo $ECHO_N "(cached) $ECHO_C" >&6
14487else
14488 cat >conftest.$ac_ext <<_ACEOF
14489#line $LINENO "configure"
14490/* confdefs.h. */
14491_ACEOF
14492cat confdefs.h >>conftest.$ac_ext
14493cat >>conftest.$ac_ext <<_ACEOF
14494/* end confdefs.h. */
14495$ac_includes_default
14496int
14497main ()
14498{
14499if ((void * *) 0)
14500 return 0;
14501if (sizeof (void *))
14502 return 0;
14503 ;
14504 return 0;
14505}
14506_ACEOF
14507rm -f conftest.$ac_objext
14508if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14509 (eval $ac_compile) 2>&5
14510 ac_status=$?
14511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512 (exit $ac_status); } &&
14513 { ac_try='test -s conftest.$ac_objext'
14514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14515 (eval $ac_try) 2>&5
14516 ac_status=$?
14517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14518 (exit $ac_status); }; }; then
14519 ac_cv_type_void_p=yes
14520else
14521 echo "$as_me: failed program was:" >&5
14522sed 's/^/| /' conftest.$ac_ext >&5
14523
14524ac_cv_type_void_p=no
14525fi
14526rm -f conftest.$ac_objext conftest.$ac_ext
14527fi
14528echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14529echo "${ECHO_T}$ac_cv_type_void_p" >&6
14530
14531echo "$as_me:$LINENO: checking size of void *" >&5
14532echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14533if test "${ac_cv_sizeof_void_p+set}" = set; then
14534 echo $ECHO_N "(cached) $ECHO_C" >&6
14535else
14536 if test "$ac_cv_type_void_p" = yes; then
14537 # The cast to unsigned long works around a bug in the HP C Compiler
14538 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14539 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14540 # This bug is HP SR number 8606223364.
14541 if test "$cross_compiling" = yes; then
14542 # Depending upon the size, compute the lo and hi bounds.
14543cat >conftest.$ac_ext <<_ACEOF
14544#line $LINENO "configure"
14545/* confdefs.h. */
14546_ACEOF
14547cat confdefs.h >>conftest.$ac_ext
14548cat >>conftest.$ac_ext <<_ACEOF
14549/* end confdefs.h. */
14550$ac_includes_default
14551int
14552main ()
14553{
14554static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14555test_array [0] = 0
14556
14557 ;
14558 return 0;
14559}
14560_ACEOF
14561rm -f conftest.$ac_objext
14562if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14563 (eval $ac_compile) 2>&5
14564 ac_status=$?
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } &&
14567 { ac_try='test -s conftest.$ac_objext'
14568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14569 (eval $ac_try) 2>&5
14570 ac_status=$?
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); }; }; then
14573 ac_lo=0 ac_mid=0
14574 while :; do
14575 cat >conftest.$ac_ext <<_ACEOF
14576#line $LINENO "configure"
14577/* confdefs.h. */
14578_ACEOF
14579cat confdefs.h >>conftest.$ac_ext
14580cat >>conftest.$ac_ext <<_ACEOF
14581/* end confdefs.h. */
14582$ac_includes_default
14583int
14584main ()
14585{
14586static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14587test_array [0] = 0
14588
14589 ;
14590 return 0;
14591}
14592_ACEOF
14593rm -f conftest.$ac_objext
14594if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14595 (eval $ac_compile) 2>&5
14596 ac_status=$?
14597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14598 (exit $ac_status); } &&
14599 { ac_try='test -s conftest.$ac_objext'
14600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14601 (eval $ac_try) 2>&5
14602 ac_status=$?
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); }; }; then
14605 ac_hi=$ac_mid; break
14606else
14607 echo "$as_me: failed program was:" >&5
14608sed 's/^/| /' conftest.$ac_ext >&5
14609
14610ac_lo=`expr $ac_mid + 1`
14611 if test $ac_lo -le $ac_mid; then
14612 ac_lo= ac_hi=
14613 break
14614 fi
14615 ac_mid=`expr 2 '*' $ac_mid + 1`
14616fi
14617rm -f conftest.$ac_objext conftest.$ac_ext
14618 done
14619else
14620 echo "$as_me: failed program was:" >&5
14621sed 's/^/| /' conftest.$ac_ext >&5
14622
14623cat >conftest.$ac_ext <<_ACEOF
14624#line $LINENO "configure"
14625/* confdefs.h. */
14626_ACEOF
14627cat confdefs.h >>conftest.$ac_ext
14628cat >>conftest.$ac_ext <<_ACEOF
14629/* end confdefs.h. */
14630$ac_includes_default
14631int
14632main ()
14633{
14634static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14635test_array [0] = 0
14636
14637 ;
14638 return 0;
14639}
14640_ACEOF
14641rm -f conftest.$ac_objext
14642if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14643 (eval $ac_compile) 2>&5
14644 ac_status=$?
14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 (exit $ac_status); } &&
14647 { ac_try='test -s conftest.$ac_objext'
14648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14649 (eval $ac_try) 2>&5
14650 ac_status=$?
14651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 (exit $ac_status); }; }; then
14653 ac_hi=-1 ac_mid=-1
14654 while :; do
14655 cat >conftest.$ac_ext <<_ACEOF
14656#line $LINENO "configure"
14657/* confdefs.h. */
14658_ACEOF
14659cat confdefs.h >>conftest.$ac_ext
14660cat >>conftest.$ac_ext <<_ACEOF
14661/* end confdefs.h. */
14662$ac_includes_default
14663int
14664main ()
14665{
14666static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14667test_array [0] = 0
14668
14669 ;
14670 return 0;
14671}
14672_ACEOF
14673rm -f conftest.$ac_objext
14674if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14675 (eval $ac_compile) 2>&5
14676 ac_status=$?
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); } &&
14679 { ac_try='test -s conftest.$ac_objext'
14680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14681 (eval $ac_try) 2>&5
14682 ac_status=$?
14683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14684 (exit $ac_status); }; }; then
14685 ac_lo=$ac_mid; break
14686else
14687 echo "$as_me: failed program was:" >&5
14688sed 's/^/| /' conftest.$ac_ext >&5
14689
14690ac_hi=`expr '(' $ac_mid ')' - 1`
14691 if test $ac_mid -le $ac_hi; then
14692 ac_lo= ac_hi=
14693 break
14694 fi
14695 ac_mid=`expr 2 '*' $ac_mid`
14696fi
14697rm -f conftest.$ac_objext conftest.$ac_ext
14698 done
14699else
14700 echo "$as_me: failed program was:" >&5
14701sed 's/^/| /' conftest.$ac_ext >&5
14702
14703ac_lo= ac_hi=
14704fi
14705rm -f conftest.$ac_objext conftest.$ac_ext
14706fi
14707rm -f conftest.$ac_objext conftest.$ac_ext
14708# Binary search between lo and hi bounds.
14709while test "x$ac_lo" != "x$ac_hi"; do
14710 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14711 cat >conftest.$ac_ext <<_ACEOF
14712#line $LINENO "configure"
14713/* confdefs.h. */
14714_ACEOF
14715cat confdefs.h >>conftest.$ac_ext
14716cat >>conftest.$ac_ext <<_ACEOF
14717/* end confdefs.h. */
14718$ac_includes_default
14719int
14720main ()
14721{
14722static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14723test_array [0] = 0
14724
14725 ;
14726 return 0;
14727}
14728_ACEOF
14729rm -f conftest.$ac_objext
14730if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14731 (eval $ac_compile) 2>&5
14732 ac_status=$?
14733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14734 (exit $ac_status); } &&
14735 { ac_try='test -s conftest.$ac_objext'
14736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14737 (eval $ac_try) 2>&5
14738 ac_status=$?
14739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14740 (exit $ac_status); }; }; then
14741 ac_hi=$ac_mid
14742else
14743 echo "$as_me: failed program was:" >&5
14744sed 's/^/| /' conftest.$ac_ext >&5
14745
14746ac_lo=`expr '(' $ac_mid ')' + 1`
14747fi
14748rm -f conftest.$ac_objext conftest.$ac_ext
14749done
14750case $ac_lo in
14751?*) ac_cv_sizeof_void_p=$ac_lo;;
14752'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14753See \`config.log' for more details." >&5
14754echo "$as_me: error: cannot compute sizeof (void *), 77
14755See \`config.log' for more details." >&2;}
14756 { (exit 1); exit 1; }; } ;;
14757esac
14758else
14759 if test "$cross_compiling" = yes; then
14760 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14761See \`config.log' for more details." >&5
14762echo "$as_me: error: cannot run test program while cross compiling
14763See \`config.log' for more details." >&2;}
14764 { (exit 1); exit 1; }; }
14765else
14766 cat >conftest.$ac_ext <<_ACEOF
14767#line $LINENO "configure"
14768/* confdefs.h. */
14769_ACEOF
14770cat confdefs.h >>conftest.$ac_ext
14771cat >>conftest.$ac_ext <<_ACEOF
14772/* end confdefs.h. */
14773$ac_includes_default
14774long longval () { return (long) (sizeof (void *)); }
14775unsigned long ulongval () { return (long) (sizeof (void *)); }
14776#include <stdio.h>
14777#include <stdlib.h>
14778int
14779main ()
14780{
14781
14782 FILE *f = fopen ("conftest.val", "w");
14783 if (! f)
14784 exit (1);
14785 if (((long) (sizeof (void *))) < 0)
14786 {
14787 long i = longval ();
14788 if (i != ((long) (sizeof (void *))))
14789 exit (1);
14790 fprintf (f, "%ld\n", i);
14791 }
14792 else
14793 {
14794 unsigned long i = ulongval ();
14795 if (i != ((long) (sizeof (void *))))
14796 exit (1);
14797 fprintf (f, "%lu\n", i);
14798 }
14799 exit (ferror (f) || fclose (f) != 0);
14800
14801 ;
14802 return 0;
14803}
14804_ACEOF
14805rm -f conftest$ac_exeext
14806if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14807 (eval $ac_link) 2>&5
14808 ac_status=$?
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14812 (eval $ac_try) 2>&5
14813 ac_status=$?
14814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14815 (exit $ac_status); }; }; then
14816 ac_cv_sizeof_void_p=`cat conftest.val`
14817else
14818 echo "$as_me: program exited with status $ac_status" >&5
14819echo "$as_me: failed program was:" >&5
14820sed 's/^/| /' conftest.$ac_ext >&5
14821
14822( exit $ac_status )
14823{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14824See \`config.log' for more details." >&5
14825echo "$as_me: error: cannot compute sizeof (void *), 77
14826See \`config.log' for more details." >&2;}
14827 { (exit 1); exit 1; }; }
14828fi
14829rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14830fi
14831fi
14832rm -f conftest.val
14833else
14834 ac_cv_sizeof_void_p=0
14835fi
14836fi
14837echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14838echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14839cat >>confdefs.h <<_ACEOF
14840#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14841_ACEOF
14842
14843
14844echo "$as_me:$LINENO: checking for int" >&5
14845echo $ECHO_N "checking for int... $ECHO_C" >&6
14846if test "${ac_cv_type_int+set}" = set; then
14847 echo $ECHO_N "(cached) $ECHO_C" >&6
14848else
14849 cat >conftest.$ac_ext <<_ACEOF
14850#line $LINENO "configure"
14851/* confdefs.h. */
14852_ACEOF
14853cat confdefs.h >>conftest.$ac_ext
14854cat >>conftest.$ac_ext <<_ACEOF
14855/* end confdefs.h. */
14856$ac_includes_default
14857int
14858main ()
14859{
14860if ((int *) 0)
14861 return 0;
14862if (sizeof (int))
14863 return 0;
14864 ;
14865 return 0;
14866}
14867_ACEOF
14868rm -f conftest.$ac_objext
14869if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14870 (eval $ac_compile) 2>&5
14871 ac_status=$?
14872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873 (exit $ac_status); } &&
14874 { ac_try='test -s conftest.$ac_objext'
14875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14876 (eval $ac_try) 2>&5
14877 ac_status=$?
14878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 (exit $ac_status); }; }; then
14880 ac_cv_type_int=yes
14881else
14882 echo "$as_me: failed program was:" >&5
14883sed 's/^/| /' conftest.$ac_ext >&5
14884
14885ac_cv_type_int=no
14886fi
14887rm -f conftest.$ac_objext conftest.$ac_ext
14888fi
14889echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14890echo "${ECHO_T}$ac_cv_type_int" >&6
14891
14892echo "$as_me:$LINENO: checking size of int" >&5
14893echo $ECHO_N "checking size of int... $ECHO_C" >&6
14894if test "${ac_cv_sizeof_int+set}" = set; then
14895 echo $ECHO_N "(cached) $ECHO_C" >&6
14896else
14897 if test "$ac_cv_type_int" = yes; then
14898 # The cast to unsigned long works around a bug in the HP C Compiler
14899 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14900 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14901 # This bug is HP SR number 8606223364.
14902 if test "$cross_compiling" = yes; then
14903 # Depending upon the size, compute the lo and hi bounds.
14904cat >conftest.$ac_ext <<_ACEOF
14905#line $LINENO "configure"
14906/* confdefs.h. */
14907_ACEOF
14908cat confdefs.h >>conftest.$ac_ext
14909cat >>conftest.$ac_ext <<_ACEOF
14910/* end confdefs.h. */
14911$ac_includes_default
14912int
14913main ()
14914{
14915static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14916test_array [0] = 0
14917
14918 ;
14919 return 0;
14920}
14921_ACEOF
14922rm -f conftest.$ac_objext
14923if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14924 (eval $ac_compile) 2>&5
14925 ac_status=$?
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); } &&
14928 { ac_try='test -s conftest.$ac_objext'
14929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14930 (eval $ac_try) 2>&5
14931 ac_status=$?
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); }; }; then
14934 ac_lo=0 ac_mid=0
14935 while :; do
14936 cat >conftest.$ac_ext <<_ACEOF
14937#line $LINENO "configure"
14938/* confdefs.h. */
14939_ACEOF
14940cat confdefs.h >>conftest.$ac_ext
14941cat >>conftest.$ac_ext <<_ACEOF
14942/* end confdefs.h. */
14943$ac_includes_default
14944int
14945main ()
14946{
14947static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14948test_array [0] = 0
14949
14950 ;
14951 return 0;
14952}
14953_ACEOF
14954rm -f conftest.$ac_objext
14955if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14956 (eval $ac_compile) 2>&5
14957 ac_status=$?
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 (exit $ac_status); } &&
14960 { ac_try='test -s conftest.$ac_objext'
14961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14962 (eval $ac_try) 2>&5
14963 ac_status=$?
14964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14965 (exit $ac_status); }; }; then
14966 ac_hi=$ac_mid; break
14967else
14968 echo "$as_me: failed program was:" >&5
14969sed 's/^/| /' conftest.$ac_ext >&5
14970
14971ac_lo=`expr $ac_mid + 1`
14972 if test $ac_lo -le $ac_mid; then
14973 ac_lo= ac_hi=
14974 break
14975 fi
14976 ac_mid=`expr 2 '*' $ac_mid + 1`
14977fi
14978rm -f conftest.$ac_objext conftest.$ac_ext
14979 done
14980else
14981 echo "$as_me: failed program was:" >&5
14982sed 's/^/| /' conftest.$ac_ext >&5
14983
14984cat >conftest.$ac_ext <<_ACEOF
14985#line $LINENO "configure"
14986/* confdefs.h. */
14987_ACEOF
14988cat confdefs.h >>conftest.$ac_ext
14989cat >>conftest.$ac_ext <<_ACEOF
14990/* end confdefs.h. */
14991$ac_includes_default
14992int
14993main ()
14994{
14995static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14996test_array [0] = 0
14997
14998 ;
14999 return 0;
15000}
15001_ACEOF
15002rm -f conftest.$ac_objext
15003if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15004 (eval $ac_compile) 2>&5
15005 ac_status=$?
15006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15007 (exit $ac_status); } &&
15008 { ac_try='test -s conftest.$ac_objext'
15009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15010 (eval $ac_try) 2>&5
15011 ac_status=$?
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); }; }; then
15014 ac_hi=-1 ac_mid=-1
15015 while :; do
15016 cat >conftest.$ac_ext <<_ACEOF
15017#line $LINENO "configure"
15018/* confdefs.h. */
15019_ACEOF
15020cat confdefs.h >>conftest.$ac_ext
15021cat >>conftest.$ac_ext <<_ACEOF
15022/* end confdefs.h. */
15023$ac_includes_default
15024int
15025main ()
15026{
15027static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15028test_array [0] = 0
15029
15030 ;
15031 return 0;
15032}
15033_ACEOF
15034rm -f conftest.$ac_objext
15035if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15036 (eval $ac_compile) 2>&5
15037 ac_status=$?
15038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15039 (exit $ac_status); } &&
15040 { ac_try='test -s conftest.$ac_objext'
15041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15042 (eval $ac_try) 2>&5
15043 ac_status=$?
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045 (exit $ac_status); }; }; then
15046 ac_lo=$ac_mid; break
15047else
15048 echo "$as_me: failed program was:" >&5
15049sed 's/^/| /' conftest.$ac_ext >&5
15050
15051ac_hi=`expr '(' $ac_mid ')' - 1`
15052 if test $ac_mid -le $ac_hi; then
15053 ac_lo= ac_hi=
15054 break
15055 fi
15056 ac_mid=`expr 2 '*' $ac_mid`
15057fi
15058rm -f conftest.$ac_objext conftest.$ac_ext
15059 done
15060else
15061 echo "$as_me: failed program was:" >&5
15062sed 's/^/| /' conftest.$ac_ext >&5
15063
15064ac_lo= ac_hi=
15065fi
15066rm -f conftest.$ac_objext conftest.$ac_ext
15067fi
15068rm -f conftest.$ac_objext conftest.$ac_ext
15069# Binary search between lo and hi bounds.
15070while test "x$ac_lo" != "x$ac_hi"; do
15071 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15072 cat >conftest.$ac_ext <<_ACEOF
15073#line $LINENO "configure"
15074/* confdefs.h. */
15075_ACEOF
15076cat confdefs.h >>conftest.$ac_ext
15077cat >>conftest.$ac_ext <<_ACEOF
15078/* end confdefs.h. */
15079$ac_includes_default
15080int
15081main ()
15082{
15083static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15084test_array [0] = 0
15085
15086 ;
15087 return 0;
15088}
15089_ACEOF
15090rm -f conftest.$ac_objext
15091if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15092 (eval $ac_compile) 2>&5
15093 ac_status=$?
15094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 (exit $ac_status); } &&
15096 { ac_try='test -s conftest.$ac_objext'
15097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15098 (eval $ac_try) 2>&5
15099 ac_status=$?
15100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15101 (exit $ac_status); }; }; then
15102 ac_hi=$ac_mid
15103else
15104 echo "$as_me: failed program was:" >&5
15105sed 's/^/| /' conftest.$ac_ext >&5
15106
15107ac_lo=`expr '(' $ac_mid ')' + 1`
15108fi
15109rm -f conftest.$ac_objext conftest.$ac_ext
15110done
15111case $ac_lo in
15112?*) ac_cv_sizeof_int=$ac_lo;;
15113'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15114See \`config.log' for more details." >&5
15115echo "$as_me: error: cannot compute sizeof (int), 77
15116See \`config.log' for more details." >&2;}
15117 { (exit 1); exit 1; }; } ;;
15118esac
15119else
15120 if test "$cross_compiling" = yes; then
15121 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15122See \`config.log' for more details." >&5
15123echo "$as_me: error: cannot run test program while cross compiling
15124See \`config.log' for more details." >&2;}
15125 { (exit 1); exit 1; }; }
15126else
15127 cat >conftest.$ac_ext <<_ACEOF
15128#line $LINENO "configure"
15129/* confdefs.h. */
15130_ACEOF
15131cat confdefs.h >>conftest.$ac_ext
15132cat >>conftest.$ac_ext <<_ACEOF
15133/* end confdefs.h. */
15134$ac_includes_default
15135long longval () { return (long) (sizeof (int)); }
15136unsigned long ulongval () { return (long) (sizeof (int)); }
15137#include <stdio.h>
15138#include <stdlib.h>
15139int
15140main ()
15141{
15142
15143 FILE *f = fopen ("conftest.val", "w");
15144 if (! f)
15145 exit (1);
15146 if (((long) (sizeof (int))) < 0)
15147 {
15148 long i = longval ();
15149 if (i != ((long) (sizeof (int))))
15150 exit (1);
15151 fprintf (f, "%ld\n", i);
15152 }
15153 else
15154 {
15155 unsigned long i = ulongval ();
15156 if (i != ((long) (sizeof (int))))
15157 exit (1);
15158 fprintf (f, "%lu\n", i);
15159 }
15160 exit (ferror (f) || fclose (f) != 0);
15161
15162 ;
15163 return 0;
15164}
15165_ACEOF
15166rm -f conftest$ac_exeext
15167if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15168 (eval $ac_link) 2>&5
15169 ac_status=$?
15170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15171 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15173 (eval $ac_try) 2>&5
15174 ac_status=$?
15175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15176 (exit $ac_status); }; }; then
15177 ac_cv_sizeof_int=`cat conftest.val`
15178else
15179 echo "$as_me: program exited with status $ac_status" >&5
15180echo "$as_me: failed program was:" >&5
15181sed 's/^/| /' conftest.$ac_ext >&5
15182
15183( exit $ac_status )
15184{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15185See \`config.log' for more details." >&5
15186echo "$as_me: error: cannot compute sizeof (int), 77
15187See \`config.log' for more details." >&2;}
15188 { (exit 1); exit 1; }; }
15189fi
15190rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15191fi
15192fi
15193rm -f conftest.val
15194else
15195 ac_cv_sizeof_int=0
15196fi
15197fi
15198echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15199echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15200cat >>confdefs.h <<_ACEOF
15201#define SIZEOF_INT $ac_cv_sizeof_int
15202_ACEOF
15203
15204
15205echo "$as_me:$LINENO: checking for long" >&5
15206echo $ECHO_N "checking for long... $ECHO_C" >&6
15207if test "${ac_cv_type_long+set}" = set; then
15208 echo $ECHO_N "(cached) $ECHO_C" >&6
15209else
15210 cat >conftest.$ac_ext <<_ACEOF
15211#line $LINENO "configure"
15212/* confdefs.h. */
15213_ACEOF
15214cat confdefs.h >>conftest.$ac_ext
15215cat >>conftest.$ac_ext <<_ACEOF
15216/* end confdefs.h. */
15217$ac_includes_default
15218int
15219main ()
15220{
15221if ((long *) 0)
15222 return 0;
15223if (sizeof (long))
15224 return 0;
15225 ;
15226 return 0;
15227}
15228_ACEOF
15229rm -f conftest.$ac_objext
15230if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15231 (eval $ac_compile) 2>&5
15232 ac_status=$?
15233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15234 (exit $ac_status); } &&
15235 { ac_try='test -s conftest.$ac_objext'
15236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15237 (eval $ac_try) 2>&5
15238 ac_status=$?
15239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15240 (exit $ac_status); }; }; then
15241 ac_cv_type_long=yes
15242else
15243 echo "$as_me: failed program was:" >&5
15244sed 's/^/| /' conftest.$ac_ext >&5
15245
15246ac_cv_type_long=no
15247fi
15248rm -f conftest.$ac_objext conftest.$ac_ext
15249fi
15250echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15251echo "${ECHO_T}$ac_cv_type_long" >&6
15252
15253echo "$as_me:$LINENO: checking size of long" >&5
15254echo $ECHO_N "checking size of long... $ECHO_C" >&6
15255if test "${ac_cv_sizeof_long+set}" = set; then
15256 echo $ECHO_N "(cached) $ECHO_C" >&6
15257else
15258 if test "$ac_cv_type_long" = yes; then
15259 # The cast to unsigned long works around a bug in the HP C Compiler
15260 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15261 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15262 # This bug is HP SR number 8606223364.
15263 if test "$cross_compiling" = yes; then
15264 # Depending upon the size, compute the lo and hi bounds.
15265cat >conftest.$ac_ext <<_ACEOF
15266#line $LINENO "configure"
15267/* confdefs.h. */
15268_ACEOF
15269cat confdefs.h >>conftest.$ac_ext
15270cat >>conftest.$ac_ext <<_ACEOF
15271/* end confdefs.h. */
15272$ac_includes_default
15273int
15274main ()
15275{
15276static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15277test_array [0] = 0
15278
15279 ;
15280 return 0;
15281}
15282_ACEOF
15283rm -f conftest.$ac_objext
15284if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15285 (eval $ac_compile) 2>&5
15286 ac_status=$?
15287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15288 (exit $ac_status); } &&
15289 { ac_try='test -s conftest.$ac_objext'
15290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15291 (eval $ac_try) 2>&5
15292 ac_status=$?
15293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15294 (exit $ac_status); }; }; then
15295 ac_lo=0 ac_mid=0
15296 while :; do
15297 cat >conftest.$ac_ext <<_ACEOF
15298#line $LINENO "configure"
15299/* confdefs.h. */
15300_ACEOF
15301cat confdefs.h >>conftest.$ac_ext
15302cat >>conftest.$ac_ext <<_ACEOF
15303/* end confdefs.h. */
15304$ac_includes_default
15305int
15306main ()
15307{
15308static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15309test_array [0] = 0
15310
15311 ;
15312 return 0;
15313}
15314_ACEOF
15315rm -f conftest.$ac_objext
15316if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15317 (eval $ac_compile) 2>&5
15318 ac_status=$?
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); } &&
15321 { ac_try='test -s conftest.$ac_objext'
15322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15323 (eval $ac_try) 2>&5
15324 ac_status=$?
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); }; }; then
15327 ac_hi=$ac_mid; break
15328else
15329 echo "$as_me: failed program was:" >&5
15330sed 's/^/| /' conftest.$ac_ext >&5
15331
15332ac_lo=`expr $ac_mid + 1`
15333 if test $ac_lo -le $ac_mid; then
15334 ac_lo= ac_hi=
15335 break
15336 fi
15337 ac_mid=`expr 2 '*' $ac_mid + 1`
15338fi
15339rm -f conftest.$ac_objext conftest.$ac_ext
15340 done
15341else
15342 echo "$as_me: failed program was:" >&5
15343sed 's/^/| /' conftest.$ac_ext >&5
15344
15345cat >conftest.$ac_ext <<_ACEOF
15346#line $LINENO "configure"
15347/* confdefs.h. */
15348_ACEOF
15349cat confdefs.h >>conftest.$ac_ext
15350cat >>conftest.$ac_ext <<_ACEOF
15351/* end confdefs.h. */
15352$ac_includes_default
15353int
15354main ()
15355{
15356static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15357test_array [0] = 0
15358
15359 ;
15360 return 0;
15361}
15362_ACEOF
15363rm -f conftest.$ac_objext
15364if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15365 (eval $ac_compile) 2>&5
15366 ac_status=$?
15367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15368 (exit $ac_status); } &&
15369 { ac_try='test -s conftest.$ac_objext'
15370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15371 (eval $ac_try) 2>&5
15372 ac_status=$?
15373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15374 (exit $ac_status); }; }; then
15375 ac_hi=-1 ac_mid=-1
15376 while :; do
15377 cat >conftest.$ac_ext <<_ACEOF
15378#line $LINENO "configure"
15379/* confdefs.h. */
15380_ACEOF
15381cat confdefs.h >>conftest.$ac_ext
15382cat >>conftest.$ac_ext <<_ACEOF
15383/* end confdefs.h. */
15384$ac_includes_default
15385int
15386main ()
15387{
15388static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15389test_array [0] = 0
15390
15391 ;
15392 return 0;
15393}
15394_ACEOF
15395rm -f conftest.$ac_objext
15396if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15397 (eval $ac_compile) 2>&5
15398 ac_status=$?
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); } &&
15401 { ac_try='test -s conftest.$ac_objext'
15402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15403 (eval $ac_try) 2>&5
15404 ac_status=$?
15405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15406 (exit $ac_status); }; }; then
15407 ac_lo=$ac_mid; break
15408else
15409 echo "$as_me: failed program was:" >&5
15410sed 's/^/| /' conftest.$ac_ext >&5
15411
15412ac_hi=`expr '(' $ac_mid ')' - 1`
15413 if test $ac_mid -le $ac_hi; then
15414 ac_lo= ac_hi=
15415 break
15416 fi
15417 ac_mid=`expr 2 '*' $ac_mid`
15418fi
15419rm -f conftest.$ac_objext conftest.$ac_ext
15420 done
15421else
15422 echo "$as_me: failed program was:" >&5
15423sed 's/^/| /' conftest.$ac_ext >&5
15424
15425ac_lo= ac_hi=
15426fi
15427rm -f conftest.$ac_objext conftest.$ac_ext
15428fi
15429rm -f conftest.$ac_objext conftest.$ac_ext
15430# Binary search between lo and hi bounds.
15431while test "x$ac_lo" != "x$ac_hi"; do
15432 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15433 cat >conftest.$ac_ext <<_ACEOF
15434#line $LINENO "configure"
15435/* confdefs.h. */
15436_ACEOF
15437cat confdefs.h >>conftest.$ac_ext
15438cat >>conftest.$ac_ext <<_ACEOF
15439/* end confdefs.h. */
15440$ac_includes_default
15441int
15442main ()
15443{
15444static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15445test_array [0] = 0
15446
15447 ;
15448 return 0;
15449}
15450_ACEOF
15451rm -f conftest.$ac_objext
15452if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15453 (eval $ac_compile) 2>&5
15454 ac_status=$?
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); } &&
15457 { ac_try='test -s conftest.$ac_objext'
15458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15459 (eval $ac_try) 2>&5
15460 ac_status=$?
15461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462 (exit $ac_status); }; }; then
15463 ac_hi=$ac_mid
15464else
15465 echo "$as_me: failed program was:" >&5
15466sed 's/^/| /' conftest.$ac_ext >&5
15467
15468ac_lo=`expr '(' $ac_mid ')' + 1`
15469fi
15470rm -f conftest.$ac_objext conftest.$ac_ext
15471done
15472case $ac_lo in
15473?*) ac_cv_sizeof_long=$ac_lo;;
15474'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15475See \`config.log' for more details." >&5
15476echo "$as_me: error: cannot compute sizeof (long), 77
15477See \`config.log' for more details." >&2;}
15478 { (exit 1); exit 1; }; } ;;
15479esac
15480else
15481 if test "$cross_compiling" = yes; then
15482 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15483See \`config.log' for more details." >&5
15484echo "$as_me: error: cannot run test program while cross compiling
15485See \`config.log' for more details." >&2;}
15486 { (exit 1); exit 1; }; }
15487else
15488 cat >conftest.$ac_ext <<_ACEOF
15489#line $LINENO "configure"
15490/* confdefs.h. */
15491_ACEOF
15492cat confdefs.h >>conftest.$ac_ext
15493cat >>conftest.$ac_ext <<_ACEOF
15494/* end confdefs.h. */
15495$ac_includes_default
15496long longval () { return (long) (sizeof (long)); }
15497unsigned long ulongval () { return (long) (sizeof (long)); }
15498#include <stdio.h>
15499#include <stdlib.h>
15500int
15501main ()
15502{
15503
15504 FILE *f = fopen ("conftest.val", "w");
15505 if (! f)
15506 exit (1);
15507 if (((long) (sizeof (long))) < 0)
15508 {
15509 long i = longval ();
15510 if (i != ((long) (sizeof (long))))
15511 exit (1);
15512 fprintf (f, "%ld\n", i);
15513 }
15514 else
15515 {
15516 unsigned long i = ulongval ();
15517 if (i != ((long) (sizeof (long))))
15518 exit (1);
15519 fprintf (f, "%lu\n", i);
15520 }
15521 exit (ferror (f) || fclose (f) != 0);
15522
15523 ;
15524 return 0;
15525}
15526_ACEOF
15527rm -f conftest$ac_exeext
15528if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15529 (eval $ac_link) 2>&5
15530 ac_status=$?
15531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15532 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15535 ac_status=$?
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; }; then
15538 ac_cv_sizeof_long=`cat conftest.val`
15539else
15540 echo "$as_me: program exited with status $ac_status" >&5
15541echo "$as_me: failed program was:" >&5
15542sed 's/^/| /' conftest.$ac_ext >&5
15543
15544( exit $ac_status )
15545{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15546See \`config.log' for more details." >&5
15547echo "$as_me: error: cannot compute sizeof (long), 77
15548See \`config.log' for more details." >&2;}
15549 { (exit 1); exit 1; }; }
15550fi
15551rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15552fi
15553fi
15554rm -f conftest.val
15555else
15556 ac_cv_sizeof_long=0
15557fi
15558fi
15559echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15560echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15561cat >>confdefs.h <<_ACEOF
15562#define SIZEOF_LONG $ac_cv_sizeof_long
15563_ACEOF
15564
15565
15566
15567case "${host}" in
15568 arm-*-linux* )
15569 echo "$as_me:$LINENO: checking for long long" >&5
15570echo $ECHO_N "checking for long long... $ECHO_C" >&6
15571if test "${ac_cv_type_long_long+set}" = set; then
15572 echo $ECHO_N "(cached) $ECHO_C" >&6
15573else
15574 cat >conftest.$ac_ext <<_ACEOF
15575#line $LINENO "configure"
15576/* confdefs.h. */
15577_ACEOF
15578cat confdefs.h >>conftest.$ac_ext
15579cat >>conftest.$ac_ext <<_ACEOF
15580/* end confdefs.h. */
15581$ac_includes_default
15582int
15583main ()
15584{
15585if ((long long *) 0)
15586 return 0;
15587if (sizeof (long long))
15588 return 0;
15589 ;
15590 return 0;
15591}
15592_ACEOF
15593rm -f conftest.$ac_objext
15594if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15595 (eval $ac_compile) 2>&5
15596 ac_status=$?
15597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15598 (exit $ac_status); } &&
15599 { ac_try='test -s conftest.$ac_objext'
15600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15601 (eval $ac_try) 2>&5
15602 ac_status=$?
15603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15604 (exit $ac_status); }; }; then
15605 ac_cv_type_long_long=yes
15606else
15607 echo "$as_me: failed program was:" >&5
15608sed 's/^/| /' conftest.$ac_ext >&5
15609
15610ac_cv_type_long_long=no
15611fi
15612rm -f conftest.$ac_objext conftest.$ac_ext
15613fi
15614echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15615echo "${ECHO_T}$ac_cv_type_long_long" >&6
15616
15617echo "$as_me:$LINENO: checking size of long long" >&5
15618echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15619if test "${ac_cv_sizeof_long_long+set}" = set; then
15620 echo $ECHO_N "(cached) $ECHO_C" >&6
15621else
15622 if test "$ac_cv_type_long_long" = yes; then
15623 # The cast to unsigned long works around a bug in the HP C Compiler
15624 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15625 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15626 # This bug is HP SR number 8606223364.
15627 if test "$cross_compiling" = yes; then
15628 # Depending upon the size, compute the lo and hi bounds.
15629cat >conftest.$ac_ext <<_ACEOF
15630#line $LINENO "configure"
15631/* confdefs.h. */
15632_ACEOF
15633cat confdefs.h >>conftest.$ac_ext
15634cat >>conftest.$ac_ext <<_ACEOF
15635/* end confdefs.h. */
15636$ac_includes_default
15637int
15638main ()
15639{
15640static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15641test_array [0] = 0
15642
15643 ;
15644 return 0;
15645}
15646_ACEOF
15647rm -f conftest.$ac_objext
15648if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15649 (eval $ac_compile) 2>&5
15650 ac_status=$?
15651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15652 (exit $ac_status); } &&
15653 { ac_try='test -s conftest.$ac_objext'
15654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15655 (eval $ac_try) 2>&5
15656 ac_status=$?
15657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15658 (exit $ac_status); }; }; then
15659 ac_lo=0 ac_mid=0
15660 while :; do
15661 cat >conftest.$ac_ext <<_ACEOF
15662#line $LINENO "configure"
15663/* confdefs.h. */
15664_ACEOF
15665cat confdefs.h >>conftest.$ac_ext
15666cat >>conftest.$ac_ext <<_ACEOF
15667/* end confdefs.h. */
15668$ac_includes_default
15669int
15670main ()
15671{
15672static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15673test_array [0] = 0
15674
15675 ;
15676 return 0;
15677}
15678_ACEOF
15679rm -f conftest.$ac_objext
15680if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15681 (eval $ac_compile) 2>&5
15682 ac_status=$?
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); } &&
15685 { ac_try='test -s conftest.$ac_objext'
15686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15687 (eval $ac_try) 2>&5
15688 ac_status=$?
15689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 (exit $ac_status); }; }; then
15691 ac_hi=$ac_mid; break
15692else
15693 echo "$as_me: failed program was:" >&5
15694sed 's/^/| /' conftest.$ac_ext >&5
15695
15696ac_lo=`expr $ac_mid + 1`
15697 if test $ac_lo -le $ac_mid; then
15698 ac_lo= ac_hi=
15699 break
15700 fi
15701 ac_mid=`expr 2 '*' $ac_mid + 1`
15702fi
15703rm -f conftest.$ac_objext conftest.$ac_ext
15704 done
15705else
15706 echo "$as_me: failed program was:" >&5
15707sed 's/^/| /' conftest.$ac_ext >&5
15708
15709cat >conftest.$ac_ext <<_ACEOF
15710#line $LINENO "configure"
15711/* confdefs.h. */
15712_ACEOF
15713cat confdefs.h >>conftest.$ac_ext
15714cat >>conftest.$ac_ext <<_ACEOF
15715/* end confdefs.h. */
15716$ac_includes_default
15717int
15718main ()
15719{
15720static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15721test_array [0] = 0
15722
15723 ;
15724 return 0;
15725}
15726_ACEOF
15727rm -f conftest.$ac_objext
15728if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15729 (eval $ac_compile) 2>&5
15730 ac_status=$?
15731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15732 (exit $ac_status); } &&
15733 { ac_try='test -s conftest.$ac_objext'
15734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15735 (eval $ac_try) 2>&5
15736 ac_status=$?
15737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15738 (exit $ac_status); }; }; then
15739 ac_hi=-1 ac_mid=-1
15740 while :; do
15741 cat >conftest.$ac_ext <<_ACEOF
15742#line $LINENO "configure"
15743/* confdefs.h. */
15744_ACEOF
15745cat confdefs.h >>conftest.$ac_ext
15746cat >>conftest.$ac_ext <<_ACEOF
15747/* end confdefs.h. */
15748$ac_includes_default
15749int
15750main ()
15751{
15752static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15753test_array [0] = 0
15754
15755 ;
15756 return 0;
15757}
15758_ACEOF
15759rm -f conftest.$ac_objext
15760if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15761 (eval $ac_compile) 2>&5
15762 ac_status=$?
15763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15764 (exit $ac_status); } &&
15765 { ac_try='test -s conftest.$ac_objext'
15766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15767 (eval $ac_try) 2>&5
15768 ac_status=$?
15769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15770 (exit $ac_status); }; }; then
15771 ac_lo=$ac_mid; break
15772else
15773 echo "$as_me: failed program was:" >&5
15774sed 's/^/| /' conftest.$ac_ext >&5
15775
15776ac_hi=`expr '(' $ac_mid ')' - 1`
15777 if test $ac_mid -le $ac_hi; then
15778 ac_lo= ac_hi=
15779 break
15780 fi
15781 ac_mid=`expr 2 '*' $ac_mid`
15782fi
15783rm -f conftest.$ac_objext conftest.$ac_ext
15784 done
15785else
15786 echo "$as_me: failed program was:" >&5
15787sed 's/^/| /' conftest.$ac_ext >&5
15788
15789ac_lo= ac_hi=
15790fi
15791rm -f conftest.$ac_objext conftest.$ac_ext
15792fi
15793rm -f conftest.$ac_objext conftest.$ac_ext
15794# Binary search between lo and hi bounds.
15795while test "x$ac_lo" != "x$ac_hi"; do
15796 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15797 cat >conftest.$ac_ext <<_ACEOF
15798#line $LINENO "configure"
15799/* confdefs.h. */
15800_ACEOF
15801cat confdefs.h >>conftest.$ac_ext
15802cat >>conftest.$ac_ext <<_ACEOF
15803/* end confdefs.h. */
15804$ac_includes_default
15805int
15806main ()
15807{
15808static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15809test_array [0] = 0
15810
15811 ;
15812 return 0;
15813}
15814_ACEOF
15815rm -f conftest.$ac_objext
15816if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15817 (eval $ac_compile) 2>&5
15818 ac_status=$?
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); } &&
15821 { ac_try='test -s conftest.$ac_objext'
15822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15823 (eval $ac_try) 2>&5
15824 ac_status=$?
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); }; }; then
15827 ac_hi=$ac_mid
15828else
15829 echo "$as_me: failed program was:" >&5
15830sed 's/^/| /' conftest.$ac_ext >&5
15831
15832ac_lo=`expr '(' $ac_mid ')' + 1`
15833fi
15834rm -f conftest.$ac_objext conftest.$ac_ext
15835done
15836case $ac_lo in
15837?*) ac_cv_sizeof_long_long=$ac_lo;;
15838'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15839See \`config.log' for more details." >&5
15840echo "$as_me: error: cannot compute sizeof (long long), 77
15841See \`config.log' for more details." >&2;}
15842 { (exit 1); exit 1; }; } ;;
15843esac
15844else
15845 if test "$cross_compiling" = yes; then
15846 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15847See \`config.log' for more details." >&5
15848echo "$as_me: error: cannot run test program while cross compiling
15849See \`config.log' for more details." >&2;}
15850 { (exit 1); exit 1; }; }
15851else
15852 cat >conftest.$ac_ext <<_ACEOF
15853#line $LINENO "configure"
15854/* confdefs.h. */
15855_ACEOF
15856cat confdefs.h >>conftest.$ac_ext
15857cat >>conftest.$ac_ext <<_ACEOF
15858/* end confdefs.h. */
15859$ac_includes_default
15860long longval () { return (long) (sizeof (long long)); }
15861unsigned long ulongval () { return (long) (sizeof (long long)); }
15862#include <stdio.h>
15863#include <stdlib.h>
15864int
15865main ()
15866{
15867
15868 FILE *f = fopen ("conftest.val", "w");
15869 if (! f)
15870 exit (1);
15871 if (((long) (sizeof (long long))) < 0)
15872 {
15873 long i = longval ();
15874 if (i != ((long) (sizeof (long long))))
15875 exit (1);
15876 fprintf (f, "%ld\n", i);
15877 }
15878 else
15879 {
15880 unsigned long i = ulongval ();
15881 if (i != ((long) (sizeof (long long))))
15882 exit (1);
15883 fprintf (f, "%lu\n", i);
15884 }
15885 exit (ferror (f) || fclose (f) != 0);
15886
15887 ;
15888 return 0;
15889}
15890_ACEOF
15891rm -f conftest$ac_exeext
15892if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15893 (eval $ac_link) 2>&5
15894 ac_status=$?
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15898 (eval $ac_try) 2>&5
15899 ac_status=$?
15900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15901 (exit $ac_status); }; }; then
15902 ac_cv_sizeof_long_long=`cat conftest.val`
15903else
15904 echo "$as_me: program exited with status $ac_status" >&5
15905echo "$as_me: failed program was:" >&5
15906sed 's/^/| /' conftest.$ac_ext >&5
15907
15908( exit $ac_status )
15909{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15910See \`config.log' for more details." >&5
15911echo "$as_me: error: cannot compute sizeof (long long), 77
15912See \`config.log' for more details." >&2;}
15913 { (exit 1); exit 1; }; }
15914fi
15915rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15916fi
15917fi
15918rm -f conftest.val
15919else
15920 ac_cv_sizeof_long_long=0
15921fi
15922fi
15923echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15924echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15925cat >>confdefs.h <<_ACEOF
15926#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15927_ACEOF
15928
15929
15930 ;;
15931 *-hp-hpux* )
15932 echo "$as_me:$LINENO: checking for long long" >&5
15933echo $ECHO_N "checking for long long... $ECHO_C" >&6
15934if test "${ac_cv_type_long_long+set}" = set; then
15935 echo $ECHO_N "(cached) $ECHO_C" >&6
15936else
15937 cat >conftest.$ac_ext <<_ACEOF
15938#line $LINENO "configure"
15939/* confdefs.h. */
15940_ACEOF
15941cat confdefs.h >>conftest.$ac_ext
15942cat >>conftest.$ac_ext <<_ACEOF
15943/* end confdefs.h. */
15944$ac_includes_default
15945int
15946main ()
15947{
15948if ((long long *) 0)
15949 return 0;
15950if (sizeof (long long))
15951 return 0;
15952 ;
15953 return 0;
15954}
15955_ACEOF
15956rm -f conftest.$ac_objext
15957if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15958 (eval $ac_compile) 2>&5
15959 ac_status=$?
15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961 (exit $ac_status); } &&
15962 { ac_try='test -s conftest.$ac_objext'
15963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15964 (eval $ac_try) 2>&5
15965 ac_status=$?
15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967 (exit $ac_status); }; }; then
15968 ac_cv_type_long_long=yes
15969else
15970 echo "$as_me: failed program was:" >&5
15971sed 's/^/| /' conftest.$ac_ext >&5
15972
15973ac_cv_type_long_long=no
15974fi
15975rm -f conftest.$ac_objext conftest.$ac_ext
15976fi
15977echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15978echo "${ECHO_T}$ac_cv_type_long_long" >&6
15979
15980echo "$as_me:$LINENO: checking size of long long" >&5
15981echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15982if test "${ac_cv_sizeof_long_long+set}" = set; then
15983 echo $ECHO_N "(cached) $ECHO_C" >&6
15984else
15985 if test "$ac_cv_type_long_long" = yes; then
15986 # The cast to unsigned long works around a bug in the HP C Compiler
15987 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15988 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15989 # This bug is HP SR number 8606223364.
15990 if test "$cross_compiling" = yes; then
15991 # Depending upon the size, compute the lo and hi bounds.
15992cat >conftest.$ac_ext <<_ACEOF
15993#line $LINENO "configure"
15994/* confdefs.h. */
15995_ACEOF
15996cat confdefs.h >>conftest.$ac_ext
15997cat >>conftest.$ac_ext <<_ACEOF
15998/* end confdefs.h. */
15999$ac_includes_default
16000int
16001main ()
16002{
16003static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16004test_array [0] = 0
16005
16006 ;
16007 return 0;
16008}
16009_ACEOF
16010rm -f conftest.$ac_objext
16011if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16012 (eval $ac_compile) 2>&5
16013 ac_status=$?
16014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16015 (exit $ac_status); } &&
16016 { ac_try='test -s conftest.$ac_objext'
16017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16018 (eval $ac_try) 2>&5
16019 ac_status=$?
16020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16021 (exit $ac_status); }; }; then
16022 ac_lo=0 ac_mid=0
16023 while :; do
16024 cat >conftest.$ac_ext <<_ACEOF
16025#line $LINENO "configure"
16026/* confdefs.h. */
16027_ACEOF
16028cat confdefs.h >>conftest.$ac_ext
16029cat >>conftest.$ac_ext <<_ACEOF
16030/* end confdefs.h. */
16031$ac_includes_default
16032int
16033main ()
16034{
16035static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16036test_array [0] = 0
16037
16038 ;
16039 return 0;
16040}
16041_ACEOF
16042rm -f conftest.$ac_objext
16043if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16044 (eval $ac_compile) 2>&5
16045 ac_status=$?
16046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047 (exit $ac_status); } &&
16048 { ac_try='test -s conftest.$ac_objext'
16049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16050 (eval $ac_try) 2>&5
16051 ac_status=$?
16052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053 (exit $ac_status); }; }; then
16054 ac_hi=$ac_mid; break
16055else
16056 echo "$as_me: failed program was:" >&5
16057sed 's/^/| /' conftest.$ac_ext >&5
16058
16059ac_lo=`expr $ac_mid + 1`
16060 if test $ac_lo -le $ac_mid; then
16061 ac_lo= ac_hi=
16062 break
16063 fi
16064 ac_mid=`expr 2 '*' $ac_mid + 1`
16065fi
16066rm -f conftest.$ac_objext conftest.$ac_ext
16067 done
16068else
16069 echo "$as_me: failed program was:" >&5
16070sed 's/^/| /' conftest.$ac_ext >&5
16071
16072cat >conftest.$ac_ext <<_ACEOF
16073#line $LINENO "configure"
16074/* confdefs.h. */
16075_ACEOF
16076cat confdefs.h >>conftest.$ac_ext
16077cat >>conftest.$ac_ext <<_ACEOF
16078/* end confdefs.h. */
16079$ac_includes_default
16080int
16081main ()
16082{
16083static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16084test_array [0] = 0
16085
16086 ;
16087 return 0;
16088}
16089_ACEOF
16090rm -f conftest.$ac_objext
16091if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16092 (eval $ac_compile) 2>&5
16093 ac_status=$?
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); } &&
16096 { ac_try='test -s conftest.$ac_objext'
16097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16098 (eval $ac_try) 2>&5
16099 ac_status=$?
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); }; }; then
16102 ac_hi=-1 ac_mid=-1
16103 while :; do
16104 cat >conftest.$ac_ext <<_ACEOF
16105#line $LINENO "configure"
16106/* confdefs.h. */
16107_ACEOF
16108cat confdefs.h >>conftest.$ac_ext
16109cat >>conftest.$ac_ext <<_ACEOF
16110/* end confdefs.h. */
16111$ac_includes_default
16112int
16113main ()
16114{
16115static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16116test_array [0] = 0
16117
16118 ;
16119 return 0;
16120}
16121_ACEOF
16122rm -f conftest.$ac_objext
16123if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16124 (eval $ac_compile) 2>&5
16125 ac_status=$?
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); } &&
16128 { ac_try='test -s conftest.$ac_objext'
16129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16130 (eval $ac_try) 2>&5
16131 ac_status=$?
16132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133 (exit $ac_status); }; }; then
16134 ac_lo=$ac_mid; break
16135else
16136 echo "$as_me: failed program was:" >&5
16137sed 's/^/| /' conftest.$ac_ext >&5
16138
16139ac_hi=`expr '(' $ac_mid ')' - 1`
16140 if test $ac_mid -le $ac_hi; then
16141 ac_lo= ac_hi=
16142 break
16143 fi
16144 ac_mid=`expr 2 '*' $ac_mid`
16145fi
16146rm -f conftest.$ac_objext conftest.$ac_ext
16147 done
16148else
16149 echo "$as_me: failed program was:" >&5
16150sed 's/^/| /' conftest.$ac_ext >&5
16151
16152ac_lo= ac_hi=
16153fi
16154rm -f conftest.$ac_objext conftest.$ac_ext
16155fi
16156rm -f conftest.$ac_objext conftest.$ac_ext
16157# Binary search between lo and hi bounds.
16158while test "x$ac_lo" != "x$ac_hi"; do
16159 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16160 cat >conftest.$ac_ext <<_ACEOF
16161#line $LINENO "configure"
16162/* confdefs.h. */
16163_ACEOF
16164cat confdefs.h >>conftest.$ac_ext
16165cat >>conftest.$ac_ext <<_ACEOF
16166/* end confdefs.h. */
16167$ac_includes_default
16168int
16169main ()
16170{
16171static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16172test_array [0] = 0
16173
16174 ;
16175 return 0;
16176}
16177_ACEOF
16178rm -f conftest.$ac_objext
16179if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16180 (eval $ac_compile) 2>&5
16181 ac_status=$?
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); } &&
16184 { ac_try='test -s conftest.$ac_objext'
16185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16186 (eval $ac_try) 2>&5
16187 ac_status=$?
16188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16189 (exit $ac_status); }; }; then
16190 ac_hi=$ac_mid
16191else
16192 echo "$as_me: failed program was:" >&5
16193sed 's/^/| /' conftest.$ac_ext >&5
16194
16195ac_lo=`expr '(' $ac_mid ')' + 1`
16196fi
16197rm -f conftest.$ac_objext conftest.$ac_ext
16198done
16199case $ac_lo in
16200?*) ac_cv_sizeof_long_long=$ac_lo;;
16201'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16202See \`config.log' for more details." >&5
16203echo "$as_me: error: cannot compute sizeof (long long), 77
16204See \`config.log' for more details." >&2;}
16205 { (exit 1); exit 1; }; } ;;
16206esac
16207else
16208 if test "$cross_compiling" = yes; then
16209 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16210See \`config.log' for more details." >&5
16211echo "$as_me: error: cannot run test program while cross compiling
16212See \`config.log' for more details." >&2;}
16213 { (exit 1); exit 1; }; }
16214else
16215 cat >conftest.$ac_ext <<_ACEOF
16216#line $LINENO "configure"
16217/* confdefs.h. */
16218_ACEOF
16219cat confdefs.h >>conftest.$ac_ext
16220cat >>conftest.$ac_ext <<_ACEOF
16221/* end confdefs.h. */
16222$ac_includes_default
16223long longval () { return (long) (sizeof (long long)); }
16224unsigned long ulongval () { return (long) (sizeof (long long)); }
16225#include <stdio.h>
16226#include <stdlib.h>
16227int
16228main ()
16229{
16230
16231 FILE *f = fopen ("conftest.val", "w");
16232 if (! f)
16233 exit (1);
16234 if (((long) (sizeof (long long))) < 0)
16235 {
16236 long i = longval ();
16237 if (i != ((long) (sizeof (long long))))
16238 exit (1);
16239 fprintf (f, "%ld\n", i);
16240 }
16241 else
16242 {
16243 unsigned long i = ulongval ();
16244 if (i != ((long) (sizeof (long long))))
16245 exit (1);
16246 fprintf (f, "%lu\n", i);
16247 }
16248 exit (ferror (f) || fclose (f) != 0);
16249
16250 ;
16251 return 0;
16252}
16253_ACEOF
16254rm -f conftest$ac_exeext
16255if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16256 (eval $ac_link) 2>&5
16257 ac_status=$?
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16261 (eval $ac_try) 2>&5
16262 ac_status=$?
16263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264 (exit $ac_status); }; }; then
16265 ac_cv_sizeof_long_long=`cat conftest.val`
16266else
16267 echo "$as_me: program exited with status $ac_status" >&5
16268echo "$as_me: failed program was:" >&5
16269sed 's/^/| /' conftest.$ac_ext >&5
16270
16271( exit $ac_status )
16272{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16273See \`config.log' for more details." >&5
16274echo "$as_me: error: cannot compute sizeof (long long), 77
16275See \`config.log' for more details." >&2;}
16276 { (exit 1); exit 1; }; }
16277fi
16278rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16279fi
16280fi
16281rm -f conftest.val
16282else
16283 ac_cv_sizeof_long_long=0
16284fi
16285fi
16286echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16287echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16288cat >>confdefs.h <<_ACEOF
16289#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16290_ACEOF
16291
16292
16293 if test "$ac_cv_sizeof_long_long" != "0"; then
16294 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16295 fi
16296 ;;
16297 * )
16298 echo "$as_me:$LINENO: checking for long long" >&5
16299echo $ECHO_N "checking for long long... $ECHO_C" >&6
16300if test "${ac_cv_type_long_long+set}" = set; then
16301 echo $ECHO_N "(cached) $ECHO_C" >&6
16302else
16303 cat >conftest.$ac_ext <<_ACEOF
16304#line $LINENO "configure"
16305/* confdefs.h. */
16306_ACEOF
16307cat confdefs.h >>conftest.$ac_ext
16308cat >>conftest.$ac_ext <<_ACEOF
16309/* end confdefs.h. */
16310$ac_includes_default
16311int
16312main ()
16313{
16314if ((long long *) 0)
16315 return 0;
16316if (sizeof (long long))
16317 return 0;
16318 ;
16319 return 0;
16320}
16321_ACEOF
16322rm -f conftest.$ac_objext
16323if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16324 (eval $ac_compile) 2>&5
16325 ac_status=$?
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); } &&
16328 { ac_try='test -s conftest.$ac_objext'
16329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16330 (eval $ac_try) 2>&5
16331 ac_status=$?
16332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16333 (exit $ac_status); }; }; then
16334 ac_cv_type_long_long=yes
16335else
16336 echo "$as_me: failed program was:" >&5
16337sed 's/^/| /' conftest.$ac_ext >&5
16338
16339ac_cv_type_long_long=no
16340fi
16341rm -f conftest.$ac_objext conftest.$ac_ext
16342fi
16343echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16344echo "${ECHO_T}$ac_cv_type_long_long" >&6
16345
16346echo "$as_me:$LINENO: checking size of long long" >&5
16347echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16348if test "${ac_cv_sizeof_long_long+set}" = set; then
16349 echo $ECHO_N "(cached) $ECHO_C" >&6
16350else
16351 if test "$ac_cv_type_long_long" = yes; then
16352 # The cast to unsigned long works around a bug in the HP C Compiler
16353 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16354 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16355 # This bug is HP SR number 8606223364.
16356 if test "$cross_compiling" = yes; then
16357 # Depending upon the size, compute the lo and hi bounds.
16358cat >conftest.$ac_ext <<_ACEOF
16359#line $LINENO "configure"
16360/* confdefs.h. */
16361_ACEOF
16362cat confdefs.h >>conftest.$ac_ext
16363cat >>conftest.$ac_ext <<_ACEOF
16364/* end confdefs.h. */
16365$ac_includes_default
16366int
16367main ()
16368{
16369static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16370test_array [0] = 0
16371
16372 ;
16373 return 0;
16374}
16375_ACEOF
16376rm -f conftest.$ac_objext
16377if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16378 (eval $ac_compile) 2>&5
16379 ac_status=$?
16380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381 (exit $ac_status); } &&
16382 { ac_try='test -s conftest.$ac_objext'
16383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16384 (eval $ac_try) 2>&5
16385 ac_status=$?
16386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16387 (exit $ac_status); }; }; then
16388 ac_lo=0 ac_mid=0
16389 while :; do
16390 cat >conftest.$ac_ext <<_ACEOF
16391#line $LINENO "configure"
16392/* confdefs.h. */
16393_ACEOF
16394cat confdefs.h >>conftest.$ac_ext
16395cat >>conftest.$ac_ext <<_ACEOF
16396/* end confdefs.h. */
16397$ac_includes_default
16398int
16399main ()
16400{
16401static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16402test_array [0] = 0
16403
16404 ;
16405 return 0;
16406}
16407_ACEOF
16408rm -f conftest.$ac_objext
16409if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16410 (eval $ac_compile) 2>&5
16411 ac_status=$?
16412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16413 (exit $ac_status); } &&
16414 { ac_try='test -s conftest.$ac_objext'
16415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16416 (eval $ac_try) 2>&5
16417 ac_status=$?
16418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16419 (exit $ac_status); }; }; then
16420 ac_hi=$ac_mid; break
16421else
16422 echo "$as_me: failed program was:" >&5
16423sed 's/^/| /' conftest.$ac_ext >&5
16424
16425ac_lo=`expr $ac_mid + 1`
16426 if test $ac_lo -le $ac_mid; then
16427 ac_lo= ac_hi=
16428 break
16429 fi
16430 ac_mid=`expr 2 '*' $ac_mid + 1`
16431fi
16432rm -f conftest.$ac_objext conftest.$ac_ext
16433 done
16434else
16435 echo "$as_me: failed program was:" >&5
16436sed 's/^/| /' conftest.$ac_ext >&5
16437
16438cat >conftest.$ac_ext <<_ACEOF
16439#line $LINENO "configure"
16440/* confdefs.h. */
16441_ACEOF
16442cat confdefs.h >>conftest.$ac_ext
16443cat >>conftest.$ac_ext <<_ACEOF
16444/* end confdefs.h. */
16445$ac_includes_default
16446int
16447main ()
16448{
16449static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16450test_array [0] = 0
16451
16452 ;
16453 return 0;
16454}
16455_ACEOF
16456rm -f conftest.$ac_objext
16457if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16458 (eval $ac_compile) 2>&5
16459 ac_status=$?
16460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461 (exit $ac_status); } &&
16462 { ac_try='test -s conftest.$ac_objext'
16463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16464 (eval $ac_try) 2>&5
16465 ac_status=$?
16466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 (exit $ac_status); }; }; then
16468 ac_hi=-1 ac_mid=-1
16469 while :; do
16470 cat >conftest.$ac_ext <<_ACEOF
16471#line $LINENO "configure"
16472/* confdefs.h. */
16473_ACEOF
16474cat confdefs.h >>conftest.$ac_ext
16475cat >>conftest.$ac_ext <<_ACEOF
16476/* end confdefs.h. */
16477$ac_includes_default
16478int
16479main ()
16480{
16481static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16482test_array [0] = 0
16483
16484 ;
16485 return 0;
16486}
16487_ACEOF
16488rm -f conftest.$ac_objext
16489if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16490 (eval $ac_compile) 2>&5
16491 ac_status=$?
16492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16493 (exit $ac_status); } &&
16494 { ac_try='test -s conftest.$ac_objext'
16495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16496 (eval $ac_try) 2>&5
16497 ac_status=$?
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); }; }; then
16500 ac_lo=$ac_mid; break
16501else
16502 echo "$as_me: failed program was:" >&5
16503sed 's/^/| /' conftest.$ac_ext >&5
16504
16505ac_hi=`expr '(' $ac_mid ')' - 1`
16506 if test $ac_mid -le $ac_hi; then
16507 ac_lo= ac_hi=
16508 break
16509 fi
16510 ac_mid=`expr 2 '*' $ac_mid`
16511fi
16512rm -f conftest.$ac_objext conftest.$ac_ext
16513 done
16514else
16515 echo "$as_me: failed program was:" >&5
16516sed 's/^/| /' conftest.$ac_ext >&5
16517
16518ac_lo= ac_hi=
16519fi
16520rm -f conftest.$ac_objext conftest.$ac_ext
16521fi
16522rm -f conftest.$ac_objext conftest.$ac_ext
16523# Binary search between lo and hi bounds.
16524while test "x$ac_lo" != "x$ac_hi"; do
16525 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16526 cat >conftest.$ac_ext <<_ACEOF
16527#line $LINENO "configure"
16528/* confdefs.h. */
16529_ACEOF
16530cat confdefs.h >>conftest.$ac_ext
16531cat >>conftest.$ac_ext <<_ACEOF
16532/* end confdefs.h. */
16533$ac_includes_default
16534int
16535main ()
16536{
16537static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16538test_array [0] = 0
16539
16540 ;
16541 return 0;
16542}
16543_ACEOF
16544rm -f conftest.$ac_objext
16545if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16546 (eval $ac_compile) 2>&5
16547 ac_status=$?
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); } &&
16550 { ac_try='test -s conftest.$ac_objext'
16551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16552 (eval $ac_try) 2>&5
16553 ac_status=$?
16554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555 (exit $ac_status); }; }; then
16556 ac_hi=$ac_mid
16557else
16558 echo "$as_me: failed program was:" >&5
16559sed 's/^/| /' conftest.$ac_ext >&5
16560
16561ac_lo=`expr '(' $ac_mid ')' + 1`
16562fi
16563rm -f conftest.$ac_objext conftest.$ac_ext
16564done
16565case $ac_lo in
16566?*) ac_cv_sizeof_long_long=$ac_lo;;
16567'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16568See \`config.log' for more details." >&5
16569echo "$as_me: error: cannot compute sizeof (long long), 77
16570See \`config.log' for more details." >&2;}
16571 { (exit 1); exit 1; }; } ;;
16572esac
16573else
16574 if test "$cross_compiling" = yes; then
16575 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16576See \`config.log' for more details." >&5
16577echo "$as_me: error: cannot run test program while cross compiling
16578See \`config.log' for more details." >&2;}
16579 { (exit 1); exit 1; }; }
16580else
16581 cat >conftest.$ac_ext <<_ACEOF
16582#line $LINENO "configure"
16583/* confdefs.h. */
16584_ACEOF
16585cat confdefs.h >>conftest.$ac_ext
16586cat >>conftest.$ac_ext <<_ACEOF
16587/* end confdefs.h. */
16588$ac_includes_default
16589long longval () { return (long) (sizeof (long long)); }
16590unsigned long ulongval () { return (long) (sizeof (long long)); }
16591#include <stdio.h>
16592#include <stdlib.h>
16593int
16594main ()
16595{
16596
16597 FILE *f = fopen ("conftest.val", "w");
16598 if (! f)
16599 exit (1);
16600 if (((long) (sizeof (long long))) < 0)
16601 {
16602 long i = longval ();
16603 if (i != ((long) (sizeof (long long))))
16604 exit (1);
16605 fprintf (f, "%ld\n", i);
16606 }
16607 else
16608 {
16609 unsigned long i = ulongval ();
16610 if (i != ((long) (sizeof (long long))))
16611 exit (1);
16612 fprintf (f, "%lu\n", i);
16613 }
16614 exit (ferror (f) || fclose (f) != 0);
16615
16616 ;
16617 return 0;
16618}
16619_ACEOF
16620rm -f conftest$ac_exeext
16621if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16622 (eval $ac_link) 2>&5
16623 ac_status=$?
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16627 (eval $ac_try) 2>&5
16628 ac_status=$?
16629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16630 (exit $ac_status); }; }; then
16631 ac_cv_sizeof_long_long=`cat conftest.val`
16632else
16633 echo "$as_me: program exited with status $ac_status" >&5
16634echo "$as_me: failed program was:" >&5
16635sed 's/^/| /' conftest.$ac_ext >&5
16636
16637( exit $ac_status )
16638{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16639See \`config.log' for more details." >&5
16640echo "$as_me: error: cannot compute sizeof (long long), 77
16641See \`config.log' for more details." >&2;}
16642 { (exit 1); exit 1; }; }
16643fi
16644rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16645fi
16646fi
16647rm -f conftest.val
16648else
16649 ac_cv_sizeof_long_long=0
16650fi
16651fi
16652echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16653echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16654cat >>confdefs.h <<_ACEOF
16655#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16656_ACEOF
16657
16658
16659esac
16660
16661echo "$as_me:$LINENO: checking size of wchar_t" >&5
16662echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16663if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16664 echo $ECHO_N "(cached) $ECHO_C" >&6
16665else
16666
16667 if test "$cross_compiling" = yes; then
16668
16669 case "${host}" in
16670 *-pc-msdosdjgpp )
16671 wx_cv_sizeof_wchar_t=0
16672 ;;
16673 * )
16674 wx_cv_sizeof_wchar_t=4
16675 ;;
16676 esac
16677
16678
16679else
16680 cat >conftest.$ac_ext <<_ACEOF
16681#line $LINENO "configure"
16682/* confdefs.h. */
16683_ACEOF
16684cat confdefs.h >>conftest.$ac_ext
16685cat >>conftest.$ac_ext <<_ACEOF
16686/* end confdefs.h. */
16687
16688 /* DJGPP only has fake wchar_t: */
16689 #ifdef __DJGPP__
16690 # error "fake wchar_t"
16691 #endif
16692 #ifdef HAVE_WCHAR_H
16693 # ifdef __CYGWIN__
16694 # include <stddef.h>
16695 # endif
16696 # include <wchar.h>
16697 #endif
16698 #ifdef HAVE_STDLIB_H
16699 # include <stdlib.h>
16700 #endif
16701 #include <stdio.h>
16702 int main()
16703 {
16704 FILE *f=fopen("conftestval", "w");
16705 if (!f) exit(1);
16706 fprintf(f, "%i", sizeof(wchar_t));
16707 exit(0);
16708 }
16709
16710_ACEOF
16711rm -f conftest$ac_exeext
16712if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16713 (eval $ac_link) 2>&5
16714 ac_status=$?
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16718 (eval $ac_try) 2>&5
16719 ac_status=$?
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721 (exit $ac_status); }; }; then
16722 wx_cv_sizeof_wchar_t=`cat conftestval`
16723else
16724 echo "$as_me: program exited with status $ac_status" >&5
16725echo "$as_me: failed program was:" >&5
16726sed 's/^/| /' conftest.$ac_ext >&5
16727
16728( exit $ac_status )
16729wx_cv_sizeof_wchar_t=0
16730fi
16731rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16732fi
16733
16734fi
16735echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16736echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16737
16738cat >>confdefs.h <<_ACEOF
16739#define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16740_ACEOF
16741
16742
16743# Check whether --enable-largefile or --disable-largefile was given.
16744if test "${enable_largefile+set}" = set; then
16745 enableval="$enable_largefile"
16746
16747fi;
16748if test "$enable_largefile" != no; then
16749 wx_largefile=no
16750
16751 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16752echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16753if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16754 echo $ECHO_N "(cached) $ECHO_C" >&6
16755else
16756
16757 cat >conftest.$ac_ext <<_ACEOF
16758#line $LINENO "configure"
16759/* confdefs.h. */
16760_ACEOF
16761cat confdefs.h >>conftest.$ac_ext
16762cat >>conftest.$ac_ext <<_ACEOF
16763/* end confdefs.h. */
16764#define _FILE_OFFSET_BITS 64
16765 #include <sys/types.h>
16766int
16767main ()
16768{
16769typedef struct {
16770 unsigned int field: sizeof(off_t) == 8;
16771} wxlf;
16772
16773 ;
16774 return 0;
16775}
16776_ACEOF
16777rm -f conftest.$ac_objext
16778if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16779 (eval $ac_compile) 2>&5
16780 ac_status=$?
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); } &&
16783 { ac_try='test -s conftest.$ac_objext'
16784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16785 (eval $ac_try) 2>&5
16786 ac_status=$?
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); }; }; then
16789 ac_cv_sys_file_offset_bits=64
16790else
16791 echo "$as_me: failed program was:" >&5
16792sed 's/^/| /' conftest.$ac_ext >&5
16793
16794ac_cv_sys_file_offset_bits=no
16795fi
16796rm -f conftest.$ac_objext conftest.$ac_ext
16797
16798
16799fi
16800echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16801echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16802
16803 if test "$ac_cv_sys_file_offset_bits" != no; then
16804 wx_largefile=yes
16805 cat >>confdefs.h <<_ACEOF
16806#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16807_ACEOF
16808
16809 fi
16810
16811 if test "x$wx_largefile" != "xyes"; then
16812
16813 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16814echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16815if test "${ac_cv_sys_large_files+set}" = set; then
16816 echo $ECHO_N "(cached) $ECHO_C" >&6
16817else
16818
16819 cat >conftest.$ac_ext <<_ACEOF
16820#line $LINENO "configure"
16821/* confdefs.h. */
16822_ACEOF
16823cat confdefs.h >>conftest.$ac_ext
16824cat >>conftest.$ac_ext <<_ACEOF
16825/* end confdefs.h. */
16826#define _LARGE_FILES 1
16827 #include <sys/types.h>
16828int
16829main ()
16830{
16831typedef struct {
16832 unsigned int field: sizeof(off_t) == 8;
16833} wxlf;
16834
16835 ;
16836 return 0;
16837}
16838_ACEOF
16839rm -f conftest.$ac_objext
16840if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16841 (eval $ac_compile) 2>&5
16842 ac_status=$?
16843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 (exit $ac_status); } &&
16845 { ac_try='test -s conftest.$ac_objext'
16846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16847 (eval $ac_try) 2>&5
16848 ac_status=$?
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); }; }; then
16851 ac_cv_sys_large_files=1
16852else
16853 echo "$as_me: failed program was:" >&5
16854sed 's/^/| /' conftest.$ac_ext >&5
16855
16856ac_cv_sys_large_files=no
16857fi
16858rm -f conftest.$ac_objext conftest.$ac_ext
16859
16860
16861fi
16862echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16863echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16864
16865 if test "$ac_cv_sys_large_files" != no; then
16866 wx_largefile=yes
16867 cat >>confdefs.h <<_ACEOF
16868#define _LARGE_FILES $ac_cv_sys_large_files
16869_ACEOF
16870
16871 fi
16872
16873 fi
16874
16875 echo "$as_me:$LINENO: checking if large file support is available" >&5
16876echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16877 if test "x$wx_largefile" = "xyes"; then
16878 cat >>confdefs.h <<\_ACEOF
16879#define HAVE_LARGEFILE_SUPPORT 1
16880_ACEOF
16881
16882 fi
16883 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16884echo "${ECHO_T}$wx_largefile" >&6
16885fi
16886
16887
16888if test "x$wx_largefile" = "xyes"; then
16889 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16890 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16891 else
16892 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16893 fi
16894 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16895fi
16896
16897echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16898echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16899if test "${ac_cv_c_bigendian+set}" = set; then
16900 echo $ECHO_N "(cached) $ECHO_C" >&6
16901else
16902 ac_cv_c_bigendian=unknown
16903# See if sys/param.h defines the BYTE_ORDER macro.
16904cat >conftest.$ac_ext <<_ACEOF
16905#line $LINENO "configure"
16906/* confdefs.h. */
16907_ACEOF
16908cat confdefs.h >>conftest.$ac_ext
16909cat >>conftest.$ac_ext <<_ACEOF
16910/* end confdefs.h. */
16911#include <sys/types.h>
16912#include <sys/param.h>
16913int
16914main ()
16915{
16916
16917#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16918 bogus endian macros
16919#endif
16920 ;
16921 return 0;
16922}
16923_ACEOF
16924rm -f conftest.$ac_objext
16925if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16926 (eval $ac_compile) 2>&5
16927 ac_status=$?
16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929 (exit $ac_status); } &&
16930 { ac_try='test -s conftest.$ac_objext'
16931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16932 (eval $ac_try) 2>&5
16933 ac_status=$?
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); }; }; then
16936 # It does; now see whether it defined to BIG_ENDIAN or not.
16937cat >conftest.$ac_ext <<_ACEOF
16938#line $LINENO "configure"
16939/* confdefs.h. */
16940_ACEOF
16941cat confdefs.h >>conftest.$ac_ext
16942cat >>conftest.$ac_ext <<_ACEOF
16943/* end confdefs.h. */
16944#include <sys/types.h>
16945#include <sys/param.h>
16946int
16947main ()
16948{
16949
16950#if BYTE_ORDER != BIG_ENDIAN
16951 not big endian
16952#endif
16953 ;
16954 return 0;
16955}
16956_ACEOF
16957rm -f conftest.$ac_objext
16958if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16959 (eval $ac_compile) 2>&5
16960 ac_status=$?
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); } &&
16963 { ac_try='test -s conftest.$ac_objext'
16964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16965 (eval $ac_try) 2>&5
16966 ac_status=$?
16967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16968 (exit $ac_status); }; }; then
16969 ac_cv_c_bigendian=yes
16970else
16971 echo "$as_me: failed program was:" >&5
16972sed 's/^/| /' conftest.$ac_ext >&5
16973
16974ac_cv_c_bigendian=no
16975fi
16976rm -f conftest.$ac_objext conftest.$ac_ext
16977else
16978 echo "$as_me: failed program was:" >&5
16979sed 's/^/| /' conftest.$ac_ext >&5
16980
16981fi
16982rm -f conftest.$ac_objext conftest.$ac_ext
16983if test $ac_cv_c_bigendian = unknown; then
16984if test "$cross_compiling" = yes; then
16985 ac_cv_c_bigendian=unknown
16986else
16987 cat >conftest.$ac_ext <<_ACEOF
16988#line $LINENO "configure"
16989/* confdefs.h. */
16990_ACEOF
16991cat confdefs.h >>conftest.$ac_ext
16992cat >>conftest.$ac_ext <<_ACEOF
16993/* end confdefs.h. */
16994main () {
16995 /* Are we little or big endian? From Harbison&Steele. */
16996 union
16997 {
16998 long l;
16999 char c[sizeof (long)];
17000 } u;
17001 u.l = 1;
17002 exit (u.c[sizeof (long) - 1] == 1);
17003}
17004_ACEOF
17005rm -f conftest$ac_exeext
17006if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17007 (eval $ac_link) 2>&5
17008 ac_status=$?
17009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17010 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17012 (eval $ac_try) 2>&5
17013 ac_status=$?
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); }; }; then
17016 ac_cv_c_bigendian=no
17017else
17018 echo "$as_me: program exited with status $ac_status" >&5
17019echo "$as_me: failed program was:" >&5
17020sed 's/^/| /' conftest.$ac_ext >&5
17021
17022( exit $ac_status )
17023ac_cv_c_bigendian=yes
17024fi
17025rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17026fi
17027fi
17028fi
17029echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17030echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17031if test $ac_cv_c_bigendian = unknown; then
17032 { 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
17033echo "$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;}
17034fi
17035if test $ac_cv_c_bigendian = yes; then
17036 cat >>confdefs.h <<\_ACEOF
17037#define WORDS_BIGENDIAN 1
17038_ACEOF
17039
17040fi
17041
17042
17043
17044ac_ext=cc
17045ac_cpp='$CXXCPP $CPPFLAGS'
17046ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17047ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17048ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17049echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17050echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17051if test -z "$CXXCPP"; then
17052 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17053 echo $ECHO_N "(cached) $ECHO_C" >&6
17054else
17055 # Double quotes because CXXCPP needs to be expanded
17056 for CXXCPP in "$CXX -E" "/lib/cpp"
17057 do
17058 ac_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 break
17153fi
17154
17155 done
17156 ac_cv_prog_CXXCPP=$CXXCPP
17157
17158fi
17159 CXXCPP=$ac_cv_prog_CXXCPP
17160else
17161 ac_cv_prog_CXXCPP=$CXXCPP
17162fi
17163echo "$as_me:$LINENO: result: $CXXCPP" >&5
17164echo "${ECHO_T}$CXXCPP" >&6
17165ac_preproc_ok=false
17166for ac_cxx_preproc_warn_flag in '' yes
17167do
17168 # Use a header file that comes with gcc, so configuring glibc
17169 # with a fresh cross-compiler works.
17170 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17171 # <limits.h> exists even on freestanding compilers.
17172 # On the NeXT, cc -E runs the code through the compiler's parser,
17173 # not just through cpp. "Syntax error" is here to catch this case.
17174 cat >conftest.$ac_ext <<_ACEOF
17175#line $LINENO "configure"
17176/* confdefs.h. */
17177_ACEOF
17178cat confdefs.h >>conftest.$ac_ext
17179cat >>conftest.$ac_ext <<_ACEOF
17180/* end confdefs.h. */
17181#ifdef __STDC__
17182# include <limits.h>
17183#else
17184# include <assert.h>
17185#endif
17186 Syntax error
17187_ACEOF
17188if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17189 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17190 ac_status=$?
17191 grep -v '^ *+' conftest.er1 >conftest.err
17192 rm -f conftest.er1
17193 cat conftest.err >&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); } >/dev/null; then
17196 if test -s conftest.err; then
17197 ac_cpp_err=$ac_cxx_preproc_warn_flag
17198 else
17199 ac_cpp_err=
17200 fi
17201else
17202 ac_cpp_err=yes
17203fi
17204if test -z "$ac_cpp_err"; then
17205 :
17206else
17207 echo "$as_me: failed program was:" >&5
17208sed 's/^/| /' conftest.$ac_ext >&5
17209
17210 # Broken: fails on valid input.
17211continue
17212fi
17213rm -f conftest.err conftest.$ac_ext
17214
17215 # OK, works on sane cases. Now check whether non-existent headers
17216 # can be detected and how.
17217 cat >conftest.$ac_ext <<_ACEOF
17218#line $LINENO "configure"
17219/* confdefs.h. */
17220_ACEOF
17221cat confdefs.h >>conftest.$ac_ext
17222cat >>conftest.$ac_ext <<_ACEOF
17223/* end confdefs.h. */
17224#include <ac_nonexistent.h>
17225_ACEOF
17226if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17227 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17228 ac_status=$?
17229 grep -v '^ *+' conftest.er1 >conftest.err
17230 rm -f conftest.er1
17231 cat conftest.err >&5
17232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17233 (exit $ac_status); } >/dev/null; then
17234 if test -s conftest.err; then
17235 ac_cpp_err=$ac_cxx_preproc_warn_flag
17236 else
17237 ac_cpp_err=
17238 fi
17239else
17240 ac_cpp_err=yes
17241fi
17242if test -z "$ac_cpp_err"; then
17243 # Broken: success on invalid input.
17244continue
17245else
17246 echo "$as_me: failed program was:" >&5
17247sed 's/^/| /' conftest.$ac_ext >&5
17248
17249 # Passes both tests.
17250ac_preproc_ok=:
17251break
17252fi
17253rm -f conftest.err conftest.$ac_ext
17254
17255done
17256# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17257rm -f conftest.err conftest.$ac_ext
17258if $ac_preproc_ok; then
17259 :
17260else
17261 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17262See \`config.log' for more details." >&5
17263echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17264See \`config.log' for more details." >&2;}
17265 { (exit 1); exit 1; }; }
17266fi
17267
17268ac_ext=cc
17269ac_cpp='$CXXCPP $CPPFLAGS'
17270ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17271ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17272ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17273
17274
17275
17276 if test "$cross_compiling" = "yes"; then
17277 cat >>confdefs.h <<\_ACEOF
17278#define wxUSE_IOSTREAMH 1
17279_ACEOF
17280
17281 else
17282
17283
17284 ac_ext=cc
17285ac_cpp='$CXXCPP $CPPFLAGS'
17286ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17287ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17288ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17289
17290
17291
17292for ac_header in iostream
17293do
17294as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17295if eval "test \"\${$as_ac_Header+set}\" = set"; then
17296 echo "$as_me:$LINENO: checking for $ac_header" >&5
17297echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17298if eval "test \"\${$as_ac_Header+set}\" = set"; then
17299 echo $ECHO_N "(cached) $ECHO_C" >&6
17300fi
17301echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17302echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17303else
17304 # Is the header compilable?
17305echo "$as_me:$LINENO: checking $ac_header usability" >&5
17306echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17307cat >conftest.$ac_ext <<_ACEOF
17308#line $LINENO "configure"
17309/* confdefs.h. */
17310_ACEOF
17311cat confdefs.h >>conftest.$ac_ext
17312cat >>conftest.$ac_ext <<_ACEOF
17313/* end confdefs.h. */
17314$ac_includes_default
17315#include <$ac_header>
17316_ACEOF
17317rm -f conftest.$ac_objext
17318if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17319 (eval $ac_compile) 2>&5
17320 ac_status=$?
17321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17322 (exit $ac_status); } &&
17323 { ac_try='test -s conftest.$ac_objext'
17324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17325 (eval $ac_try) 2>&5
17326 ac_status=$?
17327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17328 (exit $ac_status); }; }; then
17329 ac_header_compiler=yes
17330else
17331 echo "$as_me: failed program was:" >&5
17332sed 's/^/| /' conftest.$ac_ext >&5
17333
17334ac_header_compiler=no
17335fi
17336rm -f conftest.$ac_objext conftest.$ac_ext
17337echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17338echo "${ECHO_T}$ac_header_compiler" >&6
17339
17340# Is the header present?
17341echo "$as_me:$LINENO: checking $ac_header presence" >&5
17342echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17343cat >conftest.$ac_ext <<_ACEOF
17344#line $LINENO "configure"
17345/* confdefs.h. */
17346_ACEOF
17347cat confdefs.h >>conftest.$ac_ext
17348cat >>conftest.$ac_ext <<_ACEOF
17349/* end confdefs.h. */
17350#include <$ac_header>
17351_ACEOF
17352if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17353 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17354 ac_status=$?
17355 grep -v '^ *+' conftest.er1 >conftest.err
17356 rm -f conftest.er1
17357 cat conftest.err >&5
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); } >/dev/null; then
17360 if test -s conftest.err; then
17361 ac_cpp_err=$ac_cxx_preproc_warn_flag
17362 else
17363 ac_cpp_err=
17364 fi
17365else
17366 ac_cpp_err=yes
17367fi
17368if test -z "$ac_cpp_err"; then
17369 ac_header_preproc=yes
17370else
17371 echo "$as_me: failed program was:" >&5
17372sed 's/^/| /' conftest.$ac_ext >&5
17373
17374 ac_header_preproc=no
17375fi
17376rm -f conftest.err conftest.$ac_ext
17377echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17378echo "${ECHO_T}$ac_header_preproc" >&6
17379
17380# So? What about this header?
17381case $ac_header_compiler:$ac_header_preproc in
17382 yes:no )
17383 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17384echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17385 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17386echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17387 (
17388 cat <<\_ASBOX
17389## ------------------------------------ ##
17390## Report this to bug-autoconf@gnu.org. ##
17391## ------------------------------------ ##
17392_ASBOX
17393 ) |
17394 sed "s/^/$as_me: WARNING: /" >&2
17395 ;;
17396 no:yes )
17397 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17398echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17399 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17400echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17401 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17402echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17403 (
17404 cat <<\_ASBOX
17405## ------------------------------------ ##
17406## Report this to bug-autoconf@gnu.org. ##
17407## ------------------------------------ ##
17408_ASBOX
17409 ) |
17410 sed "s/^/$as_me: WARNING: /" >&2
17411 ;;
17412esac
17413echo "$as_me:$LINENO: checking for $ac_header" >&5
17414echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17415if eval "test \"\${$as_ac_Header+set}\" = set"; then
17416 echo $ECHO_N "(cached) $ECHO_C" >&6
17417else
17418 eval "$as_ac_Header=$ac_header_preproc"
17419fi
17420echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17421echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17422
17423fi
17424if test `eval echo '${'$as_ac_Header'}'` = yes; then
17425 cat >>confdefs.h <<_ACEOF
17426#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17427_ACEOF
17428
17429fi
17430
17431done
17432
17433
17434 if test "$ac_cv_header_iostream" = "yes" ; then
17435 :
17436 else
17437 cat >>confdefs.h <<\_ACEOF
17438#define wxUSE_IOSTREAMH 1
17439_ACEOF
17440
17441 fi
17442
17443 ac_ext=c
17444ac_cpp='$CPP $CPPFLAGS'
17445ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17446ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17447ac_compiler_gnu=$ac_cv_c_compiler_gnu
17448
17449 fi
17450
17451
17452
17453 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17454echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17455if test "${wx_cv_cpp_bool+set}" = set; then
17456 echo $ECHO_N "(cached) $ECHO_C" >&6
17457else
17458
17459
17460
17461 ac_ext=cc
17462ac_cpp='$CXXCPP $CPPFLAGS'
17463ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17464ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17465ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17466
17467
17468 cat >conftest.$ac_ext <<_ACEOF
17469#line $LINENO "configure"
17470/* confdefs.h. */
17471_ACEOF
17472cat confdefs.h >>conftest.$ac_ext
17473cat >>conftest.$ac_ext <<_ACEOF
17474/* end confdefs.h. */
17475
17476
17477int
17478main ()
17479{
17480
17481 bool b = true;
17482
17483 return 0;
17484
17485 ;
17486 return 0;
17487}
17488_ACEOF
17489rm -f conftest.$ac_objext
17490if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17491 (eval $ac_compile) 2>&5
17492 ac_status=$?
17493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17494 (exit $ac_status); } &&
17495 { ac_try='test -s conftest.$ac_objext'
17496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17497 (eval $ac_try) 2>&5
17498 ac_status=$?
17499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17500 (exit $ac_status); }; }; then
17501
17502 wx_cv_cpp_bool=yes
17503
17504else
17505 echo "$as_me: failed program was:" >&5
17506sed 's/^/| /' conftest.$ac_ext >&5
17507
17508
17509 wx_cv_cpp_bool=no
17510
17511
17512fi
17513rm -f conftest.$ac_objext conftest.$ac_ext
17514
17515 ac_ext=c
17516ac_cpp='$CPP $CPPFLAGS'
17517ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17518ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17519ac_compiler_gnu=$ac_cv_c_compiler_gnu
17520
17521
17522fi
17523echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17524echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17525
17526 if test "$wx_cv_cpp_bool" = "yes"; then
17527 cat >>confdefs.h <<\_ACEOF
17528#define HAVE_BOOL 1
17529_ACEOF
17530
17531 fi
17532
17533
17534
17535 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17536echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17537if test "${wx_cv_explicit+set}" = set; then
17538 echo $ECHO_N "(cached) $ECHO_C" >&6
17539else
17540
17541
17542
17543 ac_ext=cc
17544ac_cpp='$CXXCPP $CPPFLAGS'
17545ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17546ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17547ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17548
17549
17550 cat >conftest.$ac_ext <<_ACEOF
17551#line $LINENO "configure"
17552/* confdefs.h. */
17553_ACEOF
17554cat confdefs.h >>conftest.$ac_ext
17555cat >>conftest.$ac_ext <<_ACEOF
17556/* end confdefs.h. */
17557
17558 class Foo { public: explicit Foo(int) {} };
17559
17560int
17561main ()
17562{
17563
17564 return 0;
17565
17566 ;
17567 return 0;
17568}
17569_ACEOF
17570rm -f conftest.$ac_objext
17571if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17572 (eval $ac_compile) 2>&5
17573 ac_status=$?
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); } &&
17576 { ac_try='test -s conftest.$ac_objext'
17577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17578 (eval $ac_try) 2>&5
17579 ac_status=$?
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); }; }; then
17582
17583 cat >conftest.$ac_ext <<_ACEOF
17584#line $LINENO "configure"
17585/* confdefs.h. */
17586_ACEOF
17587cat confdefs.h >>conftest.$ac_ext
17588cat >>conftest.$ac_ext <<_ACEOF
17589/* end confdefs.h. */
17590
17591 class Foo { public: explicit Foo(int) {} };
17592 static void TakeFoo(const Foo& foo) { }
17593
17594int
17595main ()
17596{
17597
17598 TakeFoo(17);
17599 return 0;
17600
17601 ;
17602 return 0;
17603}
17604_ACEOF
17605rm -f conftest.$ac_objext
17606if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17607 (eval $ac_compile) 2>&5
17608 ac_status=$?
17609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17610 (exit $ac_status); } &&
17611 { ac_try='test -s conftest.$ac_objext'
17612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17613 (eval $ac_try) 2>&5
17614 ac_status=$?
17615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616 (exit $ac_status); }; }; then
17617 wx_cv_explicit=no
17618else
17619 echo "$as_me: failed program was:" >&5
17620sed 's/^/| /' conftest.$ac_ext >&5
17621
17622wx_cv_explicit=yes
17623
17624fi
17625rm -f conftest.$ac_objext conftest.$ac_ext
17626
17627else
17628 echo "$as_me: failed program was:" >&5
17629sed 's/^/| /' conftest.$ac_ext >&5
17630
17631wx_cv_explicit=no
17632
17633fi
17634rm -f conftest.$ac_objext conftest.$ac_ext
17635
17636 ac_ext=c
17637ac_cpp='$CPP $CPPFLAGS'
17638ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17639ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17640ac_compiler_gnu=$ac_cv_c_compiler_gnu
17641
17642
17643fi
17644echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17645echo "${ECHO_T}$wx_cv_explicit" >&6
17646
17647 if test "$wx_cv_explicit" = "yes"; then
17648 cat >>confdefs.h <<\_ACEOF
17649#define HAVE_EXPLICIT 1
17650_ACEOF
17651
17652 fi
17653
17654
17655echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17656echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17657if test "${ac_cv_cxx_const_cast+set}" = set; then
17658 echo $ECHO_N "(cached) $ECHO_C" >&6
17659else
17660
17661
17662 ac_ext=cc
17663ac_cpp='$CXXCPP $CPPFLAGS'
17664ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17665ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17666ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17667
17668 cat >conftest.$ac_ext <<_ACEOF
17669#line $LINENO "configure"
17670/* confdefs.h. */
17671_ACEOF
17672cat confdefs.h >>conftest.$ac_ext
17673cat >>conftest.$ac_ext <<_ACEOF
17674/* end confdefs.h. */
17675
17676int
17677main ()
17678{
17679int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17680 ;
17681 return 0;
17682}
17683_ACEOF
17684rm -f conftest.$ac_objext
17685if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17686 (eval $ac_compile) 2>&5
17687 ac_status=$?
17688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17689 (exit $ac_status); } &&
17690 { ac_try='test -s conftest.$ac_objext'
17691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17692 (eval $ac_try) 2>&5
17693 ac_status=$?
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); }; }; then
17696 ac_cv_cxx_const_cast=yes
17697else
17698 echo "$as_me: failed program was:" >&5
17699sed 's/^/| /' conftest.$ac_ext >&5
17700
17701ac_cv_cxx_const_cast=no
17702fi
17703rm -f conftest.$ac_objext conftest.$ac_ext
17704 ac_ext=c
17705ac_cpp='$CPP $CPPFLAGS'
17706ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17707ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17708ac_compiler_gnu=$ac_cv_c_compiler_gnu
17709
17710
17711fi
17712echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17713echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17714if test "$ac_cv_cxx_const_cast" = yes; then
17715
17716cat >>confdefs.h <<\_ACEOF
17717#define HAVE_CONST_CAST
17718_ACEOF
17719
17720fi
17721
17722
17723if test "$wxUSE_STL" = "yes"; then
17724 ac_ext=cc
17725ac_cpp='$CXXCPP $CPPFLAGS'
17726ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17727ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17728ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17729
17730
17731 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17732echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17733 cat >conftest.$ac_ext <<_ACEOF
17734#line $LINENO "configure"
17735/* confdefs.h. */
17736_ACEOF
17737cat confdefs.h >>conftest.$ac_ext
17738cat >>conftest.$ac_ext <<_ACEOF
17739/* end confdefs.h. */
17740#include <string>
17741 #include <functional>
17742 #include <algorithm>
17743 #include <vector>
17744 #include <list>
17745int
17746main ()
17747{
17748std::vector<int> moo;
17749 std::list<int> foo;
17750 std::vector<int>::iterator it =
17751 std::find_if(moo.begin(), moo.end(),
17752 std::bind2nd(std::less<int>(), 3));
17753 ;
17754 return 0;
17755}
17756_ACEOF
17757rm -f conftest.$ac_objext
17758if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17759 (eval $ac_compile) 2>&5
17760 ac_status=$?
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); } &&
17763 { ac_try='test -s conftest.$ac_objext'
17764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17765 (eval $ac_try) 2>&5
17766 ac_status=$?
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); }; }; then
17769 echo "$as_me:$LINENO: result: yes" >&5
17770echo "${ECHO_T}yes" >&6
17771else
17772 echo "$as_me: failed program was:" >&5
17773sed 's/^/| /' conftest.$ac_ext >&5
17774
17775echo "$as_me:$LINENO: result: no" >&5
17776echo "${ECHO_T}no" >&6
17777 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17778echo "$as_me: error: Basic STL functionality missing" >&2;}
17779 { (exit 1); exit 1; }; }
17780fi
17781rm -f conftest.$ac_objext conftest.$ac_ext
17782
17783 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17784echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17785 cat >conftest.$ac_ext <<_ACEOF
17786#line $LINENO "configure"
17787/* confdefs.h. */
17788_ACEOF
17789cat confdefs.h >>conftest.$ac_ext
17790cat >>conftest.$ac_ext <<_ACEOF
17791/* end confdefs.h. */
17792#include <string>
17793int
17794main ()
17795{
17796std::wstring foo;
17797 ;
17798 return 0;
17799}
17800_ACEOF
17801rm -f conftest.$ac_objext
17802if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17803 (eval $ac_compile) 2>&5
17804 ac_status=$?
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); } &&
17807 { ac_try='test -s conftest.$ac_objext'
17808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17809 (eval $ac_try) 2>&5
17810 ac_status=$?
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); }; }; then
17813 echo "$as_me:$LINENO: result: yes" >&5
17814echo "${ECHO_T}yes" >&6
17815 cat >>confdefs.h <<\_ACEOF
17816#define HAVE_STD_WSTRING 1
17817_ACEOF
17818
17819else
17820 echo "$as_me: failed program was:" >&5
17821sed 's/^/| /' conftest.$ac_ext >&5
17822
17823echo "$as_me:$LINENO: result: no" >&5
17824echo "${ECHO_T}no" >&6
17825fi
17826rm -f conftest.$ac_objext conftest.$ac_ext
17827
17828 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17829echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17830 cat >conftest.$ac_ext <<_ACEOF
17831#line $LINENO "configure"
17832/* confdefs.h. */
17833_ACEOF
17834cat confdefs.h >>conftest.$ac_ext
17835cat >>conftest.$ac_ext <<_ACEOF
17836/* end confdefs.h. */
17837#include <string>
17838int
17839main ()
17840{
17841std::string foo, bar;
17842 foo.compare(bar);
17843 foo.compare(1, 1, bar);
17844 foo.compare(1, 1, bar, 1, 1);
17845 foo.compare("");
17846 foo.compare(1, 1, "");
17847 foo.compare(1, 1, "", 2);
17848 ;
17849 return 0;
17850}
17851_ACEOF
17852rm -f conftest.$ac_objext
17853if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17854 (eval $ac_compile) 2>&5
17855 ac_status=$?
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); } &&
17858 { ac_try='test -s conftest.$ac_objext'
17859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17860 (eval $ac_try) 2>&5
17861 ac_status=$?
17862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863 (exit $ac_status); }; }; then
17864 echo "$as_me:$LINENO: result: yes" >&5
17865echo "${ECHO_T}yes" >&6
17866 cat >>confdefs.h <<\_ACEOF
17867#define HAVE_STD_STRING_COMPARE 1
17868_ACEOF
17869
17870else
17871 echo "$as_me: failed program was:" >&5
17872sed 's/^/| /' conftest.$ac_ext >&5
17873
17874echo "$as_me:$LINENO: result: no" >&5
17875echo "${ECHO_T}no" >&6
17876fi
17877rm -f conftest.$ac_objext conftest.$ac_ext
17878
17879 ac_ext=c
17880ac_cpp='$CPP $CPPFLAGS'
17881ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17882ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17883ac_compiler_gnu=$ac_cv_c_compiler_gnu
17884
17885fi
17886
17887
17888SEARCH_INCLUDE="\
17889 /usr/local/include \
17890 \
17891 /usr/Motif-1.2/include \
17892 /usr/Motif-2.1/include \
17893 \
17894 /usr/include/Motif1.2 \
17895 /opt/xpm/include/X11 \
17896 /opt/GBxpm/include/ \
17897 /opt/GBxpm/X11/include/ \
17898 \
17899 /usr/Motif1.2/include \
17900 /usr/dt/include \
17901 /usr/openwin/include \
17902 \
17903 /usr/include/Xm \
17904 \
17905 /usr/X11R6/include \
17906 /usr/X11R6.4/include \
17907 /usr/X11R5/include \
17908 /usr/X11R4/include \
17909 \
17910 /usr/include/X11R6 \
17911 /usr/include/X11R5 \
17912 /usr/include/X11R4 \
17913 \
17914 /usr/local/X11R6/include \
17915 /usr/local/X11R5/include \
17916 /usr/local/X11R4/include \
17917 \
17918 /usr/local/include/X11R6 \
17919 /usr/local/include/X11R5 \
17920 /usr/local/include/X11R4 \
17921 \
17922 /usr/X11/include \
17923 /usr/include/X11 \
17924 /usr/local/X11/include \
17925 /usr/local/include/X11 \
17926 \
17927 /usr/X386/include \
17928 /usr/x386/include \
17929 /usr/XFree86/include/X11 \
17930 \
17931 X:/XFree86/include \
17932 X:/XFree86/include/X11 \
17933 \
17934 /usr/include/gtk \
17935 /usr/local/include/gtk \
17936 /usr/include/glib \
17937 /usr/local/include/glib \
17938 \
17939 /usr/include/qt \
17940 /usr/local/include/qt \
17941 \
17942 /usr/include/windows \
17943 /usr/include/wine \
17944 /usr/local/include/wine \
17945 \
17946 /usr/unsupported/include \
17947 /usr/athena/include \
17948 /usr/local/x11r5/include \
17949 /usr/lpp/Xamples/include \
17950 \
17951 /usr/openwin/share/include"
17952
17953SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17954
17955
17956cat >confcache <<\_ACEOF
17957# This file is a shell script that caches the results of configure
17958# tests run on this system so they can be shared between configure
17959# scripts and configure runs, see configure's option --config-cache.
17960# It is not useful on other systems. If it contains results you don't
17961# want to keep, you may remove or edit it.
17962#
17963# config.status only pays attention to the cache file if you give it
17964# the --recheck option to rerun configure.
17965#
17966# `ac_cv_env_foo' variables (set or unset) will be overridden when
17967# loading this file, other *unset* `ac_cv_foo' will be assigned the
17968# following values.
17969
17970_ACEOF
17971
17972# The following way of writing the cache mishandles newlines in values,
17973# but we know of no workaround that is simple, portable, and efficient.
17974# So, don't put newlines in cache variables' values.
17975# Ultrix sh set writes to stderr and can't be redirected directly,
17976# and sets the high bit in the cache file unless we assign to the vars.
17977{
17978 (set) 2>&1 |
17979 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17980 *ac_space=\ *)
17981 # `set' does not quote correctly, so add quotes (double-quote
17982 # substitution turns \\\\ into \\, and sed turns \\ into \).
17983 sed -n \
17984 "s/'/'\\\\''/g;
17985 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17986 ;;
17987 *)
17988 # `set' quotes correctly as required by POSIX, so do not add quotes.
17989 sed -n \
17990 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17991 ;;
17992 esac;
17993} |
17994 sed '
17995 t clear
17996 : clear
17997 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17998 t end
17999 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18000 : end' >>confcache
18001if diff $cache_file confcache >/dev/null 2>&1; then :; else
18002 if test -w $cache_file; then
18003 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18004 cat confcache >$cache_file
18005 else
18006 echo "not updating unwritable cache $cache_file"
18007 fi
18008fi
18009rm -f confcache
18010
18011if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18012 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18013echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18014if test "${wx_cv_lib_glibc21+set}" = set; then
18015 echo $ECHO_N "(cached) $ECHO_C" >&6
18016else
18017
18018 cat >conftest.$ac_ext <<_ACEOF
18019#line $LINENO "configure"
18020/* confdefs.h. */
18021_ACEOF
18022cat confdefs.h >>conftest.$ac_ext
18023cat >>conftest.$ac_ext <<_ACEOF
18024/* end confdefs.h. */
18025#include <features.h>
18026int
18027main ()
18028{
18029
18030 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18031 #error not glibc2.1
18032 #endif
18033
18034 ;
18035 return 0;
18036}
18037_ACEOF
18038rm -f conftest.$ac_objext
18039if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18040 (eval $ac_compile) 2>&5
18041 ac_status=$?
18042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18043 (exit $ac_status); } &&
18044 { ac_try='test -s conftest.$ac_objext'
18045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18046 (eval $ac_try) 2>&5
18047 ac_status=$?
18048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18049 (exit $ac_status); }; }; then
18050
18051 wx_cv_lib_glibc21=yes
18052
18053else
18054 echo "$as_me: failed program was:" >&5
18055sed 's/^/| /' conftest.$ac_ext >&5
18056
18057
18058 wx_cv_lib_glibc21=no
18059
18060
18061fi
18062rm -f conftest.$ac_objext conftest.$ac_ext
18063
18064fi
18065echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18066echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18067 if test "$wx_cv_lib_glibc21" = "yes"; then
18068 cat >>confdefs.h <<\_ACEOF
18069#define wxHAVE_GLIBC2 1
18070_ACEOF
18071
18072 fi
18073fi
18074
18075if test "x$wx_cv_lib_glibc21" = "xyes"; then
18076 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18077 cat >>confdefs.h <<\_ACEOF
18078#define _GNU_SOURCE 1
18079_ACEOF
18080
18081 fi
18082fi
18083
18084
18085
18086REGEX_INCLUDE=
18087if test "$wxUSE_REGEX" != "no"; then
18088 cat >>confdefs.h <<\_ACEOF
18089#define wxUSE_REGEX 1
18090_ACEOF
18091
18092
18093 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18094 if test "${ac_cv_header_regex_h+set}" = set; then
18095 echo "$as_me:$LINENO: checking for regex.h" >&5
18096echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18097if test "${ac_cv_header_regex_h+set}" = set; then
18098 echo $ECHO_N "(cached) $ECHO_C" >&6
18099fi
18100echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18101echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18102else
18103 # Is the header compilable?
18104echo "$as_me:$LINENO: checking regex.h usability" >&5
18105echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18106cat >conftest.$ac_ext <<_ACEOF
18107#line $LINENO "configure"
18108/* confdefs.h. */
18109_ACEOF
18110cat confdefs.h >>conftest.$ac_ext
18111cat >>conftest.$ac_ext <<_ACEOF
18112/* end confdefs.h. */
18113$ac_includes_default
18114#include <regex.h>
18115_ACEOF
18116rm -f conftest.$ac_objext
18117if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18118 (eval $ac_compile) 2>&5
18119 ac_status=$?
18120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18121 (exit $ac_status); } &&
18122 { ac_try='test -s conftest.$ac_objext'
18123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18124 (eval $ac_try) 2>&5
18125 ac_status=$?
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); }; }; then
18128 ac_header_compiler=yes
18129else
18130 echo "$as_me: failed program was:" >&5
18131sed 's/^/| /' conftest.$ac_ext >&5
18132
18133ac_header_compiler=no
18134fi
18135rm -f conftest.$ac_objext conftest.$ac_ext
18136echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18137echo "${ECHO_T}$ac_header_compiler" >&6
18138
18139# Is the header present?
18140echo "$as_me:$LINENO: checking regex.h presence" >&5
18141echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18142cat >conftest.$ac_ext <<_ACEOF
18143#line $LINENO "configure"
18144/* confdefs.h. */
18145_ACEOF
18146cat confdefs.h >>conftest.$ac_ext
18147cat >>conftest.$ac_ext <<_ACEOF
18148/* end confdefs.h. */
18149#include <regex.h>
18150_ACEOF
18151if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18152 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18153 ac_status=$?
18154 grep -v '^ *+' conftest.er1 >conftest.err
18155 rm -f conftest.er1
18156 cat conftest.err >&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } >/dev/null; then
18159 if test -s conftest.err; then
18160 ac_cpp_err=$ac_c_preproc_warn_flag
18161 else
18162 ac_cpp_err=
18163 fi
18164else
18165 ac_cpp_err=yes
18166fi
18167if test -z "$ac_cpp_err"; then
18168 ac_header_preproc=yes
18169else
18170 echo "$as_me: failed program was:" >&5
18171sed 's/^/| /' conftest.$ac_ext >&5
18172
18173 ac_header_preproc=no
18174fi
18175rm -f conftest.err conftest.$ac_ext
18176echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18177echo "${ECHO_T}$ac_header_preproc" >&6
18178
18179# So? What about this header?
18180case $ac_header_compiler:$ac_header_preproc in
18181 yes:no )
18182 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18183echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18184 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18185echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18186 (
18187 cat <<\_ASBOX
18188## ------------------------------------ ##
18189## Report this to bug-autoconf@gnu.org. ##
18190## ------------------------------------ ##
18191_ASBOX
18192 ) |
18193 sed "s/^/$as_me: WARNING: /" >&2
18194 ;;
18195 no:yes )
18196 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18197echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18198 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18199echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18200 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18201echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18202 (
18203 cat <<\_ASBOX
18204## ------------------------------------ ##
18205## Report this to bug-autoconf@gnu.org. ##
18206## ------------------------------------ ##
18207_ASBOX
18208 ) |
18209 sed "s/^/$as_me: WARNING: /" >&2
18210 ;;
18211esac
18212echo "$as_me:$LINENO: checking for regex.h" >&5
18213echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18214if test "${ac_cv_header_regex_h+set}" = set; then
18215 echo $ECHO_N "(cached) $ECHO_C" >&6
18216else
18217 ac_cv_header_regex_h=$ac_header_preproc
18218fi
18219echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18220echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18221
18222fi
18223if test $ac_cv_header_regex_h = yes; then
18224
18225for ac_func in regcomp
18226do
18227as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18228echo "$as_me:$LINENO: checking for $ac_func" >&5
18229echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18230if eval "test \"\${$as_ac_var+set}\" = set"; then
18231 echo $ECHO_N "(cached) $ECHO_C" >&6
18232else
18233 cat >conftest.$ac_ext <<_ACEOF
18234#line $LINENO "configure"
18235/* confdefs.h. */
18236_ACEOF
18237cat confdefs.h >>conftest.$ac_ext
18238cat >>conftest.$ac_ext <<_ACEOF
18239/* end confdefs.h. */
18240/* System header to define __stub macros and hopefully few prototypes,
18241 which can conflict with char $ac_func (); below.
18242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18243 <limits.h> exists even on freestanding compilers. */
18244#ifdef __STDC__
18245# include <limits.h>
18246#else
18247# include <assert.h>
18248#endif
18249/* Override any gcc2 internal prototype to avoid an error. */
18250#ifdef __cplusplus
18251extern "C"
18252{
18253#endif
18254/* We use char because int might match the return type of a gcc2
18255 builtin and then its argument prototype would still apply. */
18256char $ac_func ();
18257/* The GNU C library defines this for functions which it implements
18258 to always fail with ENOSYS. Some functions are actually named
18259 something starting with __ and the normal name is an alias. */
18260#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18261choke me
18262#else
18263char (*f) () = $ac_func;
18264#endif
18265#ifdef __cplusplus
18266}
18267#endif
18268
18269int
18270main ()
18271{
18272return f != $ac_func;
18273 ;
18274 return 0;
18275}
18276_ACEOF
18277rm -f conftest.$ac_objext conftest$ac_exeext
18278if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18279 (eval $ac_link) 2>&5
18280 ac_status=$?
18281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18282 (exit $ac_status); } &&
18283 { ac_try='test -s conftest$ac_exeext'
18284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18285 (eval $ac_try) 2>&5
18286 ac_status=$?
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); }; }; then
18289 eval "$as_ac_var=yes"
18290else
18291 echo "$as_me: failed program was:" >&5
18292sed 's/^/| /' conftest.$ac_ext >&5
18293
18294eval "$as_ac_var=no"
18295fi
18296rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18297fi
18298echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18299echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18300if test `eval echo '${'$as_ac_var'}'` = yes; then
18301 cat >>confdefs.h <<_ACEOF
18302#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18303_ACEOF
18304
18305fi
18306done
18307
18308fi
18309
18310
18311
18312 if test "x$ac_cv_func_regcomp" != "xyes"; then
18313 if test "$wxUSE_REGEX" = "sys" ; then
18314 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18315echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18316 { (exit 1); exit 1; }; }
18317 else
18318 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18319echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18320 wxUSE_REGEX=builtin
18321 fi
18322 else
18323 wxUSE_REGEX=sys
18324 fi
18325 fi
18326
18327 if test "$wxUSE_REGEX" = "builtin" ; then
18328 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18329 fi
18330fi
18331
18332
18333ZLIB_INCLUDE=
18334ZLIB_LINK=
18335if test "$wxUSE_ZLIB" != "no" ; then
18336 cat >>confdefs.h <<\_ACEOF
18337#define wxUSE_ZLIB 1
18338_ACEOF
18339
18340
18341 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18342 if test "$USE_DARWIN" = 1; then
18343 system_zlib_h_ok="yes"
18344 else
18345 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18346echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18347if test "${ac_cv_header_zlib_h+set}" = set; then
18348 echo $ECHO_N "(cached) $ECHO_C" >&6
18349else
18350 if test "$cross_compiling" = yes; then
18351 unset ac_cv_header_zlib_h
18352
18353else
18354 cat >conftest.$ac_ext <<_ACEOF
18355#line $LINENO "configure"
18356/* confdefs.h. */
18357_ACEOF
18358cat confdefs.h >>conftest.$ac_ext
18359cat >>conftest.$ac_ext <<_ACEOF
18360/* end confdefs.h. */
18361
18362 #include <zlib.h>
18363 #include <stdio.h>
18364
18365 int main()
18366 {
18367 FILE *f=fopen("conftestval", "w");
18368 if (!f) exit(1);
18369 fprintf(f, "%s",
18370 ZLIB_VERSION[0] == '1' &&
18371 (ZLIB_VERSION[2] > '1' ||
18372 (ZLIB_VERSION[2] == '1' &&
18373 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18374 exit(0);
18375 }
18376
18377_ACEOF
18378rm -f conftest$ac_exeext
18379if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18380 (eval $ac_link) 2>&5
18381 ac_status=$?
18382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18385 (eval $ac_try) 2>&5
18386 ac_status=$?
18387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18388 (exit $ac_status); }; }; then
18389 ac_cv_header_zlib_h=`cat conftestval`
18390else
18391 echo "$as_me: program exited with status $ac_status" >&5
18392echo "$as_me: failed program was:" >&5
18393sed 's/^/| /' conftest.$ac_ext >&5
18394
18395( exit $ac_status )
18396ac_cv_header_zlib_h=no
18397fi
18398rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18399fi
18400
18401fi
18402echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18403echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18404 if test "${ac_cv_header_zlib_h+set}" = set; then
18405 echo "$as_me:$LINENO: checking for zlib.h" >&5
18406echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18407if test "${ac_cv_header_zlib_h+set}" = set; then
18408 echo $ECHO_N "(cached) $ECHO_C" >&6
18409fi
18410echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18411echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18412else
18413 # Is the header compilable?
18414echo "$as_me:$LINENO: checking zlib.h usability" >&5
18415echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18416cat >conftest.$ac_ext <<_ACEOF
18417#line $LINENO "configure"
18418/* confdefs.h. */
18419_ACEOF
18420cat confdefs.h >>conftest.$ac_ext
18421cat >>conftest.$ac_ext <<_ACEOF
18422/* end confdefs.h. */
18423$ac_includes_default
18424#include <zlib.h>
18425_ACEOF
18426rm -f conftest.$ac_objext
18427if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18428 (eval $ac_compile) 2>&5
18429 ac_status=$?
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); } &&
18432 { ac_try='test -s conftest.$ac_objext'
18433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18434 (eval $ac_try) 2>&5
18435 ac_status=$?
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); }; }; then
18438 ac_header_compiler=yes
18439else
18440 echo "$as_me: failed program was:" >&5
18441sed 's/^/| /' conftest.$ac_ext >&5
18442
18443ac_header_compiler=no
18444fi
18445rm -f conftest.$ac_objext conftest.$ac_ext
18446echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18447echo "${ECHO_T}$ac_header_compiler" >&6
18448
18449# Is the header present?
18450echo "$as_me:$LINENO: checking zlib.h presence" >&5
18451echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18452cat >conftest.$ac_ext <<_ACEOF
18453#line $LINENO "configure"
18454/* confdefs.h. */
18455_ACEOF
18456cat confdefs.h >>conftest.$ac_ext
18457cat >>conftest.$ac_ext <<_ACEOF
18458/* end confdefs.h. */
18459#include <zlib.h>
18460_ACEOF
18461if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18462 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18463 ac_status=$?
18464 grep -v '^ *+' conftest.er1 >conftest.err
18465 rm -f conftest.er1
18466 cat conftest.err >&5
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); } >/dev/null; then
18469 if test -s conftest.err; then
18470 ac_cpp_err=$ac_c_preproc_warn_flag
18471 else
18472 ac_cpp_err=
18473 fi
18474else
18475 ac_cpp_err=yes
18476fi
18477if test -z "$ac_cpp_err"; then
18478 ac_header_preproc=yes
18479else
18480 echo "$as_me: failed program was:" >&5
18481sed 's/^/| /' conftest.$ac_ext >&5
18482
18483 ac_header_preproc=no
18484fi
18485rm -f conftest.err conftest.$ac_ext
18486echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18487echo "${ECHO_T}$ac_header_preproc" >&6
18488
18489# So? What about this header?
18490case $ac_header_compiler:$ac_header_preproc in
18491 yes:no )
18492 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18493echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18494 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18495echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18496 (
18497 cat <<\_ASBOX
18498## ------------------------------------ ##
18499## Report this to bug-autoconf@gnu.org. ##
18500## ------------------------------------ ##
18501_ASBOX
18502 ) |
18503 sed "s/^/$as_me: WARNING: /" >&2
18504 ;;
18505 no:yes )
18506 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18507echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18508 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18509echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18510 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18511echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18512 (
18513 cat <<\_ASBOX
18514## ------------------------------------ ##
18515## Report this to bug-autoconf@gnu.org. ##
18516## ------------------------------------ ##
18517_ASBOX
18518 ) |
18519 sed "s/^/$as_me: WARNING: /" >&2
18520 ;;
18521esac
18522echo "$as_me:$LINENO: checking for zlib.h" >&5
18523echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18524if test "${ac_cv_header_zlib_h+set}" = set; then
18525 echo $ECHO_N "(cached) $ECHO_C" >&6
18526else
18527 ac_cv_header_zlib_h=$ac_header_preproc
18528fi
18529echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18530echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18531
18532fi
18533
18534
18535
18536 system_zlib_h_ok=$ac_cv_header_zlib_h
18537 fi
18538
18539 if test "$system_zlib_h_ok" = "yes"; then
18540 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18541echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18542if test "${ac_cv_lib_z_deflate+set}" = set; then
18543 echo $ECHO_N "(cached) $ECHO_C" >&6
18544else
18545 ac_check_lib_save_LIBS=$LIBS
18546LIBS="-lz $LIBS"
18547cat >conftest.$ac_ext <<_ACEOF
18548#line $LINENO "configure"
18549/* confdefs.h. */
18550_ACEOF
18551cat confdefs.h >>conftest.$ac_ext
18552cat >>conftest.$ac_ext <<_ACEOF
18553/* end confdefs.h. */
18554
18555/* Override any gcc2 internal prototype to avoid an error. */
18556#ifdef __cplusplus
18557extern "C"
18558#endif
18559/* We use char because int might match the return type of a gcc2
18560 builtin and then its argument prototype would still apply. */
18561char deflate ();
18562int
18563main ()
18564{
18565deflate ();
18566 ;
18567 return 0;
18568}
18569_ACEOF
18570rm -f conftest.$ac_objext conftest$ac_exeext
18571if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18572 (eval $ac_link) 2>&5
18573 ac_status=$?
18574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); } &&
18576 { ac_try='test -s conftest$ac_exeext'
18577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18578 (eval $ac_try) 2>&5
18579 ac_status=$?
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); }; }; then
18582 ac_cv_lib_z_deflate=yes
18583else
18584 echo "$as_me: failed program was:" >&5
18585sed 's/^/| /' conftest.$ac_ext >&5
18586
18587ac_cv_lib_z_deflate=no
18588fi
18589rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18590LIBS=$ac_check_lib_save_LIBS
18591fi
18592echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18593echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18594if test $ac_cv_lib_z_deflate = yes; then
18595 ZLIB_LINK=" -lz"
18596fi
18597
18598 fi
18599
18600 if test "x$ZLIB_LINK" = "x" ; then
18601 if test "$wxUSE_ZLIB" = "sys" ; then
18602 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18603echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18604 { (exit 1); exit 1; }; }
18605 else
18606 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18607echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18608 wxUSE_ZLIB=builtin
18609 fi
18610 else
18611 wxUSE_ZLIB=sys
18612 fi
18613 fi
18614
18615 if test "$wxUSE_ZLIB" = "builtin" ; then
18616 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18617 fi
18618fi
18619
18620
18621PNG_INCLUDE=
18622PNG_LINK=
18623if test "$wxUSE_LIBPNG" != "no" ; then
18624 cat >>confdefs.h <<\_ACEOF
18625#define wxUSE_LIBPNG 1
18626_ACEOF
18627
18628
18629 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18630 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18631echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18632 wxUSE_LIBPNG=sys
18633 fi
18634
18635 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18636 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18637echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18638 wxUSE_LIBPNG=builtin
18639 fi
18640
18641 if test "$wxUSE_MGL" != 1 ; then
18642 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18643 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18644echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18645if test "${ac_cv_header_png_h+set}" = set; then
18646 echo $ECHO_N "(cached) $ECHO_C" >&6
18647else
18648 if test "$cross_compiling" = yes; then
18649 unset ac_cv_header_png_h
18650
18651else
18652 cat >conftest.$ac_ext <<_ACEOF
18653#line $LINENO "configure"
18654/* confdefs.h. */
18655_ACEOF
18656cat confdefs.h >>conftest.$ac_ext
18657cat >>conftest.$ac_ext <<_ACEOF
18658/* end confdefs.h. */
18659
18660 #include <png.h>
18661 #include <stdio.h>
18662
18663 int main()
18664 {
18665 FILE *f=fopen("conftestval", "w");
18666 if (!f) exit(1);
18667 fprintf(f, "%s",
18668 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18669 exit(0);
18670 }
18671
18672_ACEOF
18673rm -f conftest$ac_exeext
18674if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18675 (eval $ac_link) 2>&5
18676 ac_status=$?
18677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18678 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18680 (eval $ac_try) 2>&5
18681 ac_status=$?
18682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18683 (exit $ac_status); }; }; then
18684 ac_cv_header_png_h=`cat conftestval`
18685else
18686 echo "$as_me: program exited with status $ac_status" >&5
18687echo "$as_me: failed program was:" >&5
18688sed 's/^/| /' conftest.$ac_ext >&5
18689
18690( exit $ac_status )
18691ac_cv_header_png_h=no
18692fi
18693rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18694fi
18695
18696fi
18697echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18698echo "${ECHO_T}$ac_cv_header_png_h" >&6
18699 if test "${ac_cv_header_png_h+set}" = set; then
18700 echo "$as_me:$LINENO: checking for png.h" >&5
18701echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18702if test "${ac_cv_header_png_h+set}" = set; then
18703 echo $ECHO_N "(cached) $ECHO_C" >&6
18704fi
18705echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18706echo "${ECHO_T}$ac_cv_header_png_h" >&6
18707else
18708 # Is the header compilable?
18709echo "$as_me:$LINENO: checking png.h usability" >&5
18710echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18711cat >conftest.$ac_ext <<_ACEOF
18712#line $LINENO "configure"
18713/* confdefs.h. */
18714_ACEOF
18715cat confdefs.h >>conftest.$ac_ext
18716cat >>conftest.$ac_ext <<_ACEOF
18717/* end confdefs.h. */
18718$ac_includes_default
18719#include <png.h>
18720_ACEOF
18721rm -f conftest.$ac_objext
18722if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18723 (eval $ac_compile) 2>&5
18724 ac_status=$?
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); } &&
18727 { ac_try='test -s conftest.$ac_objext'
18728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729 (eval $ac_try) 2>&5
18730 ac_status=$?
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); }; }; then
18733 ac_header_compiler=yes
18734else
18735 echo "$as_me: failed program was:" >&5
18736sed 's/^/| /' conftest.$ac_ext >&5
18737
18738ac_header_compiler=no
18739fi
18740rm -f conftest.$ac_objext conftest.$ac_ext
18741echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18742echo "${ECHO_T}$ac_header_compiler" >&6
18743
18744# Is the header present?
18745echo "$as_me:$LINENO: checking png.h presence" >&5
18746echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18747cat >conftest.$ac_ext <<_ACEOF
18748#line $LINENO "configure"
18749/* confdefs.h. */
18750_ACEOF
18751cat confdefs.h >>conftest.$ac_ext
18752cat >>conftest.$ac_ext <<_ACEOF
18753/* end confdefs.h. */
18754#include <png.h>
18755_ACEOF
18756if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18757 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18758 ac_status=$?
18759 grep -v '^ *+' conftest.er1 >conftest.err
18760 rm -f conftest.er1
18761 cat conftest.err >&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); } >/dev/null; then
18764 if test -s conftest.err; then
18765 ac_cpp_err=$ac_c_preproc_warn_flag
18766 else
18767 ac_cpp_err=
18768 fi
18769else
18770 ac_cpp_err=yes
18771fi
18772if test -z "$ac_cpp_err"; then
18773 ac_header_preproc=yes
18774else
18775 echo "$as_me: failed program was:" >&5
18776sed 's/^/| /' conftest.$ac_ext >&5
18777
18778 ac_header_preproc=no
18779fi
18780rm -f conftest.err conftest.$ac_ext
18781echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18782echo "${ECHO_T}$ac_header_preproc" >&6
18783
18784# So? What about this header?
18785case $ac_header_compiler:$ac_header_preproc in
18786 yes:no )
18787 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18788echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18789 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18790echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18791 (
18792 cat <<\_ASBOX
18793## ------------------------------------ ##
18794## Report this to bug-autoconf@gnu.org. ##
18795## ------------------------------------ ##
18796_ASBOX
18797 ) |
18798 sed "s/^/$as_me: WARNING: /" >&2
18799 ;;
18800 no:yes )
18801 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18802echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18803 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18804echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18805 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18806echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18807 (
18808 cat <<\_ASBOX
18809## ------------------------------------ ##
18810## Report this to bug-autoconf@gnu.org. ##
18811## ------------------------------------ ##
18812_ASBOX
18813 ) |
18814 sed "s/^/$as_me: WARNING: /" >&2
18815 ;;
18816esac
18817echo "$as_me:$LINENO: checking for png.h" >&5
18818echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18819if test "${ac_cv_header_png_h+set}" = set; then
18820 echo $ECHO_N "(cached) $ECHO_C" >&6
18821else
18822 ac_cv_header_png_h=$ac_header_preproc
18823fi
18824echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18825echo "${ECHO_T}$ac_cv_header_png_h" >&6
18826
18827fi
18828
18829
18830
18831 if test "$ac_cv_header_png_h" = "yes"; then
18832 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18833echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18834if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18835 echo $ECHO_N "(cached) $ECHO_C" >&6
18836else
18837 ac_check_lib_save_LIBS=$LIBS
18838LIBS="-lpng -lz -lm $LIBS"
18839cat >conftest.$ac_ext <<_ACEOF
18840#line $LINENO "configure"
18841/* confdefs.h. */
18842_ACEOF
18843cat confdefs.h >>conftest.$ac_ext
18844cat >>conftest.$ac_ext <<_ACEOF
18845/* end confdefs.h. */
18846
18847/* Override any gcc2 internal prototype to avoid an error. */
18848#ifdef __cplusplus
18849extern "C"
18850#endif
18851/* We use char because int might match the return type of a gcc2
18852 builtin and then its argument prototype would still apply. */
18853char png_check_sig ();
18854int
18855main ()
18856{
18857png_check_sig ();
18858 ;
18859 return 0;
18860}
18861_ACEOF
18862rm -f conftest.$ac_objext conftest$ac_exeext
18863if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18864 (eval $ac_link) 2>&5
18865 ac_status=$?
18866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18867 (exit $ac_status); } &&
18868 { ac_try='test -s conftest$ac_exeext'
18869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18870 (eval $ac_try) 2>&5
18871 ac_status=$?
18872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18873 (exit $ac_status); }; }; then
18874 ac_cv_lib_png_png_check_sig=yes
18875else
18876 echo "$as_me: failed program was:" >&5
18877sed 's/^/| /' conftest.$ac_ext >&5
18878
18879ac_cv_lib_png_png_check_sig=no
18880fi
18881rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18882LIBS=$ac_check_lib_save_LIBS
18883fi
18884echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18885echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18886if test $ac_cv_lib_png_png_check_sig = yes; then
18887 PNG_LINK=" -lpng"
18888fi
18889
18890 fi
18891
18892 if test "x$PNG_LINK" = "x" ; then
18893 if test "$wxUSE_LIBPNG" = "sys" ; then
18894 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18895echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18896 { (exit 1); exit 1; }; }
18897 else
18898 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18899echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18900 wxUSE_LIBPNG=builtin
18901 fi
18902 else
18903 wxUSE_LIBPNG=sys
18904 fi
18905 fi
18906 fi
18907
18908 if test "$wxUSE_LIBPNG" = "builtin" ; then
18909 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18910 fi
18911
18912 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18913fi
18914
18915
18916JPEG_INCLUDE=
18917JPEG_LINK=
18918if test "$wxUSE_LIBJPEG" != "no" ; then
18919 cat >>confdefs.h <<\_ACEOF
18920#define wxUSE_LIBJPEG 1
18921_ACEOF
18922
18923
18924 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18925 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18926echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18927 wxUSE_LIBJPEG=sys
18928 fi
18929
18930 if test "$wxUSE_MGL" != 1 ; then
18931 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18932 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18933echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18934 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18935 echo $ECHO_N "(cached) $ECHO_C" >&6
18936else
18937 cat >conftest.$ac_ext <<_ACEOF
18938#line $LINENO "configure"
18939/* confdefs.h. */
18940_ACEOF
18941cat confdefs.h >>conftest.$ac_ext
18942cat >>conftest.$ac_ext <<_ACEOF
18943/* end confdefs.h. */
18944
18945 #undef HAVE_STDLIB_H
18946 #include <stdio.h>
18947 #include <jpeglib.h>
18948
18949int
18950main ()
18951{
18952
18953
18954 ;
18955 return 0;
18956}
18957_ACEOF
18958rm -f conftest.$ac_objext
18959if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18960 (eval $ac_compile) 2>&5
18961 ac_status=$?
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); } &&
18964 { ac_try='test -s conftest.$ac_objext'
18965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18966 (eval $ac_try) 2>&5
18967 ac_status=$?
18968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18969 (exit $ac_status); }; }; then
18970 ac_cv_header_jpeglib_h=yes
18971else
18972 echo "$as_me: failed program was:" >&5
18973sed 's/^/| /' conftest.$ac_ext >&5
18974
18975ac_cv_header_jpeglib_h=no
18976
18977fi
18978rm -f conftest.$ac_objext conftest.$ac_ext
18979
18980fi
18981
18982 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18983echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18984
18985 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18986 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18987echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18988if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18989 echo $ECHO_N "(cached) $ECHO_C" >&6
18990else
18991 ac_check_lib_save_LIBS=$LIBS
18992LIBS="-ljpeg $LIBS"
18993cat >conftest.$ac_ext <<_ACEOF
18994#line $LINENO "configure"
18995/* confdefs.h. */
18996_ACEOF
18997cat confdefs.h >>conftest.$ac_ext
18998cat >>conftest.$ac_ext <<_ACEOF
18999/* end confdefs.h. */
19000
19001/* Override any gcc2 internal prototype to avoid an error. */
19002#ifdef __cplusplus
19003extern "C"
19004#endif
19005/* We use char because int might match the return type of a gcc2
19006 builtin and then its argument prototype would still apply. */
19007char jpeg_read_header ();
19008int
19009main ()
19010{
19011jpeg_read_header ();
19012 ;
19013 return 0;
19014}
19015_ACEOF
19016rm -f conftest.$ac_objext conftest$ac_exeext
19017if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19018 (eval $ac_link) 2>&5
19019 ac_status=$?
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); } &&
19022 { ac_try='test -s conftest$ac_exeext'
19023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19024 (eval $ac_try) 2>&5
19025 ac_status=$?
19026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027 (exit $ac_status); }; }; then
19028 ac_cv_lib_jpeg_jpeg_read_header=yes
19029else
19030 echo "$as_me: failed program was:" >&5
19031sed 's/^/| /' conftest.$ac_ext >&5
19032
19033ac_cv_lib_jpeg_jpeg_read_header=no
19034fi
19035rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19036LIBS=$ac_check_lib_save_LIBS
19037fi
19038echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19039echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19040if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19041 JPEG_LINK=" -ljpeg"
19042fi
19043
19044 fi
19045
19046 if test "x$JPEG_LINK" = "x" ; then
19047 if test "$wxUSE_LIBJPEG" = "sys" ; then
19048 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19049echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19050 { (exit 1); exit 1; }; }
19051 else
19052 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19053echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19054 wxUSE_LIBJPEG=builtin
19055 fi
19056 else
19057 wxUSE_LIBJPEG=sys
19058 fi
19059 fi
19060 fi
19061
19062 if test "$wxUSE_LIBJPEG" = "builtin" ; then
19063 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
19064 fi
19065fi
19066
19067
19068TIFF_INCLUDE=
19069TIFF_LINK=
19070TIFF_PREREQ_LINKS=-lm
19071if test "$wxUSE_LIBTIFF" != "no" ; then
19072 cat >>confdefs.h <<\_ACEOF
19073#define wxUSE_LIBTIFF 1
19074_ACEOF
19075
19076
19077 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19078 if test "$wxUSE_LIBJPEG" = "sys"; then
19079 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
19080 fi
19081 if test "$wxUSE_ZLIB" = "sys"; then
19082 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19083 fi
19084 if test "${ac_cv_header_tiffio_h+set}" = set; then
19085 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19086echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19087if test "${ac_cv_header_tiffio_h+set}" = set; then
19088 echo $ECHO_N "(cached) $ECHO_C" >&6
19089fi
19090echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19091echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19092else
19093 # Is the header compilable?
19094echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19095echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19096cat >conftest.$ac_ext <<_ACEOF
19097#line $LINENO "configure"
19098/* confdefs.h. */
19099_ACEOF
19100cat confdefs.h >>conftest.$ac_ext
19101cat >>conftest.$ac_ext <<_ACEOF
19102/* end confdefs.h. */
19103$ac_includes_default
19104#include <tiffio.h>
19105_ACEOF
19106rm -f conftest.$ac_objext
19107if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19108 (eval $ac_compile) 2>&5
19109 ac_status=$?
19110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19111 (exit $ac_status); } &&
19112 { ac_try='test -s conftest.$ac_objext'
19113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19114 (eval $ac_try) 2>&5
19115 ac_status=$?
19116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19117 (exit $ac_status); }; }; then
19118 ac_header_compiler=yes
19119else
19120 echo "$as_me: failed program was:" >&5
19121sed 's/^/| /' conftest.$ac_ext >&5
19122
19123ac_header_compiler=no
19124fi
19125rm -f conftest.$ac_objext conftest.$ac_ext
19126echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19127echo "${ECHO_T}$ac_header_compiler" >&6
19128
19129# Is the header present?
19130echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19131echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19132cat >conftest.$ac_ext <<_ACEOF
19133#line $LINENO "configure"
19134/* confdefs.h. */
19135_ACEOF
19136cat confdefs.h >>conftest.$ac_ext
19137cat >>conftest.$ac_ext <<_ACEOF
19138/* end confdefs.h. */
19139#include <tiffio.h>
19140_ACEOF
19141if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19142 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19143 ac_status=$?
19144 grep -v '^ *+' conftest.er1 >conftest.err
19145 rm -f conftest.er1
19146 cat conftest.err >&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); } >/dev/null; then
19149 if test -s conftest.err; then
19150 ac_cpp_err=$ac_c_preproc_warn_flag
19151 else
19152 ac_cpp_err=
19153 fi
19154else
19155 ac_cpp_err=yes
19156fi
19157if test -z "$ac_cpp_err"; then
19158 ac_header_preproc=yes
19159else
19160 echo "$as_me: failed program was:" >&5
19161sed 's/^/| /' conftest.$ac_ext >&5
19162
19163 ac_header_preproc=no
19164fi
19165rm -f conftest.err conftest.$ac_ext
19166echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19167echo "${ECHO_T}$ac_header_preproc" >&6
19168
19169# So? What about this header?
19170case $ac_header_compiler:$ac_header_preproc in
19171 yes:no )
19172 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19173echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19174 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19175echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19176 (
19177 cat <<\_ASBOX
19178## ------------------------------------ ##
19179## Report this to bug-autoconf@gnu.org. ##
19180## ------------------------------------ ##
19181_ASBOX
19182 ) |
19183 sed "s/^/$as_me: WARNING: /" >&2
19184 ;;
19185 no:yes )
19186 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19187echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19188 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19189echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19190 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19191echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19192 (
19193 cat <<\_ASBOX
19194## ------------------------------------ ##
19195## Report this to bug-autoconf@gnu.org. ##
19196## ------------------------------------ ##
19197_ASBOX
19198 ) |
19199 sed "s/^/$as_me: WARNING: /" >&2
19200 ;;
19201esac
19202echo "$as_me:$LINENO: checking for tiffio.h" >&5
19203echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19204if test "${ac_cv_header_tiffio_h+set}" = set; then
19205 echo $ECHO_N "(cached) $ECHO_C" >&6
19206else
19207 ac_cv_header_tiffio_h=$ac_header_preproc
19208fi
19209echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19210echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19211
19212fi
19213if test $ac_cv_header_tiffio_h = yes; then
19214
19215 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19216echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19217if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19218 echo $ECHO_N "(cached) $ECHO_C" >&6
19219else
19220 ac_check_lib_save_LIBS=$LIBS
19221LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19222cat >conftest.$ac_ext <<_ACEOF
19223#line $LINENO "configure"
19224/* confdefs.h. */
19225_ACEOF
19226cat confdefs.h >>conftest.$ac_ext
19227cat >>conftest.$ac_ext <<_ACEOF
19228/* end confdefs.h. */
19229
19230/* Override any gcc2 internal prototype to avoid an error. */
19231#ifdef __cplusplus
19232extern "C"
19233#endif
19234/* We use char because int might match the return type of a gcc2
19235 builtin and then its argument prototype would still apply. */
19236char TIFFError ();
19237int
19238main ()
19239{
19240TIFFError ();
19241 ;
19242 return 0;
19243}
19244_ACEOF
19245rm -f conftest.$ac_objext conftest$ac_exeext
19246if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19247 (eval $ac_link) 2>&5
19248 ac_status=$?
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); } &&
19251 { ac_try='test -s conftest$ac_exeext'
19252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19253 (eval $ac_try) 2>&5
19254 ac_status=$?
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); }; }; then
19257 ac_cv_lib_tiff_TIFFError=yes
19258else
19259 echo "$as_me: failed program was:" >&5
19260sed 's/^/| /' conftest.$ac_ext >&5
19261
19262ac_cv_lib_tiff_TIFFError=no
19263fi
19264rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19265LIBS=$ac_check_lib_save_LIBS
19266fi
19267echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19268echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19269if test $ac_cv_lib_tiff_TIFFError = yes; then
19270 TIFF_LINK=" -ltiff"
19271fi
19272
19273
19274
19275fi
19276
19277
19278
19279 if test "x$TIFF_LINK" = "x" ; then
19280 if test "$wxUSE_LIBTIFF" = "sys" ; then
19281 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19282echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19283 { (exit 1); exit 1; }; }
19284 else
19285 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19286echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19287 wxUSE_LIBTIFF=builtin
19288 fi
19289 else
19290 wxUSE_LIBTIFF=sys
19291 fi
19292 fi
19293
19294 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19295 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19296 fi
19297fi
19298
19299
19300if test "$wxUSE_EXPAT" != "no"; then
19301 wxUSE_XML=yes
19302 cat >>confdefs.h <<\_ACEOF
19303#define wxUSE_EXPAT 1
19304_ACEOF
19305
19306 cat >>confdefs.h <<\_ACEOF
19307#define wxUSE_XML 1
19308_ACEOF
19309
19310
19311 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19312 if test "${ac_cv_header_expat_h+set}" = set; then
19313 echo "$as_me:$LINENO: checking for expat.h" >&5
19314echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19315if test "${ac_cv_header_expat_h+set}" = set; then
19316 echo $ECHO_N "(cached) $ECHO_C" >&6
19317fi
19318echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19319echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19320else
19321 # Is the header compilable?
19322echo "$as_me:$LINENO: checking expat.h usability" >&5
19323echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19324cat >conftest.$ac_ext <<_ACEOF
19325#line $LINENO "configure"
19326/* confdefs.h. */
19327_ACEOF
19328cat confdefs.h >>conftest.$ac_ext
19329cat >>conftest.$ac_ext <<_ACEOF
19330/* end confdefs.h. */
19331$ac_includes_default
19332#include <expat.h>
19333_ACEOF
19334rm -f conftest.$ac_objext
19335if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19336 (eval $ac_compile) 2>&5
19337 ac_status=$?
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); } &&
19340 { ac_try='test -s conftest.$ac_objext'
19341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19342 (eval $ac_try) 2>&5
19343 ac_status=$?
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; }; then
19346 ac_header_compiler=yes
19347else
19348 echo "$as_me: failed program was:" >&5
19349sed 's/^/| /' conftest.$ac_ext >&5
19350
19351ac_header_compiler=no
19352fi
19353rm -f conftest.$ac_objext conftest.$ac_ext
19354echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19355echo "${ECHO_T}$ac_header_compiler" >&6
19356
19357# Is the header present?
19358echo "$as_me:$LINENO: checking expat.h presence" >&5
19359echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19360cat >conftest.$ac_ext <<_ACEOF
19361#line $LINENO "configure"
19362/* confdefs.h. */
19363_ACEOF
19364cat confdefs.h >>conftest.$ac_ext
19365cat >>conftest.$ac_ext <<_ACEOF
19366/* end confdefs.h. */
19367#include <expat.h>
19368_ACEOF
19369if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19370 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19371 ac_status=$?
19372 grep -v '^ *+' conftest.er1 >conftest.err
19373 rm -f conftest.er1
19374 cat conftest.err >&5
19375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19376 (exit $ac_status); } >/dev/null; then
19377 if test -s conftest.err; then
19378 ac_cpp_err=$ac_c_preproc_warn_flag
19379 else
19380 ac_cpp_err=
19381 fi
19382else
19383 ac_cpp_err=yes
19384fi
19385if test -z "$ac_cpp_err"; then
19386 ac_header_preproc=yes
19387else
19388 echo "$as_me: failed program was:" >&5
19389sed 's/^/| /' conftest.$ac_ext >&5
19390
19391 ac_header_preproc=no
19392fi
19393rm -f conftest.err conftest.$ac_ext
19394echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19395echo "${ECHO_T}$ac_header_preproc" >&6
19396
19397# So? What about this header?
19398case $ac_header_compiler:$ac_header_preproc in
19399 yes:no )
19400 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19401echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19402 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19403echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19404 (
19405 cat <<\_ASBOX
19406## ------------------------------------ ##
19407## Report this to bug-autoconf@gnu.org. ##
19408## ------------------------------------ ##
19409_ASBOX
19410 ) |
19411 sed "s/^/$as_me: WARNING: /" >&2
19412 ;;
19413 no:yes )
19414 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19415echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19416 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19417echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19418 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19419echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19420 (
19421 cat <<\_ASBOX
19422## ------------------------------------ ##
19423## Report this to bug-autoconf@gnu.org. ##
19424## ------------------------------------ ##
19425_ASBOX
19426 ) |
19427 sed "s/^/$as_me: WARNING: /" >&2
19428 ;;
19429esac
19430echo "$as_me:$LINENO: checking for expat.h" >&5
19431echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19432if test "${ac_cv_header_expat_h+set}" = set; then
19433 echo $ECHO_N "(cached) $ECHO_C" >&6
19434else
19435 ac_cv_header_expat_h=$ac_header_preproc
19436fi
19437echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19438echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19439
19440fi
19441if test $ac_cv_header_expat_h = yes; then
19442 found_expat_h=1
19443fi
19444
19445
19446 if test "x$found_expat_h" = "x1"; then
19447 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19448echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19449if test "${wx_cv_expat_is_not_broken+set}" = set; then
19450 echo $ECHO_N "(cached) $ECHO_C" >&6
19451else
19452
19453
19454
19455 ac_ext=cc
19456ac_cpp='$CXXCPP $CPPFLAGS'
19457ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19458ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19459ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19460
19461 cat >conftest.$ac_ext <<_ACEOF
19462#line $LINENO "configure"
19463/* confdefs.h. */
19464_ACEOF
19465cat confdefs.h >>conftest.$ac_ext
19466cat >>conftest.$ac_ext <<_ACEOF
19467/* end confdefs.h. */
19468#include <expat.h>
19469int
19470main ()
19471{
19472
19473 ;
19474 return 0;
19475}
19476_ACEOF
19477rm -f conftest.$ac_objext
19478if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19479 (eval $ac_compile) 2>&5
19480 ac_status=$?
19481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19482 (exit $ac_status); } &&
19483 { ac_try='test -s conftest.$ac_objext'
19484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19485 (eval $ac_try) 2>&5
19486 ac_status=$?
19487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19488 (exit $ac_status); }; }; then
19489 wx_cv_expat_is_not_broken=yes
19490else
19491 echo "$as_me: failed program was:" >&5
19492sed 's/^/| /' conftest.$ac_ext >&5
19493
19494wx_cv_expat_is_not_broken=no
19495
19496fi
19497rm -f conftest.$ac_objext conftest.$ac_ext
19498 ac_ext=c
19499ac_cpp='$CPP $CPPFLAGS'
19500ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19501ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19502ac_compiler_gnu=$ac_cv_c_compiler_gnu
19503
19504
19505
19506fi
19507echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19508echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19509 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19510 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19511echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19512if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19513 echo $ECHO_N "(cached) $ECHO_C" >&6
19514else
19515 ac_check_lib_save_LIBS=$LIBS
19516LIBS="-lexpat $LIBS"
19517cat >conftest.$ac_ext <<_ACEOF
19518#line $LINENO "configure"
19519/* confdefs.h. */
19520_ACEOF
19521cat confdefs.h >>conftest.$ac_ext
19522cat >>conftest.$ac_ext <<_ACEOF
19523/* end confdefs.h. */
19524
19525/* Override any gcc2 internal prototype to avoid an error. */
19526#ifdef __cplusplus
19527extern "C"
19528#endif
19529/* We use char because int might match the return type of a gcc2
19530 builtin and then its argument prototype would still apply. */
19531char XML_ParserCreate ();
19532int
19533main ()
19534{
19535XML_ParserCreate ();
19536 ;
19537 return 0;
19538}
19539_ACEOF
19540rm -f conftest.$ac_objext conftest$ac_exeext
19541if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19542 (eval $ac_link) 2>&5
19543 ac_status=$?
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); } &&
19546 { ac_try='test -s conftest$ac_exeext'
19547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19548 (eval $ac_try) 2>&5
19549 ac_status=$?
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); }; }; then
19552 ac_cv_lib_expat_XML_ParserCreate=yes
19553else
19554 echo "$as_me: failed program was:" >&5
19555sed 's/^/| /' conftest.$ac_ext >&5
19556
19557ac_cv_lib_expat_XML_ParserCreate=no
19558fi
19559rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19560LIBS=$ac_check_lib_save_LIBS
19561fi
19562echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19563echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19564if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19565 EXPAT_LINK=" -lexpat"
19566fi
19567
19568 fi
19569 fi
19570 if test "x$EXPAT_LINK" = "x" ; then
19571 if test "$wxUSE_EXPAT" = "sys" ; then
19572 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19573echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19574 { (exit 1); exit 1; }; }
19575 else
19576 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19577echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19578 wxUSE_EXPAT=builtin
19579 fi
19580 else
19581 wxUSE_EXPAT=sys
19582 fi
19583 fi
19584 if test "$wxUSE_EXPAT" = "builtin" ; then
19585
19586
19587subdirs="$subdirs src/expat"
19588
19589 fi
19590fi
19591
19592
19593
19594if test "$wxUSE_LIBMSPACK" != "no"; then
19595
19596 if test "${ac_cv_header_mspack_h+set}" = set; then
19597 echo "$as_me:$LINENO: checking for mspack.h" >&5
19598echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
19599if test "${ac_cv_header_mspack_h+set}" = set; then
19600 echo $ECHO_N "(cached) $ECHO_C" >&6
19601fi
19602echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
19603echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
19604else
19605 # Is the header compilable?
19606echo "$as_me:$LINENO: checking mspack.h usability" >&5
19607echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
19608cat >conftest.$ac_ext <<_ACEOF
19609#line $LINENO "configure"
19610/* confdefs.h. */
19611_ACEOF
19612cat confdefs.h >>conftest.$ac_ext
19613cat >>conftest.$ac_ext <<_ACEOF
19614/* end confdefs.h. */
19615$ac_includes_default
19616#include <mspack.h>
19617_ACEOF
19618rm -f conftest.$ac_objext
19619if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19620 (eval $ac_compile) 2>&5
19621 ac_status=$?
19622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19623 (exit $ac_status); } &&
19624 { ac_try='test -s conftest.$ac_objext'
19625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19626 (eval $ac_try) 2>&5
19627 ac_status=$?
19628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629 (exit $ac_status); }; }; then
19630 ac_header_compiler=yes
19631else
19632 echo "$as_me: failed program was:" >&5
19633sed 's/^/| /' conftest.$ac_ext >&5
19634
19635ac_header_compiler=no
19636fi
19637rm -f conftest.$ac_objext conftest.$ac_ext
19638echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19639echo "${ECHO_T}$ac_header_compiler" >&6
19640
19641# Is the header present?
19642echo "$as_me:$LINENO: checking mspack.h presence" >&5
19643echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
19644cat >conftest.$ac_ext <<_ACEOF
19645#line $LINENO "configure"
19646/* confdefs.h. */
19647_ACEOF
19648cat confdefs.h >>conftest.$ac_ext
19649cat >>conftest.$ac_ext <<_ACEOF
19650/* end confdefs.h. */
19651#include <mspack.h>
19652_ACEOF
19653if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19654 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19655 ac_status=$?
19656 grep -v '^ *+' conftest.er1 >conftest.err
19657 rm -f conftest.er1
19658 cat conftest.err >&5
19659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660 (exit $ac_status); } >/dev/null; then
19661 if test -s conftest.err; then
19662 ac_cpp_err=$ac_c_preproc_warn_flag
19663 else
19664 ac_cpp_err=
19665 fi
19666else
19667 ac_cpp_err=yes
19668fi
19669if test -z "$ac_cpp_err"; then
19670 ac_header_preproc=yes
19671else
19672 echo "$as_me: failed program was:" >&5
19673sed 's/^/| /' conftest.$ac_ext >&5
19674
19675 ac_header_preproc=no
19676fi
19677rm -f conftest.err conftest.$ac_ext
19678echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19679echo "${ECHO_T}$ac_header_preproc" >&6
19680
19681# So? What about this header?
19682case $ac_header_compiler:$ac_header_preproc in
19683 yes:no )
19684 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
19685echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19686 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
19687echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
19688 (
19689 cat <<\_ASBOX
19690## ------------------------------------ ##
19691## Report this to bug-autoconf@gnu.org. ##
19692## ------------------------------------ ##
19693_ASBOX
19694 ) |
19695 sed "s/^/$as_me: WARNING: /" >&2
19696 ;;
19697 no:yes )
19698 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
19699echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
19700 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
19701echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
19702 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
19703echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
19704 (
19705 cat <<\_ASBOX
19706## ------------------------------------ ##
19707## Report this to bug-autoconf@gnu.org. ##
19708## ------------------------------------ ##
19709_ASBOX
19710 ) |
19711 sed "s/^/$as_me: WARNING: /" >&2
19712 ;;
19713esac
19714echo "$as_me:$LINENO: checking for mspack.h" >&5
19715echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
19716if test "${ac_cv_header_mspack_h+set}" = set; then
19717 echo $ECHO_N "(cached) $ECHO_C" >&6
19718else
19719 ac_cv_header_mspack_h=$ac_header_preproc
19720fi
19721echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
19722echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
19723
19724fi
19725if test $ac_cv_header_mspack_h = yes; then
19726 found_mspack_h=1
19727fi
19728
19729
19730 if test "x$found_mspack_h" = "x1"; then
19731 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
19732echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
19733if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
19734 echo $ECHO_N "(cached) $ECHO_C" >&6
19735else
19736 ac_check_lib_save_LIBS=$LIBS
19737LIBS="-lmspack $LIBS"
19738cat >conftest.$ac_ext <<_ACEOF
19739#line $LINENO "configure"
19740/* confdefs.h. */
19741_ACEOF
19742cat confdefs.h >>conftest.$ac_ext
19743cat >>conftest.$ac_ext <<_ACEOF
19744/* end confdefs.h. */
19745
19746/* Override any gcc2 internal prototype to avoid an error. */
19747#ifdef __cplusplus
19748extern "C"
19749#endif
19750/* We use char because int might match the return type of a gcc2
19751 builtin and then its argument prototype would still apply. */
19752char mspack_create_chm_decompressor ();
19753int
19754main ()
19755{
19756mspack_create_chm_decompressor ();
19757 ;
19758 return 0;
19759}
19760_ACEOF
19761rm -f conftest.$ac_objext conftest$ac_exeext
19762if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19763 (eval $ac_link) 2>&5
19764 ac_status=$?
19765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766 (exit $ac_status); } &&
19767 { ac_try='test -s conftest$ac_exeext'
19768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19769 (eval $ac_try) 2>&5
19770 ac_status=$?
19771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772 (exit $ac_status); }; }; then
19773 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
19774else
19775 echo "$as_me: failed program was:" >&5
19776sed 's/^/| /' conftest.$ac_ext >&5
19777
19778ac_cv_lib_mspack_mspack_create_chm_decompressor=no
19779fi
19780rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19781LIBS=$ac_check_lib_save_LIBS
19782fi
19783echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
19784echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
19785if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
19786 MSPACK_LINK=" -lmspack"
19787fi
19788
19789 fi
19790 if test "x$MSPACK_LINK" = "x" ; then
19791 wxUSE_LIBMSPACK=no
19792 else
19793 cat >>confdefs.h <<\_ACEOF
19794#define wxUSE_LIBMSPACK 1
19795_ACEOF
19796
19797 fi
19798fi
19799
19800
19801
19802AFMINSTALL=
19803WIN32INSTALL=
19804
19805TOOLKIT=
19806TOOLKIT_INCLUDE=
19807WIDGET_SET=
19808
19809if test "$USE_WIN32" = 1 ; then
19810
19811for ac_header in w32api.h
19812do
19813as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19814if eval "test \"\${$as_ac_Header+set}\" = set"; then
19815 echo "$as_me:$LINENO: checking for $ac_header" >&5
19816echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19817if eval "test \"\${$as_ac_Header+set}\" = set"; then
19818 echo $ECHO_N "(cached) $ECHO_C" >&6
19819fi
19820echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19821echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19822else
19823 # Is the header compilable?
19824echo "$as_me:$LINENO: checking $ac_header usability" >&5
19825echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19826cat >conftest.$ac_ext <<_ACEOF
19827#line $LINENO "configure"
19828/* confdefs.h. */
19829_ACEOF
19830cat confdefs.h >>conftest.$ac_ext
19831cat >>conftest.$ac_ext <<_ACEOF
19832/* end confdefs.h. */
19833$ac_includes_default
19834#include <$ac_header>
19835_ACEOF
19836rm -f conftest.$ac_objext
19837if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19838 (eval $ac_compile) 2>&5
19839 ac_status=$?
19840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19841 (exit $ac_status); } &&
19842 { ac_try='test -s conftest.$ac_objext'
19843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19844 (eval $ac_try) 2>&5
19845 ac_status=$?
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); }; }; then
19848 ac_header_compiler=yes
19849else
19850 echo "$as_me: failed program was:" >&5
19851sed 's/^/| /' conftest.$ac_ext >&5
19852
19853ac_header_compiler=no
19854fi
19855rm -f conftest.$ac_objext conftest.$ac_ext
19856echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19857echo "${ECHO_T}$ac_header_compiler" >&6
19858
19859# Is the header present?
19860echo "$as_me:$LINENO: checking $ac_header presence" >&5
19861echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19862cat >conftest.$ac_ext <<_ACEOF
19863#line $LINENO "configure"
19864/* confdefs.h. */
19865_ACEOF
19866cat confdefs.h >>conftest.$ac_ext
19867cat >>conftest.$ac_ext <<_ACEOF
19868/* end confdefs.h. */
19869#include <$ac_header>
19870_ACEOF
19871if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19872 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19873 ac_status=$?
19874 grep -v '^ *+' conftest.er1 >conftest.err
19875 rm -f conftest.er1
19876 cat conftest.err >&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); } >/dev/null; then
19879 if test -s conftest.err; then
19880 ac_cpp_err=$ac_c_preproc_warn_flag
19881 else
19882 ac_cpp_err=
19883 fi
19884else
19885 ac_cpp_err=yes
19886fi
19887if test -z "$ac_cpp_err"; then
19888 ac_header_preproc=yes
19889else
19890 echo "$as_me: failed program was:" >&5
19891sed 's/^/| /' conftest.$ac_ext >&5
19892
19893 ac_header_preproc=no
19894fi
19895rm -f conftest.err conftest.$ac_ext
19896echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19897echo "${ECHO_T}$ac_header_preproc" >&6
19898
19899# So? What about this header?
19900case $ac_header_compiler:$ac_header_preproc in
19901 yes:no )
19902 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19903echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19904 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19905echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19906 (
19907 cat <<\_ASBOX
19908## ------------------------------------ ##
19909## Report this to bug-autoconf@gnu.org. ##
19910## ------------------------------------ ##
19911_ASBOX
19912 ) |
19913 sed "s/^/$as_me: WARNING: /" >&2
19914 ;;
19915 no:yes )
19916 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19917echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19918 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19919echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19920 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19921echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19922 (
19923 cat <<\_ASBOX
19924## ------------------------------------ ##
19925## Report this to bug-autoconf@gnu.org. ##
19926## ------------------------------------ ##
19927_ASBOX
19928 ) |
19929 sed "s/^/$as_me: WARNING: /" >&2
19930 ;;
19931esac
19932echo "$as_me:$LINENO: checking for $ac_header" >&5
19933echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19934if eval "test \"\${$as_ac_Header+set}\" = set"; then
19935 echo $ECHO_N "(cached) $ECHO_C" >&6
19936else
19937 eval "$as_ac_Header=$ac_header_preproc"
19938fi
19939echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19940echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19941
19942fi
19943if test `eval echo '${'$as_ac_Header'}'` = yes; then
19944 cat >>confdefs.h <<_ACEOF
19945#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19946_ACEOF
19947
19948fi
19949
19950done
19951
19952 if test "${ac_cv_header_windows_h+set}" = set; then
19953 echo "$as_me:$LINENO: checking for windows.h" >&5
19954echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19955if test "${ac_cv_header_windows_h+set}" = set; then
19956 echo $ECHO_N "(cached) $ECHO_C" >&6
19957fi
19958echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19959echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19960else
19961 # Is the header compilable?
19962echo "$as_me:$LINENO: checking windows.h usability" >&5
19963echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19964cat >conftest.$ac_ext <<_ACEOF
19965#line $LINENO "configure"
19966/* confdefs.h. */
19967_ACEOF
19968cat confdefs.h >>conftest.$ac_ext
19969cat >>conftest.$ac_ext <<_ACEOF
19970/* end confdefs.h. */
19971$ac_includes_default
19972#include <windows.h>
19973_ACEOF
19974rm -f conftest.$ac_objext
19975if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19976 (eval $ac_compile) 2>&5
19977 ac_status=$?
19978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19979 (exit $ac_status); } &&
19980 { ac_try='test -s conftest.$ac_objext'
19981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19982 (eval $ac_try) 2>&5
19983 ac_status=$?
19984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19985 (exit $ac_status); }; }; then
19986 ac_header_compiler=yes
19987else
19988 echo "$as_me: failed program was:" >&5
19989sed 's/^/| /' conftest.$ac_ext >&5
19990
19991ac_header_compiler=no
19992fi
19993rm -f conftest.$ac_objext conftest.$ac_ext
19994echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19995echo "${ECHO_T}$ac_header_compiler" >&6
19996
19997# Is the header present?
19998echo "$as_me:$LINENO: checking windows.h presence" >&5
19999echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
20000cat >conftest.$ac_ext <<_ACEOF
20001#line $LINENO "configure"
20002/* confdefs.h. */
20003_ACEOF
20004cat confdefs.h >>conftest.$ac_ext
20005cat >>conftest.$ac_ext <<_ACEOF
20006/* end confdefs.h. */
20007#include <windows.h>
20008_ACEOF
20009if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20010 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20011 ac_status=$?
20012 grep -v '^ *+' conftest.er1 >conftest.err
20013 rm -f conftest.er1
20014 cat conftest.err >&5
20015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20016 (exit $ac_status); } >/dev/null; then
20017 if test -s conftest.err; then
20018 ac_cpp_err=$ac_c_preproc_warn_flag
20019 else
20020 ac_cpp_err=
20021 fi
20022else
20023 ac_cpp_err=yes
20024fi
20025if test -z "$ac_cpp_err"; then
20026 ac_header_preproc=yes
20027else
20028 echo "$as_me: failed program was:" >&5
20029sed 's/^/| /' conftest.$ac_ext >&5
20030
20031 ac_header_preproc=no
20032fi
20033rm -f conftest.err conftest.$ac_ext
20034echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20035echo "${ECHO_T}$ac_header_preproc" >&6
20036
20037# So? What about this header?
20038case $ac_header_compiler:$ac_header_preproc in
20039 yes:no )
20040 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
20041echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20042 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20043echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20044 (
20045 cat <<\_ASBOX
20046## ------------------------------------ ##
20047## Report this to bug-autoconf@gnu.org. ##
20048## ------------------------------------ ##
20049_ASBOX
20050 ) |
20051 sed "s/^/$as_me: WARNING: /" >&2
20052 ;;
20053 no:yes )
20054 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
20055echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
20056 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
20057echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
20058 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20059echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20060 (
20061 cat <<\_ASBOX
20062## ------------------------------------ ##
20063## Report this to bug-autoconf@gnu.org. ##
20064## ------------------------------------ ##
20065_ASBOX
20066 ) |
20067 sed "s/^/$as_me: WARNING: /" >&2
20068 ;;
20069esac
20070echo "$as_me:$LINENO: checking for windows.h" >&5
20071echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20072if test "${ac_cv_header_windows_h+set}" = set; then
20073 echo $ECHO_N "(cached) $ECHO_C" >&6
20074else
20075 ac_cv_header_windows_h=$ac_header_preproc
20076fi
20077echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20078echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20079
20080fi
20081if test $ac_cv_header_windows_h = yes; then
20082 :
20083else
20084
20085 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
20086echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
20087 { (exit 1); exit 1; }; }
20088
20089fi
20090
20091
20092
20093 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
20094
20095 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
20096 LIBS="$LIBS -loleacc"
20097 fi
20098
20099 case "${host}" in
20100 *-*-cygwin* )
20101 LIBS="$LIBS -lkernel32 -luser32"
20102 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
20103 esac
20104
20105 if test "$wxUSE_ODBC" = "sys" ; then
20106 wxUSE_ODBC = "yes"
20107 fi
20108 if test "$wxUSE_ODBC" = "yes" ; then
20109 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
20110 cat >>confdefs.h <<\_ACEOF
20111#define wxUSE_ODBC 1
20112_ACEOF
20113
20114 fi
20115
20116 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
20117 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
20118
20119 WIN32INSTALL=win32install
20120fi
20121
20122if test "$wxUSE_GUI" = "yes"; then
20123 USE_GUI=1
20124
20125 GUI_TK_LIBRARY=
20126
20127 WXGTK12=
20128 WXGTK127=
20129 WXGTK20=
20130
20131 if test "$wxUSE_MSW" = 1 ; then
20132 TOOLKIT=MSW
20133 GUIDIST=MSW_DIST
20134
20135 case "${host}" in
20136 *-*-mingw32* )
20137 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
20138 esac
20139 fi
20140
20141 if test "$wxUSE_GTK" = 1; then
20142 echo "$as_me:$LINENO: checking for GTK+ version" >&5
20143echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
20144
20145 gtk_version_cached=1
20146 if test "${wx_cv_lib_gtk+set}" = set; then
20147 echo $ECHO_N "(cached) $ECHO_C" >&6
20148else
20149
20150 gtk_version_cached=0
20151 echo "$as_me:$LINENO: result: " >&5
20152echo "${ECHO_T}" >&6
20153
20154 GTK_MODULES=
20155 if test "$wxUSE_THREADS" = "yes"; then
20156 GTK_MODULES=gthread
20157 fi
20158
20159 wx_cv_lib_gtk=
20160 if test "x$wxUSE_GTK2" = "xyes"; then
20161 # Check whether --enable-gtktest or --disable-gtktest was given.
20162if test "${enable_gtktest+set}" = set; then
20163 enableval="$enable_gtktest"
20164
20165else
20166 enable_gtktest=yes
20167fi;
20168
20169 pkg_config_args=gtk+-2.0
20170 for module in . $GTK_MODULES
20171 do
20172 case "$module" in
20173 gthread)
20174 pkg_config_args="$pkg_config_args gthread-2.0"
20175 ;;
20176 esac
20177 done
20178
20179 no_gtk=""
20180
20181 # Extract the first word of "pkg-config", so it can be a program name with args.
20182set dummy pkg-config; ac_word=$2
20183echo "$as_me:$LINENO: checking for $ac_word" >&5
20184echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20185if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20186 echo $ECHO_N "(cached) $ECHO_C" >&6
20187else
20188 case $PKG_CONFIG in
20189 [\\/]* | ?:[\\/]*)
20190 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20191 ;;
20192 *)
20193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20194for as_dir in $PATH
20195do
20196 IFS=$as_save_IFS
20197 test -z "$as_dir" && as_dir=.
20198 for ac_exec_ext in '' $ac_executable_extensions; do
20199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20200 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20202 break 2
20203 fi
20204done
20205done
20206
20207 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20208 ;;
20209esac
20210fi
20211PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20212
20213if test -n "$PKG_CONFIG"; then
20214 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20215echo "${ECHO_T}$PKG_CONFIG" >&6
20216else
20217 echo "$as_me:$LINENO: result: no" >&5
20218echo "${ECHO_T}no" >&6
20219fi
20220
20221
20222 if test x$PKG_CONFIG != xno ; then
20223 if pkg-config --atleast-pkgconfig-version 0.7 ; then
20224 :
20225 else
20226 echo *** pkg-config too old; version 0.7 or better required.
20227 no_gtk=yes
20228 PKG_CONFIG=no
20229 fi
20230 else
20231 no_gtk=yes
20232 fi
20233
20234 min_gtk_version=2.0.0
20235 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20236echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20237
20238 if test x$PKG_CONFIG != xno ; then
20239 ## don't try to run the test against uninstalled libtool libs
20240 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20241 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20242 enable_gtktest=no
20243 fi
20244
20245 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20246 :
20247 else
20248 no_gtk=yes
20249 fi
20250 fi
20251
20252 if test x"$no_gtk" = x ; then
20253 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
20254 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
20255 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20256 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20257 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20258 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20259 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20260 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20261 if test "x$enable_gtktest" = "xyes" ; then
20262 ac_save_CFLAGS="$CFLAGS"
20263 ac_save_LIBS="$LIBS"
20264 CFLAGS="$CFLAGS $GTK_CFLAGS"
20265 LIBS="$GTK_LIBS $LIBS"
20266 rm -f conf.gtktest
20267 if test "$cross_compiling" = yes; then
20268 echo $ac_n "cross compiling; assumed OK... $ac_c"
20269else
20270 cat >conftest.$ac_ext <<_ACEOF
20271#line $LINENO "configure"
20272/* confdefs.h. */
20273_ACEOF
20274cat confdefs.h >>conftest.$ac_ext
20275cat >>conftest.$ac_ext <<_ACEOF
20276/* end confdefs.h. */
20277
20278#include <gtk/gtk.h>
20279#include <stdio.h>
20280#include <stdlib.h>
20281
20282int
20283main ()
20284{
20285 int major, minor, micro;
20286 char *tmp_version;
20287
20288 system ("touch conf.gtktest");
20289
20290 /* HP/UX 9 (%@#!) writes to sscanf strings */
20291 tmp_version = g_strdup("$min_gtk_version");
20292 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20293 printf("%s, bad version string\n", "$min_gtk_version");
20294 exit(1);
20295 }
20296
20297 if ((gtk_major_version != $gtk_config_major_version) ||
20298 (gtk_minor_version != $gtk_config_minor_version) ||
20299 (gtk_micro_version != $gtk_config_micro_version))
20300 {
20301 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20302 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20303 gtk_major_version, gtk_minor_version, gtk_micro_version);
20304 printf ("*** was found! If pkg-config was correct, then it is best\n");
20305 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20306 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20307 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20308 printf("*** required on your system.\n");
20309 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20310 printf("*** to point to the correct configuration files\n");
20311 }
20312 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20313 (gtk_minor_version != GTK_MINOR_VERSION) ||
20314 (gtk_micro_version != GTK_MICRO_VERSION))
20315 {
20316 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20317 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20318 printf("*** library (version %d.%d.%d)\n",
20319 gtk_major_version, gtk_minor_version, gtk_micro_version);
20320 }
20321 else
20322 {
20323 if ((gtk_major_version > major) ||
20324 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20325 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20326 {
20327 return 0;
20328 }
20329 else
20330 {
20331 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20332 gtk_major_version, gtk_minor_version, gtk_micro_version);
20333 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20334 major, minor, micro);
20335 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20336 printf("***\n");
20337 printf("*** If you have already installed a sufficiently new version, this error\n");
20338 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20339 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20340 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20341 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20342 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20343 printf("*** so that the correct libraries are found at run-time))\n");
20344 }
20345 }
20346 return 1;
20347}
20348
20349_ACEOF
20350rm -f conftest$ac_exeext
20351if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20352 (eval $ac_link) 2>&5
20353 ac_status=$?
20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20357 (eval $ac_try) 2>&5
20358 ac_status=$?
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); }; }; then
20361 :
20362else
20363 echo "$as_me: program exited with status $ac_status" >&5
20364echo "$as_me: failed program was:" >&5
20365sed 's/^/| /' conftest.$ac_ext >&5
20366
20367( exit $ac_status )
20368no_gtk=yes
20369fi
20370rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20371fi
20372 CFLAGS="$ac_save_CFLAGS"
20373 LIBS="$ac_save_LIBS"
20374 fi
20375 fi
20376 if test "x$no_gtk" = x ; then
20377 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20378echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20379 wx_cv_lib_gtk=2.0
20380 else
20381 echo "$as_me:$LINENO: result: no" >&5
20382echo "${ECHO_T}no" >&6
20383 if test "$PKG_CONFIG" = "no" ; then
20384 echo "*** A new enough version of pkg-config was not found."
20385 echo "*** See http://pkgconfig.sourceforge.net"
20386 else
20387 if test -f conf.gtktest ; then
20388 :
20389 else
20390 echo "*** Could not run GTK+ test program, checking why..."
20391 ac_save_CFLAGS="$CFLAGS"
20392 ac_save_LIBS="$LIBS"
20393 CFLAGS="$CFLAGS $GTK_CFLAGS"
20394 LIBS="$LIBS $GTK_LIBS"
20395 cat >conftest.$ac_ext <<_ACEOF
20396#line $LINENO "configure"
20397/* confdefs.h. */
20398_ACEOF
20399cat confdefs.h >>conftest.$ac_ext
20400cat >>conftest.$ac_ext <<_ACEOF
20401/* end confdefs.h. */
20402
20403#include <gtk/gtk.h>
20404#include <stdio.h>
20405
20406int
20407main ()
20408{
20409 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20410 ;
20411 return 0;
20412}
20413_ACEOF
20414rm -f conftest.$ac_objext conftest$ac_exeext
20415if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20416 (eval $ac_link) 2>&5
20417 ac_status=$?
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); } &&
20420 { ac_try='test -s conftest$ac_exeext'
20421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20422 (eval $ac_try) 2>&5
20423 ac_status=$?
20424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20425 (exit $ac_status); }; }; then
20426 echo "*** The test program compiled, but did not run. This usually means"
20427 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20428 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20429 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20430 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20431 echo "*** is required on your system"
20432 echo "***"
20433 echo "*** If you have an old version installed, it is best to remove it, although"
20434 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20435else
20436 echo "$as_me: failed program was:" >&5
20437sed 's/^/| /' conftest.$ac_ext >&5
20438
20439 echo "*** The test program failed to compile or link. See the file config.log for the"
20440 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20441fi
20442rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20443 CFLAGS="$ac_save_CFLAGS"
20444 LIBS="$ac_save_LIBS"
20445 fi
20446 fi
20447 GTK_CFLAGS=""
20448 GTK_LIBS=""
20449 :
20450 fi
20451
20452
20453 rm -f conf.gtktest
20454
20455 else
20456
20457# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20458if test "${with_gtk_prefix+set}" = set; then
20459 withval="$with_gtk_prefix"
20460 gtk_config_prefix="$withval"
20461else
20462 gtk_config_prefix=""
20463fi;
20464
20465# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20466if test "${with_gtk_exec_prefix+set}" = set; then
20467 withval="$with_gtk_exec_prefix"
20468 gtk_config_exec_prefix="$withval"
20469else
20470 gtk_config_exec_prefix=""
20471fi;
20472# Check whether --enable-gtktest or --disable-gtktest was given.
20473if test "${enable_gtktest+set}" = set; then
20474 enableval="$enable_gtktest"
20475
20476else
20477 enable_gtktest=yes
20478fi;
20479
20480 for module in . $GTK_MODULES
20481 do
20482 case "$module" in
20483 gthread)
20484 gtk_config_args="$gtk_config_args gthread"
20485 ;;
20486 esac
20487 done
20488
20489 if test x$gtk_config_exec_prefix != x ; then
20490 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20491 if test x${GTK_CONFIG+set} != xset ; then
20492 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20493 fi
20494 fi
20495 if test x$gtk_config_prefix != x ; then
20496 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20497 if test x${GTK_CONFIG+set} != xset ; then
20498 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20499 fi
20500 fi
20501
20502 # Extract the first word of "gtk-config", so it can be a program name with args.
20503set dummy gtk-config; ac_word=$2
20504echo "$as_me:$LINENO: checking for $ac_word" >&5
20505echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20506if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20507 echo $ECHO_N "(cached) $ECHO_C" >&6
20508else
20509 case $GTK_CONFIG in
20510 [\\/]* | ?:[\\/]*)
20511 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20512 ;;
20513 *)
20514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20515for as_dir in $PATH
20516do
20517 IFS=$as_save_IFS
20518 test -z "$as_dir" && as_dir=.
20519 for ac_exec_ext in '' $ac_executable_extensions; do
20520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20521 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20523 break 2
20524 fi
20525done
20526done
20527
20528 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20529 ;;
20530esac
20531fi
20532GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20533
20534if test -n "$GTK_CONFIG"; then
20535 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20536echo "${ECHO_T}$GTK_CONFIG" >&6
20537else
20538 echo "$as_me:$LINENO: result: no" >&5
20539echo "${ECHO_T}no" >&6
20540fi
20541
20542 min_gtk_version=1.2.7
20543 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20544echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20545 no_gtk=""
20546 if test "$GTK_CONFIG" = "no" ; then
20547 no_gtk=yes
20548 else
20549 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20550 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20551 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20552 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20553 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20554 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20555 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20556 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20557 if test "x$enable_gtktest" = "xyes" ; then
20558 ac_save_CFLAGS="$CFLAGS"
20559 ac_save_LIBS="$LIBS"
20560 CFLAGS="$CFLAGS $GTK_CFLAGS"
20561 LIBS="$GTK_LIBS $LIBS"
20562 rm -f conf.gtktest
20563 if test "$cross_compiling" = yes; then
20564 echo $ac_n "cross compiling; assumed OK... $ac_c"
20565else
20566 cat >conftest.$ac_ext <<_ACEOF
20567#line $LINENO "configure"
20568/* confdefs.h. */
20569_ACEOF
20570cat confdefs.h >>conftest.$ac_ext
20571cat >>conftest.$ac_ext <<_ACEOF
20572/* end confdefs.h. */
20573
20574#include <gtk/gtk.h>
20575#include <stdio.h>
20576#include <stdlib.h>
20577
20578int
20579main ()
20580{
20581 int major, minor, micro;
20582 char *tmp_version;
20583
20584 system ("touch conf.gtktest");
20585
20586 /* HP/UX 9 (%@#!) writes to sscanf strings */
20587 tmp_version = g_strdup("$min_gtk_version");
20588 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20589 printf("%s, bad version string\n", "$min_gtk_version");
20590 exit(1);
20591 }
20592
20593 if ((gtk_major_version != $gtk_config_major_version) ||
20594 (gtk_minor_version != $gtk_config_minor_version) ||
20595 (gtk_micro_version != $gtk_config_micro_version))
20596 {
20597 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20598 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20599 gtk_major_version, gtk_minor_version, gtk_micro_version);
20600 printf ("*** was found! If gtk-config was correct, then it is best\n");
20601 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20602 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20603 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20604 printf("*** required on your system.\n");
20605 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20606 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20607 printf("*** before re-running configure\n");
20608 }
20609#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20610 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20611 (gtk_minor_version != GTK_MINOR_VERSION) ||
20612 (gtk_micro_version != GTK_MICRO_VERSION))
20613 {
20614 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20615 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20616 printf("*** library (version %d.%d.%d)\n",
20617 gtk_major_version, gtk_minor_version, gtk_micro_version);
20618 }
20619#endif /* defined (GTK_MAJOR_VERSION) ... */
20620 else
20621 {
20622 if ((gtk_major_version > major) ||
20623 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20624 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20625 {
20626 return 0;
20627 }
20628 else
20629 {
20630 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20631 gtk_major_version, gtk_minor_version, gtk_micro_version);
20632 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20633 major, minor, micro);
20634 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20635 printf("***\n");
20636 printf("*** If you have already installed a sufficiently new version, this error\n");
20637 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20638 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20639 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20640 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20641 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20642 printf("*** so that the correct libraries are found at run-time))\n");
20643 }
20644 }
20645 return 1;
20646}
20647
20648_ACEOF
20649rm -f conftest$ac_exeext
20650if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20651 (eval $ac_link) 2>&5
20652 ac_status=$?
20653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20656 (eval $ac_try) 2>&5
20657 ac_status=$?
20658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659 (exit $ac_status); }; }; then
20660 :
20661else
20662 echo "$as_me: program exited with status $ac_status" >&5
20663echo "$as_me: failed program was:" >&5
20664sed 's/^/| /' conftest.$ac_ext >&5
20665
20666( exit $ac_status )
20667no_gtk=yes
20668fi
20669rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20670fi
20671 CFLAGS="$ac_save_CFLAGS"
20672 LIBS="$ac_save_LIBS"
20673 fi
20674 fi
20675 if test "x$no_gtk" = x ; then
20676 echo "$as_me:$LINENO: result: yes" >&5
20677echo "${ECHO_T}yes" >&6
20678 wx_cv_lib_gtk=1.2.7
20679 else
20680 echo "$as_me:$LINENO: result: no" >&5
20681echo "${ECHO_T}no" >&6
20682 if test "$GTK_CONFIG" = "no" ; then
20683 echo "*** The gtk-config script installed by GTK could not be found"
20684 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20685 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20686 echo "*** full path to gtk-config."
20687 else
20688 if test -f conf.gtktest ; then
20689 :
20690 else
20691 echo "*** Could not run GTK test program, checking why..."
20692 CFLAGS="$CFLAGS $GTK_CFLAGS"
20693 LIBS="$LIBS $GTK_LIBS"
20694 cat >conftest.$ac_ext <<_ACEOF
20695#line $LINENO "configure"
20696/* confdefs.h. */
20697_ACEOF
20698cat confdefs.h >>conftest.$ac_ext
20699cat >>conftest.$ac_ext <<_ACEOF
20700/* end confdefs.h. */
20701
20702#include <gtk/gtk.h>
20703#include <stdio.h>
20704
20705int
20706main ()
20707{
20708 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20709 ;
20710 return 0;
20711}
20712_ACEOF
20713rm -f conftest.$ac_objext conftest$ac_exeext
20714if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20715 (eval $ac_link) 2>&5
20716 ac_status=$?
20717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20718 (exit $ac_status); } &&
20719 { ac_try='test -s conftest$ac_exeext'
20720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20721 (eval $ac_try) 2>&5
20722 ac_status=$?
20723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20724 (exit $ac_status); }; }; then
20725 echo "*** The test program compiled, but did not run. This usually means"
20726 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20727 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20728 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20729 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20730 echo "*** is required on your system"
20731 echo "***"
20732 echo "*** If you have an old version installed, it is best to remove it, although"
20733 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20734 echo "***"
20735 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20736 echo "*** came with the system with the command"
20737 echo "***"
20738 echo "*** rpm --erase --nodeps gtk gtk-devel"
20739else
20740 echo "$as_me: failed program was:" >&5
20741sed 's/^/| /' conftest.$ac_ext >&5
20742
20743 echo "*** The test program failed to compile or link. See the file config.log for the"
20744 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20745 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20746 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20747fi
20748rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20749 CFLAGS="$ac_save_CFLAGS"
20750 LIBS="$ac_save_LIBS"
20751 fi
20752 fi
20753 GTK_CFLAGS=""
20754 GTK_LIBS=""
20755 :
20756 fi
20757
20758
20759 rm -f conf.gtktest
20760
20761
20762 if test -z "$wx_cv_lib_gtk"; then
20763
20764# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20765if test "${with_gtk_prefix+set}" = set; then
20766 withval="$with_gtk_prefix"
20767 gtk_config_prefix="$withval"
20768else
20769 gtk_config_prefix=""
20770fi;
20771
20772# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20773if test "${with_gtk_exec_prefix+set}" = set; then
20774 withval="$with_gtk_exec_prefix"
20775 gtk_config_exec_prefix="$withval"
20776else
20777 gtk_config_exec_prefix=""
20778fi;
20779# Check whether --enable-gtktest or --disable-gtktest was given.
20780if test "${enable_gtktest+set}" = set; then
20781 enableval="$enable_gtktest"
20782
20783else
20784 enable_gtktest=yes
20785fi;
20786
20787 for module in . $GTK_MODULES
20788 do
20789 case "$module" in
20790 gthread)
20791 gtk_config_args="$gtk_config_args gthread"
20792 ;;
20793 esac
20794 done
20795
20796 if test x$gtk_config_exec_prefix != x ; then
20797 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20798 if test x${GTK_CONFIG+set} != xset ; then
20799 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20800 fi
20801 fi
20802 if test x$gtk_config_prefix != x ; then
20803 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20804 if test x${GTK_CONFIG+set} != xset ; then
20805 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20806 fi
20807 fi
20808
20809 # Extract the first word of "gtk-config", so it can be a program name with args.
20810set dummy gtk-config; ac_word=$2
20811echo "$as_me:$LINENO: checking for $ac_word" >&5
20812echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20813if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20814 echo $ECHO_N "(cached) $ECHO_C" >&6
20815else
20816 case $GTK_CONFIG in
20817 [\\/]* | ?:[\\/]*)
20818 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20819 ;;
20820 *)
20821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20822for as_dir in $PATH
20823do
20824 IFS=$as_save_IFS
20825 test -z "$as_dir" && as_dir=.
20826 for ac_exec_ext in '' $ac_executable_extensions; do
20827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20828 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20830 break 2
20831 fi
20832done
20833done
20834
20835 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20836 ;;
20837esac
20838fi
20839GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20840
20841if test -n "$GTK_CONFIG"; then
20842 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20843echo "${ECHO_T}$GTK_CONFIG" >&6
20844else
20845 echo "$as_me:$LINENO: result: no" >&5
20846echo "${ECHO_T}no" >&6
20847fi
20848
20849 min_gtk_version=1.2.3
20850 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20851echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20852 no_gtk=""
20853 if test "$GTK_CONFIG" = "no" ; then
20854 no_gtk=yes
20855 else
20856 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20857 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20858 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20859 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20860 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20861 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20862 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20863 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20864 if test "x$enable_gtktest" = "xyes" ; then
20865 ac_save_CFLAGS="$CFLAGS"
20866 ac_save_LIBS="$LIBS"
20867 CFLAGS="$CFLAGS $GTK_CFLAGS"
20868 LIBS="$GTK_LIBS $LIBS"
20869 rm -f conf.gtktest
20870 if test "$cross_compiling" = yes; then
20871 echo $ac_n "cross compiling; assumed OK... $ac_c"
20872else
20873 cat >conftest.$ac_ext <<_ACEOF
20874#line $LINENO "configure"
20875/* confdefs.h. */
20876_ACEOF
20877cat confdefs.h >>conftest.$ac_ext
20878cat >>conftest.$ac_ext <<_ACEOF
20879/* end confdefs.h. */
20880
20881#include <gtk/gtk.h>
20882#include <stdio.h>
20883#include <stdlib.h>
20884
20885int
20886main ()
20887{
20888 int major, minor, micro;
20889 char *tmp_version;
20890
20891 system ("touch conf.gtktest");
20892
20893 /* HP/UX 9 (%@#!) writes to sscanf strings */
20894 tmp_version = g_strdup("$min_gtk_version");
20895 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20896 printf("%s, bad version string\n", "$min_gtk_version");
20897 exit(1);
20898 }
20899
20900 if ((gtk_major_version != $gtk_config_major_version) ||
20901 (gtk_minor_version != $gtk_config_minor_version) ||
20902 (gtk_micro_version != $gtk_config_micro_version))
20903 {
20904 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20905 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20906 gtk_major_version, gtk_minor_version, gtk_micro_version);
20907 printf ("*** was found! If gtk-config was correct, then it is best\n");
20908 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20909 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20910 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20911 printf("*** required on your system.\n");
20912 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20913 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20914 printf("*** before re-running configure\n");
20915 }
20916#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20917 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20918 (gtk_minor_version != GTK_MINOR_VERSION) ||
20919 (gtk_micro_version != GTK_MICRO_VERSION))
20920 {
20921 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20922 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20923 printf("*** library (version %d.%d.%d)\n",
20924 gtk_major_version, gtk_minor_version, gtk_micro_version);
20925 }
20926#endif /* defined (GTK_MAJOR_VERSION) ... */
20927 else
20928 {
20929 if ((gtk_major_version > major) ||
20930 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20931 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20932 {
20933 return 0;
20934 }
20935 else
20936 {
20937 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20938 gtk_major_version, gtk_minor_version, gtk_micro_version);
20939 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20940 major, minor, micro);
20941 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20942 printf("***\n");
20943 printf("*** If you have already installed a sufficiently new version, this error\n");
20944 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20945 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20946 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20947 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20948 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20949 printf("*** so that the correct libraries are found at run-time))\n");
20950 }
20951 }
20952 return 1;
20953}
20954
20955_ACEOF
20956rm -f conftest$ac_exeext
20957if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20958 (eval $ac_link) 2>&5
20959 ac_status=$?
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20963 (eval $ac_try) 2>&5
20964 ac_status=$?
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); }; }; then
20967 :
20968else
20969 echo "$as_me: program exited with status $ac_status" >&5
20970echo "$as_me: failed program was:" >&5
20971sed 's/^/| /' conftest.$ac_ext >&5
20972
20973( exit $ac_status )
20974no_gtk=yes
20975fi
20976rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20977fi
20978 CFLAGS="$ac_save_CFLAGS"
20979 LIBS="$ac_save_LIBS"
20980 fi
20981 fi
20982 if test "x$no_gtk" = x ; then
20983 echo "$as_me:$LINENO: result: yes" >&5
20984echo "${ECHO_T}yes" >&6
20985 wx_cv_lib_gtk=1.2.3
20986 else
20987 echo "$as_me:$LINENO: result: no" >&5
20988echo "${ECHO_T}no" >&6
20989 if test "$GTK_CONFIG" = "no" ; then
20990 echo "*** The gtk-config script installed by GTK could not be found"
20991 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20992 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20993 echo "*** full path to gtk-config."
20994 else
20995 if test -f conf.gtktest ; then
20996 :
20997 else
20998 echo "*** Could not run GTK test program, checking why..."
20999 CFLAGS="$CFLAGS $GTK_CFLAGS"
21000 LIBS="$LIBS $GTK_LIBS"
21001 cat >conftest.$ac_ext <<_ACEOF
21002#line $LINENO "configure"
21003/* confdefs.h. */
21004_ACEOF
21005cat confdefs.h >>conftest.$ac_ext
21006cat >>conftest.$ac_ext <<_ACEOF
21007/* end confdefs.h. */
21008
21009#include <gtk/gtk.h>
21010#include <stdio.h>
21011
21012int
21013main ()
21014{
21015 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21016 ;
21017 return 0;
21018}
21019_ACEOF
21020rm -f conftest.$ac_objext conftest$ac_exeext
21021if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21022 (eval $ac_link) 2>&5
21023 ac_status=$?
21024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21025 (exit $ac_status); } &&
21026 { ac_try='test -s conftest$ac_exeext'
21027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21028 (eval $ac_try) 2>&5
21029 ac_status=$?
21030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031 (exit $ac_status); }; }; then
21032 echo "*** The test program compiled, but did not run. This usually means"
21033 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21034 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21035 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21036 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21037 echo "*** is required on your system"
21038 echo "***"
21039 echo "*** If you have an old version installed, it is best to remove it, although"
21040 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21041 echo "***"
21042 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21043 echo "*** came with the system with the command"
21044 echo "***"
21045 echo "*** rpm --erase --nodeps gtk gtk-devel"
21046else
21047 echo "$as_me: failed program was:" >&5
21048sed 's/^/| /' conftest.$ac_ext >&5
21049
21050 echo "*** The test program failed to compile or link. See the file config.log for the"
21051 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21052 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21053 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21054fi
21055rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21056 CFLAGS="$ac_save_CFLAGS"
21057 LIBS="$ac_save_LIBS"
21058 fi
21059 fi
21060 GTK_CFLAGS=""
21061 GTK_LIBS=""
21062 :
21063 fi
21064
21065
21066 rm -f conf.gtktest
21067
21068 fi
21069 fi
21070
21071 if test -z "$wx_cv_lib_gtk"; then
21072 wx_cv_lib_gtk=none
21073 else
21074 wx_cv_cflags_gtk=$GTK_CFLAGS
21075 wx_cv_libs_gtk=$GTK_LIBS
21076 fi
21077
21078
21079fi
21080
21081
21082 if test "$gtk_version_cached" = 1; then
21083 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
21084echo "${ECHO_T}$wx_cv_lib_gtk" >&6
21085 fi
21086
21087 case "$wx_cv_lib_gtk" in
21088 2.0) WXGTK20=1
21089 TOOLKIT_VERSION=2
21090 ;;
21091 1.2.7) WXGTK127=1
21092 WXGTK12=1
21093 ;;
21094 1.2.3) WXGTK12=1
21095 ;;
21096 *) { { echo "$as_me:$LINENO: error:
21097Please check that gtk-config is in path, the directory
21098where GTK+ libraries are installed (returned by
21099'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21100equivalent variable and GTK+ is version 1.2.3 or above.
21101 " >&5
21102echo "$as_me: error:
21103Please check that gtk-config is in path, the directory
21104where GTK+ libraries are installed (returned by
21105'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21106equivalent variable and GTK+ is version 1.2.3 or above.
21107 " >&2;}
21108 { (exit 1); exit 1; }; }
21109 ;;
21110 esac
21111
21112 if test "$WXGTK20" = 1; then
21113 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21114
21115 succeeded=no
21116
21117 if test -z "$PKG_CONFIG"; then
21118 # Extract the first word of "pkg-config", so it can be a program name with args.
21119set dummy pkg-config; ac_word=$2
21120echo "$as_me:$LINENO: checking for $ac_word" >&5
21121echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21122if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21123 echo $ECHO_N "(cached) $ECHO_C" >&6
21124else
21125 case $PKG_CONFIG in
21126 [\\/]* | ?:[\\/]*)
21127 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21128 ;;
21129 *)
21130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21131for as_dir in $PATH
21132do
21133 IFS=$as_save_IFS
21134 test -z "$as_dir" && as_dir=.
21135 for ac_exec_ext in '' $ac_executable_extensions; do
21136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21137 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21139 break 2
21140 fi
21141done
21142done
21143
21144 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21145 ;;
21146esac
21147fi
21148PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21149
21150if test -n "$PKG_CONFIG"; then
21151 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21152echo "${ECHO_T}$PKG_CONFIG" >&6
21153else
21154 echo "$as_me:$LINENO: result: no" >&5
21155echo "${ECHO_T}no" >&6
21156fi
21157
21158 fi
21159
21160 if test "$PKG_CONFIG" = "no" ; then
21161 echo "*** The pkg-config script could not be found. Make sure it is"
21162 echo "*** in your path, or set the PKG_CONFIG environment variable"
21163 echo "*** to the full path to pkg-config."
21164 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21165 else
21166 PKG_CONFIG_MIN_VERSION=0.9.0
21167 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21168 echo "$as_me:$LINENO: checking for pangoft2" >&5
21169echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
21170
21171 if $PKG_CONFIG --exists "pangoft2" ; then
21172 echo "$as_me:$LINENO: result: yes" >&5
21173echo "${ECHO_T}yes" >&6
21174 succeeded=yes
21175
21176 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
21177echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
21178 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
21179 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
21180echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
21181
21182 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
21183echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
21184 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
21185 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
21186echo "${ECHO_T}$PANGOFT2_LIBS" >&6
21187 else
21188 PANGOFT2_CFLAGS=""
21189 PANGOFT2_LIBS=""
21190 ## If we have a custom action on failure, don't print errors, but
21191 ## do set a variable so people can do so.
21192 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
21193
21194 fi
21195
21196
21197
21198 else
21199 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21200 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21201 fi
21202 fi
21203
21204 if test $succeeded = yes; then
21205
21206 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
21207 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
21208
21209 else
21210
21211 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
21212echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
21213 wxUSE_PRINTING_ARCHITECTURE="no"
21214
21215
21216 fi
21217
21218 fi
21219 else
21220 if test "$wxUSE_UNICODE" = "yes"; then
21221 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
21222echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
21223 wxUSE_UNICODE=no
21224 fi
21225 fi
21226
21227 if test "$USE_DARWIN" != 1; then
21228
21229for ac_func in poll
21230do
21231as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21232echo "$as_me:$LINENO: checking for $ac_func" >&5
21233echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21234if eval "test \"\${$as_ac_var+set}\" = set"; then
21235 echo $ECHO_N "(cached) $ECHO_C" >&6
21236else
21237 cat >conftest.$ac_ext <<_ACEOF
21238#line $LINENO "configure"
21239/* confdefs.h. */
21240_ACEOF
21241cat confdefs.h >>conftest.$ac_ext
21242cat >>conftest.$ac_ext <<_ACEOF
21243/* end confdefs.h. */
21244/* System header to define __stub macros and hopefully few prototypes,
21245 which can conflict with char $ac_func (); below.
21246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21247 <limits.h> exists even on freestanding compilers. */
21248#ifdef __STDC__
21249# include <limits.h>
21250#else
21251# include <assert.h>
21252#endif
21253/* Override any gcc2 internal prototype to avoid an error. */
21254#ifdef __cplusplus
21255extern "C"
21256{
21257#endif
21258/* We use char because int might match the return type of a gcc2
21259 builtin and then its argument prototype would still apply. */
21260char $ac_func ();
21261/* The GNU C library defines this for functions which it implements
21262 to always fail with ENOSYS. Some functions are actually named
21263 something starting with __ and the normal name is an alias. */
21264#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21265choke me
21266#else
21267char (*f) () = $ac_func;
21268#endif
21269#ifdef __cplusplus
21270}
21271#endif
21272
21273int
21274main ()
21275{
21276return f != $ac_func;
21277 ;
21278 return 0;
21279}
21280_ACEOF
21281rm -f conftest.$ac_objext conftest$ac_exeext
21282if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21283 (eval $ac_link) 2>&5
21284 ac_status=$?
21285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21286 (exit $ac_status); } &&
21287 { ac_try='test -s conftest$ac_exeext'
21288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21289 (eval $ac_try) 2>&5
21290 ac_status=$?
21291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21292 (exit $ac_status); }; }; then
21293 eval "$as_ac_var=yes"
21294else
21295 echo "$as_me: failed program was:" >&5
21296sed 's/^/| /' conftest.$ac_ext >&5
21297
21298eval "$as_ac_var=no"
21299fi
21300rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21301fi
21302echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21303echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21304if test `eval echo '${'$as_ac_var'}'` = yes; then
21305 cat >>confdefs.h <<_ACEOF
21306#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21307_ACEOF
21308
21309fi
21310done
21311
21312 fi
21313
21314 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
21315 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21316
21317 AFMINSTALL=afminstall
21318 TOOLKIT=GTK
21319 GUIDIST=GTK_DIST
21320
21321 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21322echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21323if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21324 echo $ECHO_N "(cached) $ECHO_C" >&6
21325else
21326 ac_check_lib_save_LIBS=$LIBS
21327LIBS="-lgdk $LIBS"
21328cat >conftest.$ac_ext <<_ACEOF
21329#line $LINENO "configure"
21330/* confdefs.h. */
21331_ACEOF
21332cat confdefs.h >>conftest.$ac_ext
21333cat >>conftest.$ac_ext <<_ACEOF
21334/* end confdefs.h. */
21335
21336/* Override any gcc2 internal prototype to avoid an error. */
21337#ifdef __cplusplus
21338extern "C"
21339#endif
21340/* We use char because int might match the return type of a gcc2
21341 builtin and then its argument prototype would still apply. */
21342char gdk_im_open ();
21343int
21344main ()
21345{
21346gdk_im_open ();
21347 ;
21348 return 0;
21349}
21350_ACEOF
21351rm -f conftest.$ac_objext conftest$ac_exeext
21352if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21353 (eval $ac_link) 2>&5
21354 ac_status=$?
21355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21356 (exit $ac_status); } &&
21357 { ac_try='test -s conftest$ac_exeext'
21358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21359 (eval $ac_try) 2>&5
21360 ac_status=$?
21361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21362 (exit $ac_status); }; }; then
21363 ac_cv_lib_gdk_gdk_im_open=yes
21364else
21365 echo "$as_me: failed program was:" >&5
21366sed 's/^/| /' conftest.$ac_ext >&5
21367
21368ac_cv_lib_gdk_gdk_im_open=no
21369fi
21370rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21371LIBS=$ac_check_lib_save_LIBS
21372fi
21373echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21374echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21375if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21376 cat >>confdefs.h <<\_ACEOF
21377#define HAVE_XIM 1
21378_ACEOF
21379
21380fi
21381
21382 fi
21383
21384 if test "$wxUSE_MGL" = 1; then
21385 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21386echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21387 if test "x$MGL_ROOT" = x ; then
21388 echo "$as_me:$LINENO: result: not found" >&5
21389echo "${ECHO_T}not found" >&6
21390 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21391echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21392 { (exit 1); exit 1; }; }
21393 else
21394 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21395echo "${ECHO_T}$MGL_ROOT" >&6
21396 fi
21397
21398 echo "$as_me:$LINENO: checking for libmgl location" >&5
21399echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21400 case "${host}" in
21401 *-*-linux* )
21402 if test "x$wxUSE_SHARED" = xyes ; then
21403 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
21404 else
21405 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
21406 fi
21407 ;;
21408 *-pc-msdosdjgpp )
21409 mgl_os_candidates="dos32/dj2"
21410 ;;
21411 *)
21412 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21413echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21414 { (exit 1); exit 1; }; }
21415 esac
21416
21417 mgl_lib_type=""
21418 mgl_os=""
21419
21420 for mgl_os_i in $mgl_os_candidates ; do
21421 if test "x$mgl_os" = x ; then
21422 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21423 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
21424 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
21425 mgl_lib_type=debug
21426 mgl_os=$mgl_os_i
21427 fi
21428 fi
21429 if test "x$mgl_lib_type" = x ; then
21430 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
21431 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
21432 mgl_lib_type=release
21433 mgl_os=$mgl_os_i
21434 fi
21435 fi
21436 fi
21437 done
21438
21439 if test "x$mgl_os" = x ; then
21440 echo "$as_me:$LINENO: result: not found" >&5
21441echo "${ECHO_T}not found" >&6
21442 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21443echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21444 { (exit 1); exit 1; }; }
21445 fi
21446 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21447echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21448
21449 wxUSE_UNIVERSAL="yes"
21450
21451 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
21452 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21453
21454 AFMINSTALL=afminstall
21455 TOOLKIT=MGL
21456 GUIDIST=MGL_DIST
21457 fi
21458
21459 if test "$wxUSE_MICROWIN" = 1; then
21460 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21461echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21462 if test "x$MICROWINDOWS" = x ; then
21463 echo "$as_me:$LINENO: result: not found" >&5
21464echo "${ECHO_T}not found" >&6
21465 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21466echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21467 { (exit 1); exit 1; }; }
21468 else
21469 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21470echo "${ECHO_T}$MICROWINDOWS" >&6
21471 fi
21472
21473 if test -f $MICROWINDOWS/lib/libmwin.a; then
21474 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21475echo "${ECHO_T}MicroWindows' libraries found." >&6
21476 else
21477 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21478echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21479 { (exit 1); exit 1; }; }
21480 fi
21481
21482 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
21483 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21484
21485 wxUSE_UNIVERSAL="yes"
21486
21487 AFMINSTALL=afminstall
21488 TOOLKIT=MICROWIN
21489 GUIDIST=MICROWIN_DIST
21490
21491 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21492 fi
21493
21494 if test "$wxUSE_X11" = 1; then
21495 echo "$as_me:$LINENO: checking for X" >&5
21496echo $ECHO_N "checking for X... $ECHO_C" >&6
21497
21498
21499# Check whether --with-x or --without-x was given.
21500if test "${with_x+set}" = set; then
21501 withval="$with_x"
21502
21503fi;
21504# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21505if test "x$with_x" = xno; then
21506 # The user explicitly disabled X.
21507 have_x=disabled
21508else
21509 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
21510 # Both variables are already set.
21511 have_x=yes
21512 else
21513 if test "${ac_cv_have_x+set}" = set; then
21514 echo $ECHO_N "(cached) $ECHO_C" >&6
21515else
21516 # One or both of the vars are not set, and there is no cached value.
21517ac_x_includes=no ac_x_libraries=no
21518rm -fr conftest.dir
21519if mkdir conftest.dir; then
21520 cd conftest.dir
21521 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21522 cat >Imakefile <<'_ACEOF'
21523acfindx:
21524 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21525_ACEOF
21526 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
21527 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21528 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21529 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21530 for ac_extension in a so sl; do
21531 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
21532 test -f $ac_im_libdir/libX11.$ac_extension; then
21533 ac_im_usrlibdir=$ac_im_libdir; break
21534 fi
21535 done
21536 # Screen out bogus values from the imake configuration. They are
21537 # bogus both because they are the default anyway, and because
21538 # using them would break gcc on systems where it needs fixed includes.
21539 case $ac_im_incroot in
21540 /usr/include) ;;
21541 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
21542 esac
21543 case $ac_im_usrlibdir in
21544 /usr/lib | /lib) ;;
21545 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21546 esac
21547 fi
21548 cd ..
21549 rm -fr conftest.dir
21550fi
21551
21552# Standard set of common directories for X headers.
21553# Check X11 before X11Rn because it is often a symlink to the current release.
21554ac_x_header_dirs='
21555/usr/X11/include
21556/usr/X11R6/include
21557/usr/X11R5/include
21558/usr/X11R4/include
21559
21560/usr/include/X11
21561/usr/include/X11R6
21562/usr/include/X11R5
21563/usr/include/X11R4
21564
21565/usr/local/X11/include
21566/usr/local/X11R6/include
21567/usr/local/X11R5/include
21568/usr/local/X11R4/include
21569
21570/usr/local/include/X11
21571/usr/local/include/X11R6
21572/usr/local/include/X11R5
21573/usr/local/include/X11R4
21574
21575/usr/X386/include
21576/usr/x386/include
21577/usr/XFree86/include/X11
21578
21579/usr/include
21580/usr/local/include
21581/usr/unsupported/include
21582/usr/athena/include
21583/usr/local/x11r5/include
21584/usr/lpp/Xamples/include
21585
21586/usr/openwin/include
21587/usr/openwin/share/include'
21588
21589if test "$ac_x_includes" = no; then
21590 # Guess where to find include files, by looking for Intrinsic.h.
21591 # First, try using that file with no special directory specified.
21592 cat >conftest.$ac_ext <<_ACEOF
21593#line $LINENO "configure"
21594/* confdefs.h. */
21595_ACEOF
21596cat confdefs.h >>conftest.$ac_ext
21597cat >>conftest.$ac_ext <<_ACEOF
21598/* end confdefs.h. */
21599#include <X11/Intrinsic.h>
21600_ACEOF
21601if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21602 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21603 ac_status=$?
21604 grep -v '^ *+' conftest.er1 >conftest.err
21605 rm -f conftest.er1
21606 cat conftest.err >&5
21607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21608 (exit $ac_status); } >/dev/null; then
21609 if test -s conftest.err; then
21610 ac_cpp_err=$ac_c_preproc_warn_flag
21611 else
21612 ac_cpp_err=
21613 fi
21614else
21615 ac_cpp_err=yes
21616fi
21617if test -z "$ac_cpp_err"; then
21618 # We can compile using X headers with no special include directory.
21619ac_x_includes=
21620else
21621 echo "$as_me: failed program was:" >&5
21622sed 's/^/| /' conftest.$ac_ext >&5
21623
21624 for ac_dir in $ac_x_header_dirs; do
21625 if test -r "$ac_dir/X11/Intrinsic.h"; then
21626 ac_x_includes=$ac_dir
21627 break
21628 fi
21629done
21630fi
21631rm -f conftest.err conftest.$ac_ext
21632fi # $ac_x_includes = no
21633
21634if test "$ac_x_libraries" = no; then
21635 # Check for the libraries.
21636 # See if we find them without any special options.
21637 # Don't add to $LIBS permanently.
21638 ac_save_LIBS=$LIBS
21639 LIBS="-lXt $LIBS"
21640 cat >conftest.$ac_ext <<_ACEOF
21641#line $LINENO "configure"
21642/* confdefs.h. */
21643_ACEOF
21644cat confdefs.h >>conftest.$ac_ext
21645cat >>conftest.$ac_ext <<_ACEOF
21646/* end confdefs.h. */
21647#include <X11/Intrinsic.h>
21648int
21649main ()
21650{
21651XtMalloc (0)
21652 ;
21653 return 0;
21654}
21655_ACEOF
21656rm -f conftest.$ac_objext conftest$ac_exeext
21657if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21658 (eval $ac_link) 2>&5
21659 ac_status=$?
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); } &&
21662 { ac_try='test -s conftest$ac_exeext'
21663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21664 (eval $ac_try) 2>&5
21665 ac_status=$?
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); }; }; then
21668 LIBS=$ac_save_LIBS
21669# We can link X programs with no special library path.
21670ac_x_libraries=
21671else
21672 echo "$as_me: failed program was:" >&5
21673sed 's/^/| /' conftest.$ac_ext >&5
21674
21675LIBS=$ac_save_LIBS
21676for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21677do
21678 # Don't even attempt the hair of trying to link an X program!
21679 for ac_extension in a so sl; do
21680 if test -r $ac_dir/libXt.$ac_extension; then
21681 ac_x_libraries=$ac_dir
21682 break 2
21683 fi
21684 done
21685done
21686fi
21687rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21688fi # $ac_x_libraries = no
21689
21690if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21691 # Didn't find X anywhere. Cache the known absence of X.
21692 ac_cv_have_x="have_x=no"
21693else
21694 # Record where we found X for the cache.
21695 ac_cv_have_x="have_x=yes \
21696 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21697fi
21698fi
21699
21700 fi
21701 eval "$ac_cv_have_x"
21702fi # $with_x != no
21703
21704if test "$have_x" != yes; then
21705 echo "$as_me:$LINENO: result: $have_x" >&5
21706echo "${ECHO_T}$have_x" >&6
21707 no_x=yes
21708else
21709 # If each of the values was on the command line, it overrides each guess.
21710 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21711 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21712 # Update the cache value to reflect the command line values.
21713 ac_cv_have_x="have_x=yes \
21714 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21715 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21716echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21717fi
21718
21719if test "$no_x" = yes; then
21720 # Not all programs may use this symbol, but it does not hurt to define it.
21721
21722cat >>confdefs.h <<\_ACEOF
21723#define X_DISPLAY_MISSING 1
21724_ACEOF
21725
21726 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21727else
21728 if test -n "$x_includes"; then
21729 X_CFLAGS="$X_CFLAGS -I$x_includes"
21730 fi
21731
21732 # It would also be nice to do this for all -L options, not just this one.
21733 if test -n "$x_libraries"; then
21734 X_LIBS="$X_LIBS -L$x_libraries"
21735 # For Solaris; some versions of Sun CC require a space after -R and
21736 # others require no space. Words are not sufficient . . . .
21737 case `(uname -sr) 2>/dev/null` in
21738 "SunOS 5"*)
21739 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21740echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21741 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21742 cat >conftest.$ac_ext <<_ACEOF
21743#line $LINENO "configure"
21744/* confdefs.h. */
21745_ACEOF
21746cat confdefs.h >>conftest.$ac_ext
21747cat >>conftest.$ac_ext <<_ACEOF
21748/* end confdefs.h. */
21749
21750int
21751main ()
21752{
21753
21754 ;
21755 return 0;
21756}
21757_ACEOF
21758rm -f conftest.$ac_objext conftest$ac_exeext
21759if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21760 (eval $ac_link) 2>&5
21761 ac_status=$?
21762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21763 (exit $ac_status); } &&
21764 { ac_try='test -s conftest$ac_exeext'
21765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21766 (eval $ac_try) 2>&5
21767 ac_status=$?
21768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21769 (exit $ac_status); }; }; then
21770 ac_R_nospace=yes
21771else
21772 echo "$as_me: failed program was:" >&5
21773sed 's/^/| /' conftest.$ac_ext >&5
21774
21775ac_R_nospace=no
21776fi
21777rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21778 if test $ac_R_nospace = yes; then
21779 echo "$as_me:$LINENO: result: no" >&5
21780echo "${ECHO_T}no" >&6
21781 X_LIBS="$X_LIBS -R$x_libraries"
21782 else
21783 LIBS="$ac_xsave_LIBS -R $x_libraries"
21784 cat >conftest.$ac_ext <<_ACEOF
21785#line $LINENO "configure"
21786/* confdefs.h. */
21787_ACEOF
21788cat confdefs.h >>conftest.$ac_ext
21789cat >>conftest.$ac_ext <<_ACEOF
21790/* end confdefs.h. */
21791
21792int
21793main ()
21794{
21795
21796 ;
21797 return 0;
21798}
21799_ACEOF
21800rm -f conftest.$ac_objext conftest$ac_exeext
21801if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21802 (eval $ac_link) 2>&5
21803 ac_status=$?
21804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21805 (exit $ac_status); } &&
21806 { ac_try='test -s conftest$ac_exeext'
21807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21808 (eval $ac_try) 2>&5
21809 ac_status=$?
21810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21811 (exit $ac_status); }; }; then
21812 ac_R_space=yes
21813else
21814 echo "$as_me: failed program was:" >&5
21815sed 's/^/| /' conftest.$ac_ext >&5
21816
21817ac_R_space=no
21818fi
21819rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21820 if test $ac_R_space = yes; then
21821 echo "$as_me:$LINENO: result: yes" >&5
21822echo "${ECHO_T}yes" >&6
21823 X_LIBS="$X_LIBS -R $x_libraries"
21824 else
21825 echo "$as_me:$LINENO: result: neither works" >&5
21826echo "${ECHO_T}neither works" >&6
21827 fi
21828 fi
21829 LIBS=$ac_xsave_LIBS
21830 esac
21831 fi
21832
21833 # Check for system-dependent libraries X programs must link with.
21834 # Do this before checking for the system-independent R6 libraries
21835 # (-lICE), since we may need -lsocket or whatever for X linking.
21836
21837 if test "$ISC" = yes; then
21838 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21839 else
21840 # Martyn Johnson says this is needed for Ultrix, if the X
21841 # libraries were built with DECnet support. And Karl Berry says
21842 # the Alpha needs dnet_stub (dnet does not exist).
21843 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21844 cat >conftest.$ac_ext <<_ACEOF
21845#line $LINENO "configure"
21846/* confdefs.h. */
21847_ACEOF
21848cat confdefs.h >>conftest.$ac_ext
21849cat >>conftest.$ac_ext <<_ACEOF
21850/* end confdefs.h. */
21851
21852/* Override any gcc2 internal prototype to avoid an error. */
21853#ifdef __cplusplus
21854extern "C"
21855#endif
21856/* We use char because int might match the return type of a gcc2
21857 builtin and then its argument prototype would still apply. */
21858char XOpenDisplay ();
21859int
21860main ()
21861{
21862XOpenDisplay ();
21863 ;
21864 return 0;
21865}
21866_ACEOF
21867rm -f conftest.$ac_objext conftest$ac_exeext
21868if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21869 (eval $ac_link) 2>&5
21870 ac_status=$?
21871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21872 (exit $ac_status); } &&
21873 { ac_try='test -s conftest$ac_exeext'
21874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21875 (eval $ac_try) 2>&5
21876 ac_status=$?
21877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21878 (exit $ac_status); }; }; then
21879 :
21880else
21881 echo "$as_me: failed program was:" >&5
21882sed 's/^/| /' conftest.$ac_ext >&5
21883
21884echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21885echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21886if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21887 echo $ECHO_N "(cached) $ECHO_C" >&6
21888else
21889 ac_check_lib_save_LIBS=$LIBS
21890LIBS="-ldnet $LIBS"
21891cat >conftest.$ac_ext <<_ACEOF
21892#line $LINENO "configure"
21893/* confdefs.h. */
21894_ACEOF
21895cat confdefs.h >>conftest.$ac_ext
21896cat >>conftest.$ac_ext <<_ACEOF
21897/* end confdefs.h. */
21898
21899/* Override any gcc2 internal prototype to avoid an error. */
21900#ifdef __cplusplus
21901extern "C"
21902#endif
21903/* We use char because int might match the return type of a gcc2
21904 builtin and then its argument prototype would still apply. */
21905char dnet_ntoa ();
21906int
21907main ()
21908{
21909dnet_ntoa ();
21910 ;
21911 return 0;
21912}
21913_ACEOF
21914rm -f conftest.$ac_objext conftest$ac_exeext
21915if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21916 (eval $ac_link) 2>&5
21917 ac_status=$?
21918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21919 (exit $ac_status); } &&
21920 { ac_try='test -s conftest$ac_exeext'
21921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21922 (eval $ac_try) 2>&5
21923 ac_status=$?
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); }; }; then
21926 ac_cv_lib_dnet_dnet_ntoa=yes
21927else
21928 echo "$as_me: failed program was:" >&5
21929sed 's/^/| /' conftest.$ac_ext >&5
21930
21931ac_cv_lib_dnet_dnet_ntoa=no
21932fi
21933rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21934LIBS=$ac_check_lib_save_LIBS
21935fi
21936echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21937echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21938if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21939 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21940fi
21941
21942 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21943 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21944echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21945if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21946 echo $ECHO_N "(cached) $ECHO_C" >&6
21947else
21948 ac_check_lib_save_LIBS=$LIBS
21949LIBS="-ldnet_stub $LIBS"
21950cat >conftest.$ac_ext <<_ACEOF
21951#line $LINENO "configure"
21952/* confdefs.h. */
21953_ACEOF
21954cat confdefs.h >>conftest.$ac_ext
21955cat >>conftest.$ac_ext <<_ACEOF
21956/* end confdefs.h. */
21957
21958/* Override any gcc2 internal prototype to avoid an error. */
21959#ifdef __cplusplus
21960extern "C"
21961#endif
21962/* We use char because int might match the return type of a gcc2
21963 builtin and then its argument prototype would still apply. */
21964char dnet_ntoa ();
21965int
21966main ()
21967{
21968dnet_ntoa ();
21969 ;
21970 return 0;
21971}
21972_ACEOF
21973rm -f conftest.$ac_objext conftest$ac_exeext
21974if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21975 (eval $ac_link) 2>&5
21976 ac_status=$?
21977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21978 (exit $ac_status); } &&
21979 { ac_try='test -s conftest$ac_exeext'
21980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21981 (eval $ac_try) 2>&5
21982 ac_status=$?
21983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21984 (exit $ac_status); }; }; then
21985 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21986else
21987 echo "$as_me: failed program was:" >&5
21988sed 's/^/| /' conftest.$ac_ext >&5
21989
21990ac_cv_lib_dnet_stub_dnet_ntoa=no
21991fi
21992rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21993LIBS=$ac_check_lib_save_LIBS
21994fi
21995echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21996echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21997if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21998 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21999fi
22000
22001 fi
22002fi
22003rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22004 LIBS="$ac_xsave_LIBS"
22005
22006 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22007 # to get the SysV transport functions.
22008 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22009 # needs -lnsl.
22010 # The nsl library prevents programs from opening the X display
22011 # on Irix 5.2, according to T.E. Dickey.
22012 # The functions gethostbyname, getservbyname, and inet_addr are
22013 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22014 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22015echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22016if test "${ac_cv_func_gethostbyname+set}" = set; then
22017 echo $ECHO_N "(cached) $ECHO_C" >&6
22018else
22019 cat >conftest.$ac_ext <<_ACEOF
22020#line $LINENO "configure"
22021/* confdefs.h. */
22022_ACEOF
22023cat confdefs.h >>conftest.$ac_ext
22024cat >>conftest.$ac_ext <<_ACEOF
22025/* end confdefs.h. */
22026/* System header to define __stub macros and hopefully few prototypes,
22027 which can conflict with char gethostbyname (); below.
22028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22029 <limits.h> exists even on freestanding compilers. */
22030#ifdef __STDC__
22031# include <limits.h>
22032#else
22033# include <assert.h>
22034#endif
22035/* Override any gcc2 internal prototype to avoid an error. */
22036#ifdef __cplusplus
22037extern "C"
22038{
22039#endif
22040/* We use char because int might match the return type of a gcc2
22041 builtin and then its argument prototype would still apply. */
22042char gethostbyname ();
22043/* The GNU C library defines this for functions which it implements
22044 to always fail with ENOSYS. Some functions are actually named
22045 something starting with __ and the normal name is an alias. */
22046#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22047choke me
22048#else
22049char (*f) () = gethostbyname;
22050#endif
22051#ifdef __cplusplus
22052}
22053#endif
22054
22055int
22056main ()
22057{
22058return f != gethostbyname;
22059 ;
22060 return 0;
22061}
22062_ACEOF
22063rm -f conftest.$ac_objext conftest$ac_exeext
22064if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22065 (eval $ac_link) 2>&5
22066 ac_status=$?
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); } &&
22069 { ac_try='test -s conftest$ac_exeext'
22070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22071 (eval $ac_try) 2>&5
22072 ac_status=$?
22073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22074 (exit $ac_status); }; }; then
22075 ac_cv_func_gethostbyname=yes
22076else
22077 echo "$as_me: failed program was:" >&5
22078sed 's/^/| /' conftest.$ac_ext >&5
22079
22080ac_cv_func_gethostbyname=no
22081fi
22082rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22083fi
22084echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22085echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22086
22087 if test $ac_cv_func_gethostbyname = no; then
22088 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22089echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22090if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22091 echo $ECHO_N "(cached) $ECHO_C" >&6
22092else
22093 ac_check_lib_save_LIBS=$LIBS
22094LIBS="-lnsl $LIBS"
22095cat >conftest.$ac_ext <<_ACEOF
22096#line $LINENO "configure"
22097/* confdefs.h. */
22098_ACEOF
22099cat confdefs.h >>conftest.$ac_ext
22100cat >>conftest.$ac_ext <<_ACEOF
22101/* end confdefs.h. */
22102
22103/* Override any gcc2 internal prototype to avoid an error. */
22104#ifdef __cplusplus
22105extern "C"
22106#endif
22107/* We use char because int might match the return type of a gcc2
22108 builtin and then its argument prototype would still apply. */
22109char gethostbyname ();
22110int
22111main ()
22112{
22113gethostbyname ();
22114 ;
22115 return 0;
22116}
22117_ACEOF
22118rm -f conftest.$ac_objext conftest$ac_exeext
22119if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22120 (eval $ac_link) 2>&5
22121 ac_status=$?
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); } &&
22124 { ac_try='test -s conftest$ac_exeext'
22125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22126 (eval $ac_try) 2>&5
22127 ac_status=$?
22128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22129 (exit $ac_status); }; }; then
22130 ac_cv_lib_nsl_gethostbyname=yes
22131else
22132 echo "$as_me: failed program was:" >&5
22133sed 's/^/| /' conftest.$ac_ext >&5
22134
22135ac_cv_lib_nsl_gethostbyname=no
22136fi
22137rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22138LIBS=$ac_check_lib_save_LIBS
22139fi
22140echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22141echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22142if test $ac_cv_lib_nsl_gethostbyname = yes; then
22143 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22144fi
22145
22146 if test $ac_cv_lib_nsl_gethostbyname = no; then
22147 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22148echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22149if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22150 echo $ECHO_N "(cached) $ECHO_C" >&6
22151else
22152 ac_check_lib_save_LIBS=$LIBS
22153LIBS="-lbsd $LIBS"
22154cat >conftest.$ac_ext <<_ACEOF
22155#line $LINENO "configure"
22156/* confdefs.h. */
22157_ACEOF
22158cat confdefs.h >>conftest.$ac_ext
22159cat >>conftest.$ac_ext <<_ACEOF
22160/* end confdefs.h. */
22161
22162/* Override any gcc2 internal prototype to avoid an error. */
22163#ifdef __cplusplus
22164extern "C"
22165#endif
22166/* We use char because int might match the return type of a gcc2
22167 builtin and then its argument prototype would still apply. */
22168char gethostbyname ();
22169int
22170main ()
22171{
22172gethostbyname ();
22173 ;
22174 return 0;
22175}
22176_ACEOF
22177rm -f conftest.$ac_objext conftest$ac_exeext
22178if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22179 (eval $ac_link) 2>&5
22180 ac_status=$?
22181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182 (exit $ac_status); } &&
22183 { ac_try='test -s conftest$ac_exeext'
22184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22185 (eval $ac_try) 2>&5
22186 ac_status=$?
22187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22188 (exit $ac_status); }; }; then
22189 ac_cv_lib_bsd_gethostbyname=yes
22190else
22191 echo "$as_me: failed program was:" >&5
22192sed 's/^/| /' conftest.$ac_ext >&5
22193
22194ac_cv_lib_bsd_gethostbyname=no
22195fi
22196rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22197LIBS=$ac_check_lib_save_LIBS
22198fi
22199echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22200echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22201if test $ac_cv_lib_bsd_gethostbyname = yes; then
22202 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
22203fi
22204
22205 fi
22206 fi
22207
22208 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22209 # socket/setsockopt and other routines are undefined under SCO ODT
22210 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22211 # on later versions), says Simon Leinen: it contains gethostby*
22212 # variants that don't use the name server (or something). -lsocket
22213 # must be given before -lnsl if both are needed. We assume that
22214 # if connect needs -lnsl, so does gethostbyname.
22215 echo "$as_me:$LINENO: checking for connect" >&5
22216echo $ECHO_N "checking for connect... $ECHO_C" >&6
22217if test "${ac_cv_func_connect+set}" = set; then
22218 echo $ECHO_N "(cached) $ECHO_C" >&6
22219else
22220 cat >conftest.$ac_ext <<_ACEOF
22221#line $LINENO "configure"
22222/* confdefs.h. */
22223_ACEOF
22224cat confdefs.h >>conftest.$ac_ext
22225cat >>conftest.$ac_ext <<_ACEOF
22226/* end confdefs.h. */
22227/* System header to define __stub macros and hopefully few prototypes,
22228 which can conflict with char connect (); below.
22229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22230 <limits.h> exists even on freestanding compilers. */
22231#ifdef __STDC__
22232# include <limits.h>
22233#else
22234# include <assert.h>
22235#endif
22236/* Override any gcc2 internal prototype to avoid an error. */
22237#ifdef __cplusplus
22238extern "C"
22239{
22240#endif
22241/* We use char because int might match the return type of a gcc2
22242 builtin and then its argument prototype would still apply. */
22243char connect ();
22244/* The GNU C library defines this for functions which it implements
22245 to always fail with ENOSYS. Some functions are actually named
22246 something starting with __ and the normal name is an alias. */
22247#if defined (__stub_connect) || defined (__stub___connect)
22248choke me
22249#else
22250char (*f) () = connect;
22251#endif
22252#ifdef __cplusplus
22253}
22254#endif
22255
22256int
22257main ()
22258{
22259return f != connect;
22260 ;
22261 return 0;
22262}
22263_ACEOF
22264rm -f conftest.$ac_objext conftest$ac_exeext
22265if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22266 (eval $ac_link) 2>&5
22267 ac_status=$?
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); } &&
22270 { ac_try='test -s conftest$ac_exeext'
22271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22272 (eval $ac_try) 2>&5
22273 ac_status=$?
22274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22275 (exit $ac_status); }; }; then
22276 ac_cv_func_connect=yes
22277else
22278 echo "$as_me: failed program was:" >&5
22279sed 's/^/| /' conftest.$ac_ext >&5
22280
22281ac_cv_func_connect=no
22282fi
22283rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22284fi
22285echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22286echo "${ECHO_T}$ac_cv_func_connect" >&6
22287
22288 if test $ac_cv_func_connect = no; then
22289 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22290echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22291if test "${ac_cv_lib_socket_connect+set}" = set; then
22292 echo $ECHO_N "(cached) $ECHO_C" >&6
22293else
22294 ac_check_lib_save_LIBS=$LIBS
22295LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
22296cat >conftest.$ac_ext <<_ACEOF
22297#line $LINENO "configure"
22298/* confdefs.h. */
22299_ACEOF
22300cat confdefs.h >>conftest.$ac_ext
22301cat >>conftest.$ac_ext <<_ACEOF
22302/* end confdefs.h. */
22303
22304/* Override any gcc2 internal prototype to avoid an error. */
22305#ifdef __cplusplus
22306extern "C"
22307#endif
22308/* We use char because int might match the return type of a gcc2
22309 builtin and then its argument prototype would still apply. */
22310char connect ();
22311int
22312main ()
22313{
22314connect ();
22315 ;
22316 return 0;
22317}
22318_ACEOF
22319rm -f conftest.$ac_objext conftest$ac_exeext
22320if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22321 (eval $ac_link) 2>&5
22322 ac_status=$?
22323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22324 (exit $ac_status); } &&
22325 { ac_try='test -s conftest$ac_exeext'
22326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22327 (eval $ac_try) 2>&5
22328 ac_status=$?
22329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22330 (exit $ac_status); }; }; then
22331 ac_cv_lib_socket_connect=yes
22332else
22333 echo "$as_me: failed program was:" >&5
22334sed 's/^/| /' conftest.$ac_ext >&5
22335
22336ac_cv_lib_socket_connect=no
22337fi
22338rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22339LIBS=$ac_check_lib_save_LIBS
22340fi
22341echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22342echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22343if test $ac_cv_lib_socket_connect = yes; then
22344 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
22345fi
22346
22347 fi
22348
22349 # Guillermo Gomez says -lposix is necessary on A/UX.
22350 echo "$as_me:$LINENO: checking for remove" >&5
22351echo $ECHO_N "checking for remove... $ECHO_C" >&6
22352if test "${ac_cv_func_remove+set}" = set; then
22353 echo $ECHO_N "(cached) $ECHO_C" >&6
22354else
22355 cat >conftest.$ac_ext <<_ACEOF
22356#line $LINENO "configure"
22357/* confdefs.h. */
22358_ACEOF
22359cat confdefs.h >>conftest.$ac_ext
22360cat >>conftest.$ac_ext <<_ACEOF
22361/* end confdefs.h. */
22362/* System header to define __stub macros and hopefully few prototypes,
22363 which can conflict with char remove (); below.
22364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22365 <limits.h> exists even on freestanding compilers. */
22366#ifdef __STDC__
22367# include <limits.h>
22368#else
22369# include <assert.h>
22370#endif
22371/* Override any gcc2 internal prototype to avoid an error. */
22372#ifdef __cplusplus
22373extern "C"
22374{
22375#endif
22376/* We use char because int might match the return type of a gcc2
22377 builtin and then its argument prototype would still apply. */
22378char remove ();
22379/* The GNU C library defines this for functions which it implements
22380 to always fail with ENOSYS. Some functions are actually named
22381 something starting with __ and the normal name is an alias. */
22382#if defined (__stub_remove) || defined (__stub___remove)
22383choke me
22384#else
22385char (*f) () = remove;
22386#endif
22387#ifdef __cplusplus
22388}
22389#endif
22390
22391int
22392main ()
22393{
22394return f != remove;
22395 ;
22396 return 0;
22397}
22398_ACEOF
22399rm -f conftest.$ac_objext conftest$ac_exeext
22400if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22401 (eval $ac_link) 2>&5
22402 ac_status=$?
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); } &&
22405 { ac_try='test -s conftest$ac_exeext'
22406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22407 (eval $ac_try) 2>&5
22408 ac_status=$?
22409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22410 (exit $ac_status); }; }; then
22411 ac_cv_func_remove=yes
22412else
22413 echo "$as_me: failed program was:" >&5
22414sed 's/^/| /' conftest.$ac_ext >&5
22415
22416ac_cv_func_remove=no
22417fi
22418rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22419fi
22420echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22421echo "${ECHO_T}$ac_cv_func_remove" >&6
22422
22423 if test $ac_cv_func_remove = no; then
22424 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22425echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22426if test "${ac_cv_lib_posix_remove+set}" = set; then
22427 echo $ECHO_N "(cached) $ECHO_C" >&6
22428else
22429 ac_check_lib_save_LIBS=$LIBS
22430LIBS="-lposix $LIBS"
22431cat >conftest.$ac_ext <<_ACEOF
22432#line $LINENO "configure"
22433/* confdefs.h. */
22434_ACEOF
22435cat confdefs.h >>conftest.$ac_ext
22436cat >>conftest.$ac_ext <<_ACEOF
22437/* end confdefs.h. */
22438
22439/* Override any gcc2 internal prototype to avoid an error. */
22440#ifdef __cplusplus
22441extern "C"
22442#endif
22443/* We use char because int might match the return type of a gcc2
22444 builtin and then its argument prototype would still apply. */
22445char remove ();
22446int
22447main ()
22448{
22449remove ();
22450 ;
22451 return 0;
22452}
22453_ACEOF
22454rm -f conftest.$ac_objext conftest$ac_exeext
22455if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22456 (eval $ac_link) 2>&5
22457 ac_status=$?
22458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22459 (exit $ac_status); } &&
22460 { ac_try='test -s conftest$ac_exeext'
22461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22462 (eval $ac_try) 2>&5
22463 ac_status=$?
22464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22465 (exit $ac_status); }; }; then
22466 ac_cv_lib_posix_remove=yes
22467else
22468 echo "$as_me: failed program was:" >&5
22469sed 's/^/| /' conftest.$ac_ext >&5
22470
22471ac_cv_lib_posix_remove=no
22472fi
22473rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22474LIBS=$ac_check_lib_save_LIBS
22475fi
22476echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22477echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22478if test $ac_cv_lib_posix_remove = yes; then
22479 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22480fi
22481
22482 fi
22483
22484 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22485 echo "$as_me:$LINENO: checking for shmat" >&5
22486echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22487if test "${ac_cv_func_shmat+set}" = set; then
22488 echo $ECHO_N "(cached) $ECHO_C" >&6
22489else
22490 cat >conftest.$ac_ext <<_ACEOF
22491#line $LINENO "configure"
22492/* confdefs.h. */
22493_ACEOF
22494cat confdefs.h >>conftest.$ac_ext
22495cat >>conftest.$ac_ext <<_ACEOF
22496/* end confdefs.h. */
22497/* System header to define __stub macros and hopefully few prototypes,
22498 which can conflict with char shmat (); below.
22499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22500 <limits.h> exists even on freestanding compilers. */
22501#ifdef __STDC__
22502# include <limits.h>
22503#else
22504# include <assert.h>
22505#endif
22506/* Override any gcc2 internal prototype to avoid an error. */
22507#ifdef __cplusplus
22508extern "C"
22509{
22510#endif
22511/* We use char because int might match the return type of a gcc2
22512 builtin and then its argument prototype would still apply. */
22513char shmat ();
22514/* The GNU C library defines this for functions which it implements
22515 to always fail with ENOSYS. Some functions are actually named
22516 something starting with __ and the normal name is an alias. */
22517#if defined (__stub_shmat) || defined (__stub___shmat)
22518choke me
22519#else
22520char (*f) () = shmat;
22521#endif
22522#ifdef __cplusplus
22523}
22524#endif
22525
22526int
22527main ()
22528{
22529return f != shmat;
22530 ;
22531 return 0;
22532}
22533_ACEOF
22534rm -f conftest.$ac_objext conftest$ac_exeext
22535if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22536 (eval $ac_link) 2>&5
22537 ac_status=$?
22538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22539 (exit $ac_status); } &&
22540 { ac_try='test -s conftest$ac_exeext'
22541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22542 (eval $ac_try) 2>&5
22543 ac_status=$?
22544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545 (exit $ac_status); }; }; then
22546 ac_cv_func_shmat=yes
22547else
22548 echo "$as_me: failed program was:" >&5
22549sed 's/^/| /' conftest.$ac_ext >&5
22550
22551ac_cv_func_shmat=no
22552fi
22553rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22554fi
22555echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22556echo "${ECHO_T}$ac_cv_func_shmat" >&6
22557
22558 if test $ac_cv_func_shmat = no; then
22559 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22560echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22561if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22562 echo $ECHO_N "(cached) $ECHO_C" >&6
22563else
22564 ac_check_lib_save_LIBS=$LIBS
22565LIBS="-lipc $LIBS"
22566cat >conftest.$ac_ext <<_ACEOF
22567#line $LINENO "configure"
22568/* confdefs.h. */
22569_ACEOF
22570cat confdefs.h >>conftest.$ac_ext
22571cat >>conftest.$ac_ext <<_ACEOF
22572/* end confdefs.h. */
22573
22574/* Override any gcc2 internal prototype to avoid an error. */
22575#ifdef __cplusplus
22576extern "C"
22577#endif
22578/* We use char because int might match the return type of a gcc2
22579 builtin and then its argument prototype would still apply. */
22580char shmat ();
22581int
22582main ()
22583{
22584shmat ();
22585 ;
22586 return 0;
22587}
22588_ACEOF
22589rm -f conftest.$ac_objext conftest$ac_exeext
22590if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22591 (eval $ac_link) 2>&5
22592 ac_status=$?
22593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22594 (exit $ac_status); } &&
22595 { ac_try='test -s conftest$ac_exeext'
22596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22597 (eval $ac_try) 2>&5
22598 ac_status=$?
22599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600 (exit $ac_status); }; }; then
22601 ac_cv_lib_ipc_shmat=yes
22602else
22603 echo "$as_me: failed program was:" >&5
22604sed 's/^/| /' conftest.$ac_ext >&5
22605
22606ac_cv_lib_ipc_shmat=no
22607fi
22608rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22609LIBS=$ac_check_lib_save_LIBS
22610fi
22611echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22612echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22613if test $ac_cv_lib_ipc_shmat = yes; then
22614 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22615fi
22616
22617 fi
22618 fi
22619
22620 # Check for libraries that X11R6 Xt/Xaw programs need.
22621 ac_save_LDFLAGS=$LDFLAGS
22622 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22623 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22624 # check for ICE first), but we must link in the order -lSM -lICE or
22625 # we get undefined symbols. So assume we have SM if we have ICE.
22626 # These have to be linked with before -lX11, unlike the other
22627 # libraries we check for below, so use a different variable.
22628 # John Interrante, Karl Berry
22629 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22630echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22631if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22632 echo $ECHO_N "(cached) $ECHO_C" >&6
22633else
22634 ac_check_lib_save_LIBS=$LIBS
22635LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22636cat >conftest.$ac_ext <<_ACEOF
22637#line $LINENO "configure"
22638/* confdefs.h. */
22639_ACEOF
22640cat confdefs.h >>conftest.$ac_ext
22641cat >>conftest.$ac_ext <<_ACEOF
22642/* end confdefs.h. */
22643
22644/* Override any gcc2 internal prototype to avoid an error. */
22645#ifdef __cplusplus
22646extern "C"
22647#endif
22648/* We use char because int might match the return type of a gcc2
22649 builtin and then its argument prototype would still apply. */
22650char IceConnectionNumber ();
22651int
22652main ()
22653{
22654IceConnectionNumber ();
22655 ;
22656 return 0;
22657}
22658_ACEOF
22659rm -f conftest.$ac_objext conftest$ac_exeext
22660if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22661 (eval $ac_link) 2>&5
22662 ac_status=$?
22663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22664 (exit $ac_status); } &&
22665 { ac_try='test -s conftest$ac_exeext'
22666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22667 (eval $ac_try) 2>&5
22668 ac_status=$?
22669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22670 (exit $ac_status); }; }; then
22671 ac_cv_lib_ICE_IceConnectionNumber=yes
22672else
22673 echo "$as_me: failed program was:" >&5
22674sed 's/^/| /' conftest.$ac_ext >&5
22675
22676ac_cv_lib_ICE_IceConnectionNumber=no
22677fi
22678rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22679LIBS=$ac_check_lib_save_LIBS
22680fi
22681echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22682echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22683if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22684 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22685fi
22686
22687 LDFLAGS=$ac_save_LDFLAGS
22688
22689fi
22690
22691
22692 if test "$no_x" = "yes"; then
22693 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22694echo "$as_me: error: X11 not found" >&2;}
22695 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22696 fi
22697
22698 GUI_TK_LIBRARY="$X_LIBS"
22699 TOOLKIT_INCLUDE="$X_CFLAGS"
22700 AFMINSTALL=afminstall
22701 COMPILED_X_PROGRAM=0
22702
22703 if test "$wxUSE_NANOX" = "yes"; then
22704 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22705echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22706 if test "x$MICROWIN" = x ; then
22707 echo "$as_me:$LINENO: result: not found" >&5
22708echo "${ECHO_T}not found" >&6
22709 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22710echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22711 { (exit 1); exit 1; }; }
22712 else
22713 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22714echo "${ECHO_T}$MICROWIN" >&6
22715 cat >>confdefs.h <<\_ACEOF
22716#define wxUSE_NANOX 1
22717_ACEOF
22718
22719 fi
22720 fi
22721
22722 if test "$wxUSE_UNICODE" = "yes"; then
22723
22724 succeeded=no
22725
22726 if test -z "$PKG_CONFIG"; then
22727 # Extract the first word of "pkg-config", so it can be a program name with args.
22728set dummy pkg-config; ac_word=$2
22729echo "$as_me:$LINENO: checking for $ac_word" >&5
22730echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22731if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22732 echo $ECHO_N "(cached) $ECHO_C" >&6
22733else
22734 case $PKG_CONFIG in
22735 [\\/]* | ?:[\\/]*)
22736 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22737 ;;
22738 *)
22739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22740for as_dir in $PATH
22741do
22742 IFS=$as_save_IFS
22743 test -z "$as_dir" && as_dir=.
22744 for ac_exec_ext in '' $ac_executable_extensions; do
22745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22746 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22748 break 2
22749 fi
22750done
22751done
22752
22753 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22754 ;;
22755esac
22756fi
22757PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22758
22759if test -n "$PKG_CONFIG"; then
22760 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22761echo "${ECHO_T}$PKG_CONFIG" >&6
22762else
22763 echo "$as_me:$LINENO: result: no" >&5
22764echo "${ECHO_T}no" >&6
22765fi
22766
22767 fi
22768
22769 if test "$PKG_CONFIG" = "no" ; then
22770 echo "*** The pkg-config script could not be found. Make sure it is"
22771 echo "*** in your path, or set the PKG_CONFIG environment variable"
22772 echo "*** to the full path to pkg-config."
22773 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22774 else
22775 PKG_CONFIG_MIN_VERSION=0.9.0
22776 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22777 echo "$as_me:$LINENO: checking for pangox" >&5
22778echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22779
22780 if $PKG_CONFIG --exists "pangox" ; then
22781 echo "$as_me:$LINENO: result: yes" >&5
22782echo "${ECHO_T}yes" >&6
22783 succeeded=yes
22784
22785 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22786echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22787 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22788 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22789echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22790
22791 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22792echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22793 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22794 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22795echo "${ECHO_T}$PANGOX_LIBS" >&6
22796 else
22797 PANGOX_CFLAGS=""
22798 PANGOX_LIBS=""
22799 ## If we have a custom action on failure, don't print errors, but
22800 ## do set a variable so people can do so.
22801 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22802
22803 fi
22804
22805
22806
22807 else
22808 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22809 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22810 fi
22811 fi
22812
22813 if test $succeeded = yes; then
22814
22815 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22816 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22817
22818 else
22819
22820 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22821echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22822 { (exit 1); exit 1; }; }
22823
22824
22825 fi
22826
22827
22828 succeeded=no
22829
22830 if test -z "$PKG_CONFIG"; then
22831 # Extract the first word of "pkg-config", so it can be a program name with args.
22832set dummy pkg-config; ac_word=$2
22833echo "$as_me:$LINENO: checking for $ac_word" >&5
22834echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22835if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22836 echo $ECHO_N "(cached) $ECHO_C" >&6
22837else
22838 case $PKG_CONFIG in
22839 [\\/]* | ?:[\\/]*)
22840 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22841 ;;
22842 *)
22843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22844for as_dir in $PATH
22845do
22846 IFS=$as_save_IFS
22847 test -z "$as_dir" && as_dir=.
22848 for ac_exec_ext in '' $ac_executable_extensions; do
22849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22850 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22852 break 2
22853 fi
22854done
22855done
22856
22857 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22858 ;;
22859esac
22860fi
22861PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22862
22863if test -n "$PKG_CONFIG"; then
22864 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22865echo "${ECHO_T}$PKG_CONFIG" >&6
22866else
22867 echo "$as_me:$LINENO: result: no" >&5
22868echo "${ECHO_T}no" >&6
22869fi
22870
22871 fi
22872
22873 if test "$PKG_CONFIG" = "no" ; then
22874 echo "*** The pkg-config script could not be found. Make sure it is"
22875 echo "*** in your path, or set the PKG_CONFIG environment variable"
22876 echo "*** to the full path to pkg-config."
22877 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22878 else
22879 PKG_CONFIG_MIN_VERSION=0.9.0
22880 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22881 echo "$as_me:$LINENO: checking for pangoft2" >&5
22882echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22883
22884 if $PKG_CONFIG --exists "pangoft2" ; then
22885 echo "$as_me:$LINENO: result: yes" >&5
22886echo "${ECHO_T}yes" >&6
22887 succeeded=yes
22888
22889 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22890echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22891 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22892 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22893echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22894
22895 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22896echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22897 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22898 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22899echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22900 else
22901 PANGOFT2_CFLAGS=""
22902 PANGOFT2_LIBS=""
22903 ## If we have a custom action on failure, don't print errors, but
22904 ## do set a variable so people can do so.
22905 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22906
22907 fi
22908
22909
22910
22911 else
22912 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22913 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22914 fi
22915 fi
22916
22917 if test $succeeded = yes; then
22918
22919 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22920 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22921
22922 else
22923
22924 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22925echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22926 wxUSE_PRINTING_ARCHITECTURE="no"
22927
22928
22929 fi
22930
22931
22932 succeeded=no
22933
22934 if test -z "$PKG_CONFIG"; then
22935 # Extract the first word of "pkg-config", so it can be a program name with args.
22936set dummy pkg-config; ac_word=$2
22937echo "$as_me:$LINENO: checking for $ac_word" >&5
22938echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22939if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22940 echo $ECHO_N "(cached) $ECHO_C" >&6
22941else
22942 case $PKG_CONFIG in
22943 [\\/]* | ?:[\\/]*)
22944 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22945 ;;
22946 *)
22947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22948for as_dir in $PATH
22949do
22950 IFS=$as_save_IFS
22951 test -z "$as_dir" && as_dir=.
22952 for ac_exec_ext in '' $ac_executable_extensions; do
22953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22954 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22956 break 2
22957 fi
22958done
22959done
22960
22961 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22962 ;;
22963esac
22964fi
22965PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22966
22967if test -n "$PKG_CONFIG"; then
22968 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22969echo "${ECHO_T}$PKG_CONFIG" >&6
22970else
22971 echo "$as_me:$LINENO: result: no" >&5
22972echo "${ECHO_T}no" >&6
22973fi
22974
22975 fi
22976
22977 if test "$PKG_CONFIG" = "no" ; then
22978 echo "*** The pkg-config script could not be found. Make sure it is"
22979 echo "*** in your path, or set the PKG_CONFIG environment variable"
22980 echo "*** to the full path to pkg-config."
22981 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22982 else
22983 PKG_CONFIG_MIN_VERSION=0.9.0
22984 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22985 echo "$as_me:$LINENO: checking for pangoxft" >&5
22986echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22987
22988 if $PKG_CONFIG --exists "pangoxft" ; then
22989 echo "$as_me:$LINENO: result: yes" >&5
22990echo "${ECHO_T}yes" >&6
22991 succeeded=yes
22992
22993 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22994echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22995 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22996 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22997echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22998
22999 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
23000echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
23001 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
23002 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
23003echo "${ECHO_T}$PANGOXFT_LIBS" >&6
23004 else
23005 PANGOXFT_CFLAGS=""
23006 PANGOXFT_LIBS=""
23007 ## If we have a custom action on failure, don't print errors, but
23008 ## do set a variable so people can do so.
23009 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
23010
23011 fi
23012
23013
23014
23015 else
23016 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23017 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23018 fi
23019 fi
23020
23021 if test $succeeded = yes; then
23022
23023 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
23024 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
23025
23026 else
23027
23028 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
23029echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
23030
23031
23032 fi
23033
23034 fi
23035
23036 wxUSE_UNIVERSAL="yes"
23037
23038 if test "$wxUSE_NANOX" = "yes"; then
23039 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
23040 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"
23041 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
23042 else
23043 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
23044 fi
23045
23046 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
23047 TOOLKIT=X11
23048 GUIDIST=X11_DIST
23049 fi
23050
23051 if test "$wxUSE_MOTIF" = 1; then
23052 if test "$no_x" = yes; then
23053 # Not all programs may use this symbol, but it does not hurt to define it.
23054
23055cat >>confdefs.h <<\_ACEOF
23056#define X_DISPLAY_MISSING 1
23057_ACEOF
23058
23059 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
23060else
23061 if test -n "$x_includes"; then
23062 X_CFLAGS="$X_CFLAGS -I$x_includes"
23063 fi
23064
23065 # It would also be nice to do this for all -L options, not just this one.
23066 if test -n "$x_libraries"; then
23067 X_LIBS="$X_LIBS -L$x_libraries"
23068 # For Solaris; some versions of Sun CC require a space after -R and
23069 # others require no space. Words are not sufficient . . . .
23070 case `(uname -sr) 2>/dev/null` in
23071 "SunOS 5"*)
23072 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23073echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23074 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23075 cat >conftest.$ac_ext <<_ACEOF
23076#line $LINENO "configure"
23077/* confdefs.h. */
23078_ACEOF
23079cat confdefs.h >>conftest.$ac_ext
23080cat >>conftest.$ac_ext <<_ACEOF
23081/* end confdefs.h. */
23082
23083int
23084main ()
23085{
23086
23087 ;
23088 return 0;
23089}
23090_ACEOF
23091rm -f conftest.$ac_objext conftest$ac_exeext
23092if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23093 (eval $ac_link) 2>&5
23094 ac_status=$?
23095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23096 (exit $ac_status); } &&
23097 { ac_try='test -s conftest$ac_exeext'
23098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23099 (eval $ac_try) 2>&5
23100 ac_status=$?
23101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23102 (exit $ac_status); }; }; then
23103 ac_R_nospace=yes
23104else
23105 echo "$as_me: failed program was:" >&5
23106sed 's/^/| /' conftest.$ac_ext >&5
23107
23108ac_R_nospace=no
23109fi
23110rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23111 if test $ac_R_nospace = yes; then
23112 echo "$as_me:$LINENO: result: no" >&5
23113echo "${ECHO_T}no" >&6
23114 X_LIBS="$X_LIBS -R$x_libraries"
23115 else
23116 LIBS="$ac_xsave_LIBS -R $x_libraries"
23117 cat >conftest.$ac_ext <<_ACEOF
23118#line $LINENO "configure"
23119/* confdefs.h. */
23120_ACEOF
23121cat confdefs.h >>conftest.$ac_ext
23122cat >>conftest.$ac_ext <<_ACEOF
23123/* end confdefs.h. */
23124
23125int
23126main ()
23127{
23128
23129 ;
23130 return 0;
23131}
23132_ACEOF
23133rm -f conftest.$ac_objext conftest$ac_exeext
23134if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23135 (eval $ac_link) 2>&5
23136 ac_status=$?
23137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23138 (exit $ac_status); } &&
23139 { ac_try='test -s conftest$ac_exeext'
23140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23141 (eval $ac_try) 2>&5
23142 ac_status=$?
23143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23144 (exit $ac_status); }; }; then
23145 ac_R_space=yes
23146else
23147 echo "$as_me: failed program was:" >&5
23148sed 's/^/| /' conftest.$ac_ext >&5
23149
23150ac_R_space=no
23151fi
23152rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23153 if test $ac_R_space = yes; then
23154 echo "$as_me:$LINENO: result: yes" >&5
23155echo "${ECHO_T}yes" >&6
23156 X_LIBS="$X_LIBS -R $x_libraries"
23157 else
23158 echo "$as_me:$LINENO: result: neither works" >&5
23159echo "${ECHO_T}neither works" >&6
23160 fi
23161 fi
23162 LIBS=$ac_xsave_LIBS
23163 esac
23164 fi
23165
23166 # Check for system-dependent libraries X programs must link with.
23167 # Do this before checking for the system-independent R6 libraries
23168 # (-lICE), since we may need -lsocket or whatever for X linking.
23169
23170 if test "$ISC" = yes; then
23171 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23172 else
23173 # Martyn Johnson says this is needed for Ultrix, if the X
23174 # libraries were built with DECnet support. And Karl Berry says
23175 # the Alpha needs dnet_stub (dnet does not exist).
23176 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23177 cat >conftest.$ac_ext <<_ACEOF
23178#line $LINENO "configure"
23179/* confdefs.h. */
23180_ACEOF
23181cat confdefs.h >>conftest.$ac_ext
23182cat >>conftest.$ac_ext <<_ACEOF
23183/* end confdefs.h. */
23184
23185/* Override any gcc2 internal prototype to avoid an error. */
23186#ifdef __cplusplus
23187extern "C"
23188#endif
23189/* We use char because int might match the return type of a gcc2
23190 builtin and then its argument prototype would still apply. */
23191char XOpenDisplay ();
23192int
23193main ()
23194{
23195XOpenDisplay ();
23196 ;
23197 return 0;
23198}
23199_ACEOF
23200rm -f conftest.$ac_objext conftest$ac_exeext
23201if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23202 (eval $ac_link) 2>&5
23203 ac_status=$?
23204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23205 (exit $ac_status); } &&
23206 { ac_try='test -s conftest$ac_exeext'
23207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23208 (eval $ac_try) 2>&5
23209 ac_status=$?
23210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23211 (exit $ac_status); }; }; then
23212 :
23213else
23214 echo "$as_me: failed program was:" >&5
23215sed 's/^/| /' conftest.$ac_ext >&5
23216
23217echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23218echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23219if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23220 echo $ECHO_N "(cached) $ECHO_C" >&6
23221else
23222 ac_check_lib_save_LIBS=$LIBS
23223LIBS="-ldnet $LIBS"
23224cat >conftest.$ac_ext <<_ACEOF
23225#line $LINENO "configure"
23226/* confdefs.h. */
23227_ACEOF
23228cat confdefs.h >>conftest.$ac_ext
23229cat >>conftest.$ac_ext <<_ACEOF
23230/* end confdefs.h. */
23231
23232/* Override any gcc2 internal prototype to avoid an error. */
23233#ifdef __cplusplus
23234extern "C"
23235#endif
23236/* We use char because int might match the return type of a gcc2
23237 builtin and then its argument prototype would still apply. */
23238char dnet_ntoa ();
23239int
23240main ()
23241{
23242dnet_ntoa ();
23243 ;
23244 return 0;
23245}
23246_ACEOF
23247rm -f conftest.$ac_objext conftest$ac_exeext
23248if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23249 (eval $ac_link) 2>&5
23250 ac_status=$?
23251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23252 (exit $ac_status); } &&
23253 { ac_try='test -s conftest$ac_exeext'
23254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23255 (eval $ac_try) 2>&5
23256 ac_status=$?
23257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23258 (exit $ac_status); }; }; then
23259 ac_cv_lib_dnet_dnet_ntoa=yes
23260else
23261 echo "$as_me: failed program was:" >&5
23262sed 's/^/| /' conftest.$ac_ext >&5
23263
23264ac_cv_lib_dnet_dnet_ntoa=no
23265fi
23266rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23267LIBS=$ac_check_lib_save_LIBS
23268fi
23269echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23270echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23271if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23272 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23273fi
23274
23275 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23276 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23277echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23278if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23279 echo $ECHO_N "(cached) $ECHO_C" >&6
23280else
23281 ac_check_lib_save_LIBS=$LIBS
23282LIBS="-ldnet_stub $LIBS"
23283cat >conftest.$ac_ext <<_ACEOF
23284#line $LINENO "configure"
23285/* confdefs.h. */
23286_ACEOF
23287cat confdefs.h >>conftest.$ac_ext
23288cat >>conftest.$ac_ext <<_ACEOF
23289/* end confdefs.h. */
23290
23291/* Override any gcc2 internal prototype to avoid an error. */
23292#ifdef __cplusplus
23293extern "C"
23294#endif
23295/* We use char because int might match the return type of a gcc2
23296 builtin and then its argument prototype would still apply. */
23297char dnet_ntoa ();
23298int
23299main ()
23300{
23301dnet_ntoa ();
23302 ;
23303 return 0;
23304}
23305_ACEOF
23306rm -f conftest.$ac_objext conftest$ac_exeext
23307if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23308 (eval $ac_link) 2>&5
23309 ac_status=$?
23310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 (exit $ac_status); } &&
23312 { ac_try='test -s conftest$ac_exeext'
23313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23314 (eval $ac_try) 2>&5
23315 ac_status=$?
23316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23317 (exit $ac_status); }; }; then
23318 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23319else
23320 echo "$as_me: failed program was:" >&5
23321sed 's/^/| /' conftest.$ac_ext >&5
23322
23323ac_cv_lib_dnet_stub_dnet_ntoa=no
23324fi
23325rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23326LIBS=$ac_check_lib_save_LIBS
23327fi
23328echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23329echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23330if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23331 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23332fi
23333
23334 fi
23335fi
23336rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23337 LIBS="$ac_xsave_LIBS"
23338
23339 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23340 # to get the SysV transport functions.
23341 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23342 # needs -lnsl.
23343 # The nsl library prevents programs from opening the X display
23344 # on Irix 5.2, according to T.E. Dickey.
23345 # The functions gethostbyname, getservbyname, and inet_addr are
23346 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23347 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23348echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23349if test "${ac_cv_func_gethostbyname+set}" = set; then
23350 echo $ECHO_N "(cached) $ECHO_C" >&6
23351else
23352 cat >conftest.$ac_ext <<_ACEOF
23353#line $LINENO "configure"
23354/* confdefs.h. */
23355_ACEOF
23356cat confdefs.h >>conftest.$ac_ext
23357cat >>conftest.$ac_ext <<_ACEOF
23358/* end confdefs.h. */
23359/* System header to define __stub macros and hopefully few prototypes,
23360 which can conflict with char gethostbyname (); below.
23361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23362 <limits.h> exists even on freestanding compilers. */
23363#ifdef __STDC__
23364# include <limits.h>
23365#else
23366# include <assert.h>
23367#endif
23368/* Override any gcc2 internal prototype to avoid an error. */
23369#ifdef __cplusplus
23370extern "C"
23371{
23372#endif
23373/* We use char because int might match the return type of a gcc2
23374 builtin and then its argument prototype would still apply. */
23375char gethostbyname ();
23376/* The GNU C library defines this for functions which it implements
23377 to always fail with ENOSYS. Some functions are actually named
23378 something starting with __ and the normal name is an alias. */
23379#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23380choke me
23381#else
23382char (*f) () = gethostbyname;
23383#endif
23384#ifdef __cplusplus
23385}
23386#endif
23387
23388int
23389main ()
23390{
23391return f != gethostbyname;
23392 ;
23393 return 0;
23394}
23395_ACEOF
23396rm -f conftest.$ac_objext conftest$ac_exeext
23397if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23398 (eval $ac_link) 2>&5
23399 ac_status=$?
23400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23401 (exit $ac_status); } &&
23402 { ac_try='test -s conftest$ac_exeext'
23403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23404 (eval $ac_try) 2>&5
23405 ac_status=$?
23406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23407 (exit $ac_status); }; }; then
23408 ac_cv_func_gethostbyname=yes
23409else
23410 echo "$as_me: failed program was:" >&5
23411sed 's/^/| /' conftest.$ac_ext >&5
23412
23413ac_cv_func_gethostbyname=no
23414fi
23415rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23416fi
23417echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23418echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23419
23420 if test $ac_cv_func_gethostbyname = no; then
23421 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23422echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23423if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23424 echo $ECHO_N "(cached) $ECHO_C" >&6
23425else
23426 ac_check_lib_save_LIBS=$LIBS
23427LIBS="-lnsl $LIBS"
23428cat >conftest.$ac_ext <<_ACEOF
23429#line $LINENO "configure"
23430/* confdefs.h. */
23431_ACEOF
23432cat confdefs.h >>conftest.$ac_ext
23433cat >>conftest.$ac_ext <<_ACEOF
23434/* end confdefs.h. */
23435
23436/* Override any gcc2 internal prototype to avoid an error. */
23437#ifdef __cplusplus
23438extern "C"
23439#endif
23440/* We use char because int might match the return type of a gcc2
23441 builtin and then its argument prototype would still apply. */
23442char gethostbyname ();
23443int
23444main ()
23445{
23446gethostbyname ();
23447 ;
23448 return 0;
23449}
23450_ACEOF
23451rm -f conftest.$ac_objext conftest$ac_exeext
23452if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23453 (eval $ac_link) 2>&5
23454 ac_status=$?
23455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23456 (exit $ac_status); } &&
23457 { ac_try='test -s conftest$ac_exeext'
23458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23459 (eval $ac_try) 2>&5
23460 ac_status=$?
23461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23462 (exit $ac_status); }; }; then
23463 ac_cv_lib_nsl_gethostbyname=yes
23464else
23465 echo "$as_me: failed program was:" >&5
23466sed 's/^/| /' conftest.$ac_ext >&5
23467
23468ac_cv_lib_nsl_gethostbyname=no
23469fi
23470rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23471LIBS=$ac_check_lib_save_LIBS
23472fi
23473echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23474echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23475if test $ac_cv_lib_nsl_gethostbyname = yes; then
23476 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23477fi
23478
23479 if test $ac_cv_lib_nsl_gethostbyname = no; then
23480 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23481echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23482if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23483 echo $ECHO_N "(cached) $ECHO_C" >&6
23484else
23485 ac_check_lib_save_LIBS=$LIBS
23486LIBS="-lbsd $LIBS"
23487cat >conftest.$ac_ext <<_ACEOF
23488#line $LINENO "configure"
23489/* confdefs.h. */
23490_ACEOF
23491cat confdefs.h >>conftest.$ac_ext
23492cat >>conftest.$ac_ext <<_ACEOF
23493/* end confdefs.h. */
23494
23495/* Override any gcc2 internal prototype to avoid an error. */
23496#ifdef __cplusplus
23497extern "C"
23498#endif
23499/* We use char because int might match the return type of a gcc2
23500 builtin and then its argument prototype would still apply. */
23501char gethostbyname ();
23502int
23503main ()
23504{
23505gethostbyname ();
23506 ;
23507 return 0;
23508}
23509_ACEOF
23510rm -f conftest.$ac_objext conftest$ac_exeext
23511if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23512 (eval $ac_link) 2>&5
23513 ac_status=$?
23514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23515 (exit $ac_status); } &&
23516 { ac_try='test -s conftest$ac_exeext'
23517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23518 (eval $ac_try) 2>&5
23519 ac_status=$?
23520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23521 (exit $ac_status); }; }; then
23522 ac_cv_lib_bsd_gethostbyname=yes
23523else
23524 echo "$as_me: failed program was:" >&5
23525sed 's/^/| /' conftest.$ac_ext >&5
23526
23527ac_cv_lib_bsd_gethostbyname=no
23528fi
23529rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23530LIBS=$ac_check_lib_save_LIBS
23531fi
23532echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23533echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23534if test $ac_cv_lib_bsd_gethostbyname = yes; then
23535 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23536fi
23537
23538 fi
23539 fi
23540
23541 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23542 # socket/setsockopt and other routines are undefined under SCO ODT
23543 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23544 # on later versions), says Simon Leinen: it contains gethostby*
23545 # variants that don't use the name server (or something). -lsocket
23546 # must be given before -lnsl if both are needed. We assume that
23547 # if connect needs -lnsl, so does gethostbyname.
23548 echo "$as_me:$LINENO: checking for connect" >&5
23549echo $ECHO_N "checking for connect... $ECHO_C" >&6
23550if test "${ac_cv_func_connect+set}" = set; then
23551 echo $ECHO_N "(cached) $ECHO_C" >&6
23552else
23553 cat >conftest.$ac_ext <<_ACEOF
23554#line $LINENO "configure"
23555/* confdefs.h. */
23556_ACEOF
23557cat confdefs.h >>conftest.$ac_ext
23558cat >>conftest.$ac_ext <<_ACEOF
23559/* end confdefs.h. */
23560/* System header to define __stub macros and hopefully few prototypes,
23561 which can conflict with char connect (); below.
23562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23563 <limits.h> exists even on freestanding compilers. */
23564#ifdef __STDC__
23565# include <limits.h>
23566#else
23567# include <assert.h>
23568#endif
23569/* Override any gcc2 internal prototype to avoid an error. */
23570#ifdef __cplusplus
23571extern "C"
23572{
23573#endif
23574/* We use char because int might match the return type of a gcc2
23575 builtin and then its argument prototype would still apply. */
23576char connect ();
23577/* The GNU C library defines this for functions which it implements
23578 to always fail with ENOSYS. Some functions are actually named
23579 something starting with __ and the normal name is an alias. */
23580#if defined (__stub_connect) || defined (__stub___connect)
23581choke me
23582#else
23583char (*f) () = connect;
23584#endif
23585#ifdef __cplusplus
23586}
23587#endif
23588
23589int
23590main ()
23591{
23592return f != connect;
23593 ;
23594 return 0;
23595}
23596_ACEOF
23597rm -f conftest.$ac_objext conftest$ac_exeext
23598if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23599 (eval $ac_link) 2>&5
23600 ac_status=$?
23601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23602 (exit $ac_status); } &&
23603 { ac_try='test -s conftest$ac_exeext'
23604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23605 (eval $ac_try) 2>&5
23606 ac_status=$?
23607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23608 (exit $ac_status); }; }; then
23609 ac_cv_func_connect=yes
23610else
23611 echo "$as_me: failed program was:" >&5
23612sed 's/^/| /' conftest.$ac_ext >&5
23613
23614ac_cv_func_connect=no
23615fi
23616rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23617fi
23618echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23619echo "${ECHO_T}$ac_cv_func_connect" >&6
23620
23621 if test $ac_cv_func_connect = no; then
23622 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23623echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23624if test "${ac_cv_lib_socket_connect+set}" = set; then
23625 echo $ECHO_N "(cached) $ECHO_C" >&6
23626else
23627 ac_check_lib_save_LIBS=$LIBS
23628LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23629cat >conftest.$ac_ext <<_ACEOF
23630#line $LINENO "configure"
23631/* confdefs.h. */
23632_ACEOF
23633cat confdefs.h >>conftest.$ac_ext
23634cat >>conftest.$ac_ext <<_ACEOF
23635/* end confdefs.h. */
23636
23637/* Override any gcc2 internal prototype to avoid an error. */
23638#ifdef __cplusplus
23639extern "C"
23640#endif
23641/* We use char because int might match the return type of a gcc2
23642 builtin and then its argument prototype would still apply. */
23643char connect ();
23644int
23645main ()
23646{
23647connect ();
23648 ;
23649 return 0;
23650}
23651_ACEOF
23652rm -f conftest.$ac_objext conftest$ac_exeext
23653if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23654 (eval $ac_link) 2>&5
23655 ac_status=$?
23656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23657 (exit $ac_status); } &&
23658 { ac_try='test -s conftest$ac_exeext'
23659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23660 (eval $ac_try) 2>&5
23661 ac_status=$?
23662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23663 (exit $ac_status); }; }; then
23664 ac_cv_lib_socket_connect=yes
23665else
23666 echo "$as_me: failed program was:" >&5
23667sed 's/^/| /' conftest.$ac_ext >&5
23668
23669ac_cv_lib_socket_connect=no
23670fi
23671rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23672LIBS=$ac_check_lib_save_LIBS
23673fi
23674echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23675echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23676if test $ac_cv_lib_socket_connect = yes; then
23677 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23678fi
23679
23680 fi
23681
23682 # Guillermo Gomez says -lposix is necessary on A/UX.
23683 echo "$as_me:$LINENO: checking for remove" >&5
23684echo $ECHO_N "checking for remove... $ECHO_C" >&6
23685if test "${ac_cv_func_remove+set}" = set; then
23686 echo $ECHO_N "(cached) $ECHO_C" >&6
23687else
23688 cat >conftest.$ac_ext <<_ACEOF
23689#line $LINENO "configure"
23690/* confdefs.h. */
23691_ACEOF
23692cat confdefs.h >>conftest.$ac_ext
23693cat >>conftest.$ac_ext <<_ACEOF
23694/* end confdefs.h. */
23695/* System header to define __stub macros and hopefully few prototypes,
23696 which can conflict with char remove (); below.
23697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23698 <limits.h> exists even on freestanding compilers. */
23699#ifdef __STDC__
23700# include <limits.h>
23701#else
23702# include <assert.h>
23703#endif
23704/* Override any gcc2 internal prototype to avoid an error. */
23705#ifdef __cplusplus
23706extern "C"
23707{
23708#endif
23709/* We use char because int might match the return type of a gcc2
23710 builtin and then its argument prototype would still apply. */
23711char remove ();
23712/* The GNU C library defines this for functions which it implements
23713 to always fail with ENOSYS. Some functions are actually named
23714 something starting with __ and the normal name is an alias. */
23715#if defined (__stub_remove) || defined (__stub___remove)
23716choke me
23717#else
23718char (*f) () = remove;
23719#endif
23720#ifdef __cplusplus
23721}
23722#endif
23723
23724int
23725main ()
23726{
23727return f != remove;
23728 ;
23729 return 0;
23730}
23731_ACEOF
23732rm -f conftest.$ac_objext conftest$ac_exeext
23733if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23734 (eval $ac_link) 2>&5
23735 ac_status=$?
23736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23737 (exit $ac_status); } &&
23738 { ac_try='test -s conftest$ac_exeext'
23739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23740 (eval $ac_try) 2>&5
23741 ac_status=$?
23742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23743 (exit $ac_status); }; }; then
23744 ac_cv_func_remove=yes
23745else
23746 echo "$as_me: failed program was:" >&5
23747sed 's/^/| /' conftest.$ac_ext >&5
23748
23749ac_cv_func_remove=no
23750fi
23751rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23752fi
23753echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23754echo "${ECHO_T}$ac_cv_func_remove" >&6
23755
23756 if test $ac_cv_func_remove = no; then
23757 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23758echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23759if test "${ac_cv_lib_posix_remove+set}" = set; then
23760 echo $ECHO_N "(cached) $ECHO_C" >&6
23761else
23762 ac_check_lib_save_LIBS=$LIBS
23763LIBS="-lposix $LIBS"
23764cat >conftest.$ac_ext <<_ACEOF
23765#line $LINENO "configure"
23766/* confdefs.h. */
23767_ACEOF
23768cat confdefs.h >>conftest.$ac_ext
23769cat >>conftest.$ac_ext <<_ACEOF
23770/* end confdefs.h. */
23771
23772/* Override any gcc2 internal prototype to avoid an error. */
23773#ifdef __cplusplus
23774extern "C"
23775#endif
23776/* We use char because int might match the return type of a gcc2
23777 builtin and then its argument prototype would still apply. */
23778char remove ();
23779int
23780main ()
23781{
23782remove ();
23783 ;
23784 return 0;
23785}
23786_ACEOF
23787rm -f conftest.$ac_objext conftest$ac_exeext
23788if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23789 (eval $ac_link) 2>&5
23790 ac_status=$?
23791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23792 (exit $ac_status); } &&
23793 { ac_try='test -s conftest$ac_exeext'
23794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23795 (eval $ac_try) 2>&5
23796 ac_status=$?
23797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23798 (exit $ac_status); }; }; then
23799 ac_cv_lib_posix_remove=yes
23800else
23801 echo "$as_me: failed program was:" >&5
23802sed 's/^/| /' conftest.$ac_ext >&5
23803
23804ac_cv_lib_posix_remove=no
23805fi
23806rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23807LIBS=$ac_check_lib_save_LIBS
23808fi
23809echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23810echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23811if test $ac_cv_lib_posix_remove = yes; then
23812 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23813fi
23814
23815 fi
23816
23817 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23818 echo "$as_me:$LINENO: checking for shmat" >&5
23819echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23820if test "${ac_cv_func_shmat+set}" = set; then
23821 echo $ECHO_N "(cached) $ECHO_C" >&6
23822else
23823 cat >conftest.$ac_ext <<_ACEOF
23824#line $LINENO "configure"
23825/* confdefs.h. */
23826_ACEOF
23827cat confdefs.h >>conftest.$ac_ext
23828cat >>conftest.$ac_ext <<_ACEOF
23829/* end confdefs.h. */
23830/* System header to define __stub macros and hopefully few prototypes,
23831 which can conflict with char shmat (); below.
23832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23833 <limits.h> exists even on freestanding compilers. */
23834#ifdef __STDC__
23835# include <limits.h>
23836#else
23837# include <assert.h>
23838#endif
23839/* Override any gcc2 internal prototype to avoid an error. */
23840#ifdef __cplusplus
23841extern "C"
23842{
23843#endif
23844/* We use char because int might match the return type of a gcc2
23845 builtin and then its argument prototype would still apply. */
23846char shmat ();
23847/* The GNU C library defines this for functions which it implements
23848 to always fail with ENOSYS. Some functions are actually named
23849 something starting with __ and the normal name is an alias. */
23850#if defined (__stub_shmat) || defined (__stub___shmat)
23851choke me
23852#else
23853char (*f) () = shmat;
23854#endif
23855#ifdef __cplusplus
23856}
23857#endif
23858
23859int
23860main ()
23861{
23862return f != shmat;
23863 ;
23864 return 0;
23865}
23866_ACEOF
23867rm -f conftest.$ac_objext conftest$ac_exeext
23868if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23869 (eval $ac_link) 2>&5
23870 ac_status=$?
23871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23872 (exit $ac_status); } &&
23873 { ac_try='test -s conftest$ac_exeext'
23874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23875 (eval $ac_try) 2>&5
23876 ac_status=$?
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); }; }; then
23879 ac_cv_func_shmat=yes
23880else
23881 echo "$as_me: failed program was:" >&5
23882sed 's/^/| /' conftest.$ac_ext >&5
23883
23884ac_cv_func_shmat=no
23885fi
23886rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23887fi
23888echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23889echo "${ECHO_T}$ac_cv_func_shmat" >&6
23890
23891 if test $ac_cv_func_shmat = no; then
23892 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23893echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23894if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23895 echo $ECHO_N "(cached) $ECHO_C" >&6
23896else
23897 ac_check_lib_save_LIBS=$LIBS
23898LIBS="-lipc $LIBS"
23899cat >conftest.$ac_ext <<_ACEOF
23900#line $LINENO "configure"
23901/* confdefs.h. */
23902_ACEOF
23903cat confdefs.h >>conftest.$ac_ext
23904cat >>conftest.$ac_ext <<_ACEOF
23905/* end confdefs.h. */
23906
23907/* Override any gcc2 internal prototype to avoid an error. */
23908#ifdef __cplusplus
23909extern "C"
23910#endif
23911/* We use char because int might match the return type of a gcc2
23912 builtin and then its argument prototype would still apply. */
23913char shmat ();
23914int
23915main ()
23916{
23917shmat ();
23918 ;
23919 return 0;
23920}
23921_ACEOF
23922rm -f conftest.$ac_objext conftest$ac_exeext
23923if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23924 (eval $ac_link) 2>&5
23925 ac_status=$?
23926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23927 (exit $ac_status); } &&
23928 { ac_try='test -s conftest$ac_exeext'
23929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23930 (eval $ac_try) 2>&5
23931 ac_status=$?
23932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23933 (exit $ac_status); }; }; then
23934 ac_cv_lib_ipc_shmat=yes
23935else
23936 echo "$as_me: failed program was:" >&5
23937sed 's/^/| /' conftest.$ac_ext >&5
23938
23939ac_cv_lib_ipc_shmat=no
23940fi
23941rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23942LIBS=$ac_check_lib_save_LIBS
23943fi
23944echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23945echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23946if test $ac_cv_lib_ipc_shmat = yes; then
23947 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23948fi
23949
23950 fi
23951 fi
23952
23953 # Check for libraries that X11R6 Xt/Xaw programs need.
23954 ac_save_LDFLAGS=$LDFLAGS
23955 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23956 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23957 # check for ICE first), but we must link in the order -lSM -lICE or
23958 # we get undefined symbols. So assume we have SM if we have ICE.
23959 # These have to be linked with before -lX11, unlike the other
23960 # libraries we check for below, so use a different variable.
23961 # John Interrante, Karl Berry
23962 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23963echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23964if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23965 echo $ECHO_N "(cached) $ECHO_C" >&6
23966else
23967 ac_check_lib_save_LIBS=$LIBS
23968LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23969cat >conftest.$ac_ext <<_ACEOF
23970#line $LINENO "configure"
23971/* confdefs.h. */
23972_ACEOF
23973cat confdefs.h >>conftest.$ac_ext
23974cat >>conftest.$ac_ext <<_ACEOF
23975/* end confdefs.h. */
23976
23977/* Override any gcc2 internal prototype to avoid an error. */
23978#ifdef __cplusplus
23979extern "C"
23980#endif
23981/* We use char because int might match the return type of a gcc2
23982 builtin and then its argument prototype would still apply. */
23983char IceConnectionNumber ();
23984int
23985main ()
23986{
23987IceConnectionNumber ();
23988 ;
23989 return 0;
23990}
23991_ACEOF
23992rm -f conftest.$ac_objext conftest$ac_exeext
23993if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23994 (eval $ac_link) 2>&5
23995 ac_status=$?
23996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23997 (exit $ac_status); } &&
23998 { ac_try='test -s conftest$ac_exeext'
23999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24000 (eval $ac_try) 2>&5
24001 ac_status=$?
24002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24003 (exit $ac_status); }; }; then
24004 ac_cv_lib_ICE_IceConnectionNumber=yes
24005else
24006 echo "$as_me: failed program was:" >&5
24007sed 's/^/| /' conftest.$ac_ext >&5
24008
24009ac_cv_lib_ICE_IceConnectionNumber=no
24010fi
24011rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24012LIBS=$ac_check_lib_save_LIBS
24013fi
24014echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24015echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24016if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24017 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
24018fi
24019
24020 LDFLAGS=$ac_save_LDFLAGS
24021
24022fi
24023
24024
24025 if test "$no_x" = "yes"; then
24026 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24027echo "$as_me: error: X11 not found" >&2;}
24028 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
24029 fi
24030
24031 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
24032 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
24033 AFMINSTALL=afminstall
24034 COMPILED_X_PROGRAM=0
24035
24036 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
24037echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
24038
24039ac_find_includes=
24040for ac_dir in $SEARCH_INCLUDE /usr/include;
24041 do
24042 if test -f "$ac_dir/Xm/Xm.h"; then
24043 ac_find_includes=$ac_dir
24044 break
24045 fi
24046 done
24047
24048 if test "$ac_find_includes" != "" ; then
24049 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24050echo "${ECHO_T}found in $ac_find_includes" >&6
24051
24052 if test "x$ac_find_includes" = "x/usr/include"; then
24053 ac_path_to_include=""
24054 else
24055 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
24056 result=$?
24057 if test $result = 0; then
24058 ac_path_to_include=""
24059 else
24060 ac_path_to_include=" -I$ac_find_includes"
24061 fi
24062 fi
24063
24064 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
24065 else
24066 cat >conftest.$ac_ext <<_ACEOF
24067#line $LINENO "configure"
24068/* confdefs.h. */
24069_ACEOF
24070cat confdefs.h >>conftest.$ac_ext
24071cat >>conftest.$ac_ext <<_ACEOF
24072/* end confdefs.h. */
24073
24074 #include <Xm/Xm.h>
24075
24076int
24077main ()
24078{
24079
24080 int version;
24081 version = xmUseVersion;
24082
24083 ;
24084 return 0;
24085}
24086_ACEOF
24087rm -f conftest.$ac_objext
24088if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24089 (eval $ac_compile) 2>&5
24090 ac_status=$?
24091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24092 (exit $ac_status); } &&
24093 { ac_try='test -s conftest.$ac_objext'
24094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24095 (eval $ac_try) 2>&5
24096 ac_status=$?
24097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24098 (exit $ac_status); }; }; then
24099
24100 echo "$as_me:$LINENO: result: found in default search path" >&5
24101echo "${ECHO_T}found in default search path" >&6
24102 COMPILED_X_PROGRAM=1
24103
24104else
24105 echo "$as_me: failed program was:" >&5
24106sed 's/^/| /' conftest.$ac_ext >&5
24107
24108
24109 echo "$as_me:$LINENO: result: no" >&5
24110echo "${ECHO_T}no" >&6
24111 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24112echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24113 { (exit 1); exit 1; }; }
24114
24115
24116fi
24117rm -f conftest.$ac_objext conftest.$ac_ext
24118 fi
24119
24120 if test "$COMPILED_X_PROGRAM" = 0; then
24121 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24122echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24123
24124ac_find_libraries=
24125for ac_dir in $SEARCH_LIB /usr/lib;
24126 do
24127 for ac_extension in a so sl dylib; do
24128 if test -f "$ac_dir/libXm.$ac_extension"; then
24129 ac_find_libraries=$ac_dir
24130 break 2
24131 fi
24132 done
24133 done
24134
24135 if test "$ac_find_libraries" != "" ; then
24136 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24137echo "${ECHO_T}found at $ac_find_libraries" >&6
24138
24139
24140 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24141 result=$?
24142 if test $result = 0; then
24143 ac_path_to_link=""
24144 else
24145 ac_path_to_link=" -L$ac_find_libraries"
24146 fi
24147
24148 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24149 else
24150 save_CFLAGS=$CFLAGS
24151 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24152
24153 cat >conftest.$ac_ext <<_ACEOF
24154#line $LINENO "configure"
24155/* confdefs.h. */
24156_ACEOF
24157cat confdefs.h >>conftest.$ac_ext
24158cat >>conftest.$ac_ext <<_ACEOF
24159/* end confdefs.h. */
24160
24161 #include <Xm/Xm.h>
24162
24163int
24164main ()
24165{
24166
24167 int version;
24168 version = xmUseVersion;
24169
24170 ;
24171 return 0;
24172}
24173_ACEOF
24174rm -f conftest.$ac_objext
24175if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24176 (eval $ac_compile) 2>&5
24177 ac_status=$?
24178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24179 (exit $ac_status); } &&
24180 { ac_try='test -s conftest.$ac_objext'
24181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24182 (eval $ac_try) 2>&5
24183 ac_status=$?
24184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24185 (exit $ac_status); }; }; then
24186
24187 echo "$as_me:$LINENO: result: found in default search path" >&5
24188echo "${ECHO_T}found in default search path" >&6
24189 COMPILED_X_PROGRAM=1
24190
24191else
24192 echo "$as_me: failed program was:" >&5
24193sed 's/^/| /' conftest.$ac_ext >&5
24194
24195
24196 echo "$as_me:$LINENO: result: no" >&5
24197echo "${ECHO_T}no" >&6
24198 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24199echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24200 { (exit 1); exit 1; }; }
24201
24202
24203fi
24204rm -f conftest.$ac_objext conftest.$ac_ext
24205
24206 CFLAGS=$save_CFLAGS
24207 fi
24208 fi
24209
24210 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24211echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24212 libp_link=""
24213 libsm_ice_link=""
24214 libs_found=0
24215 for libp in "" " -lXp"; do
24216 if test "$libs_found" = "0"; then
24217 for libsm_ice in "" " -lSM -lICE"; do
24218 if test "$libs_found" = "0"; then
24219 save_LIBS="$LIBS"
24220 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24221 save_CFLAGS=$CFLAGS
24222 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24223
24224 cat >conftest.$ac_ext <<_ACEOF
24225#line $LINENO "configure"
24226/* confdefs.h. */
24227_ACEOF
24228cat confdefs.h >>conftest.$ac_ext
24229cat >>conftest.$ac_ext <<_ACEOF
24230/* end confdefs.h. */
24231
24232 #include <Xm/Xm.h>
24233 #include <Xm/List.h>
24234
24235int
24236main ()
24237{
24238
24239 XmString string = NULL;
24240 Widget w = NULL;
24241 int position = 0;
24242 XmListAddItem(w, string, position);
24243
24244 ;
24245 return 0;
24246}
24247_ACEOF
24248rm -f conftest.$ac_objext conftest$ac_exeext
24249if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24250 (eval $ac_link) 2>&5
24251 ac_status=$?
24252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24253 (exit $ac_status); } &&
24254 { ac_try='test -s conftest$ac_exeext'
24255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24256 (eval $ac_try) 2>&5
24257 ac_status=$?
24258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24259 (exit $ac_status); }; }; then
24260
24261 libp_link="$libp"
24262 libsm_ice_link="$libsm_ice"
24263 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24264echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24265 libs_found=1
24266
24267else
24268 echo "$as_me: failed program was:" >&5
24269sed 's/^/| /' conftest.$ac_ext >&5
24270
24271
24272
24273fi
24274rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24275
24276 LIBS="$save_LIBS"
24277 CFLAGS=$save_CFLAGS
24278 fi
24279 done
24280 fi
24281 done
24282
24283 if test "$libs_found" = "0"; then
24284 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24285echo "${ECHO_T}can't find the right libraries" >&6
24286 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24287echo "$as_me: error: can't link a simple motif program" >&2;}
24288 { (exit 1); exit 1; }; }
24289 fi
24290
24291 save_CFLAGS=$CFLAGS
24292 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24293 echo "$as_me:$LINENO: checking for Motif 2" >&5
24294echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24295 cat >conftest.$ac_ext <<_ACEOF
24296#line $LINENO "configure"
24297/* confdefs.h. */
24298_ACEOF
24299cat confdefs.h >>conftest.$ac_ext
24300cat >>conftest.$ac_ext <<_ACEOF
24301/* end confdefs.h. */
24302
24303 #include <Xm/Xm.h>
24304
24305int
24306main ()
24307{
24308
24309 #if XmVersion < 2000
24310 #error "Not Motif 2"
24311 #endif
24312
24313 ;
24314 return 0;
24315}
24316_ACEOF
24317rm -f conftest.$ac_objext
24318if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24319 (eval $ac_compile) 2>&5
24320 ac_status=$?
24321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24322 (exit $ac_status); } &&
24323 { ac_try='test -s conftest.$ac_objext'
24324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24325 (eval $ac_try) 2>&5
24326 ac_status=$?
24327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24328 (exit $ac_status); }; }; then
24329
24330 cat >>confdefs.h <<\_ACEOF
24331#define __WXMOTIF20__ 1
24332_ACEOF
24333
24334 echo "$as_me:$LINENO: result: found" >&5
24335echo "${ECHO_T}found" >&6
24336
24337else
24338 echo "$as_me: failed program was:" >&5
24339sed 's/^/| /' conftest.$ac_ext >&5
24340
24341
24342 cat >>confdefs.h <<\_ACEOF
24343#define __WXMOTIF20__ 0
24344_ACEOF
24345
24346 echo "$as_me:$LINENO: result: not found" >&5
24347echo "${ECHO_T}not found" >&6
24348
24349fi
24350rm -f conftest.$ac_objext conftest.$ac_ext
24351 CFLAGS=$save_CFLAGS
24352
24353 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24354 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24355 TOOLKIT=MOTIF
24356 GUIDIST=MOTIF_DIST
24357 fi
24358
24359 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24360 if test "$wxUSE_LIBXPM" = "sys"; then
24361 echo "$as_me:$LINENO: checking for Xpm library" >&5
24362echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24363
24364ac_find_libraries=
24365for ac_dir in $SEARCH_LIB /usr/lib;
24366 do
24367 for ac_extension in a so sl dylib; do
24368 if test -f "$ac_dir/libXpm.$ac_extension"; then
24369 ac_find_libraries=$ac_dir
24370 break 2
24371 fi
24372 done
24373 done
24374
24375 if test "$ac_find_libraries" != "" ; then
24376
24377 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24378 result=$?
24379 if test $result = 0; then
24380 ac_path_to_link=""
24381 else
24382 ac_path_to_link=" -L$ac_find_libraries"
24383 fi
24384
24385 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24386 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24387echo "${ECHO_T}found at $ac_find_libraries" >&6
24388
24389 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
24390echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
24391if test "${wx_cv_x11_xpm_h+set}" = set; then
24392 echo $ECHO_N "(cached) $ECHO_C" >&6
24393else
24394
24395 save_CFLAGS=$CFLAGS
24396 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24397
24398 cat >conftest.$ac_ext <<_ACEOF
24399#line $LINENO "configure"
24400/* confdefs.h. */
24401_ACEOF
24402cat confdefs.h >>conftest.$ac_ext
24403cat >>conftest.$ac_ext <<_ACEOF
24404/* end confdefs.h. */
24405
24406 #include <X11/xpm.h>
24407
24408int
24409main ()
24410{
24411
24412 int version;
24413 version = XpmLibraryVersion();
24414
24415 ;
24416 return 0;
24417}
24418_ACEOF
24419rm -f conftest.$ac_objext
24420if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24421 (eval $ac_compile) 2>&5
24422 ac_status=$?
24423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24424 (exit $ac_status); } &&
24425 { ac_try='test -s conftest.$ac_objext'
24426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24427 (eval $ac_try) 2>&5
24428 ac_status=$?
24429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24430 (exit $ac_status); }; }; then
24431 wx_cv_x11_xpm_h=yes
24432else
24433 echo "$as_me: failed program was:" >&5
24434sed 's/^/| /' conftest.$ac_ext >&5
24435
24436wx_cv_x11_xpm_h=no
24437
24438fi
24439rm -f conftest.$ac_objext conftest.$ac_ext
24440
24441 CFLAGS=$save_CFLAGS
24442
24443
24444fi
24445echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
24446echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
24447
24448 if test $wx_cv_x11_xpm_h = "yes"; then
24449 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
24450 cat >>confdefs.h <<\_ACEOF
24451#define wxHAVE_LIB_XPM 1
24452_ACEOF
24453
24454 else
24455 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
24456echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
24457 fi
24458 fi
24459
24460 fi
24461
24462 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
24463echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
24464if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
24465 echo $ECHO_N "(cached) $ECHO_C" >&6
24466else
24467 ac_check_lib_save_LIBS=$LIBS
24468LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
24469cat >conftest.$ac_ext <<_ACEOF
24470#line $LINENO "configure"
24471/* confdefs.h. */
24472_ACEOF
24473cat confdefs.h >>conftest.$ac_ext
24474cat >>conftest.$ac_ext <<_ACEOF
24475/* end confdefs.h. */
24476
24477/* Override any gcc2 internal prototype to avoid an error. */
24478#ifdef __cplusplus
24479extern "C"
24480#endif
24481/* We use char because int might match the return type of a gcc2
24482 builtin and then its argument prototype would still apply. */
24483char XShapeQueryExtension ();
24484int
24485main ()
24486{
24487XShapeQueryExtension ();
24488 ;
24489 return 0;
24490}
24491_ACEOF
24492rm -f conftest.$ac_objext conftest$ac_exeext
24493if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24494 (eval $ac_link) 2>&5
24495 ac_status=$?
24496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24497 (exit $ac_status); } &&
24498 { ac_try='test -s conftest$ac_exeext'
24499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24500 (eval $ac_try) 2>&5
24501 ac_status=$?
24502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24503 (exit $ac_status); }; }; then
24504 ac_cv_lib_Xext_XShapeQueryExtension=yes
24505else
24506 echo "$as_me: failed program was:" >&5
24507sed 's/^/| /' conftest.$ac_ext >&5
24508
24509ac_cv_lib_Xext_XShapeQueryExtension=no
24510fi
24511rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24512LIBS=$ac_check_lib_save_LIBS
24513fi
24514echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
24515echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
24516if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
24517
24518 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
24519 wxHAVE_XEXT_LIB=1
24520
24521fi
24522
24523
24524 if test "$wxHAVE_XEXT_LIB" = 1; then
24525 save_CFLAGS="$CFLAGS"
24526 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24527
24528 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24529echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24530 cat >conftest.$ac_ext <<_ACEOF
24531#line $LINENO "configure"
24532/* confdefs.h. */
24533_ACEOF
24534cat confdefs.h >>conftest.$ac_ext
24535cat >>conftest.$ac_ext <<_ACEOF
24536/* end confdefs.h. */
24537
24538 #include <X11/Xlib.h>
24539 #include <X11/extensions/shape.h>
24540
24541int
24542main ()
24543{
24544
24545 int dummy1, dummy2;
24546 XShapeQueryExtension((Display*)NULL,
24547 (int*)NULL, (int*)NULL);
24548
24549 ;
24550 return 0;
24551}
24552_ACEOF
24553rm -f conftest.$ac_objext
24554if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24555 (eval $ac_compile) 2>&5
24556 ac_status=$?
24557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24558 (exit $ac_status); } &&
24559 { ac_try='test -s conftest.$ac_objext'
24560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24561 (eval $ac_try) 2>&5
24562 ac_status=$?
24563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564 (exit $ac_status); }; }; then
24565
24566 cat >>confdefs.h <<\_ACEOF
24567#define HAVE_XSHAPE 1
24568_ACEOF
24569
24570 echo "$as_me:$LINENO: result: found" >&5
24571echo "${ECHO_T}found" >&6
24572
24573else
24574 echo "$as_me: failed program was:" >&5
24575sed 's/^/| /' conftest.$ac_ext >&5
24576
24577
24578 echo "$as_me:$LINENO: result: not found" >&5
24579echo "${ECHO_T}not found" >&6
24580
24581fi
24582rm -f conftest.$ac_objext conftest.$ac_ext
24583 CFLAGS="$save_CFLAGS"
24584
24585 fi
24586 fi
24587
24588 if test "$wxUSE_MAC" = 1; then
24589 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
24590echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
24591 if test "$GCC" = yes; then
24592 echo "$as_me:$LINENO: result: gcc" >&5
24593echo "${ECHO_T}gcc" >&6
24594 CPPFLAGS_PASCAL="-fpascal-strings"
24595 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
24596 echo "$as_me:$LINENO: result: xlc" >&5
24597echo "${ECHO_T}xlc" >&6
24598 CPPFLAGS_PASCAL="-qmacpstr"
24599 else
24600 echo "$as_me:$LINENO: result: none" >&5
24601echo "${ECHO_T}none" >&6
24602 fi
24603
24604 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24605
24606 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24607 TOOLKIT=MAC
24608 GUIDIST=MACX_DIST
24609 WXBASEPORT="_carbon"
24610 fi
24611
24612 if test "$wxUSE_COCOA" = 1; then
24613 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24614 TOOLKIT=COCOA
24615 GUIDIST=COCOA_DIST
24616 fi
24617
24618 if test "$wxUSE_PM" = 1; then
24619 TOOLKIT=PM
24620 GUIDIST=GTK_DIST
24621 fi
24622
24623 if test "$TOOLKIT" = "PM" ; then
24624 TOOLKIT_DIR="os2"
24625 else
24626 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24627 fi
24628
24629 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24630
24631 if test "$wxUSE_UNIVERSAL" = "yes"; then
24632 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24633
24634 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24635 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24636
24637 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24638 if test "$wxUSE_X11" = 1; then
24639 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24640 else
24641 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24642 fi
24643 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24644 WIDGET_SET=univ
24645 else
24646 ALL_OBJECTS="\$(GUIOBJS)"
24647 ALL_SOURCES="\$(ALL_SOURCES)"
24648 ALL_HEADERS="\$(ALL_HEADERS)"
24649 fi
24650
24651 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24652
24653 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24654 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24655 fi
24656
24657 if test "$wxUSE_HTML" = "yes"; then
24658 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24659 fi
24660
24661 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24662 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24663 fi
24664 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24665 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24666 fi
24667 if test "$wxUSE_LIBPNG" = "builtin" ; then
24668 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24669 fi
24670
24671 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24672 DISTDIR="wx\$(TOOLKIT)"
24673else
24674 USE_GUI=0
24675
24676 TOOLKIT_DIR="base"
24677
24678 if test "$USE_WIN32" = 1 ; then
24679 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24680 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24681
24682 TOOLKIT="MSW"
24683 else
24684 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24685 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24686 fi
24687
24688 ALL_SOURCES="\$(ALL_SOURCES)"
24689 ALL_HEADERS="\$(ALL_HEADERS)"
24690
24691 PORT_FILES="\${top_srcdir}/src/files.lst"
24692
24693 GUIDIST="BASE_DIST"
24694 DISTDIR="wxBase"
24695fi
24696
24697
24698
24699
24700IODBC_C_SRC=""
24701
24702
24703if test "$TOOLKIT" != "MSW" ; then
24704
24705 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24706
24707 if test "${ac_cv_header_sql_h+set}" = set; then
24708 echo "$as_me:$LINENO: checking for sql.h" >&5
24709echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24710if test "${ac_cv_header_sql_h+set}" = set; then
24711 echo $ECHO_N "(cached) $ECHO_C" >&6
24712fi
24713echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24714echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24715else
24716 # Is the header compilable?
24717echo "$as_me:$LINENO: checking sql.h usability" >&5
24718echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24719cat >conftest.$ac_ext <<_ACEOF
24720#line $LINENO "configure"
24721/* confdefs.h. */
24722_ACEOF
24723cat confdefs.h >>conftest.$ac_ext
24724cat >>conftest.$ac_ext <<_ACEOF
24725/* end confdefs.h. */
24726$ac_includes_default
24727#include <sql.h>
24728_ACEOF
24729rm -f conftest.$ac_objext
24730if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24731 (eval $ac_compile) 2>&5
24732 ac_status=$?
24733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734 (exit $ac_status); } &&
24735 { ac_try='test -s conftest.$ac_objext'
24736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24737 (eval $ac_try) 2>&5
24738 ac_status=$?
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); }; }; then
24741 ac_header_compiler=yes
24742else
24743 echo "$as_me: failed program was:" >&5
24744sed 's/^/| /' conftest.$ac_ext >&5
24745
24746ac_header_compiler=no
24747fi
24748rm -f conftest.$ac_objext conftest.$ac_ext
24749echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24750echo "${ECHO_T}$ac_header_compiler" >&6
24751
24752# Is the header present?
24753echo "$as_me:$LINENO: checking sql.h presence" >&5
24754echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24755cat >conftest.$ac_ext <<_ACEOF
24756#line $LINENO "configure"
24757/* confdefs.h. */
24758_ACEOF
24759cat confdefs.h >>conftest.$ac_ext
24760cat >>conftest.$ac_ext <<_ACEOF
24761/* end confdefs.h. */
24762#include <sql.h>
24763_ACEOF
24764if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24765 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24766 ac_status=$?
24767 grep -v '^ *+' conftest.er1 >conftest.err
24768 rm -f conftest.er1
24769 cat conftest.err >&5
24770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24771 (exit $ac_status); } >/dev/null; then
24772 if test -s conftest.err; then
24773 ac_cpp_err=$ac_c_preproc_warn_flag
24774 else
24775 ac_cpp_err=
24776 fi
24777else
24778 ac_cpp_err=yes
24779fi
24780if test -z "$ac_cpp_err"; then
24781 ac_header_preproc=yes
24782else
24783 echo "$as_me: failed program was:" >&5
24784sed 's/^/| /' conftest.$ac_ext >&5
24785
24786 ac_header_preproc=no
24787fi
24788rm -f conftest.err conftest.$ac_ext
24789echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24790echo "${ECHO_T}$ac_header_preproc" >&6
24791
24792# So? What about this header?
24793case $ac_header_compiler:$ac_header_preproc in
24794 yes:no )
24795 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24796echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24797 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24798echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24799 (
24800 cat <<\_ASBOX
24801## ------------------------------------ ##
24802## Report this to bug-autoconf@gnu.org. ##
24803## ------------------------------------ ##
24804_ASBOX
24805 ) |
24806 sed "s/^/$as_me: WARNING: /" >&2
24807 ;;
24808 no:yes )
24809 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24810echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24811 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24812echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24813 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24814echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24815 (
24816 cat <<\_ASBOX
24817## ------------------------------------ ##
24818## Report this to bug-autoconf@gnu.org. ##
24819## ------------------------------------ ##
24820_ASBOX
24821 ) |
24822 sed "s/^/$as_me: WARNING: /" >&2
24823 ;;
24824esac
24825echo "$as_me:$LINENO: checking for sql.h" >&5
24826echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24827if test "${ac_cv_header_sql_h+set}" = set; then
24828 echo $ECHO_N "(cached) $ECHO_C" >&6
24829else
24830 ac_cv_header_sql_h=$ac_header_preproc
24831fi
24832echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24833echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24834
24835fi
24836if test $ac_cv_header_sql_h = yes; then
24837 found_sql_h=1
24838fi
24839
24840
24841 if test "x$found_sql_h" = "x1" ; then
24842 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
24843echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
24844if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
24845 echo $ECHO_N "(cached) $ECHO_C" >&6
24846else
24847 ac_check_lib_save_LIBS=$LIBS
24848LIBS="-liodbc $LIBS"
24849cat >conftest.$ac_ext <<_ACEOF
24850#line $LINENO "configure"
24851/* confdefs.h. */
24852_ACEOF
24853cat confdefs.h >>conftest.$ac_ext
24854cat >>conftest.$ac_ext <<_ACEOF
24855/* end confdefs.h. */
24856
24857/* Override any gcc2 internal prototype to avoid an error. */
24858#ifdef __cplusplus
24859extern "C"
24860#endif
24861/* We use char because int might match the return type of a gcc2
24862 builtin and then its argument prototype would still apply. */
24863char SQLAllocEnv ();
24864int
24865main ()
24866{
24867SQLAllocEnv ();
24868 ;
24869 return 0;
24870}
24871_ACEOF
24872rm -f conftest.$ac_objext conftest$ac_exeext
24873if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24874 (eval $ac_link) 2>&5
24875 ac_status=$?
24876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24877 (exit $ac_status); } &&
24878 { ac_try='test -s conftest$ac_exeext'
24879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24880 (eval $ac_try) 2>&5
24881 ac_status=$?
24882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24883 (exit $ac_status); }; }; then
24884 ac_cv_lib_iodbc_SQLAllocEnv=yes
24885else
24886 echo "$as_me: failed program was:" >&5
24887sed 's/^/| /' conftest.$ac_ext >&5
24888
24889ac_cv_lib_iodbc_SQLAllocEnv=no
24890fi
24891rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24892LIBS=$ac_check_lib_save_LIBS
24893fi
24894echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
24895echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
24896if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
24897 ODBC_LINK=" -liodbc"
24898else
24899
24900 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
24901echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
24902if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
24903 echo $ECHO_N "(cached) $ECHO_C" >&6
24904else
24905 ac_check_lib_save_LIBS=$LIBS
24906LIBS="-lunixodbc $LIBS"
24907cat >conftest.$ac_ext <<_ACEOF
24908#line $LINENO "configure"
24909/* confdefs.h. */
24910_ACEOF
24911cat confdefs.h >>conftest.$ac_ext
24912cat >>conftest.$ac_ext <<_ACEOF
24913/* end confdefs.h. */
24914
24915/* Override any gcc2 internal prototype to avoid an error. */
24916#ifdef __cplusplus
24917extern "C"
24918#endif
24919/* We use char because int might match the return type of a gcc2
24920 builtin and then its argument prototype would still apply. */
24921char SQLAllocEnv ();
24922int
24923main ()
24924{
24925SQLAllocEnv ();
24926 ;
24927 return 0;
24928}
24929_ACEOF
24930rm -f conftest.$ac_objext conftest$ac_exeext
24931if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24932 (eval $ac_link) 2>&5
24933 ac_status=$?
24934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935 (exit $ac_status); } &&
24936 { ac_try='test -s conftest$ac_exeext'
24937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24938 (eval $ac_try) 2>&5
24939 ac_status=$?
24940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941 (exit $ac_status); }; }; then
24942 ac_cv_lib_unixodbc_SQLAllocEnv=yes
24943else
24944 echo "$as_me: failed program was:" >&5
24945sed 's/^/| /' conftest.$ac_ext >&5
24946
24947ac_cv_lib_unixodbc_SQLAllocEnv=no
24948fi
24949rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24950LIBS=$ac_check_lib_save_LIBS
24951fi
24952echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
24953echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
24954if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
24955 ODBC_LINK=" -lunixodbc"
24956else
24957
24958 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
24959echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
24960if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
24961 echo $ECHO_N "(cached) $ECHO_C" >&6
24962else
24963 ac_check_lib_save_LIBS=$LIBS
24964LIBS="-lodbc $LIBS"
24965cat >conftest.$ac_ext <<_ACEOF
24966#line $LINENO "configure"
24967/* confdefs.h. */
24968_ACEOF
24969cat confdefs.h >>conftest.$ac_ext
24970cat >>conftest.$ac_ext <<_ACEOF
24971/* end confdefs.h. */
24972
24973/* Override any gcc2 internal prototype to avoid an error. */
24974#ifdef __cplusplus
24975extern "C"
24976#endif
24977/* We use char because int might match the return type of a gcc2
24978 builtin and then its argument prototype would still apply. */
24979char SQLAllocEnv ();
24980int
24981main ()
24982{
24983SQLAllocEnv ();
24984 ;
24985 return 0;
24986}
24987_ACEOF
24988rm -f conftest.$ac_objext conftest$ac_exeext
24989if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24990 (eval $ac_link) 2>&5
24991 ac_status=$?
24992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24993 (exit $ac_status); } &&
24994 { ac_try='test -s conftest$ac_exeext'
24995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24996 (eval $ac_try) 2>&5
24997 ac_status=$?
24998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24999 (exit $ac_status); }; }; then
25000 ac_cv_lib_odbc_SQLAllocEnv=yes
25001else
25002 echo "$as_me: failed program was:" >&5
25003sed 's/^/| /' conftest.$ac_ext >&5
25004
25005ac_cv_lib_odbc_SQLAllocEnv=no
25006fi
25007rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25008LIBS=$ac_check_lib_save_LIBS
25009fi
25010echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
25011echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
25012if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
25013 ODBC_LINK=" -lodbc"
25014fi
25015
25016
25017fi
25018
25019
25020fi
25021
25022 fi
25023 if test "x$ODBC_LINK" = "x" ; then
25024 if test "$wxUSE_ODBC" = "sys" ; then
25025 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
25026echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
25027 { (exit 1); exit 1; }; }
25028 else
25029 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
25030echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
25031 wxUSE_ODBC=builtin
25032 fi
25033 else
25034 wxUSE_ODBC=sys
25035 fi
25036 fi
25037 if test "$wxUSE_ODBC" != "no" ; then
25038 cat >>confdefs.h <<\_ACEOF
25039#define wxUSE_ODBC 1
25040_ACEOF
25041
25042 if test "$wxUSE_ODBC" = "builtin" ; then
25043 cat >>confdefs.h <<\_ACEOF
25044#define wxUSE_BUILTIN_IODBC 1
25045_ACEOF
25046
25047 fi
25048 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
25049
25050 WXODBCFLAG="-D_IODBC_"
25051 fi
25052fi
25053
25054if test "$wxUSE_REGEX" = "builtin" ; then
25055 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
25056fi
25057if test "$wxUSE_ZLIB" = "builtin" ; then
25058 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
25059fi
25060
25061
25062USE_OPENGL=0
25063if test "$wxUSE_OPENGL" = "yes"; then
25064 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
25065 OPENGL_LIBS="-framework OpenGL -framework AGL"
25066 elif test "$wxUSE_MSW" = 1; then
25067 OPENGL_LIBS="-lopengl32 -lglu32"
25068 else
25069
25070
25071ac_find_includes=
25072for ac_dir in $SEARCH_INCLUDE /usr/include;
25073 do
25074 if test -f "$ac_dir/GL/gl.h"; then
25075 ac_find_includes=$ac_dir
25076 break
25077 fi
25078 done
25079
25080 if test "$ac_find_includes" != "" ; then
25081 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25082echo "${ECHO_T}found in $ac_find_includes" >&6
25083
25084 if test "x$ac_find_includes" = "x/usr/include"; then
25085 ac_path_to_include=""
25086 else
25087 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
25088 result=$?
25089 if test $result = 0; then
25090 ac_path_to_include=""
25091 else
25092 ac_path_to_include=" -I$ac_find_includes"
25093 fi
25094 fi
25095
25096 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
25097 fi
25098
25099 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25100 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25101echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25102if test "${ac_cv_header_GL_gl_h+set}" = set; then
25103 echo $ECHO_N "(cached) $ECHO_C" >&6
25104fi
25105echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25106echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25107else
25108 # Is the header compilable?
25109echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
25110echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
25111cat >conftest.$ac_ext <<_ACEOF
25112#line $LINENO "configure"
25113/* confdefs.h. */
25114_ACEOF
25115cat confdefs.h >>conftest.$ac_ext
25116cat >>conftest.$ac_ext <<_ACEOF
25117/* end confdefs.h. */
25118$ac_includes_default
25119#include <GL/gl.h>
25120_ACEOF
25121rm -f conftest.$ac_objext
25122if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25123 (eval $ac_compile) 2>&5
25124 ac_status=$?
25125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25126 (exit $ac_status); } &&
25127 { ac_try='test -s conftest.$ac_objext'
25128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25129 (eval $ac_try) 2>&5
25130 ac_status=$?
25131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25132 (exit $ac_status); }; }; then
25133 ac_header_compiler=yes
25134else
25135 echo "$as_me: failed program was:" >&5
25136sed 's/^/| /' conftest.$ac_ext >&5
25137
25138ac_header_compiler=no
25139fi
25140rm -f conftest.$ac_objext conftest.$ac_ext
25141echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25142echo "${ECHO_T}$ac_header_compiler" >&6
25143
25144# Is the header present?
25145echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
25146echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
25147cat >conftest.$ac_ext <<_ACEOF
25148#line $LINENO "configure"
25149/* confdefs.h. */
25150_ACEOF
25151cat confdefs.h >>conftest.$ac_ext
25152cat >>conftest.$ac_ext <<_ACEOF
25153/* end confdefs.h. */
25154#include <GL/gl.h>
25155_ACEOF
25156if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25157 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25158 ac_status=$?
25159 grep -v '^ *+' conftest.er1 >conftest.err
25160 rm -f conftest.er1
25161 cat conftest.err >&5
25162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25163 (exit $ac_status); } >/dev/null; then
25164 if test -s conftest.err; then
25165 ac_cpp_err=$ac_c_preproc_warn_flag
25166 else
25167 ac_cpp_err=
25168 fi
25169else
25170 ac_cpp_err=yes
25171fi
25172if test -z "$ac_cpp_err"; then
25173 ac_header_preproc=yes
25174else
25175 echo "$as_me: failed program was:" >&5
25176sed 's/^/| /' conftest.$ac_ext >&5
25177
25178 ac_header_preproc=no
25179fi
25180rm -f conftest.err conftest.$ac_ext
25181echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25182echo "${ECHO_T}$ac_header_preproc" >&6
25183
25184# So? What about this header?
25185case $ac_header_compiler:$ac_header_preproc in
25186 yes:no )
25187 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
25188echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25189 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25190echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25191 (
25192 cat <<\_ASBOX
25193## ------------------------------------ ##
25194## Report this to bug-autoconf@gnu.org. ##
25195## ------------------------------------ ##
25196_ASBOX
25197 ) |
25198 sed "s/^/$as_me: WARNING: /" >&2
25199 ;;
25200 no:yes )
25201 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
25202echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
25203 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
25204echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
25205 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25206echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25207 (
25208 cat <<\_ASBOX
25209## ------------------------------------ ##
25210## Report this to bug-autoconf@gnu.org. ##
25211## ------------------------------------ ##
25212_ASBOX
25213 ) |
25214 sed "s/^/$as_me: WARNING: /" >&2
25215 ;;
25216esac
25217echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25218echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25219if test "${ac_cv_header_GL_gl_h+set}" = set; then
25220 echo $ECHO_N "(cached) $ECHO_C" >&6
25221else
25222 ac_cv_header_GL_gl_h=$ac_header_preproc
25223fi
25224echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25225echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25226
25227fi
25228if test $ac_cv_header_GL_gl_h = yes; then
25229
25230 found_gl=0
25231
25232 echo "$as_me:$LINENO: checking for -lGL" >&5
25233echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25234
25235ac_find_libraries=
25236for ac_dir in $SEARCH_LIB /usr/lib;
25237 do
25238 for ac_extension in a so sl dylib; do
25239 if test -f "$ac_dir/libGL.$ac_extension"; then
25240 ac_find_libraries=$ac_dir
25241 break 2
25242 fi
25243 done
25244 done
25245
25246 if test "$ac_find_libraries" != "" ; then
25247
25248 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25249 result=$?
25250 if test $result = 0; then
25251 ac_path_to_link=""
25252 else
25253 ac_path_to_link=" -L$ac_find_libraries"
25254 fi
25255
25256 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25257 LDFLAGS_GL="$ac_path_to_link"
25258 fi
25259
25260
25261ac_find_libraries=
25262for ac_dir in $SEARCH_LIB /usr/lib;
25263 do
25264 for ac_extension in a so sl dylib; do
25265 if test -f "$ac_dir/libGLU.$ac_extension"; then
25266 ac_find_libraries=$ac_dir
25267 break 2
25268 fi
25269 done
25270 done
25271
25272 if test "$ac_find_libraries" != "" ; then
25273
25274 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25275 result=$?
25276 if test $result = 0; then
25277 ac_path_to_link=""
25278 else
25279 ac_path_to_link=" -L$ac_find_libraries"
25280 fi
25281
25282 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25283 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25284 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
25285 fi
25286
25287 found_gl=1
25288 OPENGL_LIBS="-lGL -lGLU"
25289 echo "$as_me:$LINENO: result: yes" >&5
25290echo "${ECHO_T}yes" >&6
25291 fi
25292 fi
25293
25294 if test "$found_gl" != 1; then
25295 echo "$as_me:$LINENO: result: no" >&5
25296echo "${ECHO_T}no" >&6
25297 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25298echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25299
25300ac_find_libraries=
25301for ac_dir in $SEARCH_LIB /usr/lib;
25302 do
25303 for ac_extension in a so sl dylib; do
25304 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25305 ac_find_libraries=$ac_dir
25306 break 2
25307 fi
25308 done
25309 done
25310
25311 if test "$ac_find_libraries" != "" ; then
25312
25313 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25314 result=$?
25315 if test $result = 0; then
25316 ac_path_to_link=""
25317 else
25318 ac_path_to_link=" -L$ac_find_libraries"
25319 fi
25320
25321 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
25322 OPENGL_LIBS="-lMesaGL -lMesaGLU"
25323 echo "$as_me:$LINENO: result: yes" >&5
25324echo "${ECHO_T}yes" >&6
25325 else
25326 echo "$as_me:$LINENO: result: no" >&5
25327echo "${ECHO_T}no" >&6
25328 fi
25329 fi
25330
25331fi
25332
25333
25334
25335 if test "x$OPENGL_LIBS" = "x"; then
25336 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25337echo "$as_me: error: OpenGL libraries not available" >&2;}
25338 { (exit 1); exit 1; }; }
25339 fi
25340 fi
25341
25342 if test "$wxUSE_OPENGL" = "yes"; then
25343 USE_OPENGL=1
25344 cat >>confdefs.h <<\_ACEOF
25345#define wxUSE_OPENGL 1
25346_ACEOF
25347
25348 cat >>confdefs.h <<\_ACEOF
25349#define wxUSE_GLCANVAS 1
25350_ACEOF
25351
25352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25353 fi
25354fi
25355
25356if test -z "$TOOLKIT_VPATH" ; then
25357 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
25358fi
25359
25360if test -n "$TOOLKIT" ; then
25361 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25362fi
25363
25364UNICODE=0
25365lib_unicode_suffix=
25366if test "$wxUSE_UNICODE" = "yes"; then
25367 lib_unicode_suffix=u
25368 UNICODE=1
25369fi
25370
25371lib_debug_suffix=
25372DEBUG_FLAG=0
25373if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25374 lib_debug_suffix=d
25375 DEBUG_FLAG=1
25376fi
25377
25378DEBUG_INFO=0
25379if test "$wxUSE_DEBUG_INFO" = "yes"; then
25380 DEBUG_INFO=1
25381fi
25382
25383WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25384
25385TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25386TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25387
25388if test "$cross_compiling" = "yes"; then
25389 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
25390 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
25391 HOST_SUFFIX="-${host_alias}"
25392fi
25393
25394WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
25395WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
25396WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25397WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25398
25399WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25400WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25401
25402WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25403WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25404WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25405WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25406
25407case "${host}" in
25408 *-*-cygwin* | *-*-mingw32* )
25409 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
25410 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25411 ;;
25412
25413 *-*-darwin* )
25414
25415 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25416 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25417
25418 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25419 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25420 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25421 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25422
25423 if test "$wxUSE_MAC" = 1; then
25424 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25425 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25426 fi
25427 ;;
25428esac
25429
25430WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
25431WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
25432
25433WXCONFIG_LIBS="-l${WX_LIBRARY}"
25434WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
25435
25436if test "$wxUSE_OPENGL" = "yes"; then
25437 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25438 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25439fi
25440
25441
25442
25443if test "$wxUSE_SHARED" = "yes"; then
25444 case "${host}" in
25445 *-pc-os2_emx | *-pc-os2-emx | \
25446 *-pc-msdosdjgpp )
25447 wxUSE_SHARED=no
25448 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25449echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25450 ;;
25451 esac
25452fi
25453
25454SHARED=0
25455if test "$wxUSE_SHARED" = "yes"; then
25456 SHARED=1
25457
25458
25459 found_versioning=no
25460
25461
25462 if test $found_versioning = no ; then
25463 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25464echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25465if test "${wx_cv_version_script+set}" = set; then
25466 echo $ECHO_N "(cached) $ECHO_C" >&6
25467else
25468
25469 echo "VER_1 { *; };" >conftest.sym
25470 echo "int main() { return 0; }" >conftest.cpp
25471
25472 if { ac_try='
25473 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25474 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25476 (eval $ac_try) 2>&5
25477 ac_status=$?
25478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25479 (exit $ac_status); }; } ; then
25480 if test -s conftest.stderr ; then
25481 wx_cv_version_script=no
25482 else
25483 wx_cv_version_script=yes
25484 fi
25485 else
25486 wx_cv_version_script=no
25487 fi
25488 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25489
25490fi
25491echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25492echo "${ECHO_T}$wx_cv_version_script" >&6
25493 if test $wx_cv_version_script = yes ; then
25494 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
25495 fi
25496 fi
25497
25498
25499 case "${host}" in
25500 *-*-linux* | *-*-gnu* )
25501 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25502 ;;
25503
25504 *-*-solaris2* )
25505 if test "$GCC" = yes ; then
25506 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
25507
25508 saveLdflags="$LDFLAGS"
25509 LDFLAGS="$saveLdflags -Wl,-rpath,/"
25510 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25511echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25512 cat >conftest.$ac_ext <<_ACEOF
25513#line $LINENO "configure"
25514/* confdefs.h. */
25515_ACEOF
25516cat confdefs.h >>conftest.$ac_ext
25517cat >>conftest.$ac_ext <<_ACEOF
25518/* end confdefs.h. */
25519
25520int
25521main ()
25522{
25523
25524 ;
25525 return 0;
25526}
25527_ACEOF
25528rm -f conftest.$ac_objext conftest$ac_exeext
25529if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25530 (eval $ac_link) 2>&5
25531 ac_status=$?
25532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25533 (exit $ac_status); } &&
25534 { ac_try='test -s conftest$ac_exeext'
25535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25536 (eval $ac_try) 2>&5
25537 ac_status=$?
25538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25539 (exit $ac_status); }; }; then
25540
25541 echo "$as_me:$LINENO: result: yes" >&5
25542echo "${ECHO_T}yes" >&6
25543 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25544
25545else
25546 echo "$as_me: failed program was:" >&5
25547sed 's/^/| /' conftest.$ac_ext >&5
25548
25549
25550 echo "$as_me:$LINENO: result: no" >&5
25551echo "${ECHO_T}no" >&6
25552 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25553echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25554 LDFLAGS="$saveLdflags -Wl,-R,/"
25555 cat >conftest.$ac_ext <<_ACEOF
25556#line $LINENO "configure"
25557/* confdefs.h. */
25558_ACEOF
25559cat confdefs.h >>conftest.$ac_ext
25560cat >>conftest.$ac_ext <<_ACEOF
25561/* end confdefs.h. */
25562
25563int
25564main ()
25565{
25566
25567 ;
25568 return 0;
25569}
25570_ACEOF
25571rm -f conftest.$ac_objext conftest$ac_exeext
25572if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25573 (eval $ac_link) 2>&5
25574 ac_status=$?
25575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25576 (exit $ac_status); } &&
25577 { ac_try='test -s conftest$ac_exeext'
25578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25579 (eval $ac_try) 2>&5
25580 ac_status=$?
25581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25582 (exit $ac_status); }; }; then
25583
25584 echo "$as_me:$LINENO: result: yes" >&5
25585echo "${ECHO_T}yes" >&6
25586 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
25587else
25588 echo "$as_me: failed program was:" >&5
25589sed 's/^/| /' conftest.$ac_ext >&5
25590
25591
25592 echo "$as_me:$LINENO: result: no" >&5
25593echo "${ECHO_T}no" >&6
25594
25595fi
25596rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25597
25598fi
25599rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25600 LDFLAGS="$saveLdflags"
25601 else
25602 SHARED_LD="${CXX} -G -o"
25603 PIC_FLAG="-KPIC"
25604 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
25605 fi
25606 ;;
25607
25608 powerpc-*-darwin* )
25609 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25610 cat <<EOF >change-install-names
25611#!/bin/sh
25612libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25613inst_cmd="install_name_tool "
25614for i in \${libnames} ; do
25615 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25616done
25617\${inst_cmd} \${3}
25618EOF
25619 chmod +x change-install-names
25620 ;;
25621
25622 esac
25623
25624 if test "x$WX_TARGET_LIBRARY" = "x"; then
25625 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25626 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25627 fi
25628
25629 WX_TARGET_LIBRARY_TYPE="so"
25630 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25631fi
25632
25633if test "$wxUSE_SHARED" = "no"; then
25634
25635 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25636 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25637 fi
25638
25639 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25640 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25641 fi
25642
25643 if test "$wxUSE_OPENGL" = "yes"; then
25644 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25645 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25646 else
25647 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25648 fi
25649
25650 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25651 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25652
25653 WX_TARGET_LIBRARY_TYPE="a"
25654 INSTALL_LIBRARY='$(INSTALL_DATA)'
25655
25656 STATIC_FLAG="yes"
25657else
25658 STATIC_FLAG="no"
25659fi
25660
25661MACRESCOMP="@#"
25662MACSETFILE="@#"
25663MACRESWXCONFIG="#"
25664if test "$wxUSE_MAC" = 1; then
25665 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25666 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25667 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25668 # Extract the first word of "Rez", so it can be a program name with args.
25669set dummy Rez; ac_word=$2
25670echo "$as_me:$LINENO: checking for $ac_word" >&5
25671echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25672if test "${ac_cv_prog_RESCOMP+set}" = set; then
25673 echo $ECHO_N "(cached) $ECHO_C" >&6
25674else
25675 if test -n "$RESCOMP"; then
25676 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25677else
25678as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25679for as_dir in $PATH
25680do
25681 IFS=$as_save_IFS
25682 test -z "$as_dir" && as_dir=.
25683 for ac_exec_ext in '' $ac_executable_extensions; do
25684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25685 ac_cv_prog_RESCOMP="Rez"
25686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25687 break 2
25688 fi
25689done
25690done
25691
25692 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25693fi
25694fi
25695RESCOMP=$ac_cv_prog_RESCOMP
25696if test -n "$RESCOMP"; then
25697 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25698echo "${ECHO_T}$RESCOMP" >&6
25699else
25700 echo "$as_me:$LINENO: result: no" >&5
25701echo "${ECHO_T}no" >&6
25702fi
25703
25704 # Extract the first word of "DeRez", so it can be a program name with args.
25705set dummy DeRez; ac_word=$2
25706echo "$as_me:$LINENO: checking for $ac_word" >&5
25707echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25708if test "${ac_cv_prog_DEREZ+set}" = set; then
25709 echo $ECHO_N "(cached) $ECHO_C" >&6
25710else
25711 if test -n "$DEREZ"; then
25712 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25713else
25714as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25715for as_dir in $PATH
25716do
25717 IFS=$as_save_IFS
25718 test -z "$as_dir" && as_dir=.
25719 for ac_exec_ext in '' $ac_executable_extensions; do
25720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25721 ac_cv_prog_DEREZ="DeRez"
25722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25723 break 2
25724 fi
25725done
25726done
25727
25728 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25729fi
25730fi
25731DEREZ=$ac_cv_prog_DEREZ
25732if test -n "$DEREZ"; then
25733 echo "$as_me:$LINENO: result: $DEREZ" >&5
25734echo "${ECHO_T}$DEREZ" >&6
25735else
25736 echo "$as_me:$LINENO: result: no" >&5
25737echo "${ECHO_T}no" >&6
25738fi
25739
25740 # Extract the first word of "SetFile", so it can be a program name with args.
25741set dummy SetFile; ac_word=$2
25742echo "$as_me:$LINENO: checking for $ac_word" >&5
25743echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25744if test "${ac_cv_prog_SETFILE+set}" = set; then
25745 echo $ECHO_N "(cached) $ECHO_C" >&6
25746else
25747 if test -n "$SETFILE"; then
25748 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25749else
25750as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25751for as_dir in $PATH
25752do
25753 IFS=$as_save_IFS
25754 test -z "$as_dir" && as_dir=.
25755 for ac_exec_ext in '' $ac_executable_extensions; do
25756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25757 ac_cv_prog_SETFILE="SetFile"
25758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25759 break 2
25760 fi
25761done
25762done
25763
25764 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25765fi
25766fi
25767SETFILE=$ac_cv_prog_SETFILE
25768if test -n "$SETFILE"; then
25769 echo "$as_me:$LINENO: result: $SETFILE" >&5
25770echo "${ECHO_T}$SETFILE" >&6
25771else
25772 echo "$as_me:$LINENO: result: no" >&5
25773echo "${ECHO_T}no" >&6
25774fi
25775
25776 MACOSX_BUNDLE="bundle"
25777 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25778 MACSETFILE="\$(SETFILE)"
25779 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25780elif test "$wxUSE_COCOA" = 1; then
25781 # Extract the first word of "Rez", so it can be a program name with args.
25782set dummy Rez; ac_word=$2
25783echo "$as_me:$LINENO: checking for $ac_word" >&5
25784echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25785if test "${ac_cv_prog_RESCOMP+set}" = set; then
25786 echo $ECHO_N "(cached) $ECHO_C" >&6
25787else
25788 if test -n "$RESCOMP"; then
25789 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25790else
25791as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25792for as_dir in $PATH
25793do
25794 IFS=$as_save_IFS
25795 test -z "$as_dir" && as_dir=.
25796 for ac_exec_ext in '' $ac_executable_extensions; do
25797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25798 ac_cv_prog_RESCOMP="Rez"
25799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25800 break 2
25801 fi
25802done
25803done
25804
25805 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25806fi
25807fi
25808RESCOMP=$ac_cv_prog_RESCOMP
25809if test -n "$RESCOMP"; then
25810 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25811echo "${ECHO_T}$RESCOMP" >&6
25812else
25813 echo "$as_me:$LINENO: result: no" >&5
25814echo "${ECHO_T}no" >&6
25815fi
25816
25817 # Extract the first word of "DeRez", so it can be a program name with args.
25818set dummy DeRez; ac_word=$2
25819echo "$as_me:$LINENO: checking for $ac_word" >&5
25820echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25821if test "${ac_cv_prog_DEREZ+set}" = set; then
25822 echo $ECHO_N "(cached) $ECHO_C" >&6
25823else
25824 if test -n "$DEREZ"; then
25825 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25826else
25827as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25828for as_dir in $PATH
25829do
25830 IFS=$as_save_IFS
25831 test -z "$as_dir" && as_dir=.
25832 for ac_exec_ext in '' $ac_executable_extensions; do
25833 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25834 ac_cv_prog_DEREZ="DeRez"
25835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25836 break 2
25837 fi
25838done
25839done
25840
25841 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25842fi
25843fi
25844DEREZ=$ac_cv_prog_DEREZ
25845if test -n "$DEREZ"; then
25846 echo "$as_me:$LINENO: result: $DEREZ" >&5
25847echo "${ECHO_T}$DEREZ" >&6
25848else
25849 echo "$as_me:$LINENO: result: no" >&5
25850echo "${ECHO_T}no" >&6
25851fi
25852
25853 # Extract the first word of "SetFile", so it can be a program name with args.
25854set dummy SetFile; ac_word=$2
25855echo "$as_me:$LINENO: checking for $ac_word" >&5
25856echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25857if test "${ac_cv_prog_SETFILE+set}" = set; then
25858 echo $ECHO_N "(cached) $ECHO_C" >&6
25859else
25860 if test -n "$SETFILE"; then
25861 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25862else
25863as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25864for as_dir in $PATH
25865do
25866 IFS=$as_save_IFS
25867 test -z "$as_dir" && as_dir=.
25868 for ac_exec_ext in '' $ac_executable_extensions; do
25869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25870 ac_cv_prog_SETFILE="SetFile"
25871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25872 break 2
25873 fi
25874done
25875done
25876
25877 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25878fi
25879fi
25880SETFILE=$ac_cv_prog_SETFILE
25881if test -n "$SETFILE"; then
25882 echo "$as_me:$LINENO: result: $SETFILE" >&5
25883echo "${ECHO_T}$SETFILE" >&6
25884else
25885 echo "$as_me:$LINENO: result: no" >&5
25886echo "${ECHO_T}no" >&6
25887fi
25888
25889 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25890 MACSETFILE="\$(SETFILE)"
25891 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25892else
25893 if test "$wxUSE_PM" = 1; then
25894 MACRESCOMP="emxbind -ep"
25895 fi
25896fi
25897
25898
25899echo "$as_me:$LINENO: checking for mode_t" >&5
25900echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25901if test "${ac_cv_type_mode_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$ac_includes_default
25912int
25913main ()
25914{
25915if ((mode_t *) 0)
25916 return 0;
25917if (sizeof (mode_t))
25918 return 0;
25919 ;
25920 return 0;
25921}
25922_ACEOF
25923rm -f conftest.$ac_objext
25924if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25925 (eval $ac_compile) 2>&5
25926 ac_status=$?
25927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928 (exit $ac_status); } &&
25929 { ac_try='test -s conftest.$ac_objext'
25930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25931 (eval $ac_try) 2>&5
25932 ac_status=$?
25933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934 (exit $ac_status); }; }; then
25935 ac_cv_type_mode_t=yes
25936else
25937 echo "$as_me: failed program was:" >&5
25938sed 's/^/| /' conftest.$ac_ext >&5
25939
25940ac_cv_type_mode_t=no
25941fi
25942rm -f conftest.$ac_objext conftest.$ac_ext
25943fi
25944echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25945echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25946if test $ac_cv_type_mode_t = yes; then
25947 :
25948else
25949
25950cat >>confdefs.h <<_ACEOF
25951#define mode_t int
25952_ACEOF
25953
25954fi
25955
25956echo "$as_me:$LINENO: checking for off_t" >&5
25957echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25958if test "${ac_cv_type_off_t+set}" = set; then
25959 echo $ECHO_N "(cached) $ECHO_C" >&6
25960else
25961 cat >conftest.$ac_ext <<_ACEOF
25962#line $LINENO "configure"
25963/* confdefs.h. */
25964_ACEOF
25965cat confdefs.h >>conftest.$ac_ext
25966cat >>conftest.$ac_ext <<_ACEOF
25967/* end confdefs.h. */
25968$ac_includes_default
25969int
25970main ()
25971{
25972if ((off_t *) 0)
25973 return 0;
25974if (sizeof (off_t))
25975 return 0;
25976 ;
25977 return 0;
25978}
25979_ACEOF
25980rm -f conftest.$ac_objext
25981if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25982 (eval $ac_compile) 2>&5
25983 ac_status=$?
25984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25985 (exit $ac_status); } &&
25986 { ac_try='test -s conftest.$ac_objext'
25987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25988 (eval $ac_try) 2>&5
25989 ac_status=$?
25990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25991 (exit $ac_status); }; }; then
25992 ac_cv_type_off_t=yes
25993else
25994 echo "$as_me: failed program was:" >&5
25995sed 's/^/| /' conftest.$ac_ext >&5
25996
25997ac_cv_type_off_t=no
25998fi
25999rm -f conftest.$ac_objext conftest.$ac_ext
26000fi
26001echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
26002echo "${ECHO_T}$ac_cv_type_off_t" >&6
26003if test $ac_cv_type_off_t = yes; then
26004 :
26005else
26006
26007cat >>confdefs.h <<_ACEOF
26008#define off_t long
26009_ACEOF
26010
26011fi
26012
26013echo "$as_me:$LINENO: checking for pid_t" >&5
26014echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
26015if test "${ac_cv_type_pid_t+set}" = set; then
26016 echo $ECHO_N "(cached) $ECHO_C" >&6
26017else
26018 cat >conftest.$ac_ext <<_ACEOF
26019#line $LINENO "configure"
26020/* confdefs.h. */
26021_ACEOF
26022cat confdefs.h >>conftest.$ac_ext
26023cat >>conftest.$ac_ext <<_ACEOF
26024/* end confdefs.h. */
26025$ac_includes_default
26026int
26027main ()
26028{
26029if ((pid_t *) 0)
26030 return 0;
26031if (sizeof (pid_t))
26032 return 0;
26033 ;
26034 return 0;
26035}
26036_ACEOF
26037rm -f conftest.$ac_objext
26038if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26039 (eval $ac_compile) 2>&5
26040 ac_status=$?
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } &&
26043 { ac_try='test -s conftest.$ac_objext'
26044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26045 (eval $ac_try) 2>&5
26046 ac_status=$?
26047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26048 (exit $ac_status); }; }; then
26049 ac_cv_type_pid_t=yes
26050else
26051 echo "$as_me: failed program was:" >&5
26052sed 's/^/| /' conftest.$ac_ext >&5
26053
26054ac_cv_type_pid_t=no
26055fi
26056rm -f conftest.$ac_objext conftest.$ac_ext
26057fi
26058echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
26059echo "${ECHO_T}$ac_cv_type_pid_t" >&6
26060if test $ac_cv_type_pid_t = yes; then
26061 :
26062else
26063
26064cat >>confdefs.h <<_ACEOF
26065#define pid_t int
26066_ACEOF
26067
26068fi
26069
26070echo "$as_me:$LINENO: checking for size_t" >&5
26071echo $ECHO_N "checking for size_t... $ECHO_C" >&6
26072if test "${ac_cv_type_size_t+set}" = set; then
26073 echo $ECHO_N "(cached) $ECHO_C" >&6
26074else
26075 cat >conftest.$ac_ext <<_ACEOF
26076#line $LINENO "configure"
26077/* confdefs.h. */
26078_ACEOF
26079cat confdefs.h >>conftest.$ac_ext
26080cat >>conftest.$ac_ext <<_ACEOF
26081/* end confdefs.h. */
26082$ac_includes_default
26083int
26084main ()
26085{
26086if ((size_t *) 0)
26087 return 0;
26088if (sizeof (size_t))
26089 return 0;
26090 ;
26091 return 0;
26092}
26093_ACEOF
26094rm -f conftest.$ac_objext
26095if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26096 (eval $ac_compile) 2>&5
26097 ac_status=$?
26098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26099 (exit $ac_status); } &&
26100 { ac_try='test -s conftest.$ac_objext'
26101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26102 (eval $ac_try) 2>&5
26103 ac_status=$?
26104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26105 (exit $ac_status); }; }; then
26106 ac_cv_type_size_t=yes
26107else
26108 echo "$as_me: failed program was:" >&5
26109sed 's/^/| /' conftest.$ac_ext >&5
26110
26111ac_cv_type_size_t=no
26112fi
26113rm -f conftest.$ac_objext conftest.$ac_ext
26114fi
26115echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26116echo "${ECHO_T}$ac_cv_type_size_t" >&6
26117if test $ac_cv_type_size_t = yes; then
26118 :
26119else
26120
26121cat >>confdefs.h <<_ACEOF
26122#define size_t unsigned
26123_ACEOF
26124
26125fi
26126
26127echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
26128echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
26129if test "${ac_cv_type_uid_t+set}" = set; then
26130 echo $ECHO_N "(cached) $ECHO_C" >&6
26131else
26132 cat >conftest.$ac_ext <<_ACEOF
26133#line $LINENO "configure"
26134/* confdefs.h. */
26135_ACEOF
26136cat confdefs.h >>conftest.$ac_ext
26137cat >>conftest.$ac_ext <<_ACEOF
26138/* end confdefs.h. */
26139#include <sys/types.h>
26140
26141_ACEOF
26142if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26143 $EGREP "uid_t" >/dev/null 2>&1; then
26144 ac_cv_type_uid_t=yes
26145else
26146 ac_cv_type_uid_t=no
26147fi
26148rm -f conftest*
26149
26150fi
26151echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
26152echo "${ECHO_T}$ac_cv_type_uid_t" >&6
26153if test $ac_cv_type_uid_t = no; then
26154
26155cat >>confdefs.h <<\_ACEOF
26156#define uid_t int
26157_ACEOF
26158
26159
26160cat >>confdefs.h <<\_ACEOF
26161#define gid_t int
26162_ACEOF
26163
26164fi
26165
26166
26167
26168
26169ac_ext=cc
26170ac_cpp='$CXXCPP $CPPFLAGS'
26171ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26172ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26173ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26174
26175echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
26176echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
26177if test "${wx_cv_size_t_is_uint+set}" = set; then
26178 echo $ECHO_N "(cached) $ECHO_C" >&6
26179else
26180
26181 cat >conftest.$ac_ext <<_ACEOF
26182#line $LINENO "configure"
26183/* confdefs.h. */
26184_ACEOF
26185cat confdefs.h >>conftest.$ac_ext
26186cat >>conftest.$ac_ext <<_ACEOF
26187/* end confdefs.h. */
26188#include <stddef.h>
26189int
26190main ()
26191{
26192
26193 return 0; }
26194
26195 struct Foo { void foo(size_t); void foo(unsigned int); };
26196
26197 int bar() {
26198
26199 ;
26200 return 0;
26201}
26202_ACEOF
26203rm -f conftest.$ac_objext
26204if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26205 (eval $ac_compile) 2>&5
26206 ac_status=$?
26207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26208 (exit $ac_status); } &&
26209 { ac_try='test -s conftest.$ac_objext'
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 wx_cv_size_t_is_uint=no
26216else
26217 echo "$as_me: failed program was:" >&5
26218sed 's/^/| /' conftest.$ac_ext >&5
26219
26220wx_cv_size_t_is_uint=yes
26221
26222fi
26223rm -f conftest.$ac_objext conftest.$ac_ext
26224
26225
26226fi
26227echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26228echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26229
26230if test "$wx_cv_size_t_is_uint" = "yes"; then
26231 cat >>confdefs.h <<\_ACEOF
26232#define wxSIZE_T_IS_UINT 1
26233_ACEOF
26234
26235else
26236 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26237echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26238if test "${wx_cv_size_t_is_ulong+set}" = set; then
26239 echo $ECHO_N "(cached) $ECHO_C" >&6
26240else
26241 cat >conftest.$ac_ext <<_ACEOF
26242#line $LINENO "configure"
26243/* confdefs.h. */
26244_ACEOF
26245cat confdefs.h >>conftest.$ac_ext
26246cat >>conftest.$ac_ext <<_ACEOF
26247/* end confdefs.h. */
26248#include <stddef.h>
26249int
26250main ()
26251{
26252
26253 return 0; }
26254
26255 struct Foo { void foo(size_t); void foo(unsigned long); };
26256
26257 int bar() {
26258
26259 ;
26260 return 0;
26261}
26262_ACEOF
26263rm -f conftest.$ac_objext
26264if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26265 (eval $ac_compile) 2>&5
26266 ac_status=$?
26267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26268 (exit $ac_status); } &&
26269 { ac_try='test -s conftest.$ac_objext'
26270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26271 (eval $ac_try) 2>&5
26272 ac_status=$?
26273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26274 (exit $ac_status); }; }; then
26275 wx_cv_size_t_is_ulong=no
26276else
26277 echo "$as_me: failed program was:" >&5
26278sed 's/^/| /' conftest.$ac_ext >&5
26279
26280wx_cv_size_t_is_ulong=yes
26281
26282fi
26283rm -f conftest.$ac_objext conftest.$ac_ext
26284
26285fi
26286echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26287echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26288
26289 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26290 cat >>confdefs.h <<\_ACEOF
26291#define wxSIZE_T_IS_ULONG 1
26292_ACEOF
26293
26294 fi
26295fi
26296
26297ac_ext=c
26298ac_cpp='$CPP $CPPFLAGS'
26299ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26300ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26301ac_compiler_gnu=$ac_cv_c_compiler_gnu
26302
26303
26304
26305echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26306echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26307if test "${wx_cv_struct_pw_gecos+set}" = set; then
26308 echo $ECHO_N "(cached) $ECHO_C" >&6
26309else
26310
26311 cat >conftest.$ac_ext <<_ACEOF
26312#line $LINENO "configure"
26313/* confdefs.h. */
26314_ACEOF
26315cat confdefs.h >>conftest.$ac_ext
26316cat >>conftest.$ac_ext <<_ACEOF
26317/* end confdefs.h. */
26318#include <pwd.h>
26319int
26320main ()
26321{
26322
26323 char *p;
26324 struct passwd *pw;
26325 p = pw->pw_gecos;
26326
26327 ;
26328 return 0;
26329}
26330_ACEOF
26331rm -f conftest.$ac_objext
26332if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26333 (eval $ac_compile) 2>&5
26334 ac_status=$?
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); } &&
26337 { ac_try='test -s conftest.$ac_objext'
26338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26339 (eval $ac_try) 2>&5
26340 ac_status=$?
26341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26342 (exit $ac_status); }; }; then
26343
26344 wx_cv_struct_pw_gecos=yes
26345
26346else
26347 echo "$as_me: failed program was:" >&5
26348sed 's/^/| /' conftest.$ac_ext >&5
26349
26350
26351 wx_cv_struct_pw_gecos=no
26352
26353
26354fi
26355rm -f conftest.$ac_objext conftest.$ac_ext
26356
26357
26358fi
26359echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26360echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26361
26362if test "$wx_cv_struct_pw_gecos" = "yes"; then
26363 cat >>confdefs.h <<\_ACEOF
26364#define HAVE_PW_GECOS 1
26365_ACEOF
26366
26367fi
26368
26369
26370if test "$wx_cv_sizeof_wchar_t" != "0"; then
26371 cat >>confdefs.h <<\_ACEOF
26372#define wxUSE_WCHAR_T 1
26373_ACEOF
26374
26375
26376 WCSLEN_FOUND=0
26377 WCHAR_LINK=
26378
26379for ac_func in wcslen
26380do
26381as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26382echo "$as_me:$LINENO: checking for $ac_func" >&5
26383echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26384if eval "test \"\${$as_ac_var+set}\" = set"; then
26385 echo $ECHO_N "(cached) $ECHO_C" >&6
26386else
26387 cat >conftest.$ac_ext <<_ACEOF
26388#line $LINENO "configure"
26389/* confdefs.h. */
26390_ACEOF
26391cat confdefs.h >>conftest.$ac_ext
26392cat >>conftest.$ac_ext <<_ACEOF
26393/* end confdefs.h. */
26394/* System header to define __stub macros and hopefully few prototypes,
26395 which can conflict with char $ac_func (); below.
26396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26397 <limits.h> exists even on freestanding compilers. */
26398#ifdef __STDC__
26399# include <limits.h>
26400#else
26401# include <assert.h>
26402#endif
26403/* Override any gcc2 internal prototype to avoid an error. */
26404#ifdef __cplusplus
26405extern "C"
26406{
26407#endif
26408/* We use char because int might match the return type of a gcc2
26409 builtin and then its argument prototype would still apply. */
26410char $ac_func ();
26411/* The GNU C library defines this for functions which it implements
26412 to always fail with ENOSYS. Some functions are actually named
26413 something starting with __ and the normal name is an alias. */
26414#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26415choke me
26416#else
26417char (*f) () = $ac_func;
26418#endif
26419#ifdef __cplusplus
26420}
26421#endif
26422
26423int
26424main ()
26425{
26426return f != $ac_func;
26427 ;
26428 return 0;
26429}
26430_ACEOF
26431rm -f conftest.$ac_objext conftest$ac_exeext
26432if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26433 (eval $ac_link) 2>&5
26434 ac_status=$?
26435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26436 (exit $ac_status); } &&
26437 { ac_try='test -s conftest$ac_exeext'
26438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26439 (eval $ac_try) 2>&5
26440 ac_status=$?
26441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26442 (exit $ac_status); }; }; then
26443 eval "$as_ac_var=yes"
26444else
26445 echo "$as_me: failed program was:" >&5
26446sed 's/^/| /' conftest.$ac_ext >&5
26447
26448eval "$as_ac_var=no"
26449fi
26450rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26451fi
26452echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26453echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26454if test `eval echo '${'$as_ac_var'}'` = yes; then
26455 cat >>confdefs.h <<_ACEOF
26456#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26457_ACEOF
26458 WCSLEN_FOUND=1
26459fi
26460done
26461
26462
26463 if test "$WCSLEN_FOUND" = 0; then
26464 if test "$TOOLKIT" = "MSW"; then
26465 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26466echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26467if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26468 echo $ECHO_N "(cached) $ECHO_C" >&6
26469else
26470 ac_check_lib_save_LIBS=$LIBS
26471LIBS="-lmsvcrt $LIBS"
26472cat >conftest.$ac_ext <<_ACEOF
26473#line $LINENO "configure"
26474/* confdefs.h. */
26475_ACEOF
26476cat confdefs.h >>conftest.$ac_ext
26477cat >>conftest.$ac_ext <<_ACEOF
26478/* end confdefs.h. */
26479
26480/* Override any gcc2 internal prototype to avoid an error. */
26481#ifdef __cplusplus
26482extern "C"
26483#endif
26484/* We use char because int might match the return type of a gcc2
26485 builtin and then its argument prototype would still apply. */
26486char wcslen ();
26487int
26488main ()
26489{
26490wcslen ();
26491 ;
26492 return 0;
26493}
26494_ACEOF
26495rm -f conftest.$ac_objext conftest$ac_exeext
26496if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26497 (eval $ac_link) 2>&5
26498 ac_status=$?
26499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26500 (exit $ac_status); } &&
26501 { ac_try='test -s conftest$ac_exeext'
26502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26503 (eval $ac_try) 2>&5
26504 ac_status=$?
26505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26506 (exit $ac_status); }; }; then
26507 ac_cv_lib_msvcrt_wcslen=yes
26508else
26509 echo "$as_me: failed program was:" >&5
26510sed 's/^/| /' conftest.$ac_ext >&5
26511
26512ac_cv_lib_msvcrt_wcslen=no
26513fi
26514rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26515LIBS=$ac_check_lib_save_LIBS
26516fi
26517echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26518echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26519if test $ac_cv_lib_msvcrt_wcslen = yes; then
26520 WCHAR_OK=1
26521fi
26522
26523 else
26524 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26525echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26526if test "${ac_cv_lib_w_wcslen+set}" = set; then
26527 echo $ECHO_N "(cached) $ECHO_C" >&6
26528else
26529 ac_check_lib_save_LIBS=$LIBS
26530LIBS="-lw $LIBS"
26531cat >conftest.$ac_ext <<_ACEOF
26532#line $LINENO "configure"
26533/* confdefs.h. */
26534_ACEOF
26535cat confdefs.h >>conftest.$ac_ext
26536cat >>conftest.$ac_ext <<_ACEOF
26537/* end confdefs.h. */
26538
26539/* Override any gcc2 internal prototype to avoid an error. */
26540#ifdef __cplusplus
26541extern "C"
26542#endif
26543/* We use char because int might match the return type of a gcc2
26544 builtin and then its argument prototype would still apply. */
26545char wcslen ();
26546int
26547main ()
26548{
26549wcslen ();
26550 ;
26551 return 0;
26552}
26553_ACEOF
26554rm -f conftest.$ac_objext conftest$ac_exeext
26555if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26556 (eval $ac_link) 2>&5
26557 ac_status=$?
26558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26559 (exit $ac_status); } &&
26560 { ac_try='test -s conftest$ac_exeext'
26561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26562 (eval $ac_try) 2>&5
26563 ac_status=$?
26564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26565 (exit $ac_status); }; }; then
26566 ac_cv_lib_w_wcslen=yes
26567else
26568 echo "$as_me: failed program was:" >&5
26569sed 's/^/| /' conftest.$ac_ext >&5
26570
26571ac_cv_lib_w_wcslen=no
26572fi
26573rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26574LIBS=$ac_check_lib_save_LIBS
26575fi
26576echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26577echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26578if test $ac_cv_lib_w_wcslen = yes; then
26579
26580 WCHAR_LINK=" -lw"
26581 WCSLEN_FOUND=1
26582
26583fi
26584
26585 fi
26586 fi
26587
26588 if test "$WCSLEN_FOUND" = 1; then
26589 cat >>confdefs.h <<\_ACEOF
26590#define HAVE_WCSLEN 1
26591_ACEOF
26592
26593 fi
26594
26595
26596for ac_func in wcsrtombs
26597do
26598as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26599echo "$as_me:$LINENO: checking for $ac_func" >&5
26600echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26601if eval "test \"\${$as_ac_var+set}\" = set"; then
26602 echo $ECHO_N "(cached) $ECHO_C" >&6
26603else
26604 cat >conftest.$ac_ext <<_ACEOF
26605#line $LINENO "configure"
26606/* confdefs.h. */
26607_ACEOF
26608cat confdefs.h >>conftest.$ac_ext
26609cat >>conftest.$ac_ext <<_ACEOF
26610/* end confdefs.h. */
26611/* System header to define __stub macros and hopefully few prototypes,
26612 which can conflict with char $ac_func (); below.
26613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26614 <limits.h> exists even on freestanding compilers. */
26615#ifdef __STDC__
26616# include <limits.h>
26617#else
26618# include <assert.h>
26619#endif
26620/* Override any gcc2 internal prototype to avoid an error. */
26621#ifdef __cplusplus
26622extern "C"
26623{
26624#endif
26625/* We use char because int might match the return type of a gcc2
26626 builtin and then its argument prototype would still apply. */
26627char $ac_func ();
26628/* The GNU C library defines this for functions which it implements
26629 to always fail with ENOSYS. Some functions are actually named
26630 something starting with __ and the normal name is an alias. */
26631#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26632choke me
26633#else
26634char (*f) () = $ac_func;
26635#endif
26636#ifdef __cplusplus
26637}
26638#endif
26639
26640int
26641main ()
26642{
26643return f != $ac_func;
26644 ;
26645 return 0;
26646}
26647_ACEOF
26648rm -f conftest.$ac_objext conftest$ac_exeext
26649if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26650 (eval $ac_link) 2>&5
26651 ac_status=$?
26652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26653 (exit $ac_status); } &&
26654 { ac_try='test -s conftest$ac_exeext'
26655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26656 (eval $ac_try) 2>&5
26657 ac_status=$?
26658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26659 (exit $ac_status); }; }; then
26660 eval "$as_ac_var=yes"
26661else
26662 echo "$as_me: failed program was:" >&5
26663sed 's/^/| /' conftest.$ac_ext >&5
26664
26665eval "$as_ac_var=no"
26666fi
26667rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26668fi
26669echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26670echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26671if test `eval echo '${'$as_ac_var'}'` = yes; then
26672 cat >>confdefs.h <<_ACEOF
26673#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26674_ACEOF
26675
26676fi
26677done
26678
26679else
26680 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26681echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26682fi
26683
26684
26685
26686ac_ext=cc
26687ac_cpp='$CXXCPP $CPPFLAGS'
26688ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26689ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26690ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26691
26692
26693
26694for ac_func in vsnprintf
26695do
26696as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26697echo "$as_me:$LINENO: checking for $ac_func" >&5
26698echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26699if eval "test \"\${$as_ac_var+set}\" = set"; then
26700 echo $ECHO_N "(cached) $ECHO_C" >&6
26701else
26702 cat >conftest.$ac_ext <<_ACEOF
26703#line $LINENO "configure"
26704/* confdefs.h. */
26705_ACEOF
26706cat confdefs.h >>conftest.$ac_ext
26707cat >>conftest.$ac_ext <<_ACEOF
26708/* end confdefs.h. */
26709/* System header to define __stub macros and hopefully few prototypes,
26710 which can conflict with char $ac_func (); below.
26711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26712 <limits.h> exists even on freestanding compilers. */
26713#ifdef __STDC__
26714# include <limits.h>
26715#else
26716# include <assert.h>
26717#endif
26718/* Override any gcc2 internal prototype to avoid an error. */
26719#ifdef __cplusplus
26720extern "C"
26721{
26722#endif
26723/* We use char because int might match the return type of a gcc2
26724 builtin and then its argument prototype would still apply. */
26725char $ac_func ();
26726/* The GNU C library defines this for functions which it implements
26727 to always fail with ENOSYS. Some functions are actually named
26728 something starting with __ and the normal name is an alias. */
26729#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26730choke me
26731#else
26732char (*f) () = $ac_func;
26733#endif
26734#ifdef __cplusplus
26735}
26736#endif
26737
26738int
26739main ()
26740{
26741return f != $ac_func;
26742 ;
26743 return 0;
26744}
26745_ACEOF
26746rm -f conftest.$ac_objext conftest$ac_exeext
26747if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26748 (eval $ac_link) 2>&5
26749 ac_status=$?
26750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751 (exit $ac_status); } &&
26752 { ac_try='test -s conftest$ac_exeext'
26753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26754 (eval $ac_try) 2>&5
26755 ac_status=$?
26756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26757 (exit $ac_status); }; }; then
26758 eval "$as_ac_var=yes"
26759else
26760 echo "$as_me: failed program was:" >&5
26761sed 's/^/| /' conftest.$ac_ext >&5
26762
26763eval "$as_ac_var=no"
26764fi
26765rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26766fi
26767echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26768echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26769if test `eval echo '${'$as_ac_var'}'` = yes; then
26770 cat >>confdefs.h <<_ACEOF
26771#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26772_ACEOF
26773
26774fi
26775done
26776
26777
26778if test "$ac_cv_func_vsnprintf" = "yes"; then
26779 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26780echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26781if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26782 echo $ECHO_N "(cached) $ECHO_C" >&6
26783else
26784
26785 cat >conftest.$ac_ext <<_ACEOF
26786#line $LINENO "configure"
26787/* confdefs.h. */
26788_ACEOF
26789cat confdefs.h >>conftest.$ac_ext
26790cat >>conftest.$ac_ext <<_ACEOF
26791/* end confdefs.h. */
26792
26793 #include <stdio.h>
26794 #include <stdarg.h>
26795
26796int
26797main ()
26798{
26799
26800 char *buf;
26801 va_list ap;
26802 vsnprintf(buf, 10u, "%s", ap);
26803
26804 ;
26805 return 0;
26806}
26807_ACEOF
26808rm -f conftest.$ac_objext
26809if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26810 (eval $ac_compile) 2>&5
26811 ac_status=$?
26812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26813 (exit $ac_status); } &&
26814 { ac_try='test -s conftest.$ac_objext'
26815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26816 (eval $ac_try) 2>&5
26817 ac_status=$?
26818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26819 (exit $ac_status); }; }; then
26820 wx_cv_func_vsnprintf_decl=yes
26821else
26822 echo "$as_me: failed program was:" >&5
26823sed 's/^/| /' conftest.$ac_ext >&5
26824
26825wx_cv_func_vsnprintf_decl=no
26826
26827fi
26828rm -f conftest.$ac_objext conftest.$ac_ext
26829
26830
26831fi
26832echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26833echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26834
26835 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26836 cat >>confdefs.h <<\_ACEOF
26837#define HAVE_VSNPRINTF_DECL 1
26838_ACEOF
26839
26840 fi
26841fi
26842
26843if test "$wxUSE_UNICODE" = yes; then
26844
26845
26846
26847for ac_func in fputwc wprintf vswprintf
26848do
26849as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26850echo "$as_me:$LINENO: checking for $ac_func" >&5
26851echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26852if eval "test \"\${$as_ac_var+set}\" = set"; then
26853 echo $ECHO_N "(cached) $ECHO_C" >&6
26854else
26855 cat >conftest.$ac_ext <<_ACEOF
26856#line $LINENO "configure"
26857/* confdefs.h. */
26858_ACEOF
26859cat confdefs.h >>conftest.$ac_ext
26860cat >>conftest.$ac_ext <<_ACEOF
26861/* end confdefs.h. */
26862/* System header to define __stub macros and hopefully few prototypes,
26863 which can conflict with char $ac_func (); below.
26864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26865 <limits.h> exists even on freestanding compilers. */
26866#ifdef __STDC__
26867# include <limits.h>
26868#else
26869# include <assert.h>
26870#endif
26871/* Override any gcc2 internal prototype to avoid an error. */
26872#ifdef __cplusplus
26873extern "C"
26874{
26875#endif
26876/* We use char because int might match the return type of a gcc2
26877 builtin and then its argument prototype would still apply. */
26878char $ac_func ();
26879/* The GNU C library defines this for functions which it implements
26880 to always fail with ENOSYS. Some functions are actually named
26881 something starting with __ and the normal name is an alias. */
26882#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26883choke me
26884#else
26885char (*f) () = $ac_func;
26886#endif
26887#ifdef __cplusplus
26888}
26889#endif
26890
26891int
26892main ()
26893{
26894return f != $ac_func;
26895 ;
26896 return 0;
26897}
26898_ACEOF
26899rm -f conftest.$ac_objext conftest$ac_exeext
26900if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26901 (eval $ac_link) 2>&5
26902 ac_status=$?
26903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26904 (exit $ac_status); } &&
26905 { ac_try='test -s conftest$ac_exeext'
26906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26907 (eval $ac_try) 2>&5
26908 ac_status=$?
26909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26910 (exit $ac_status); }; }; then
26911 eval "$as_ac_var=yes"
26912else
26913 echo "$as_me: failed program was:" >&5
26914sed 's/^/| /' conftest.$ac_ext >&5
26915
26916eval "$as_ac_var=no"
26917fi
26918rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26919fi
26920echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26921echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26922if test `eval echo '${'$as_ac_var'}'` = yes; then
26923 cat >>confdefs.h <<_ACEOF
26924#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26925_ACEOF
26926
26927fi
26928done
26929
26930
26931 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26932echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26933 cat >conftest.$ac_ext <<_ACEOF
26934#line $LINENO "configure"
26935/* confdefs.h. */
26936_ACEOF
26937cat confdefs.h >>conftest.$ac_ext
26938cat >>conftest.$ac_ext <<_ACEOF
26939/* end confdefs.h. */
26940#include <wchar.h>
26941int
26942main ()
26943{
26944&_vsnwprintf;
26945 ;
26946 return 0;
26947}
26948_ACEOF
26949rm -f conftest.$ac_objext
26950if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26951 (eval $ac_compile) 2>&5
26952 ac_status=$?
26953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26954 (exit $ac_status); } &&
26955 { ac_try='test -s conftest.$ac_objext'
26956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26957 (eval $ac_try) 2>&5
26958 ac_status=$?
26959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26960 (exit $ac_status); }; }; then
26961 echo "$as_me:$LINENO: result: yes" >&5
26962echo "${ECHO_T}yes" >&6
26963 cat >>confdefs.h <<\_ACEOF
26964#define HAVE__VSNWPRINTF 1
26965_ACEOF
26966
26967else
26968 echo "$as_me: failed program was:" >&5
26969sed 's/^/| /' conftest.$ac_ext >&5
26970
26971echo "$as_me:$LINENO: result: no" >&5
26972echo "${ECHO_T}no" >&6
26973fi
26974rm -f conftest.$ac_objext conftest.$ac_ext;
26975fi
26976
26977ac_ext=c
26978ac_cpp='$CPP $CPPFLAGS'
26979ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26980ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26981ac_compiler_gnu=$ac_cv_c_compiler_gnu
26982
26983
26984
26985
26986if test "$TOOLKIT" != "MSW"; then
26987
26988
26989
26990
26991ac_ext=cc
26992ac_cpp='$CXXCPP $CPPFLAGS'
26993ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26994ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26995ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26996
26997
26998
26999
27000# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
27001if test "${with_libiconv_prefix+set}" = set; then
27002 withval="$with_libiconv_prefix"
27003
27004 for dir in `echo "$withval" | tr : ' '`; do
27005 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
27006 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
27007 done
27008
27009fi;
27010
27011 echo "$as_me:$LINENO: checking for iconv" >&5
27012echo $ECHO_N "checking for iconv... $ECHO_C" >&6
27013if test "${am_cv_func_iconv+set}" = set; then
27014 echo $ECHO_N "(cached) $ECHO_C" >&6
27015else
27016
27017 am_cv_func_iconv="no, consider installing GNU libiconv"
27018 am_cv_lib_iconv=no
27019 cat >conftest.$ac_ext <<_ACEOF
27020#line $LINENO "configure"
27021/* confdefs.h. */
27022_ACEOF
27023cat confdefs.h >>conftest.$ac_ext
27024cat >>conftest.$ac_ext <<_ACEOF
27025/* end confdefs.h. */
27026#include <stdlib.h>
27027#include <iconv.h>
27028int
27029main ()
27030{
27031iconv_t cd = iconv_open("","");
27032 iconv(cd,NULL,NULL,NULL,NULL);
27033 iconv_close(cd);
27034 ;
27035 return 0;
27036}
27037_ACEOF
27038rm -f conftest.$ac_objext conftest$ac_exeext
27039if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27040 (eval $ac_link) 2>&5
27041 ac_status=$?
27042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27043 (exit $ac_status); } &&
27044 { ac_try='test -s conftest$ac_exeext'
27045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27046 (eval $ac_try) 2>&5
27047 ac_status=$?
27048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27049 (exit $ac_status); }; }; then
27050 am_cv_func_iconv=yes
27051else
27052 echo "$as_me: failed program was:" >&5
27053sed 's/^/| /' conftest.$ac_ext >&5
27054
27055fi
27056rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27057 if test "$am_cv_func_iconv" != yes; then
27058 am_save_LIBS="$LIBS"
27059 LIBS="$LIBS -liconv"
27060 cat >conftest.$ac_ext <<_ACEOF
27061#line $LINENO "configure"
27062/* confdefs.h. */
27063_ACEOF
27064cat confdefs.h >>conftest.$ac_ext
27065cat >>conftest.$ac_ext <<_ACEOF
27066/* end confdefs.h. */
27067#include <stdlib.h>
27068#include <iconv.h>
27069int
27070main ()
27071{
27072iconv_t cd = iconv_open("","");
27073 iconv(cd,NULL,NULL,NULL,NULL);
27074 iconv_close(cd);
27075 ;
27076 return 0;
27077}
27078_ACEOF
27079rm -f conftest.$ac_objext conftest$ac_exeext
27080if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27081 (eval $ac_link) 2>&5
27082 ac_status=$?
27083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27084 (exit $ac_status); } &&
27085 { ac_try='test -s conftest$ac_exeext'
27086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27087 (eval $ac_try) 2>&5
27088 ac_status=$?
27089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27090 (exit $ac_status); }; }; then
27091 am_cv_lib_iconv=yes
27092 am_cv_func_iconv=yes
27093else
27094 echo "$as_me: failed program was:" >&5
27095sed 's/^/| /' conftest.$ac_ext >&5
27096
27097fi
27098rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27099 LIBS="$am_save_LIBS"
27100 fi
27101
27102fi
27103echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
27104echo "${ECHO_T}$am_cv_func_iconv" >&6
27105 if test "$am_cv_func_iconv" = yes; then
27106
27107cat >>confdefs.h <<\_ACEOF
27108#define HAVE_ICONV 1
27109_ACEOF
27110
27111 echo "$as_me:$LINENO: checking if iconv needs const" >&5
27112echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
27113if test "${wx_cv_func_iconv_const+set}" = set; then
27114 echo $ECHO_N "(cached) $ECHO_C" >&6
27115else
27116 cat >conftest.$ac_ext <<_ACEOF
27117#line $LINENO "configure"
27118/* confdefs.h. */
27119_ACEOF
27120cat confdefs.h >>conftest.$ac_ext
27121cat >>conftest.$ac_ext <<_ACEOF
27122/* end confdefs.h. */
27123
27124#include <stdlib.h>
27125#include <iconv.h>
27126extern
27127#ifdef __cplusplus
27128"C"
27129#endif
27130#if defined(__STDC__) || defined(__cplusplus)
27131size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27132#else
27133size_t iconv();
27134#endif
27135
27136int
27137main ()
27138{
27139
27140 ;
27141 return 0;
27142}
27143_ACEOF
27144rm -f conftest.$ac_objext
27145if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27146 (eval $ac_compile) 2>&5
27147 ac_status=$?
27148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27149 (exit $ac_status); } &&
27150 { ac_try='test -s conftest.$ac_objext'
27151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27152 (eval $ac_try) 2>&5
27153 ac_status=$?
27154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27155 (exit $ac_status); }; }; then
27156 wx_cv_func_iconv_const="no"
27157else
27158 echo "$as_me: failed program was:" >&5
27159sed 's/^/| /' conftest.$ac_ext >&5
27160
27161wx_cv_func_iconv_const="yes"
27162
27163fi
27164rm -f conftest.$ac_objext conftest.$ac_ext
27165
27166fi
27167echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
27168echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
27169
27170 iconv_const=
27171 if test "x$wx_cv_func_iconv_const" = "xyes"; then
27172 iconv_const="const"
27173 fi
27174
27175
27176cat >>confdefs.h <<_ACEOF
27177#define ICONV_CONST $iconv_const
27178_ACEOF
27179
27180 fi
27181 LIBICONV=
27182 if test "$am_cv_lib_iconv" = yes; then
27183 LIBICONV="-liconv"
27184 fi
27185
27186
27187LIBS="$LIBICONV $LIBS"
27188ac_ext=c
27189ac_cpp='$CPP $CPPFLAGS'
27190ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27191ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27192ac_compiler_gnu=$ac_cv_c_compiler_gnu
27193
27194
27195if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
27196
27197for ac_func in sigaction
27198do
27199as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27200echo "$as_me:$LINENO: checking for $ac_func" >&5
27201echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27202if eval "test \"\${$as_ac_var+set}\" = set"; then
27203 echo $ECHO_N "(cached) $ECHO_C" >&6
27204else
27205 cat >conftest.$ac_ext <<_ACEOF
27206#line $LINENO "configure"
27207/* confdefs.h. */
27208_ACEOF
27209cat confdefs.h >>conftest.$ac_ext
27210cat >>conftest.$ac_ext <<_ACEOF
27211/* end confdefs.h. */
27212/* System header to define __stub macros and hopefully few prototypes,
27213 which can conflict with char $ac_func (); below.
27214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27215 <limits.h> exists even on freestanding compilers. */
27216#ifdef __STDC__
27217# include <limits.h>
27218#else
27219# include <assert.h>
27220#endif
27221/* Override any gcc2 internal prototype to avoid an error. */
27222#ifdef __cplusplus
27223extern "C"
27224{
27225#endif
27226/* We use char because int might match the return type of a gcc2
27227 builtin and then its argument prototype would still apply. */
27228char $ac_func ();
27229/* The GNU C library defines this for functions which it implements
27230 to always fail with ENOSYS. Some functions are actually named
27231 something starting with __ and the normal name is an alias. */
27232#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27233choke me
27234#else
27235char (*f) () = $ac_func;
27236#endif
27237#ifdef __cplusplus
27238}
27239#endif
27240
27241int
27242main ()
27243{
27244return f != $ac_func;
27245 ;
27246 return 0;
27247}
27248_ACEOF
27249rm -f conftest.$ac_objext conftest$ac_exeext
27250if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27251 (eval $ac_link) 2>&5
27252 ac_status=$?
27253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27254 (exit $ac_status); } &&
27255 { ac_try='test -s conftest$ac_exeext'
27256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27257 (eval $ac_try) 2>&5
27258 ac_status=$?
27259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27260 (exit $ac_status); }; }; then
27261 eval "$as_ac_var=yes"
27262else
27263 echo "$as_me: failed program was:" >&5
27264sed 's/^/| /' conftest.$ac_ext >&5
27265
27266eval "$as_ac_var=no"
27267fi
27268rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27269fi
27270echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27271echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27272if test `eval echo '${'$as_ac_var'}'` = yes; then
27273 cat >>confdefs.h <<_ACEOF
27274#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27275_ACEOF
27276
27277fi
27278done
27279
27280
27281 if test "$ac_cv_func_sigaction" = "no"; then
27282 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27283echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27284 wxUSE_ON_FATAL_EXCEPTION=no
27285 fi
27286
27287 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27288
27289
27290 ac_ext=cc
27291ac_cpp='$CXXCPP $CPPFLAGS'
27292ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27293ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27294ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27295
27296
27297 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27298echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27299if test "${wx_cv_type_sa_handler+set}" = set; then
27300 echo $ECHO_N "(cached) $ECHO_C" >&6
27301else
27302
27303 cat >conftest.$ac_ext <<_ACEOF
27304#line $LINENO "configure"
27305/* confdefs.h. */
27306_ACEOF
27307cat confdefs.h >>conftest.$ac_ext
27308cat >>conftest.$ac_ext <<_ACEOF
27309/* end confdefs.h. */
27310#include <signal.h>
27311int
27312main ()
27313{
27314
27315 extern void testSigHandler(int);
27316
27317 struct sigaction sa;
27318 sa.sa_handler = testSigHandler;
27319
27320 ;
27321 return 0;
27322}
27323_ACEOF
27324rm -f conftest.$ac_objext
27325if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27326 (eval $ac_compile) 2>&5
27327 ac_status=$?
27328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27329 (exit $ac_status); } &&
27330 { ac_try='test -s conftest.$ac_objext'
27331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27332 (eval $ac_try) 2>&5
27333 ac_status=$?
27334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27335 (exit $ac_status); }; }; then
27336
27337 wx_cv_type_sa_handler=int
27338
27339else
27340 echo "$as_me: failed program was:" >&5
27341sed 's/^/| /' conftest.$ac_ext >&5
27342
27343
27344 wx_cv_type_sa_handler=void
27345
27346fi
27347rm -f conftest.$ac_objext conftest.$ac_ext
27348
27349fi
27350echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27351echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27352
27353 ac_ext=c
27354ac_cpp='$CPP $CPPFLAGS'
27355ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27356ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27357ac_compiler_gnu=$ac_cv_c_compiler_gnu
27358
27359
27360 cat >>confdefs.h <<_ACEOF
27361#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27362_ACEOF
27363
27364 fi
27365fi
27366
27367
27368
27369for ac_func in mkstemp mktemp
27370do
27371as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27372echo "$as_me:$LINENO: checking for $ac_func" >&5
27373echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27374if eval "test \"\${$as_ac_var+set}\" = set"; then
27375 echo $ECHO_N "(cached) $ECHO_C" >&6
27376else
27377 cat >conftest.$ac_ext <<_ACEOF
27378#line $LINENO "configure"
27379/* confdefs.h. */
27380_ACEOF
27381cat confdefs.h >>conftest.$ac_ext
27382cat >>conftest.$ac_ext <<_ACEOF
27383/* end confdefs.h. */
27384/* System header to define __stub macros and hopefully few prototypes,
27385 which can conflict with char $ac_func (); below.
27386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27387 <limits.h> exists even on freestanding compilers. */
27388#ifdef __STDC__
27389# include <limits.h>
27390#else
27391# include <assert.h>
27392#endif
27393/* Override any gcc2 internal prototype to avoid an error. */
27394#ifdef __cplusplus
27395extern "C"
27396{
27397#endif
27398/* We use char because int might match the return type of a gcc2
27399 builtin and then its argument prototype would still apply. */
27400char $ac_func ();
27401/* The GNU C library defines this for functions which it implements
27402 to always fail with ENOSYS. Some functions are actually named
27403 something starting with __ and the normal name is an alias. */
27404#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27405choke me
27406#else
27407char (*f) () = $ac_func;
27408#endif
27409#ifdef __cplusplus
27410}
27411#endif
27412
27413int
27414main ()
27415{
27416return f != $ac_func;
27417 ;
27418 return 0;
27419}
27420_ACEOF
27421rm -f conftest.$ac_objext conftest$ac_exeext
27422if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27423 (eval $ac_link) 2>&5
27424 ac_status=$?
27425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27426 (exit $ac_status); } &&
27427 { ac_try='test -s conftest$ac_exeext'
27428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27429 (eval $ac_try) 2>&5
27430 ac_status=$?
27431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27432 (exit $ac_status); }; }; then
27433 eval "$as_ac_var=yes"
27434else
27435 echo "$as_me: failed program was:" >&5
27436sed 's/^/| /' conftest.$ac_ext >&5
27437
27438eval "$as_ac_var=no"
27439fi
27440rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27441fi
27442echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27443echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27444if test `eval echo '${'$as_ac_var'}'` = yes; then
27445 cat >>confdefs.h <<_ACEOF
27446#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27447_ACEOF
27448 break
27449fi
27450done
27451
27452
27453echo "$as_me:$LINENO: checking for statfs" >&5
27454echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27455if test "${wx_cv_func_statfs+set}" = set; then
27456 echo $ECHO_N "(cached) $ECHO_C" >&6
27457else
27458 cat >conftest.$ac_ext <<_ACEOF
27459#line $LINENO "configure"
27460/* confdefs.h. */
27461_ACEOF
27462cat confdefs.h >>conftest.$ac_ext
27463cat >>conftest.$ac_ext <<_ACEOF
27464/* end confdefs.h. */
27465
27466 #if defined(__BSD__)
27467 #include <sys/param.h>
27468 #include <sys/mount.h>
27469 #else
27470 #include <sys/vfs.h>
27471 #endif
27472
27473int
27474main ()
27475{
27476
27477 long l;
27478 struct statfs fs;
27479 statfs("/", &fs);
27480 l = fs.f_bsize;
27481 l += fs.f_blocks;
27482 l += fs.f_bavail;
27483
27484 ;
27485 return 0;
27486}
27487_ACEOF
27488rm -f conftest.$ac_objext
27489if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27490 (eval $ac_compile) 2>&5
27491 ac_status=$?
27492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27493 (exit $ac_status); } &&
27494 { ac_try='test -s conftest.$ac_objext'
27495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27496 (eval $ac_try) 2>&5
27497 ac_status=$?
27498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27499 (exit $ac_status); }; }; then
27500
27501 wx_cv_func_statfs=yes
27502
27503else
27504 echo "$as_me: failed program was:" >&5
27505sed 's/^/| /' conftest.$ac_ext >&5
27506
27507
27508 wx_cv_func_statfs=no
27509
27510
27511fi
27512rm -f conftest.$ac_objext conftest.$ac_ext
27513
27514fi
27515echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27516echo "${ECHO_T}$wx_cv_func_statfs" >&6
27517
27518if test "$wx_cv_func_statfs" = "yes"; then
27519 wx_cv_type_statvfs_t="struct statfs"
27520 cat >>confdefs.h <<\_ACEOF
27521#define HAVE_STATFS 1
27522_ACEOF
27523
27524else
27525 echo "$as_me:$LINENO: checking for statvfs" >&5
27526echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27527if test "${wx_cv_func_statvfs+set}" = set; then
27528 echo $ECHO_N "(cached) $ECHO_C" >&6
27529else
27530 cat >conftest.$ac_ext <<_ACEOF
27531#line $LINENO "configure"
27532/* confdefs.h. */
27533_ACEOF
27534cat confdefs.h >>conftest.$ac_ext
27535cat >>conftest.$ac_ext <<_ACEOF
27536/* end confdefs.h. */
27537
27538 #include <stddef.h>
27539 #include <sys/statvfs.h>
27540
27541int
27542main ()
27543{
27544
27545 statvfs("/", NULL);
27546
27547 ;
27548 return 0;
27549}
27550_ACEOF
27551rm -f conftest.$ac_objext
27552if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27553 (eval $ac_compile) 2>&5
27554 ac_status=$?
27555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556 (exit $ac_status); } &&
27557 { ac_try='test -s conftest.$ac_objext'
27558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27559 (eval $ac_try) 2>&5
27560 ac_status=$?
27561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27562 (exit $ac_status); }; }; then
27563 wx_cv_func_statvfs=yes
27564else
27565 echo "$as_me: failed program was:" >&5
27566sed 's/^/| /' conftest.$ac_ext >&5
27567
27568wx_cv_func_statvfs=no
27569
27570fi
27571rm -f conftest.$ac_objext conftest.$ac_ext
27572
27573fi
27574echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27575echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27576
27577 if test "$wx_cv_func_statvfs" = "yes"; then
27578
27579
27580 ac_ext=cc
27581ac_cpp='$CXXCPP $CPPFLAGS'
27582ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27583ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27584ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27585
27586
27587 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27588echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27589if test "${wx_cv_type_statvfs_t+set}" = set; then
27590 echo $ECHO_N "(cached) $ECHO_C" >&6
27591else
27592 cat >conftest.$ac_ext <<_ACEOF
27593#line $LINENO "configure"
27594/* confdefs.h. */
27595_ACEOF
27596cat confdefs.h >>conftest.$ac_ext
27597cat >>conftest.$ac_ext <<_ACEOF
27598/* end confdefs.h. */
27599
27600 #include <sys/statvfs.h>
27601
27602int
27603main ()
27604{
27605
27606 long l;
27607 statvfs_t fs;
27608 statvfs("/", &fs);
27609 l = fs.f_bsize;
27610 l += fs.f_blocks;
27611 l += fs.f_bavail;
27612
27613 ;
27614 return 0;
27615}
27616_ACEOF
27617rm -f conftest.$ac_objext
27618if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27619 (eval $ac_compile) 2>&5
27620 ac_status=$?
27621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27622 (exit $ac_status); } &&
27623 { ac_try='test -s conftest.$ac_objext'
27624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27625 (eval $ac_try) 2>&5
27626 ac_status=$?
27627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27628 (exit $ac_status); }; }; then
27629 wx_cv_type_statvfs_t=statvfs_t
27630else
27631 echo "$as_me: failed program was:" >&5
27632sed 's/^/| /' conftest.$ac_ext >&5
27633
27634
27635 cat >conftest.$ac_ext <<_ACEOF
27636#line $LINENO "configure"
27637/* confdefs.h. */
27638_ACEOF
27639cat confdefs.h >>conftest.$ac_ext
27640cat >>conftest.$ac_ext <<_ACEOF
27641/* end confdefs.h. */
27642
27643 #include <sys/statvfs.h>
27644
27645int
27646main ()
27647{
27648
27649 long l;
27650 struct statvfs fs;
27651 statvfs("/", &fs);
27652 l = fs.f_bsize;
27653 l += fs.f_blocks;
27654 l += fs.f_bavail;
27655
27656 ;
27657 return 0;
27658}
27659_ACEOF
27660rm -f conftest.$ac_objext
27661if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27662 (eval $ac_compile) 2>&5
27663 ac_status=$?
27664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27665 (exit $ac_status); } &&
27666 { ac_try='test -s conftest.$ac_objext'
27667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27668 (eval $ac_try) 2>&5
27669 ac_status=$?
27670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27671 (exit $ac_status); }; }; then
27672 wx_cv_type_statvfs_t="struct statvfs"
27673else
27674 echo "$as_me: failed program was:" >&5
27675sed 's/^/| /' conftest.$ac_ext >&5
27676
27677wx_cv_type_statvfs_t="unknown"
27678
27679fi
27680rm -f conftest.$ac_objext conftest.$ac_ext
27681
27682
27683fi
27684rm -f conftest.$ac_objext conftest.$ac_ext
27685
27686fi
27687echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27688echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27689
27690 ac_ext=c
27691ac_cpp='$CPP $CPPFLAGS'
27692ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27693ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27694ac_compiler_gnu=$ac_cv_c_compiler_gnu
27695
27696
27697 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27698 cat >>confdefs.h <<\_ACEOF
27699#define HAVE_STATVFS 1
27700_ACEOF
27701
27702 fi
27703 else
27704 wx_cv_type_statvfs_t="unknown"
27705 fi
27706fi
27707
27708if test "$wx_cv_type_statvfs_t" != "unknown"; then
27709 cat >>confdefs.h <<_ACEOF
27710#define WX_STATFS_T $wx_cv_type_statvfs_t
27711_ACEOF
27712
27713else
27714 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27715echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27716fi
27717
27718if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27719
27720
27721for ac_func in fcntl flock
27722do
27723as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27724echo "$as_me:$LINENO: checking for $ac_func" >&5
27725echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27726if eval "test \"\${$as_ac_var+set}\" = set"; then
27727 echo $ECHO_N "(cached) $ECHO_C" >&6
27728else
27729 cat >conftest.$ac_ext <<_ACEOF
27730#line $LINENO "configure"
27731/* confdefs.h. */
27732_ACEOF
27733cat confdefs.h >>conftest.$ac_ext
27734cat >>conftest.$ac_ext <<_ACEOF
27735/* end confdefs.h. */
27736/* System header to define __stub macros and hopefully few prototypes,
27737 which can conflict with char $ac_func (); below.
27738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27739 <limits.h> exists even on freestanding compilers. */
27740#ifdef __STDC__
27741# include <limits.h>
27742#else
27743# include <assert.h>
27744#endif
27745/* Override any gcc2 internal prototype to avoid an error. */
27746#ifdef __cplusplus
27747extern "C"
27748{
27749#endif
27750/* We use char because int might match the return type of a gcc2
27751 builtin and then its argument prototype would still apply. */
27752char $ac_func ();
27753/* The GNU C library defines this for functions which it implements
27754 to always fail with ENOSYS. Some functions are actually named
27755 something starting with __ and the normal name is an alias. */
27756#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27757choke me
27758#else
27759char (*f) () = $ac_func;
27760#endif
27761#ifdef __cplusplus
27762}
27763#endif
27764
27765int
27766main ()
27767{
27768return f != $ac_func;
27769 ;
27770 return 0;
27771}
27772_ACEOF
27773rm -f conftest.$ac_objext conftest$ac_exeext
27774if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27775 (eval $ac_link) 2>&5
27776 ac_status=$?
27777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27778 (exit $ac_status); } &&
27779 { ac_try='test -s conftest$ac_exeext'
27780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27781 (eval $ac_try) 2>&5
27782 ac_status=$?
27783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27784 (exit $ac_status); }; }; then
27785 eval "$as_ac_var=yes"
27786else
27787 echo "$as_me: failed program was:" >&5
27788sed 's/^/| /' conftest.$ac_ext >&5
27789
27790eval "$as_ac_var=no"
27791fi
27792rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27793fi
27794echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27795echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27796if test `eval echo '${'$as_ac_var'}'` = yes; then
27797 cat >>confdefs.h <<_ACEOF
27798#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27799_ACEOF
27800 break
27801fi
27802done
27803
27804
27805 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27806 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27807echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27808 wxUSE_SNGLINST_CHECKER=no
27809 fi
27810fi
27811
27812
27813for ac_func in timegm
27814do
27815as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27816echo "$as_me:$LINENO: checking for $ac_func" >&5
27817echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27818if eval "test \"\${$as_ac_var+set}\" = set"; then
27819 echo $ECHO_N "(cached) $ECHO_C" >&6
27820else
27821 cat >conftest.$ac_ext <<_ACEOF
27822#line $LINENO "configure"
27823/* confdefs.h. */
27824_ACEOF
27825cat confdefs.h >>conftest.$ac_ext
27826cat >>conftest.$ac_ext <<_ACEOF
27827/* end confdefs.h. */
27828/* System header to define __stub macros and hopefully few prototypes,
27829 which can conflict with char $ac_func (); below.
27830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27831 <limits.h> exists even on freestanding compilers. */
27832#ifdef __STDC__
27833# include <limits.h>
27834#else
27835# include <assert.h>
27836#endif
27837/* Override any gcc2 internal prototype to avoid an error. */
27838#ifdef __cplusplus
27839extern "C"
27840{
27841#endif
27842/* We use char because int might match the return type of a gcc2
27843 builtin and then its argument prototype would still apply. */
27844char $ac_func ();
27845/* The GNU C library defines this for functions which it implements
27846 to always fail with ENOSYS. Some functions are actually named
27847 something starting with __ and the normal name is an alias. */
27848#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27849choke me
27850#else
27851char (*f) () = $ac_func;
27852#endif
27853#ifdef __cplusplus
27854}
27855#endif
27856
27857int
27858main ()
27859{
27860return f != $ac_func;
27861 ;
27862 return 0;
27863}
27864_ACEOF
27865rm -f conftest.$ac_objext conftest$ac_exeext
27866if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27867 (eval $ac_link) 2>&5
27868 ac_status=$?
27869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27870 (exit $ac_status); } &&
27871 { ac_try='test -s conftest$ac_exeext'
27872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27873 (eval $ac_try) 2>&5
27874 ac_status=$?
27875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27876 (exit $ac_status); }; }; then
27877 eval "$as_ac_var=yes"
27878else
27879 echo "$as_me: failed program was:" >&5
27880sed 's/^/| /' conftest.$ac_ext >&5
27881
27882eval "$as_ac_var=no"
27883fi
27884rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27885fi
27886echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27887echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27888if test `eval echo '${'$as_ac_var'}'` = yes; then
27889 cat >>confdefs.h <<_ACEOF
27890#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27891_ACEOF
27892
27893fi
27894done
27895
27896
27897
27898
27899for ac_func in putenv setenv
27900do
27901as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27902echo "$as_me:$LINENO: checking for $ac_func" >&5
27903echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27904if eval "test \"\${$as_ac_var+set}\" = set"; then
27905 echo $ECHO_N "(cached) $ECHO_C" >&6
27906else
27907 cat >conftest.$ac_ext <<_ACEOF
27908#line $LINENO "configure"
27909/* confdefs.h. */
27910_ACEOF
27911cat confdefs.h >>conftest.$ac_ext
27912cat >>conftest.$ac_ext <<_ACEOF
27913/* end confdefs.h. */
27914/* System header to define __stub macros and hopefully few prototypes,
27915 which can conflict with char $ac_func (); below.
27916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27917 <limits.h> exists even on freestanding compilers. */
27918#ifdef __STDC__
27919# include <limits.h>
27920#else
27921# include <assert.h>
27922#endif
27923/* Override any gcc2 internal prototype to avoid an error. */
27924#ifdef __cplusplus
27925extern "C"
27926{
27927#endif
27928/* We use char because int might match the return type of a gcc2
27929 builtin and then its argument prototype would still apply. */
27930char $ac_func ();
27931/* The GNU C library defines this for functions which it implements
27932 to always fail with ENOSYS. Some functions are actually named
27933 something starting with __ and the normal name is an alias. */
27934#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27935choke me
27936#else
27937char (*f) () = $ac_func;
27938#endif
27939#ifdef __cplusplus
27940}
27941#endif
27942
27943int
27944main ()
27945{
27946return f != $ac_func;
27947 ;
27948 return 0;
27949}
27950_ACEOF
27951rm -f conftest.$ac_objext conftest$ac_exeext
27952if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27953 (eval $ac_link) 2>&5
27954 ac_status=$?
27955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956 (exit $ac_status); } &&
27957 { ac_try='test -s conftest$ac_exeext'
27958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27959 (eval $ac_try) 2>&5
27960 ac_status=$?
27961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27962 (exit $ac_status); }; }; then
27963 eval "$as_ac_var=yes"
27964else
27965 echo "$as_me: failed program was:" >&5
27966sed 's/^/| /' conftest.$ac_ext >&5
27967
27968eval "$as_ac_var=no"
27969fi
27970rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27971fi
27972echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27973echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27974if test `eval echo '${'$as_ac_var'}'` = yes; then
27975 cat >>confdefs.h <<_ACEOF
27976#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27977_ACEOF
27978 break
27979fi
27980done
27981
27982
27983HAVE_SOME_SLEEP_FUNC=0
27984if test "$USE_BEOS" = 1; then
27985 cat >>confdefs.h <<\_ACEOF
27986#define HAVE_SLEEP 1
27987_ACEOF
27988
27989 HAVE_SOME_SLEEP_FUNC=1
27990fi
27991
27992if test "$USE_DARWIN" = 1; then
27993 cat >>confdefs.h <<\_ACEOF
27994#define HAVE_USLEEP 1
27995_ACEOF
27996
27997 HAVE_SOME_SLEEP_FUNC=1
27998fi
27999
28000if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
28001 POSIX4_LINK=
28002
28003for ac_func in nanosleep
28004do
28005as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28006echo "$as_me:$LINENO: checking for $ac_func" >&5
28007echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28008if eval "test \"\${$as_ac_var+set}\" = set"; then
28009 echo $ECHO_N "(cached) $ECHO_C" >&6
28010else
28011 cat >conftest.$ac_ext <<_ACEOF
28012#line $LINENO "configure"
28013/* confdefs.h. */
28014_ACEOF
28015cat confdefs.h >>conftest.$ac_ext
28016cat >>conftest.$ac_ext <<_ACEOF
28017/* end confdefs.h. */
28018/* System header to define __stub macros and hopefully few prototypes,
28019 which can conflict with char $ac_func (); below.
28020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28021 <limits.h> exists even on freestanding compilers. */
28022#ifdef __STDC__
28023# include <limits.h>
28024#else
28025# include <assert.h>
28026#endif
28027/* Override any gcc2 internal prototype to avoid an error. */
28028#ifdef __cplusplus
28029extern "C"
28030{
28031#endif
28032/* We use char because int might match the return type of a gcc2
28033 builtin and then its argument prototype would still apply. */
28034char $ac_func ();
28035/* The GNU C library defines this for functions which it implements
28036 to always fail with ENOSYS. Some functions are actually named
28037 something starting with __ and the normal name is an alias. */
28038#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28039choke me
28040#else
28041char (*f) () = $ac_func;
28042#endif
28043#ifdef __cplusplus
28044}
28045#endif
28046
28047int
28048main ()
28049{
28050return f != $ac_func;
28051 ;
28052 return 0;
28053}
28054_ACEOF
28055rm -f conftest.$ac_objext conftest$ac_exeext
28056if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28057 (eval $ac_link) 2>&5
28058 ac_status=$?
28059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28060 (exit $ac_status); } &&
28061 { ac_try='test -s conftest$ac_exeext'
28062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28063 (eval $ac_try) 2>&5
28064 ac_status=$?
28065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28066 (exit $ac_status); }; }; then
28067 eval "$as_ac_var=yes"
28068else
28069 echo "$as_me: failed program was:" >&5
28070sed 's/^/| /' conftest.$ac_ext >&5
28071
28072eval "$as_ac_var=no"
28073fi
28074rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28075fi
28076echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28077echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28078if test `eval echo '${'$as_ac_var'}'` = yes; then
28079 cat >>confdefs.h <<_ACEOF
28080#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28081_ACEOF
28082 cat >>confdefs.h <<\_ACEOF
28083#define HAVE_NANOSLEEP 1
28084_ACEOF
28085
28086else
28087
28088 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
28089echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
28090if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
28091 echo $ECHO_N "(cached) $ECHO_C" >&6
28092else
28093 ac_check_lib_save_LIBS=$LIBS
28094LIBS="-lposix4 $LIBS"
28095cat >conftest.$ac_ext <<_ACEOF
28096#line $LINENO "configure"
28097/* confdefs.h. */
28098_ACEOF
28099cat confdefs.h >>conftest.$ac_ext
28100cat >>conftest.$ac_ext <<_ACEOF
28101/* end confdefs.h. */
28102
28103/* Override any gcc2 internal prototype to avoid an error. */
28104#ifdef __cplusplus
28105extern "C"
28106#endif
28107/* We use char because int might match the return type of a gcc2
28108 builtin and then its argument prototype would still apply. */
28109char nanosleep ();
28110int
28111main ()
28112{
28113nanosleep ();
28114 ;
28115 return 0;
28116}
28117_ACEOF
28118rm -f conftest.$ac_objext conftest$ac_exeext
28119if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28120 (eval $ac_link) 2>&5
28121 ac_status=$?
28122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 (exit $ac_status); } &&
28124 { ac_try='test -s conftest$ac_exeext'
28125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28126 (eval $ac_try) 2>&5
28127 ac_status=$?
28128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28129 (exit $ac_status); }; }; then
28130 ac_cv_lib_posix4_nanosleep=yes
28131else
28132 echo "$as_me: failed program was:" >&5
28133sed 's/^/| /' conftest.$ac_ext >&5
28134
28135ac_cv_lib_posix4_nanosleep=no
28136fi
28137rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28138LIBS=$ac_check_lib_save_LIBS
28139fi
28140echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
28141echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
28142if test $ac_cv_lib_posix4_nanosleep = yes; then
28143
28144 cat >>confdefs.h <<\_ACEOF
28145#define HAVE_NANOSLEEP 1
28146_ACEOF
28147
28148 POSIX4_LINK=" -lposix4"
28149
28150else
28151
28152
28153for ac_func in usleep
28154do
28155as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28156echo "$as_me:$LINENO: checking for $ac_func" >&5
28157echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28158if eval "test \"\${$as_ac_var+set}\" = set"; then
28159 echo $ECHO_N "(cached) $ECHO_C" >&6
28160else
28161 cat >conftest.$ac_ext <<_ACEOF
28162#line $LINENO "configure"
28163/* confdefs.h. */
28164_ACEOF
28165cat confdefs.h >>conftest.$ac_ext
28166cat >>conftest.$ac_ext <<_ACEOF
28167/* end confdefs.h. */
28168/* System header to define __stub macros and hopefully few prototypes,
28169 which can conflict with char $ac_func (); below.
28170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28171 <limits.h> exists even on freestanding compilers. */
28172#ifdef __STDC__
28173# include <limits.h>
28174#else
28175# include <assert.h>
28176#endif
28177/* Override any gcc2 internal prototype to avoid an error. */
28178#ifdef __cplusplus
28179extern "C"
28180{
28181#endif
28182/* We use char because int might match the return type of a gcc2
28183 builtin and then its argument prototype would still apply. */
28184char $ac_func ();
28185/* The GNU C library defines this for functions which it implements
28186 to always fail with ENOSYS. Some functions are actually named
28187 something starting with __ and the normal name is an alias. */
28188#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28189choke me
28190#else
28191char (*f) () = $ac_func;
28192#endif
28193#ifdef __cplusplus
28194}
28195#endif
28196
28197int
28198main ()
28199{
28200return f != $ac_func;
28201 ;
28202 return 0;
28203}
28204_ACEOF
28205rm -f conftest.$ac_objext conftest$ac_exeext
28206if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28207 (eval $ac_link) 2>&5
28208 ac_status=$?
28209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28210 (exit $ac_status); } &&
28211 { ac_try='test -s conftest$ac_exeext'
28212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28213 (eval $ac_try) 2>&5
28214 ac_status=$?
28215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28216 (exit $ac_status); }; }; then
28217 eval "$as_ac_var=yes"
28218else
28219 echo "$as_me: failed program was:" >&5
28220sed 's/^/| /' conftest.$ac_ext >&5
28221
28222eval "$as_ac_var=no"
28223fi
28224rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28225fi
28226echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28227echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28228if test `eval echo '${'$as_ac_var'}'` = yes; then
28229 cat >>confdefs.h <<_ACEOF
28230#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28231_ACEOF
28232 cat >>confdefs.h <<\_ACEOF
28233#define HAVE_USLEEP 1
28234_ACEOF
28235
28236else
28237 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28238echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28239
28240fi
28241done
28242
28243
28244
28245fi
28246
28247
28248
28249fi
28250done
28251
28252fi
28253
28254
28255
28256for ac_func in uname gethostname
28257do
28258as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28259echo "$as_me:$LINENO: checking for $ac_func" >&5
28260echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28261if eval "test \"\${$as_ac_var+set}\" = set"; then
28262 echo $ECHO_N "(cached) $ECHO_C" >&6
28263else
28264 cat >conftest.$ac_ext <<_ACEOF
28265#line $LINENO "configure"
28266/* confdefs.h. */
28267_ACEOF
28268cat confdefs.h >>conftest.$ac_ext
28269cat >>conftest.$ac_ext <<_ACEOF
28270/* end confdefs.h. */
28271/* System header to define __stub macros and hopefully few prototypes,
28272 which can conflict with char $ac_func (); below.
28273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28274 <limits.h> exists even on freestanding compilers. */
28275#ifdef __STDC__
28276# include <limits.h>
28277#else
28278# include <assert.h>
28279#endif
28280/* Override any gcc2 internal prototype to avoid an error. */
28281#ifdef __cplusplus
28282extern "C"
28283{
28284#endif
28285/* We use char because int might match the return type of a gcc2
28286 builtin and then its argument prototype would still apply. */
28287char $ac_func ();
28288/* The GNU C library defines this for functions which it implements
28289 to always fail with ENOSYS. Some functions are actually named
28290 something starting with __ and the normal name is an alias. */
28291#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28292choke me
28293#else
28294char (*f) () = $ac_func;
28295#endif
28296#ifdef __cplusplus
28297}
28298#endif
28299
28300int
28301main ()
28302{
28303return f != $ac_func;
28304 ;
28305 return 0;
28306}
28307_ACEOF
28308rm -f conftest.$ac_objext conftest$ac_exeext
28309if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28310 (eval $ac_link) 2>&5
28311 ac_status=$?
28312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28313 (exit $ac_status); } &&
28314 { ac_try='test -s conftest$ac_exeext'
28315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28316 (eval $ac_try) 2>&5
28317 ac_status=$?
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); }; }; then
28320 eval "$as_ac_var=yes"
28321else
28322 echo "$as_me: failed program was:" >&5
28323sed 's/^/| /' conftest.$ac_ext >&5
28324
28325eval "$as_ac_var=no"
28326fi
28327rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28328fi
28329echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28330echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28331if test `eval echo '${'$as_ac_var'}'` = yes; then
28332 cat >>confdefs.h <<_ACEOF
28333#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28334_ACEOF
28335 break
28336fi
28337done
28338
28339
28340
28341
28342ac_ext=cc
28343ac_cpp='$CXXCPP $CPPFLAGS'
28344ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28345ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28346ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28347
28348
28349
28350for ac_func in strtok_r
28351do
28352as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28353echo "$as_me:$LINENO: checking for $ac_func" >&5
28354echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28355if eval "test \"\${$as_ac_var+set}\" = set"; then
28356 echo $ECHO_N "(cached) $ECHO_C" >&6
28357else
28358 cat >conftest.$ac_ext <<_ACEOF
28359#line $LINENO "configure"
28360/* confdefs.h. */
28361_ACEOF
28362cat confdefs.h >>conftest.$ac_ext
28363cat >>conftest.$ac_ext <<_ACEOF
28364/* end confdefs.h. */
28365/* System header to define __stub macros and hopefully few prototypes,
28366 which can conflict with char $ac_func (); below.
28367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28368 <limits.h> exists even on freestanding compilers. */
28369#ifdef __STDC__
28370# include <limits.h>
28371#else
28372# include <assert.h>
28373#endif
28374/* Override any gcc2 internal prototype to avoid an error. */
28375#ifdef __cplusplus
28376extern "C"
28377{
28378#endif
28379/* We use char because int might match the return type of a gcc2
28380 builtin and then its argument prototype would still apply. */
28381char $ac_func ();
28382/* The GNU C library defines this for functions which it implements
28383 to always fail with ENOSYS. Some functions are actually named
28384 something starting with __ and the normal name is an alias. */
28385#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28386choke me
28387#else
28388char (*f) () = $ac_func;
28389#endif
28390#ifdef __cplusplus
28391}
28392#endif
28393
28394int
28395main ()
28396{
28397return f != $ac_func;
28398 ;
28399 return 0;
28400}
28401_ACEOF
28402rm -f conftest.$ac_objext conftest$ac_exeext
28403if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28404 (eval $ac_link) 2>&5
28405 ac_status=$?
28406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28407 (exit $ac_status); } &&
28408 { ac_try='test -s conftest$ac_exeext'
28409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28410 (eval $ac_try) 2>&5
28411 ac_status=$?
28412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28413 (exit $ac_status); }; }; then
28414 eval "$as_ac_var=yes"
28415else
28416 echo "$as_me: failed program was:" >&5
28417sed 's/^/| /' conftest.$ac_ext >&5
28418
28419eval "$as_ac_var=no"
28420fi
28421rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28422fi
28423echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28424echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28425if test `eval echo '${'$as_ac_var'}'` = yes; then
28426 cat >>confdefs.h <<_ACEOF
28427#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28428_ACEOF
28429
28430fi
28431done
28432
28433
28434ac_ext=c
28435ac_cpp='$CPP $CPPFLAGS'
28436ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28437ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28438ac_compiler_gnu=$ac_cv_c_compiler_gnu
28439
28440
28441INET_LINK=
28442
28443for ac_func in inet_addr
28444do
28445as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28446echo "$as_me:$LINENO: checking for $ac_func" >&5
28447echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28448if eval "test \"\${$as_ac_var+set}\" = set"; then
28449 echo $ECHO_N "(cached) $ECHO_C" >&6
28450else
28451 cat >conftest.$ac_ext <<_ACEOF
28452#line $LINENO "configure"
28453/* confdefs.h. */
28454_ACEOF
28455cat confdefs.h >>conftest.$ac_ext
28456cat >>conftest.$ac_ext <<_ACEOF
28457/* end confdefs.h. */
28458/* System header to define __stub macros and hopefully few prototypes,
28459 which can conflict with char $ac_func (); below.
28460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28461 <limits.h> exists even on freestanding compilers. */
28462#ifdef __STDC__
28463# include <limits.h>
28464#else
28465# include <assert.h>
28466#endif
28467/* Override any gcc2 internal prototype to avoid an error. */
28468#ifdef __cplusplus
28469extern "C"
28470{
28471#endif
28472/* We use char because int might match the return type of a gcc2
28473 builtin and then its argument prototype would still apply. */
28474char $ac_func ();
28475/* The GNU C library defines this for functions which it implements
28476 to always fail with ENOSYS. Some functions are actually named
28477 something starting with __ and the normal name is an alias. */
28478#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28479choke me
28480#else
28481char (*f) () = $ac_func;
28482#endif
28483#ifdef __cplusplus
28484}
28485#endif
28486
28487int
28488main ()
28489{
28490return f != $ac_func;
28491 ;
28492 return 0;
28493}
28494_ACEOF
28495rm -f conftest.$ac_objext conftest$ac_exeext
28496if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28497 (eval $ac_link) 2>&5
28498 ac_status=$?
28499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28500 (exit $ac_status); } &&
28501 { ac_try='test -s conftest$ac_exeext'
28502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28503 (eval $ac_try) 2>&5
28504 ac_status=$?
28505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28506 (exit $ac_status); }; }; then
28507 eval "$as_ac_var=yes"
28508else
28509 echo "$as_me: failed program was:" >&5
28510sed 's/^/| /' conftest.$ac_ext >&5
28511
28512eval "$as_ac_var=no"
28513fi
28514rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28515fi
28516echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28517echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28518if test `eval echo '${'$as_ac_var'}'` = yes; then
28519 cat >>confdefs.h <<_ACEOF
28520#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28521_ACEOF
28522 cat >>confdefs.h <<\_ACEOF
28523#define HAVE_INET_ADDR 1
28524_ACEOF
28525
28526else
28527
28528 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28529echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28530if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28531 echo $ECHO_N "(cached) $ECHO_C" >&6
28532else
28533 ac_check_lib_save_LIBS=$LIBS
28534LIBS="-lnsl $LIBS"
28535cat >conftest.$ac_ext <<_ACEOF
28536#line $LINENO "configure"
28537/* confdefs.h. */
28538_ACEOF
28539cat confdefs.h >>conftest.$ac_ext
28540cat >>conftest.$ac_ext <<_ACEOF
28541/* end confdefs.h. */
28542
28543/* Override any gcc2 internal prototype to avoid an error. */
28544#ifdef __cplusplus
28545extern "C"
28546#endif
28547/* We use char because int might match the return type of a gcc2
28548 builtin and then its argument prototype would still apply. */
28549char inet_addr ();
28550int
28551main ()
28552{
28553inet_addr ();
28554 ;
28555 return 0;
28556}
28557_ACEOF
28558rm -f conftest.$ac_objext conftest$ac_exeext
28559if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28560 (eval $ac_link) 2>&5
28561 ac_status=$?
28562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28563 (exit $ac_status); } &&
28564 { ac_try='test -s conftest$ac_exeext'
28565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28566 (eval $ac_try) 2>&5
28567 ac_status=$?
28568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28569 (exit $ac_status); }; }; then
28570 ac_cv_lib_nsl_inet_addr=yes
28571else
28572 echo "$as_me: failed program was:" >&5
28573sed 's/^/| /' conftest.$ac_ext >&5
28574
28575ac_cv_lib_nsl_inet_addr=no
28576fi
28577rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28578LIBS=$ac_check_lib_save_LIBS
28579fi
28580echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28581echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28582if test $ac_cv_lib_nsl_inet_addr = yes; then
28583 INET_LINK="nsl"
28584else
28585
28586 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28587echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28588if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28589 echo $ECHO_N "(cached) $ECHO_C" >&6
28590else
28591 ac_check_lib_save_LIBS=$LIBS
28592LIBS="-lresolv $LIBS"
28593cat >conftest.$ac_ext <<_ACEOF
28594#line $LINENO "configure"
28595/* confdefs.h. */
28596_ACEOF
28597cat confdefs.h >>conftest.$ac_ext
28598cat >>conftest.$ac_ext <<_ACEOF
28599/* end confdefs.h. */
28600
28601/* Override any gcc2 internal prototype to avoid an error. */
28602#ifdef __cplusplus
28603extern "C"
28604#endif
28605/* We use char because int might match the return type of a gcc2
28606 builtin and then its argument prototype would still apply. */
28607char inet_addr ();
28608int
28609main ()
28610{
28611inet_addr ();
28612 ;
28613 return 0;
28614}
28615_ACEOF
28616rm -f conftest.$ac_objext conftest$ac_exeext
28617if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28618 (eval $ac_link) 2>&5
28619 ac_status=$?
28620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28621 (exit $ac_status); } &&
28622 { ac_try='test -s conftest$ac_exeext'
28623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28624 (eval $ac_try) 2>&5
28625 ac_status=$?
28626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28627 (exit $ac_status); }; }; then
28628 ac_cv_lib_resolv_inet_addr=yes
28629else
28630 echo "$as_me: failed program was:" >&5
28631sed 's/^/| /' conftest.$ac_ext >&5
28632
28633ac_cv_lib_resolv_inet_addr=no
28634fi
28635rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28636LIBS=$ac_check_lib_save_LIBS
28637fi
28638echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28639echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28640if test $ac_cv_lib_resolv_inet_addr = yes; then
28641 INET_LINK="resolv"
28642else
28643
28644 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28645echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28646if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28647 echo $ECHO_N "(cached) $ECHO_C" >&6
28648else
28649 ac_check_lib_save_LIBS=$LIBS
28650LIBS="-lsocket $LIBS"
28651cat >conftest.$ac_ext <<_ACEOF
28652#line $LINENO "configure"
28653/* confdefs.h. */
28654_ACEOF
28655cat confdefs.h >>conftest.$ac_ext
28656cat >>conftest.$ac_ext <<_ACEOF
28657/* end confdefs.h. */
28658
28659/* Override any gcc2 internal prototype to avoid an error. */
28660#ifdef __cplusplus
28661extern "C"
28662#endif
28663/* We use char because int might match the return type of a gcc2
28664 builtin and then its argument prototype would still apply. */
28665char inet_addr ();
28666int
28667main ()
28668{
28669inet_addr ();
28670 ;
28671 return 0;
28672}
28673_ACEOF
28674rm -f conftest.$ac_objext conftest$ac_exeext
28675if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28676 (eval $ac_link) 2>&5
28677 ac_status=$?
28678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28679 (exit $ac_status); } &&
28680 { ac_try='test -s conftest$ac_exeext'
28681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28682 (eval $ac_try) 2>&5
28683 ac_status=$?
28684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28685 (exit $ac_status); }; }; then
28686 ac_cv_lib_socket_inet_addr=yes
28687else
28688 echo "$as_me: failed program was:" >&5
28689sed 's/^/| /' conftest.$ac_ext >&5
28690
28691ac_cv_lib_socket_inet_addr=no
28692fi
28693rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28694LIBS=$ac_check_lib_save_LIBS
28695fi
28696echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28697echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28698if test $ac_cv_lib_socket_inet_addr = yes; then
28699 INET_LINK="socket"
28700
28701fi
28702
28703
28704
28705fi
28706
28707
28708
28709fi
28710
28711
28712
28713fi
28714done
28715
28716
28717
28718for ac_func in inet_aton
28719do
28720as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28721echo "$as_me:$LINENO: checking for $ac_func" >&5
28722echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28723if eval "test \"\${$as_ac_var+set}\" = set"; then
28724 echo $ECHO_N "(cached) $ECHO_C" >&6
28725else
28726 cat >conftest.$ac_ext <<_ACEOF
28727#line $LINENO "configure"
28728/* confdefs.h. */
28729_ACEOF
28730cat confdefs.h >>conftest.$ac_ext
28731cat >>conftest.$ac_ext <<_ACEOF
28732/* end confdefs.h. */
28733/* System header to define __stub macros and hopefully few prototypes,
28734 which can conflict with char $ac_func (); below.
28735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28736 <limits.h> exists even on freestanding compilers. */
28737#ifdef __STDC__
28738# include <limits.h>
28739#else
28740# include <assert.h>
28741#endif
28742/* Override any gcc2 internal prototype to avoid an error. */
28743#ifdef __cplusplus
28744extern "C"
28745{
28746#endif
28747/* We use char because int might match the return type of a gcc2
28748 builtin and then its argument prototype would still apply. */
28749char $ac_func ();
28750/* The GNU C library defines this for functions which it implements
28751 to always fail with ENOSYS. Some functions are actually named
28752 something starting with __ and the normal name is an alias. */
28753#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28754choke me
28755#else
28756char (*f) () = $ac_func;
28757#endif
28758#ifdef __cplusplus
28759}
28760#endif
28761
28762int
28763main ()
28764{
28765return f != $ac_func;
28766 ;
28767 return 0;
28768}
28769_ACEOF
28770rm -f conftest.$ac_objext conftest$ac_exeext
28771if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28772 (eval $ac_link) 2>&5
28773 ac_status=$?
28774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28775 (exit $ac_status); } &&
28776 { ac_try='test -s conftest$ac_exeext'
28777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28778 (eval $ac_try) 2>&5
28779 ac_status=$?
28780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28781 (exit $ac_status); }; }; then
28782 eval "$as_ac_var=yes"
28783else
28784 echo "$as_me: failed program was:" >&5
28785sed 's/^/| /' conftest.$ac_ext >&5
28786
28787eval "$as_ac_var=no"
28788fi
28789rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28790fi
28791echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28792echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28793if test `eval echo '${'$as_ac_var'}'` = yes; then
28794 cat >>confdefs.h <<_ACEOF
28795#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28796_ACEOF
28797 cat >>confdefs.h <<\_ACEOF
28798#define HAVE_INET_ATON 1
28799_ACEOF
28800
28801else
28802
28803 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28804echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28805echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28806if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28807 echo $ECHO_N "(cached) $ECHO_C" >&6
28808else
28809 ac_check_lib_save_LIBS=$LIBS
28810LIBS="-l$INET_LINK $LIBS"
28811cat >conftest.$ac_ext <<_ACEOF
28812#line $LINENO "configure"
28813/* confdefs.h. */
28814_ACEOF
28815cat confdefs.h >>conftest.$ac_ext
28816cat >>conftest.$ac_ext <<_ACEOF
28817/* end confdefs.h. */
28818
28819/* Override any gcc2 internal prototype to avoid an error. */
28820#ifdef __cplusplus
28821extern "C"
28822#endif
28823/* We use char because int might match the return type of a gcc2
28824 builtin and then its argument prototype would still apply. */
28825char inet_aton ();
28826int
28827main ()
28828{
28829inet_aton ();
28830 ;
28831 return 0;
28832}
28833_ACEOF
28834rm -f conftest.$ac_objext conftest$ac_exeext
28835if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28836 (eval $ac_link) 2>&5
28837 ac_status=$?
28838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28839 (exit $ac_status); } &&
28840 { ac_try='test -s conftest$ac_exeext'
28841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28842 (eval $ac_try) 2>&5
28843 ac_status=$?
28844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28845 (exit $ac_status); }; }; then
28846 eval "$as_ac_Lib=yes"
28847else
28848 echo "$as_me: failed program was:" >&5
28849sed 's/^/| /' conftest.$ac_ext >&5
28850
28851eval "$as_ac_Lib=no"
28852fi
28853rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28854LIBS=$ac_check_lib_save_LIBS
28855fi
28856echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28857echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28858if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28859 cat >>confdefs.h <<\_ACEOF
28860#define HAVE_INET_ATON 1
28861_ACEOF
28862
28863fi
28864
28865
28866fi
28867done
28868
28869
28870if test "x$INET_LINK" != "x"; then
28871 cat >>confdefs.h <<\_ACEOF
28872#define HAVE_INET_ADDR 1
28873_ACEOF
28874
28875 INET_LINK=" -l$INET_LINK"
28876fi
28877
28878fi
28879
28880
28881
28882EXTRALIBS_ESD=
28883echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28884echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28885if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28886 echo $ECHO_N "(cached) $ECHO_C" >&6
28887else
28888 ac_check_lib_save_LIBS=$LIBS
28889LIBS="-lesd $LIBS"
28890cat >conftest.$ac_ext <<_ACEOF
28891#line $LINENO "configure"
28892/* confdefs.h. */
28893_ACEOF
28894cat confdefs.h >>conftest.$ac_ext
28895cat >>conftest.$ac_ext <<_ACEOF
28896/* end confdefs.h. */
28897
28898/* Override any gcc2 internal prototype to avoid an error. */
28899#ifdef __cplusplus
28900extern "C"
28901#endif
28902/* We use char because int might match the return type of a gcc2
28903 builtin and then its argument prototype would still apply. */
28904char esd_close ();
28905int
28906main ()
28907{
28908esd_close ();
28909 ;
28910 return 0;
28911}
28912_ACEOF
28913rm -f conftest.$ac_objext conftest$ac_exeext
28914if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28915 (eval $ac_link) 2>&5
28916 ac_status=$?
28917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28918 (exit $ac_status); } &&
28919 { ac_try='test -s conftest$ac_exeext'
28920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28921 (eval $ac_try) 2>&5
28922 ac_status=$?
28923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28924 (exit $ac_status); }; }; then
28925 ac_cv_lib_esd_esd_close=yes
28926else
28927 echo "$as_me: failed program was:" >&5
28928sed 's/^/| /' conftest.$ac_ext >&5
28929
28930ac_cv_lib_esd_esd_close=no
28931fi
28932rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28933LIBS=$ac_check_lib_save_LIBS
28934fi
28935echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28936echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28937if test $ac_cv_lib_esd_esd_close = yes; then
28938
28939
28940for ac_header in esd.h
28941do
28942as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28943if eval "test \"\${$as_ac_Header+set}\" = set"; then
28944 echo "$as_me:$LINENO: checking for $ac_header" >&5
28945echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28946if eval "test \"\${$as_ac_Header+set}\" = set"; then
28947 echo $ECHO_N "(cached) $ECHO_C" >&6
28948fi
28949echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28950echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28951else
28952 # Is the header compilable?
28953echo "$as_me:$LINENO: checking $ac_header usability" >&5
28954echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28955cat >conftest.$ac_ext <<_ACEOF
28956#line $LINENO "configure"
28957/* confdefs.h. */
28958_ACEOF
28959cat confdefs.h >>conftest.$ac_ext
28960cat >>conftest.$ac_ext <<_ACEOF
28961/* end confdefs.h. */
28962$ac_includes_default
28963#include <$ac_header>
28964_ACEOF
28965rm -f conftest.$ac_objext
28966if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28967 (eval $ac_compile) 2>&5
28968 ac_status=$?
28969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28970 (exit $ac_status); } &&
28971 { ac_try='test -s conftest.$ac_objext'
28972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28973 (eval $ac_try) 2>&5
28974 ac_status=$?
28975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28976 (exit $ac_status); }; }; then
28977 ac_header_compiler=yes
28978else
28979 echo "$as_me: failed program was:" >&5
28980sed 's/^/| /' conftest.$ac_ext >&5
28981
28982ac_header_compiler=no
28983fi
28984rm -f conftest.$ac_objext conftest.$ac_ext
28985echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28986echo "${ECHO_T}$ac_header_compiler" >&6
28987
28988# Is the header present?
28989echo "$as_me:$LINENO: checking $ac_header presence" >&5
28990echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28991cat >conftest.$ac_ext <<_ACEOF
28992#line $LINENO "configure"
28993/* confdefs.h. */
28994_ACEOF
28995cat confdefs.h >>conftest.$ac_ext
28996cat >>conftest.$ac_ext <<_ACEOF
28997/* end confdefs.h. */
28998#include <$ac_header>
28999_ACEOF
29000if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29001 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29002 ac_status=$?
29003 grep -v '^ *+' conftest.er1 >conftest.err
29004 rm -f conftest.er1
29005 cat conftest.err >&5
29006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29007 (exit $ac_status); } >/dev/null; then
29008 if test -s conftest.err; then
29009 ac_cpp_err=$ac_c_preproc_warn_flag
29010 else
29011 ac_cpp_err=
29012 fi
29013else
29014 ac_cpp_err=yes
29015fi
29016if test -z "$ac_cpp_err"; then
29017 ac_header_preproc=yes
29018else
29019 echo "$as_me: failed program was:" >&5
29020sed 's/^/| /' conftest.$ac_ext >&5
29021
29022 ac_header_preproc=no
29023fi
29024rm -f conftest.err conftest.$ac_ext
29025echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29026echo "${ECHO_T}$ac_header_preproc" >&6
29027
29028# So? What about this header?
29029case $ac_header_compiler:$ac_header_preproc in
29030 yes:no )
29031 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29032echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29034echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29035 (
29036 cat <<\_ASBOX
29037## ------------------------------------ ##
29038## Report this to bug-autoconf@gnu.org. ##
29039## ------------------------------------ ##
29040_ASBOX
29041 ) |
29042 sed "s/^/$as_me: WARNING: /" >&2
29043 ;;
29044 no:yes )
29045 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29046echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29047 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29048echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29049 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29050echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29051 (
29052 cat <<\_ASBOX
29053## ------------------------------------ ##
29054## Report this to bug-autoconf@gnu.org. ##
29055## ------------------------------------ ##
29056_ASBOX
29057 ) |
29058 sed "s/^/$as_me: WARNING: /" >&2
29059 ;;
29060esac
29061echo "$as_me:$LINENO: checking for $ac_header" >&5
29062echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29063if eval "test \"\${$as_ac_Header+set}\" = set"; then
29064 echo $ECHO_N "(cached) $ECHO_C" >&6
29065else
29066 eval "$as_ac_Header=$ac_header_preproc"
29067fi
29068echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29069echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29070
29071fi
29072if test `eval echo '${'$as_ac_Header'}'` = yes; then
29073 cat >>confdefs.h <<_ACEOF
29074#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29075_ACEOF
29076
29077 EXTRALIBS_ESD="-lesd"
29078
29079fi
29080
29081done
29082
29083
29084fi
29085
29086
29087
29088echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
29089echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
29090cat >conftest.$ac_ext <<_ACEOF
29091#line $LINENO "configure"
29092/* confdefs.h. */
29093_ACEOF
29094cat confdefs.h >>conftest.$ac_ext
29095cat >>conftest.$ac_ext <<_ACEOF
29096/* end confdefs.h. */
29097#ifdef __linux__
29098 #include <linux/cdrom.h>
29099 #else
29100 /* For Solaris */
29101 #include <sys/cdio.h>
29102 #endif
29103
29104int
29105main ()
29106{
29107struct cdrom_tocentry entry, old_entry;
29108 ;
29109 return 0;
29110}
29111_ACEOF
29112rm -f conftest.$ac_objext
29113if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29114 (eval $ac_compile) 2>&5
29115 ac_status=$?
29116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29117 (exit $ac_status); } &&
29118 { ac_try='test -s conftest.$ac_objext'
29119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29120 (eval $ac_try) 2>&5
29121 ac_status=$?
29122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29123 (exit $ac_status); }; }; then
29124 echo "$as_me:$LINENO: result: yes" >&5
29125echo "${ECHO_T}yes" >&6
29126 cat >>confdefs.h <<\_ACEOF
29127#define HAVE_KNOWN_CDROM_INTERFACE 1
29128_ACEOF
29129
29130else
29131 echo "$as_me: failed program was:" >&5
29132sed 's/^/| /' conftest.$ac_ext >&5
29133
29134echo "$as_me:$LINENO: result: no" >&5
29135echo "${ECHO_T}no" >&6
29136fi
29137rm -f conftest.$ac_objext conftest.$ac_ext
29138
29139
29140cat >confcache <<\_ACEOF
29141# This file is a shell script that caches the results of configure
29142# tests run on this system so they can be shared between configure
29143# scripts and configure runs, see configure's option --config-cache.
29144# It is not useful on other systems. If it contains results you don't
29145# want to keep, you may remove or edit it.
29146#
29147# config.status only pays attention to the cache file if you give it
29148# the --recheck option to rerun configure.
29149#
29150# `ac_cv_env_foo' variables (set or unset) will be overridden when
29151# loading this file, other *unset* `ac_cv_foo' will be assigned the
29152# following values.
29153
29154_ACEOF
29155
29156# The following way of writing the cache mishandles newlines in values,
29157# but we know of no workaround that is simple, portable, and efficient.
29158# So, don't put newlines in cache variables' values.
29159# Ultrix sh set writes to stderr and can't be redirected directly,
29160# and sets the high bit in the cache file unless we assign to the vars.
29161{
29162 (set) 2>&1 |
29163 case `(ac_space=' '; set | grep ac_space) 2>&1` in
29164 *ac_space=\ *)
29165 # `set' does not quote correctly, so add quotes (double-quote
29166 # substitution turns \\\\ into \\, and sed turns \\ into \).
29167 sed -n \
29168 "s/'/'\\\\''/g;
29169 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29170 ;;
29171 *)
29172 # `set' quotes correctly as required by POSIX, so do not add quotes.
29173 sed -n \
29174 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29175 ;;
29176 esac;
29177} |
29178 sed '
29179 t clear
29180 : clear
29181 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29182 t end
29183 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29184 : end' >>confcache
29185if diff $cache_file confcache >/dev/null 2>&1; then :; else
29186 if test -w $cache_file; then
29187 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29188 cat confcache >$cache_file
29189 else
29190 echo "not updating unwritable cache $cache_file"
29191 fi
29192fi
29193rm -f confcache
29194
29195
29196CPP_MT_FLAG=
29197if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
29198
29199
29200 THREADS_LINK=
29201 THREADS_CFLAGS=
29202
29203 if test "$wxUSE_THREADS" = "yes" ; then
29204 if test "$USE_BEOS" = 1; then
29205 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
29206echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
29207 wxUSE_THREADS="no"
29208 fi
29209 fi
29210
29211 if test "$wxUSE_THREADS" = "yes" ; then
29212
29213
29214 THREAD_OPTS="-pthread"
29215 case "${host}" in
29216 *-*-solaris2* | *-*-sunos4* )
29217 if test "x$GCC" = "xyes"; then
29218 THREAD_OPTS="-pthreads $THREAD_OPTS"
29219 else
29220 THREAD_OPTS="-mt $THREAD_OPTS"
29221 fi
29222 ;;
29223 *-*-freebsd*)
29224 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
29225 ;;
29226 *-*-darwin* | *-*-cygwin* )
29227 THREAD_OPTS=""
29228 ;;
29229 *-*-aix*)
29230 THREAD_OPTS="pthreads"
29231 ;;
29232 *-hp-hpux* )
29233 if test "x$GCC" != "xyes"; then
29234 THREAD_OPTS=""
29235 fi
29236 ;;
29237
29238 *-*-irix* )
29239 if test "x$GCC" = "xyes"; then
29240 THREAD_OPTS=""
29241 fi
29242 ;;
29243
29244 *-*-*UnixWare*)
29245 if test "x$GCC" != "xyes"; then
29246 THREAD_OPTS="-Ethread"
29247 fi
29248 ;;
29249 esac
29250
29251 THREAD_OPTS="$THREAD_OPTS pthread none"
29252
29253 THREADS_OK=no
29254 for flag in $THREAD_OPTS; do
29255 case $flag in
29256 none)
29257 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29258echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29259 ;;
29260
29261 -*)
29262 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29263echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29264 THREADS_CFLAGS="$flag"
29265 ;;
29266
29267 *)
29268 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29269echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29270 THREADS_LINK="-l$flag"
29271 ;;
29272 esac
29273
29274 save_LIBS="$LIBS"
29275 save_CFLAGS="$CFLAGS"
29276 LIBS="$THREADS_LINK $LIBS"
29277 CFLAGS="$THREADS_CFLAGS $CFLAGS"
29278
29279 cat >conftest.$ac_ext <<_ACEOF
29280#line $LINENO "configure"
29281/* confdefs.h. */
29282_ACEOF
29283cat confdefs.h >>conftest.$ac_ext
29284cat >>conftest.$ac_ext <<_ACEOF
29285/* end confdefs.h. */
29286#include <pthread.h>
29287int
29288main ()
29289{
29290pthread_create(0,0,0,0);
29291 ;
29292 return 0;
29293}
29294_ACEOF
29295rm -f conftest.$ac_objext conftest$ac_exeext
29296if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29297 (eval $ac_link) 2>&5
29298 ac_status=$?
29299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29300 (exit $ac_status); } &&
29301 { ac_try='test -s conftest$ac_exeext'
29302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29303 (eval $ac_try) 2>&5
29304 ac_status=$?
29305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29306 (exit $ac_status); }; }; then
29307 THREADS_OK=yes
29308else
29309 echo "$as_me: failed program was:" >&5
29310sed 's/^/| /' conftest.$ac_ext >&5
29311
29312fi
29313rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29314
29315 LIBS="$save_LIBS"
29316 CFLAGS="$save_CFLAGS"
29317
29318 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29319echo "${ECHO_T}$THREADS_OK" >&6
29320 if test "x$THREADS_OK" = "xyes"; then
29321 break;
29322 fi
29323
29324 THREADS_LINK=""
29325 THREADS_CFLAGS=""
29326 done
29327
29328 if test "x$THREADS_OK" != "xyes"; then
29329 wxUSE_THREADS=no
29330 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29331echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29332 else
29333 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
29334 LIBS="$THREADS_LINK $LIBS"
29335
29336 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29337echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29338 flag=no
29339 case "${host}" in
29340 *-aix*)
29341 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
29342 flag="-D_THREAD_SAFE"
29343 ;;
29344 *-freebsd*)
29345 flag="-D_THREAD_SAFE"
29346 ;;
29347 *-hp-hpux* )
29348 flag="-D_REENTRANT"
29349 if test "x$GCC" != "xyes"; then
29350 flag="$flag -D_RWSTD_MULTI_THREAD"
29351 fi
29352 ;;
29353 *solaris* | alpha*-osf*)
29354 flag="-D_REENTRANT"
29355 ;;
29356 esac
29357 echo "$as_me:$LINENO: result: ${flag}" >&5
29358echo "${ECHO_T}${flag}" >&6
29359 if test "x$flag" != xno; then
29360 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
29361 fi
29362
29363 if test "x$THREADS_CFLAGS" != "x"; then
29364 CFLAGS="$CFLAGS $THREADS_CFLAGS"
29365 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
29366 fi
29367 fi
29368 fi
29369
29370 if test "$wxUSE_THREADS" = "yes" ; then
29371
29372for ac_func in thr_setconcurrency
29373do
29374as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29375echo "$as_me:$LINENO: checking for $ac_func" >&5
29376echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29377if eval "test \"\${$as_ac_var+set}\" = set"; then
29378 echo $ECHO_N "(cached) $ECHO_C" >&6
29379else
29380 cat >conftest.$ac_ext <<_ACEOF
29381#line $LINENO "configure"
29382/* confdefs.h. */
29383_ACEOF
29384cat confdefs.h >>conftest.$ac_ext
29385cat >>conftest.$ac_ext <<_ACEOF
29386/* end confdefs.h. */
29387/* System header to define __stub macros and hopefully few prototypes,
29388 which can conflict with char $ac_func (); below.
29389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29390 <limits.h> exists even on freestanding compilers. */
29391#ifdef __STDC__
29392# include <limits.h>
29393#else
29394# include <assert.h>
29395#endif
29396/* Override any gcc2 internal prototype to avoid an error. */
29397#ifdef __cplusplus
29398extern "C"
29399{
29400#endif
29401/* We use char because int might match the return type of a gcc2
29402 builtin and then its argument prototype would still apply. */
29403char $ac_func ();
29404/* The GNU C library defines this for functions which it implements
29405 to always fail with ENOSYS. Some functions are actually named
29406 something starting with __ and the normal name is an alias. */
29407#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29408choke me
29409#else
29410char (*f) () = $ac_func;
29411#endif
29412#ifdef __cplusplus
29413}
29414#endif
29415
29416int
29417main ()
29418{
29419return f != $ac_func;
29420 ;
29421 return 0;
29422}
29423_ACEOF
29424rm -f conftest.$ac_objext conftest$ac_exeext
29425if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29426 (eval $ac_link) 2>&5
29427 ac_status=$?
29428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29429 (exit $ac_status); } &&
29430 { ac_try='test -s conftest$ac_exeext'
29431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29432 (eval $ac_try) 2>&5
29433 ac_status=$?
29434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29435 (exit $ac_status); }; }; then
29436 eval "$as_ac_var=yes"
29437else
29438 echo "$as_me: failed program was:" >&5
29439sed 's/^/| /' conftest.$ac_ext >&5
29440
29441eval "$as_ac_var=no"
29442fi
29443rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29444fi
29445echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29446echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29447if test `eval echo '${'$as_ac_var'}'` = yes; then
29448 cat >>confdefs.h <<_ACEOF
29449#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29450_ACEOF
29451
29452fi
29453done
29454
29455
29456
29457for ac_header in sched.h
29458do
29459as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29460if eval "test \"\${$as_ac_Header+set}\" = set"; then
29461 echo "$as_me:$LINENO: checking for $ac_header" >&5
29462echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29463if eval "test \"\${$as_ac_Header+set}\" = set"; then
29464 echo $ECHO_N "(cached) $ECHO_C" >&6
29465fi
29466echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29467echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29468else
29469 # Is the header compilable?
29470echo "$as_me:$LINENO: checking $ac_header usability" >&5
29471echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29472cat >conftest.$ac_ext <<_ACEOF
29473#line $LINENO "configure"
29474/* confdefs.h. */
29475_ACEOF
29476cat confdefs.h >>conftest.$ac_ext
29477cat >>conftest.$ac_ext <<_ACEOF
29478/* end confdefs.h. */
29479$ac_includes_default
29480#include <$ac_header>
29481_ACEOF
29482rm -f conftest.$ac_objext
29483if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29484 (eval $ac_compile) 2>&5
29485 ac_status=$?
29486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29487 (exit $ac_status); } &&
29488 { ac_try='test -s conftest.$ac_objext'
29489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29490 (eval $ac_try) 2>&5
29491 ac_status=$?
29492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493 (exit $ac_status); }; }; then
29494 ac_header_compiler=yes
29495else
29496 echo "$as_me: failed program was:" >&5
29497sed 's/^/| /' conftest.$ac_ext >&5
29498
29499ac_header_compiler=no
29500fi
29501rm -f conftest.$ac_objext conftest.$ac_ext
29502echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29503echo "${ECHO_T}$ac_header_compiler" >&6
29504
29505# Is the header present?
29506echo "$as_me:$LINENO: checking $ac_header presence" >&5
29507echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29508cat >conftest.$ac_ext <<_ACEOF
29509#line $LINENO "configure"
29510/* confdefs.h. */
29511_ACEOF
29512cat confdefs.h >>conftest.$ac_ext
29513cat >>conftest.$ac_ext <<_ACEOF
29514/* end confdefs.h. */
29515#include <$ac_header>
29516_ACEOF
29517if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29518 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29519 ac_status=$?
29520 grep -v '^ *+' conftest.er1 >conftest.err
29521 rm -f conftest.er1
29522 cat conftest.err >&5
29523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29524 (exit $ac_status); } >/dev/null; then
29525 if test -s conftest.err; then
29526 ac_cpp_err=$ac_c_preproc_warn_flag
29527 else
29528 ac_cpp_err=
29529 fi
29530else
29531 ac_cpp_err=yes
29532fi
29533if test -z "$ac_cpp_err"; then
29534 ac_header_preproc=yes
29535else
29536 echo "$as_me: failed program was:" >&5
29537sed 's/^/| /' conftest.$ac_ext >&5
29538
29539 ac_header_preproc=no
29540fi
29541rm -f conftest.err conftest.$ac_ext
29542echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29543echo "${ECHO_T}$ac_header_preproc" >&6
29544
29545# So? What about this header?
29546case $ac_header_compiler:$ac_header_preproc in
29547 yes:no )
29548 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29549echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29551echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29552 (
29553 cat <<\_ASBOX
29554## ------------------------------------ ##
29555## Report this to bug-autoconf@gnu.org. ##
29556## ------------------------------------ ##
29557_ASBOX
29558 ) |
29559 sed "s/^/$as_me: WARNING: /" >&2
29560 ;;
29561 no:yes )
29562 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29563echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29564 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29565echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29566 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29567echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29568 (
29569 cat <<\_ASBOX
29570## ------------------------------------ ##
29571## Report this to bug-autoconf@gnu.org. ##
29572## ------------------------------------ ##
29573_ASBOX
29574 ) |
29575 sed "s/^/$as_me: WARNING: /" >&2
29576 ;;
29577esac
29578echo "$as_me:$LINENO: checking for $ac_header" >&5
29579echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29580if eval "test \"\${$as_ac_Header+set}\" = set"; then
29581 echo $ECHO_N "(cached) $ECHO_C" >&6
29582else
29583 eval "$as_ac_Header=$ac_header_preproc"
29584fi
29585echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29586echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29587
29588fi
29589if test `eval echo '${'$as_ac_Header'}'` = yes; then
29590 cat >>confdefs.h <<_ACEOF
29591#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29592_ACEOF
29593
29594fi
29595
29596done
29597
29598 if test "$ac_cv_header_sched_h" = "yes"; then
29599 echo "$as_me:$LINENO: checking for sched_yield" >&5
29600echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29601if test "${ac_cv_func_sched_yield+set}" = set; then
29602 echo $ECHO_N "(cached) $ECHO_C" >&6
29603else
29604 cat >conftest.$ac_ext <<_ACEOF
29605#line $LINENO "configure"
29606/* confdefs.h. */
29607_ACEOF
29608cat confdefs.h >>conftest.$ac_ext
29609cat >>conftest.$ac_ext <<_ACEOF
29610/* end confdefs.h. */
29611/* System header to define __stub macros and hopefully few prototypes,
29612 which can conflict with char sched_yield (); below.
29613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29614 <limits.h> exists even on freestanding compilers. */
29615#ifdef __STDC__
29616# include <limits.h>
29617#else
29618# include <assert.h>
29619#endif
29620/* Override any gcc2 internal prototype to avoid an error. */
29621#ifdef __cplusplus
29622extern "C"
29623{
29624#endif
29625/* We use char because int might match the return type of a gcc2
29626 builtin and then its argument prototype would still apply. */
29627char sched_yield ();
29628/* The GNU C library defines this for functions which it implements
29629 to always fail with ENOSYS. Some functions are actually named
29630 something starting with __ and the normal name is an alias. */
29631#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29632choke me
29633#else
29634char (*f) () = sched_yield;
29635#endif
29636#ifdef __cplusplus
29637}
29638#endif
29639
29640int
29641main ()
29642{
29643return f != sched_yield;
29644 ;
29645 return 0;
29646}
29647_ACEOF
29648rm -f conftest.$ac_objext conftest$ac_exeext
29649if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29650 (eval $ac_link) 2>&5
29651 ac_status=$?
29652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29653 (exit $ac_status); } &&
29654 { ac_try='test -s conftest$ac_exeext'
29655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29656 (eval $ac_try) 2>&5
29657 ac_status=$?
29658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29659 (exit $ac_status); }; }; then
29660 ac_cv_func_sched_yield=yes
29661else
29662 echo "$as_me: failed program was:" >&5
29663sed 's/^/| /' conftest.$ac_ext >&5
29664
29665ac_cv_func_sched_yield=no
29666fi
29667rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29668fi
29669echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29670echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29671if test $ac_cv_func_sched_yield = yes; then
29672 cat >>confdefs.h <<\_ACEOF
29673#define HAVE_SCHED_YIELD 1
29674_ACEOF
29675
29676else
29677
29678 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29679echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29680if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29681 echo $ECHO_N "(cached) $ECHO_C" >&6
29682else
29683 ac_check_lib_save_LIBS=$LIBS
29684LIBS="-lposix4 $LIBS"
29685cat >conftest.$ac_ext <<_ACEOF
29686#line $LINENO "configure"
29687/* confdefs.h. */
29688_ACEOF
29689cat confdefs.h >>conftest.$ac_ext
29690cat >>conftest.$ac_ext <<_ACEOF
29691/* end confdefs.h. */
29692
29693/* Override any gcc2 internal prototype to avoid an error. */
29694#ifdef __cplusplus
29695extern "C"
29696#endif
29697/* We use char because int might match the return type of a gcc2
29698 builtin and then its argument prototype would still apply. */
29699char sched_yield ();
29700int
29701main ()
29702{
29703sched_yield ();
29704 ;
29705 return 0;
29706}
29707_ACEOF
29708rm -f conftest.$ac_objext conftest$ac_exeext
29709if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29710 (eval $ac_link) 2>&5
29711 ac_status=$?
29712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29713 (exit $ac_status); } &&
29714 { ac_try='test -s conftest$ac_exeext'
29715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29716 (eval $ac_try) 2>&5
29717 ac_status=$?
29718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29719 (exit $ac_status); }; }; then
29720 ac_cv_lib_posix4_sched_yield=yes
29721else
29722 echo "$as_me: failed program was:" >&5
29723sed 's/^/| /' conftest.$ac_ext >&5
29724
29725ac_cv_lib_posix4_sched_yield=no
29726fi
29727rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29728LIBS=$ac_check_lib_save_LIBS
29729fi
29730echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29731echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29732if test $ac_cv_lib_posix4_sched_yield = yes; then
29733 cat >>confdefs.h <<\_ACEOF
29734#define HAVE_SCHED_YIELD 1
29735_ACEOF
29736 POSIX4_LINK=" -lposix4"
29737else
29738 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29739echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29740
29741fi
29742
29743
29744
29745fi
29746
29747 fi
29748
29749 HAVE_PRIOR_FUNCS=0
29750 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29751echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29752if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29753 echo $ECHO_N "(cached) $ECHO_C" >&6
29754else
29755 cat >conftest.$ac_ext <<_ACEOF
29756#line $LINENO "configure"
29757/* confdefs.h. */
29758_ACEOF
29759cat confdefs.h >>conftest.$ac_ext
29760cat >>conftest.$ac_ext <<_ACEOF
29761/* end confdefs.h. */
29762/* System header to define __stub macros and hopefully few prototypes,
29763 which can conflict with char pthread_attr_getschedpolicy (); below.
29764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29765 <limits.h> exists even on freestanding compilers. */
29766#ifdef __STDC__
29767# include <limits.h>
29768#else
29769# include <assert.h>
29770#endif
29771/* Override any gcc2 internal prototype to avoid an error. */
29772#ifdef __cplusplus
29773extern "C"
29774{
29775#endif
29776/* We use char because int might match the return type of a gcc2
29777 builtin and then its argument prototype would still apply. */
29778char pthread_attr_getschedpolicy ();
29779/* The GNU C library defines this for functions which it implements
29780 to always fail with ENOSYS. Some functions are actually named
29781 something starting with __ and the normal name is an alias. */
29782#if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29783choke me
29784#else
29785char (*f) () = pthread_attr_getschedpolicy;
29786#endif
29787#ifdef __cplusplus
29788}
29789#endif
29790
29791int
29792main ()
29793{
29794return f != pthread_attr_getschedpolicy;
29795 ;
29796 return 0;
29797}
29798_ACEOF
29799rm -f conftest.$ac_objext conftest$ac_exeext
29800if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29801 (eval $ac_link) 2>&5
29802 ac_status=$?
29803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29804 (exit $ac_status); } &&
29805 { ac_try='test -s conftest$ac_exeext'
29806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29807 (eval $ac_try) 2>&5
29808 ac_status=$?
29809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810 (exit $ac_status); }; }; then
29811 ac_cv_func_pthread_attr_getschedpolicy=yes
29812else
29813 echo "$as_me: failed program was:" >&5
29814sed 's/^/| /' conftest.$ac_ext >&5
29815
29816ac_cv_func_pthread_attr_getschedpolicy=no
29817fi
29818rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29819fi
29820echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29821echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29822if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29823 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29824echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29825if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29826 echo $ECHO_N "(cached) $ECHO_C" >&6
29827else
29828 cat >conftest.$ac_ext <<_ACEOF
29829#line $LINENO "configure"
29830/* confdefs.h. */
29831_ACEOF
29832cat confdefs.h >>conftest.$ac_ext
29833cat >>conftest.$ac_ext <<_ACEOF
29834/* end confdefs.h. */
29835/* System header to define __stub macros and hopefully few prototypes,
29836 which can conflict with char pthread_attr_setschedparam (); below.
29837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29838 <limits.h> exists even on freestanding compilers. */
29839#ifdef __STDC__
29840# include <limits.h>
29841#else
29842# include <assert.h>
29843#endif
29844/* Override any gcc2 internal prototype to avoid an error. */
29845#ifdef __cplusplus
29846extern "C"
29847{
29848#endif
29849/* We use char because int might match the return type of a gcc2
29850 builtin and then its argument prototype would still apply. */
29851char pthread_attr_setschedparam ();
29852/* The GNU C library defines this for functions which it implements
29853 to always fail with ENOSYS. Some functions are actually named
29854 something starting with __ and the normal name is an alias. */
29855#if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29856choke me
29857#else
29858char (*f) () = pthread_attr_setschedparam;
29859#endif
29860#ifdef __cplusplus
29861}
29862#endif
29863
29864int
29865main ()
29866{
29867return f != pthread_attr_setschedparam;
29868 ;
29869 return 0;
29870}
29871_ACEOF
29872rm -f conftest.$ac_objext conftest$ac_exeext
29873if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29874 (eval $ac_link) 2>&5
29875 ac_status=$?
29876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29877 (exit $ac_status); } &&
29878 { ac_try='test -s conftest$ac_exeext'
29879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29880 (eval $ac_try) 2>&5
29881 ac_status=$?
29882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29883 (exit $ac_status); }; }; then
29884 ac_cv_func_pthread_attr_setschedparam=yes
29885else
29886 echo "$as_me: failed program was:" >&5
29887sed 's/^/| /' conftest.$ac_ext >&5
29888
29889ac_cv_func_pthread_attr_setschedparam=no
29890fi
29891rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29892fi
29893echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29894echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29895if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29896 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29897echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29898if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29899 echo $ECHO_N "(cached) $ECHO_C" >&6
29900else
29901 cat >conftest.$ac_ext <<_ACEOF
29902#line $LINENO "configure"
29903/* confdefs.h. */
29904_ACEOF
29905cat confdefs.h >>conftest.$ac_ext
29906cat >>conftest.$ac_ext <<_ACEOF
29907/* end confdefs.h. */
29908/* System header to define __stub macros and hopefully few prototypes,
29909 which can conflict with char sched_get_priority_max (); below.
29910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29911 <limits.h> exists even on freestanding compilers. */
29912#ifdef __STDC__
29913# include <limits.h>
29914#else
29915# include <assert.h>
29916#endif
29917/* Override any gcc2 internal prototype to avoid an error. */
29918#ifdef __cplusplus
29919extern "C"
29920{
29921#endif
29922/* We use char because int might match the return type of a gcc2
29923 builtin and then its argument prototype would still apply. */
29924char sched_get_priority_max ();
29925/* The GNU C library defines this for functions which it implements
29926 to always fail with ENOSYS. Some functions are actually named
29927 something starting with __ and the normal name is an alias. */
29928#if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29929choke me
29930#else
29931char (*f) () = sched_get_priority_max;
29932#endif
29933#ifdef __cplusplus
29934}
29935#endif
29936
29937int
29938main ()
29939{
29940return f != sched_get_priority_max;
29941 ;
29942 return 0;
29943}
29944_ACEOF
29945rm -f conftest.$ac_objext conftest$ac_exeext
29946if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29947 (eval $ac_link) 2>&5
29948 ac_status=$?
29949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29950 (exit $ac_status); } &&
29951 { ac_try='test -s conftest$ac_exeext'
29952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29953 (eval $ac_try) 2>&5
29954 ac_status=$?
29955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29956 (exit $ac_status); }; }; then
29957 ac_cv_func_sched_get_priority_max=yes
29958else
29959 echo "$as_me: failed program was:" >&5
29960sed 's/^/| /' conftest.$ac_ext >&5
29961
29962ac_cv_func_sched_get_priority_max=no
29963fi
29964rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29965fi
29966echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29967echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29968if test $ac_cv_func_sched_get_priority_max = yes; then
29969 HAVE_PRIOR_FUNCS=1
29970else
29971 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29972echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29973if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29974 echo $ECHO_N "(cached) $ECHO_C" >&6
29975else
29976 ac_check_lib_save_LIBS=$LIBS
29977LIBS="-lposix4 $LIBS"
29978cat >conftest.$ac_ext <<_ACEOF
29979#line $LINENO "configure"
29980/* confdefs.h. */
29981_ACEOF
29982cat confdefs.h >>conftest.$ac_ext
29983cat >>conftest.$ac_ext <<_ACEOF
29984/* end confdefs.h. */
29985
29986/* Override any gcc2 internal prototype to avoid an error. */
29987#ifdef __cplusplus
29988extern "C"
29989#endif
29990/* We use char because int might match the return type of a gcc2
29991 builtin and then its argument prototype would still apply. */
29992char sched_get_priority_max ();
29993int
29994main ()
29995{
29996sched_get_priority_max ();
29997 ;
29998 return 0;
29999}
30000_ACEOF
30001rm -f conftest.$ac_objext conftest$ac_exeext
30002if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30003 (eval $ac_link) 2>&5
30004 ac_status=$?
30005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30006 (exit $ac_status); } &&
30007 { ac_try='test -s conftest$ac_exeext'
30008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30009 (eval $ac_try) 2>&5
30010 ac_status=$?
30011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30012 (exit $ac_status); }; }; then
30013 ac_cv_lib_posix4_sched_get_priority_max=yes
30014else
30015 echo "$as_me: failed program was:" >&5
30016sed 's/^/| /' conftest.$ac_ext >&5
30017
30018ac_cv_lib_posix4_sched_get_priority_max=no
30019fi
30020rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30021LIBS=$ac_check_lib_save_LIBS
30022fi
30023echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
30024echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
30025if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
30026
30027 HAVE_PRIOR_FUNCS=1
30028 POSIX4_LINK=" -lposix4"
30029
30030fi
30031
30032
30033fi
30034
30035
30036fi
30037
30038
30039fi
30040
30041
30042 if test "$HAVE_PRIOR_FUNCS" = 1; then
30043 cat >>confdefs.h <<\_ACEOF
30044#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
30045_ACEOF
30046
30047 else
30048 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
30049echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
30050 fi
30051
30052 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
30053echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
30054if test "${ac_cv_func_pthread_cancel+set}" = set; then
30055 echo $ECHO_N "(cached) $ECHO_C" >&6
30056else
30057 cat >conftest.$ac_ext <<_ACEOF
30058#line $LINENO "configure"
30059/* confdefs.h. */
30060_ACEOF
30061cat confdefs.h >>conftest.$ac_ext
30062cat >>conftest.$ac_ext <<_ACEOF
30063/* end confdefs.h. */
30064/* System header to define __stub macros and hopefully few prototypes,
30065 which can conflict with char pthread_cancel (); below.
30066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30067 <limits.h> exists even on freestanding compilers. */
30068#ifdef __STDC__
30069# include <limits.h>
30070#else
30071# include <assert.h>
30072#endif
30073/* Override any gcc2 internal prototype to avoid an error. */
30074#ifdef __cplusplus
30075extern "C"
30076{
30077#endif
30078/* We use char because int might match the return type of a gcc2
30079 builtin and then its argument prototype would still apply. */
30080char pthread_cancel ();
30081/* The GNU C library defines this for functions which it implements
30082 to always fail with ENOSYS. Some functions are actually named
30083 something starting with __ and the normal name is an alias. */
30084#if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
30085choke me
30086#else
30087char (*f) () = pthread_cancel;
30088#endif
30089#ifdef __cplusplus
30090}
30091#endif
30092
30093int
30094main ()
30095{
30096return f != pthread_cancel;
30097 ;
30098 return 0;
30099}
30100_ACEOF
30101rm -f conftest.$ac_objext conftest$ac_exeext
30102if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30103 (eval $ac_link) 2>&5
30104 ac_status=$?
30105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30106 (exit $ac_status); } &&
30107 { ac_try='test -s conftest$ac_exeext'
30108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30109 (eval $ac_try) 2>&5
30110 ac_status=$?
30111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30112 (exit $ac_status); }; }; then
30113 ac_cv_func_pthread_cancel=yes
30114else
30115 echo "$as_me: failed program was:" >&5
30116sed 's/^/| /' conftest.$ac_ext >&5
30117
30118ac_cv_func_pthread_cancel=no
30119fi
30120rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30121fi
30122echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
30123echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
30124if test $ac_cv_func_pthread_cancel = yes; then
30125 cat >>confdefs.h <<\_ACEOF
30126#define HAVE_PTHREAD_CANCEL 1
30127_ACEOF
30128
30129else
30130 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
30131echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
30132fi
30133
30134
30135
30136
30137 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
30138echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
30139if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
30140 echo $ECHO_N "(cached) $ECHO_C" >&6
30141else
30142
30143 cat >conftest.$ac_ext <<_ACEOF
30144#line $LINENO "configure"
30145/* confdefs.h. */
30146_ACEOF
30147cat confdefs.h >>conftest.$ac_ext
30148cat >>conftest.$ac_ext <<_ACEOF
30149/* end confdefs.h. */
30150#include <pthread.h>
30151int
30152main ()
30153{
30154
30155 pthread_mutexattr_t attr;
30156 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
30157
30158 ;
30159 return 0;
30160}
30161_ACEOF
30162rm -f conftest.$ac_objext
30163if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30164 (eval $ac_compile) 2>&5
30165 ac_status=$?
30166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30167 (exit $ac_status); } &&
30168 { ac_try='test -s conftest.$ac_objext'
30169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30170 (eval $ac_try) 2>&5
30171 ac_status=$?
30172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30173 (exit $ac_status); }; }; then
30174
30175 wx_cv_type_pthread_mutexattr_t=yes
30176
30177else
30178 echo "$as_me: failed program was:" >&5
30179sed 's/^/| /' conftest.$ac_ext >&5
30180
30181
30182 wx_cv_type_pthread_mutexattr_t=no
30183
30184
30185fi
30186rm -f conftest.$ac_objext conftest.$ac_ext
30187
30188fi
30189echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
30190echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
30191
30192 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
30193 cat >>confdefs.h <<\_ACEOF
30194#define HAVE_PTHREAD_MUTEXATTR_T 1
30195_ACEOF
30196
30197 else
30198 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
30199echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
30200if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
30201 echo $ECHO_N "(cached) $ECHO_C" >&6
30202else
30203
30204 cat >conftest.$ac_ext <<_ACEOF
30205#line $LINENO "configure"
30206/* confdefs.h. */
30207_ACEOF
30208cat confdefs.h >>conftest.$ac_ext
30209cat >>conftest.$ac_ext <<_ACEOF
30210/* end confdefs.h. */
30211#include <pthread.h>
30212int
30213main ()
30214{
30215
30216 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
30217
30218 ;
30219 return 0;
30220}
30221_ACEOF
30222rm -f conftest.$ac_objext
30223if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30224 (eval $ac_compile) 2>&5
30225 ac_status=$?
30226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30227 (exit $ac_status); } &&
30228 { ac_try='test -s conftest.$ac_objext'
30229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30230 (eval $ac_try) 2>&5
30231 ac_status=$?
30232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30233 (exit $ac_status); }; }; then
30234
30235 wx_cv_type_pthread_rec_mutex_init=yes
30236
30237else
30238 echo "$as_me: failed program was:" >&5
30239sed 's/^/| /' conftest.$ac_ext >&5
30240
30241
30242 wx_cv_type_pthread_rec_mutex_init=no
30243
30244
30245fi
30246rm -f conftest.$ac_objext conftest.$ac_ext
30247
30248fi
30249echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30250echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30251 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30252 cat >>confdefs.h <<\_ACEOF
30253#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30254_ACEOF
30255
30256 else
30257 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30258echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30259 fi
30260 fi
30261 fi
30262
30263else
30264 if test "$wxUSE_THREADS" = "yes" ; then
30265 case "${host}" in
30266 *-*-mingw32* )
30267 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30268echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30269if test "${wx_cv_cflags_mthread+set}" = set; then
30270 echo $ECHO_N "(cached) $ECHO_C" >&6
30271else
30272
30273 CFLAGS_OLD="$CFLAGS"
30274 CFLAGS="$CFLAGS -mthreads"
30275 cat >conftest.$ac_ext <<_ACEOF
30276#line $LINENO "configure"
30277/* confdefs.h. */
30278_ACEOF
30279cat confdefs.h >>conftest.$ac_ext
30280cat >>conftest.$ac_ext <<_ACEOF
30281/* end confdefs.h. */
30282
30283int
30284main ()
30285{
30286
30287 ;
30288 return 0;
30289}
30290_ACEOF
30291rm -f conftest.$ac_objext
30292if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30293 (eval $ac_compile) 2>&5
30294 ac_status=$?
30295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30296 (exit $ac_status); } &&
30297 { ac_try='test -s conftest.$ac_objext'
30298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30299 (eval $ac_try) 2>&5
30300 ac_status=$?
30301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30302 (exit $ac_status); }; }; then
30303 wx_cv_cflags_mthread=yes
30304else
30305 echo "$as_me: failed program was:" >&5
30306sed 's/^/| /' conftest.$ac_ext >&5
30307
30308wx_cv_cflags_mthread=no
30309
30310fi
30311rm -f conftest.$ac_objext conftest.$ac_ext
30312
30313
30314fi
30315echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30316echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30317
30318 if test "$wx_cv_cflags_mthread" = "yes"; then
30319 CXXFLAGS="$CXXFLAGS -mthreads"
30320 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
30321 LDFLAGS="$LDFLAGS -mthreads"
30322 else
30323 CFLAGS="$CFLAGS_OLD"
30324 fi
30325 ;;
30326 *-pc-os2*emx )
30327 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
30328 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
30329 LDFLAGS="$LDFLAGS -Zmt"
30330 ;;
30331 esac
30332 fi
30333fi
30334
30335if test "$wxUSE_THREADS" = "yes"; then
30336 cat >>confdefs.h <<\_ACEOF
30337#define wxUSE_THREADS 1
30338_ACEOF
30339
30340
30341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
30342else
30343 if test "$ac_cv_func_strtok_r" = "yes"; then
30344 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30345echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30346 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30347 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
30348 echo "$as_me:$LINENO: result: yes" >&5
30349echo "${ECHO_T}yes" >&6
30350 else
30351 echo "$as_me:$LINENO: result: no" >&5
30352echo "${ECHO_T}no" >&6
30353 fi
30354 fi
30355fi
30356
30357if test "$WXGTK20" = 1 ; then
30358 cat >>confdefs.h <<_ACEOF
30359#define __WXGTK20__ $WXGTK20
30360_ACEOF
30361
30362 WXGTK12=1
30363fi
30364
30365if test "$WXGTK12" = 1 ; then
30366 cat >>confdefs.h <<_ACEOF
30367#define __WXGTK12__ $WXGTK12
30368_ACEOF
30369
30370fi
30371
30372if test "$WXGTK127" = 1 ; then
30373 cat >>confdefs.h <<_ACEOF
30374#define __WXGTK127__ $WXGTK127
30375_ACEOF
30376
30377fi
30378
30379WXDEBUG=
30380
30381if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30382 WXDEBUG="-g"
30383 wxUSE_OPTIMISE=no
30384fi
30385
30386if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30387 wxUSE_DEBUG_INFO=yes
30388 WXDEBUG="-ggdb"
30389fi
30390
30391if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30392 cat >>confdefs.h <<\_ACEOF
30393#define WXDEBUG 1
30394_ACEOF
30395
30396 WXDEBUG_DEFINE="-D__WXDEBUG__"
30397else
30398 if test "$wxUSE_GTK" = 1 ; then
30399 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
30400 fi
30401fi
30402
30403if test "$wxUSE_MEM_TRACING" = "yes" ; then
30404 cat >>confdefs.h <<\_ACEOF
30405#define wxUSE_MEMORY_TRACING 1
30406_ACEOF
30407
30408 cat >>confdefs.h <<\_ACEOF
30409#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30410_ACEOF
30411
30412 cat >>confdefs.h <<\_ACEOF
30413#define wxUSE_DEBUG_NEW_ALWAYS 1
30414_ACEOF
30415
30416 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
30417fi
30418
30419if test "$wxUSE_DMALLOC" = "yes" ; then
30420 DMALLOC_LIBS="-ldmalloc"
30421fi
30422
30423PROFILE=
30424if test "$wxUSE_PROFILE" = "yes" ; then
30425 PROFILE=" -pg"
30426fi
30427
30428CODE_GEN_FLAGS=
30429CODE_GEN_FLAGS_CXX=
30430if test "$GCC" = "yes" ; then
30431 if test "$wxUSE_NO_RTTI" = "yes" ; then
30432 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
30433 fi
30434 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30435 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30436 fi
30437 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30438 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
30439 fi
30440
30441 case "${host}" in
30442 powerpc*-*-aix* )
30443 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
30444 ;;
30445 *-hppa* )
30446 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
30447 ;;
30448 esac
30449fi
30450
30451OPTIMISE=
30452if test "$wxUSE_OPTIMISE" = "no" ; then
30453 if test "$GCC" = yes ; then
30454 OPTIMISE="-O0"
30455 fi
30456else
30457 if test "$GCC" = yes ; then
30458 OPTIMISE="-O2"
30459
30460 case "${host}" in
30461 i586-*-*|i686-*-* )
30462 OPTIMISE="${OPTIMISE} "
30463 ;;
30464 esac
30465 else
30466 OPTIMISE="-O"
30467 fi
30468fi
30469
30470
30471if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30472 cat >>confdefs.h <<\_ACEOF
30473#define WXWIN_COMPATIBILITY_2_2 1
30474_ACEOF
30475
30476
30477 WXWIN_COMPATIBILITY_2_4="yes"
30478fi
30479
30480if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30481 cat >>confdefs.h <<\_ACEOF
30482#define WXWIN_COMPATIBILITY_2_4 1
30483_ACEOF
30484
30485fi
30486
30487
30488if test "$wxUSE_GUI" = "yes"; then
30489 cat >>confdefs.h <<\_ACEOF
30490#define wxUSE_GUI 1
30491_ACEOF
30492
30493
30494 else
30495 cat >>confdefs.h <<\_ACEOF
30496#define wxUSE_NOGUI 1
30497_ACEOF
30498
30499fi
30500
30501
30502if test "$wxUSE_UNIX" = "yes"; then
30503 cat >>confdefs.h <<\_ACEOF
30504#define wxUSE_UNIX 1
30505_ACEOF
30506
30507fi
30508
30509
30510if test "$wxUSE_STL" = "yes"; then
30511 cat >>confdefs.h <<\_ACEOF
30512#define wxUSE_STL 1
30513_ACEOF
30514
30515fi
30516
30517if test "$wxUSE_APPLE_IEEE" = "yes"; then
30518 cat >>confdefs.h <<\_ACEOF
30519#define wxUSE_APPLE_IEEE 1
30520_ACEOF
30521
30522fi
30523
30524if test "$wxUSE_TIMER" = "yes"; then
30525 cat >>confdefs.h <<\_ACEOF
30526#define wxUSE_TIMER 1
30527_ACEOF
30528
30529fi
30530
30531if test "$wxUSE_WAVE" = "yes"; then
30532 cat >>confdefs.h <<\_ACEOF
30533#define wxUSE_WAVE 1
30534_ACEOF
30535
30536fi
30537
30538if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30539 cat >>confdefs.h <<\_ACEOF
30540#define wxUSE_CMDLINE_PARSER 1
30541_ACEOF
30542
30543fi
30544
30545if test "$wxUSE_STOPWATCH" = "yes"; then
30546 cat >>confdefs.h <<\_ACEOF
30547#define wxUSE_STOPWATCH 1
30548_ACEOF
30549
30550fi
30551
30552if test "$wxUSE_DATETIME" = "yes"; then
30553 cat >>confdefs.h <<\_ACEOF
30554#define wxUSE_DATETIME 1
30555_ACEOF
30556
30557fi
30558
30559if test "$wxUSE_FILE" = "yes"; then
30560 cat >>confdefs.h <<\_ACEOF
30561#define wxUSE_FILE 1
30562_ACEOF
30563
30564fi
30565
30566if test "$wxUSE_FFILE" = "yes"; then
30567 cat >>confdefs.h <<\_ACEOF
30568#define wxUSE_FFILE 1
30569_ACEOF
30570
30571fi
30572
30573if test "$wxUSE_FILESYSTEM" = "yes"; then
30574 cat >>confdefs.h <<\_ACEOF
30575#define wxUSE_FILESYSTEM 1
30576_ACEOF
30577
30578fi
30579
30580if test "$wxUSE_FS_ZIP" = "yes"; then
30581 cat >>confdefs.h <<\_ACEOF
30582#define wxUSE_FS_ZIP 1
30583_ACEOF
30584
30585fi
30586
30587if test "$wxUSE_ZIPSTREAM" = "yes"; then
30588 cat >>confdefs.h <<\_ACEOF
30589#define wxUSE_ZIPSTREAM 1
30590_ACEOF
30591
30592fi
30593
30594if test "$wxUSE_GZSTREAM" = "yes"; then
30595 cat >>confdefs.h <<\_ACEOF
30596#define wxUSE_GZSTREAM 1
30597_ACEOF
30598
30599fi
30600
30601if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30602 cat >>confdefs.h <<\_ACEOF
30603#define wxUSE_ON_FATAL_EXCEPTION 1
30604_ACEOF
30605
30606fi
30607
30608if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30609 cat >>confdefs.h <<\_ACEOF
30610#define wxUSE_SNGLINST_CHECKER 1
30611_ACEOF
30612
30613fi
30614
30615if test "$wxUSE_BUSYINFO" = "yes"; then
30616 cat >>confdefs.h <<\_ACEOF
30617#define wxUSE_BUSYINFO 1
30618_ACEOF
30619
30620fi
30621
30622if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30623 cat >>confdefs.h <<\_ACEOF
30624#define wxUSE_STD_IOSTREAM 1
30625_ACEOF
30626
30627fi
30628
30629if test "$wxUSE_TEXTBUFFER" = "yes"; then
30630 cat >>confdefs.h <<\_ACEOF
30631#define wxUSE_TEXTBUFFER 1
30632_ACEOF
30633
30634fi
30635
30636if test "$wxUSE_TEXTFILE" = "yes"; then
30637 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30638 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30639echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30640 else
30641 cat >>confdefs.h <<\_ACEOF
30642#define wxUSE_TEXTFILE 1
30643_ACEOF
30644
30645 fi
30646fi
30647
30648if test "$wxUSE_CONFIG" = "yes" ; then
30649 if test "$wxUSE_TEXTFILE" != "yes"; then
30650 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30651echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30652 else
30653 cat >>confdefs.h <<\_ACEOF
30654#define wxUSE_CONFIG 1
30655_ACEOF
30656
30657 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30658 fi
30659fi
30660
30661if test "$wxUSE_INTL" = "yes" ; then
30662 if test "$wxUSE_FILE" != "yes"; then
30663 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30664echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30665 else
30666 cat >>confdefs.h <<\_ACEOF
30667#define wxUSE_INTL 1
30668_ACEOF
30669
30670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30671 GUIDIST="$GUIDIST INTL_DIST"
30672 fi
30673fi
30674
30675if test "$wxUSE_LOG" = "yes"; then
30676 cat >>confdefs.h <<\_ACEOF
30677#define wxUSE_LOG 1
30678_ACEOF
30679
30680
30681 if test "$wxUSE_LOGGUI" = "yes"; then
30682 cat >>confdefs.h <<\_ACEOF
30683#define wxUSE_LOGGUI 1
30684_ACEOF
30685
30686 fi
30687
30688 if test "$wxUSE_LOGWINDOW" = "yes"; then
30689 cat >>confdefs.h <<\_ACEOF
30690#define wxUSE_LOGWINDOW 1
30691_ACEOF
30692
30693 fi
30694
30695 if test "$wxUSE_LOGDIALOG" = "yes"; then
30696 cat >>confdefs.h <<\_ACEOF
30697#define wxUSE_LOG_DIALOG 1
30698_ACEOF
30699
30700 fi
30701fi
30702
30703if test "$wxUSE_LONGLONG" = "yes"; then
30704 cat >>confdefs.h <<\_ACEOF
30705#define wxUSE_LONGLONG 1
30706_ACEOF
30707
30708fi
30709
30710if test "$wxUSE_GEOMETRY" = "yes"; then
30711 cat >>confdefs.h <<\_ACEOF
30712#define wxUSE_GEOMETRY 1
30713_ACEOF
30714
30715fi
30716
30717if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30718 cat >>confdefs.h <<\_ACEOF
30719#define wxUSE_DIALUP_MANAGER 1
30720_ACEOF
30721
30722 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30723fi
30724
30725if test "$wxUSE_STREAMS" = "yes" ; then
30726 cat >>confdefs.h <<\_ACEOF
30727#define wxUSE_STREAMS 1
30728_ACEOF
30729
30730fi
30731
30732
30733if test "$wxUSE_DATETIME" = "yes"; then
30734
30735for ac_func in strptime
30736do
30737as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30738echo "$as_me:$LINENO: checking for $ac_func" >&5
30739echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30740if eval "test \"\${$as_ac_var+set}\" = set"; then
30741 echo $ECHO_N "(cached) $ECHO_C" >&6
30742else
30743 cat >conftest.$ac_ext <<_ACEOF
30744#line $LINENO "configure"
30745/* confdefs.h. */
30746_ACEOF
30747cat confdefs.h >>conftest.$ac_ext
30748cat >>conftest.$ac_ext <<_ACEOF
30749/* end confdefs.h. */
30750/* System header to define __stub macros and hopefully few prototypes,
30751 which can conflict with char $ac_func (); below.
30752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30753 <limits.h> exists even on freestanding compilers. */
30754#ifdef __STDC__
30755# include <limits.h>
30756#else
30757# include <assert.h>
30758#endif
30759/* Override any gcc2 internal prototype to avoid an error. */
30760#ifdef __cplusplus
30761extern "C"
30762{
30763#endif
30764/* We use char because int might match the return type of a gcc2
30765 builtin and then its argument prototype would still apply. */
30766char $ac_func ();
30767/* The GNU C library defines this for functions which it implements
30768 to always fail with ENOSYS. Some functions are actually named
30769 something starting with __ and the normal name is an alias. */
30770#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30771choke me
30772#else
30773char (*f) () = $ac_func;
30774#endif
30775#ifdef __cplusplus
30776}
30777#endif
30778
30779int
30780main ()
30781{
30782return f != $ac_func;
30783 ;
30784 return 0;
30785}
30786_ACEOF
30787rm -f conftest.$ac_objext conftest$ac_exeext
30788if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30789 (eval $ac_link) 2>&5
30790 ac_status=$?
30791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30792 (exit $ac_status); } &&
30793 { ac_try='test -s conftest$ac_exeext'
30794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30795 (eval $ac_try) 2>&5
30796 ac_status=$?
30797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30798 (exit $ac_status); }; }; then
30799 eval "$as_ac_var=yes"
30800else
30801 echo "$as_me: failed program was:" >&5
30802sed 's/^/| /' conftest.$ac_ext >&5
30803
30804eval "$as_ac_var=no"
30805fi
30806rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30807fi
30808echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30809echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30810if test `eval echo '${'$as_ac_var'}'` = yes; then
30811 cat >>confdefs.h <<_ACEOF
30812#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30813_ACEOF
30814
30815fi
30816done
30817
30818
30819 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30820echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30821if test "${wx_cv_var_timezone+set}" = set; then
30822 echo $ECHO_N "(cached) $ECHO_C" >&6
30823else
30824
30825 cat >conftest.$ac_ext <<_ACEOF
30826#line $LINENO "configure"
30827/* confdefs.h. */
30828_ACEOF
30829cat confdefs.h >>conftest.$ac_ext
30830cat >>conftest.$ac_ext <<_ACEOF
30831/* end confdefs.h. */
30832
30833 #include <time.h>
30834
30835int
30836main ()
30837{
30838
30839 int tz;
30840 tz = timezone;
30841
30842 ;
30843 return 0;
30844}
30845_ACEOF
30846rm -f conftest.$ac_objext
30847if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30848 (eval $ac_compile) 2>&5
30849 ac_status=$?
30850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30851 (exit $ac_status); } &&
30852 { ac_try='test -s conftest.$ac_objext'
30853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30854 (eval $ac_try) 2>&5
30855 ac_status=$?
30856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30857 (exit $ac_status); }; }; then
30858
30859 wx_cv_var_timezone=timezone
30860
30861else
30862 echo "$as_me: failed program was:" >&5
30863sed 's/^/| /' conftest.$ac_ext >&5
30864
30865
30866 cat >conftest.$ac_ext <<_ACEOF
30867#line $LINENO "configure"
30868/* confdefs.h. */
30869_ACEOF
30870cat confdefs.h >>conftest.$ac_ext
30871cat >>conftest.$ac_ext <<_ACEOF
30872/* end confdefs.h. */
30873
30874 #include <time.h>
30875
30876int
30877main ()
30878{
30879
30880 int tz;
30881 tz = _timezone;
30882
30883 ;
30884 return 0;
30885}
30886_ACEOF
30887rm -f conftest.$ac_objext
30888if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30889 (eval $ac_compile) 2>&5
30890 ac_status=$?
30891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30892 (exit $ac_status); } &&
30893 { ac_try='test -s conftest.$ac_objext'
30894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30895 (eval $ac_try) 2>&5
30896 ac_status=$?
30897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30898 (exit $ac_status); }; }; then
30899
30900 wx_cv_var_timezone=_timezone
30901
30902else
30903 echo "$as_me: failed program was:" >&5
30904sed 's/^/| /' conftest.$ac_ext >&5
30905
30906
30907 cat >conftest.$ac_ext <<_ACEOF
30908#line $LINENO "configure"
30909/* confdefs.h. */
30910_ACEOF
30911cat confdefs.h >>conftest.$ac_ext
30912cat >>conftest.$ac_ext <<_ACEOF
30913/* end confdefs.h. */
30914
30915 #include <time.h>
30916
30917int
30918main ()
30919{
30920
30921 int tz;
30922 tz = __timezone;
30923
30924 ;
30925 return 0;
30926}
30927_ACEOF
30928rm -f conftest.$ac_objext
30929if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30930 (eval $ac_compile) 2>&5
30931 ac_status=$?
30932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30933 (exit $ac_status); } &&
30934 { ac_try='test -s conftest.$ac_objext'
30935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30936 (eval $ac_try) 2>&5
30937 ac_status=$?
30938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30939 (exit $ac_status); }; }; then
30940
30941 wx_cv_var_timezone=__timezone
30942
30943else
30944 echo "$as_me: failed program was:" >&5
30945sed 's/^/| /' conftest.$ac_ext >&5
30946
30947
30948 if test "$USE_DOS" = 0 ; then
30949 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30950echo "$as_me: WARNING: no timezone variable" >&2;}
30951 fi
30952
30953
30954fi
30955rm -f conftest.$ac_objext conftest.$ac_ext
30956
30957
30958fi
30959rm -f conftest.$ac_objext conftest.$ac_ext
30960
30961
30962fi
30963rm -f conftest.$ac_objext conftest.$ac_ext
30964
30965
30966fi
30967echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30968echo "${ECHO_T}$wx_cv_var_timezone" >&6
30969
30970 if test "x$wx_cv_var_timezone" != x ; then
30971 cat >>confdefs.h <<_ACEOF
30972#define WX_TIMEZONE $wx_cv_var_timezone
30973_ACEOF
30974
30975 fi
30976
30977
30978for ac_func in localtime
30979do
30980as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30981echo "$as_me:$LINENO: checking for $ac_func" >&5
30982echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30983if eval "test \"\${$as_ac_var+set}\" = set"; then
30984 echo $ECHO_N "(cached) $ECHO_C" >&6
30985else
30986 cat >conftest.$ac_ext <<_ACEOF
30987#line $LINENO "configure"
30988/* confdefs.h. */
30989_ACEOF
30990cat confdefs.h >>conftest.$ac_ext
30991cat >>conftest.$ac_ext <<_ACEOF
30992/* end confdefs.h. */
30993/* System header to define __stub macros and hopefully few prototypes,
30994 which can conflict with char $ac_func (); below.
30995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30996 <limits.h> exists even on freestanding compilers. */
30997#ifdef __STDC__
30998# include <limits.h>
30999#else
31000# include <assert.h>
31001#endif
31002/* Override any gcc2 internal prototype to avoid an error. */
31003#ifdef __cplusplus
31004extern "C"
31005{
31006#endif
31007/* We use char because int might match the return type of a gcc2
31008 builtin and then its argument prototype would still apply. */
31009char $ac_func ();
31010/* The GNU C library defines this for functions which it implements
31011 to always fail with ENOSYS. Some functions are actually named
31012 something starting with __ and the normal name is an alias. */
31013#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31014choke me
31015#else
31016char (*f) () = $ac_func;
31017#endif
31018#ifdef __cplusplus
31019}
31020#endif
31021
31022int
31023main ()
31024{
31025return f != $ac_func;
31026 ;
31027 return 0;
31028}
31029_ACEOF
31030rm -f conftest.$ac_objext conftest$ac_exeext
31031if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31032 (eval $ac_link) 2>&5
31033 ac_status=$?
31034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31035 (exit $ac_status); } &&
31036 { ac_try='test -s conftest$ac_exeext'
31037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31038 (eval $ac_try) 2>&5
31039 ac_status=$?
31040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31041 (exit $ac_status); }; }; then
31042 eval "$as_ac_var=yes"
31043else
31044 echo "$as_me: failed program was:" >&5
31045sed 's/^/| /' conftest.$ac_ext >&5
31046
31047eval "$as_ac_var=no"
31048fi
31049rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31050fi
31051echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31052echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31053if test `eval echo '${'$as_ac_var'}'` = yes; then
31054 cat >>confdefs.h <<_ACEOF
31055#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31056_ACEOF
31057
31058fi
31059done
31060
31061
31062 if test "$ac_cv_func_localtime" = "yes"; then
31063 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
31064echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
31065if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
31066 echo $ECHO_N "(cached) $ECHO_C" >&6
31067else
31068
31069 cat >conftest.$ac_ext <<_ACEOF
31070#line $LINENO "configure"
31071/* confdefs.h. */
31072_ACEOF
31073cat confdefs.h >>conftest.$ac_ext
31074cat >>conftest.$ac_ext <<_ACEOF
31075/* end confdefs.h. */
31076
31077 #include <time.h>
31078
31079int
31080main ()
31081{
31082
31083 struct tm tm;
31084 tm.tm_gmtoff++;
31085
31086 ;
31087 return 0;
31088}
31089_ACEOF
31090rm -f conftest.$ac_objext
31091if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31092 (eval $ac_compile) 2>&5
31093 ac_status=$?
31094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31095 (exit $ac_status); } &&
31096 { ac_try='test -s conftest.$ac_objext'
31097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31098 (eval $ac_try) 2>&5
31099 ac_status=$?
31100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31101 (exit $ac_status); }; }; then
31102
31103 wx_cv_struct_tm_has_gmtoff=yes
31104
31105else
31106 echo "$as_me: failed program was:" >&5
31107sed 's/^/| /' conftest.$ac_ext >&5
31108
31109wx_cv_struct_tm_has_gmtoff=no
31110
31111fi
31112rm -f conftest.$ac_objext conftest.$ac_ext
31113
31114fi
31115echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
31116echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
31117 fi
31118
31119 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
31120 cat >>confdefs.h <<\_ACEOF
31121#define WX_GMTOFF_IN_TM 1
31122_ACEOF
31123
31124 fi
31125
31126
31127
31128for ac_func in gettimeofday ftime
31129do
31130as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31131echo "$as_me:$LINENO: checking for $ac_func" >&5
31132echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31133if eval "test \"\${$as_ac_var+set}\" = set"; then
31134 echo $ECHO_N "(cached) $ECHO_C" >&6
31135else
31136 cat >conftest.$ac_ext <<_ACEOF
31137#line $LINENO "configure"
31138/* confdefs.h. */
31139_ACEOF
31140cat confdefs.h >>conftest.$ac_ext
31141cat >>conftest.$ac_ext <<_ACEOF
31142/* end confdefs.h. */
31143/* System header to define __stub macros and hopefully few prototypes,
31144 which can conflict with char $ac_func (); below.
31145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31146 <limits.h> exists even on freestanding compilers. */
31147#ifdef __STDC__
31148# include <limits.h>
31149#else
31150# include <assert.h>
31151#endif
31152/* Override any gcc2 internal prototype to avoid an error. */
31153#ifdef __cplusplus
31154extern "C"
31155{
31156#endif
31157/* We use char because int might match the return type of a gcc2
31158 builtin and then its argument prototype would still apply. */
31159char $ac_func ();
31160/* The GNU C library defines this for functions which it implements
31161 to always fail with ENOSYS. Some functions are actually named
31162 something starting with __ and the normal name is an alias. */
31163#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31164choke me
31165#else
31166char (*f) () = $ac_func;
31167#endif
31168#ifdef __cplusplus
31169}
31170#endif
31171
31172int
31173main ()
31174{
31175return f != $ac_func;
31176 ;
31177 return 0;
31178}
31179_ACEOF
31180rm -f conftest.$ac_objext conftest$ac_exeext
31181if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31182 (eval $ac_link) 2>&5
31183 ac_status=$?
31184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31185 (exit $ac_status); } &&
31186 { ac_try='test -s conftest$ac_exeext'
31187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31188 (eval $ac_try) 2>&5
31189 ac_status=$?
31190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31191 (exit $ac_status); }; }; then
31192 eval "$as_ac_var=yes"
31193else
31194 echo "$as_me: failed program was:" >&5
31195sed 's/^/| /' conftest.$ac_ext >&5
31196
31197eval "$as_ac_var=no"
31198fi
31199rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31200fi
31201echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31202echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31203if test `eval echo '${'$as_ac_var'}'` = yes; then
31204 cat >>confdefs.h <<_ACEOF
31205#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31206_ACEOF
31207 break
31208fi
31209done
31210
31211
31212 if test "$ac_cv_func_gettimeofday" = "yes"; then
31213 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
31214echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
31215if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
31216 echo $ECHO_N "(cached) $ECHO_C" >&6
31217else
31218
31219
31220
31221 ac_ext=cc
31222ac_cpp='$CXXCPP $CPPFLAGS'
31223ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31224ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31225ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31226
31227
31228 cat >conftest.$ac_ext <<_ACEOF
31229#line $LINENO "configure"
31230/* confdefs.h. */
31231_ACEOF
31232cat confdefs.h >>conftest.$ac_ext
31233cat >>conftest.$ac_ext <<_ACEOF
31234/* end confdefs.h. */
31235
31236 #include <sys/time.h>
31237 #include <unistd.h>
31238
31239int
31240main ()
31241{
31242
31243 struct timeval tv;
31244 gettimeofday(&tv, NULL);
31245
31246 ;
31247 return 0;
31248}
31249_ACEOF
31250rm -f conftest.$ac_objext
31251if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31252 (eval $ac_compile) 2>&5
31253 ac_status=$?
31254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31255 (exit $ac_status); } &&
31256 { ac_try='test -s conftest.$ac_objext'
31257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31258 (eval $ac_try) 2>&5
31259 ac_status=$?
31260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31261 (exit $ac_status); }; }; then
31262 wx_cv_func_gettimeofday_has_2_args=yes
31263else
31264 echo "$as_me: failed program was:" >&5
31265sed 's/^/| /' conftest.$ac_ext >&5
31266
31267cat >conftest.$ac_ext <<_ACEOF
31268#line $LINENO "configure"
31269/* confdefs.h. */
31270_ACEOF
31271cat confdefs.h >>conftest.$ac_ext
31272cat >>conftest.$ac_ext <<_ACEOF
31273/* end confdefs.h. */
31274
31275 #include <sys/time.h>
31276 #include <unistd.h>
31277
31278int
31279main ()
31280{
31281
31282 struct timeval tv;
31283 gettimeofday(&tv);
31284
31285 ;
31286 return 0;
31287}
31288_ACEOF
31289rm -f conftest.$ac_objext
31290if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31291 (eval $ac_compile) 2>&5
31292 ac_status=$?
31293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31294 (exit $ac_status); } &&
31295 { ac_try='test -s conftest.$ac_objext'
31296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31297 (eval $ac_try) 2>&5
31298 ac_status=$?
31299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31300 (exit $ac_status); }; }; then
31301 wx_cv_func_gettimeofday_has_2_args=no
31302else
31303 echo "$as_me: failed program was:" >&5
31304sed 's/^/| /' conftest.$ac_ext >&5
31305
31306
31307 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31308echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31309 wx_cv_func_gettimeofday_has_2_args=unknown
31310
31311
31312fi
31313rm -f conftest.$ac_objext conftest.$ac_ext
31314
31315fi
31316rm -f conftest.$ac_objext conftest.$ac_ext
31317 ac_ext=c
31318ac_cpp='$CPP $CPPFLAGS'
31319ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31320ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31321ac_compiler_gnu=$ac_cv_c_compiler_gnu
31322
31323
31324fi
31325echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31326echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31327
31328 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31329 cat >>confdefs.h <<\_ACEOF
31330#define WX_GETTIMEOFDAY_NO_TZ 1
31331_ACEOF
31332
31333 fi
31334 fi
31335
31336 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
31337fi
31338
31339
31340if test "$wxUSE_SOCKETS" = "yes"; then
31341 if test "$wxUSE_MGL" = "1"; then
31342 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31343echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31344 wxUSE_SOCKETS="no"
31345 fi
31346 if test "$wxUSE_COCOA" = "1"; then
31347 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
31348echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31349 wxUSE_SOCKETS="no"
31350 fi
31351fi
31352
31353if test "$wxUSE_SOCKETS" = "yes"; then
31354 if test "$TOOLKIT" != "MSW"; then
31355 echo "$as_me:$LINENO: checking for socket" >&5
31356echo $ECHO_N "checking for socket... $ECHO_C" >&6
31357if test "${ac_cv_func_socket+set}" = set; then
31358 echo $ECHO_N "(cached) $ECHO_C" >&6
31359else
31360 cat >conftest.$ac_ext <<_ACEOF
31361#line $LINENO "configure"
31362/* confdefs.h. */
31363_ACEOF
31364cat confdefs.h >>conftest.$ac_ext
31365cat >>conftest.$ac_ext <<_ACEOF
31366/* end confdefs.h. */
31367/* System header to define __stub macros and hopefully few prototypes,
31368 which can conflict with char socket (); below.
31369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31370 <limits.h> exists even on freestanding compilers. */
31371#ifdef __STDC__
31372# include <limits.h>
31373#else
31374# include <assert.h>
31375#endif
31376/* Override any gcc2 internal prototype to avoid an error. */
31377#ifdef __cplusplus
31378extern "C"
31379{
31380#endif
31381/* We use char because int might match the return type of a gcc2
31382 builtin and then its argument prototype would still apply. */
31383char socket ();
31384/* The GNU C library defines this for functions which it implements
31385 to always fail with ENOSYS. Some functions are actually named
31386 something starting with __ and the normal name is an alias. */
31387#if defined (__stub_socket) || defined (__stub___socket)
31388choke me
31389#else
31390char (*f) () = socket;
31391#endif
31392#ifdef __cplusplus
31393}
31394#endif
31395
31396int
31397main ()
31398{
31399return f != socket;
31400 ;
31401 return 0;
31402}
31403_ACEOF
31404rm -f conftest.$ac_objext conftest$ac_exeext
31405if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31406 (eval $ac_link) 2>&5
31407 ac_status=$?
31408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31409 (exit $ac_status); } &&
31410 { ac_try='test -s conftest$ac_exeext'
31411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31412 (eval $ac_try) 2>&5
31413 ac_status=$?
31414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31415 (exit $ac_status); }; }; then
31416 ac_cv_func_socket=yes
31417else
31418 echo "$as_me: failed program was:" >&5
31419sed 's/^/| /' conftest.$ac_ext >&5
31420
31421ac_cv_func_socket=no
31422fi
31423rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31424fi
31425echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31426echo "${ECHO_T}$ac_cv_func_socket" >&6
31427if test $ac_cv_func_socket = yes; then
31428 :
31429else
31430
31431 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31432echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31433if test "${ac_cv_lib_socket_socket+set}" = set; then
31434 echo $ECHO_N "(cached) $ECHO_C" >&6
31435else
31436 ac_check_lib_save_LIBS=$LIBS
31437LIBS="-lsocket $LIBS"
31438cat >conftest.$ac_ext <<_ACEOF
31439#line $LINENO "configure"
31440/* confdefs.h. */
31441_ACEOF
31442cat confdefs.h >>conftest.$ac_ext
31443cat >>conftest.$ac_ext <<_ACEOF
31444/* end confdefs.h. */
31445
31446/* Override any gcc2 internal prototype to avoid an error. */
31447#ifdef __cplusplus
31448extern "C"
31449#endif
31450/* We use char because int might match the return type of a gcc2
31451 builtin and then its argument prototype would still apply. */
31452char socket ();
31453int
31454main ()
31455{
31456socket ();
31457 ;
31458 return 0;
31459}
31460_ACEOF
31461rm -f conftest.$ac_objext conftest$ac_exeext
31462if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31463 (eval $ac_link) 2>&5
31464 ac_status=$?
31465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31466 (exit $ac_status); } &&
31467 { ac_try='test -s conftest$ac_exeext'
31468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31469 (eval $ac_try) 2>&5
31470 ac_status=$?
31471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31472 (exit $ac_status); }; }; then
31473 ac_cv_lib_socket_socket=yes
31474else
31475 echo "$as_me: failed program was:" >&5
31476sed 's/^/| /' conftest.$ac_ext >&5
31477
31478ac_cv_lib_socket_socket=no
31479fi
31480rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31481LIBS=$ac_check_lib_save_LIBS
31482fi
31483echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31484echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31485if test $ac_cv_lib_socket_socket = yes; then
31486 if test "$INET_LINK" != " -lsocket"; then
31487 INET_LINK="$INET_LINK -lsocket"
31488 fi
31489else
31490
31491 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31492echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31493 wxUSE_SOCKETS=no
31494
31495
31496fi
31497
31498
31499
31500fi
31501
31502 fi
31503fi
31504
31505if test "$wxUSE_SOCKETS" = "yes" ; then
31506 if test "$TOOLKIT" != "MSW"; then
31507 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31508echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31509if test "${wx_cv_type_getsockname3+set}" = set; then
31510 echo $ECHO_N "(cached) $ECHO_C" >&6
31511else
31512
31513 cat >conftest.$ac_ext <<_ACEOF
31514#line $LINENO "configure"
31515/* confdefs.h. */
31516_ACEOF
31517cat confdefs.h >>conftest.$ac_ext
31518cat >>conftest.$ac_ext <<_ACEOF
31519/* end confdefs.h. */
31520
31521 #include <sys/types.h>
31522 #include <sys/socket.h>
31523
31524int
31525main ()
31526{
31527
31528 socklen_t len;
31529 getsockname(0, 0, &len);
31530
31531 ;
31532 return 0;
31533}
31534_ACEOF
31535rm -f conftest.$ac_objext
31536if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31537 (eval $ac_compile) 2>&5
31538 ac_status=$?
31539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31540 (exit $ac_status); } &&
31541 { ac_try='test -s conftest.$ac_objext'
31542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31543 (eval $ac_try) 2>&5
31544 ac_status=$?
31545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31546 (exit $ac_status); }; }; then
31547 wx_cv_type_getsockname3=socklen_t
31548else
31549 echo "$as_me: failed program was:" >&5
31550sed 's/^/| /' conftest.$ac_ext >&5
31551
31552
31553 CFLAGS_OLD="$CFLAGS"
31554 if test "$GCC" = yes ; then
31555 CFLAGS="$CFLAGS -Werror"
31556 fi
31557
31558 cat >conftest.$ac_ext <<_ACEOF
31559#line $LINENO "configure"
31560/* confdefs.h. */
31561_ACEOF
31562cat confdefs.h >>conftest.$ac_ext
31563cat >>conftest.$ac_ext <<_ACEOF
31564/* end confdefs.h. */
31565
31566 #include <sys/types.h>
31567 #include <sys/socket.h>
31568
31569int
31570main ()
31571{
31572
31573 size_t len;
31574 getsockname(0, 0, &len);
31575
31576 ;
31577 return 0;
31578}
31579_ACEOF
31580rm -f conftest.$ac_objext
31581if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31582 (eval $ac_compile) 2>&5
31583 ac_status=$?
31584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31585 (exit $ac_status); } &&
31586 { ac_try='test -s conftest.$ac_objext'
31587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31588 (eval $ac_try) 2>&5
31589 ac_status=$?
31590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31591 (exit $ac_status); }; }; then
31592 wx_cv_type_getsockname3=size_t
31593else
31594 echo "$as_me: failed program was:" >&5
31595sed 's/^/| /' conftest.$ac_ext >&5
31596
31597cat >conftest.$ac_ext <<_ACEOF
31598#line $LINENO "configure"
31599/* confdefs.h. */
31600_ACEOF
31601cat confdefs.h >>conftest.$ac_ext
31602cat >>conftest.$ac_ext <<_ACEOF
31603/* end confdefs.h. */
31604
31605 #include <sys/types.h>
31606 #include <sys/socket.h>
31607
31608int
31609main ()
31610{
31611
31612 int len;
31613 getsockname(0, 0, &len);
31614
31615 ;
31616 return 0;
31617}
31618_ACEOF
31619rm -f conftest.$ac_objext
31620if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31621 (eval $ac_compile) 2>&5
31622 ac_status=$?
31623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31624 (exit $ac_status); } &&
31625 { ac_try='test -s conftest.$ac_objext'
31626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31627 (eval $ac_try) 2>&5
31628 ac_status=$?
31629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630 (exit $ac_status); }; }; then
31631 wx_cv_type_getsockname3=int
31632else
31633 echo "$as_me: failed program was:" >&5
31634sed 's/^/| /' conftest.$ac_ext >&5
31635
31636wx_cv_type_getsockname3=unknown
31637
31638fi
31639rm -f conftest.$ac_objext conftest.$ac_ext
31640
31641fi
31642rm -f conftest.$ac_objext conftest.$ac_ext
31643
31644 CFLAGS="$CFLAGS_OLD"
31645
31646
31647fi
31648rm -f conftest.$ac_objext conftest.$ac_ext
31649
31650fi
31651echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31652echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31653
31654 if test "$wx_cv_type_getsockname3" = "unknown"; then
31655 wxUSE_SOCKETS=no
31656 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31657echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31658 else
31659 cat >>confdefs.h <<_ACEOF
31660#define SOCKLEN_T $wx_cv_type_getsockname3
31661_ACEOF
31662
31663 fi
31664 fi
31665fi
31666
31667if test "$wxUSE_SOCKETS" = "yes" ; then
31668 cat >>confdefs.h <<\_ACEOF
31669#define wxUSE_SOCKETS 1
31670_ACEOF
31671
31672 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31673fi
31674
31675if test "$wxUSE_PROTOCOL" = "yes"; then
31676 if test "$wxUSE_SOCKETS" != "yes"; then
31677 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31678echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31679 wxUSE_PROTOCOL=no
31680 fi
31681fi
31682
31683if test "$wxUSE_PROTOCOL" = "yes"; then
31684 cat >>confdefs.h <<\_ACEOF
31685#define wxUSE_PROTOCOL 1
31686_ACEOF
31687
31688
31689 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31690 cat >>confdefs.h <<\_ACEOF
31691#define wxUSE_PROTOCOL_HTTP 1
31692_ACEOF
31693
31694 fi
31695 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31696 cat >>confdefs.h <<\_ACEOF
31697#define wxUSE_PROTOCOL_FTP 1
31698_ACEOF
31699
31700 fi
31701 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31702 cat >>confdefs.h <<\_ACEOF
31703#define wxUSE_PROTOCOL_FILE 1
31704_ACEOF
31705
31706 fi
31707else
31708 if test "$wxUSE_FS_INET" = "yes"; then
31709 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31710echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31711 wxUSE_FS_INET="no"
31712 fi
31713fi
31714
31715if test "$wxUSE_URL" = "yes"; then
31716 if test "$wxUSE_PROTOCOL" != "yes"; then
31717 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31718echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31719 wxUSE_URL=no
31720 fi
31721 if test "$wxUSE_URL" = "yes"; then
31722 cat >>confdefs.h <<\_ACEOF
31723#define wxUSE_URL 1
31724_ACEOF
31725
31726 fi
31727fi
31728
31729if test "$wxUSE_FS_INET" = "yes"; then
31730 cat >>confdefs.h <<\_ACEOF
31731#define wxUSE_FS_INET 1
31732_ACEOF
31733
31734fi
31735
31736
31737if test "$wxUSE_GUI" = "yes"; then
31738
31739 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31740 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31741echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31742 wxUSE_JOYSTICK=no
31743 fi
31744
31745 if test "$TOOLKIT" != "MSW"; then
31746 if test "$wxUSE_JOYSTICK" = "yes"; then
31747
31748for ac_header in linux/joystick.h
31749do
31750as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31751if eval "test \"\${$as_ac_Header+set}\" = set"; then
31752 echo "$as_me:$LINENO: checking for $ac_header" >&5
31753echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31754if eval "test \"\${$as_ac_Header+set}\" = set"; then
31755 echo $ECHO_N "(cached) $ECHO_C" >&6
31756fi
31757echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31758echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31759else
31760 # Is the header compilable?
31761echo "$as_me:$LINENO: checking $ac_header usability" >&5
31762echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31763cat >conftest.$ac_ext <<_ACEOF
31764#line $LINENO "configure"
31765/* confdefs.h. */
31766_ACEOF
31767cat confdefs.h >>conftest.$ac_ext
31768cat >>conftest.$ac_ext <<_ACEOF
31769/* end confdefs.h. */
31770$ac_includes_default
31771#include <$ac_header>
31772_ACEOF
31773rm -f conftest.$ac_objext
31774if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31775 (eval $ac_compile) 2>&5
31776 ac_status=$?
31777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31778 (exit $ac_status); } &&
31779 { ac_try='test -s conftest.$ac_objext'
31780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31781 (eval $ac_try) 2>&5
31782 ac_status=$?
31783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31784 (exit $ac_status); }; }; then
31785 ac_header_compiler=yes
31786else
31787 echo "$as_me: failed program was:" >&5
31788sed 's/^/| /' conftest.$ac_ext >&5
31789
31790ac_header_compiler=no
31791fi
31792rm -f conftest.$ac_objext conftest.$ac_ext
31793echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31794echo "${ECHO_T}$ac_header_compiler" >&6
31795
31796# Is the header present?
31797echo "$as_me:$LINENO: checking $ac_header presence" >&5
31798echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31799cat >conftest.$ac_ext <<_ACEOF
31800#line $LINENO "configure"
31801/* confdefs.h. */
31802_ACEOF
31803cat confdefs.h >>conftest.$ac_ext
31804cat >>conftest.$ac_ext <<_ACEOF
31805/* end confdefs.h. */
31806#include <$ac_header>
31807_ACEOF
31808if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31809 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31810 ac_status=$?
31811 grep -v '^ *+' conftest.er1 >conftest.err
31812 rm -f conftest.er1
31813 cat conftest.err >&5
31814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31815 (exit $ac_status); } >/dev/null; then
31816 if test -s conftest.err; then
31817 ac_cpp_err=$ac_c_preproc_warn_flag
31818 else
31819 ac_cpp_err=
31820 fi
31821else
31822 ac_cpp_err=yes
31823fi
31824if test -z "$ac_cpp_err"; then
31825 ac_header_preproc=yes
31826else
31827 echo "$as_me: failed program was:" >&5
31828sed 's/^/| /' conftest.$ac_ext >&5
31829
31830 ac_header_preproc=no
31831fi
31832rm -f conftest.err conftest.$ac_ext
31833echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31834echo "${ECHO_T}$ac_header_preproc" >&6
31835
31836# So? What about this header?
31837case $ac_header_compiler:$ac_header_preproc in
31838 yes:no )
31839 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31840echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31842echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31843 (
31844 cat <<\_ASBOX
31845## ------------------------------------ ##
31846## Report this to bug-autoconf@gnu.org. ##
31847## ------------------------------------ ##
31848_ASBOX
31849 ) |
31850 sed "s/^/$as_me: WARNING: /" >&2
31851 ;;
31852 no:yes )
31853 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31854echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31855 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31856echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31857 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31858echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31859 (
31860 cat <<\_ASBOX
31861## ------------------------------------ ##
31862## Report this to bug-autoconf@gnu.org. ##
31863## ------------------------------------ ##
31864_ASBOX
31865 ) |
31866 sed "s/^/$as_me: WARNING: /" >&2
31867 ;;
31868esac
31869echo "$as_me:$LINENO: checking for $ac_header" >&5
31870echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31871if eval "test \"\${$as_ac_Header+set}\" = set"; then
31872 echo $ECHO_N "(cached) $ECHO_C" >&6
31873else
31874 eval "$as_ac_Header=$ac_header_preproc"
31875fi
31876echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31877echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31878
31879fi
31880if test `eval echo '${'$as_ac_Header'}'` = yes; then
31881 cat >>confdefs.h <<_ACEOF
31882#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31883_ACEOF
31884
31885fi
31886
31887done
31888
31889 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31890 wxUSE_JOYSTICK=no
31891 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31892echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31893 fi
31894 fi
31895 fi
31896
31897 if test "$wxUSE_JOYSTICK" = "yes"; then
31898 cat >>confdefs.h <<\_ACEOF
31899#define wxUSE_JOYSTICK 1
31900_ACEOF
31901
31902 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31903 fi
31904fi
31905
31906
31907if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31908
31909 HAVE_DL_FUNCS=0
31910 HAVE_SHL_FUNCS=0
31911 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31912 if test "$USE_DARWIN" = 1; then
31913 HAVE_DL_FUNCS=1
31914 else
31915
31916for ac_func in dlopen
31917do
31918as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31919echo "$as_me:$LINENO: checking for $ac_func" >&5
31920echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31921if eval "test \"\${$as_ac_var+set}\" = set"; then
31922 echo $ECHO_N "(cached) $ECHO_C" >&6
31923else
31924 cat >conftest.$ac_ext <<_ACEOF
31925#line $LINENO "configure"
31926/* confdefs.h. */
31927_ACEOF
31928cat confdefs.h >>conftest.$ac_ext
31929cat >>conftest.$ac_ext <<_ACEOF
31930/* end confdefs.h. */
31931/* System header to define __stub macros and hopefully few prototypes,
31932 which can conflict with char $ac_func (); below.
31933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31934 <limits.h> exists even on freestanding compilers. */
31935#ifdef __STDC__
31936# include <limits.h>
31937#else
31938# include <assert.h>
31939#endif
31940/* Override any gcc2 internal prototype to avoid an error. */
31941#ifdef __cplusplus
31942extern "C"
31943{
31944#endif
31945/* We use char because int might match the return type of a gcc2
31946 builtin and then its argument prototype would still apply. */
31947char $ac_func ();
31948/* The GNU C library defines this for functions which it implements
31949 to always fail with ENOSYS. Some functions are actually named
31950 something starting with __ and the normal name is an alias. */
31951#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31952choke me
31953#else
31954char (*f) () = $ac_func;
31955#endif
31956#ifdef __cplusplus
31957}
31958#endif
31959
31960int
31961main ()
31962{
31963return f != $ac_func;
31964 ;
31965 return 0;
31966}
31967_ACEOF
31968rm -f conftest.$ac_objext conftest$ac_exeext
31969if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31970 (eval $ac_link) 2>&5
31971 ac_status=$?
31972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31973 (exit $ac_status); } &&
31974 { ac_try='test -s conftest$ac_exeext'
31975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31976 (eval $ac_try) 2>&5
31977 ac_status=$?
31978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31979 (exit $ac_status); }; }; then
31980 eval "$as_ac_var=yes"
31981else
31982 echo "$as_me: failed program was:" >&5
31983sed 's/^/| /' conftest.$ac_ext >&5
31984
31985eval "$as_ac_var=no"
31986fi
31987rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31988fi
31989echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31990echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31991if test `eval echo '${'$as_ac_var'}'` = yes; then
31992 cat >>confdefs.h <<_ACEOF
31993#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31994_ACEOF
31995
31996 cat >>confdefs.h <<\_ACEOF
31997#define HAVE_DLOPEN 1
31998_ACEOF
31999
32000 HAVE_DL_FUNCS=1
32001
32002else
32003
32004 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
32005echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
32006if test "${ac_cv_lib_dl_dlopen+set}" = set; then
32007 echo $ECHO_N "(cached) $ECHO_C" >&6
32008else
32009 ac_check_lib_save_LIBS=$LIBS
32010LIBS="-ldl $LIBS"
32011cat >conftest.$ac_ext <<_ACEOF
32012#line $LINENO "configure"
32013/* confdefs.h. */
32014_ACEOF
32015cat confdefs.h >>conftest.$ac_ext
32016cat >>conftest.$ac_ext <<_ACEOF
32017/* end confdefs.h. */
32018
32019/* Override any gcc2 internal prototype to avoid an error. */
32020#ifdef __cplusplus
32021extern "C"
32022#endif
32023/* We use char because int might match the return type of a gcc2
32024 builtin and then its argument prototype would still apply. */
32025char dlopen ();
32026int
32027main ()
32028{
32029dlopen ();
32030 ;
32031 return 0;
32032}
32033_ACEOF
32034rm -f conftest.$ac_objext conftest$ac_exeext
32035if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32036 (eval $ac_link) 2>&5
32037 ac_status=$?
32038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32039 (exit $ac_status); } &&
32040 { ac_try='test -s conftest$ac_exeext'
32041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32042 (eval $ac_try) 2>&5
32043 ac_status=$?
32044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32045 (exit $ac_status); }; }; then
32046 ac_cv_lib_dl_dlopen=yes
32047else
32048 echo "$as_me: failed program was:" >&5
32049sed 's/^/| /' conftest.$ac_ext >&5
32050
32051ac_cv_lib_dl_dlopen=no
32052fi
32053rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32054LIBS=$ac_check_lib_save_LIBS
32055fi
32056echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
32057echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
32058if test $ac_cv_lib_dl_dlopen = yes; then
32059
32060 cat >>confdefs.h <<\_ACEOF
32061#define HAVE_DLOPEN 1
32062_ACEOF
32063
32064 HAVE_DL_FUNCS=1
32065 DL_LINK=" -ldl$DL_LINK"
32066
32067else
32068
32069
32070for ac_func in shl_load
32071do
32072as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32073echo "$as_me:$LINENO: checking for $ac_func" >&5
32074echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32075if eval "test \"\${$as_ac_var+set}\" = set"; then
32076 echo $ECHO_N "(cached) $ECHO_C" >&6
32077else
32078 cat >conftest.$ac_ext <<_ACEOF
32079#line $LINENO "configure"
32080/* confdefs.h. */
32081_ACEOF
32082cat confdefs.h >>conftest.$ac_ext
32083cat >>conftest.$ac_ext <<_ACEOF
32084/* end confdefs.h. */
32085/* System header to define __stub macros and hopefully few prototypes,
32086 which can conflict with char $ac_func (); below.
32087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32088 <limits.h> exists even on freestanding compilers. */
32089#ifdef __STDC__
32090# include <limits.h>
32091#else
32092# include <assert.h>
32093#endif
32094/* Override any gcc2 internal prototype to avoid an error. */
32095#ifdef __cplusplus
32096extern "C"
32097{
32098#endif
32099/* We use char because int might match the return type of a gcc2
32100 builtin and then its argument prototype would still apply. */
32101char $ac_func ();
32102/* The GNU C library defines this for functions which it implements
32103 to always fail with ENOSYS. Some functions are actually named
32104 something starting with __ and the normal name is an alias. */
32105#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32106choke me
32107#else
32108char (*f) () = $ac_func;
32109#endif
32110#ifdef __cplusplus
32111}
32112#endif
32113
32114int
32115main ()
32116{
32117return f != $ac_func;
32118 ;
32119 return 0;
32120}
32121_ACEOF
32122rm -f conftest.$ac_objext conftest$ac_exeext
32123if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32124 (eval $ac_link) 2>&5
32125 ac_status=$?
32126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32127 (exit $ac_status); } &&
32128 { ac_try='test -s conftest$ac_exeext'
32129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32130 (eval $ac_try) 2>&5
32131 ac_status=$?
32132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32133 (exit $ac_status); }; }; then
32134 eval "$as_ac_var=yes"
32135else
32136 echo "$as_me: failed program was:" >&5
32137sed 's/^/| /' conftest.$ac_ext >&5
32138
32139eval "$as_ac_var=no"
32140fi
32141rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32142fi
32143echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32144echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32145if test `eval echo '${'$as_ac_var'}'` = yes; then
32146 cat >>confdefs.h <<_ACEOF
32147#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32148_ACEOF
32149
32150 cat >>confdefs.h <<\_ACEOF
32151#define HAVE_SHL_LOAD 1
32152_ACEOF
32153
32154 HAVE_SHL_FUNCS=1
32155
32156else
32157
32158 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
32159echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
32160if test "${ac_cv_lib_shl_load_dld+set}" = set; then
32161 echo $ECHO_N "(cached) $ECHO_C" >&6
32162else
32163 ac_check_lib_save_LIBS=$LIBS
32164LIBS="-lshl_load $LIBS"
32165cat >conftest.$ac_ext <<_ACEOF
32166#line $LINENO "configure"
32167/* confdefs.h. */
32168_ACEOF
32169cat confdefs.h >>conftest.$ac_ext
32170cat >>conftest.$ac_ext <<_ACEOF
32171/* end confdefs.h. */
32172
32173/* Override any gcc2 internal prototype to avoid an error. */
32174#ifdef __cplusplus
32175extern "C"
32176#endif
32177/* We use char because int might match the return type of a gcc2
32178 builtin and then its argument prototype would still apply. */
32179char dld ();
32180int
32181main ()
32182{
32183dld ();
32184 ;
32185 return 0;
32186}
32187_ACEOF
32188rm -f conftest.$ac_objext conftest$ac_exeext
32189if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32190 (eval $ac_link) 2>&5
32191 ac_status=$?
32192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32193 (exit $ac_status); } &&
32194 { ac_try='test -s conftest$ac_exeext'
32195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32196 (eval $ac_try) 2>&5
32197 ac_status=$?
32198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32199 (exit $ac_status); }; }; then
32200 ac_cv_lib_shl_load_dld=yes
32201else
32202 echo "$as_me: failed program was:" >&5
32203sed 's/^/| /' conftest.$ac_ext >&5
32204
32205ac_cv_lib_shl_load_dld=no
32206fi
32207rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32208LIBS=$ac_check_lib_save_LIBS
32209fi
32210echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
32211echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
32212if test $ac_cv_lib_shl_load_dld = yes; then
32213
32214 HAVE_SHL_FUNCS=1
32215 DL_LINK=" -ldld$DL_LINK"
32216
32217fi
32218
32219
32220fi
32221done
32222
32223
32224fi
32225
32226
32227fi
32228done
32229
32230
32231 if test "$HAVE_DL_FUNCS" = 1; then
32232
32233for ac_func in dlerror
32234do
32235as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32236echo "$as_me:$LINENO: checking for $ac_func" >&5
32237echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32238if eval "test \"\${$as_ac_var+set}\" = set"; then
32239 echo $ECHO_N "(cached) $ECHO_C" >&6
32240else
32241 cat >conftest.$ac_ext <<_ACEOF
32242#line $LINENO "configure"
32243/* confdefs.h. */
32244_ACEOF
32245cat confdefs.h >>conftest.$ac_ext
32246cat >>conftest.$ac_ext <<_ACEOF
32247/* end confdefs.h. */
32248/* System header to define __stub macros and hopefully few prototypes,
32249 which can conflict with char $ac_func (); below.
32250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32251 <limits.h> exists even on freestanding compilers. */
32252#ifdef __STDC__
32253# include <limits.h>
32254#else
32255# include <assert.h>
32256#endif
32257/* Override any gcc2 internal prototype to avoid an error. */
32258#ifdef __cplusplus
32259extern "C"
32260{
32261#endif
32262/* We use char because int might match the return type of a gcc2
32263 builtin and then its argument prototype would still apply. */
32264char $ac_func ();
32265/* The GNU C library defines this for functions which it implements
32266 to always fail with ENOSYS. Some functions are actually named
32267 something starting with __ and the normal name is an alias. */
32268#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32269choke me
32270#else
32271char (*f) () = $ac_func;
32272#endif
32273#ifdef __cplusplus
32274}
32275#endif
32276
32277int
32278main ()
32279{
32280return f != $ac_func;
32281 ;
32282 return 0;
32283}
32284_ACEOF
32285rm -f conftest.$ac_objext conftest$ac_exeext
32286if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32287 (eval $ac_link) 2>&5
32288 ac_status=$?
32289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32290 (exit $ac_status); } &&
32291 { ac_try='test -s conftest$ac_exeext'
32292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32293 (eval $ac_try) 2>&5
32294 ac_status=$?
32295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32296 (exit $ac_status); }; }; then
32297 eval "$as_ac_var=yes"
32298else
32299 echo "$as_me: failed program was:" >&5
32300sed 's/^/| /' conftest.$ac_ext >&5
32301
32302eval "$as_ac_var=no"
32303fi
32304rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32305fi
32306echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32307echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32308if test `eval echo '${'$as_ac_var'}'` = yes; then
32309 cat >>confdefs.h <<_ACEOF
32310#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32311_ACEOF
32312 cat >>confdefs.h <<\_ACEOF
32313#define HAVE_DLERROR 1
32314_ACEOF
32315
32316else
32317
32318 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32319echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32320if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32321 echo $ECHO_N "(cached) $ECHO_C" >&6
32322else
32323 ac_check_lib_save_LIBS=$LIBS
32324LIBS="-ldl $LIBS"
32325cat >conftest.$ac_ext <<_ACEOF
32326#line $LINENO "configure"
32327/* confdefs.h. */
32328_ACEOF
32329cat confdefs.h >>conftest.$ac_ext
32330cat >>conftest.$ac_ext <<_ACEOF
32331/* end confdefs.h. */
32332
32333/* Override any gcc2 internal prototype to avoid an error. */
32334#ifdef __cplusplus
32335extern "C"
32336#endif
32337/* We use char because int might match the return type of a gcc2
32338 builtin and then its argument prototype would still apply. */
32339char dlerror ();
32340int
32341main ()
32342{
32343dlerror ();
32344 ;
32345 return 0;
32346}
32347_ACEOF
32348rm -f conftest.$ac_objext conftest$ac_exeext
32349if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32350 (eval $ac_link) 2>&5
32351 ac_status=$?
32352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32353 (exit $ac_status); } &&
32354 { ac_try='test -s conftest$ac_exeext'
32355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32356 (eval $ac_try) 2>&5
32357 ac_status=$?
32358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32359 (exit $ac_status); }; }; then
32360 ac_cv_lib_dl_dlerror=yes
32361else
32362 echo "$as_me: failed program was:" >&5
32363sed 's/^/| /' conftest.$ac_ext >&5
32364
32365ac_cv_lib_dl_dlerror=no
32366fi
32367rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32368LIBS=$ac_check_lib_save_LIBS
32369fi
32370echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32371echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32372if test $ac_cv_lib_dl_dlerror = yes; then
32373 cat >>confdefs.h <<\_ACEOF
32374#define HAVE_DLERROR 1
32375_ACEOF
32376
32377fi
32378
32379
32380
32381fi
32382done
32383
32384 fi
32385 fi
32386
32387 if test "$HAVE_DL_FUNCS" = 0; then
32388 if test "$HAVE_SHL_FUNCS" = 0; then
32389 if test "$USE_UNIX" = 1; then
32390 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32391echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32392 wxUSE_DYNAMIC_LOADER=no
32393 wxUSE_DYNLIB_CLASS=no
32394 else
32395 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32396echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32397 fi
32398 fi
32399 fi
32400 fi
32401fi
32402
32403if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32404 cat >>confdefs.h <<\_ACEOF
32405#define wxUSE_DYNAMIC_LOADER 1
32406_ACEOF
32407
32408fi
32409if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32410 cat >>confdefs.h <<\_ACEOF
32411#define wxUSE_DYNLIB_CLASS 1
32412_ACEOF
32413
32414fi
32415
32416
32417if test "$wxUSE_FONTMAP" = "yes" ; then
32418 cat >>confdefs.h <<\_ACEOF
32419#define wxUSE_FONTMAP 1
32420_ACEOF
32421
32422fi
32423
32424if test "$wxUSE_UNICODE" = "yes" ; then
32425 cat >>confdefs.h <<\_ACEOF
32426#define wxUSE_UNICODE 1
32427_ACEOF
32428
32429
32430 if test "$USE_WIN32" != 1; then
32431 wxUSE_UNICODE_MSLU=no
32432 fi
32433
32434 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32435 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32436echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32437if test "${ac_cv_lib_unicows_main+set}" = set; then
32438 echo $ECHO_N "(cached) $ECHO_C" >&6
32439else
32440 ac_check_lib_save_LIBS=$LIBS
32441LIBS="-lunicows $LIBS"
32442cat >conftest.$ac_ext <<_ACEOF
32443#line $LINENO "configure"
32444/* confdefs.h. */
32445_ACEOF
32446cat confdefs.h >>conftest.$ac_ext
32447cat >>conftest.$ac_ext <<_ACEOF
32448/* end confdefs.h. */
32449
32450
32451int
32452main ()
32453{
32454main ();
32455 ;
32456 return 0;
32457}
32458_ACEOF
32459rm -f conftest.$ac_objext conftest$ac_exeext
32460if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32461 (eval $ac_link) 2>&5
32462 ac_status=$?
32463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32464 (exit $ac_status); } &&
32465 { ac_try='test -s conftest$ac_exeext'
32466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32467 (eval $ac_try) 2>&5
32468 ac_status=$?
32469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32470 (exit $ac_status); }; }; then
32471 ac_cv_lib_unicows_main=yes
32472else
32473 echo "$as_me: failed program was:" >&5
32474sed 's/^/| /' conftest.$ac_ext >&5
32475
32476ac_cv_lib_unicows_main=no
32477fi
32478rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32479LIBS=$ac_check_lib_save_LIBS
32480fi
32481echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32482echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32483if test $ac_cv_lib_unicows_main = yes; then
32484
32485 cat >>confdefs.h <<\_ACEOF
32486#define wxUSE_UNICODE_MSLU 1
32487_ACEOF
32488
32489
32490else
32491
32492 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32493 Applications will only run on Windows NT/2000/XP!" >&5
32494echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32495 Applications will only run on Windows NT/2000/XP!" >&2;}
32496 wxUSE_UNICODE_MSLU=no
32497
32498fi
32499
32500 fi
32501fi
32502
32503if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32504 cat >>confdefs.h <<\_ACEOF
32505#define wxUSE_EXPERIMENTAL_PRINTF 1
32506_ACEOF
32507
32508fi
32509
32510
32511if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32512 cat >>confdefs.h <<\_ACEOF
32513#define wxUSE_POSTSCRIPT 1
32514_ACEOF
32515
32516fi
32517
32518cat >>confdefs.h <<\_ACEOF
32519#define wxUSE_AFM_FOR_POSTSCRIPT 1
32520_ACEOF
32521
32522
32523cat >>confdefs.h <<\_ACEOF
32524#define wxUSE_NORMALIZED_PS_FONTS 1
32525_ACEOF
32526
32527
32528
32529if test "$wxUSE_CONSTRAINTS" = "yes"; then
32530 cat >>confdefs.h <<\_ACEOF
32531#define wxUSE_CONSTRAINTS 1
32532_ACEOF
32533
32534 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
32535fi
32536
32537if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32538 cat >>confdefs.h <<\_ACEOF
32539#define wxUSE_MDI_ARCHITECTURE 1
32540_ACEOF
32541
32542 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
32543fi
32544
32545if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32546 cat >>confdefs.h <<\_ACEOF
32547#define wxUSE_DOC_VIEW_ARCHITECTURE 1
32548_ACEOF
32549
32550 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
32551 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32552 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
32553 fi
32554fi
32555
32556if test "$wxUSE_HELP" = "yes"; then
32557 cat >>confdefs.h <<\_ACEOF
32558#define wxUSE_HELP 1
32559_ACEOF
32560
32561 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
32562
32563 if test "$wxUSE_MSW" = 1; then
32564 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32565 cat >>confdefs.h <<\_ACEOF
32566#define wxUSE_MS_HTML_HELP 1
32567_ACEOF
32568
32569 fi
32570 fi
32571
32572 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32573 if test "$wxUSE_HTML" = "yes"; then
32574 cat >>confdefs.h <<\_ACEOF
32575#define wxUSE_WXHTML_HELP 1
32576_ACEOF
32577
32578 else
32579 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32580echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32581 wxUSE_WXHTML_HELP=no
32582 fi
32583 fi
32584fi
32585
32586if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32587 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32588 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32589echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32590 else
32591 cat >>confdefs.h <<\_ACEOF
32592#define wxUSE_PRINTING_ARCHITECTURE 1
32593_ACEOF
32594
32595 fi
32596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
32597fi
32598
32599if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32600 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32601echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32602 { (exit 1); exit 1; }; }
32603fi
32604
32605
32606if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
32607 -o "$wxUSE_CLIPBOARD" = "yes" \
32608 -o "$wxUSE_OLE" = "yes" \
32609 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
32610
32611for ac_header in ole2.h
32612do
32613as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32614if eval "test \"\${$as_ac_Header+set}\" = set"; then
32615 echo "$as_me:$LINENO: checking for $ac_header" >&5
32616echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32617if eval "test \"\${$as_ac_Header+set}\" = set"; then
32618 echo $ECHO_N "(cached) $ECHO_C" >&6
32619fi
32620echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32621echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32622else
32623 # Is the header compilable?
32624echo "$as_me:$LINENO: checking $ac_header usability" >&5
32625echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32626cat >conftest.$ac_ext <<_ACEOF
32627#line $LINENO "configure"
32628/* confdefs.h. */
32629_ACEOF
32630cat confdefs.h >>conftest.$ac_ext
32631cat >>conftest.$ac_ext <<_ACEOF
32632/* end confdefs.h. */
32633$ac_includes_default
32634#include <$ac_header>
32635_ACEOF
32636rm -f conftest.$ac_objext
32637if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32638 (eval $ac_compile) 2>&5
32639 ac_status=$?
32640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32641 (exit $ac_status); } &&
32642 { ac_try='test -s conftest.$ac_objext'
32643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32644 (eval $ac_try) 2>&5
32645 ac_status=$?
32646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32647 (exit $ac_status); }; }; then
32648 ac_header_compiler=yes
32649else
32650 echo "$as_me: failed program was:" >&5
32651sed 's/^/| /' conftest.$ac_ext >&5
32652
32653ac_header_compiler=no
32654fi
32655rm -f conftest.$ac_objext conftest.$ac_ext
32656echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32657echo "${ECHO_T}$ac_header_compiler" >&6
32658
32659# Is the header present?
32660echo "$as_me:$LINENO: checking $ac_header presence" >&5
32661echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32662cat >conftest.$ac_ext <<_ACEOF
32663#line $LINENO "configure"
32664/* confdefs.h. */
32665_ACEOF
32666cat confdefs.h >>conftest.$ac_ext
32667cat >>conftest.$ac_ext <<_ACEOF
32668/* end confdefs.h. */
32669#include <$ac_header>
32670_ACEOF
32671if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32672 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32673 ac_status=$?
32674 grep -v '^ *+' conftest.er1 >conftest.err
32675 rm -f conftest.er1
32676 cat conftest.err >&5
32677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32678 (exit $ac_status); } >/dev/null; then
32679 if test -s conftest.err; then
32680 ac_cpp_err=$ac_c_preproc_warn_flag
32681 else
32682 ac_cpp_err=
32683 fi
32684else
32685 ac_cpp_err=yes
32686fi
32687if test -z "$ac_cpp_err"; then
32688 ac_header_preproc=yes
32689else
32690 echo "$as_me: failed program was:" >&5
32691sed 's/^/| /' conftest.$ac_ext >&5
32692
32693 ac_header_preproc=no
32694fi
32695rm -f conftest.err conftest.$ac_ext
32696echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32697echo "${ECHO_T}$ac_header_preproc" >&6
32698
32699# So? What about this header?
32700case $ac_header_compiler:$ac_header_preproc in
32701 yes:no )
32702 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32703echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32705echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32706 (
32707 cat <<\_ASBOX
32708## ------------------------------------ ##
32709## Report this to bug-autoconf@gnu.org. ##
32710## ------------------------------------ ##
32711_ASBOX
32712 ) |
32713 sed "s/^/$as_me: WARNING: /" >&2
32714 ;;
32715 no:yes )
32716 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32717echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32718 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32719echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32721echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32722 (
32723 cat <<\_ASBOX
32724## ------------------------------------ ##
32725## Report this to bug-autoconf@gnu.org. ##
32726## ------------------------------------ ##
32727_ASBOX
32728 ) |
32729 sed "s/^/$as_me: WARNING: /" >&2
32730 ;;
32731esac
32732echo "$as_me:$LINENO: checking for $ac_header" >&5
32733echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32734if eval "test \"\${$as_ac_Header+set}\" = set"; then
32735 echo $ECHO_N "(cached) $ECHO_C" >&6
32736else
32737 eval "$as_ac_Header=$ac_header_preproc"
32738fi
32739echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32740echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32741
32742fi
32743if test `eval echo '${'$as_ac_Header'}'` = yes; then
32744 cat >>confdefs.h <<_ACEOF
32745#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32746_ACEOF
32747
32748fi
32749
32750done
32751
32752
32753 if test "$ac_cv_header_ole2_h" = "yes" ; then
32754 if test "$GCC" = yes ; then
32755
32756
32757 ac_ext=cc
32758ac_cpp='$CXXCPP $CPPFLAGS'
32759ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32760ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32761ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32762
32763
32764 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32765echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32766 cat >conftest.$ac_ext <<_ACEOF
32767#line $LINENO "configure"
32768/* confdefs.h. */
32769_ACEOF
32770cat confdefs.h >>conftest.$ac_ext
32771cat >>conftest.$ac_ext <<_ACEOF
32772/* end confdefs.h. */
32773#include <windows.h>
32774 #include <ole2.h>
32775int
32776main ()
32777{
32778
32779 ;
32780 return 0;
32781}
32782_ACEOF
32783rm -f conftest.$ac_objext
32784if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32785 (eval $ac_compile) 2>&5
32786 ac_status=$?
32787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32788 (exit $ac_status); } &&
32789 { ac_try='test -s conftest.$ac_objext'
32790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32791 (eval $ac_try) 2>&5
32792 ac_status=$?
32793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32794 (exit $ac_status); }; }; then
32795 echo "$as_me:$LINENO: result: no" >&5
32796echo "${ECHO_T}no" >&6
32797else
32798 echo "$as_me: failed program was:" >&5
32799sed 's/^/| /' conftest.$ac_ext >&5
32800
32801echo "$as_me:$LINENO: result: yes" >&5
32802echo "${ECHO_T}yes" >&6
32803 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32804fi
32805rm -f conftest.$ac_objext conftest.$ac_ext
32806 ac_ext=c
32807ac_cpp='$CPP $CPPFLAGS'
32808ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32809ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32810ac_compiler_gnu=$ac_cv_c_compiler_gnu
32811
32812 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32813 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32814 cat >>confdefs.h <<\_ACEOF
32815#define wxUSE_OLE 1
32816_ACEOF
32817
32818
32819 fi
32820
32821 cat >>confdefs.h <<\_ACEOF
32822#define wxUSE_DATAOBJ 1
32823_ACEOF
32824
32825 else
32826 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32827echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32828
32829 wxUSE_CLIPBOARD=no
32830 wxUSE_DRAG_AND_DROP=no
32831 wxUSE_DATAOBJ=no
32832 wxUSE_OLE=no
32833 fi
32834
32835 if test "$wxUSE_METAFILE" = "yes"; then
32836 cat >>confdefs.h <<\_ACEOF
32837#define wxUSE_METAFILE 1
32838_ACEOF
32839
32840
32841 cat >>confdefs.h <<\_ACEOF
32842#define wxUSE_ENH_METAFILE 1
32843_ACEOF
32844
32845 fi
32846fi
32847
32848if test "$wxUSE_IPC" = "yes"; then
32849 if test "$wxUSE_SOCKETS" != "yes"; then
32850 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32851echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32852 fi
32853
32854 cat >>confdefs.h <<\_ACEOF
32855#define wxUSE_IPC 1
32856_ACEOF
32857
32858fi
32859
32860if test "$wxUSE_CLIPBOARD" = "yes"; then
32861 if test "$wxUSE_MGL" = 1; then
32862 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32863echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32864 wxUSE_CLIPBOARD=no
32865 fi
32866
32867 if test "$wxUSE_CLIPBOARD" = "yes"; then
32868 cat >>confdefs.h <<\_ACEOF
32869#define wxUSE_CLIPBOARD 1
32870_ACEOF
32871
32872
32873 cat >>confdefs.h <<\_ACEOF
32874#define wxUSE_DATAOBJ 1
32875_ACEOF
32876
32877 fi
32878fi
32879
32880if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32881 if test "$wxUSE_GTK" = 1; then
32882 if test "$WXGTK12" != 1; then
32883 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32884echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32885 wxUSE_DRAG_AND_DROP=no
32886 fi
32887 fi
32888
32889 if test "$wxUSE_MOTIF" = 1; then
32890 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32891echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32892 wxUSE_DRAG_AND_DROP=no
32893 fi
32894
32895 if test "$wxUSE_X11" = 1; then
32896 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32897echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32898 wxUSE_DRAG_AND_DROP=no
32899 fi
32900
32901 if test "$wxUSE_MGL" = 1; then
32902 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32903echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32904 wxUSE_DRAG_AND_DROP=no
32905 fi
32906
32907 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32908 cat >>confdefs.h <<\_ACEOF
32909#define wxUSE_DRAG_AND_DROP 1
32910_ACEOF
32911
32912 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32913 fi
32914
32915fi
32916
32917if test "$wxUSE_SPLINES" = "yes" ; then
32918 cat >>confdefs.h <<\_ACEOF
32919#define wxUSE_SPLINES 1
32920_ACEOF
32921
32922fi
32923
32924
32925USES_CONTROLS=0
32926if test "$wxUSE_CONTROLS" = "yes"; then
32927 USES_CONTROLS=1
32928fi
32929
32930if test "$wxUSE_ACCEL" = "yes"; then
32931 cat >>confdefs.h <<\_ACEOF
32932#define wxUSE_ACCEL 1
32933_ACEOF
32934
32935 USES_CONTROLS=1
32936fi
32937
32938if test "$wxUSE_BUTTON" = "yes"; then
32939 cat >>confdefs.h <<\_ACEOF
32940#define wxUSE_BUTTON 1
32941_ACEOF
32942
32943 USES_CONTROLS=1
32944fi
32945
32946if test "$wxUSE_BMPBUTTON" = "yes"; then
32947 cat >>confdefs.h <<\_ACEOF
32948#define wxUSE_BMPBUTTON 1
32949_ACEOF
32950
32951 USES_CONTROLS=1
32952fi
32953
32954if test "$wxUSE_CALCTRL" = "yes"; then
32955 cat >>confdefs.h <<\_ACEOF
32956#define wxUSE_CALENDARCTRL 1
32957_ACEOF
32958
32959 USES_CONTROLS=1
32960 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32961fi
32962
32963if test "$wxUSE_CARET" = "yes"; then
32964 cat >>confdefs.h <<\_ACEOF
32965#define wxUSE_CARET 1
32966_ACEOF
32967
32968 USES_CONTROLS=1
32969 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32970fi
32971
32972if test "$wxUSE_COMBOBOX" = "yes"; then
32973 cat >>confdefs.h <<\_ACEOF
32974#define wxUSE_COMBOBOX 1
32975_ACEOF
32976
32977 USES_CONTROLS=1
32978fi
32979
32980if test "$wxUSE_CHOICE" = "yes"; then
32981 cat >>confdefs.h <<\_ACEOF
32982#define wxUSE_CHOICE 1
32983_ACEOF
32984
32985 USES_CONTROLS=1
32986fi
32987
32988if test "$wxUSE_CHECKBOX" = "yes"; then
32989 cat >>confdefs.h <<\_ACEOF
32990#define wxUSE_CHECKBOX 1
32991_ACEOF
32992
32993 USES_CONTROLS=1
32994fi
32995
32996if test "$wxUSE_CHECKLST" = "yes"; then
32997 cat >>confdefs.h <<\_ACEOF
32998#define wxUSE_CHECKLISTBOX 1
32999_ACEOF
33000
33001 USES_CONTROLS=1
33002 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
33003fi
33004
33005if test "$wxUSE_DISPLAY" = "yes"; then
33006 cat >>confdefs.h <<\_ACEOF
33007#define wxUSE_DISPLAY 1
33008_ACEOF
33009
33010 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
33011fi
33012
33013if test "$wxUSE_GAUGE" = "yes"; then
33014 cat >>confdefs.h <<\_ACEOF
33015#define wxUSE_GAUGE 1
33016_ACEOF
33017
33018 USES_CONTROLS=1
33019fi
33020
33021if test "$wxUSE_GRID" = "yes"; then
33022 cat >>confdefs.h <<\_ACEOF
33023#define wxUSE_GRID 1
33024_ACEOF
33025
33026 USES_CONTROLS=1
33027 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
33028fi
33029
33030if test "$wxUSE_IMAGLIST" = "yes"; then
33031 cat >>confdefs.h <<\_ACEOF
33032#define wxUSE_IMAGLIST 1
33033_ACEOF
33034
33035fi
33036
33037if test "$wxUSE_LISTBOOK" = "yes"; then
33038 cat >>confdefs.h <<\_ACEOF
33039#define wxUSE_LISTBOOK 1
33040_ACEOF
33041
33042 USES_CONTROLS=1
33043fi
33044
33045if test "$wxUSE_LISTBOX" = "yes"; then
33046 cat >>confdefs.h <<\_ACEOF
33047#define wxUSE_LISTBOX 1
33048_ACEOF
33049
33050 USES_CONTROLS=1
33051fi
33052
33053if test "$wxUSE_LISTCTRL" = "yes"; then
33054 if test "$wxUSE_IMAGLIST" = "yes"; then
33055 cat >>confdefs.h <<\_ACEOF
33056#define wxUSE_LISTCTRL 1
33057_ACEOF
33058
33059 USES_CONTROLS=1
33060 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
33061 else
33062 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
33063echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
33064 fi
33065fi
33066
33067if test "$wxUSE_NOTEBOOK" = "yes"; then
33068 cat >>confdefs.h <<\_ACEOF
33069#define wxUSE_NOTEBOOK 1
33070_ACEOF
33071
33072 USES_CONTROLS=1
33073 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
33074fi
33075
33076
33077if test "$wxUSE_RADIOBOX" = "yes"; then
33078 cat >>confdefs.h <<\_ACEOF
33079#define wxUSE_RADIOBOX 1
33080_ACEOF
33081
33082 USES_CONTROLS=1
33083fi
33084
33085if test "$wxUSE_RADIOBTN" = "yes"; then
33086 cat >>confdefs.h <<\_ACEOF
33087#define wxUSE_RADIOBTN 1
33088_ACEOF
33089
33090 USES_CONTROLS=1
33091fi
33092
33093if test "$wxUSE_SASH" = "yes"; then
33094 cat >>confdefs.h <<\_ACEOF
33095#define wxUSE_SASH 1
33096_ACEOF
33097
33098 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
33099fi
33100
33101if test "$wxUSE_SCROLLBAR" = "yes"; then
33102 cat >>confdefs.h <<\_ACEOF
33103#define wxUSE_SCROLLBAR 1
33104_ACEOF
33105
33106 USES_CONTROLS=1
33107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
33108fi
33109
33110if test "$wxUSE_SLIDER" = "yes"; then
33111 cat >>confdefs.h <<\_ACEOF
33112#define wxUSE_SLIDER 1
33113_ACEOF
33114
33115 USES_CONTROLS=1
33116fi
33117
33118if test "$wxUSE_SPINBTN" = "yes"; then
33119 cat >>confdefs.h <<\_ACEOF
33120#define wxUSE_SPINBTN 1
33121_ACEOF
33122
33123 USES_CONTROLS=1
33124fi
33125
33126if test "$wxUSE_SPINCTRL" = "yes"; then
33127 cat >>confdefs.h <<\_ACEOF
33128#define wxUSE_SPINCTRL 1
33129_ACEOF
33130
33131 USES_CONTROLS=1
33132fi
33133
33134if test "$wxUSE_SPLITTER" = "yes"; then
33135 cat >>confdefs.h <<\_ACEOF
33136#define wxUSE_SPLITTER 1
33137_ACEOF
33138
33139 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
33140fi
33141
33142if test "$wxUSE_STATBMP" = "yes"; then
33143 cat >>confdefs.h <<\_ACEOF
33144#define wxUSE_STATBMP 1
33145_ACEOF
33146
33147 USES_CONTROLS=1
33148fi
33149
33150if test "$wxUSE_STATBOX" = "yes"; then
33151 cat >>confdefs.h <<\_ACEOF
33152#define wxUSE_STATBOX 1
33153_ACEOF
33154
33155 USES_CONTROLS=1
33156fi
33157
33158if test "$wxUSE_STATTEXT" = "yes"; then
33159 cat >>confdefs.h <<\_ACEOF
33160#define wxUSE_STATTEXT 1
33161_ACEOF
33162
33163 USES_CONTROLS=1
33164fi
33165
33166if test "$wxUSE_STATLINE" = "yes"; then
33167 cat >>confdefs.h <<\_ACEOF
33168#define wxUSE_STATLINE 1
33169_ACEOF
33170
33171 USES_CONTROLS=1
33172fi
33173
33174if test "$wxUSE_STATUSBAR" = "yes"; then
33175 cat >>confdefs.h <<\_ACEOF
33176#define wxUSE_STATUSBAR 1
33177_ACEOF
33178
33179 USES_CONTROLS=1
33180
33181 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
33182fi
33183
33184if test "$wxUSE_TABDIALOG" = "yes"; then
33185 cat >>confdefs.h <<\_ACEOF
33186#define wxUSE_TAB_DIALOG 1
33187_ACEOF
33188
33189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
33190fi
33191
33192if test "$wxUSE_TEXTCTRL" = "yes"; then
33193 cat >>confdefs.h <<\_ACEOF
33194#define wxUSE_TEXTCTRL 1
33195_ACEOF
33196
33197 USES_CONTROLS=1
33198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
33199fi
33200
33201if test "$wxUSE_TOGGLEBTN" = "yes"; then
33202 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33203 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
33204echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
33205 wxUSE_TOGGLEBTN=no
33206 fi
33207 if test "$wxUSE_UNIVERSAL" = "yes"; then
33208 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
33209echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
33210 wxUSE_TOGGLEBTN=no
33211 fi
33212
33213 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33214 cat >>confdefs.h <<\_ACEOF
33215#define wxUSE_TOGGLEBTN 1
33216_ACEOF
33217
33218 USES_CONTROLS=1
33219 fi
33220fi
33221
33222if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
33223 cat >>confdefs.h <<\_ACEOF
33224#define wxUSE_TOOLBAR_SIMPLE 1
33225_ACEOF
33226
33227 wxUSE_TOOLBAR="yes"
33228 USES_CONTROLS=1
33229fi
33230
33231if test "$wxUSE_TOOLBAR" = "yes"; then
33232 cat >>confdefs.h <<\_ACEOF
33233#define wxUSE_TOOLBAR 1
33234_ACEOF
33235
33236 USES_CONTROLS=1
33237
33238 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
33239 wxUSE_TOOLBAR_NATIVE="yes"
33240 fi
33241
33242 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
33243 cat >>confdefs.h <<\_ACEOF
33244#define wxUSE_TOOLBAR_NATIVE 1
33245_ACEOF
33246
33247 USES_CONTROLS=1
33248 fi
33249
33250 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
33251fi
33252
33253if test "$wxUSE_TOOLTIPS" = "yes"; then
33254 if test "$wxUSE_MOTIF" = 1; then
33255 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
33256echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
33257 else
33258 if test "$wxUSE_UNIVERSAL" = "yes"; then
33259 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
33260echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
33261 else
33262 cat >>confdefs.h <<\_ACEOF
33263#define wxUSE_TOOLTIPS 1
33264_ACEOF
33265
33266 fi
33267 fi
33268fi
33269
33270if test "$wxUSE_TREECTRL" = "yes"; then
33271 if test "$wxUSE_IMAGLIST" = "yes"; then
33272 cat >>confdefs.h <<\_ACEOF
33273#define wxUSE_TREECTRL 1
33274_ACEOF
33275
33276 USES_CONTROLS=1
33277 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
33278 else
33279 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33280echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33281 fi
33282fi
33283
33284if test "$wxUSE_POPUPWIN" = "yes"; then
33285 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33286 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33287echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33288 else
33289 if test "$wxUSE_PM" = 1; then
33290 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33291echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33292 else
33293 cat >>confdefs.h <<\_ACEOF
33294#define wxUSE_POPUPWIN 1
33295_ACEOF
33296
33297
33298 USES_CONTROLS=1
33299 fi
33300 fi
33301fi
33302
33303if test "$wxUSE_TIPWINDOW" = "yes"; then
33304 if test "$wxUSE_PM" = 1; then
33305 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33306echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33307 else
33308 cat >>confdefs.h <<\_ACEOF
33309#define wxUSE_TIPWINDOW 1
33310_ACEOF
33311
33312 fi
33313fi
33314
33315if test "$USES_CONTROLS" = 1; then
33316 cat >>confdefs.h <<\_ACEOF
33317#define wxUSE_CONTROLS 1
33318_ACEOF
33319
33320fi
33321
33322
33323if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33324 cat >>confdefs.h <<\_ACEOF
33325#define wxUSE_ACCESSIBILITY 1
33326_ACEOF
33327
33328 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
33329fi
33330
33331if test "$wxUSE_DRAGIMAGE" = "yes"; then
33332 cat >>confdefs.h <<\_ACEOF
33333#define wxUSE_DRAGIMAGE 1
33334_ACEOF
33335
33336 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
33337fi
33338
33339if test "$wxUSE_EXCEPTIONS" = "yes"; then
33340 cat >>confdefs.h <<\_ACEOF
33341#define wxUSE_EXCEPTIONS 1
33342_ACEOF
33343
33344fi
33345
33346USE_HTML=0
33347if test "$wxUSE_HTML" = "yes"; then
33348 cat >>confdefs.h <<\_ACEOF
33349#define wxUSE_HTML 1
33350_ACEOF
33351
33352 USE_HTML=1
33353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33354fi
33355
33356if test "$wxUSE_MENUS" = "yes"; then
33357 cat >>confdefs.h <<\_ACEOF
33358#define wxUSE_MENUS 1
33359_ACEOF
33360
33361 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
33362fi
33363
33364if test "$wxUSE_METAFILE" = "yes"; then
33365 cat >>confdefs.h <<\_ACEOF
33366#define wxUSE_METAFILE 1
33367_ACEOF
33368
33369fi
33370
33371if test "$wxUSE_MIMETYPE" = "yes"; then
33372 cat >>confdefs.h <<\_ACEOF
33373#define wxUSE_MIMETYPE 1
33374_ACEOF
33375
33376fi
33377
33378if test "$wxUSE_MINIFRAME" = "yes"; then
33379 cat >>confdefs.h <<\_ACEOF
33380#define wxUSE_MINIFRAME 1
33381_ACEOF
33382
33383 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
33384fi
33385
33386if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33387 cat >>confdefs.h <<\_ACEOF
33388#define wxUSE_SYSTEM_OPTIONS 1
33389_ACEOF
33390
33391 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33392 "$TOOLKIT" = "MOTIF"; then
33393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
33394 fi
33395fi
33396
33397
33398if test "$wxUSE_VALIDATORS" = "yes"; then
33399 cat >>confdefs.h <<\_ACEOF
33400#define wxUSE_VALIDATORS 1
33401_ACEOF
33402
33403 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
33404fi
33405
33406if test "$wxUSE_PALETTE" = "yes" ; then
33407 cat >>confdefs.h <<\_ACEOF
33408#define wxUSE_PALETTE 1
33409_ACEOF
33410
33411fi
33412
33413if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33414 LIBS=" -lunicows $LIBS"
33415fi
33416
33417
33418if test "$wxUSE_IMAGE" = "yes" ; then
33419 cat >>confdefs.h <<\_ACEOF
33420#define wxUSE_IMAGE 1
33421_ACEOF
33422
33423
33424 if test "$wxUSE_GIF" = "yes" ; then
33425 cat >>confdefs.h <<\_ACEOF
33426#define wxUSE_GIF 1
33427_ACEOF
33428
33429 fi
33430
33431 if test "$wxUSE_PCX" = "yes" ; then
33432 cat >>confdefs.h <<\_ACEOF
33433#define wxUSE_PCX 1
33434_ACEOF
33435
33436 fi
33437
33438 if test "$wxUSE_IFF" = "yes" ; then
33439 cat >>confdefs.h <<\_ACEOF
33440#define wxUSE_IFF 1
33441_ACEOF
33442
33443 fi
33444
33445 if test "$wxUSE_PNM" = "yes" ; then
33446 cat >>confdefs.h <<\_ACEOF
33447#define wxUSE_PNM 1
33448_ACEOF
33449
33450 fi
33451
33452 if test "$wxUSE_XPM" = "yes" ; then
33453 cat >>confdefs.h <<\_ACEOF
33454#define wxUSE_XPM 1
33455_ACEOF
33456
33457 fi
33458
33459 if test "$wxUSE_ICO_CUR" = "yes" ; then
33460 cat >>confdefs.h <<\_ACEOF
33461#define wxUSE_ICO_CUR 1
33462_ACEOF
33463
33464 fi
33465fi
33466
33467
33468if test "$wxUSE_CHOICEDLG" = "yes"; then
33469 cat >>confdefs.h <<\_ACEOF
33470#define wxUSE_CHOICEDLG 1
33471_ACEOF
33472
33473fi
33474
33475if test "$wxUSE_COLOURDLG" = "yes"; then
33476 cat >>confdefs.h <<\_ACEOF
33477#define wxUSE_COLOURDLG 1
33478_ACEOF
33479
33480fi
33481
33482if test "$wxUSE_FILEDLG" = "yes"; then
33483 cat >>confdefs.h <<\_ACEOF
33484#define wxUSE_FILEDLG 1
33485_ACEOF
33486
33487fi
33488
33489if test "$wxUSE_FINDREPLDLG" = "yes"; then
33490 cat >>confdefs.h <<\_ACEOF
33491#define wxUSE_FINDREPLDLG 1
33492_ACEOF
33493
33494fi
33495
33496if test "$wxUSE_FONTDLG" = "yes"; then
33497 cat >>confdefs.h <<\_ACEOF
33498#define wxUSE_FONTDLG 1
33499_ACEOF
33500
33501fi
33502
33503if test "$wxUSE_DIRDLG" = "yes"; then
33504 if test "$wxUSE_TREECTRL" != "yes"; then
33505 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33506echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33507 else
33508 cat >>confdefs.h <<\_ACEOF
33509#define wxUSE_DIRDLG 1
33510_ACEOF
33511
33512 fi
33513fi
33514
33515if test "$wxUSE_MSGDLG" = "yes"; then
33516 cat >>confdefs.h <<\_ACEOF
33517#define wxUSE_MSGDLG 1
33518_ACEOF
33519
33520fi
33521
33522if test "$wxUSE_NUMBERDLG" = "yes"; then
33523 cat >>confdefs.h <<\_ACEOF
33524#define wxUSE_NUMBERDLG 1
33525_ACEOF
33526
33527fi
33528
33529if test "$wxUSE_PROGRESSDLG" = "yes"; then
33530 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33531 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33532echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33533 else
33534 cat >>confdefs.h <<\_ACEOF
33535#define wxUSE_PROGRESSDLG 1
33536_ACEOF
33537
33538 fi
33539fi
33540
33541if test "$wxUSE_SPLASH" = "yes"; then
33542 cat >>confdefs.h <<\_ACEOF
33543#define wxUSE_SPLASH 1
33544_ACEOF
33545
33546fi
33547
33548if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33549 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33550 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33551echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33552 else
33553 cat >>confdefs.h <<\_ACEOF
33554#define wxUSE_STARTUP_TIPS 1
33555_ACEOF
33556
33557 fi
33558fi
33559
33560if test "$wxUSE_TEXTDLG" = "yes"; then
33561 cat >>confdefs.h <<\_ACEOF
33562#define wxUSE_TEXTDLG 1
33563_ACEOF
33564
33565fi
33566
33567if test "$wxUSE_WIZARDDLG" = "yes"; then
33568 cat >>confdefs.h <<\_ACEOF
33569#define wxUSE_WIZARDDLG 1
33570_ACEOF
33571
33572 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
33573fi
33574
33575
33576if test "$cross_compiling" = "yes"; then
33577 OSINFO="\"$host\""
33578else
33579 OSINFO=`uname -s -r -m`
33580 OSINFO="\"$OSINFO\""
33581fi
33582
33583cat >>confdefs.h <<_ACEOF
33584#define WXWIN_OS_DESCRIPTION $OSINFO
33585_ACEOF
33586
33587
33588
33589if test "x$prefix" != "xNONE"; then
33590 wxPREFIX=$prefix
33591else
33592 wxPREFIX=$ac_default_prefix
33593fi
33594
33595cat >>confdefs.h <<_ACEOF
33596#define wxINSTALL_PREFIX "$wxPREFIX"
33597_ACEOF
33598
33599
33600top_builddir_wxconfig=`pwd`
33601
33602
33603
33604CORE_BASE_LIBS="net base"
33605CORE_GUI_LIBS="adv core"
33606
33607if test "$wxUSE_XML" = "yes" ; then
33608 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
33609fi
33610if test "$wxUSE_ODBC" != "no" ; then
33611 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
33612 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
33613fi
33614if test "$wxUSE_HTML" = "yes" ; then
33615 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
33616fi
33617
33618if test "$wxUSE_GUI" != "yes"; then
33619 CORE_GUI_LIBS=""
33620fi
33621
33622
33623
33624
33625
33626
33627
33628
33629if test "$wxUSE_MAC" = 1 ; then
33630 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33631fi
33632if test "$wxUSE_COCOA" = 1 ; then
33633 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33634fi
33635
33636
33637LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33638
33639have_cos=0
33640have_floor=0
33641
33642for ac_func in cos
33643do
33644as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33645echo "$as_me:$LINENO: checking for $ac_func" >&5
33646echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33647if eval "test \"\${$as_ac_var+set}\" = set"; then
33648 echo $ECHO_N "(cached) $ECHO_C" >&6
33649else
33650 cat >conftest.$ac_ext <<_ACEOF
33651#line $LINENO "configure"
33652/* confdefs.h. */
33653_ACEOF
33654cat confdefs.h >>conftest.$ac_ext
33655cat >>conftest.$ac_ext <<_ACEOF
33656/* end confdefs.h. */
33657/* System header to define __stub macros and hopefully few prototypes,
33658 which can conflict with char $ac_func (); below.
33659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33660 <limits.h> exists even on freestanding compilers. */
33661#ifdef __STDC__
33662# include <limits.h>
33663#else
33664# include <assert.h>
33665#endif
33666/* Override any gcc2 internal prototype to avoid an error. */
33667#ifdef __cplusplus
33668extern "C"
33669{
33670#endif
33671/* We use char because int might match the return type of a gcc2
33672 builtin and then its argument prototype would still apply. */
33673char $ac_func ();
33674/* The GNU C library defines this for functions which it implements
33675 to always fail with ENOSYS. Some functions are actually named
33676 something starting with __ and the normal name is an alias. */
33677#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33678choke me
33679#else
33680char (*f) () = $ac_func;
33681#endif
33682#ifdef __cplusplus
33683}
33684#endif
33685
33686int
33687main ()
33688{
33689return f != $ac_func;
33690 ;
33691 return 0;
33692}
33693_ACEOF
33694rm -f conftest.$ac_objext conftest$ac_exeext
33695if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33696 (eval $ac_link) 2>&5
33697 ac_status=$?
33698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33699 (exit $ac_status); } &&
33700 { ac_try='test -s conftest$ac_exeext'
33701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33702 (eval $ac_try) 2>&5
33703 ac_status=$?
33704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33705 (exit $ac_status); }; }; then
33706 eval "$as_ac_var=yes"
33707else
33708 echo "$as_me: failed program was:" >&5
33709sed 's/^/| /' conftest.$ac_ext >&5
33710
33711eval "$as_ac_var=no"
33712fi
33713rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33714fi
33715echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33716echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33717if test `eval echo '${'$as_ac_var'}'` = yes; then
33718 cat >>confdefs.h <<_ACEOF
33719#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33720_ACEOF
33721 have_cos=1
33722fi
33723done
33724
33725
33726for ac_func in floor
33727do
33728as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33729echo "$as_me:$LINENO: checking for $ac_func" >&5
33730echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33731if eval "test \"\${$as_ac_var+set}\" = set"; then
33732 echo $ECHO_N "(cached) $ECHO_C" >&6
33733else
33734 cat >conftest.$ac_ext <<_ACEOF
33735#line $LINENO "configure"
33736/* confdefs.h. */
33737_ACEOF
33738cat confdefs.h >>conftest.$ac_ext
33739cat >>conftest.$ac_ext <<_ACEOF
33740/* end confdefs.h. */
33741/* System header to define __stub macros and hopefully few prototypes,
33742 which can conflict with char $ac_func (); below.
33743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33744 <limits.h> exists even on freestanding compilers. */
33745#ifdef __STDC__
33746# include <limits.h>
33747#else
33748# include <assert.h>
33749#endif
33750/* Override any gcc2 internal prototype to avoid an error. */
33751#ifdef __cplusplus
33752extern "C"
33753{
33754#endif
33755/* We use char because int might match the return type of a gcc2
33756 builtin and then its argument prototype would still apply. */
33757char $ac_func ();
33758/* The GNU C library defines this for functions which it implements
33759 to always fail with ENOSYS. Some functions are actually named
33760 something starting with __ and the normal name is an alias. */
33761#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33762choke me
33763#else
33764char (*f) () = $ac_func;
33765#endif
33766#ifdef __cplusplus
33767}
33768#endif
33769
33770int
33771main ()
33772{
33773return f != $ac_func;
33774 ;
33775 return 0;
33776}
33777_ACEOF
33778rm -f conftest.$ac_objext conftest$ac_exeext
33779if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33780 (eval $ac_link) 2>&5
33781 ac_status=$?
33782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33783 (exit $ac_status); } &&
33784 { ac_try='test -s conftest$ac_exeext'
33785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33786 (eval $ac_try) 2>&5
33787 ac_status=$?
33788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33789 (exit $ac_status); }; }; then
33790 eval "$as_ac_var=yes"
33791else
33792 echo "$as_me: failed program was:" >&5
33793sed 's/^/| /' conftest.$ac_ext >&5
33794
33795eval "$as_ac_var=no"
33796fi
33797rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33798fi
33799echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33800echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33801if test `eval echo '${'$as_ac_var'}'` = yes; then
33802 cat >>confdefs.h <<_ACEOF
33803#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33804_ACEOF
33805 have_floor=1
33806fi
33807done
33808
33809echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33810echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33811if test "$have_cos" = 1 -a "$have_floor" = 1; then
33812 echo "$as_me:$LINENO: result: yes" >&5
33813echo "${ECHO_T}yes" >&6
33814else
33815 echo "$as_me:$LINENO: result: no" >&5
33816echo "${ECHO_T}no" >&6
33817 LIBS="$LIBS -lm"
33818 # use different functions to avoid configure caching
33819 have_sin=0
33820 have_ceil=0
33821
33822for ac_func in sin
33823do
33824as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33825echo "$as_me:$LINENO: checking for $ac_func" >&5
33826echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33827if eval "test \"\${$as_ac_var+set}\" = set"; then
33828 echo $ECHO_N "(cached) $ECHO_C" >&6
33829else
33830 cat >conftest.$ac_ext <<_ACEOF
33831#line $LINENO "configure"
33832/* confdefs.h. */
33833_ACEOF
33834cat confdefs.h >>conftest.$ac_ext
33835cat >>conftest.$ac_ext <<_ACEOF
33836/* end confdefs.h. */
33837/* System header to define __stub macros and hopefully few prototypes,
33838 which can conflict with char $ac_func (); below.
33839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33840 <limits.h> exists even on freestanding compilers. */
33841#ifdef __STDC__
33842# include <limits.h>
33843#else
33844# include <assert.h>
33845#endif
33846/* Override any gcc2 internal prototype to avoid an error. */
33847#ifdef __cplusplus
33848extern "C"
33849{
33850#endif
33851/* We use char because int might match the return type of a gcc2
33852 builtin and then its argument prototype would still apply. */
33853char $ac_func ();
33854/* The GNU C library defines this for functions which it implements
33855 to always fail with ENOSYS. Some functions are actually named
33856 something starting with __ and the normal name is an alias. */
33857#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33858choke me
33859#else
33860char (*f) () = $ac_func;
33861#endif
33862#ifdef __cplusplus
33863}
33864#endif
33865
33866int
33867main ()
33868{
33869return f != $ac_func;
33870 ;
33871 return 0;
33872}
33873_ACEOF
33874rm -f conftest.$ac_objext conftest$ac_exeext
33875if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33876 (eval $ac_link) 2>&5
33877 ac_status=$?
33878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33879 (exit $ac_status); } &&
33880 { ac_try='test -s conftest$ac_exeext'
33881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33882 (eval $ac_try) 2>&5
33883 ac_status=$?
33884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33885 (exit $ac_status); }; }; then
33886 eval "$as_ac_var=yes"
33887else
33888 echo "$as_me: failed program was:" >&5
33889sed 's/^/| /' conftest.$ac_ext >&5
33890
33891eval "$as_ac_var=no"
33892fi
33893rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33894fi
33895echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33896echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33897if test `eval echo '${'$as_ac_var'}'` = yes; then
33898 cat >>confdefs.h <<_ACEOF
33899#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33900_ACEOF
33901 have_sin=1
33902fi
33903done
33904
33905
33906for ac_func in ceil
33907do
33908as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33909echo "$as_me:$LINENO: checking for $ac_func" >&5
33910echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33911if eval "test \"\${$as_ac_var+set}\" = set"; then
33912 echo $ECHO_N "(cached) $ECHO_C" >&6
33913else
33914 cat >conftest.$ac_ext <<_ACEOF
33915#line $LINENO "configure"
33916/* confdefs.h. */
33917_ACEOF
33918cat confdefs.h >>conftest.$ac_ext
33919cat >>conftest.$ac_ext <<_ACEOF
33920/* end confdefs.h. */
33921/* System header to define __stub macros and hopefully few prototypes,
33922 which can conflict with char $ac_func (); below.
33923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33924 <limits.h> exists even on freestanding compilers. */
33925#ifdef __STDC__
33926# include <limits.h>
33927#else
33928# include <assert.h>
33929#endif
33930/* Override any gcc2 internal prototype to avoid an error. */
33931#ifdef __cplusplus
33932extern "C"
33933{
33934#endif
33935/* We use char because int might match the return type of a gcc2
33936 builtin and then its argument prototype would still apply. */
33937char $ac_func ();
33938/* The GNU C library defines this for functions which it implements
33939 to always fail with ENOSYS. Some functions are actually named
33940 something starting with __ and the normal name is an alias. */
33941#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33942choke me
33943#else
33944char (*f) () = $ac_func;
33945#endif
33946#ifdef __cplusplus
33947}
33948#endif
33949
33950int
33951main ()
33952{
33953return f != $ac_func;
33954 ;
33955 return 0;
33956}
33957_ACEOF
33958rm -f conftest.$ac_objext conftest$ac_exeext
33959if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33960 (eval $ac_link) 2>&5
33961 ac_status=$?
33962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33963 (exit $ac_status); } &&
33964 { ac_try='test -s conftest$ac_exeext'
33965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33966 (eval $ac_try) 2>&5
33967 ac_status=$?
33968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33969 (exit $ac_status); }; }; then
33970 eval "$as_ac_var=yes"
33971else
33972 echo "$as_me: failed program was:" >&5
33973sed 's/^/| /' conftest.$ac_ext >&5
33974
33975eval "$as_ac_var=no"
33976fi
33977rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33978fi
33979echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33980echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33981if test `eval echo '${'$as_ac_var'}'` = yes; then
33982 cat >>confdefs.h <<_ACEOF
33983#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33984_ACEOF
33985 have_ceil=1
33986fi
33987done
33988
33989 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33990echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33991 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33992 echo "$as_me:$LINENO: result: yes" >&5
33993echo "${ECHO_T}yes" >&6
33994 else
33995 echo "$as_me:$LINENO: result: no" >&5
33996echo "${ECHO_T}no" >&6
33997 # not sure we should warn the user, crash, etc.
33998 fi
33999fi
34000
34001if test "$wxUSE_GUI" = "yes"; then
34002
34003
34004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
34005 drawing dynamic erase event exec font image \
34006 minimal propsize rotate shaped widgets render"
34007
34008 if test "$wxUSE_MONOLITHIC" != "yes"; then
34009 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
34010 fi
34011else
34012 SAMPLES_SUBDIRS="console"
34013fi
34014
34015
34016INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
34017-I\${top_srcdir}/include \
34018$REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
34019$TOOLKIT_INCLUDE"
34020
34021if test "$GXX" = yes ; then
34022 CXXWARNINGS="-Wall"
34023 fi
34024
34025EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
34026
34027CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
34028CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
34029CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
34030
34031
34032LIBS=`echo $LIBS | sed 's/ \+/ /g'`
34033EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
34034EXTRALIBS_XML="$EXPAT_LINK"
34035EXTRALIBS_HTML="$MSPACK_LINK"
34036EXTRALIBS_ODBC="$ODBC_LINK"
34037if test "$wxUSE_GUI" = "yes"; then
34038 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
34039fi
34040if test "$wxUSE_OPENGL" = "yes"; then
34041 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
34042fi
34043
34044LDFLAGS="$LDFLAGS $PROFILE"
34045
34046if test "$wxUSE_GTK" = 1; then
34047 WXCONFIG_INCLUDE=
34048else
34049 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
34050fi
34051
34052WXCONFIG_EXTRALIBS="$LIBS"
34053
34054if test "$wxUSE_REGEX" = "builtin" ; then
34055 wxconfig_3rdparty="$wxconfig_3rdparty regex"
34056fi
34057if test "$wxUSE_EXPAT" = "builtin" ; then
34058 wxconfig_3rdparty="$wxconfig_3rdparty expat"
34059fi
34060if test "$wxUSE_ODBC" = "builtin" ; then
34061 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
34062fi
34063if test "$wxUSE_LIBTIFF" = "builtin" ; then
34064 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
34065fi
34066if test "$wxUSE_LIBJPEG" = "builtin" ; then
34067 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
34068fi
34069if test "$wxUSE_LIBPNG" = "builtin" ; then
34070 wxconfig_3rdparty="$wxconfig_3rdparty png"
34071fi
34072if test "$wxUSE_ZLIB" = "builtin" ; then
34073 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
34074fi
34075if test "$wxUSE_ODBC" = "builtin" ; then
34076 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
34077fi
34078
34079for i in $wxconfig_3rdparty ; do
34080 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
34081done
34082
34083
34084if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
34085 WXUNIV=1
34086else
34087 WXUNIV=0
34088fi
34089
34090
34091
34092
34093
34094
34095
34096
34097
34098if test $wxUSE_MONOLITHIC = "yes" ; then
34099 MONOLITHIC=1
34100else
34101 MONOLITHIC=0
34102fi
34103
34104if test $wxUSE_ODBC != "no" ; then
34105 USE_ODBC=1
34106else
34107 USE_ODBC=0
34108fi
34109
34110if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
34111 OFFICIAL_BUILD=1
34112else
34113 OFFICIAL_BUILD=0
34114fi
34115
34116
34117
34118
34119
34120
34121
34122
34123
34124
34125
34126
34127
34128
34129
34130
34131
34132
34133TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
34134
34135
34136
34137
34138
34139
34140
34141 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
34142
34143 if test -n "$ac_tool_prefix"; then
34144 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
34145set dummy ${ac_tool_prefix}ranlib; ac_word=$2
34146echo "$as_me:$LINENO: checking for $ac_word" >&5
34147echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34148if test "${ac_cv_prog_RANLIB+set}" = set; then
34149 echo $ECHO_N "(cached) $ECHO_C" >&6
34150else
34151 if test -n "$RANLIB"; then
34152 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
34153else
34154as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34155for as_dir in $PATH
34156do
34157 IFS=$as_save_IFS
34158 test -z "$as_dir" && as_dir=.
34159 for ac_exec_ext in '' $ac_executable_extensions; do
34160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34161 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
34162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34163 break 2
34164 fi
34165done
34166done
34167
34168fi
34169fi
34170RANLIB=$ac_cv_prog_RANLIB
34171if test -n "$RANLIB"; then
34172 echo "$as_me:$LINENO: result: $RANLIB" >&5
34173echo "${ECHO_T}$RANLIB" >&6
34174else
34175 echo "$as_me:$LINENO: result: no" >&5
34176echo "${ECHO_T}no" >&6
34177fi
34178
34179fi
34180if test -z "$ac_cv_prog_RANLIB"; then
34181 ac_ct_RANLIB=$RANLIB
34182 # Extract the first word of "ranlib", so it can be a program name with args.
34183set dummy ranlib; ac_word=$2
34184echo "$as_me:$LINENO: checking for $ac_word" >&5
34185echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34186if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
34187 echo $ECHO_N "(cached) $ECHO_C" >&6
34188else
34189 if test -n "$ac_ct_RANLIB"; then
34190 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
34191else
34192as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34193for as_dir in $PATH
34194do
34195 IFS=$as_save_IFS
34196 test -z "$as_dir" && as_dir=.
34197 for ac_exec_ext in '' $ac_executable_extensions; do
34198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34199 ac_cv_prog_ac_ct_RANLIB="ranlib"
34200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34201 break 2
34202 fi
34203done
34204done
34205
34206 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
34207fi
34208fi
34209ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
34210if test -n "$ac_ct_RANLIB"; then
34211 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
34212echo "${ECHO_T}$ac_ct_RANLIB" >&6
34213else
34214 echo "$as_me:$LINENO: result: no" >&5
34215echo "${ECHO_T}no" >&6
34216fi
34217
34218 RANLIB=$ac_ct_RANLIB
34219else
34220 RANLIB="$ac_cv_prog_RANLIB"
34221fi
34222
34223 # Find a good install program. We prefer a C program (faster),
34224# so one script is as good as another. But avoid the broken or
34225# incompatible versions:
34226# SysV /etc/install, /usr/sbin/install
34227# SunOS /usr/etc/install
34228# IRIX /sbin/install
34229# AIX /bin/install
34230# AmigaOS /C/install, which installs bootblocks on floppy discs
34231# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34232# AFS /usr/afsws/bin/install, which mishandles nonexistent args
34233# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34234# ./install, which can be erroneously created by make from ./install.sh.
34235echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34236echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34237if test -z "$INSTALL"; then
34238if test "${ac_cv_path_install+set}" = set; then
34239 echo $ECHO_N "(cached) $ECHO_C" >&6
34240else
34241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34242for as_dir in $PATH
34243do
34244 IFS=$as_save_IFS
34245 test -z "$as_dir" && as_dir=.
34246 # Account for people who put trailing slashes in PATH elements.
34247case $as_dir/ in
34248 ./ | .// | /cC/* | \
34249 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
34250 /usr/ucb/* ) ;;
34251 *)
34252 # OSF1 and SCO ODT 3.0 have their own names for install.
34253 # Don't use installbsd from OSF since it installs stuff as root
34254 # by default.
34255 for ac_prog in ginstall scoinst install; do
34256 for ac_exec_ext in '' $ac_executable_extensions; do
34257 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34258 if test $ac_prog = install &&
34259 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34260 # AIX install. It has an incompatible calling convention.
34261 :
34262 elif test $ac_prog = install &&
34263 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34264 # program-specific install script used by HP pwplus--don't use.
34265 :
34266 else
34267 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
34268 break 3
34269 fi
34270 fi
34271 done
34272 done
34273 ;;
34274esac
34275done
34276
34277
34278fi
34279 if test "${ac_cv_path_install+set}" = set; then
34280 INSTALL=$ac_cv_path_install
34281 else
34282 # As a last resort, use the slow shell script. We don't cache a
34283 # path for INSTALL within a source directory, because that will
34284 # break other packages using the cache if that directory is
34285 # removed, or if the path is relative.
34286 INSTALL=$ac_install_sh
34287 fi
34288fi
34289echo "$as_me:$LINENO: result: $INSTALL" >&5
34290echo "${ECHO_T}$INSTALL" >&6
34291
34292# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34293# It thinks the first close brace ends the variable substitution.
34294test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
34295
34296test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
34297
34298test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
34299
34300 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34301echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34302LN_S=$as_ln_s
34303if test "$LN_S" = "ln -s"; then
34304 echo "$as_me:$LINENO: result: yes" >&5
34305echo "${ECHO_T}yes" >&6
34306else
34307 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34308echo "${ECHO_T}no, using $LN_S" >&6
34309fi
34310
34311
34312 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34313echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34314set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34315if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34316 echo $ECHO_N "(cached) $ECHO_C" >&6
34317else
34318 cat >conftest.make <<\_ACEOF
34319all:
34320 @echo 'ac_maketemp="$(MAKE)"'
34321_ACEOF
34322# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34323eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34324if test -n "$ac_maketemp"; then
34325 eval ac_cv_prog_make_${ac_make}_set=yes
34326else
34327 eval ac_cv_prog_make_${ac_make}_set=no
34328fi
34329rm -f conftest.make
34330fi
34331if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34332 echo "$as_me:$LINENO: result: yes" >&5
34333echo "${ECHO_T}yes" >&6
34334 SET_MAKE=
34335else
34336 echo "$as_me:$LINENO: result: no" >&5
34337echo "${ECHO_T}no" >&6
34338 SET_MAKE="MAKE=${MAKE-make}"
34339fi
34340
34341
34342
34343 if test -n "$ac_tool_prefix"; then
34344 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
34345set dummy ${ac_tool_prefix}ar; ac_word=$2
34346echo "$as_me:$LINENO: checking for $ac_word" >&5
34347echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34348if test "${ac_cv_prog_AR+set}" = set; then
34349 echo $ECHO_N "(cached) $ECHO_C" >&6
34350else
34351 if test -n "$AR"; then
34352 ac_cv_prog_AR="$AR" # Let the user override the test.
34353else
34354as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34355for as_dir in $PATH
34356do
34357 IFS=$as_save_IFS
34358 test -z "$as_dir" && as_dir=.
34359 for ac_exec_ext in '' $ac_executable_extensions; do
34360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34361 ac_cv_prog_AR="${ac_tool_prefix}ar"
34362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34363 break 2
34364 fi
34365done
34366done
34367
34368fi
34369fi
34370AR=$ac_cv_prog_AR
34371if test -n "$AR"; then
34372 echo "$as_me:$LINENO: result: $AR" >&5
34373echo "${ECHO_T}$AR" >&6
34374else
34375 echo "$as_me:$LINENO: result: no" >&5
34376echo "${ECHO_T}no" >&6
34377fi
34378
34379fi
34380if test -z "$ac_cv_prog_AR"; then
34381 ac_ct_AR=$AR
34382 # Extract the first word of "ar", so it can be a program name with args.
34383set dummy ar; ac_word=$2
34384echo "$as_me:$LINENO: checking for $ac_word" >&5
34385echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34386if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
34387 echo $ECHO_N "(cached) $ECHO_C" >&6
34388else
34389 if test -n "$ac_ct_AR"; then
34390 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
34391else
34392as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34393for as_dir in $PATH
34394do
34395 IFS=$as_save_IFS
34396 test -z "$as_dir" && as_dir=.
34397 for ac_exec_ext in '' $ac_executable_extensions; do
34398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34399 ac_cv_prog_ac_ct_AR="ar"
34400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34401 break 2
34402 fi
34403done
34404done
34405
34406 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
34407fi
34408fi
34409ac_ct_AR=$ac_cv_prog_ac_ct_AR
34410if test -n "$ac_ct_AR"; then
34411 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
34412echo "${ECHO_T}$ac_ct_AR" >&6
34413else
34414 echo "$as_me:$LINENO: result: no" >&5
34415echo "${ECHO_T}no" >&6
34416fi
34417
34418 AR=$ac_ct_AR
34419else
34420 AR="$ac_cv_prog_AR"
34421fi
34422
34423 if test -n "$ac_tool_prefix"; then
34424 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
34425set dummy ${ac_tool_prefix}strip; ac_word=$2
34426echo "$as_me:$LINENO: checking for $ac_word" >&5
34427echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34428if test "${ac_cv_prog_STRIP+set}" = set; then
34429 echo $ECHO_N "(cached) $ECHO_C" >&6
34430else
34431 if test -n "$STRIP"; then
34432 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
34433else
34434as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34435for as_dir in $PATH
34436do
34437 IFS=$as_save_IFS
34438 test -z "$as_dir" && as_dir=.
34439 for ac_exec_ext in '' $ac_executable_extensions; do
34440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34441 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
34442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34443 break 2
34444 fi
34445done
34446done
34447
34448fi
34449fi
34450STRIP=$ac_cv_prog_STRIP
34451if test -n "$STRIP"; then
34452 echo "$as_me:$LINENO: result: $STRIP" >&5
34453echo "${ECHO_T}$STRIP" >&6
34454else
34455 echo "$as_me:$LINENO: result: no" >&5
34456echo "${ECHO_T}no" >&6
34457fi
34458
34459fi
34460if test -z "$ac_cv_prog_STRIP"; then
34461 ac_ct_STRIP=$STRIP
34462 # Extract the first word of "strip", so it can be a program name with args.
34463set dummy strip; ac_word=$2
34464echo "$as_me:$LINENO: checking for $ac_word" >&5
34465echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34466if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
34467 echo $ECHO_N "(cached) $ECHO_C" >&6
34468else
34469 if test -n "$ac_ct_STRIP"; then
34470 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
34471else
34472as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34473for as_dir in $PATH
34474do
34475 IFS=$as_save_IFS
34476 test -z "$as_dir" && as_dir=.
34477 for ac_exec_ext in '' $ac_executable_extensions; do
34478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34479 ac_cv_prog_ac_ct_STRIP="strip"
34480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34481 break 2
34482 fi
34483done
34484done
34485
34486 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
34487fi
34488fi
34489ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
34490if test -n "$ac_ct_STRIP"; then
34491 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
34492echo "${ECHO_T}$ac_ct_STRIP" >&6
34493else
34494 echo "$as_me:$LINENO: result: no" >&5
34495echo "${ECHO_T}no" >&6
34496fi
34497
34498 STRIP=$ac_ct_STRIP
34499else
34500 STRIP="$ac_cv_prog_STRIP"
34501fi
34502
34503 if test -n "$ac_tool_prefix"; then
34504 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
34505set dummy ${ac_tool_prefix}nm; ac_word=$2
34506echo "$as_me:$LINENO: checking for $ac_word" >&5
34507echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34508if test "${ac_cv_prog_NM+set}" = set; then
34509 echo $ECHO_N "(cached) $ECHO_C" >&6
34510else
34511 if test -n "$NM"; then
34512 ac_cv_prog_NM="$NM" # Let the user override the test.
34513else
34514as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34515for as_dir in $PATH
34516do
34517 IFS=$as_save_IFS
34518 test -z "$as_dir" && as_dir=.
34519 for ac_exec_ext in '' $ac_executable_extensions; do
34520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34521 ac_cv_prog_NM="${ac_tool_prefix}nm"
34522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34523 break 2
34524 fi
34525done
34526done
34527
34528fi
34529fi
34530NM=$ac_cv_prog_NM
34531if test -n "$NM"; then
34532 echo "$as_me:$LINENO: result: $NM" >&5
34533echo "${ECHO_T}$NM" >&6
34534else
34535 echo "$as_me:$LINENO: result: no" >&5
34536echo "${ECHO_T}no" >&6
34537fi
34538
34539fi
34540if test -z "$ac_cv_prog_NM"; then
34541 ac_ct_NM=$NM
34542 # Extract the first word of "nm", so it can be a program name with args.
34543set dummy nm; ac_word=$2
34544echo "$as_me:$LINENO: checking for $ac_word" >&5
34545echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34546if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
34547 echo $ECHO_N "(cached) $ECHO_C" >&6
34548else
34549 if test -n "$ac_ct_NM"; then
34550 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
34551else
34552as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34553for as_dir in $PATH
34554do
34555 IFS=$as_save_IFS
34556 test -z "$as_dir" && as_dir=.
34557 for ac_exec_ext in '' $ac_executable_extensions; do
34558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34559 ac_cv_prog_ac_ct_NM="nm"
34560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34561 break 2
34562 fi
34563done
34564done
34565
34566 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
34567fi
34568fi
34569ac_ct_NM=$ac_cv_prog_ac_ct_NM
34570if test -n "$ac_ct_NM"; then
34571 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
34572echo "${ECHO_T}$ac_ct_NM" >&6
34573else
34574 echo "$as_me:$LINENO: result: no" >&5
34575echo "${ECHO_T}no" >&6
34576fi
34577
34578 NM=$ac_ct_NM
34579else
34580 NM="$ac_cv_prog_NM"
34581fi
34582
34583
34584 case ${host} in
34585 *-hp-hpux* )
34586 INSTALL_DIR="mkdir"
34587 ;;
34588 *) INSTALL_DIR="$INSTALL -d"
34589 ;;
34590 esac
34591
34592
34593 LDFLAGS_GUI=
34594 case ${host} in
34595 *-*-cygwin* | *-*-mingw32* )
34596 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
34597 esac
34598
34599
34600 fi
34601
34602 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34603echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34604if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34605 echo $ECHO_N "(cached) $ECHO_C" >&6
34606else
34607
34608 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
34609 egrep -s GNU > /dev/null); then
34610 bakefile_cv_prog_makeisgnu="yes"
34611 else
34612 bakefile_cv_prog_makeisgnu="no"
34613 fi
34614
34615fi
34616echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34617echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34618
34619 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34620 IF_GNU_MAKE=""
34621 else
34622 IF_GNU_MAKE="#"
34623 fi
34624
34625
34626
34627 PLATFORM_UNIX=0
34628 PLATFORM_WIN32=0
34629 PLATFORM_MSDOS=0
34630 PLATFORM_MAC=0
34631 PLATFORM_MACOSX=0
34632 PLATFORM_OS2=0
34633
34634 case "${host}" in
34635 *-*-cygwin* | *-*-mingw32* )
34636 PLATFORM_WIN32=1
34637 ;;
34638 *-pc-msdosdjgpp )
34639 PLATFORM_MSDOS=1
34640 ;;
34641 *-pc-os2_emx | *-pc-os2-emx )
34642 PLATFORM_OS2=1
34643 ;;
34644 powerpc-*-darwin* )
34645 PLATFORM_MAC=1
34646 PLATFORM_MACOSX=1
34647 ;;
34648 * )
34649 PLATFORM_UNIX=1
34650 ;;
34651 esac
34652
34653
34654
34655
34656
34657
34658
34659
34660
34661 SO_SUFFIX="so"
34662 SO_SUFFIX_MODULE="so"
34663 EXEEXT=""
34664 LIBPREFIX=lib
34665 DLLPREFIX=lib
34666 DLLPREFIX_MODULE=
34667
34668 case "${host}" in
34669 *-hp-hpux* )
34670 SO_SUFFIX="sl"
34671 SO_SUFFIX_MODULE="sl"
34672 ;;
34673 *-*-aix* )
34674 SO_SUFFIX="a"
34675 SO_SUFFIX_MODULE="a"
34676 ;;
34677 *-*-cygwin* | *-*-mingw32* )
34678 SO_SUFFIX="dll"
34679 SO_SUFFIX_MODULE="dll"
34680 EXEEXT=".exe"
34681 DLLPREFIX=""
34682 ;;
34683 *-pc-msdosdjgpp )
34684 EXEEXT=".exe"
34685 DLLPREFIX=""
34686 ;;
34687 *-pc-os2_emx | *-pc-os2-emx )
34688 EXEEXT=".exe"
34689 DLLPREFIX=""
34690 LIBPREFIX=""
34691 ;;
34692 powerpc-*-darwin* )
34693 SO_SUFFIX="dylib"
34694 SO_SUFFIX_MODULE="bundle"
34695 ;;
34696 esac
34697
34698
34699
34700
34701
34702
34703
34704
34705
34706 SHARED_LD_CC="\$(CC) -shared -o"
34707 SHARED_LD_CXX="\$(CXX) -shared -o"
34708
34709 if test "x$GCC" = "xyes"; then
34710 PIC_FLAG="-fPIC"
34711 fi
34712
34713 case "${host}" in
34714 *-hp-hpux* )
34715 if test "x$GCC" = "xyes"; then
34716 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
34717 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
34718 else
34719 LDFLAGS="$LDFLAGS -L/usr/lib"
34720
34721 SHARED_LD_CC="${CC} -b -o"
34722 SHARED_LD_CXX="${CXX} -b -o"
34723 PIC_FLAG="+Z"
34724 fi
34725 ;;
34726
34727 *-*-linux* )
34728 if test "x$GCC" != "xyes"; then
34729 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34730echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34731if test "${bakefile_cv_prog_icc+set}" = set; then
34732 echo $ECHO_N "(cached) $ECHO_C" >&6
34733else
34734
34735 cat >conftest.$ac_ext <<_ACEOF
34736#line $LINENO "configure"
34737/* confdefs.h. */
34738_ACEOF
34739cat confdefs.h >>conftest.$ac_ext
34740cat >>conftest.$ac_ext <<_ACEOF
34741/* end confdefs.h. */
34742
34743int
34744main ()
34745{
34746
34747 #ifndef __INTEL_COMPILER
34748 #error Not icc
34749 #endif
34750
34751 ;
34752 return 0;
34753}
34754_ACEOF
34755rm -f conftest.$ac_objext
34756if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34757 (eval $ac_compile) 2>&5
34758 ac_status=$?
34759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34760 (exit $ac_status); } &&
34761 { ac_try='test -s conftest.$ac_objext'
34762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34763 (eval $ac_try) 2>&5
34764 ac_status=$?
34765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34766 (exit $ac_status); }; }; then
34767 bakefile_cv_prog_icc=yes
34768else
34769 echo "$as_me: failed program was:" >&5
34770sed 's/^/| /' conftest.$ac_ext >&5
34771
34772bakefile_cv_prog_icc=no
34773
34774fi
34775rm -f conftest.$ac_objext conftest.$ac_ext
34776
34777fi
34778echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34779echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34780 if test "$bakefile_cv_prog_icc" = "yes"; then
34781 PIC_FLAG="-KPIC"
34782 fi
34783 fi
34784 ;;
34785
34786 *-*-solaris2* )
34787 if test "x$GCC" != xyes ; then
34788 SHARED_LD_CC="${CC} -G -o"
34789 SHARED_LD_CXX="${CXX} -G -o"
34790 PIC_FLAG="-KPIC"
34791 fi
34792 ;;
34793
34794 *-*-darwin* )
34795 CFLAGS="$CFLAGS -fno-common"
34796 CXXFLAGS="$CXXFLAGS -fno-common"
34797
34798
34799 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
34800echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
34801if test "${wx_cv_gcc31+set}" = set; then
34802 echo $ECHO_N "(cached) $ECHO_C" >&6
34803else
34804
34805 cat >conftest.$ac_ext <<_ACEOF
34806#line $LINENO "configure"
34807/* confdefs.h. */
34808_ACEOF
34809cat confdefs.h >>conftest.$ac_ext
34810cat >>conftest.$ac_ext <<_ACEOF
34811/* end confdefs.h. */
34812
34813int
34814main ()
34815{
34816
34817 #if (__GNUC__ < 3) || \
34818 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
34819 #error old gcc
34820 #endif
34821
34822 ;
34823 return 0;
34824}
34825_ACEOF
34826rm -f conftest.$ac_objext
34827if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34828 (eval $ac_compile) 2>&5
34829 ac_status=$?
34830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34831 (exit $ac_status); } &&
34832 { ac_try='test -s conftest.$ac_objext'
34833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34834 (eval $ac_try) 2>&5
34835 ac_status=$?
34836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34837 (exit $ac_status); }; }; then
34838
34839 wx_cv_gcc31=yes
34840
34841else
34842 echo "$as_me: failed program was:" >&5
34843sed 's/^/| /' conftest.$ac_ext >&5
34844
34845
34846 wx_cv_gcc31=no
34847
34848
34849fi
34850rm -f conftest.$ac_objext conftest.$ac_ext
34851
34852fi
34853echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
34854echo "${ECHO_T}$wx_cv_gcc31" >&6
34855 if test "$wx_cv_gcc31" = "no"; then
34856 cat <<EOF >shared-ld-sh
34857#!/bin/sh
34858#-----------------------------------------------------------------------------
34859#-- Name: distrib/mac/shared-ld-sh
34860#-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34861#-- Author: Gilles Depeyrot
34862#-- Copyright: (c) 2002 Gilles Depeyrot
34863#-- Licence: any use permitted
34864#-----------------------------------------------------------------------------
34865
34866verbose=0
34867args=""
34868objects=""
34869linking_flag="-dynamiclib"
34870
34871while test \${#} -gt 0; do
34872 case \${1} in
34873
34874 -v)
34875 verbose=1
34876 ;;
34877
34878 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34879 # collect these options and values
34880 args="\${args} \${1} \${2}"
34881 shift
34882 ;;
34883
34884 -l*|-L*|-flat_namespace)
34885 # collect these options
34886 args="\${args} \${1}"
34887 ;;
34888
34889 -dynamiclib|-bundle)
34890 linking_flag="\${1}"
34891 ;;
34892
34893 -*)
34894 echo "shared-ld: unhandled option '\${1}'"
34895 exit 1
34896 ;;
34897
34898 *.o | *.a | *.dylib)
34899 # collect object files
34900 objects="\${objects} \${1}"
34901 ;;
34902
34903 *)
34904 echo "shared-ld: unhandled argument '\${1}'"
34905 exit 1
34906 ;;
34907
34908 esac
34909 shift
34910done
34911
34912#
34913# Link one module containing all the others
34914#
34915if test \${verbose} = 1; then
34916 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34917fi
34918c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34919status=\$?
34920if test \${status} != 0; then
34921 exit \${status}
34922fi
34923
34924#
34925# Link the shared library from the single module created
34926#
34927if test \${verbose} = 1; then
34928 echo "cc \${linking_flag} master.\$\$.o \${args}"
34929fi
34930c++ \${linking_flag} master.\$\$.o \${args}
34931status=\$?
34932if test \${status} != 0; then
34933 exit \${status}
34934fi
34935
34936#
34937# Remove intermediate module
34938#
34939rm -f master.\$\$.o
34940
34941exit 0
34942EOF
34943 chmod +x shared-ld-sh
34944
34945 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
34946 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
34947 SHARED_LD_CXX="$SHARED_LD_CC"
34948 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
34949 else
34950 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
34951 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
34952 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
34953 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
34954 fi
34955
34956 PIC_FLAG="-dynamic -fPIC"
34957 ;;
34958
34959 *-*-aix* )
34960 if test "x$GCC" != "xyes"; then
34961 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34962set dummy makeC++SharedLib; ac_word=$2
34963echo "$as_me:$LINENO: checking for $ac_word" >&5
34964echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34965if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34966 echo $ECHO_N "(cached) $ECHO_C" >&6
34967else
34968 if test -n "$AIX_CXX_LD"; then
34969 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34970else
34971as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34972for as_dir in $PATH
34973do
34974 IFS=$as_save_IFS
34975 test -z "$as_dir" && as_dir=.
34976 for ac_exec_ext in '' $ac_executable_extensions; do
34977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34978 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
34979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34980 break 2
34981 fi
34982done
34983done
34984
34985 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
34986fi
34987fi
34988AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
34989if test -n "$AIX_CXX_LD"; then
34990 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34991echo "${ECHO_T}$AIX_CXX_LD" >&6
34992else
34993 echo "$as_me:$LINENO: result: no" >&5
34994echo "${ECHO_T}no" >&6
34995fi
34996
34997 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
34998 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
34999 fi
35000 ;;
35001
35002 *-*-beos* )
35003 SHARED_LD_CC="${LD} -shared -o"
35004 SHARED_LD_CXX="${LD} -shared -o"
35005 ;;
35006
35007 *-*-irix* )
35008 if test "x$GCC" != "xyes"; then
35009 PIC_FLAG="-KPIC"
35010 fi
35011 ;;
35012
35013 *-*-cygwin* | *-*-mingw32* )
35014 PIC_FLAG=""
35015 ;;
35016
35017 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
35018 *-*-sunos4* | \
35019 *-*-osf* | \
35020 *-*-dgux5* | \
35021 *-pc-os2_emx | *-pc-os2-emx | \
35022 *-*-sysv5* )
35023 ;;
35024
35025 *)
35026 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
35027echo "$as_me: error: unknown system type $host." >&2;}
35028 { (exit 1); exit 1; }; }
35029 esac
35030
35031 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
35032 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
35033 fi
35034 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
35035 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
35036 fi
35037
35038
35039
35040
35041
35042
35043
35044
35045 USE_SOVERSION=0
35046 USE_SOVERLINUX=0
35047 USE_SOVERSOLARIS=0
35048 USE_SOSYMLINKS=0
35049 USE_MACVERSION=0
35050 SONAME_FLAG=
35051
35052 case "${host}" in
35053 *-*-linux* )
35054 SONAME_FLAG="-Wl,-soname,"
35055 USE_SOVERSION=1
35056 USE_SOVERLINUX=1
35057 USE_SOSYMLINKS=1
35058 ;;
35059
35060 *-*-solaris2* )
35061 SONAME_FLAG="-h "
35062 USE_SOVERSION=1
35063 USE_SOVERSOLARIS=1
35064 USE_SOSYMLINKS=1
35065 ;;
35066
35067 *-*-darwin* )
35068 USE_MACVERSION=1
35069 USE_SOVERSION=1
35070 USE_SOSYMLINKS=1
35071 ;;
35072 esac
35073
35074
35075
35076
35077
35078
35079
35080
35081
35082 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
35083echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
35084 DEPS_TRACKING=0
35085
35086 if test "x$GCC" = "xyes"; then
35087 DEPSMODE=gcc
35088 DEPS_TRACKING=1
35089 case "${host}" in
35090 powerpc-*-darwin* )
35091 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
35092 ;;
35093 * )
35094 DEPSFLAG_GCC="-MMD"
35095 ;;
35096 esac
35097 echo "$as_me:$LINENO: result: gcc" >&5
35098echo "${ECHO_T}gcc" >&6
35099 else
35100 echo "$as_me:$LINENO: result: none" >&5
35101echo "${ECHO_T}none" >&6
35102 fi
35103
35104 if test $DEPS_TRACKING = 1 ; then
35105 cat <<EOF >bk-deps
35106#!/bin/sh
35107
35108# This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35109# script. It is used to track C/C++ files dependencies in portable way.
35110#
35111# Permission is given to use this file in any way.
35112
35113DEPSMODE=$DEPSMODE
35114DEPSDIR=.deps
35115DEPSFLAG_GCC="$DEPSFLAG_GCC"
35116
35117mkdir -p \$DEPSDIR
35118
35119if test \$DEPSMODE = gcc ; then
35120 \${*} \${DEPSFLAG_GCC}
35121 status=\${?}
35122 if test \${status} != 0 ; then
35123 exit \${status}
35124 fi
35125 # move created file to the location we want it in:
35126 while test \${#} -gt 0; do
35127 case "\${1}" in
35128 -o )
35129 shift
35130 objfile=\${1}
35131 ;;
35132 -* )
35133 ;;
35134 * )
35135 srcfile=\${1}
35136 ;;
35137 esac
35138 shift
35139 done
35140 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
35141 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
35142 if test -f \$depfile ; then
35143 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
35144 rm -f \$depfile
35145 else
35146 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
35147 if test -f \$depfile ; then
35148 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
35149 rm -f \$depfile
35150 fi
35151 fi
35152 exit 0
35153else
35154 \${*}
35155 exit \${?}
35156fi
35157EOF
35158 chmod +x bk-deps
35159 fi
35160
35161
35162
35163
35164 RESCOMP=
35165 SETFILE=
35166
35167 case ${host} in
35168 *-*-cygwin* | *-*-mingw32* )
35169 if test "$build" != "$host" ; then
35170 RESCOMP=$host_alias-windres
35171 else
35172 # Extract the first word of "windres", so it can be a program name with args.
35173set dummy windres; ac_word=$2
35174echo "$as_me:$LINENO: checking for $ac_word" >&5
35175echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35176if test "${ac_cv_prog_RESCOMP+set}" = set; then
35177 echo $ECHO_N "(cached) $ECHO_C" >&6
35178else
35179 if test -n "$RESCOMP"; then
35180 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
35181else
35182as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35183for as_dir in $PATH
35184do
35185 IFS=$as_save_IFS
35186 test -z "$as_dir" && as_dir=.
35187 for ac_exec_ext in '' $ac_executable_extensions; do
35188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35189 ac_cv_prog_RESCOMP="windres"
35190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35191 break 2
35192 fi
35193done
35194done
35195
35196 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
35197fi
35198fi
35199RESCOMP=$ac_cv_prog_RESCOMP
35200if test -n "$RESCOMP"; then
35201 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35202echo "${ECHO_T}$RESCOMP" >&6
35203else
35204 echo "$as_me:$LINENO: result: no" >&5
35205echo "${ECHO_T}no" >&6
35206fi
35207
35208 fi
35209 ;;
35210
35211 *-*-darwin* )
35212 # Extract the first word of "Rez", so it can be a program name with args.
35213set dummy Rez; ac_word=$2
35214echo "$as_me:$LINENO: checking for $ac_word" >&5
35215echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35216if test "${ac_cv_prog_RESCOMP+set}" = set; then
35217 echo $ECHO_N "(cached) $ECHO_C" >&6
35218else
35219 if test -n "$RESCOMP"; then
35220 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
35221else
35222as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35223for as_dir in $PATH
35224do
35225 IFS=$as_save_IFS
35226 test -z "$as_dir" && as_dir=.
35227 for ac_exec_ext in '' $ac_executable_extensions; do
35228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35229 ac_cv_prog_RESCOMP="Rez"
35230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35231 break 2
35232 fi
35233done
35234done
35235
35236 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
35237fi
35238fi
35239RESCOMP=$ac_cv_prog_RESCOMP
35240if test -n "$RESCOMP"; then
35241 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35242echo "${ECHO_T}$RESCOMP" >&6
35243else
35244 echo "$as_me:$LINENO: result: no" >&5
35245echo "${ECHO_T}no" >&6
35246fi
35247
35248 # Extract the first word of "SetFile", so it can be a program name with args.
35249set dummy SetFile; ac_word=$2
35250echo "$as_me:$LINENO: checking for $ac_word" >&5
35251echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35252if test "${ac_cv_prog_SETFILE+set}" = set; then
35253 echo $ECHO_N "(cached) $ECHO_C" >&6
35254else
35255 if test -n "$SETFILE"; then
35256 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
35257else
35258as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35259for as_dir in $PATH
35260do
35261 IFS=$as_save_IFS
35262 test -z "$as_dir" && as_dir=.
35263 for ac_exec_ext in '' $ac_executable_extensions; do
35264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35265 ac_cv_prog_SETFILE="SetFile"
35266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35267 break 2
35268 fi
35269done
35270done
35271
35272 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
35273fi
35274fi
35275SETFILE=$ac_cv_prog_SETFILE
35276if test -n "$SETFILE"; then
35277 echo "$as_me:$LINENO: result: $SETFILE" >&5
35278echo "${ECHO_T}$SETFILE" >&6
35279else
35280 echo "$as_me:$LINENO: result: no" >&5
35281echo "${ECHO_T}no" >&6
35282fi
35283
35284 ;;
35285 esac
35286
35287
35288
35289
35290
35291
35292
35293
35294 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
35295if test "${enable_precomp_headers+set}" = set; then
35296 enableval="$enable_precomp_headers"
35297 bk_use_pch="$enableval"
35298fi;
35299
35300 GCC_PCH=0
35301
35302 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
35303 if test "x$GCC" = "xyes"; then
35304 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
35305echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
35306 cat >conftest.$ac_ext <<_ACEOF
35307#line $LINENO "configure"
35308/* confdefs.h. */
35309_ACEOF
35310cat confdefs.h >>conftest.$ac_ext
35311cat >>conftest.$ac_ext <<_ACEOF
35312/* end confdefs.h. */
35313
35314int
35315main ()
35316{
35317
35318 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
35319 #error "no pch support"
35320 #endif
35321 #if (__GNUC__ < 3)
35322 #error "no pch support"
35323 #endif
35324 #if (__GNUC__ == 3) && \
35325 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
35326 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
35327 #error "no pch support"
35328 #endif
35329
35330 ;
35331 return 0;
35332}
35333_ACEOF
35334rm -f conftest.$ac_objext
35335if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35336 (eval $ac_compile) 2>&5
35337 ac_status=$?
35338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35339 (exit $ac_status); } &&
35340 { ac_try='test -s conftest.$ac_objext'
35341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35342 (eval $ac_try) 2>&5
35343 ac_status=$?
35344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35345 (exit $ac_status); }; }; then
35346
35347 echo "$as_me:$LINENO: result: yes" >&5
35348echo "${ECHO_T}yes" >&6
35349 CPPFLAGS="-fpch-deps $CPPFLAGS"
35350 GCC_PCH=1
35351
35352else
35353 echo "$as_me: failed program was:" >&5
35354sed 's/^/| /' conftest.$ac_ext >&5
35355
35356
35357 echo "$as_me:$LINENO: result: no" >&5
35358echo "${ECHO_T}no" >&6
35359
35360fi
35361rm -f conftest.$ac_objext conftest.$ac_ext
35362 if test $GCC_PCH = 1 ; then
35363 cat <<EOF >bk-make-pch
35364#!/bin/sh
35365
35366# This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35367# script. It is used to generated precompiled headers.
35368#
35369# Permission is given to use this file in any way.
35370
35371outfile="\${1}"
35372header="\${2}"
35373shift
35374shift
35375
35376compiler=
35377headerfile=
35378while test \${#} -gt 0; do
35379 case "\${1}" in
35380 -I* )
35381 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
35382 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
35383 headerfile="\${incdir}/\${header}"
35384 fi
35385 ;;
35386 esac
35387 compiler="\${compiler} \${1}"
35388 shift
35389done
35390
35391if test "x\${headerfile}" = "x" ; then
35392 echo "error: can't find header \${header} in include paths" >2
35393else
35394 if test -f \${outfile} ; then
35395 rm -f \${outfile}
35396 else
35397 mkdir -p \`dirname \${outfile}\`
35398 fi
35399 depsfile=".deps/\`basename \${outfile}\`.d"
35400 mkdir -p .deps
35401 # can do this because gcc is >= 3.4:
35402 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
35403 exit \${?}
35404fi
35405EOF
35406 chmod +x bk-make-pch
35407 fi
35408 fi
35409 fi
35410
35411
35412
35413
35414
35415 COND_BUILD_DEBUG="#"
35416 if test "x$BUILD" = "xdebug" ; then
35417 COND_BUILD_DEBUG=""
35418 fi
35419
35420 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
35421 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
35422 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
35423 fi
35424
35425 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
35426 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
35427 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
35428 fi
35429
35430 COND_BUILD_RELEASE="#"
35431 if test "x$BUILD" = "xrelease" ; then
35432 COND_BUILD_RELEASE=""
35433 fi
35434
35435 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
35436 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
35437 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
35438 fi
35439
35440 COND_DEBUG_FLAG_1="#"
35441 if test "x$DEBUG_FLAG" = "x1" ; then
35442 COND_DEBUG_FLAG_1=""
35443 fi
35444
35445 COND_DEBUG_INFO_0="#"
35446 if test "x$DEBUG_INFO" = "x0" ; then
35447 COND_DEBUG_INFO_0=""
35448 fi
35449
35450 COND_DEBUG_INFO_1="#"
35451 if test "x$DEBUG_INFO" = "x1" ; then
35452 COND_DEBUG_INFO_1=""
35453 fi
35454
35455 COND_DEPS_TRACKING_0="#"
35456 if test "x$DEPS_TRACKING" = "x0" ; then
35457 COND_DEPS_TRACKING_0=""
35458 fi
35459
35460 COND_DEPS_TRACKING_1="#"
35461 if test "x$DEPS_TRACKING" = "x1" ; then
35462 COND_DEPS_TRACKING_1=""
35463 fi
35464
35465 COND_GCC_PCH_1="#"
35466 if test "x$GCC_PCH" = "x1" ; then
35467 COND_GCC_PCH_1=""
35468 fi
35469
35470 COND_MONOLITHIC_0="#"
35471 if test "x$MONOLITHIC" = "x0" ; then
35472 COND_MONOLITHIC_0=""
35473 fi
35474
35475 COND_MONOLITHIC_0_SHARED_0="#"
35476 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
35477 COND_MONOLITHIC_0_SHARED_0=""
35478 fi
35479
35480 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
35481 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
35482 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
35483 fi
35484
35485 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
35486 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35487 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
35488 fi
35489
35490 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
35491 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
35492 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
35493 fi
35494
35495 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
35496 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
35497 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
35498 fi
35499
35500 COND_MONOLITHIC_0_SHARED_1="#"
35501 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
35502 COND_MONOLITHIC_0_SHARED_1=""
35503 fi
35504
35505 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
35506 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
35507 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
35508 fi
35509
35510 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
35511 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35512 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
35513 fi
35514
35515 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
35516 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
35517 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
35518 fi
35519
35520 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
35521 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
35522 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
35523 fi
35524
35525 COND_MONOLITHIC_1="#"
35526 if test "x$MONOLITHIC" = "x1" ; then
35527 COND_MONOLITHIC_1=""
35528 fi
35529
35530 COND_MONOLITHIC_1_SHARED_0="#"
35531 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
35532 COND_MONOLITHIC_1_SHARED_0=""
35533 fi
35534
35535 COND_MONOLITHIC_1_SHARED_1="#"
35536 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
35537 COND_MONOLITHIC_1_SHARED_1=""
35538 fi
35539
35540 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
35541 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
35542 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
35543 fi
35544
35545 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
35546 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
35547 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
35548 fi
35549
35550 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
35551 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
35552 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
35553 fi
35554
35555 COND_PLATFORM_MACOSX_1="#"
35556 if test "x$PLATFORM_MACOSX" = "x1" ; then
35557 COND_PLATFORM_MACOSX_1=""
35558 fi
35559
35560 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
35561 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
35562 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
35563 fi
35564
35565 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
35566 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
35567 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
35568 fi
35569
35570 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
35571 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
35572 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
35573 fi
35574
35575 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
35576 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
35577 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
35578 fi
35579
35580 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
35581 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
35582 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
35583 fi
35584
35585 COND_PLATFORM_MAC_1="#"
35586 if test "x$PLATFORM_MAC" = "x1" ; then
35587 COND_PLATFORM_MAC_1=""
35588 fi
35589
35590 COND_PLATFORM_OS2_1="#"
35591 if test "x$PLATFORM_OS2" = "x1" ; then
35592 COND_PLATFORM_OS2_1=""
35593 fi
35594
35595 COND_PLATFORM_UNIX_0="#"
35596 if test "x$PLATFORM_UNIX" = "x0" ; then
35597 COND_PLATFORM_UNIX_0=""
35598 fi
35599
35600 COND_PLATFORM_UNIX_1="#"
35601 if test "x$PLATFORM_UNIX" = "x1" ; then
35602 COND_PLATFORM_UNIX_1=""
35603 fi
35604
35605 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
35606 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
35607 COND_PLATFORM_UNIX_1_USE_GUI_1=""
35608 fi
35609
35610 COND_PLATFORM_WIN32_0="#"
35611 if test "x$PLATFORM_WIN32" = "x0" ; then
35612 COND_PLATFORM_WIN32_0=""
35613 fi
35614
35615 COND_PLATFORM_WIN32_1="#"
35616 if test "x$PLATFORM_WIN32" = "x1" ; then
35617 COND_PLATFORM_WIN32_1=""
35618 fi
35619
35620 COND_SHARED_0="#"
35621 if test "x$SHARED" = "x0" ; then
35622 COND_SHARED_0=""
35623 fi
35624
35625 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
35626 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35627 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
35628 fi
35629
35630 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35631 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35632 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35633 fi
35634
35635 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35636 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35637 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35638 fi
35639
35640 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35641 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35642 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35643 fi
35644
35645 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
35646 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35647 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
35648 fi
35649
35650 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
35651 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35652 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
35653 fi
35654
35655 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
35656 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35657 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
35658 fi
35659
35660 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
35661 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35662 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
35663 fi
35664
35665 COND_SHARED_1="#"
35666 if test "x$SHARED" = "x1" ; then
35667 COND_SHARED_1=""
35668 fi
35669
35670 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
35671 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35672 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
35673 fi
35674
35675 COND_TOOLKIT_COCOA="#"
35676 if test "x$TOOLKIT" = "xCOCOA" ; then
35677 COND_TOOLKIT_COCOA=""
35678 fi
35679
35680 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
35681 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35682 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
35683 fi
35684
35685 COND_TOOLKIT_GTK="#"
35686 if test "x$TOOLKIT" = "xGTK" ; then
35687 COND_TOOLKIT_GTK=""
35688 fi
35689
35690 COND_TOOLKIT_GTK_USE_GUI_1="#"
35691 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35692 COND_TOOLKIT_GTK_USE_GUI_1=""
35693 fi
35694
35695 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
35696 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35697 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
35698 fi
35699
35700 COND_TOOLKIT_MAC="#"
35701 if test "x$TOOLKIT" = "xMAC" ; then
35702 COND_TOOLKIT_MAC=""
35703 fi
35704
35705 COND_TOOLKIT_MAC_USE_GUI_1="#"
35706 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35707 COND_TOOLKIT_MAC_USE_GUI_1=""
35708 fi
35709
35710 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
35711 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35712 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
35713 fi
35714
35715 COND_TOOLKIT_MGL="#"
35716 if test "x$TOOLKIT" = "xMGL" ; then
35717 COND_TOOLKIT_MGL=""
35718 fi
35719
35720 COND_TOOLKIT_MGL_USE_GUI_1="#"
35721 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35722 COND_TOOLKIT_MGL_USE_GUI_1=""
35723 fi
35724
35725 COND_TOOLKIT_MOTIF="#"
35726 if test "x$TOOLKIT" = "xMOTIF" ; then
35727 COND_TOOLKIT_MOTIF=""
35728 fi
35729
35730 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
35731 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35732 COND_TOOLKIT_MOTIF_USE_GUI_1=""
35733 fi
35734
35735 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
35736 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35737 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
35738 fi
35739
35740 COND_TOOLKIT_MSW="#"
35741 if test "x$TOOLKIT" = "xMSW" ; then
35742 COND_TOOLKIT_MSW=""
35743 fi
35744
35745 COND_TOOLKIT_MSW_USE_GUI_1="#"
35746 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35747 COND_TOOLKIT_MSW_USE_GUI_1=""
35748 fi
35749
35750 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
35751 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35752 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
35753 fi
35754
35755 COND_TOOLKIT_PM="#"
35756 if test "x$TOOLKIT" = "xPM" ; then
35757 COND_TOOLKIT_PM=""
35758 fi
35759
35760 COND_TOOLKIT_PM_USE_GUI_1="#"
35761 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
35762 COND_TOOLKIT_PM_USE_GUI_1=""
35763 fi
35764
35765 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
35766 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35767 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
35768 fi
35769
35770 COND_TOOLKIT_X11="#"
35771 if test "x$TOOLKIT" = "xX11" ; then
35772 COND_TOOLKIT_X11=""
35773 fi
35774
35775 COND_TOOLKIT_X11_USE_GUI_1="#"
35776 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35777 COND_TOOLKIT_X11_USE_GUI_1=""
35778 fi
35779
35780 COND_UNICODE_1="#"
35781 if test "x$UNICODE" = "x1" ; then
35782 COND_UNICODE_1=""
35783 fi
35784
35785 COND_USE_EXCEPTIONS_0="#"
35786 if test "x$USE_EXCEPTIONS" = "x0" ; then
35787 COND_USE_EXCEPTIONS_0=""
35788 fi
35789
35790 COND_USE_EXCEPTIONS_1="#"
35791 if test "x$USE_EXCEPTIONS" = "x1" ; then
35792 COND_USE_EXCEPTIONS_1=""
35793 fi
35794
35795 COND_USE_GUI_0="#"
35796 if test "x$USE_GUI" = "x0" ; then
35797 COND_USE_GUI_0=""
35798 fi
35799
35800 COND_USE_GUI_1="#"
35801 if test "x$USE_GUI" = "x1" ; then
35802 COND_USE_GUI_1=""
35803 fi
35804
35805 COND_USE_GUI_1_WXUNIV_0="#"
35806 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35807 COND_USE_GUI_1_WXUNIV_0=""
35808 fi
35809
35810 COND_USE_GUI_1_WXUNIV_1="#"
35811 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35812 COND_USE_GUI_1_WXUNIV_1=""
35813 fi
35814
35815 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35816 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35817 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35818 fi
35819
35820 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35821 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35822 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35823 fi
35824
35825 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35826 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35827 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35828 fi
35829
35830 COND_USE_ODBC_1="#"
35831 if test "x$USE_ODBC" = "x1" ; then
35832 COND_USE_ODBC_1=""
35833 fi
35834
35835 COND_USE_SOSYMLINKS_1="#"
35836 if test "x$USE_SOSYMLINKS" = "x1" ; then
35837 COND_USE_SOSYMLINKS_1=""
35838 fi
35839
35840 COND_USE_SOVERLINUX_1="#"
35841 if test "x$USE_SOVERLINUX" = "x1" ; then
35842 COND_USE_SOVERLINUX_1=""
35843 fi
35844
35845 COND_USE_SOVERSION_0="#"
35846 if test "x$USE_SOVERSION" = "x0" ; then
35847 COND_USE_SOVERSION_0=""
35848 fi
35849
35850 COND_USE_SOVERSOLARIS_1="#"
35851 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35852 COND_USE_SOVERSOLARIS_1=""
35853 fi
35854
35855 COND_WXUNIV_1="#"
35856 if test "x$WXUNIV" = "x1" ; then
35857 COND_WXUNIV_1=""
35858 fi
35859
35860 COND_WXUSE_EXPAT_BUILTIN="#"
35861 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35862 COND_WXUSE_EXPAT_BUILTIN=""
35863 fi
35864
35865 COND_WXUSE_LIBJPEG_BUILTIN="#"
35866 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35867 COND_WXUSE_LIBJPEG_BUILTIN=""
35868 fi
35869
35870 COND_WXUSE_LIBPNG_BUILTIN="#"
35871 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35872 COND_WXUSE_LIBPNG_BUILTIN=""
35873 fi
35874
35875 COND_WXUSE_LIBTIFF_BUILTIN="#"
35876 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35877 COND_WXUSE_LIBTIFF_BUILTIN=""
35878 fi
35879
35880 COND_WXUSE_ODBC_BUILTIN="#"
35881 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35882 COND_WXUSE_ODBC_BUILTIN=""
35883 fi
35884
35885 COND_WXUSE_REGEX_BUILTIN="#"
35886 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35887 COND_WXUSE_REGEX_BUILTIN=""
35888 fi
35889
35890 COND_WXUSE_ZLIB_BUILTIN="#"
35891 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35892 COND_WXUSE_ZLIB_BUILTIN=""
35893 fi
35894
35895
35896
35897
35898
35899if test $GCC_PCH = 1 ; then
35900 CODE_GEN_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
35901 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35902else
35903 case "${host}" in
35904 powerpc-*-darwin* )
35905 CODE_GEN_FLAGS="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
35906 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
35907 ;;
35908 esac
35909fi
35910
35911
35912SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35913
35914
35915
35916
35917
35918
35919
35920
35921
35922
35923
35924
35925
35926
35927
35928
35929
35930
35931
35932
35933
35934
35935
35936
35937
35938
35939
35940
35941
35942
35943
35944
35945
35946
35947
35948
35949
35950
35951
35952
35953
35954
35955
35956
35957
35958
35959
35960
35961
35962
35963
35964
35965
35966
35967
35968
35969
35970
35971
35972
35973
35974
35975
35976
35977
35978
35979
35980
35981
35982
35983
35984
35985
35986
35987
35988
35989
35990
35991
35992
35993
35994
35995
35996
35997
35998
35999
36000
36001
36002
36003
36004
36005
36006
36007
36008
36009
36010
36011
36012
36013echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
36014echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
36015set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
36016if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
36017 echo $ECHO_N "(cached) $ECHO_C" >&6
36018else
36019 cat >conftest.make <<\_ACEOF
36020all:
36021 @echo 'ac_maketemp="$(MAKE)"'
36022_ACEOF
36023# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
36024eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
36025if test -n "$ac_maketemp"; then
36026 eval ac_cv_prog_make_${ac_make}_set=yes
36027else
36028 eval ac_cv_prog_make_${ac_make}_set=no
36029fi
36030rm -f conftest.make
36031fi
36032if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
36033 echo "$as_me:$LINENO: result: yes" >&5
36034echo "${ECHO_T}yes" >&6
36035 SET_MAKE=
36036else
36037 echo "$as_me:$LINENO: result: no" >&5
36038echo "${ECHO_T}no" >&6
36039 SET_MAKE="MAKE=${MAKE-make}"
36040fi
36041
36042
36043if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
36044 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
36045fi
36046
36047 ac_config_headers="$ac_config_headers setup.h"
36048
36049
36050 ac_config_files="$ac_config_files wx-config version-script Makefile"
36051
36052
36053 ac_config_commands="$ac_config_commands default"
36054
36055
36056
36057if test "$wxUSE_GUI" = "yes"; then
36058 SUBDIRS="samples demos utils contrib"
36059else SUBDIRS="samples utils"
36060fi
36061
36062for subdir in `echo $SUBDIRS`; do
36063 if test -d ${srcdir}/${subdir} ; then
36064 if test "$wxUSE_GUI" = "yes"; then
36065 if test ${subdir} = "samples"; then
36066 makefiles="samples/Makefile.in $makefiles"
36067 for sample in `echo $SAMPLES_SUBDIRS`; do
36068 if test -d $srcdir/samples/$sample; then
36069 makefiles="samples/$sample/Makefile.in $makefiles"
36070 fi
36071 done
36072 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
36073 fi
36074 else if test ${subdir} = "samples"; then
36075 makefiles="samples/Makefile.in samples/console/Makefile.in"
36076 else makefiles="utils/HelpGen/Makefile.in \
36077 utils/HelpGen/src/Makefile.in \
36078 utils/tex2rtf/Makefile.in \
36079 utils/tex2rtf/src/Makefile.in"
36080 fi
36081 fi
36082
36083 for mkin in $makefiles ; do
36084 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
36085 ac_config_files="$ac_config_files $mk"
36086
36087 done
36088 fi
36089done
36090
36091
36092cat >confcache <<\_ACEOF
36093# This file is a shell script that caches the results of configure
36094# tests run on this system so they can be shared between configure
36095# scripts and configure runs, see configure's option --config-cache.
36096# It is not useful on other systems. If it contains results you don't
36097# want to keep, you may remove or edit it.
36098#
36099# config.status only pays attention to the cache file if you give it
36100# the --recheck option to rerun configure.
36101#
36102# `ac_cv_env_foo' variables (set or unset) will be overridden when
36103# loading this file, other *unset* `ac_cv_foo' will be assigned the
36104# following values.
36105
36106_ACEOF
36107
36108# The following way of writing the cache mishandles newlines in values,
36109# but we know of no workaround that is simple, portable, and efficient.
36110# So, don't put newlines in cache variables' values.
36111# Ultrix sh set writes to stderr and can't be redirected directly,
36112# and sets the high bit in the cache file unless we assign to the vars.
36113{
36114 (set) 2>&1 |
36115 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36116 *ac_space=\ *)
36117 # `set' does not quote correctly, so add quotes (double-quote
36118 # substitution turns \\\\ into \\, and sed turns \\ into \).
36119 sed -n \
36120 "s/'/'\\\\''/g;
36121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36122 ;;
36123 *)
36124 # `set' quotes correctly as required by POSIX, so do not add quotes.
36125 sed -n \
36126 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36127 ;;
36128 esac;
36129} |
36130 sed '
36131 t clear
36132 : clear
36133 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36134 t end
36135 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36136 : end' >>confcache
36137if diff $cache_file confcache >/dev/null 2>&1; then :; else
36138 if test -w $cache_file; then
36139 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36140 cat confcache >$cache_file
36141 else
36142 echo "not updating unwritable cache $cache_file"
36143 fi
36144fi
36145rm -f confcache
36146
36147test "x$prefix" = xNONE && prefix=$ac_default_prefix
36148# Let make expand exec_prefix.
36149test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
36150
36151# VPATH may cause trouble with some makes, so we remove $(srcdir),
36152# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
36153# trailing colons and then remove the whole line if VPATH becomes empty
36154# (actually we leave an empty line to preserve line numbers).
36155if test "x$srcdir" = x.; then
36156 ac_vpsub='/^[ ]*VPATH[ ]*=/{
36157s/:*\$(srcdir):*/:/;
36158s/:*\${srcdir}:*/:/;
36159s/:*@srcdir@:*/:/;
36160s/^\([^=]*=[ ]*\):*/\1/;
36161s/:*$//;
36162s/^[^=]*=[ ]*$//;
36163}'
36164fi
36165
36166DEFS=-DHAVE_CONFIG_H
36167
36168ac_libobjs=
36169ac_ltlibobjs=
36170for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
36171 # 1. Remove the extension, and $U if already installed.
36172 ac_i=`echo "$ac_i" |
36173 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
36174 # 2. Add them.
36175 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
36176 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
36177done
36178LIBOBJS=$ac_libobjs
36179
36180LTLIBOBJS=$ac_ltlibobjs
36181
36182
36183
36184: ${CONFIG_STATUS=./config.status}
36185ac_clean_files_save=$ac_clean_files
36186ac_clean_files="$ac_clean_files $CONFIG_STATUS"
36187{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
36188echo "$as_me: creating $CONFIG_STATUS" >&6;}
36189cat >$CONFIG_STATUS <<_ACEOF
36190#! $SHELL
36191# Generated by $as_me.
36192# Run this file to recreate the current configuration.
36193# Compiler output produced by configure, useful for debugging
36194# configure, is in config.log if it exists.
36195
36196debug=false
36197ac_cs_recheck=false
36198ac_cs_silent=false
36199SHELL=\${CONFIG_SHELL-$SHELL}
36200_ACEOF
36201
36202cat >>$CONFIG_STATUS <<\_ACEOF
36203## --------------------- ##
36204## M4sh Initialization. ##
36205## --------------------- ##
36206
36207# Be Bourne compatible
36208if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
36209 emulate sh
36210 NULLCMD=:
36211 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
36212 # is contrary to our usage. Disable this feature.
36213 alias -g '${1+"$@"}'='"$@"'
36214elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
36215 set -o posix
36216fi
36217
36218# Support unset when possible.
36219if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
36220 as_unset=unset
36221else
36222 as_unset=false
36223fi
36224
36225
36226# Work around bugs in pre-3.0 UWIN ksh.
36227$as_unset ENV MAIL MAILPATH
36228PS1='$ '
36229PS2='> '
36230PS4='+ '
36231
36232# NLS nuisances.
36233for as_var in \
36234 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
36235 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
36236 LC_TELEPHONE LC_TIME
36237do
36238 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
36239 eval $as_var=C; export $as_var
36240 else
36241 $as_unset $as_var
36242 fi
36243done
36244
36245# Required to use basename.
36246if expr a : '\(a\)' >/dev/null 2>&1; then
36247 as_expr=expr
36248else
36249 as_expr=false
36250fi
36251
36252if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
36253 as_basename=basename
36254else
36255 as_basename=false
36256fi
36257
36258
36259# Name of the executable.
36260as_me=`$as_basename "$0" ||
36261$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
36262 X"$0" : 'X\(//\)$' \| \
36263 X"$0" : 'X\(/\)$' \| \
36264 . : '\(.\)' 2>/dev/null ||
36265echo X/"$0" |
36266 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
36267 /^X\/\(\/\/\)$/{ s//\1/; q; }
36268 /^X\/\(\/\).*/{ s//\1/; q; }
36269 s/.*/./; q'`
36270
36271
36272# PATH needs CR, and LINENO needs CR and PATH.
36273# Avoid depending upon Character Ranges.
36274as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36275as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36276as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36277as_cr_digits='0123456789'
36278as_cr_alnum=$as_cr_Letters$as_cr_digits
36279
36280# The user is always right.
36281if test "${PATH_SEPARATOR+set}" != set; then
36282 echo "#! /bin/sh" >conf$$.sh
36283 echo "exit 0" >>conf$$.sh
36284 chmod +x conf$$.sh
36285 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
36286 PATH_SEPARATOR=';'
36287 else
36288 PATH_SEPARATOR=:
36289 fi
36290 rm -f conf$$.sh
36291fi
36292
36293
36294 as_lineno_1=$LINENO
36295 as_lineno_2=$LINENO
36296 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36297 test "x$as_lineno_1" != "x$as_lineno_2" &&
36298 test "x$as_lineno_3" = "x$as_lineno_2" || {
36299 # Find who we are. Look in the path if we contain no path at all
36300 # relative or not.
36301 case $0 in
36302 *[\\/]* ) as_myself=$0 ;;
36303 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36304for as_dir in $PATH
36305do
36306 IFS=$as_save_IFS
36307 test -z "$as_dir" && as_dir=.
36308 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
36309done
36310
36311 ;;
36312 esac
36313 # We did not find ourselves, most probably we were run as `sh COMMAND'
36314 # in which case we are not to be found in the path.
36315 if test "x$as_myself" = x; then
36316 as_myself=$0
36317 fi
36318 if test ! -f "$as_myself"; then
36319 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
36320echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
36321 { (exit 1); exit 1; }; }
36322 fi
36323 case $CONFIG_SHELL in
36324 '')
36325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36326for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
36327do
36328 IFS=$as_save_IFS
36329 test -z "$as_dir" && as_dir=.
36330 for as_base in sh bash ksh sh5; do
36331 case $as_dir in
36332 /*)
36333 if ("$as_dir/$as_base" -c '
36334 as_lineno_1=$LINENO
36335 as_lineno_2=$LINENO
36336 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36337 test "x$as_lineno_1" != "x$as_lineno_2" &&
36338 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
36339 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
36340 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
36341 CONFIG_SHELL=$as_dir/$as_base
36342 export CONFIG_SHELL
36343 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
36344 fi;;
36345 esac
36346 done
36347done
36348;;
36349 esac
36350
36351 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
36352 # uniformly replaced by the line number. The first 'sed' inserts a
36353 # line-number line before each line; the second 'sed' does the real
36354 # work. The second script uses 'N' to pair each line-number line
36355 # with the numbered line, and appends trailing '-' during
36356 # substitution so that $LINENO is not a special case at line end.
36357 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
36358 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
36359 sed '=' <$as_myself |
36360 sed '
36361 N
36362 s,$,-,
36363 : loop
36364 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
36365 t loop
36366 s,-$,,
36367 s,^['$as_cr_digits']*\n,,
36368 ' >$as_me.lineno &&
36369 chmod +x $as_me.lineno ||
36370 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
36371echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
36372 { (exit 1); exit 1; }; }
36373
36374 # Don't try to exec as it changes $[0], causing all sort of problems
36375 # (the dirname of $[0] is not the place where we might find the
36376 # original and so on. Autoconf is especially sensible to this).
36377 . ./$as_me.lineno
36378 # Exit status is that of the last command.
36379 exit
36380}
36381
36382
36383case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
36384 *c*,-n*) ECHO_N= ECHO_C='
36385' ECHO_T=' ' ;;
36386 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
36387 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
36388esac
36389
36390if expr a : '\(a\)' >/dev/null 2>&1; then
36391 as_expr=expr
36392else
36393 as_expr=false
36394fi
36395
36396rm -f conf$$ conf$$.exe conf$$.file
36397echo >conf$$.file
36398if ln -s conf$$.file conf$$ 2>/dev/null; then
36399 # We could just check for DJGPP; but this test a) works b) is more generic
36400 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
36401 if test -f conf$$.exe; then
36402 # Don't use ln at all; we don't have any links
36403 as_ln_s='cp -p'
36404 else
36405 as_ln_s='ln -s'
36406 fi
36407elif ln conf$$.file conf$$ 2>/dev/null; then
36408 as_ln_s=ln
36409else
36410 as_ln_s='cp -p'
36411fi
36412rm -f conf$$ conf$$.exe conf$$.file
36413
36414if mkdir -p . 2>/dev/null; then
36415 as_mkdir_p=:
36416else
36417 as_mkdir_p=false
36418fi
36419
36420as_executable_p="test -f"
36421
36422# Sed expression to map a string onto a valid CPP name.
36423as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
36424
36425# Sed expression to map a string onto a valid variable name.
36426as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
36427
36428
36429# IFS
36430# We need space, tab and new line, in precisely that order.
36431as_nl='
36432'
36433IFS=" $as_nl"
36434
36435# CDPATH.
36436$as_unset CDPATH
36437
36438exec 6>&1
36439
36440# Open the log real soon, to keep \$[0] and so on meaningful, and to
36441# report actual input values of CONFIG_FILES etc. instead of their
36442# values after options handling. Logging --version etc. is OK.
36443exec 5>>config.log
36444{
36445 echo
36446 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
36447## Running $as_me. ##
36448_ASBOX
36449} >&5
36450cat >&5 <<_CSEOF
36451
36452This file was extended by wxWindows $as_me 2.5.1, which was
36453generated by GNU Autoconf 2.57. Invocation command line was
36454
36455 CONFIG_FILES = $CONFIG_FILES
36456 CONFIG_HEADERS = $CONFIG_HEADERS
36457 CONFIG_LINKS = $CONFIG_LINKS
36458 CONFIG_COMMANDS = $CONFIG_COMMANDS
36459 $ $0 $@
36460
36461_CSEOF
36462echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
36463echo >&5
36464_ACEOF
36465
36466# Files that config.status was made for.
36467if test -n "$ac_config_files"; then
36468 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
36469fi
36470
36471if test -n "$ac_config_headers"; then
36472 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
36473fi
36474
36475if test -n "$ac_config_links"; then
36476 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
36477fi
36478
36479if test -n "$ac_config_commands"; then
36480 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
36481fi
36482
36483cat >>$CONFIG_STATUS <<\_ACEOF
36484
36485ac_cs_usage="\
36486\`$as_me' instantiates files from templates according to the
36487current configuration.
36488
36489Usage: $0 [OPTIONS] [FILE]...
36490
36491 -h, --help print this help, then exit
36492 -V, --version print version number, then exit
36493 -q, --quiet do not print progress messages
36494 -d, --debug don't remove temporary files
36495 --recheck update $as_me by reconfiguring in the same conditions
36496 --file=FILE[:TEMPLATE]
36497 instantiate the configuration file FILE
36498 --header=FILE[:TEMPLATE]
36499 instantiate the configuration header FILE
36500
36501Configuration files:
36502$config_files
36503
36504Configuration headers:
36505$config_headers
36506
36507Configuration commands:
36508$config_commands
36509
36510Report bugs to <bug-autoconf@gnu.org>."
36511_ACEOF
36512
36513cat >>$CONFIG_STATUS <<_ACEOF
36514ac_cs_version="\\
36515wxWindows config.status 2.5.1
36516configured by $0, generated by GNU Autoconf 2.57,
36517 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
36518
36519Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
36520Free Software Foundation, Inc.
36521This config.status script is free software; the Free Software Foundation
36522gives unlimited permission to copy, distribute and modify it."
36523srcdir=$srcdir
36524INSTALL="$INSTALL"
36525_ACEOF
36526
36527cat >>$CONFIG_STATUS <<\_ACEOF
36528# If no file are specified by the user, then we need to provide default
36529# value. By we need to know if files were specified by the user.
36530ac_need_defaults=:
36531while test $# != 0
36532do
36533 case $1 in
36534 --*=*)
36535 ac_option=`expr "x$1" : 'x\([^=]*\)='`
36536 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
36537 ac_shift=:
36538 ;;
36539 -*)
36540 ac_option=$1
36541 ac_optarg=$2
36542 ac_shift=shift
36543 ;;
36544 *) # This is not an option, so the user has probably given explicit
36545 # arguments.
36546 ac_option=$1
36547 ac_need_defaults=false;;
36548 esac
36549
36550 case $ac_option in
36551 # Handling of the options.
36552_ACEOF
36553cat >>$CONFIG_STATUS <<\_ACEOF
36554 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
36555 ac_cs_recheck=: ;;
36556 --version | --vers* | -V )
36557 echo "$ac_cs_version"; exit 0 ;;
36558 --he | --h)
36559 # Conflict between --help and --header
36560 { { echo "$as_me:$LINENO: error: ambiguous option: $1
36561Try \`$0 --help' for more information." >&5
36562echo "$as_me: error: ambiguous option: $1
36563Try \`$0 --help' for more information." >&2;}
36564 { (exit 1); exit 1; }; };;
36565 --help | --hel | -h )
36566 echo "$ac_cs_usage"; exit 0 ;;
36567 --debug | --d* | -d )
36568 debug=: ;;
36569 --file | --fil | --fi | --f )
36570 $ac_shift
36571 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
36572 ac_need_defaults=false;;
36573 --header | --heade | --head | --hea )
36574 $ac_shift
36575 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
36576 ac_need_defaults=false;;
36577 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
36578 | -silent | --silent | --silen | --sile | --sil | --si | --s)
36579 ac_cs_silent=: ;;
36580
36581 # This is an error.
36582 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
36583Try \`$0 --help' for more information." >&5
36584echo "$as_me: error: unrecognized option: $1
36585Try \`$0 --help' for more information." >&2;}
36586 { (exit 1); exit 1; }; } ;;
36587
36588 *) ac_config_targets="$ac_config_targets $1" ;;
36589
36590 esac
36591 shift
36592done
36593
36594ac_configure_extra_args=
36595
36596if $ac_cs_silent; then
36597 exec 6>/dev/null
36598 ac_configure_extra_args="$ac_configure_extra_args --silent"
36599fi
36600
36601_ACEOF
36602cat >>$CONFIG_STATUS <<_ACEOF
36603if \$ac_cs_recheck; then
36604 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
36605 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36606fi
36607
36608_ACEOF
36609
36610cat >>$CONFIG_STATUS <<_ACEOF
36611#
36612# INIT-COMMANDS section.
36613#
36614
36615
36616 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36617 LN_S="${LN_S}"
36618
36619
36620
36621_ACEOF
36622
36623
36624
36625cat >>$CONFIG_STATUS <<\_ACEOF
36626for ac_config_target in $ac_config_targets
36627do
36628 case "$ac_config_target" in
36629 # Handling of arguments.
36630 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
36631 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
36632 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
36633 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
36634 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
36635 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
36636 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36637echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36638 { (exit 1); exit 1; }; };;
36639 esac
36640done
36641
36642# If the user did not use the arguments to specify the items to instantiate,
36643# then the envvar interface is used. Set only those that are not.
36644# We use the long form for the default assignment because of an extremely
36645# bizarre bug on SunOS 4.1.3.
36646if $ac_need_defaults; then
36647 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
36648 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
36649 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
36650fi
36651
36652# Have a temporary directory for convenience. Make it in the build tree
36653# simply because there is no reason to put it here, and in addition,
36654# creating and moving files from /tmp can sometimes cause problems.
36655# Create a temporary directory, and hook for its removal unless debugging.
36656$debug ||
36657{
36658 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36659 trap '{ (exit 1); exit 1; }' 1 2 13 15
36660}
36661
36662# Create a (secure) tmp directory for tmp files.
36663
36664{
36665 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36666 test -n "$tmp" && test -d "$tmp"
36667} ||
36668{
36669 tmp=./confstat$$-$RANDOM
36670 (umask 077 && mkdir $tmp)
36671} ||
36672{
36673 echo "$me: cannot create a temporary directory in ." >&2
36674 { (exit 1); exit 1; }
36675}
36676
36677_ACEOF
36678
36679cat >>$CONFIG_STATUS <<_ACEOF
36680
36681#
36682# CONFIG_FILES section.
36683#
36684
36685# No need to generate the scripts if there are no CONFIG_FILES.
36686# This happens for instance when ./config.status config.h
36687if test -n "\$CONFIG_FILES"; then
36688 # Protect against being on the right side of a sed subst in config.status.
36689 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36690 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36691s,@SHELL@,$SHELL,;t t
36692s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36693s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36694s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36695s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36696s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36697s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36698s,@exec_prefix@,$exec_prefix,;t t
36699s,@prefix@,$prefix,;t t
36700s,@program_transform_name@,$program_transform_name,;t t
36701s,@bindir@,$bindir,;t t
36702s,@sbindir@,$sbindir,;t t
36703s,@libexecdir@,$libexecdir,;t t
36704s,@datadir@,$datadir,;t t
36705s,@sysconfdir@,$sysconfdir,;t t
36706s,@sharedstatedir@,$sharedstatedir,;t t
36707s,@localstatedir@,$localstatedir,;t t
36708s,@libdir@,$libdir,;t t
36709s,@includedir@,$includedir,;t t
36710s,@oldincludedir@,$oldincludedir,;t t
36711s,@infodir@,$infodir,;t t
36712s,@mandir@,$mandir,;t t
36713s,@build_alias@,$build_alias,;t t
36714s,@host_alias@,$host_alias,;t t
36715s,@target_alias@,$target_alias,;t t
36716s,@DEFS@,$DEFS,;t t
36717s,@ECHO_C@,$ECHO_C,;t t
36718s,@ECHO_N@,$ECHO_N,;t t
36719s,@ECHO_T@,$ECHO_T,;t t
36720s,@LIBS@,$LIBS,;t t
36721s,@build@,$build,;t t
36722s,@build_cpu@,$build_cpu,;t t
36723s,@build_vendor@,$build_vendor,;t t
36724s,@build_os@,$build_os,;t t
36725s,@host@,$host,;t t
36726s,@host_cpu@,$host_cpu,;t t
36727s,@host_vendor@,$host_vendor,;t t
36728s,@host_os@,$host_os,;t t
36729s,@target@,$target,;t t
36730s,@target_cpu@,$target_cpu,;t t
36731s,@target_vendor@,$target_vendor,;t t
36732s,@target_os@,$target_os,;t t
36733s,@CC@,$CC,;t t
36734s,@CFLAGS@,$CFLAGS,;t t
36735s,@LDFLAGS@,$LDFLAGS,;t t
36736s,@CPPFLAGS@,$CPPFLAGS,;t t
36737s,@ac_ct_CC@,$ac_ct_CC,;t t
36738s,@EXEEXT@,$EXEEXT,;t t
36739s,@OBJEXT@,$OBJEXT,;t t
36740s,@CPP@,$CPP,;t t
36741s,@EGREP@,$EGREP,;t t
36742s,@CXX@,$CXX,;t t
36743s,@CXXFLAGS@,$CXXFLAGS,;t t
36744s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36745s,@RANLIB@,$RANLIB,;t t
36746s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36747s,@AR@,$AR,;t t
36748s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36749s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36750s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36751s,@STRIP@,$STRIP,;t t
36752s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36753s,@LN_S@,$LN_S,;t t
36754s,@CXXCPP@,$CXXCPP,;t t
36755s,@subdirs@,$subdirs,;t t
36756s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36757s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36758s,@GTK_LIBS@,$GTK_LIBS,;t t
36759s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36760s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36761s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36762s,@X_CFLAGS@,$X_CFLAGS,;t t
36763s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36764s,@X_LIBS@,$X_LIBS,;t t
36765s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36766s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36767s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36768s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36769s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36770s,@RESCOMP@,$RESCOMP,;t t
36771s,@DEREZ@,$DEREZ,;t t
36772s,@SETFILE@,$SETFILE,;t t
36773s,@LIBICONV@,$LIBICONV,;t t
36774s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36775s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36776s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36777s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36778s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36779s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36780s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36781s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36782s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36783s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36784s,@VENDOR@,$VENDOR,;t t
36785s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36786s,@WXUNIV@,$WXUNIV,;t t
36787s,@MONOLITHIC@,$MONOLITHIC,;t t
36788s,@EXTRALIBS@,$EXTRALIBS,;t t
36789s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36790s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
36791s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36792s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36793s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36794s,@UNICODE@,$UNICODE,;t t
36795s,@BUILD@,$BUILD,;t t
36796s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36797s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36798s,@SHARED@,$SHARED,;t t
36799s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36800s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36801s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36802s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36803s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36804s,@SET_MAKE@,$SET_MAKE,;t t
36805s,@MAKE_SET@,$MAKE_SET,;t t
36806s,@ac_ct_AR@,$ac_ct_AR,;t t
36807s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
36808s,@NM@,$NM,;t t
36809s,@ac_ct_NM@,$ac_ct_NM,;t t
36810s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36811s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36812s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36813s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36814s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36815s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36816s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36817s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
36818s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36819s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36820s,@LIBPREFIX@,$LIBPREFIX,;t t
36821s,@DLLPREFIX@,$DLLPREFIX,;t t
36822s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36823s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36824s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36825s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36826s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36827s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36828s,@PIC_FLAG@,$PIC_FLAG,;t t
36829s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36830s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36831s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36832s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36833s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36834s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36835s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36836s,@GCC_PCH@,$GCC_PCH,;t t
36837s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36838s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36839s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36840s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36841s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36842s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36843s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36844s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36845s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36846s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36847s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36848s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36849s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36850s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36851s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1,;t t
36852s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36853s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36854s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36855s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36856s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1,;t t
36857s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36858s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36859s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36860s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36861s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36862s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36863s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36864s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36865s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36866s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36867s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36868s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36869s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
36870s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36871s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36872s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
36873s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36874s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36875s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
36876s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36877s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36878s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36879s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36880s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36881s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36882s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36883s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36884s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36885s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36886s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36887s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36888s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36889s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36890s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36891s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36892s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36893s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36894s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36895s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36896s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36897s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36898s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36899s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36900s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36901s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36902s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36903s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36904s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36905s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
36906s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
36907s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
36908s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36909s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36910s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36911s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
36912s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
36913s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36914s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36915s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36916s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36917s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36918s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36919s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36920s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
36921s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36922s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36923s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36924s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36925s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36926s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36927s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36928s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36929s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36930s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36931s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36932s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36933s,@PATH_IFS@,$PATH_IFS,;t t
36934s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36935s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36936s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36937s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36938s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36939s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36940s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36941s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36942s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36943s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36944s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36945s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36946s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36947s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36948s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36949s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36950s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36951s,@WX_ALL@,$WX_ALL,;t t
36952s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36953s,@SHARED_LD@,$SHARED_LD,;t t
36954s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36955s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36956s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36957s,@USE_GUI@,$USE_GUI,;t t
36958s,@AFMINSTALL@,$AFMINSTALL,;t t
36959s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36960s,@TOOLKIT@,$TOOLKIT,;t t
36961s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36962s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36963s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36964s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36965s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36966s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36967s,@cross_compiling@,$cross_compiling,;t t
36968s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36969s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36970s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36971s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36972s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36973s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36974s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36975s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36976s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36977s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36978s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36979s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36980s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36981s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36982s,@GUIDIST@,$GUIDIST,;t t
36983s,@PORT_FILES@,$PORT_FILES,;t t
36984s,@DISTDIR@,$DISTDIR,;t t
36985s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36986s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36987s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36988s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36989s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36990s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36991s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36992s,@RESFLAGS@,$RESFLAGS,;t t
36993s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36994s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36995s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36996s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36997s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36998s,@MACRESCOMP@,$MACRESCOMP,;t t
36999s,@MACSETFILE@,$MACSETFILE,;t t
37000s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
37001s,@GCC@,$GCC,;t t
37002s,@DLLTOOL@,$DLLTOOL,;t t
37003s,@AS@,$AS,;t t
37004s,@LD@,$LD,;t t
37005s,@MAKEINFO@,$MAKEINFO,;t t
37006s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
37007s,@LIBOBJS@,$LIBOBJS,;t t
37008s,@LTLIBOBJS@,$LTLIBOBJS,;t t
37009CEOF
37010
37011_ACEOF
37012
37013 cat >>$CONFIG_STATUS <<\_ACEOF
37014 # Split the substitutions into bite-sized pieces for seds with
37015 # small command number limits, like on Digital OSF/1 and HP-UX.
37016 ac_max_sed_lines=48
37017 ac_sed_frag=1 # Number of current file.
37018 ac_beg=1 # First line for current file.
37019 ac_end=$ac_max_sed_lines # Line after last line for current file.
37020 ac_more_lines=:
37021 ac_sed_cmds=
37022 while $ac_more_lines; do
37023 if test $ac_beg -gt 1; then
37024 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
37025 else
37026 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
37027 fi
37028 if test ! -s $tmp/subs.frag; then
37029 ac_more_lines=false
37030 else
37031 # The purpose of the label and of the branching condition is to
37032 # speed up the sed processing (if there are no `@' at all, there
37033 # is no need to browse any of the substitutions).
37034 # These are the two extra sed commands mentioned above.
37035 (echo ':t
37036 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
37037 if test -z "$ac_sed_cmds"; then
37038 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
37039 else
37040 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
37041 fi
37042 ac_sed_frag=`expr $ac_sed_frag + 1`
37043 ac_beg=$ac_end
37044 ac_end=`expr $ac_end + $ac_max_sed_lines`
37045 fi
37046 done
37047 if test -z "$ac_sed_cmds"; then
37048 ac_sed_cmds=cat
37049 fi
37050fi # test -n "$CONFIG_FILES"
37051
37052_ACEOF
37053cat >>$CONFIG_STATUS <<\_ACEOF
37054for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
37055 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37056 case $ac_file in
37057 - | *:- | *:-:* ) # input from stdin
37058 cat >$tmp/stdin
37059 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37060 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37061 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37062 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37063 * ) ac_file_in=$ac_file.in ;;
37064 esac
37065
37066 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
37067 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
37068$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37069 X"$ac_file" : 'X\(//\)[^/]' \| \
37070 X"$ac_file" : 'X\(//\)$' \| \
37071 X"$ac_file" : 'X\(/\)' \| \
37072 . : '\(.\)' 2>/dev/null ||
37073echo X"$ac_file" |
37074 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37075 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37076 /^X\(\/\/\)$/{ s//\1/; q; }
37077 /^X\(\/\).*/{ s//\1/; q; }
37078 s/.*/./; q'`
37079 { if $as_mkdir_p; then
37080 mkdir -p "$ac_dir"
37081 else
37082 as_dir="$ac_dir"
37083 as_dirs=
37084 while test ! -d "$as_dir"; do
37085 as_dirs="$as_dir $as_dirs"
37086 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37087$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37088 X"$as_dir" : 'X\(//\)[^/]' \| \
37089 X"$as_dir" : 'X\(//\)$' \| \
37090 X"$as_dir" : 'X\(/\)' \| \
37091 . : '\(.\)' 2>/dev/null ||
37092echo X"$as_dir" |
37093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37094 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37095 /^X\(\/\/\)$/{ s//\1/; q; }
37096 /^X\(\/\).*/{ s//\1/; q; }
37097 s/.*/./; q'`
37098 done
37099 test ! -n "$as_dirs" || mkdir $as_dirs
37100 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37101echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37102 { (exit 1); exit 1; }; }; }
37103
37104 ac_builddir=.
37105
37106if test "$ac_dir" != .; then
37107 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37108 # A "../" for each directory in $ac_dir_suffix.
37109 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37110else
37111 ac_dir_suffix= ac_top_builddir=
37112fi
37113
37114case $srcdir in
37115 .) # No --srcdir option. We are building in place.
37116 ac_srcdir=.
37117 if test -z "$ac_top_builddir"; then
37118 ac_top_srcdir=.
37119 else
37120 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37121 fi ;;
37122 [\\/]* | ?:[\\/]* ) # Absolute path.
37123 ac_srcdir=$srcdir$ac_dir_suffix;
37124 ac_top_srcdir=$srcdir ;;
37125 *) # Relative path.
37126 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37127 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37128esac
37129# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37130# absolute.
37131ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37132ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37133ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37134ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37135
37136
37137 case $INSTALL in
37138 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
37139 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
37140 esac
37141
37142 if test x"$ac_file" != x-; then
37143 { echo "$as_me:$LINENO: creating $ac_file" >&5
37144echo "$as_me: creating $ac_file" >&6;}
37145 rm -f "$ac_file"
37146 fi
37147 # Let's still pretend it is `configure' which instantiates (i.e., don't
37148 # use $as_me), people would be surprised to read:
37149 # /* config.h. Generated by config.status. */
37150 if test x"$ac_file" = x-; then
37151 configure_input=
37152 else
37153 configure_input="$ac_file. "
37154 fi
37155 configure_input=$configure_input"Generated from `echo $ac_file_in |
37156 sed 's,.*/,,'` by configure."
37157
37158 # First look for the input files in the build tree, otherwise in the
37159 # src tree.
37160 ac_file_inputs=`IFS=:
37161 for f in $ac_file_in; do
37162 case $f in
37163 -) echo $tmp/stdin ;;
37164 [\\/$]*)
37165 # Absolute (can't be DOS-style, as IFS=:)
37166 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37167echo "$as_me: error: cannot find input file: $f" >&2;}
37168 { (exit 1); exit 1; }; }
37169 echo $f;;
37170 *) # Relative
37171 if test -f "$f"; then
37172 # Build tree
37173 echo $f
37174 elif test -f "$srcdir/$f"; then
37175 # Source tree
37176 echo $srcdir/$f
37177 else
37178 # /dev/null tree
37179 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37180echo "$as_me: error: cannot find input file: $f" >&2;}
37181 { (exit 1); exit 1; }; }
37182 fi;;
37183 esac
37184 done` || { (exit 1); exit 1; }
37185_ACEOF
37186cat >>$CONFIG_STATUS <<_ACEOF
37187 sed "$ac_vpsub
37188$extrasub
37189_ACEOF
37190cat >>$CONFIG_STATUS <<\_ACEOF
37191:t
37192/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
37193s,@configure_input@,$configure_input,;t t
37194s,@srcdir@,$ac_srcdir,;t t
37195s,@abs_srcdir@,$ac_abs_srcdir,;t t
37196s,@top_srcdir@,$ac_top_srcdir,;t t
37197s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
37198s,@builddir@,$ac_builddir,;t t
37199s,@abs_builddir@,$ac_abs_builddir,;t t
37200s,@top_builddir@,$ac_top_builddir,;t t
37201s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
37202s,@INSTALL@,$ac_INSTALL,;t t
37203" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
37204 rm -f $tmp/stdin
37205 if test x"$ac_file" != x-; then
37206 mv $tmp/out $ac_file
37207 else
37208 cat $tmp/out
37209 rm -f $tmp/out
37210 fi
37211
37212done
37213_ACEOF
37214cat >>$CONFIG_STATUS <<\_ACEOF
37215
37216#
37217# CONFIG_HEADER section.
37218#
37219
37220# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
37221# NAME is the cpp macro being defined and VALUE is the value it is being given.
37222#
37223# ac_d sets the value in "#define NAME VALUE" lines.
37224ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
37225ac_dB='[ ].*$,\1#\2'
37226ac_dC=' '
37227ac_dD=',;t'
37228# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
37229ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
37230ac_uB='$,\1#\2define\3'
37231ac_uC=' '
37232ac_uD=',;t'
37233
37234for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
37235 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37236 case $ac_file in
37237 - | *:- | *:-:* ) # input from stdin
37238 cat >$tmp/stdin
37239 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37240 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37241 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37242 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37243 * ) ac_file_in=$ac_file.in ;;
37244 esac
37245
37246 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
37247echo "$as_me: creating $ac_file" >&6;}
37248
37249 # First look for the input files in the build tree, otherwise in the
37250 # src tree.
37251 ac_file_inputs=`IFS=:
37252 for f in $ac_file_in; do
37253 case $f in
37254 -) echo $tmp/stdin ;;
37255 [\\/$]*)
37256 # Absolute (can't be DOS-style, as IFS=:)
37257 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37258echo "$as_me: error: cannot find input file: $f" >&2;}
37259 { (exit 1); exit 1; }; }
37260 echo $f;;
37261 *) # Relative
37262 if test -f "$f"; then
37263 # Build tree
37264 echo $f
37265 elif test -f "$srcdir/$f"; then
37266 # Source tree
37267 echo $srcdir/$f
37268 else
37269 # /dev/null tree
37270 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37271echo "$as_me: error: cannot find input file: $f" >&2;}
37272 { (exit 1); exit 1; }; }
37273 fi;;
37274 esac
37275 done` || { (exit 1); exit 1; }
37276 # Remove the trailing spaces.
37277 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
37278
37279_ACEOF
37280
37281# Transform confdefs.h into two sed scripts, `conftest.defines' and
37282# `conftest.undefs', that substitutes the proper values into
37283# config.h.in to produce config.h. The first handles `#define'
37284# templates, and the second `#undef' templates.
37285# And first: Protect against being on the right side of a sed subst in
37286# config.status. Protect against being in an unquoted here document
37287# in config.status.
37288rm -f conftest.defines conftest.undefs
37289# Using a here document instead of a string reduces the quoting nightmare.
37290# Putting comments in sed scripts is not portable.
37291#
37292# `end' is used to avoid that the second main sed command (meant for
37293# 0-ary CPP macros) applies to n-ary macro definitions.
37294# See the Autoconf documentation for `clear'.
37295cat >confdef2sed.sed <<\_ACEOF
37296s/[\\&,]/\\&/g
37297s,[\\$`],\\&,g
37298t clear
37299: clear
37300s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
37301t end
37302s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
37303: end
37304_ACEOF
37305# If some macros were called several times there might be several times
37306# the same #defines, which is useless. Nevertheless, we may not want to
37307# sort them, since we want the *last* AC-DEFINE to be honored.
37308uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
37309sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
37310rm -f confdef2sed.sed
37311
37312# This sed command replaces #undef with comments. This is necessary, for
37313# example, in the case of _POSIX_SOURCE, which is predefined and required
37314# on some systems where configure will not decide to define it.
37315cat >>conftest.undefs <<\_ACEOF
37316s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
37317_ACEOF
37318
37319# Break up conftest.defines because some shells have a limit on the size
37320# of here documents, and old seds have small limits too (100 cmds).
37321echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
37322echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
37323echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
37324echo ' :' >>$CONFIG_STATUS
37325rm -f conftest.tail
37326while grep . conftest.defines >/dev/null
37327do
37328 # Write a limited-size here document to $tmp/defines.sed.
37329 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
37330 # Speed up: don't consider the non `#define' lines.
37331 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
37332 # Work around the forget-to-reset-the-flag bug.
37333 echo 't clr' >>$CONFIG_STATUS
37334 echo ': clr' >>$CONFIG_STATUS
37335 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
37336 echo 'CEOF
37337 sed -f $tmp/defines.sed $tmp/in >$tmp/out
37338 rm -f $tmp/in
37339 mv $tmp/out $tmp/in
37340' >>$CONFIG_STATUS
37341 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
37342 rm -f conftest.defines
37343 mv conftest.tail conftest.defines
37344done
37345rm -f conftest.defines
37346echo ' fi # grep' >>$CONFIG_STATUS
37347echo >>$CONFIG_STATUS
37348
37349# Break up conftest.undefs because some shells have a limit on the size
37350# of here documents, and old seds have small limits too (100 cmds).
37351echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
37352rm -f conftest.tail
37353while grep . conftest.undefs >/dev/null
37354do
37355 # Write a limited-size here document to $tmp/undefs.sed.
37356 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
37357 # Speed up: don't consider the non `#undef'
37358 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
37359 # Work around the forget-to-reset-the-flag bug.
37360 echo 't clr' >>$CONFIG_STATUS
37361 echo ': clr' >>$CONFIG_STATUS
37362 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
37363 echo 'CEOF
37364 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
37365 rm -f $tmp/in
37366 mv $tmp/out $tmp/in
37367' >>$CONFIG_STATUS
37368 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
37369 rm -f conftest.undefs
37370 mv conftest.tail conftest.undefs
37371done
37372rm -f conftest.undefs
37373
37374cat >>$CONFIG_STATUS <<\_ACEOF
37375 # Let's still pretend it is `configure' which instantiates (i.e., don't
37376 # use $as_me), people would be surprised to read:
37377 # /* config.h. Generated by config.status. */
37378 if test x"$ac_file" = x-; then
37379 echo "/* Generated by configure. */" >$tmp/config.h
37380 else
37381 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
37382 fi
37383 cat $tmp/in >>$tmp/config.h
37384 rm -f $tmp/in
37385 if test x"$ac_file" != x-; then
37386 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
37387 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
37388echo "$as_me: $ac_file is unchanged" >&6;}
37389 else
37390 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
37391$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37392 X"$ac_file" : 'X\(//\)[^/]' \| \
37393 X"$ac_file" : 'X\(//\)$' \| \
37394 X"$ac_file" : 'X\(/\)' \| \
37395 . : '\(.\)' 2>/dev/null ||
37396echo X"$ac_file" |
37397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37398 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37399 /^X\(\/\/\)$/{ s//\1/; q; }
37400 /^X\(\/\).*/{ s//\1/; q; }
37401 s/.*/./; q'`
37402 { if $as_mkdir_p; then
37403 mkdir -p "$ac_dir"
37404 else
37405 as_dir="$ac_dir"
37406 as_dirs=
37407 while test ! -d "$as_dir"; do
37408 as_dirs="$as_dir $as_dirs"
37409 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37410$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37411 X"$as_dir" : 'X\(//\)[^/]' \| \
37412 X"$as_dir" : 'X\(//\)$' \| \
37413 X"$as_dir" : 'X\(/\)' \| \
37414 . : '\(.\)' 2>/dev/null ||
37415echo X"$as_dir" |
37416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37417 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37418 /^X\(\/\/\)$/{ s//\1/; q; }
37419 /^X\(\/\).*/{ s//\1/; q; }
37420 s/.*/./; q'`
37421 done
37422 test ! -n "$as_dirs" || mkdir $as_dirs
37423 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37424echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37425 { (exit 1); exit 1; }; }; }
37426
37427 rm -f $ac_file
37428 mv $tmp/config.h $ac_file
37429 fi
37430 else
37431 cat $tmp/config.h
37432 rm -f $tmp/config.h
37433 fi
37434done
37435_ACEOF
37436cat >>$CONFIG_STATUS <<\_ACEOF
37437
37438#
37439# CONFIG_COMMANDS section.
37440#
37441for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
37442 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
37443 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
37444 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
37445$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37446 X"$ac_dest" : 'X\(//\)[^/]' \| \
37447 X"$ac_dest" : 'X\(//\)$' \| \
37448 X"$ac_dest" : 'X\(/\)' \| \
37449 . : '\(.\)' 2>/dev/null ||
37450echo X"$ac_dest" |
37451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37452 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37453 /^X\(\/\/\)$/{ s//\1/; q; }
37454 /^X\(\/\).*/{ s//\1/; q; }
37455 s/.*/./; q'`
37456 ac_builddir=.
37457
37458if test "$ac_dir" != .; then
37459 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37460 # A "../" for each directory in $ac_dir_suffix.
37461 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37462else
37463 ac_dir_suffix= ac_top_builddir=
37464fi
37465
37466case $srcdir in
37467 .) # No --srcdir option. We are building in place.
37468 ac_srcdir=.
37469 if test -z "$ac_top_builddir"; then
37470 ac_top_srcdir=.
37471 else
37472 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37473 fi ;;
37474 [\\/]* | ?:[\\/]* ) # Absolute path.
37475 ac_srcdir=$srcdir$ac_dir_suffix;
37476 ac_top_srcdir=$srcdir ;;
37477 *) # Relative path.
37478 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37479 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37480esac
37481# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37482# absolute.
37483ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37484ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37485ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37486ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37487
37488
37489 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
37490echo "$as_me: executing $ac_dest commands" >&6;}
37491 case $ac_dest in
37492 default )
37493 if test ! -h wx-config; then
37494 chmod +x wx-config
37495 mv wx-config wx${TOOLCHAIN_NAME}-config
37496 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
37497 fi
37498
37499 if test ! -d lib; then
37500 mkdir lib
37501 fi
37502 if test ! -d lib/wx; then
37503 mkdir lib/wx
37504 fi
37505 if test ! -d lib/wx/include; then
37506 mkdir lib/wx/include
37507 fi
37508 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
37509 mkdir lib/wx/include/${TOOLCHAIN_NAME}
37510 fi
37511 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
37512 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
37513 fi
37514 if test -f setup.h; then
37515 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
37516 fi
37517 ;;
37518 esac
37519done
37520_ACEOF
37521
37522cat >>$CONFIG_STATUS <<\_ACEOF
37523
37524{ (exit 0); exit 0; }
37525_ACEOF
37526chmod +x $CONFIG_STATUS
37527ac_clean_files=$ac_clean_files_save
37528
37529
37530# configure is writing to config.log, and then calls config.status.
37531# config.status does its own redirection, appending to config.log.
37532# Unfortunately, on DOS this fails, as config.log is still kept open
37533# by configure, so config.status won't be able to write to it; its
37534# output is simply discarded. So we exec the FD to /dev/null,
37535# effectively closing config.log, so it can be properly (re)opened and
37536# appended to by config.status. When coming back to configure, we
37537# need to make the FD available again.
37538if test "$no_create" != yes; then
37539 ac_cs_success=:
37540 ac_config_status_args=
37541 test "$silent" = yes &&
37542 ac_config_status_args="$ac_config_status_args --quiet"
37543 exec 5>/dev/null
37544 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
37545 exec 5>>config.log
37546 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37547 # would make configure fail if this is the last instruction.
37548 $ac_cs_success || { (exit 1); exit 1; }
37549fi
37550
37551#
37552# CONFIG_SUBDIRS section.
37553#
37554if test "$no_recursion" != yes; then
37555
37556 # Remove --cache-file and --srcdir arguments so they do not pile up.
37557 ac_sub_configure_args=
37558 ac_prev=
37559 for ac_arg in $ac_configure_args; do
37560 if test -n "$ac_prev"; then
37561 ac_prev=
37562 continue
37563 fi
37564 case $ac_arg in
37565 -cache-file | --cache-file | --cache-fil | --cache-fi \
37566 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
37567 ac_prev=cache_file ;;
37568 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
37569 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
37570 | --c=*)
37571 ;;
37572 --config-cache | -C)
37573 ;;
37574 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
37575 ac_prev=srcdir ;;
37576 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
37577 ;;
37578 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
37579 ac_prev=prefix ;;
37580 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
37581 ;;
37582 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
37583 esac
37584 done
37585
37586 # Always prepend --prefix to ensure using the same prefix
37587 # in subdir configurations.
37588 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
37589
37590 ac_popdir=`pwd`
37591 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
37592
37593 # Do not complain, so a configure script can configure whichever
37594 # parts of a large source tree are present.
37595 test -d $srcdir/$ac_dir || continue
37596
37597 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
37598echo "$as_me: configuring in $ac_dir" >&6;}
37599 { if $as_mkdir_p; then
37600 mkdir -p "$ac_dir"
37601 else
37602 as_dir="$ac_dir"
37603 as_dirs=
37604 while test ! -d "$as_dir"; do
37605 as_dirs="$as_dir $as_dirs"
37606 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37607$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37608 X"$as_dir" : 'X\(//\)[^/]' \| \
37609 X"$as_dir" : 'X\(//\)$' \| \
37610 X"$as_dir" : 'X\(/\)' \| \
37611 . : '\(.\)' 2>/dev/null ||
37612echo X"$as_dir" |
37613 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37614 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37615 /^X\(\/\/\)$/{ s//\1/; q; }
37616 /^X\(\/\).*/{ s//\1/; q; }
37617 s/.*/./; q'`
37618 done
37619 test ! -n "$as_dirs" || mkdir $as_dirs
37620 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37621echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37622 { (exit 1); exit 1; }; }; }
37623
37624 ac_builddir=.
37625
37626if test "$ac_dir" != .; then
37627 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37628 # A "../" for each directory in $ac_dir_suffix.
37629 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37630else
37631 ac_dir_suffix= ac_top_builddir=
37632fi
37633
37634case $srcdir in
37635 .) # No --srcdir option. We are building in place.
37636 ac_srcdir=.
37637 if test -z "$ac_top_builddir"; then
37638 ac_top_srcdir=.
37639 else
37640 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37641 fi ;;
37642 [\\/]* | ?:[\\/]* ) # Absolute path.
37643 ac_srcdir=$srcdir$ac_dir_suffix;
37644 ac_top_srcdir=$srcdir ;;
37645 *) # Relative path.
37646 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37647 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37648esac
37649# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37650# absolute.
37651ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37652ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37653ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37654ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37655
37656
37657 cd $ac_dir
37658
37659 # Check for guested configure; otherwise get Cygnus style configure.
37660 if test -f $ac_srcdir/configure.gnu; then
37661 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
37662 elif test -f $ac_srcdir/configure; then
37663 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
37664 elif test -f $ac_srcdir/configure.in; then
37665 ac_sub_configure=$ac_configure
37666 else
37667 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37668echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37669 ac_sub_configure=
37670 fi
37671
37672 # The recursion is here.
37673 if test -n "$ac_sub_configure"; then
37674 # Make the cache file name correct relative to the subdirectory.
37675 case $cache_file in
37676 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
37677 *) # Relative path.
37678 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
37679 esac
37680
37681 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37682echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37683 # The eval makes quoting arguments work.
37684 eval $ac_sub_configure $ac_sub_configure_args \
37685 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37686 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37687echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37688 { (exit 1); exit 1; }; }
37689 fi
37690
37691 cd $ac_popdir
37692 done
37693fi
37694
37695
37696echo
37697echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37698echo ""
37699echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
37700echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37701
37702echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37703echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37704echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37705
37706echo " What level of wxWindows compatibility should be enabled?"
37707echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37708echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37709
37710echo " Which libraries should wxWindows use?"
37711echo " jpeg ${wxUSE_LIBJPEG-none}"
37712echo " png ${wxUSE_LIBPNG-none}"
37713echo " regex ${wxUSE_REGEX}"
37714echo " tiff ${wxUSE_LIBTIFF-none}"
37715if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
37716echo " xpm ${wxUSE_LIBXPM-none}"
37717fi
37718echo " zlib ${wxUSE_ZLIB}"
37719echo " odbc ${wxUSE_ODBC}"
37720echo " expat ${wxUSE_EXPAT}"
37721echo " libmspack ${wxUSE_LIBMSPACK}"
37722
37723echo ""
37724