]> git.saurik.com Git - wxWidgets.git/blame_incremental - configure
use forward instead of backward slashes in filesnames passed to gcc
[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.0.
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.0'
273PACKAGE_STRING='wxWindows 2.5.0'
274PACKAGE_BUGREPORT='wx-dev@lists.wxwindows.org'
275
276ac_unique_file="wx-config.in"
277# Factoring default headers for most tests.
278ac_includes_default="\
279#include <stdio.h>
280#if HAVE_SYS_TYPES_H
281# include <sys/types.h>
282#endif
283#if HAVE_SYS_STAT_H
284# include <sys/stat.h>
285#endif
286#if STDC_HEADERS
287# include <stdlib.h>
288# include <stddef.h>
289#else
290# if HAVE_STDLIB_H
291# include <stdlib.h>
292# endif
293#endif
294#if HAVE_STRING_H
295# if !STDC_HEADERS && HAVE_MEMORY_H
296# include <memory.h>
297# endif
298# include <string.h>
299#endif
300#if HAVE_STRINGS_H
301# include <strings.h>
302#endif
303#if HAVE_INTTYPES_H
304# include <inttypes.h>
305#else
306# if HAVE_STDINT_H
307# include <stdint.h>
308# endif
309#endif
310#if HAVE_UNISTD_H
311# include <unistd.h>
312#endif"
313
314ac_subdirs_all="$ac_subdirs_all src/expat"
315ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_XML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX SET_MAKE MAKE_SET INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE LIBPREFIX DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_OS2 COND_TOOLKIT_OS2_USE_GUI_1 COND_TOOLKIT_OS2_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_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS NM 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.0 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.0:";;
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
899 --enable-dataobj use data object classes
900 --enable-ipc use interprocess communication (wxSocket etc.)
901 --enable-cmdline use wxCmdLineParser class
902 --enable-datetime use wxDateTime class
903 --enable-stopwatch use wxStopWatch class
904 --enable-dialupman use dialup network classes
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-timer use wxTimer class
907 --enable-wave use wxWave class
908 --enable-fraction use wxFraction class
909 --enable-dynlib use wxLibrary class for DLL loading
910 --enable-dynamicloader use (new) wxDynamicLibrary class
911 --enable-longlong use wxLongLong class
912 --enable-geometry use geometry class
913 --enable-log use logging system
914 --enable-streams use wxStream etc classes
915 --enable-file use wxFile classes
916 --enable-ffile use wxFFile classes
917 --enable-textbuf use wxTextBuffer class
918 --enable-textfile use wxTextFile class
919 --enable-fontmap use font encodings conversion classes
920 --enable-unicode compile wxString with Unicode support
921 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)
922 --enable-wxprintfv use wxWindows implementation of vprintf()
923 --enable-std_iostreams use standard C++ stream classes
924 --enable-filesystem use virtual file systems classes
925 --enable-fs_inet use virtual HTTP/FTP filesystems
926 --enable-fs_zip use virtual ZIP filesystems
927 --enable-zipstream use wxZipInputStream
928 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException
929 --enable-snglinst use wxSingleInstanceChecker class
930 --enable-mimetype use wxMimeTypesManager
931 --enable-sysoptions use wxSystemOptions
932 --enable-url use wxURL class
933 --enable-protocol use wxProtocol class
934 --enable-protocol-http HTTP support in wxProtocol
935 --enable-protocol-ftp FTP support in wxProtocol
936 --enable-protocol-file FILE support in wxProtocol
937 --enable-threads use threads
938 --enable-docview use document view architecture
939 --enable-help use help subsystem
940 --enable-mshtmlhelp use MS HTML Help (win32)
941 --enable-html use wxHTML sub-library
942 --enable-htmlhelp use wxHTML-based help
943 --enable-constraints use layout-constraints system
944 --enable-printarch use printing architecture
945 --enable-mdi use multiple document interface architecture
946 --enable-loggui use standard GUI logger
947 --enable-logwin use wxLogWindow
948 --enable-logdialog use wxLogDialog
949 --enable-postscript use wxPostscriptDC device context (default for gtk+)
950 --enable-prologio not available; see contrib
951 --enable-resources not available; see contrib
952 --enable-clipboard use wxClipboard class
953 --enable-dnd use Drag'n'Drop classes
954 --enable-metafile use win32 metafiles
955 --enable-controls use all usual controls
956 --enable-accel use accelerators
957 --enable-button use wxButton class
958 --enable-bmpbutton use wxBitmapButton class
959 --enable-calendar use wxCalendarCtrl class
960 --enable-caret use wxCaret class
961 --enable-checkbox use wxCheckBox class
962 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
963 --enable-choice use wxChoice class
964 --enable-combobox use wxComboBox class
965 --enable-display use wxDisplay class
966 --enable-gauge use wxGauge class
967 --enable-grid use wxGrid class
968 --enable-imaglist use wxImageList class
969 --enable-listbook use wxListbook class
970 --enable-listbox use wxListBox class
971 --enable-listctrl use wxListCtrl class
972 --enable-notebook use wxNotebook class
973 --enable-radiobox use wxRadioBox class
974 --enable-radiobtn use wxRadioButton class
975 --enable-sash use wxSashWindow class
976 --enable-scrollbar use wxScrollBar class and scrollable windows
977 --enable-slider use wxSlider class
978 --enable-spinbtn use wxSpinButton class
979 --enable-spinctrl use wxSpinCtrl class
980 --enable-splitter use wxSplitterWindow class
981 --enable-statbmp use wxStaticBitmap class
982 --enable-statbox use wxStaticBox class
983 --enable-statline use wxStaticLine class
984 --enable-stattext use wxStaticText class
985 --enable-statusbar use wxStatusBar class
986 --enable-tabdialog use wxTabControl class
987 --enable-textctrl use wxTextCtrl class
988 --enable-togglebtn use wxToggleButton class
989 --enable-toolbar use wxToolBar class
990 --enable-tbarnative use native wxToolBar class
991 --enable-tbarsmpl use wxToolBarSimple class
992 --enable-treectrl use wxTreeCtrl class
993 --enable-tipwindow use wxTipWindow class
994 --enable-popupwin use wxPopUpWindow class
995 --enable-commondlg use all common dialogs
996 --enable-choicedlg use wxChoiceDialog
997 --enable-coldlg use wxColourDialog
998 --enable-filedlg use wxFileDialog
999 --enable-finddlg use wxFindReplaceDialog
1000 --enable-fontdlg use wxFontDialog
1001 --enable-dirdlg use wxDirDialog
1002 --enable-msgdlg use wxMessageDialog
1003 --enable-numberdlg use wxNumberEntryDialog
1004 --enable-splash use wxSplashScreen
1005 --enable-textdlg use wxTextDialog
1006 --enable-tipdlg use startup tips
1007 --enable-progressdlg use wxProgressDialog
1008 --enable-wizarddlg use wxWizard
1009 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1010 --enable-miniframe use wxMiniFrame class
1011 --enable-tooltips use wxToolTip class
1012 --enable-splines use spline drawing code
1013 --enable-validators use wxValidator and derived classes
1014 --enable-busyinfo use wxBusyInfo
1015 --enable-joystick use wxJoystick (Linux only)
1016 --enable-metafiles use wxMetaFile (Windows only)
1017 --enable-dragimage use wxDragImage
1018 --enable-accessibility enable accessibility support
1019 --enable-palette use wxPalette class
1020 --enable-image use wxImage class
1021 --enable-gif use gif images (GIF file format)
1022 --enable-pcx use pcx images (PCX file format)
1023 --enable-iff use iff images (IFF file format)
1024 --enable-pnm use pnm images (PNM file format)
1025 --enable-xpm use xpm images (XPM file format)
1026 --enable-icocur use Windows ICO and CUR formats
1027 --enable-official_build official build of wxWindows (win32 DLL only)
1028 --enable-vendor=VENDOR vendor name (win32 DLL only)
1029 --disable-largefile omit support for large files
1030 --disable-gtktest do not try to compile and run a test GTK+ program
1031 --disable-gtktest Do not try to compile and run a test GTK program
1032 --disable-precomp-headers don't use precompiled headers even if compiler can
1033
1034Optional Packages:
1035 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1036 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1037 --with-gtk use GTK+
1038 --with-motif use Motif/Lesstif
1039 --with-mac use Mac OS X
1040 --with-cocoa use Cocoa
1041 --with-wine use Wine
1042 --with-msw use MS-Windows
1043 --with-pm use OS/2 Presentation Manager
1044 --with-mgl use SciTech MGL
1045 --with-microwin use MicroWindows
1046 --with-x11 use X11
1047 --with-libpng use libpng (PNG image format)
1048 --with-libjpeg use libjpeg (JPEG file format)
1049 --with-libtiff use libtiff (TIFF file format)
1050 --with-opengl use OpenGL (or Mesa)
1051 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1052 --with-regex enable support for wxRegEx class
1053 --with-zlib use zlib for LZW compression
1054 --with-odbc use the IODBC and wxODBC classes
1055 --with-expat enable XML support using expat parser
1056 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1057 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1058 --with-x use the X Window System
1059 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1060
1061Some influential environment variables:
1062 CC C compiler command
1063 CFLAGS C compiler flags
1064 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1065 nonstandard directory <lib dir>
1066 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1067 headers in a nonstandard directory <include dir>
1068 CPP C preprocessor
1069 CXX C++ compiler command
1070 CXXFLAGS C++ compiler flags
1071 CXXCPP C++ preprocessor
1072
1073Use these variables to override the choices made by `configure' or to help
1074it to find libraries and programs with nonstandard names/locations.
1075
1076Report bugs to <wx-dev@lists.wxwindows.org>.
1077_ACEOF
1078fi
1079
1080if test "$ac_init_help" = "recursive"; then
1081 # If there are subdirs, report their specific --help.
1082 ac_popdir=`pwd`
1083 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1084 test -d $ac_dir || continue
1085 ac_builddir=.
1086
1087if test "$ac_dir" != .; then
1088 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1089 # A "../" for each directory in $ac_dir_suffix.
1090 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1091else
1092 ac_dir_suffix= ac_top_builddir=
1093fi
1094
1095case $srcdir in
1096 .) # No --srcdir option. We are building in place.
1097 ac_srcdir=.
1098 if test -z "$ac_top_builddir"; then
1099 ac_top_srcdir=.
1100 else
1101 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1102 fi ;;
1103 [\\/]* | ?:[\\/]* ) # Absolute path.
1104 ac_srcdir=$srcdir$ac_dir_suffix;
1105 ac_top_srcdir=$srcdir ;;
1106 *) # Relative path.
1107 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1108 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1109esac
1110# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1111# absolute.
1112ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1113ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1114ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1115ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1116
1117 cd $ac_dir
1118 # Check for guested configure; otherwise get Cygnus style configure.
1119 if test -f $ac_srcdir/configure.gnu; then
1120 echo
1121 $SHELL $ac_srcdir/configure.gnu --help=recursive
1122 elif test -f $ac_srcdir/configure; then
1123 echo
1124 $SHELL $ac_srcdir/configure --help=recursive
1125 elif test -f $ac_srcdir/configure.ac ||
1126 test -f $ac_srcdir/configure.in; then
1127 echo
1128 $ac_configure --help
1129 else
1130 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1131 fi
1132 cd $ac_popdir
1133 done
1134fi
1135
1136test -n "$ac_init_help" && exit 0
1137if $ac_init_version; then
1138 cat <<\_ACEOF
1139wxWindows configure 2.5.0
1140generated by GNU Autoconf 2.57
1141
1142Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1143Free Software Foundation, Inc.
1144This configure script is free software; the Free Software Foundation
1145gives unlimited permission to copy, distribute and modify it.
1146_ACEOF
1147 exit 0
1148fi
1149exec 5>config.log
1150cat >&5 <<_ACEOF
1151This file contains any messages produced by compilers while
1152running configure, to aid debugging if configure makes a mistake.
1153
1154It was created by wxWindows $as_me 2.5.0, which was
1155generated by GNU Autoconf 2.57. Invocation command line was
1156
1157 $ $0 $@
1158
1159_ACEOF
1160{
1161cat <<_ASUNAME
1162## --------- ##
1163## Platform. ##
1164## --------- ##
1165
1166hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1167uname -m = `(uname -m) 2>/dev/null || echo unknown`
1168uname -r = `(uname -r) 2>/dev/null || echo unknown`
1169uname -s = `(uname -s) 2>/dev/null || echo unknown`
1170uname -v = `(uname -v) 2>/dev/null || echo unknown`
1171
1172/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1173/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1174
1175/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1176/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1177/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1178hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1179/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1180/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1181/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1182
1183_ASUNAME
1184
1185as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1186for as_dir in $PATH
1187do
1188 IFS=$as_save_IFS
1189 test -z "$as_dir" && as_dir=.
1190 echo "PATH: $as_dir"
1191done
1192
1193} >&5
1194
1195cat >&5 <<_ACEOF
1196
1197
1198## ----------- ##
1199## Core tests. ##
1200## ----------- ##
1201
1202_ACEOF
1203
1204
1205# Keep a trace of the command line.
1206# Strip out --no-create and --no-recursion so they do not pile up.
1207# Strip out --silent because we don't want to record it for future runs.
1208# Also quote any args containing shell meta-characters.
1209# Make two passes to allow for proper duplicate-argument suppression.
1210ac_configure_args=
1211ac_configure_args0=
1212ac_configure_args1=
1213ac_sep=
1214ac_must_keep_next=false
1215for ac_pass in 1 2
1216do
1217 for ac_arg
1218 do
1219 case $ac_arg in
1220 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1221 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1222 | -silent | --silent | --silen | --sile | --sil)
1223 continue ;;
1224 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1225 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1226 esac
1227 case $ac_pass in
1228 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1229 2)
1230 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1231 if test $ac_must_keep_next = true; then
1232 ac_must_keep_next=false # Got value, back to normal.
1233 else
1234 case $ac_arg in
1235 *=* | --config-cache | -C | -disable-* | --disable-* \
1236 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1237 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1238 | -with-* | --with-* | -without-* | --without-* | --x)
1239 case "$ac_configure_args0 " in
1240 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1241 esac
1242 ;;
1243 -* ) ac_must_keep_next=true ;;
1244 esac
1245 fi
1246 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1247 # Get rid of the leading space.
1248 ac_sep=" "
1249 ;;
1250 esac
1251 done
1252done
1253$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1254$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1255
1256# When interrupted or exit'd, cleanup temporary files, and complete
1257# config.log. We remove comments because anyway the quotes in there
1258# would cause problems or look ugly.
1259# WARNING: Be sure not to use single quotes in there, as some shells,
1260# such as our DU 5.0 friend, will then `close' the trap.
1261trap 'exit_status=$?
1262 # Save into config.log some information that might help in debugging.
1263 {
1264 echo
1265
1266 cat <<\_ASBOX
1267## ---------------- ##
1268## Cache variables. ##
1269## ---------------- ##
1270_ASBOX
1271 echo
1272 # The following way of writing the cache mishandles newlines in values,
1273{
1274 (set) 2>&1 |
1275 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1276 *ac_space=\ *)
1277 sed -n \
1278 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1279 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1280 ;;
1281 *)
1282 sed -n \
1283 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1284 ;;
1285 esac;
1286}
1287 echo
1288
1289 cat <<\_ASBOX
1290## ----------------- ##
1291## Output variables. ##
1292## ----------------- ##
1293_ASBOX
1294 echo
1295 for ac_var in $ac_subst_vars
1296 do
1297 eval ac_val=$`echo $ac_var`
1298 echo "$ac_var='"'"'$ac_val'"'"'"
1299 done | sort
1300 echo
1301
1302 if test -n "$ac_subst_files"; then
1303 cat <<\_ASBOX
1304## ------------- ##
1305## Output files. ##
1306## ------------- ##
1307_ASBOX
1308 echo
1309 for ac_var in $ac_subst_files
1310 do
1311 eval ac_val=$`echo $ac_var`
1312 echo "$ac_var='"'"'$ac_val'"'"'"
1313 done | sort
1314 echo
1315 fi
1316
1317 if test -s confdefs.h; then
1318 cat <<\_ASBOX
1319## ----------- ##
1320## confdefs.h. ##
1321## ----------- ##
1322_ASBOX
1323 echo
1324 sed "/^$/d" confdefs.h | sort
1325 echo
1326 fi
1327 test "$ac_signal" != 0 &&
1328 echo "$as_me: caught signal $ac_signal"
1329 echo "$as_me: exit $exit_status"
1330 } >&5
1331 rm -f core core.* *.core &&
1332 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1333 exit $exit_status
1334 ' 0
1335for ac_signal in 1 2 13 15; do
1336 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1337done
1338ac_signal=0
1339
1340# confdefs.h avoids OS command line length limits that DEFS can exceed.
1341rm -rf conftest* confdefs.h
1342# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1343echo >confdefs.h
1344
1345# Predefined preprocessor variables.
1346
1347cat >>confdefs.h <<_ACEOF
1348#define PACKAGE_NAME "$PACKAGE_NAME"
1349_ACEOF
1350
1351
1352cat >>confdefs.h <<_ACEOF
1353#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1354_ACEOF
1355
1356
1357cat >>confdefs.h <<_ACEOF
1358#define PACKAGE_VERSION "$PACKAGE_VERSION"
1359_ACEOF
1360
1361
1362cat >>confdefs.h <<_ACEOF
1363#define PACKAGE_STRING "$PACKAGE_STRING"
1364_ACEOF
1365
1366
1367cat >>confdefs.h <<_ACEOF
1368#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1369_ACEOF
1370
1371
1372# Let the site file select an alternate cache file if it wants to.
1373# Prefer explicitly selected file to automatically selected ones.
1374if test -z "$CONFIG_SITE"; then
1375 if test "x$prefix" != xNONE; then
1376 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1377 else
1378 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1379 fi
1380fi
1381for ac_site_file in $CONFIG_SITE; do
1382 if test -r "$ac_site_file"; then
1383 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1384echo "$as_me: loading site script $ac_site_file" >&6;}
1385 sed 's/^/| /' "$ac_site_file" >&5
1386 . "$ac_site_file"
1387 fi
1388done
1389
1390if test -r "$cache_file"; then
1391 # Some versions of bash will fail to source /dev/null (special
1392 # files actually), so we avoid doing that.
1393 if test -f "$cache_file"; then
1394 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1395echo "$as_me: loading cache $cache_file" >&6;}
1396 case $cache_file in
1397 [\\/]* | ?:[\\/]* ) . $cache_file;;
1398 *) . ./$cache_file;;
1399 esac
1400 fi
1401else
1402 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1403echo "$as_me: creating cache $cache_file" >&6;}
1404 >$cache_file
1405fi
1406
1407# Check that the precious variables saved in the cache have kept the same
1408# value.
1409ac_cache_corrupted=false
1410for ac_var in `(set) 2>&1 |
1411 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1412 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1413 eval ac_new_set=\$ac_env_${ac_var}_set
1414 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1415 eval ac_new_val="\$ac_env_${ac_var}_value"
1416 case $ac_old_set,$ac_new_set in
1417 set,)
1418 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1419echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1420 ac_cache_corrupted=: ;;
1421 ,set)
1422 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1423echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1424 ac_cache_corrupted=: ;;
1425 ,);;
1426 *)
1427 if test "x$ac_old_val" != "x$ac_new_val"; then
1428 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1429echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1430 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1431echo "$as_me: former value: $ac_old_val" >&2;}
1432 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1433echo "$as_me: current value: $ac_new_val" >&2;}
1434 ac_cache_corrupted=:
1435 fi;;
1436 esac
1437 # Pass precious variables to config.status.
1438 if test "$ac_new_set" = set; then
1439 case $ac_new_val in
1440 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1441 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1442 *) ac_arg=$ac_var=$ac_new_val ;;
1443 esac
1444 case " $ac_configure_args " in
1445 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1446 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1447 esac
1448 fi
1449done
1450if $ac_cache_corrupted; then
1451 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1452echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1453 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1454echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1455 { (exit 1); exit 1; }; }
1456fi
1457
1458ac_ext=c
1459ac_cpp='$CPP $CPPFLAGS'
1460ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1461ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1462ac_compiler_gnu=$ac_cv_c_compiler_gnu
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493ac_aux_dir=
1494for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1495 if test -f $ac_dir/install-sh; then
1496 ac_aux_dir=$ac_dir
1497 ac_install_sh="$ac_aux_dir/install-sh -c"
1498 break
1499 elif test -f $ac_dir/install.sh; then
1500 ac_aux_dir=$ac_dir
1501 ac_install_sh="$ac_aux_dir/install.sh -c"
1502 break
1503 elif test -f $ac_dir/shtool; then
1504 ac_aux_dir=$ac_dir
1505 ac_install_sh="$ac_aux_dir/shtool install -c"
1506 break
1507 fi
1508done
1509if test -z "$ac_aux_dir"; then
1510 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1511echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1512 { (exit 1); exit 1; }; }
1513fi
1514ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1515ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1516ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1517
1518# Make sure we can run config.sub.
1519$ac_config_sub sun4 >/dev/null 2>&1 ||
1520 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1521echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1522 { (exit 1); exit 1; }; }
1523
1524echo "$as_me:$LINENO: checking build system type" >&5
1525echo $ECHO_N "checking build system type... $ECHO_C" >&6
1526if test "${ac_cv_build+set}" = set; then
1527 echo $ECHO_N "(cached) $ECHO_C" >&6
1528else
1529 ac_cv_build_alias=$build_alias
1530test -z "$ac_cv_build_alias" &&
1531 ac_cv_build_alias=`$ac_config_guess`
1532test -z "$ac_cv_build_alias" &&
1533 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1534echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1535 { (exit 1); exit 1; }; }
1536ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1537 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1538echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1539 { (exit 1); exit 1; }; }
1540
1541fi
1542echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1543echo "${ECHO_T}$ac_cv_build" >&6
1544build=$ac_cv_build
1545build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1546build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1547build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1548
1549
1550echo "$as_me:$LINENO: checking host system type" >&5
1551echo $ECHO_N "checking host system type... $ECHO_C" >&6
1552if test "${ac_cv_host+set}" = set; then
1553 echo $ECHO_N "(cached) $ECHO_C" >&6
1554else
1555 ac_cv_host_alias=$host_alias
1556test -z "$ac_cv_host_alias" &&
1557 ac_cv_host_alias=$ac_cv_build_alias
1558ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1559 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1560echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1561 { (exit 1); exit 1; }; }
1562
1563fi
1564echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1565echo "${ECHO_T}$ac_cv_host" >&6
1566host=$ac_cv_host
1567host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1568host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1569host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1570
1571
1572echo "$as_me:$LINENO: checking target system type" >&5
1573echo $ECHO_N "checking target system type... $ECHO_C" >&6
1574if test "${ac_cv_target+set}" = set; then
1575 echo $ECHO_N "(cached) $ECHO_C" >&6
1576else
1577 ac_cv_target_alias=$target_alias
1578test "x$ac_cv_target_alias" = "x" &&
1579 ac_cv_target_alias=$ac_cv_host_alias
1580ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1581 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1582echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1583 { (exit 1); exit 1; }; }
1584
1585fi
1586echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1587echo "${ECHO_T}$ac_cv_target" >&6
1588target=$ac_cv_target
1589target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1590target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1591target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1592
1593
1594# The aliases save the names the user supplied, while $host etc.
1595# will get canonicalized.
1596test -n "$target_alias" &&
1597 test "$program_prefix$program_suffix$program_transform_name" = \
1598 NONENONEs,x,x, &&
1599 program_prefix=${target_alias}-
1600
1601
1602
1603WX_MAJOR_VERSION_NUMBER=2
1604WX_MINOR_VERSION_NUMBER=5
1605WX_RELEASE_NUMBER=0
1606
1607WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1608WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1609
1610WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1611
1612WX_CURRENT=0
1613WX_REVISION=0
1614WX_AGE=0
1615
1616
1617
1618USE_UNIX=1
1619USE_WIN32=0
1620USE_DOS=0
1621USE_BEOS=0
1622USE_MAC=0
1623
1624USE_AIX=
1625USE_BSD= USE_DARWIN= USE_FREEBSD=
1626USE_GNU= USE_HPUX=
1627USE_LINUX=
1628USE_NETBSD=
1629USE_OPENBSD=
1630USE_OSF= USE_SGI=
1631USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1632USE_ULTRIX=
1633USE_UNIXWARE=
1634
1635USE_ALPHA=
1636
1637NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1638
1639ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1640
1641DEFAULT_wxUSE_COCOA=0
1642DEFAULT_wxUSE_GTK=0
1643DEFAULT_wxUSE_MAC=0
1644DEFAULT_wxUSE_MGL=0
1645DEFAULT_wxUSE_MICROWIN=0
1646DEFAULT_wxUSE_MOTIF=0
1647DEFAULT_wxUSE_MSW=0
1648DEFAULT_wxUSE_PM=0
1649DEFAULT_wxUSE_X11=0
1650
1651DEFAULT_DEFAULT_wxUSE_COCOA=0
1652DEFAULT_DEFAULT_wxUSE_GTK=0
1653DEFAULT_DEFAULT_wxUSE_MAC=0
1654DEFAULT_DEFAULT_wxUSE_MGL=0
1655DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1656DEFAULT_DEFAULT_wxUSE_MOTIF=0
1657DEFAULT_DEFAULT_wxUSE_MSW=0
1658DEFAULT_DEFAULT_wxUSE_PM=0
1659DEFAULT_DEFAULT_wxUSE_X11=0
1660
1661PROGRAM_EXT=
1662SO_SUFFIX=so
1663SAMPLES_RPATH_FLAG=
1664SAMPLES_RPATH_POSTLINK=
1665
1666case "${host}" in
1667 *-hp-hpux* )
1668 USE_HPUX=1
1669 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1670 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1671 SO_SUFFIX=sl
1672 cat >>confdefs.h <<\_ACEOF
1673#define __HPUX__ 1
1674_ACEOF
1675
1676 ;;
1677 *-*-linux* )
1678 USE_LINUX=1
1679 cat >>confdefs.h <<\_ACEOF
1680#define __LINUX__ 1
1681_ACEOF
1682
1683 TMP=`uname -m`
1684 if test "x$TMP" = "xalpha"; then
1685 USE_ALPHA=1
1686 cat >>confdefs.h <<\_ACEOF
1687#define __ALPHA__ 1
1688_ACEOF
1689
1690 fi
1691 DEFAULT_DEFAULT_wxUSE_GTK=1
1692 ;;
1693 *-*-gnu* )
1694 USE_GNU=1
1695 cat >>confdefs.h <<\_ACEOF
1696#define __GNU__ 1
1697_ACEOF
1698
1699 TMP=`uname -m`
1700 if test "x$TMP" = "xalpha"; then
1701 USE_ALPHA=1
1702 cat >>confdefs.h <<\_ACEOF
1703#define __ALPHA__ 1
1704_ACEOF
1705
1706 fi
1707 DEFAULT_DEFAULT_wxUSE_GTK=1
1708 ;;
1709 *-*-irix5* | *-*-irix6* )
1710 USE_SGI=1
1711 USE_SVR4=1
1712 cat >>confdefs.h <<\_ACEOF
1713#define __SGI__ 1
1714_ACEOF
1715
1716 cat >>confdefs.h <<\_ACEOF
1717#define __SVR4__ 1
1718_ACEOF
1719
1720 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1721 ;;
1722 *-*-solaris2* )
1723 USE_SUN=1
1724 USE_SOLARIS=1
1725 USE_SVR4=1
1726 cat >>confdefs.h <<\_ACEOF
1727#define __SUN__ 1
1728_ACEOF
1729
1730 cat >>confdefs.h <<\_ACEOF
1731#define __SOLARIS__ 1
1732_ACEOF
1733
1734 cat >>confdefs.h <<\_ACEOF
1735#define __SVR4__ 1
1736_ACEOF
1737
1738 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1739 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1740 ;;
1741 *-*-sunos4* )
1742 USE_SUN=1
1743 USE_SUNOS=1
1744 USE_BSD=1
1745 cat >>confdefs.h <<\_ACEOF
1746#define __SUN__ 1
1747_ACEOF
1748
1749 cat >>confdefs.h <<\_ACEOF
1750#define __SUNOS__ 1
1751_ACEOF
1752
1753 cat >>confdefs.h <<\_ACEOF
1754#define __BSD__ 1
1755_ACEOF
1756
1757 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1758 ;;
1759 *-*-freebsd*)
1760 USE_BSD=1
1761 USE_FREEBSD=1
1762 cat >>confdefs.h <<\_ACEOF
1763#define __FREEBSD__ 1
1764_ACEOF
1765
1766 cat >>confdefs.h <<\_ACEOF
1767#define __BSD__ 1
1768_ACEOF
1769
1770 DEFAULT_DEFAULT_wxUSE_GTK=1
1771 ;;
1772 *-*-openbsd*)
1773 USE_BSD=1
1774 USE_OPENBSD=1
1775 cat >>confdefs.h <<\_ACEOF
1776#define __OPENBSD__ 1
1777_ACEOF
1778
1779 cat >>confdefs.h <<\_ACEOF
1780#define __BSD__ 1
1781_ACEOF
1782
1783 DEFAULT_DEFAULT_wxUSE_GTK=1
1784 ;;
1785 *-*-netbsd*)
1786 USE_BSD=1
1787 USE_NETBSD=1
1788 cat >>confdefs.h <<\_ACEOF
1789#define __NETBSD__ 1
1790_ACEOF
1791
1792 cat >>confdefs.h <<\_ACEOF
1793#define __BSD__ 1
1794_ACEOF
1795
1796 DEFAULT_DEFAULT_wxUSE_GTK=1
1797 ;;
1798 *-*-osf* )
1799 USE_ALPHA=1
1800 USE_OSF=1
1801 cat >>confdefs.h <<\_ACEOF
1802#define __ALPHA__ 1
1803_ACEOF
1804
1805 cat >>confdefs.h <<\_ACEOF
1806#define __OSF__ 1
1807_ACEOF
1808
1809 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1810 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1811 ;;
1812 *-*-dgux5* )
1813 USE_ALPHA=1
1814 USE_SVR4=1
1815 cat >>confdefs.h <<\_ACEOF
1816#define __ALPHA__ 1
1817_ACEOF
1818
1819 cat >>confdefs.h <<\_ACEOF
1820#define __SVR4__ 1
1821_ACEOF
1822
1823 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1824 ;;
1825 *-*-sysv5* )
1826 USE_SYSV=1
1827 USE_SVR4=1
1828 cat >>confdefs.h <<\_ACEOF
1829#define __SYSV__ 1
1830_ACEOF
1831
1832 cat >>confdefs.h <<\_ACEOF
1833#define __SVR4__ 1
1834_ACEOF
1835
1836 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1837 ;;
1838 *-*-aix* )
1839 USE_AIX=1
1840 USE_SYSV=1
1841 USE_SVR4=1
1842 SO_SUFFIX=a
1843 cat >>confdefs.h <<\_ACEOF
1844#define __AIX__ 1
1845_ACEOF
1846
1847 cat >>confdefs.h <<\_ACEOF
1848#define __SYSV__ 1
1849_ACEOF
1850
1851 cat >>confdefs.h <<\_ACEOF
1852#define __SVR4__ 1
1853_ACEOF
1854
1855 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1856 ;;
1857
1858 *-*-*UnixWare*)
1859 USE_SYSV=1
1860 USE_SVR4=1
1861 USE_UNIXWARE=1
1862 cat >>confdefs.h <<\_ACEOF
1863#define __UNIXWARE__ 1
1864_ACEOF
1865
1866 ;;
1867
1868 *-*-cygwin* | *-*-mingw32* )
1869 SO_SUFFIX=dll
1870 PROGRAM_EXT=".exe"
1871 RESCOMP=windres
1872 DEFAULT_DEFAULT_wxUSE_MSW=1
1873 ;;
1874
1875 *-pc-msdosdjgpp )
1876 USE_UNIX=0
1877 USE_DOS=1
1878 cat >>confdefs.h <<\_ACEOF
1879#define __DOS__ 1
1880_ACEOF
1881
1882 PROGRAM_EXT=".exe"
1883 DEFAULT_DEFAULT_wxUSE_MGL=1
1884 LIBS="$LIBS -lstdc++"
1885 ;;
1886
1887 *-pc-os2_emx | *-pc-os2-emx )
1888 cat >>confdefs.h <<\_ACEOF
1889#define __EMX__ 1
1890_ACEOF
1891
1892 PROGRAM_EXT=".exe"
1893 DEFAULT_DEFAULT_wxUSE_PM=1
1894 CXX=gcc
1895 LIBS="$LIBS -lstdcpp"
1896 ac_executable_extensions=".exe"
1897 export ac_executable_extensions
1898 ac_save_IFS="$IFS"
1899 IFS="\\"
1900 ac_TEMP_PATH=
1901 for ac_dir in $PATH; do
1902 IFS=$ac_save_IFS
1903 if test -z "$ac_TEMP_PATH"; then
1904 ac_TEMP_PATH="$ac_dir"
1905 else
1906 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1907 fi
1908 done
1909 export PATH="$ac_TEMP_PATH"
1910 unset ac_TEMP_PATH
1911 ;;
1912
1913 powerpc-*-darwin* )
1914 USE_BSD=1
1915 USE_DARWIN=1
1916 SO_SUFFIX=dylib
1917 cat >>confdefs.h <<\_ACEOF
1918#define __BSD__ 1
1919_ACEOF
1920
1921 cat >>confdefs.h <<\_ACEOF
1922#define __DARWIN__ 1
1923_ACEOF
1924
1925 cat >>confdefs.h <<\_ACEOF
1926#define __POWERPC__ 1
1927_ACEOF
1928
1929 cat >>confdefs.h <<\_ACEOF
1930#define TARGET_CARBON 1
1931_ACEOF
1932
1933 DEFAULT_DEFAULT_wxUSE_MAC=1
1934 ;;
1935
1936 *-*-beos* )
1937 USE_BEOS=1
1938 cat >>confdefs.h <<\_ACEOF
1939#define __BEOS__ 1
1940_ACEOF
1941
1942 ;;
1943
1944 *)
1945 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1946echo "$as_me: error: unknown system type ${host}." >&2;}
1947 { (exit 1); exit 1; }; }
1948esac
1949
1950
1951
1952
1953 wx_arg_cache_file="configarg.cache"
1954 echo "loading argument cache $wx_arg_cache_file"
1955 rm -f ${wx_arg_cache_file}.tmp
1956 touch ${wx_arg_cache_file}.tmp
1957 touch ${wx_arg_cache_file}
1958
1959
1960DEBUG_CONFIGURE=0
1961if test $DEBUG_CONFIGURE = 1; then
1962 DEFAULT_wxUSE_UNIVERSAL=no
1963 DEFAULT_wxUSE_STL=no
1964
1965 DEFAULT_wxUSE_NANOX=no
1966
1967 DEFAULT_wxUSE_THREADS=yes
1968
1969 DEFAULT_wxUSE_SHARED=yes
1970 DEFAULT_wxUSE_OPTIMISE=no
1971 DEFAULT_wxUSE_PROFILE=no
1972 DEFAULT_wxUSE_NO_DEPS=no
1973 DEFAULT_wxUSE_NO_RTTI=no
1974 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1975 DEFAULT_wxUSE_PERMISSIVE=no
1976 DEFAULT_wxUSE_DEBUG_FLAG=yes
1977 DEFAULT_wxUSE_DEBUG_INFO=yes
1978 DEFAULT_wxUSE_DEBUG_GDB=yes
1979 DEFAULT_wxUSE_MEM_TRACING=no
1980 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1981 DEFAULT_wxUSE_DMALLOC=no
1982 DEFAULT_wxUSE_APPLE_IEEE=no
1983
1984 DEFAULT_wxUSE_LOG=yes
1985 DEFAULT_wxUSE_LOGWINDOW=no
1986 DEFAULT_wxUSE_LOGGUI=no
1987 DEFAULT_wxUSE_LOGDIALOG=no
1988
1989 DEFAULT_wxUSE_GUI=yes
1990 DEFAULT_wxUSE_CONTROLS=no
1991
1992 DEFAULT_wxUSE_REGEX=no
1993 DEFAULT_wxUSE_XML=no
1994 DEFAULT_wxUSE_EXPAT=no
1995 DEFAULT_wxUSE_ZLIB=no
1996 DEFAULT_wxUSE_LIBPNG=no
1997 DEFAULT_wxUSE_LIBJPEG=no
1998 DEFAULT_wxUSE_LIBTIFF=no
1999 DEFAULT_wxUSE_ODBC=no
2000 DEFAULT_wxUSE_OPENGL=no
2001
2002 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2003 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2004 DEFAULT_wxUSE_STD_IOSTREAM=no
2005 DEFAULT_wxUSE_CMDLINE_PARSER=no
2006 DEFAULT_wxUSE_DATETIME=no
2007 DEFAULT_wxUSE_TIMER=no
2008 DEFAULT_wxUSE_STOPWATCH=no
2009 DEFAULT_wxUSE_FILE=no
2010 DEFAULT_wxUSE_FFILE=no
2011 DEFAULT_wxUSE_TEXTBUFFER=no
2012 DEFAULT_wxUSE_TEXTFILE=no
2013 DEFAULT_wxUSE_WAVE=no
2014 DEFAULT_wxUSE_INTL=no
2015 DEFAULT_wxUSE_CONFIG=no
2016 DEFAULT_wxUSE_FONTMAP=no
2017 DEFAULT_wxUSE_STREAMS=no
2018 DEFAULT_wxUSE_SOCKETS=no
2019 DEFAULT_wxUSE_OLE=no
2020 DEFAULT_wxUSE_DATAOBJ=no
2021 DEFAULT_wxUSE_DIALUP_MANAGER=no
2022 DEFAULT_wxUSE_JOYSTICK=no
2023 DEFAULT_wxUSE_DYNLIB_CLASS=no
2024 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2025 DEFAULT_wxUSE_LONGLONG=no
2026 DEFAULT_wxUSE_GEOMETRY=no
2027
2028 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2029 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2030 DEFAULT_wxUSE_POSTSCRIPT=no
2031
2032 DEFAULT_wxUSE_CLIPBOARD=no
2033 DEFAULT_wxUSE_TOOLTIPS=no
2034 DEFAULT_wxUSE_DRAG_AND_DROP=no
2035 DEFAULT_wxUSE_DRAGIMAGE=no
2036 DEFAULT_wxUSE_SPLINES=no
2037
2038 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2039 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2040 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2041
2042 DEFAULT_wxUSE_RESOURCES=no
2043 DEFAULT_wxUSE_CONSTRAINTS=no
2044 DEFAULT_wxUSE_IPC=no
2045 DEFAULT_wxUSE_HELP=no
2046 DEFAULT_wxUSE_MS_HTML_HELP=no
2047 DEFAULT_wxUSE_WXHTML_HELP=no
2048 DEFAULT_wxUSE_TREELAYOUT=no
2049 DEFAULT_wxUSE_METAFILE=no
2050 DEFAULT_wxUSE_MIMETYPE=no
2051 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2052 DEFAULT_wxUSE_PROTOCOL=no
2053 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2054 DEFAULT_wxUSE_PROTOCOL_FTP=no
2055 DEFAULT_wxUSE_PROTOCOL_FILE=no
2056 DEFAULT_wxUSE_URL=no
2057
2058 DEFAULT_wxUSE_COMMONDLGS=no
2059 DEFAULT_wxUSE_CHOICEDLG=no
2060 DEFAULT_wxUSE_COLOURDLG=no
2061 DEFAULT_wxUSE_DIRDLG=no
2062 DEFAULT_wxUSE_FILEDLG=no
2063 DEFAULT_wxUSE_FINDREPLDLG=no
2064 DEFAULT_wxUSE_FONTDLG=no
2065 DEFAULT_wxUSE_MSGDLG=no
2066 DEFAULT_wxUSE_NUMBERDLG=no
2067 DEFAULT_wxUSE_TEXTDLG=no
2068 DEFAULT_wxUSE_SPLASH=no
2069 DEFAULT_wxUSE_STARTUP_TIPS=no
2070 DEFAULT_wxUSE_PROGRESSDLG=no
2071 DEFAULT_wxUSE_WIZARDDLG=no
2072
2073 DEFAULT_wxUSE_MENUS=no
2074 DEFAULT_wxUSE_MINIFRAME=no
2075 DEFAULT_wxUSE_HTML=no
2076 DEFAULT_wxUSE_FILESYSTEM=no
2077 DEFAULT_wxUSE_FS_INET=no
2078 DEFAULT_wxUSE_FS_ZIP=no
2079 DEFAULT_wxUSE_BUSYINFO=no
2080 DEFAULT_wxUSE_ZIPSTREAM=no
2081 DEFAULT_wxUSE_VALIDATORS=no
2082
2083 DEFAULT_wxUSE_ACCEL=no
2084 DEFAULT_wxUSE_BUTTON=no
2085 DEFAULT_wxUSE_BMPBUTTON=no
2086 DEFAULT_wxUSE_CALCTRL=no
2087 DEFAULT_wxUSE_CARET=no
2088 DEFAULT_wxUSE_CHECKBOX=no
2089 DEFAULT_wxUSE_CHECKLST=no
2090 DEFAULT_wxUSE_CHOICE=no
2091 DEFAULT_wxUSE_COMBOBOX=no
2092 DEFAULT_wxUSE_DISPLAY=no
2093 DEFAULT_wxUSE_GAUGE=no
2094 DEFAULT_wxUSE_GRID=no
2095 DEFAULT_wxUSE_IMAGLIST=no
2096 DEFAULT_wxUSE_LISTBOOK=no
2097 DEFAULT_wxUSE_LISTBOX=no
2098 DEFAULT_wxUSE_LISTCTRL=no
2099 DEFAULT_wxUSE_NOTEBOOK=no
2100 DEFAULT_wxUSE_RADIOBOX=no
2101 DEFAULT_wxUSE_RADIOBTN=no
2102 DEFAULT_wxUSE_SASH=no
2103 DEFAULT_wxUSE_SCROLLBAR=no
2104 DEFAULT_wxUSE_SLIDER=no
2105 DEFAULT_wxUSE_SPINBTN=no
2106 DEFAULT_wxUSE_SPINCTRL=no
2107 DEFAULT_wxUSE_SPLITTER=no
2108 DEFAULT_wxUSE_STATBMP=no
2109 DEFAULT_wxUSE_STATBOX=no
2110 DEFAULT_wxUSE_STATLINE=no
2111 DEFAULT_wxUSE_STATTEXT=no
2112 DEFAULT_wxUSE_STATUSBAR=yes
2113 DEFAULT_wxUSE_TABDIALOG=no
2114 DEFAULT_wxUSE_TEXTCTRL=no
2115 DEFAULT_wxUSE_TOGGLEBTN=no
2116 DEFAULT_wxUSE_TOOLBAR=no
2117 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2118 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2119 DEFAULT_wxUSE_TREECTRL=no
2120 DEFAULT_wxUSE_POPUPWIN=no
2121 DEFAULT_wxUSE_TIPWINDOW=no
2122
2123 DEFAULT_wxUSE_UNICODE=no
2124 DEFAULT_wxUSE_UNICODE_MSLU=no
2125 DEFAULT_wxUSE_WCSRTOMBS=no
2126
2127 DEFAULT_wxUSE_PALETTE=no
2128 DEFAULT_wxUSE_IMAGE=no
2129 DEFAULT_wxUSE_GIF=no
2130 DEFAULT_wxUSE_PCX=no
2131 DEFAULT_wxUSE_PNM=no
2132 DEFAULT_wxUSE_IFF=no
2133 DEFAULT_wxUSE_XPM=no
2134 DEFAULT_wxUSE_ICO_CUR=no
2135 DEFAULT_wxUSE_ACCESSIBILITY=no
2136
2137 DEFAULT_wxUSE_MONOLITHIC=no
2138 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2139else
2140 DEFAULT_wxUSE_UNIVERSAL=no
2141 DEFAULT_wxUSE_STL=no
2142
2143 DEFAULT_wxUSE_NANOX=no
2144
2145 DEFAULT_wxUSE_THREADS=yes
2146
2147 DEFAULT_wxUSE_SHARED=yes
2148 DEFAULT_wxUSE_OPTIMISE=yes
2149 DEFAULT_wxUSE_PROFILE=no
2150 DEFAULT_wxUSE_NO_DEPS=no
2151 DEFAULT_wxUSE_NO_RTTI=no
2152 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2153 DEFAULT_wxUSE_PERMISSIVE=no
2154 DEFAULT_wxUSE_DEBUG_FLAG=no
2155 DEFAULT_wxUSE_DEBUG_INFO=no
2156 DEFAULT_wxUSE_DEBUG_GDB=no
2157 DEFAULT_wxUSE_MEM_TRACING=no
2158 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2159 DEFAULT_wxUSE_DMALLOC=no
2160 DEFAULT_wxUSE_APPLE_IEEE=yes
2161
2162 DEFAULT_wxUSE_LOG=yes
2163 DEFAULT_wxUSE_LOGWINDOW=yes
2164 DEFAULT_wxUSE_LOGGUI=yes
2165 DEFAULT_wxUSE_LOGDIALOG=yes
2166
2167 DEFAULT_wxUSE_GUI=yes
2168
2169 DEFAULT_wxUSE_REGEX=yes
2170 DEFAULT_wxUSE_XML=yes
2171 DEFAULT_wxUSE_EXPAT=yes
2172 DEFAULT_wxUSE_ZLIB=yes
2173 DEFAULT_wxUSE_LIBPNG=yes
2174 DEFAULT_wxUSE_LIBJPEG=yes
2175 DEFAULT_wxUSE_LIBTIFF=yes
2176 DEFAULT_wxUSE_ODBC=no
2177 DEFAULT_wxUSE_OPENGL=no
2178
2179 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2180 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2181 DEFAULT_wxUSE_STD_IOSTREAM=no
2182 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2183 DEFAULT_wxUSE_DATETIME=yes
2184 DEFAULT_wxUSE_TIMER=yes
2185 DEFAULT_wxUSE_STOPWATCH=yes
2186 DEFAULT_wxUSE_FILE=yes
2187 DEFAULT_wxUSE_FFILE=yes
2188 DEFAULT_wxUSE_TEXTBUFFER=yes
2189 DEFAULT_wxUSE_TEXTFILE=yes
2190 DEFAULT_wxUSE_WAVE=no
2191 DEFAULT_wxUSE_INTL=yes
2192 DEFAULT_wxUSE_CONFIG=yes
2193 DEFAULT_wxUSE_FONTMAP=yes
2194 DEFAULT_wxUSE_STREAMS=yes
2195 DEFAULT_wxUSE_SOCKETS=yes
2196 DEFAULT_wxUSE_OLE=yes
2197 DEFAULT_wxUSE_DATAOBJ=yes
2198 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2199 DEFAULT_wxUSE_JOYSTICK=yes
2200 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2201 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2202 DEFAULT_wxUSE_LONGLONG=yes
2203 DEFAULT_wxUSE_GEOMETRY=yes
2204
2205 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2206 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2207 DEFAULT_wxUSE_POSTSCRIPT=yes
2208
2209 DEFAULT_wxUSE_CLIPBOARD=yes
2210 DEFAULT_wxUSE_TOOLTIPS=yes
2211 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2212 DEFAULT_wxUSE_DRAGIMAGE=yes
2213 DEFAULT_wxUSE_SPLINES=yes
2214
2215 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2216 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2217 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2218
2219 DEFAULT_wxUSE_RESOURCES=no
2220 DEFAULT_wxUSE_CONSTRAINTS=yes
2221 DEFAULT_wxUSE_IPC=yes
2222 DEFAULT_wxUSE_HELP=yes
2223 DEFAULT_wxUSE_MS_HTML_HELP=yes
2224 DEFAULT_wxUSE_WXHTML_HELP=yes
2225 DEFAULT_wxUSE_TREELAYOUT=yes
2226 DEFAULT_wxUSE_METAFILE=yes
2227 DEFAULT_wxUSE_MIMETYPE=yes
2228 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2229 DEFAULT_wxUSE_PROTOCOL=yes
2230 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2231 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2232 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2233 DEFAULT_wxUSE_URL=yes
2234
2235 DEFAULT_wxUSE_COMMONDLGS=yes
2236 DEFAULT_wxUSE_CHOICEDLG=yes
2237 DEFAULT_wxUSE_COLOURDLG=yes
2238 DEFAULT_wxUSE_DIRDLG=yes
2239 DEFAULT_wxUSE_FILEDLG=yes
2240 DEFAULT_wxUSE_FINDREPLDLG=yes
2241 DEFAULT_wxUSE_FONTDLG=yes
2242 DEFAULT_wxUSE_MSGDLG=yes
2243 DEFAULT_wxUSE_NUMBERDLG=yes
2244 DEFAULT_wxUSE_TEXTDLG=yes
2245 DEFAULT_wxUSE_SPLASH=yes
2246 DEFAULT_wxUSE_STARTUP_TIPS=yes
2247 DEFAULT_wxUSE_PROGRESSDLG=yes
2248 DEFAULT_wxUSE_WIZARDDLG=yes
2249
2250 DEFAULT_wxUSE_MENUS=yes
2251 DEFAULT_wxUSE_MINIFRAME=yes
2252 DEFAULT_wxUSE_HTML=yes
2253 DEFAULT_wxUSE_FILESYSTEM=yes
2254 DEFAULT_wxUSE_FS_INET=yes
2255 DEFAULT_wxUSE_FS_ZIP=yes
2256 DEFAULT_wxUSE_BUSYINFO=yes
2257 DEFAULT_wxUSE_ZIPSTREAM=yes
2258 DEFAULT_wxUSE_VALIDATORS=yes
2259
2260 DEFAULT_wxUSE_ACCEL=yes
2261 DEFAULT_wxUSE_BUTTON=yes
2262 DEFAULT_wxUSE_BMPBUTTON=yes
2263 DEFAULT_wxUSE_CALCTRL=yes
2264 DEFAULT_wxUSE_CARET=yes
2265 DEFAULT_wxUSE_CHECKBOX=yes
2266 DEFAULT_wxUSE_CHECKLST=yes
2267 DEFAULT_wxUSE_CHOICE=yes
2268 DEFAULT_wxUSE_COMBOBOX=yes
2269 DEFAULT_wxUSE_DISPLAY=no
2270 DEFAULT_wxUSE_GAUGE=yes
2271 DEFAULT_wxUSE_GRID=yes
2272 DEFAULT_wxUSE_IMAGLIST=yes
2273 DEFAULT_wxUSE_LISTBOOK=yes
2274 DEFAULT_wxUSE_LISTBOX=yes
2275 DEFAULT_wxUSE_LISTCTRL=yes
2276 DEFAULT_wxUSE_NOTEBOOK=yes
2277 DEFAULT_wxUSE_RADIOBOX=yes
2278 DEFAULT_wxUSE_RADIOBTN=yes
2279 DEFAULT_wxUSE_SASH=yes
2280 DEFAULT_wxUSE_SCROLLBAR=yes
2281 DEFAULT_wxUSE_SLIDER=yes
2282 DEFAULT_wxUSE_SPINBTN=yes
2283 DEFAULT_wxUSE_SPINCTRL=yes
2284 DEFAULT_wxUSE_SPLITTER=yes
2285 DEFAULT_wxUSE_STATBMP=yes
2286 DEFAULT_wxUSE_STATBOX=yes
2287 DEFAULT_wxUSE_STATLINE=yes
2288 DEFAULT_wxUSE_STATTEXT=yes
2289 DEFAULT_wxUSE_STATUSBAR=yes
2290 DEFAULT_wxUSE_TABDIALOG=no
2291 DEFAULT_wxUSE_TEXTCTRL=yes
2292 DEFAULT_wxUSE_TOGGLEBTN=yes
2293 DEFAULT_wxUSE_TOOLBAR=yes
2294 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2295 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2296 DEFAULT_wxUSE_TREECTRL=yes
2297 DEFAULT_wxUSE_POPUPWIN=yes
2298 DEFAULT_wxUSE_TIPWINDOW=yes
2299
2300 DEFAULT_wxUSE_UNICODE=no
2301 DEFAULT_wxUSE_UNICODE_MSLU=yes
2302 DEFAULT_wxUSE_WCSRTOMBS=no
2303
2304 DEFAULT_wxUSE_PALETTE=yes
2305 DEFAULT_wxUSE_IMAGE=yes
2306 DEFAULT_wxUSE_GIF=yes
2307 DEFAULT_wxUSE_PCX=yes
2308 DEFAULT_wxUSE_IFF=no
2309 DEFAULT_wxUSE_PNM=yes
2310 DEFAULT_wxUSE_XPM=yes
2311 DEFAULT_wxUSE_ICO_CUR=yes
2312 DEFAULT_wxUSE_ACCESSIBILITY=no
2313
2314 DEFAULT_wxUSE_MONOLITHIC=no
2315 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2316fi
2317
2318
2319
2320for toolkit in `echo $ALL_TOOLKITS`; do
2321 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2322 if test "x$LINE" != "x" ; then
2323 has_toolkit_in_cache=1
2324 eval "DEFAULT_$LINE"
2325 eval "CACHE_$toolkit=1"
2326 fi
2327done
2328
2329
2330
2331 enablestring=
2332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2333echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2334 no_cache=0
2335 # Check whether --enable-gui or --disable-gui was given.
2336if test "${enable_gui+set}" = set; then
2337 enableval="$enable_gui"
2338
2339 if test "$enableval" = yes; then
2340 ac_cv_use_gui='wxUSE_GUI=yes'
2341 else
2342 ac_cv_use_gui='wxUSE_GUI=no'
2343 fi
2344
2345else
2346
2347 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2348 if test "x$LINE" != x ; then
2349 eval "DEFAULT_$LINE"
2350 else
2351 no_cache=1
2352 fi
2353
2354 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2355
2356fi;
2357
2358 eval "$ac_cv_use_gui"
2359 if test "$no_cache" != 1; then
2360 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2361 fi
2362
2363 if test "$wxUSE_GUI" = yes; then
2364 echo "$as_me:$LINENO: result: yes" >&5
2365echo "${ECHO_T}yes" >&6
2366 else
2367 echo "$as_me:$LINENO: result: no" >&5
2368echo "${ECHO_T}no" >&6
2369 fi
2370
2371
2372 enablestring=
2373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2374echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2375 no_cache=0
2376 # Check whether --enable-monolithic or --disable-monolithic was given.
2377if test "${enable_monolithic+set}" = set; then
2378 enableval="$enable_monolithic"
2379
2380 if test "$enableval" = yes; then
2381 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2382 else
2383 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2384 fi
2385
2386else
2387
2388 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2389 if test "x$LINE" != x ; then
2390 eval "DEFAULT_$LINE"
2391 else
2392 no_cache=1
2393 fi
2394
2395 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2396
2397fi;
2398
2399 eval "$ac_cv_use_monolithic"
2400 if test "$no_cache" != 1; then
2401 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2402 fi
2403
2404 if test "$wxUSE_MONOLITHIC" = yes; then
2405 echo "$as_me:$LINENO: result: yes" >&5
2406echo "${ECHO_T}yes" >&6
2407 else
2408 echo "$as_me:$LINENO: result: no" >&5
2409echo "${ECHO_T}no" >&6
2410 fi
2411
2412
2413if test "$wxUSE_GUI" = "yes"; then
2414
2415
2416 enablestring=
2417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2418echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2419 no_cache=0
2420 # Check whether --enable-universal or --disable-universal was given.
2421if test "${enable_universal+set}" = set; then
2422 enableval="$enable_universal"
2423
2424 if test "$enableval" = yes; then
2425 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2426 else
2427 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2428 fi
2429
2430else
2431
2432 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2433 if test "x$LINE" != x ; then
2434 eval "DEFAULT_$LINE"
2435 else
2436 no_cache=1
2437 fi
2438
2439 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2440
2441fi;
2442
2443 eval "$ac_cv_use_universal"
2444 if test "$no_cache" != 1; then
2445 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2446 fi
2447
2448 if test "$wxUSE_UNIVERSAL" = yes; then
2449 echo "$as_me:$LINENO: result: yes" >&5
2450echo "${ECHO_T}yes" >&6
2451 else
2452 echo "$as_me:$LINENO: result: no" >&5
2453echo "${ECHO_T}no" >&6
2454 fi
2455
2456
2457# Check whether --with-gtk or --without-gtk was given.
2458if test "${with_gtk+set}" = set; then
2459 withval="$with_gtk"
2460 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2461fi;
2462
2463# Check whether --with-motif or --without-motif was given.
2464if test "${with_motif+set}" = set; then
2465 withval="$with_motif"
2466 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2467fi;
2468
2469# Check whether --with-mac or --without-mac was given.
2470if test "${with_mac+set}" = set; then
2471 withval="$with_mac"
2472 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2473fi;
2474
2475# Check whether --with-cocoa or --without-cocoa was given.
2476if test "${with_cocoa+set}" = set; then
2477 withval="$with_cocoa"
2478 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2479fi;
2480
2481# Check whether --with-wine or --without-wine was given.
2482if test "${with_wine+set}" = set; then
2483 withval="$with_wine"
2484 wxUSE_WINE="$withval" CACHE_WINE=1
2485fi;
2486
2487# Check whether --with-msw or --without-msw was given.
2488if test "${with_msw+set}" = set; then
2489 withval="$with_msw"
2490 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2491fi;
2492
2493# Check whether --with-pm or --without-pm was given.
2494if test "${with_pm+set}" = set; then
2495 withval="$with_pm"
2496 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2497fi;
2498
2499# Check whether --with-mgl or --without-mgl was given.
2500if test "${with_mgl+set}" = set; then
2501 withval="$with_mgl"
2502 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2503fi;
2504
2505# Check whether --with-microwin or --without-microwin was given.
2506if test "${with_microwin+set}" = set; then
2507 withval="$with_microwin"
2508 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2509fi;
2510
2511# Check whether --with-x11 or --without-x11 was given.
2512if test "${with_x11+set}" = set; then
2513 withval="$with_x11"
2514 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2515fi;
2516
2517 enablestring=
2518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2519echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2520 no_cache=0
2521 # Check whether --enable-nanox or --disable-nanox was given.
2522if test "${enable_nanox+set}" = set; then
2523 enableval="$enable_nanox"
2524
2525 if test "$enableval" = yes; then
2526 ac_cv_use_nanox='wxUSE_NANOX=yes'
2527 else
2528 ac_cv_use_nanox='wxUSE_NANOX=no'
2529 fi
2530
2531else
2532
2533 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2534 if test "x$LINE" != x ; then
2535 eval "DEFAULT_$LINE"
2536 else
2537 no_cache=1
2538 fi
2539
2540 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2541
2542fi;
2543
2544 eval "$ac_cv_use_nanox"
2545 if test "$no_cache" != 1; then
2546 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2547 fi
2548
2549 if test "$wxUSE_NANOX" = yes; then
2550 echo "$as_me:$LINENO: result: yes" >&5
2551echo "${ECHO_T}yes" >&6
2552 else
2553 echo "$as_me:$LINENO: result: no" >&5
2554echo "${ECHO_T}no" >&6
2555 fi
2556
2557
2558
2559 enablestring=
2560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2561echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2562 no_cache=0
2563 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2564if test "${enable_gtk2+set}" = set; then
2565 enableval="$enable_gtk2"
2566
2567 if test "$enableval" = yes; then
2568 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2569 else
2570 ac_cv_use_gtk2='wxUSE_GTK2=no'
2571 fi
2572
2573else
2574
2575 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2576 if test "x$LINE" != x ; then
2577 eval "DEFAULT_$LINE"
2578 else
2579 no_cache=1
2580 fi
2581
2582 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2583
2584fi;
2585
2586 eval "$ac_cv_use_gtk2"
2587 if test "$no_cache" != 1; then
2588 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2589 fi
2590
2591 if test "$wxUSE_GTK2" = yes; then
2592 echo "$as_me:$LINENO: result: yes" >&5
2593echo "${ECHO_T}yes" >&6
2594 else
2595 echo "$as_me:$LINENO: result: no" >&5
2596echo "${ECHO_T}no" >&6
2597 fi
2598
2599
2600
2601 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2602echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2603 no_cache=0
2604
2605# Check whether --with-libpng or --without-libpng was given.
2606if test "${with_libpng+set}" = set; then
2607 withval="$with_libpng"
2608
2609 if test "$withval" = yes; then
2610 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2611 elif test "$withval" = no; then
2612 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2613 elif test "$withval" = sys; then
2614 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2615 elif test "$withval" = builtin; then
2616 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2617 else
2618 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2619echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2620 { (exit 1); exit 1; }; }
2621 fi
2622
2623else
2624
2625 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2626 if test "x$LINE" != x ; then
2627 eval "DEFAULT_$LINE"
2628 else
2629 no_cache=1
2630 fi
2631
2632 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2633
2634fi;
2635
2636 eval "$ac_cv_use_libpng"
2637 if test "$no_cache" != 1; then
2638 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2639 fi
2640
2641 if test "$wxUSE_LIBPNG" = yes; then
2642 echo "$as_me:$LINENO: result: yes" >&5
2643echo "${ECHO_T}yes" >&6
2644 elif test "$wxUSE_LIBPNG" = no; then
2645 echo "$as_me:$LINENO: result: no" >&5
2646echo "${ECHO_T}no" >&6
2647 elif test "$wxUSE_LIBPNG" = sys; then
2648 echo "$as_me:$LINENO: result: system version" >&5
2649echo "${ECHO_T}system version" >&6
2650 elif test "$wxUSE_LIBPNG" = builtin; then
2651 echo "$as_me:$LINENO: result: builtin version" >&5
2652echo "${ECHO_T}builtin version" >&6
2653 else
2654 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2655echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2656 { (exit 1); exit 1; }; }
2657 fi
2658
2659
2660 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2661echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2662 no_cache=0
2663
2664# Check whether --with-libjpeg or --without-libjpeg was given.
2665if test "${with_libjpeg+set}" = set; then
2666 withval="$with_libjpeg"
2667
2668 if test "$withval" = yes; then
2669 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2670 elif test "$withval" = no; then
2671 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2672 elif test "$withval" = sys; then
2673 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2674 elif test "$withval" = builtin; then
2675 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2676 else
2677 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2678echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2679 { (exit 1); exit 1; }; }
2680 fi
2681
2682else
2683
2684 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2685 if test "x$LINE" != x ; then
2686 eval "DEFAULT_$LINE"
2687 else
2688 no_cache=1
2689 fi
2690
2691 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2692
2693fi;
2694
2695 eval "$ac_cv_use_libjpeg"
2696 if test "$no_cache" != 1; then
2697 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2698 fi
2699
2700 if test "$wxUSE_LIBJPEG" = yes; then
2701 echo "$as_me:$LINENO: result: yes" >&5
2702echo "${ECHO_T}yes" >&6
2703 elif test "$wxUSE_LIBJPEG" = no; then
2704 echo "$as_me:$LINENO: result: no" >&5
2705echo "${ECHO_T}no" >&6
2706 elif test "$wxUSE_LIBJPEG" = sys; then
2707 echo "$as_me:$LINENO: result: system version" >&5
2708echo "${ECHO_T}system version" >&6
2709 elif test "$wxUSE_LIBJPEG" = builtin; then
2710 echo "$as_me:$LINENO: result: builtin version" >&5
2711echo "${ECHO_T}builtin version" >&6
2712 else
2713 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2714echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2715 { (exit 1); exit 1; }; }
2716 fi
2717
2718
2719 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2720echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2721 no_cache=0
2722
2723# Check whether --with-libtiff or --without-libtiff was given.
2724if test "${with_libtiff+set}" = set; then
2725 withval="$with_libtiff"
2726
2727 if test "$withval" = yes; then
2728 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2729 elif test "$withval" = no; then
2730 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2731 elif test "$withval" = sys; then
2732 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2733 elif test "$withval" = builtin; then
2734 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2735 else
2736 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2737echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2738 { (exit 1); exit 1; }; }
2739 fi
2740
2741else
2742
2743 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2744 if test "x$LINE" != x ; then
2745 eval "DEFAULT_$LINE"
2746 else
2747 no_cache=1
2748 fi
2749
2750 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2751
2752fi;
2753
2754 eval "$ac_cv_use_libtiff"
2755 if test "$no_cache" != 1; then
2756 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2757 fi
2758
2759 if test "$wxUSE_LIBTIFF" = yes; then
2760 echo "$as_me:$LINENO: result: yes" >&5
2761echo "${ECHO_T}yes" >&6
2762 elif test "$wxUSE_LIBTIFF" = no; then
2763 echo "$as_me:$LINENO: result: no" >&5
2764echo "${ECHO_T}no" >&6
2765 elif test "$wxUSE_LIBTIFF" = sys; then
2766 echo "$as_me:$LINENO: result: system version" >&5
2767echo "${ECHO_T}system version" >&6
2768 elif test "$wxUSE_LIBTIFF" = builtin; then
2769 echo "$as_me:$LINENO: result: builtin version" >&5
2770echo "${ECHO_T}builtin version" >&6
2771 else
2772 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2773echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2774 { (exit 1); exit 1; }; }
2775 fi
2776
2777
2778 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2779echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2780 no_cache=0
2781
2782# Check whether --with-opengl or --without-opengl was given.
2783if test "${with_opengl+set}" = set; then
2784 withval="$with_opengl"
2785
2786 if test "$withval" = yes; then
2787 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2788 else
2789 ac_cv_use_opengl='wxUSE_OPENGL=no'
2790 fi
2791
2792else
2793
2794 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2795 if test "x$LINE" != x ; then
2796 eval "DEFAULT_$LINE"
2797 else
2798 no_cache=1
2799 fi
2800
2801 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2802
2803fi;
2804
2805 eval "$ac_cv_use_opengl"
2806 if test "$no_cache" != 1; then
2807 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2808 fi
2809
2810 if test "$wxUSE_OPENGL" = yes; then
2811 echo "$as_me:$LINENO: result: yes" >&5
2812echo "${ECHO_T}yes" >&6
2813 else
2814 echo "$as_me:$LINENO: result: no" >&5
2815echo "${ECHO_T}no" >&6
2816 fi
2817
2818
2819fi
2820
2821
2822 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2823echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2824 no_cache=0
2825
2826# Check whether --with-dmalloc or --without-dmalloc was given.
2827if test "${with_dmalloc+set}" = set; then
2828 withval="$with_dmalloc"
2829
2830 if test "$withval" = yes; then
2831 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2832 else
2833 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2834 fi
2835
2836else
2837
2838 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2839 if test "x$LINE" != x ; then
2840 eval "DEFAULT_$LINE"
2841 else
2842 no_cache=1
2843 fi
2844
2845 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2846
2847fi;
2848
2849 eval "$ac_cv_use_dmalloc"
2850 if test "$no_cache" != 1; then
2851 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2852 fi
2853
2854 if test "$wxUSE_DMALLOC" = yes; then
2855 echo "$as_me:$LINENO: result: yes" >&5
2856echo "${ECHO_T}yes" >&6
2857 else
2858 echo "$as_me:$LINENO: result: no" >&5
2859echo "${ECHO_T}no" >&6
2860 fi
2861
2862
2863 echo "$as_me:$LINENO: checking for --with-regex" >&5
2864echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2865 no_cache=0
2866
2867# Check whether --with-regex or --without-regex was given.
2868if test "${with_regex+set}" = set; then
2869 withval="$with_regex"
2870
2871 if test "$withval" = yes; then
2872 ac_cv_use_regex='wxUSE_REGEX=yes'
2873 elif test "$withval" = no; then
2874 ac_cv_use_regex='wxUSE_REGEX=no'
2875 elif test "$withval" = sys; then
2876 ac_cv_use_regex='wxUSE_REGEX=sys'
2877 elif test "$withval" = builtin; then
2878 ac_cv_use_regex='wxUSE_REGEX=builtin'
2879 else
2880 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2881echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2882 { (exit 1); exit 1; }; }
2883 fi
2884
2885else
2886
2887 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2888 if test "x$LINE" != x ; then
2889 eval "DEFAULT_$LINE"
2890 else
2891 no_cache=1
2892 fi
2893
2894 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2895
2896fi;
2897
2898 eval "$ac_cv_use_regex"
2899 if test "$no_cache" != 1; then
2900 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2901 fi
2902
2903 if test "$wxUSE_REGEX" = yes; then
2904 echo "$as_me:$LINENO: result: yes" >&5
2905echo "${ECHO_T}yes" >&6
2906 elif test "$wxUSE_REGEX" = no; then
2907 echo "$as_me:$LINENO: result: no" >&5
2908echo "${ECHO_T}no" >&6
2909 elif test "$wxUSE_REGEX" = sys; then
2910 echo "$as_me:$LINENO: result: system version" >&5
2911echo "${ECHO_T}system version" >&6
2912 elif test "$wxUSE_REGEX" = builtin; then
2913 echo "$as_me:$LINENO: result: builtin version" >&5
2914echo "${ECHO_T}builtin version" >&6
2915 else
2916 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2917echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2918 { (exit 1); exit 1; }; }
2919 fi
2920
2921
2922 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2923echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2924 no_cache=0
2925
2926# Check whether --with-zlib or --without-zlib was given.
2927if test "${with_zlib+set}" = set; then
2928 withval="$with_zlib"
2929
2930 if test "$withval" = yes; then
2931 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2932 elif test "$withval" = no; then
2933 ac_cv_use_zlib='wxUSE_ZLIB=no'
2934 elif test "$withval" = sys; then
2935 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2936 elif test "$withval" = builtin; then
2937 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2938 else
2939 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2940echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2941 { (exit 1); exit 1; }; }
2942 fi
2943
2944else
2945
2946 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2947 if test "x$LINE" != x ; then
2948 eval "DEFAULT_$LINE"
2949 else
2950 no_cache=1
2951 fi
2952
2953 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2954
2955fi;
2956
2957 eval "$ac_cv_use_zlib"
2958 if test "$no_cache" != 1; then
2959 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2960 fi
2961
2962 if test "$wxUSE_ZLIB" = yes; then
2963 echo "$as_me:$LINENO: result: yes" >&5
2964echo "${ECHO_T}yes" >&6
2965 elif test "$wxUSE_ZLIB" = no; then
2966 echo "$as_me:$LINENO: result: no" >&5
2967echo "${ECHO_T}no" >&6
2968 elif test "$wxUSE_ZLIB" = sys; then
2969 echo "$as_me:$LINENO: result: system version" >&5
2970echo "${ECHO_T}system version" >&6
2971 elif test "$wxUSE_ZLIB" = builtin; then
2972 echo "$as_me:$LINENO: result: builtin version" >&5
2973echo "${ECHO_T}builtin version" >&6
2974 else
2975 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2976echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2977 { (exit 1); exit 1; }; }
2978 fi
2979
2980
2981 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2982echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2983 no_cache=0
2984
2985# Check whether --with-odbc or --without-odbc was given.
2986if test "${with_odbc+set}" = set; then
2987 withval="$with_odbc"
2988
2989 if test "$withval" = yes; then
2990 ac_cv_use_odbc='wxUSE_ODBC=yes'
2991 elif test "$withval" = no; then
2992 ac_cv_use_odbc='wxUSE_ODBC=no'
2993 elif test "$withval" = sys; then
2994 ac_cv_use_odbc='wxUSE_ODBC=sys'
2995 elif test "$withval" = builtin; then
2996 ac_cv_use_odbc='wxUSE_ODBC=builtin'
2997 else
2998 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2999echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3000 { (exit 1); exit 1; }; }
3001 fi
3002
3003else
3004
3005 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3006 if test "x$LINE" != x ; then
3007 eval "DEFAULT_$LINE"
3008 else
3009 no_cache=1
3010 fi
3011
3012 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3013
3014fi;
3015
3016 eval "$ac_cv_use_odbc"
3017 if test "$no_cache" != 1; then
3018 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3019 fi
3020
3021 if test "$wxUSE_ODBC" = yes; then
3022 echo "$as_me:$LINENO: result: yes" >&5
3023echo "${ECHO_T}yes" >&6
3024 elif test "$wxUSE_ODBC" = no; then
3025 echo "$as_me:$LINENO: result: no" >&5
3026echo "${ECHO_T}no" >&6
3027 elif test "$wxUSE_ODBC" = sys; then
3028 echo "$as_me:$LINENO: result: system version" >&5
3029echo "${ECHO_T}system version" >&6
3030 elif test "$wxUSE_ODBC" = builtin; then
3031 echo "$as_me:$LINENO: result: builtin version" >&5
3032echo "${ECHO_T}builtin version" >&6
3033 else
3034 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3035echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3036 { (exit 1); exit 1; }; }
3037 fi
3038
3039
3040 echo "$as_me:$LINENO: checking for --with-expat" >&5
3041echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3042 no_cache=0
3043
3044# Check whether --with-expat or --without-expat was given.
3045if test "${with_expat+set}" = set; then
3046 withval="$with_expat"
3047
3048 if test "$withval" = yes; then
3049 ac_cv_use_expat='wxUSE_EXPAT=yes'
3050 elif test "$withval" = no; then
3051 ac_cv_use_expat='wxUSE_EXPAT=no'
3052 elif test "$withval" = sys; then
3053 ac_cv_use_expat='wxUSE_EXPAT=sys'
3054 elif test "$withval" = builtin; then
3055 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3056 else
3057 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3058echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3059 { (exit 1); exit 1; }; }
3060 fi
3061
3062else
3063
3064 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3065 if test "x$LINE" != x ; then
3066 eval "DEFAULT_$LINE"
3067 else
3068 no_cache=1
3069 fi
3070
3071 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3072
3073fi;
3074
3075 eval "$ac_cv_use_expat"
3076 if test "$no_cache" != 1; then
3077 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3078 fi
3079
3080 if test "$wxUSE_EXPAT" = yes; then
3081 echo "$as_me:$LINENO: result: yes" >&5
3082echo "${ECHO_T}yes" >&6
3083 elif test "$wxUSE_EXPAT" = no; then
3084 echo "$as_me:$LINENO: result: no" >&5
3085echo "${ECHO_T}no" >&6
3086 elif test "$wxUSE_EXPAT" = sys; then
3087 echo "$as_me:$LINENO: result: system version" >&5
3088echo "${ECHO_T}system version" >&6
3089 elif test "$wxUSE_EXPAT" = builtin; then
3090 echo "$as_me:$LINENO: result: builtin version" >&5
3091echo "${ECHO_T}builtin version" >&6
3092 else
3093 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3094echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3095 { (exit 1); exit 1; }; }
3096 fi
3097
3098
3099
3100
3101 enablestring=
3102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3103echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3104 no_cache=0
3105 # Check whether --enable-shared or --disable-shared was given.
3106if test "${enable_shared+set}" = set; then
3107 enableval="$enable_shared"
3108
3109 if test "$enableval" = yes; then
3110 ac_cv_use_shared='wxUSE_SHARED=yes'
3111 else
3112 ac_cv_use_shared='wxUSE_SHARED=no'
3113 fi
3114
3115else
3116
3117 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3118 if test "x$LINE" != x ; then
3119 eval "DEFAULT_$LINE"
3120 else
3121 no_cache=1
3122 fi
3123
3124 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3125
3126fi;
3127
3128 eval "$ac_cv_use_shared"
3129 if test "$no_cache" != 1; then
3130 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3131 fi
3132
3133 if test "$wxUSE_SHARED" = yes; then
3134 echo "$as_me:$LINENO: result: yes" >&5
3135echo "${ECHO_T}yes" >&6
3136 else
3137 echo "$as_me:$LINENO: result: no" >&5
3138echo "${ECHO_T}no" >&6
3139 fi
3140
3141
3142 enablestring=
3143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3144echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3145 no_cache=0
3146 # Check whether --enable-optimise or --disable-optimise was given.
3147if test "${enable_optimise+set}" = set; then
3148 enableval="$enable_optimise"
3149
3150 if test "$enableval" = yes; then
3151 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3152 else
3153 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3154 fi
3155
3156else
3157
3158 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3159 if test "x$LINE" != x ; then
3160 eval "DEFAULT_$LINE"
3161 else
3162 no_cache=1
3163 fi
3164
3165 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3166
3167fi;
3168
3169 eval "$ac_cv_use_optimise"
3170 if test "$no_cache" != 1; then
3171 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3172 fi
3173
3174 if test "$wxUSE_OPTIMISE" = yes; then
3175 echo "$as_me:$LINENO: result: yes" >&5
3176echo "${ECHO_T}yes" >&6
3177 else
3178 echo "$as_me:$LINENO: result: no" >&5
3179echo "${ECHO_T}no" >&6
3180 fi
3181
3182
3183 enablestring=
3184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3185echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3186 no_cache=0
3187 # Check whether --enable-debug or --disable-debug was given.
3188if test "${enable_debug+set}" = set; then
3189 enableval="$enable_debug"
3190
3191 if test "$enableval" = yes; then
3192 ac_cv_use_debug='wxUSE_DEBUG=yes'
3193 else
3194 ac_cv_use_debug='wxUSE_DEBUG=no'
3195 fi
3196
3197else
3198
3199 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3200 if test "x$LINE" != x ; then
3201 eval "DEFAULT_$LINE"
3202 else
3203 no_cache=1
3204 fi
3205
3206 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3207
3208fi;
3209
3210 eval "$ac_cv_use_debug"
3211 if test "$no_cache" != 1; then
3212 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3213 fi
3214
3215 if test "$wxUSE_DEBUG" = yes; then
3216 echo "$as_me:$LINENO: result: yes" >&5
3217echo "${ECHO_T}yes" >&6
3218 else
3219 echo "$as_me:$LINENO: result: no" >&5
3220echo "${ECHO_T}no" >&6
3221 fi
3222
3223
3224 enablestring=
3225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3226echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3227 no_cache=0
3228 # Check whether --enable-stl or --disable-stl was given.
3229if test "${enable_stl+set}" = set; then
3230 enableval="$enable_stl"
3231
3232 if test "$enableval" = yes; then
3233 ac_cv_use_stl='wxUSE_STL=yes'
3234 else
3235 ac_cv_use_stl='wxUSE_STL=no'
3236 fi
3237
3238else
3239
3240 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3241 if test "x$LINE" != x ; then
3242 eval "DEFAULT_$LINE"
3243 else
3244 no_cache=1
3245 fi
3246
3247 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3248
3249fi;
3250
3251 eval "$ac_cv_use_stl"
3252 if test "$no_cache" != 1; then
3253 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3254 fi
3255
3256 if test "$wxUSE_STL" = yes; then
3257 echo "$as_me:$LINENO: result: yes" >&5
3258echo "${ECHO_T}yes" >&6
3259 else
3260 echo "$as_me:$LINENO: result: no" >&5
3261echo "${ECHO_T}no" >&6
3262 fi
3263
3264
3265if test "$wxUSE_DEBUG" = "yes"; then
3266 DEFAULT_wxUSE_DEBUG_FLAG=yes
3267 DEFAULT_wxUSE_DEBUG_INFO=yes
3268 BUILD=debug
3269elif test "$wxUSE_DEBUG" = "no"; then
3270 DEFAULT_wxUSE_DEBUG_FLAG=no
3271 DEFAULT_wxUSE_DEBUG_INFO=no
3272 BUILD=release
3273fi
3274
3275
3276 enablestring=
3277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3278echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3279 no_cache=0
3280 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3281if test "${enable_debug_flag+set}" = set; then
3282 enableval="$enable_debug_flag"
3283
3284 if test "$enableval" = yes; then
3285 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3286 else
3287 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3288 fi
3289
3290else
3291
3292 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3293 if test "x$LINE" != x ; then
3294 eval "DEFAULT_$LINE"
3295 else
3296 no_cache=1
3297 fi
3298
3299 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3300
3301fi;
3302
3303 eval "$ac_cv_use_debug_flag"
3304 if test "$no_cache" != 1; then
3305 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3306 fi
3307
3308 if test "$wxUSE_DEBUG_FLAG" = yes; then
3309 echo "$as_me:$LINENO: result: yes" >&5
3310echo "${ECHO_T}yes" >&6
3311 else
3312 echo "$as_me:$LINENO: result: no" >&5
3313echo "${ECHO_T}no" >&6
3314 fi
3315
3316
3317 enablestring=
3318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3319echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3320 no_cache=0
3321 # Check whether --enable-debug_info or --disable-debug_info was given.
3322if test "${enable_debug_info+set}" = set; then
3323 enableval="$enable_debug_info"
3324
3325 if test "$enableval" = yes; then
3326 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3327 else
3328 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3329 fi
3330
3331else
3332
3333 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3334 if test "x$LINE" != x ; then
3335 eval "DEFAULT_$LINE"
3336 else
3337 no_cache=1
3338 fi
3339
3340 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3341
3342fi;
3343
3344 eval "$ac_cv_use_debug_info"
3345 if test "$no_cache" != 1; then
3346 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3347 fi
3348
3349 if test "$wxUSE_DEBUG_INFO" = yes; then
3350 echo "$as_me:$LINENO: result: yes" >&5
3351echo "${ECHO_T}yes" >&6
3352 else
3353 echo "$as_me:$LINENO: result: no" >&5
3354echo "${ECHO_T}no" >&6
3355 fi
3356
3357
3358 enablestring=
3359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3360echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3361 no_cache=0
3362 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3363if test "${enable_debug_gdb+set}" = set; then
3364 enableval="$enable_debug_gdb"
3365
3366 if test "$enableval" = yes; then
3367 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3368 else
3369 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3370 fi
3371
3372else
3373
3374 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3375 if test "x$LINE" != x ; then
3376 eval "DEFAULT_$LINE"
3377 else
3378 no_cache=1
3379 fi
3380
3381 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3382
3383fi;
3384
3385 eval "$ac_cv_use_debug_gdb"
3386 if test "$no_cache" != 1; then
3387 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3388 fi
3389
3390 if test "$wxUSE_DEBUG_GDB" = yes; then
3391 echo "$as_me:$LINENO: result: yes" >&5
3392echo "${ECHO_T}yes" >&6
3393 else
3394 echo "$as_me:$LINENO: result: no" >&5
3395echo "${ECHO_T}no" >&6
3396 fi
3397
3398
3399 enablestring=
3400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3401echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3402 no_cache=0
3403 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3404if test "${enable_debug_cntxt+set}" = set; then
3405 enableval="$enable_debug_cntxt"
3406
3407 if test "$enableval" = yes; then
3408 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3409 else
3410 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3411 fi
3412
3413else
3414
3415 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3416 if test "x$LINE" != x ; then
3417 eval "DEFAULT_$LINE"
3418 else
3419 no_cache=1
3420 fi
3421
3422 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3423
3424fi;
3425
3426 eval "$ac_cv_use_debug_cntxt"
3427 if test "$no_cache" != 1; then
3428 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3429 fi
3430
3431 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3432 echo "$as_me:$LINENO: result: yes" >&5
3433echo "${ECHO_T}yes" >&6
3434 else
3435 echo "$as_me:$LINENO: result: no" >&5
3436echo "${ECHO_T}no" >&6
3437 fi
3438
3439
3440 enablestring=
3441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3442echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3443 no_cache=0
3444 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3445if test "${enable_mem_tracing+set}" = set; then
3446 enableval="$enable_mem_tracing"
3447
3448 if test "$enableval" = yes; then
3449 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3450 else
3451 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3452 fi
3453
3454else
3455
3456 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3457 if test "x$LINE" != x ; then
3458 eval "DEFAULT_$LINE"
3459 else
3460 no_cache=1
3461 fi
3462
3463 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3464
3465fi;
3466
3467 eval "$ac_cv_use_mem_tracing"
3468 if test "$no_cache" != 1; then
3469 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3470 fi
3471
3472 if test "$wxUSE_MEM_TRACING" = yes; then
3473 echo "$as_me:$LINENO: result: yes" >&5
3474echo "${ECHO_T}yes" >&6
3475 else
3476 echo "$as_me:$LINENO: result: no" >&5
3477echo "${ECHO_T}no" >&6
3478 fi
3479
3480
3481 enablestring=
3482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3483echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3484 no_cache=0
3485 # Check whether --enable-profile or --disable-profile was given.
3486if test "${enable_profile+set}" = set; then
3487 enableval="$enable_profile"
3488
3489 if test "$enableval" = yes; then
3490 ac_cv_use_profile='wxUSE_PROFILE=yes'
3491 else
3492 ac_cv_use_profile='wxUSE_PROFILE=no'
3493 fi
3494
3495else
3496
3497 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3498 if test "x$LINE" != x ; then
3499 eval "DEFAULT_$LINE"
3500 else
3501 no_cache=1
3502 fi
3503
3504 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3505
3506fi;
3507
3508 eval "$ac_cv_use_profile"
3509 if test "$no_cache" != 1; then
3510 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3511 fi
3512
3513 if test "$wxUSE_PROFILE" = yes; then
3514 echo "$as_me:$LINENO: result: yes" >&5
3515echo "${ECHO_T}yes" >&6
3516 else
3517 echo "$as_me:$LINENO: result: no" >&5
3518echo "${ECHO_T}no" >&6
3519 fi
3520
3521
3522 enablestring=
3523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3524echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3525 no_cache=0
3526 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3527if test "${enable_no_rtti+set}" = set; then
3528 enableval="$enable_no_rtti"
3529
3530 if test "$enableval" = yes; then
3531 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3532 else
3533 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3534 fi
3535
3536else
3537
3538 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3539 if test "x$LINE" != x ; then
3540 eval "DEFAULT_$LINE"
3541 else
3542 no_cache=1
3543 fi
3544
3545 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3546
3547fi;
3548
3549 eval "$ac_cv_use_no_rtti"
3550 if test "$no_cache" != 1; then
3551 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3552 fi
3553
3554 if test "$wxUSE_NO_RTTI" = yes; then
3555 echo "$as_me:$LINENO: result: yes" >&5
3556echo "${ECHO_T}yes" >&6
3557 else
3558 echo "$as_me:$LINENO: result: no" >&5
3559echo "${ECHO_T}no" >&6
3560 fi
3561
3562
3563 enablestring=
3564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3565echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3566 no_cache=0
3567 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3568if test "${enable_no_exceptions+set}" = set; then
3569 enableval="$enable_no_exceptions"
3570
3571 if test "$enableval" = yes; then
3572 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3573 else
3574 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3575 fi
3576
3577else
3578
3579 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3580 if test "x$LINE" != x ; then
3581 eval "DEFAULT_$LINE"
3582 else
3583 no_cache=1
3584 fi
3585
3586 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3587
3588fi;
3589
3590 eval "$ac_cv_use_no_exceptions"
3591 if test "$no_cache" != 1; then
3592 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3593 fi
3594
3595 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3596 echo "$as_me:$LINENO: result: yes" >&5
3597echo "${ECHO_T}yes" >&6
3598 else
3599 echo "$as_me:$LINENO: result: no" >&5
3600echo "${ECHO_T}no" >&6
3601 fi
3602
3603
3604 enablestring=
3605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3606echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3607 no_cache=0
3608 # Check whether --enable-permissive or --disable-permissive was given.
3609if test "${enable_permissive+set}" = set; then
3610 enableval="$enable_permissive"
3611
3612 if test "$enableval" = yes; then
3613 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3614 else
3615 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3616 fi
3617
3618else
3619
3620 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3621 if test "x$LINE" != x ; then
3622 eval "DEFAULT_$LINE"
3623 else
3624 no_cache=1
3625 fi
3626
3627 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3628
3629fi;
3630
3631 eval "$ac_cv_use_permissive"
3632 if test "$no_cache" != 1; then
3633 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3634 fi
3635
3636 if test "$wxUSE_PERMISSIVE" = yes; then
3637 echo "$as_me:$LINENO: result: yes" >&5
3638echo "${ECHO_T}yes" >&6
3639 else
3640 echo "$as_me:$LINENO: result: no" >&5
3641echo "${ECHO_T}no" >&6
3642 fi
3643
3644
3645 enablestring=
3646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3647echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3648 no_cache=0
3649 # Check whether --enable-no_deps or --disable-no_deps was given.
3650if test "${enable_no_deps+set}" = set; then
3651 enableval="$enable_no_deps"
3652
3653 if test "$enableval" = yes; then
3654 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3655 else
3656 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3657 fi
3658
3659else
3660
3661 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3662 if test "x$LINE" != x ; then
3663 eval "DEFAULT_$LINE"
3664 else
3665 no_cache=1
3666 fi
3667
3668 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3669
3670fi;
3671
3672 eval "$ac_cv_use_no_deps"
3673 if test "$no_cache" != 1; then
3674 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3675 fi
3676
3677 if test "$wxUSE_NO_DEPS" = yes; then
3678 echo "$as_me:$LINENO: result: yes" >&5
3679echo "${ECHO_T}yes" >&6
3680 else
3681 echo "$as_me:$LINENO: result: no" >&5
3682echo "${ECHO_T}no" >&6
3683 fi
3684
3685
3686
3687 enablestring=
3688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3689echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3690 no_cache=0
3691 # Check whether --enable-compat22 or --disable-compat22 was given.
3692if test "${enable_compat22+set}" = set; then
3693 enableval="$enable_compat22"
3694
3695 if test "$enableval" = yes; then
3696 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3697 else
3698 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3699 fi
3700
3701else
3702
3703 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3704 if test "x$LINE" != x ; then
3705 eval "DEFAULT_$LINE"
3706 else
3707 no_cache=1
3708 fi
3709
3710 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3711
3712fi;
3713
3714 eval "$ac_cv_use_compat22"
3715 if test "$no_cache" != 1; then
3716 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3717 fi
3718
3719 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3720 echo "$as_me:$LINENO: result: yes" >&5
3721echo "${ECHO_T}yes" >&6
3722 else
3723 echo "$as_me:$LINENO: result: no" >&5
3724echo "${ECHO_T}no" >&6
3725 fi
3726
3727
3728 enablestring=disable
3729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3730echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3731 no_cache=0
3732 # Check whether --enable-compat24 or --disable-compat24 was given.
3733if test "${enable_compat24+set}" = set; then
3734 enableval="$enable_compat24"
3735
3736 if test "$enableval" = yes; then
3737 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3738 else
3739 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3740 fi
3741
3742else
3743
3744 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3745 if test "x$LINE" != x ; then
3746 eval "DEFAULT_$LINE"
3747 else
3748 no_cache=1
3749 fi
3750
3751 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3752
3753fi;
3754
3755 eval "$ac_cv_use_compat24"
3756 if test "$no_cache" != 1; then
3757 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3758 fi
3759
3760 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3761 echo "$as_me:$LINENO: result: yes" >&5
3762echo "${ECHO_T}yes" >&6
3763 else
3764 echo "$as_me:$LINENO: result: no" >&5
3765echo "${ECHO_T}no" >&6
3766 fi
3767
3768
3769# Check whether --enable-rpath or --disable-rpath was given.
3770if test "${enable_rpath+set}" = set; then
3771 enableval="$enable_rpath"
3772 wxRPATH_DIR="$enableval"
3773fi;
3774
3775if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3776 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3777fi
3778
3779
3780
3781
3782 enablestring=
3783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3784echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3785 no_cache=0
3786 # Check whether --enable-intl or --disable-intl was given.
3787if test "${enable_intl+set}" = set; then
3788 enableval="$enable_intl"
3789
3790 if test "$enableval" = yes; then
3791 ac_cv_use_intl='wxUSE_INTL=yes'
3792 else
3793 ac_cv_use_intl='wxUSE_INTL=no'
3794 fi
3795
3796else
3797
3798 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3799 if test "x$LINE" != x ; then
3800 eval "DEFAULT_$LINE"
3801 else
3802 no_cache=1
3803 fi
3804
3805 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3806
3807fi;
3808
3809 eval "$ac_cv_use_intl"
3810 if test "$no_cache" != 1; then
3811 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3812 fi
3813
3814 if test "$wxUSE_INTL" = yes; then
3815 echo "$as_me:$LINENO: result: yes" >&5
3816echo "${ECHO_T}yes" >&6
3817 else
3818 echo "$as_me:$LINENO: result: no" >&5
3819echo "${ECHO_T}no" >&6
3820 fi
3821
3822
3823 enablestring=
3824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3825echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3826 no_cache=0
3827 # Check whether --enable-config or --disable-config was given.
3828if test "${enable_config+set}" = set; then
3829 enableval="$enable_config"
3830
3831 if test "$enableval" = yes; then
3832 ac_cv_use_config='wxUSE_CONFIG=yes'
3833 else
3834 ac_cv_use_config='wxUSE_CONFIG=no'
3835 fi
3836
3837else
3838
3839 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3840 if test "x$LINE" != x ; then
3841 eval "DEFAULT_$LINE"
3842 else
3843 no_cache=1
3844 fi
3845
3846 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3847
3848fi;
3849
3850 eval "$ac_cv_use_config"
3851 if test "$no_cache" != 1; then
3852 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3853 fi
3854
3855 if test "$wxUSE_CONFIG" = yes; then
3856 echo "$as_me:$LINENO: result: yes" >&5
3857echo "${ECHO_T}yes" >&6
3858 else
3859 echo "$as_me:$LINENO: result: no" >&5
3860echo "${ECHO_T}no" >&6
3861 fi
3862
3863
3864
3865 enablestring=
3866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3867echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3868 no_cache=0
3869 # Check whether --enable-protocols or --disable-protocols was given.
3870if test "${enable_protocols+set}" = set; then
3871 enableval="$enable_protocols"
3872
3873 if test "$enableval" = yes; then
3874 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3875 else
3876 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3877 fi
3878
3879else
3880
3881 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3882 if test "x$LINE" != x ; then
3883 eval "DEFAULT_$LINE"
3884 else
3885 no_cache=1
3886 fi
3887
3888 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3889
3890fi;
3891
3892 eval "$ac_cv_use_protocols"
3893 if test "$no_cache" != 1; then
3894 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3895 fi
3896
3897 if test "$wxUSE_PROTOCOL" = yes; then
3898 echo "$as_me:$LINENO: result: yes" >&5
3899echo "${ECHO_T}yes" >&6
3900 else
3901 echo "$as_me:$LINENO: result: no" >&5
3902echo "${ECHO_T}no" >&6
3903 fi
3904
3905
3906 enablestring=
3907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3908echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3909 no_cache=0
3910 # Check whether --enable-ftp or --disable-ftp was given.
3911if test "${enable_ftp+set}" = set; then
3912 enableval="$enable_ftp"
3913
3914 if test "$enableval" = yes; then
3915 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3916 else
3917 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3918 fi
3919
3920else
3921
3922 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3923 if test "x$LINE" != x ; then
3924 eval "DEFAULT_$LINE"
3925 else
3926 no_cache=1
3927 fi
3928
3929 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3930
3931fi;
3932
3933 eval "$ac_cv_use_ftp"
3934 if test "$no_cache" != 1; then
3935 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3936 fi
3937
3938 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3939 echo "$as_me:$LINENO: result: yes" >&5
3940echo "${ECHO_T}yes" >&6
3941 else
3942 echo "$as_me:$LINENO: result: no" >&5
3943echo "${ECHO_T}no" >&6
3944 fi
3945
3946
3947 enablestring=
3948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3949echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3950 no_cache=0
3951 # Check whether --enable-http or --disable-http was given.
3952if test "${enable_http+set}" = set; then
3953 enableval="$enable_http"
3954
3955 if test "$enableval" = yes; then
3956 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3957 else
3958 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3959 fi
3960
3961else
3962
3963 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3964 if test "x$LINE" != x ; then
3965 eval "DEFAULT_$LINE"
3966 else
3967 no_cache=1
3968 fi
3969
3970 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3971
3972fi;
3973
3974 eval "$ac_cv_use_http"
3975 if test "$no_cache" != 1; then
3976 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3977 fi
3978
3979 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3980 echo "$as_me:$LINENO: result: yes" >&5
3981echo "${ECHO_T}yes" >&6
3982 else
3983 echo "$as_me:$LINENO: result: no" >&5
3984echo "${ECHO_T}no" >&6
3985 fi
3986
3987
3988 enablestring=
3989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
3990echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
3991 no_cache=0
3992 # Check whether --enable-fileproto or --disable-fileproto was given.
3993if test "${enable_fileproto+set}" = set; then
3994 enableval="$enable_fileproto"
3995
3996 if test "$enableval" = yes; then
3997 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
3998 else
3999 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4000 fi
4001
4002else
4003
4004 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4005 if test "x$LINE" != x ; then
4006 eval "DEFAULT_$LINE"
4007 else
4008 no_cache=1
4009 fi
4010
4011 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4012
4013fi;
4014
4015 eval "$ac_cv_use_fileproto"
4016 if test "$no_cache" != 1; then
4017 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4018 fi
4019
4020 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4021 echo "$as_me:$LINENO: result: yes" >&5
4022echo "${ECHO_T}yes" >&6
4023 else
4024 echo "$as_me:$LINENO: result: no" >&5
4025echo "${ECHO_T}no" >&6
4026 fi
4027
4028
4029 enablestring=
4030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4031echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4032 no_cache=0
4033 # Check whether --enable-sockets or --disable-sockets was given.
4034if test "${enable_sockets+set}" = set; then
4035 enableval="$enable_sockets"
4036
4037 if test "$enableval" = yes; then
4038 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4039 else
4040 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4041 fi
4042
4043else
4044
4045 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4046 if test "x$LINE" != x ; then
4047 eval "DEFAULT_$LINE"
4048 else
4049 no_cache=1
4050 fi
4051
4052 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4053
4054fi;
4055
4056 eval "$ac_cv_use_sockets"
4057 if test "$no_cache" != 1; then
4058 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4059 fi
4060
4061 if test "$wxUSE_SOCKETS" = yes; then
4062 echo "$as_me:$LINENO: result: yes" >&5
4063echo "${ECHO_T}yes" >&6
4064 else
4065 echo "$as_me:$LINENO: result: no" >&5
4066echo "${ECHO_T}no" >&6
4067 fi
4068
4069
4070 enablestring=
4071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4072echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4073 no_cache=0
4074 # Check whether --enable-ole or --disable-ole was given.
4075if test "${enable_ole+set}" = set; then
4076 enableval="$enable_ole"
4077
4078 if test "$enableval" = yes; then
4079 ac_cv_use_ole='wxUSE_OLE=yes'
4080 else
4081 ac_cv_use_ole='wxUSE_OLE=no'
4082 fi
4083
4084else
4085
4086 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4087 if test "x$LINE" != x ; then
4088 eval "DEFAULT_$LINE"
4089 else
4090 no_cache=1
4091 fi
4092
4093 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4094
4095fi;
4096
4097 eval "$ac_cv_use_ole"
4098 if test "$no_cache" != 1; then
4099 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4100 fi
4101
4102 if test "$wxUSE_OLE" = yes; then
4103 echo "$as_me:$LINENO: result: yes" >&5
4104echo "${ECHO_T}yes" >&6
4105 else
4106 echo "$as_me:$LINENO: result: no" >&5
4107echo "${ECHO_T}no" >&6
4108 fi
4109
4110
4111 enablestring=
4112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4113echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4114 no_cache=0
4115 # Check whether --enable-dataobj or --disable-dataobj was given.
4116if test "${enable_dataobj+set}" = set; then
4117 enableval="$enable_dataobj"
4118
4119 if test "$enableval" = yes; then
4120 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4121 else
4122 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4123 fi
4124
4125else
4126
4127 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4128 if test "x$LINE" != x ; then
4129 eval "DEFAULT_$LINE"
4130 else
4131 no_cache=1
4132 fi
4133
4134 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4135
4136fi;
4137
4138 eval "$ac_cv_use_dataobj"
4139 if test "$no_cache" != 1; then
4140 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4141 fi
4142
4143 if test "$wxUSE_DATAOBJ" = yes; then
4144 echo "$as_me:$LINENO: result: yes" >&5
4145echo "${ECHO_T}yes" >&6
4146 else
4147 echo "$as_me:$LINENO: result: no" >&5
4148echo "${ECHO_T}no" >&6
4149 fi
4150
4151
4152
4153 enablestring=
4154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4155echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4156 no_cache=0
4157 # Check whether --enable-ipc or --disable-ipc was given.
4158if test "${enable_ipc+set}" = set; then
4159 enableval="$enable_ipc"
4160
4161 if test "$enableval" = yes; then
4162 ac_cv_use_ipc='wxUSE_IPC=yes'
4163 else
4164 ac_cv_use_ipc='wxUSE_IPC=no'
4165 fi
4166
4167else
4168
4169 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4170 if test "x$LINE" != x ; then
4171 eval "DEFAULT_$LINE"
4172 else
4173 no_cache=1
4174 fi
4175
4176 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4177
4178fi;
4179
4180 eval "$ac_cv_use_ipc"
4181 if test "$no_cache" != 1; then
4182 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4183 fi
4184
4185 if test "$wxUSE_IPC" = yes; then
4186 echo "$as_me:$LINENO: result: yes" >&5
4187echo "${ECHO_T}yes" >&6
4188 else
4189 echo "$as_me:$LINENO: result: no" >&5
4190echo "${ECHO_T}no" >&6
4191 fi
4192
4193
4194
4195 enablestring=
4196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4197echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4198 no_cache=0
4199 # Check whether --enable-cmdline or --disable-cmdline was given.
4200if test "${enable_cmdline+set}" = set; then
4201 enableval="$enable_cmdline"
4202
4203 if test "$enableval" = yes; then
4204 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4205 else
4206 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4207 fi
4208
4209else
4210
4211 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4212 if test "x$LINE" != x ; then
4213 eval "DEFAULT_$LINE"
4214 else
4215 no_cache=1
4216 fi
4217
4218 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4219
4220fi;
4221
4222 eval "$ac_cv_use_cmdline"
4223 if test "$no_cache" != 1; then
4224 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4225 fi
4226
4227 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4228 echo "$as_me:$LINENO: result: yes" >&5
4229echo "${ECHO_T}yes" >&6
4230 else
4231 echo "$as_me:$LINENO: result: no" >&5
4232echo "${ECHO_T}no" >&6
4233 fi
4234
4235
4236 enablestring=
4237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4238echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4239 no_cache=0
4240 # Check whether --enable-datetime or --disable-datetime was given.
4241if test "${enable_datetime+set}" = set; then
4242 enableval="$enable_datetime"
4243
4244 if test "$enableval" = yes; then
4245 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4246 else
4247 ac_cv_use_datetime='wxUSE_DATETIME=no'
4248 fi
4249
4250else
4251
4252 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4253 if test "x$LINE" != x ; then
4254 eval "DEFAULT_$LINE"
4255 else
4256 no_cache=1
4257 fi
4258
4259 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4260
4261fi;
4262
4263 eval "$ac_cv_use_datetime"
4264 if test "$no_cache" != 1; then
4265 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4266 fi
4267
4268 if test "$wxUSE_DATETIME" = yes; then
4269 echo "$as_me:$LINENO: result: yes" >&5
4270echo "${ECHO_T}yes" >&6
4271 else
4272 echo "$as_me:$LINENO: result: no" >&5
4273echo "${ECHO_T}no" >&6
4274 fi
4275
4276
4277 enablestring=
4278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4279echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4280 no_cache=0
4281 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4282if test "${enable_stopwatch+set}" = set; then
4283 enableval="$enable_stopwatch"
4284
4285 if test "$enableval" = yes; then
4286 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
4287 else
4288 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
4289 fi
4290
4291else
4292
4293 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4294 if test "x$LINE" != x ; then
4295 eval "DEFAULT_$LINE"
4296 else
4297 no_cache=1
4298 fi
4299
4300 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
4301
4302fi;
4303
4304 eval "$ac_cv_use_stopwatch"
4305 if test "$no_cache" != 1; then
4306 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4307 fi
4308
4309 if test "$wxUSE_STOPWATCH" = yes; then
4310 echo "$as_me:$LINENO: result: yes" >&5
4311echo "${ECHO_T}yes" >&6
4312 else
4313 echo "$as_me:$LINENO: result: no" >&5
4314echo "${ECHO_T}no" >&6
4315 fi
4316
4317
4318 enablestring=
4319 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4320echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4321 no_cache=0
4322 # Check whether --enable-dialupman or --disable-dialupman was given.
4323if test "${enable_dialupman+set}" = set; then
4324 enableval="$enable_dialupman"
4325
4326 if test "$enableval" = yes; then
4327 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4328 else
4329 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4330 fi
4331
4332else
4333
4334 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4335 if test "x$LINE" != x ; then
4336 eval "DEFAULT_$LINE"
4337 else
4338 no_cache=1
4339 fi
4340
4341 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4342
4343fi;
4344
4345 eval "$ac_cv_use_dialupman"
4346 if test "$no_cache" != 1; then
4347 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4348 fi
4349
4350 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4351 echo "$as_me:$LINENO: result: yes" >&5
4352echo "${ECHO_T}yes" >&6
4353 else
4354 echo "$as_me:$LINENO: result: no" >&5
4355echo "${ECHO_T}no" >&6
4356 fi
4357
4358
4359 enablestring=
4360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4361echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4362 no_cache=0
4363 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4364if test "${enable_apple_ieee+set}" = set; then
4365 enableval="$enable_apple_ieee"
4366
4367 if test "$enableval" = yes; then
4368 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4369 else
4370 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4371 fi
4372
4373else
4374
4375 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4376 if test "x$LINE" != x ; then
4377 eval "DEFAULT_$LINE"
4378 else
4379 no_cache=1
4380 fi
4381
4382 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4383
4384fi;
4385
4386 eval "$ac_cv_use_apple_ieee"
4387 if test "$no_cache" != 1; then
4388 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4389 fi
4390
4391 if test "$wxUSE_APPLE_IEEE" = yes; then
4392 echo "$as_me:$LINENO: result: yes" >&5
4393echo "${ECHO_T}yes" >&6
4394 else
4395 echo "$as_me:$LINENO: result: no" >&5
4396echo "${ECHO_T}no" >&6
4397 fi
4398
4399
4400 enablestring=
4401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4402echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4403 no_cache=0
4404 # Check whether --enable-timer or --disable-timer was given.
4405if test "${enable_timer+set}" = set; then
4406 enableval="$enable_timer"
4407
4408 if test "$enableval" = yes; then
4409 ac_cv_use_timer='wxUSE_TIMER=yes'
4410 else
4411 ac_cv_use_timer='wxUSE_TIMER=no'
4412 fi
4413
4414else
4415
4416 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4417 if test "x$LINE" != x ; then
4418 eval "DEFAULT_$LINE"
4419 else
4420 no_cache=1
4421 fi
4422
4423 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
4424
4425fi;
4426
4427 eval "$ac_cv_use_timer"
4428 if test "$no_cache" != 1; then
4429 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4430 fi
4431
4432 if test "$wxUSE_TIMER" = yes; then
4433 echo "$as_me:$LINENO: result: yes" >&5
4434echo "${ECHO_T}yes" >&6
4435 else
4436 echo "$as_me:$LINENO: result: no" >&5
4437echo "${ECHO_T}no" >&6
4438 fi
4439
4440
4441 enablestring=
4442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4443echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4444 no_cache=0
4445 # Check whether --enable-wave or --disable-wave was given.
4446if test "${enable_wave+set}" = set; then
4447 enableval="$enable_wave"
4448
4449 if test "$enableval" = yes; then
4450 ac_cv_use_wave='wxUSE_WAVE=yes'
4451 else
4452 ac_cv_use_wave='wxUSE_WAVE=no'
4453 fi
4454
4455else
4456
4457 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4458 if test "x$LINE" != x ; then
4459 eval "DEFAULT_$LINE"
4460 else
4461 no_cache=1
4462 fi
4463
4464 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
4465
4466fi;
4467
4468 eval "$ac_cv_use_wave"
4469 if test "$no_cache" != 1; then
4470 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4471 fi
4472
4473 if test "$wxUSE_WAVE" = yes; then
4474 echo "$as_me:$LINENO: result: yes" >&5
4475echo "${ECHO_T}yes" >&6
4476 else
4477 echo "$as_me:$LINENO: result: no" >&5
4478echo "${ECHO_T}no" >&6
4479 fi
4480
4481
4482 enablestring=
4483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4484echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4485 no_cache=0
4486 # Check whether --enable-fraction or --disable-fraction was given.
4487if test "${enable_fraction+set}" = set; then
4488 enableval="$enable_fraction"
4489
4490 if test "$enableval" = yes; then
4491 ac_cv_use_fraction='wxUSE_FRACTION=yes'
4492 else
4493 ac_cv_use_fraction='wxUSE_FRACTION=no'
4494 fi
4495
4496else
4497
4498 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4499 if test "x$LINE" != x ; then
4500 eval "DEFAULT_$LINE"
4501 else
4502 no_cache=1
4503 fi
4504
4505 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
4506
4507fi;
4508
4509 eval "$ac_cv_use_fraction"
4510 if test "$no_cache" != 1; then
4511 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4512 fi
4513
4514 if test "$wxUSE_FRACTION" = yes; then
4515 echo "$as_me:$LINENO: result: yes" >&5
4516echo "${ECHO_T}yes" >&6
4517 else
4518 echo "$as_me:$LINENO: result: no" >&5
4519echo "${ECHO_T}no" >&6
4520 fi
4521
4522
4523 enablestring=
4524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4525echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4526 no_cache=0
4527 # Check whether --enable-dynlib or --disable-dynlib was given.
4528if test "${enable_dynlib+set}" = set; then
4529 enableval="$enable_dynlib"
4530
4531 if test "$enableval" = yes; then
4532 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4533 else
4534 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4535 fi
4536
4537else
4538
4539 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4540 if test "x$LINE" != x ; then
4541 eval "DEFAULT_$LINE"
4542 else
4543 no_cache=1
4544 fi
4545
4546 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4547
4548fi;
4549
4550 eval "$ac_cv_use_dynlib"
4551 if test "$no_cache" != 1; then
4552 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4553 fi
4554
4555 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4556 echo "$as_me:$LINENO: result: yes" >&5
4557echo "${ECHO_T}yes" >&6
4558 else
4559 echo "$as_me:$LINENO: result: no" >&5
4560echo "${ECHO_T}no" >&6
4561 fi
4562
4563
4564 enablestring=
4565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4566echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4567 no_cache=0
4568 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4569if test "${enable_dynamicloader+set}" = set; then
4570 enableval="$enable_dynamicloader"
4571
4572 if test "$enableval" = yes; then
4573 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4574 else
4575 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4576 fi
4577
4578else
4579
4580 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4581 if test "x$LINE" != x ; then
4582 eval "DEFAULT_$LINE"
4583 else
4584 no_cache=1
4585 fi
4586
4587 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4588
4589fi;
4590
4591 eval "$ac_cv_use_dynamicloader"
4592 if test "$no_cache" != 1; then
4593 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4594 fi
4595
4596 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4597 echo "$as_me:$LINENO: result: yes" >&5
4598echo "${ECHO_T}yes" >&6
4599 else
4600 echo "$as_me:$LINENO: result: no" >&5
4601echo "${ECHO_T}no" >&6
4602 fi
4603
4604
4605 enablestring=
4606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4607echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4608 no_cache=0
4609 # Check whether --enable-longlong or --disable-longlong was given.
4610if test "${enable_longlong+set}" = set; then
4611 enableval="$enable_longlong"
4612
4613 if test "$enableval" = yes; then
4614 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4615 else
4616 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4617 fi
4618
4619else
4620
4621 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4622 if test "x$LINE" != x ; then
4623 eval "DEFAULT_$LINE"
4624 else
4625 no_cache=1
4626 fi
4627
4628 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4629
4630fi;
4631
4632 eval "$ac_cv_use_longlong"
4633 if test "$no_cache" != 1; then
4634 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4635 fi
4636
4637 if test "$wxUSE_LONGLONG" = yes; then
4638 echo "$as_me:$LINENO: result: yes" >&5
4639echo "${ECHO_T}yes" >&6
4640 else
4641 echo "$as_me:$LINENO: result: no" >&5
4642echo "${ECHO_T}no" >&6
4643 fi
4644
4645
4646 enablestring=
4647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4648echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4649 no_cache=0
4650 # Check whether --enable-geometry or --disable-geometry was given.
4651if test "${enable_geometry+set}" = set; then
4652 enableval="$enable_geometry"
4653
4654 if test "$enableval" = yes; then
4655 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4656 else
4657 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4658 fi
4659
4660else
4661
4662 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4663 if test "x$LINE" != x ; then
4664 eval "DEFAULT_$LINE"
4665 else
4666 no_cache=1
4667 fi
4668
4669 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4670
4671fi;
4672
4673 eval "$ac_cv_use_geometry"
4674 if test "$no_cache" != 1; then
4675 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4676 fi
4677
4678 if test "$wxUSE_GEOMETRY" = yes; then
4679 echo "$as_me:$LINENO: result: yes" >&5
4680echo "${ECHO_T}yes" >&6
4681 else
4682 echo "$as_me:$LINENO: result: no" >&5
4683echo "${ECHO_T}no" >&6
4684 fi
4685
4686
4687 enablestring=
4688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4689echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4690 no_cache=0
4691 # Check whether --enable-log or --disable-log was given.
4692if test "${enable_log+set}" = set; then
4693 enableval="$enable_log"
4694
4695 if test "$enableval" = yes; then
4696 ac_cv_use_log='wxUSE_LOG=yes'
4697 else
4698 ac_cv_use_log='wxUSE_LOG=no'
4699 fi
4700
4701else
4702
4703 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4704 if test "x$LINE" != x ; then
4705 eval "DEFAULT_$LINE"
4706 else
4707 no_cache=1
4708 fi
4709
4710 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4711
4712fi;
4713
4714 eval "$ac_cv_use_log"
4715 if test "$no_cache" != 1; then
4716 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4717 fi
4718
4719 if test "$wxUSE_LOG" = yes; then
4720 echo "$as_me:$LINENO: result: yes" >&5
4721echo "${ECHO_T}yes" >&6
4722 else
4723 echo "$as_me:$LINENO: result: no" >&5
4724echo "${ECHO_T}no" >&6
4725 fi
4726
4727
4728 enablestring=
4729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4730echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4731 no_cache=0
4732 # Check whether --enable-streams or --disable-streams was given.
4733if test "${enable_streams+set}" = set; then
4734 enableval="$enable_streams"
4735
4736 if test "$enableval" = yes; then
4737 ac_cv_use_streams='wxUSE_STREAMS=yes'
4738 else
4739 ac_cv_use_streams='wxUSE_STREAMS=no'
4740 fi
4741
4742else
4743
4744 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4745 if test "x$LINE" != x ; then
4746 eval "DEFAULT_$LINE"
4747 else
4748 no_cache=1
4749 fi
4750
4751 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4752
4753fi;
4754
4755 eval "$ac_cv_use_streams"
4756 if test "$no_cache" != 1; then
4757 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4758 fi
4759
4760 if test "$wxUSE_STREAMS" = yes; then
4761 echo "$as_me:$LINENO: result: yes" >&5
4762echo "${ECHO_T}yes" >&6
4763 else
4764 echo "$as_me:$LINENO: result: no" >&5
4765echo "${ECHO_T}no" >&6
4766 fi
4767
4768
4769 enablestring=
4770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4771echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4772 no_cache=0
4773 # Check whether --enable-file or --disable-file was given.
4774if test "${enable_file+set}" = set; then
4775 enableval="$enable_file"
4776
4777 if test "$enableval" = yes; then
4778 ac_cv_use_file='wxUSE_FILE=yes'
4779 else
4780 ac_cv_use_file='wxUSE_FILE=no'
4781 fi
4782
4783else
4784
4785 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4786 if test "x$LINE" != x ; then
4787 eval "DEFAULT_$LINE"
4788 else
4789 no_cache=1
4790 fi
4791
4792 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4793
4794fi;
4795
4796 eval "$ac_cv_use_file"
4797 if test "$no_cache" != 1; then
4798 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4799 fi
4800
4801 if test "$wxUSE_FILE" = yes; then
4802 echo "$as_me:$LINENO: result: yes" >&5
4803echo "${ECHO_T}yes" >&6
4804 else
4805 echo "$as_me:$LINENO: result: no" >&5
4806echo "${ECHO_T}no" >&6
4807 fi
4808
4809
4810 enablestring=
4811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4812echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4813 no_cache=0
4814 # Check whether --enable-ffile or --disable-ffile was given.
4815if test "${enable_ffile+set}" = set; then
4816 enableval="$enable_ffile"
4817
4818 if test "$enableval" = yes; then
4819 ac_cv_use_ffile='wxUSE_FFILE=yes'
4820 else
4821 ac_cv_use_ffile='wxUSE_FFILE=no'
4822 fi
4823
4824else
4825
4826 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4827 if test "x$LINE" != x ; then
4828 eval "DEFAULT_$LINE"
4829 else
4830 no_cache=1
4831 fi
4832
4833 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4834
4835fi;
4836
4837 eval "$ac_cv_use_ffile"
4838 if test "$no_cache" != 1; then
4839 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4840 fi
4841
4842 if test "$wxUSE_FFILE" = yes; then
4843 echo "$as_me:$LINENO: result: yes" >&5
4844echo "${ECHO_T}yes" >&6
4845 else
4846 echo "$as_me:$LINENO: result: no" >&5
4847echo "${ECHO_T}no" >&6
4848 fi
4849
4850
4851 enablestring=
4852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4853echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4854 no_cache=0
4855 # Check whether --enable-textbuf or --disable-textbuf was given.
4856if test "${enable_textbuf+set}" = set; then
4857 enableval="$enable_textbuf"
4858
4859 if test "$enableval" = yes; then
4860 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4861 else
4862 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4863 fi
4864
4865else
4866
4867 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4868 if test "x$LINE" != x ; then
4869 eval "DEFAULT_$LINE"
4870 else
4871 no_cache=1
4872 fi
4873
4874 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4875
4876fi;
4877
4878 eval "$ac_cv_use_textbuf"
4879 if test "$no_cache" != 1; then
4880 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4881 fi
4882
4883 if test "$wxUSE_TEXTBUFFER" = yes; then
4884 echo "$as_me:$LINENO: result: yes" >&5
4885echo "${ECHO_T}yes" >&6
4886 else
4887 echo "$as_me:$LINENO: result: no" >&5
4888echo "${ECHO_T}no" >&6
4889 fi
4890
4891
4892 enablestring=
4893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4894echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4895 no_cache=0
4896 # Check whether --enable-textfile or --disable-textfile was given.
4897if test "${enable_textfile+set}" = set; then
4898 enableval="$enable_textfile"
4899
4900 if test "$enableval" = yes; then
4901 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4902 else
4903 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4904 fi
4905
4906else
4907
4908 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4909 if test "x$LINE" != x ; then
4910 eval "DEFAULT_$LINE"
4911 else
4912 no_cache=1
4913 fi
4914
4915 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4916
4917fi;
4918
4919 eval "$ac_cv_use_textfile"
4920 if test "$no_cache" != 1; then
4921 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4922 fi
4923
4924 if test "$wxUSE_TEXTFILE" = yes; then
4925 echo "$as_me:$LINENO: result: yes" >&5
4926echo "${ECHO_T}yes" >&6
4927 else
4928 echo "$as_me:$LINENO: result: no" >&5
4929echo "${ECHO_T}no" >&6
4930 fi
4931
4932
4933 enablestring=
4934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4935echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4936 no_cache=0
4937 # Check whether --enable-fontmap or --disable-fontmap was given.
4938if test "${enable_fontmap+set}" = set; then
4939 enableval="$enable_fontmap"
4940
4941 if test "$enableval" = yes; then
4942 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4943 else
4944 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4945 fi
4946
4947else
4948
4949 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4950 if test "x$LINE" != x ; then
4951 eval "DEFAULT_$LINE"
4952 else
4953 no_cache=1
4954 fi
4955
4956 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4957
4958fi;
4959
4960 eval "$ac_cv_use_fontmap"
4961 if test "$no_cache" != 1; then
4962 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4963 fi
4964
4965 if test "$wxUSE_FONTMAP" = yes; then
4966 echo "$as_me:$LINENO: result: yes" >&5
4967echo "${ECHO_T}yes" >&6
4968 else
4969 echo "$as_me:$LINENO: result: no" >&5
4970echo "${ECHO_T}no" >&6
4971 fi
4972
4973
4974 enablestring=
4975 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4976echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4977 no_cache=0
4978 # Check whether --enable-unicode or --disable-unicode was given.
4979if test "${enable_unicode+set}" = set; then
4980 enableval="$enable_unicode"
4981
4982 if test "$enableval" = yes; then
4983 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4984 else
4985 ac_cv_use_unicode='wxUSE_UNICODE=no'
4986 fi
4987
4988else
4989
4990 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4991 if test "x$LINE" != x ; then
4992 eval "DEFAULT_$LINE"
4993 else
4994 no_cache=1
4995 fi
4996
4997 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4998
4999fi;
5000
5001 eval "$ac_cv_use_unicode"
5002 if test "$no_cache" != 1; then
5003 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5004 fi
5005
5006 if test "$wxUSE_UNICODE" = yes; then
5007 echo "$as_me:$LINENO: result: yes" >&5
5008echo "${ECHO_T}yes" >&6
5009 else
5010 echo "$as_me:$LINENO: result: no" >&5
5011echo "${ECHO_T}no" >&6
5012 fi
5013
5014
5015 enablestring=
5016 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5017echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5018 no_cache=0
5019 # Check whether --enable-mslu or --disable-mslu was given.
5020if test "${enable_mslu+set}" = set; then
5021 enableval="$enable_mslu"
5022
5023 if test "$enableval" = yes; then
5024 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5025 else
5026 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5027 fi
5028
5029else
5030
5031 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5032 if test "x$LINE" != x ; then
5033 eval "DEFAULT_$LINE"
5034 else
5035 no_cache=1
5036 fi
5037
5038 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5039
5040fi;
5041
5042 eval "$ac_cv_use_mslu"
5043 if test "$no_cache" != 1; then
5044 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5045 fi
5046
5047 if test "$wxUSE_UNICODE_MSLU" = yes; then
5048 echo "$as_me:$LINENO: result: yes" >&5
5049echo "${ECHO_T}yes" >&6
5050 else
5051 echo "$as_me:$LINENO: result: no" >&5
5052echo "${ECHO_T}no" >&6
5053 fi
5054
5055
5056 enablestring=
5057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5058echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5059 no_cache=0
5060 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5061if test "${enable_wxprintfv+set}" = set; then
5062 enableval="$enable_wxprintfv"
5063
5064 if test "$enableval" = yes; then
5065 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5066 else
5067 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5068 fi
5069
5070else
5071
5072 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5073 if test "x$LINE" != x ; then
5074 eval "DEFAULT_$LINE"
5075 else
5076 no_cache=1
5077 fi
5078
5079 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5080
5081fi;
5082
5083 eval "$ac_cv_use_wxprintfv"
5084 if test "$no_cache" != 1; then
5085 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5086 fi
5087
5088 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5089 echo "$as_me:$LINENO: result: yes" >&5
5090echo "${ECHO_T}yes" >&6
5091 else
5092 echo "$as_me:$LINENO: result: no" >&5
5093echo "${ECHO_T}no" >&6
5094 fi
5095
5096
5097 enablestring=
5098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5099echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5100 no_cache=0
5101 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5102if test "${enable_std_iostreams+set}" = set; then
5103 enableval="$enable_std_iostreams"
5104
5105 if test "$enableval" = yes; then
5106 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5107 else
5108 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5109 fi
5110
5111else
5112
5113 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5114 if test "x$LINE" != x ; then
5115 eval "DEFAULT_$LINE"
5116 else
5117 no_cache=1
5118 fi
5119
5120 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5121
5122fi;
5123
5124 eval "$ac_cv_use_std_iostreams"
5125 if test "$no_cache" != 1; then
5126 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5127 fi
5128
5129 if test "$wxUSE_STD_IOSTREAM" = yes; then
5130 echo "$as_me:$LINENO: result: yes" >&5
5131echo "${ECHO_T}yes" >&6
5132 else
5133 echo "$as_me:$LINENO: result: no" >&5
5134echo "${ECHO_T}no" >&6
5135 fi
5136
5137
5138 enablestring=
5139 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5140echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5141 no_cache=0
5142 # Check whether --enable-filesystem or --disable-filesystem was given.
5143if test "${enable_filesystem+set}" = set; then
5144 enableval="$enable_filesystem"
5145
5146 if test "$enableval" = yes; then
5147 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5148 else
5149 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5150 fi
5151
5152else
5153
5154 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5155 if test "x$LINE" != x ; then
5156 eval "DEFAULT_$LINE"
5157 else
5158 no_cache=1
5159 fi
5160
5161 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5162
5163fi;
5164
5165 eval "$ac_cv_use_filesystem"
5166 if test "$no_cache" != 1; then
5167 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5168 fi
5169
5170 if test "$wxUSE_FILESYSTEM" = yes; then
5171 echo "$as_me:$LINENO: result: yes" >&5
5172echo "${ECHO_T}yes" >&6
5173 else
5174 echo "$as_me:$LINENO: result: no" >&5
5175echo "${ECHO_T}no" >&6
5176 fi
5177
5178
5179 enablestring=
5180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5181echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5182 no_cache=0
5183 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5184if test "${enable_fs_inet+set}" = set; then
5185 enableval="$enable_fs_inet"
5186
5187 if test "$enableval" = yes; then
5188 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5189 else
5190 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5191 fi
5192
5193else
5194
5195 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5196 if test "x$LINE" != x ; then
5197 eval "DEFAULT_$LINE"
5198 else
5199 no_cache=1
5200 fi
5201
5202 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5203
5204fi;
5205
5206 eval "$ac_cv_use_fs_inet"
5207 if test "$no_cache" != 1; then
5208 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5209 fi
5210
5211 if test "$wxUSE_FS_INET" = yes; then
5212 echo "$as_me:$LINENO: result: yes" >&5
5213echo "${ECHO_T}yes" >&6
5214 else
5215 echo "$as_me:$LINENO: result: no" >&5
5216echo "${ECHO_T}no" >&6
5217 fi
5218
5219
5220 enablestring=
5221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5222echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5223 no_cache=0
5224 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5225if test "${enable_fs_zip+set}" = set; then
5226 enableval="$enable_fs_zip"
5227
5228 if test "$enableval" = yes; then
5229 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5230 else
5231 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5232 fi
5233
5234else
5235
5236 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5237 if test "x$LINE" != x ; then
5238 eval "DEFAULT_$LINE"
5239 else
5240 no_cache=1
5241 fi
5242
5243 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5244
5245fi;
5246
5247 eval "$ac_cv_use_fs_zip"
5248 if test "$no_cache" != 1; then
5249 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5250 fi
5251
5252 if test "$wxUSE_FS_ZIP" = yes; then
5253 echo "$as_me:$LINENO: result: yes" >&5
5254echo "${ECHO_T}yes" >&6
5255 else
5256 echo "$as_me:$LINENO: result: no" >&5
5257echo "${ECHO_T}no" >&6
5258 fi
5259
5260
5261 enablestring=
5262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5263echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5264 no_cache=0
5265 # Check whether --enable-zipstream or --disable-zipstream was given.
5266if test "${enable_zipstream+set}" = set; then
5267 enableval="$enable_zipstream"
5268
5269 if test "$enableval" = yes; then
5270 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5271 else
5272 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5273 fi
5274
5275else
5276
5277 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5278 if test "x$LINE" != x ; then
5279 eval "DEFAULT_$LINE"
5280 else
5281 no_cache=1
5282 fi
5283
5284 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5285
5286fi;
5287
5288 eval "$ac_cv_use_zipstream"
5289 if test "$no_cache" != 1; then
5290 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5291 fi
5292
5293 if test "$wxUSE_ZIPSTREAM" = yes; then
5294 echo "$as_me:$LINENO: result: yes" >&5
5295echo "${ECHO_T}yes" >&6
5296 else
5297 echo "$as_me:$LINENO: result: no" >&5
5298echo "${ECHO_T}no" >&6
5299 fi
5300
5301
5302
5303 enablestring=
5304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5305echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5306 no_cache=0
5307 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5308if test "${enable_catch_segvs+set}" = set; then
5309 enableval="$enable_catch_segvs"
5310
5311 if test "$enableval" = yes; then
5312 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5313 else
5314 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5315 fi
5316
5317else
5318
5319 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5320 if test "x$LINE" != x ; then
5321 eval "DEFAULT_$LINE"
5322 else
5323 no_cache=1
5324 fi
5325
5326 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5327
5328fi;
5329
5330 eval "$ac_cv_use_catch_segvs"
5331 if test "$no_cache" != 1; then
5332 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5333 fi
5334
5335 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5336 echo "$as_me:$LINENO: result: yes" >&5
5337echo "${ECHO_T}yes" >&6
5338 else
5339 echo "$as_me:$LINENO: result: no" >&5
5340echo "${ECHO_T}no" >&6
5341 fi
5342
5343
5344 enablestring=
5345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5346echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5347 no_cache=0
5348 # Check whether --enable-snglinst or --disable-snglinst was given.
5349if test "${enable_snglinst+set}" = set; then
5350 enableval="$enable_snglinst"
5351
5352 if test "$enableval" = yes; then
5353 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5354 else
5355 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5356 fi
5357
5358else
5359
5360 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5361 if test "x$LINE" != x ; then
5362 eval "DEFAULT_$LINE"
5363 else
5364 no_cache=1
5365 fi
5366
5367 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5368
5369fi;
5370
5371 eval "$ac_cv_use_snglinst"
5372 if test "$no_cache" != 1; then
5373 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5374 fi
5375
5376 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5377 echo "$as_me:$LINENO: result: yes" >&5
5378echo "${ECHO_T}yes" >&6
5379 else
5380 echo "$as_me:$LINENO: result: no" >&5
5381echo "${ECHO_T}no" >&6
5382 fi
5383
5384
5385
5386 enablestring=
5387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5388echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5389 no_cache=0
5390 # Check whether --enable-mimetype or --disable-mimetype was given.
5391if test "${enable_mimetype+set}" = set; then
5392 enableval="$enable_mimetype"
5393
5394 if test "$enableval" = yes; then
5395 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5396 else
5397 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5398 fi
5399
5400else
5401
5402 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5403 if test "x$LINE" != x ; then
5404 eval "DEFAULT_$LINE"
5405 else
5406 no_cache=1
5407 fi
5408
5409 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5410
5411fi;
5412
5413 eval "$ac_cv_use_mimetype"
5414 if test "$no_cache" != 1; then
5415 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5416 fi
5417
5418 if test "$wxUSE_MIMETYPE" = yes; then
5419 echo "$as_me:$LINENO: result: yes" >&5
5420echo "${ECHO_T}yes" >&6
5421 else
5422 echo "$as_me:$LINENO: result: no" >&5
5423echo "${ECHO_T}no" >&6
5424 fi
5425
5426
5427 enablestring=
5428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5429echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5430 no_cache=0
5431 # Check whether --enable-system_options or --disable-system_options was given.
5432if test "${enable_system_options+set}" = set; then
5433 enableval="$enable_system_options"
5434
5435 if test "$enableval" = yes; then
5436 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5437 else
5438 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5439 fi
5440
5441else
5442
5443 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5444 if test "x$LINE" != x ; then
5445 eval "DEFAULT_$LINE"
5446 else
5447 no_cache=1
5448 fi
5449
5450 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5451
5452fi;
5453
5454 eval "$ac_cv_use_system_options"
5455 if test "$no_cache" != 1; then
5456 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5457 fi
5458
5459 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5460 echo "$as_me:$LINENO: result: yes" >&5
5461echo "${ECHO_T}yes" >&6
5462 else
5463 echo "$as_me:$LINENO: result: no" >&5
5464echo "${ECHO_T}no" >&6
5465 fi
5466
5467
5468
5469 enablestring=
5470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5471echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5472 no_cache=0
5473 # Check whether --enable-url or --disable-url was given.
5474if test "${enable_url+set}" = set; then
5475 enableval="$enable_url"
5476
5477 if test "$enableval" = yes; then
5478 ac_cv_use_url='wxUSE_URL=yes'
5479 else
5480 ac_cv_use_url='wxUSE_URL=no'
5481 fi
5482
5483else
5484
5485 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5486 if test "x$LINE" != x ; then
5487 eval "DEFAULT_$LINE"
5488 else
5489 no_cache=1
5490 fi
5491
5492 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5493
5494fi;
5495
5496 eval "$ac_cv_use_url"
5497 if test "$no_cache" != 1; then
5498 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5499 fi
5500
5501 if test "$wxUSE_URL" = yes; then
5502 echo "$as_me:$LINENO: result: yes" >&5
5503echo "${ECHO_T}yes" >&6
5504 else
5505 echo "$as_me:$LINENO: result: no" >&5
5506echo "${ECHO_T}no" >&6
5507 fi
5508
5509
5510 enablestring=
5511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5512echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5513 no_cache=0
5514 # Check whether --enable-protocol or --disable-protocol was given.
5515if test "${enable_protocol+set}" = set; then
5516 enableval="$enable_protocol"
5517
5518 if test "$enableval" = yes; then
5519 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5520 else
5521 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5522 fi
5523
5524else
5525
5526 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5527 if test "x$LINE" != x ; then
5528 eval "DEFAULT_$LINE"
5529 else
5530 no_cache=1
5531 fi
5532
5533 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5534
5535fi;
5536
5537 eval "$ac_cv_use_protocol"
5538 if test "$no_cache" != 1; then
5539 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5540 fi
5541
5542 if test "$wxUSE_PROTOCOL" = yes; then
5543 echo "$as_me:$LINENO: result: yes" >&5
5544echo "${ECHO_T}yes" >&6
5545 else
5546 echo "$as_me:$LINENO: result: no" >&5
5547echo "${ECHO_T}no" >&6
5548 fi
5549
5550
5551 enablestring=
5552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5553echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5554 no_cache=0
5555 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5556if test "${enable_protocol_http+set}" = set; then
5557 enableval="$enable_protocol_http"
5558
5559 if test "$enableval" = yes; then
5560 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5561 else
5562 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5563 fi
5564
5565else
5566
5567 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5568 if test "x$LINE" != x ; then
5569 eval "DEFAULT_$LINE"
5570 else
5571 no_cache=1
5572 fi
5573
5574 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5575
5576fi;
5577
5578 eval "$ac_cv_use_protocol_http"
5579 if test "$no_cache" != 1; then
5580 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5581 fi
5582
5583 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5584 echo "$as_me:$LINENO: result: yes" >&5
5585echo "${ECHO_T}yes" >&6
5586 else
5587 echo "$as_me:$LINENO: result: no" >&5
5588echo "${ECHO_T}no" >&6
5589 fi
5590
5591
5592 enablestring=
5593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5594echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5595 no_cache=0
5596 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5597if test "${enable_protocol_ftp+set}" = set; then
5598 enableval="$enable_protocol_ftp"
5599
5600 if test "$enableval" = yes; then
5601 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5602 else
5603 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5604 fi
5605
5606else
5607
5608 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5609 if test "x$LINE" != x ; then
5610 eval "DEFAULT_$LINE"
5611 else
5612 no_cache=1
5613 fi
5614
5615 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5616
5617fi;
5618
5619 eval "$ac_cv_use_protocol_ftp"
5620 if test "$no_cache" != 1; then
5621 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5622 fi
5623
5624 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5625 echo "$as_me:$LINENO: result: yes" >&5
5626echo "${ECHO_T}yes" >&6
5627 else
5628 echo "$as_me:$LINENO: result: no" >&5
5629echo "${ECHO_T}no" >&6
5630 fi
5631
5632
5633 enablestring=
5634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5635echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5636 no_cache=0
5637 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5638if test "${enable_protocol_file+set}" = set; then
5639 enableval="$enable_protocol_file"
5640
5641 if test "$enableval" = yes; then
5642 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5643 else
5644 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5645 fi
5646
5647else
5648
5649 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5650 if test "x$LINE" != x ; then
5651 eval "DEFAULT_$LINE"
5652 else
5653 no_cache=1
5654 fi
5655
5656 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5657
5658fi;
5659
5660 eval "$ac_cv_use_protocol_file"
5661 if test "$no_cache" != 1; then
5662 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5663 fi
5664
5665 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5666 echo "$as_me:$LINENO: result: yes" >&5
5667echo "${ECHO_T}yes" >&6
5668 else
5669 echo "$as_me:$LINENO: result: no" >&5
5670echo "${ECHO_T}no" >&6
5671 fi
5672
5673
5674
5675
5676
5677 enablestring=
5678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5679echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5680 no_cache=0
5681 # Check whether --enable-threads or --disable-threads was given.
5682if test "${enable_threads+set}" = set; then
5683 enableval="$enable_threads"
5684
5685 if test "$enableval" = yes; then
5686 ac_cv_use_threads='wxUSE_THREADS=yes'
5687 else
5688 ac_cv_use_threads='wxUSE_THREADS=no'
5689 fi
5690
5691else
5692
5693 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5694 if test "x$LINE" != x ; then
5695 eval "DEFAULT_$LINE"
5696 else
5697 no_cache=1
5698 fi
5699
5700 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5701
5702fi;
5703
5704 eval "$ac_cv_use_threads"
5705 if test "$no_cache" != 1; then
5706 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5707 fi
5708
5709 if test "$wxUSE_THREADS" = yes; then
5710 echo "$as_me:$LINENO: result: yes" >&5
5711echo "${ECHO_T}yes" >&6
5712 else
5713 echo "$as_me:$LINENO: result: no" >&5
5714echo "${ECHO_T}no" >&6
5715 fi
5716
5717
5718if test "$wxUSE_GUI" = "yes"; then
5719
5720
5721
5722 enablestring=
5723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5724echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5725 no_cache=0
5726 # Check whether --enable-docview or --disable-docview was given.
5727if test "${enable_docview+set}" = set; then
5728 enableval="$enable_docview"
5729
5730 if test "$enableval" = yes; then
5731 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5732 else
5733 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5734 fi
5735
5736else
5737
5738 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5739 if test "x$LINE" != x ; then
5740 eval "DEFAULT_$LINE"
5741 else
5742 no_cache=1
5743 fi
5744
5745 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5746
5747fi;
5748
5749 eval "$ac_cv_use_docview"
5750 if test "$no_cache" != 1; then
5751 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5752 fi
5753
5754 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5755 echo "$as_me:$LINENO: result: yes" >&5
5756echo "${ECHO_T}yes" >&6
5757 else
5758 echo "$as_me:$LINENO: result: no" >&5
5759echo "${ECHO_T}no" >&6
5760 fi
5761
5762
5763 enablestring=
5764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5765echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5766 no_cache=0
5767 # Check whether --enable-help or --disable-help was given.
5768if test "${enable_help+set}" = set; then
5769 enableval="$enable_help"
5770
5771 if test "$enableval" = yes; then
5772 ac_cv_use_help='wxUSE_HELP=yes'
5773 else
5774 ac_cv_use_help='wxUSE_HELP=no'
5775 fi
5776
5777else
5778
5779 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5780 if test "x$LINE" != x ; then
5781 eval "DEFAULT_$LINE"
5782 else
5783 no_cache=1
5784 fi
5785
5786 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5787
5788fi;
5789
5790 eval "$ac_cv_use_help"
5791 if test "$no_cache" != 1; then
5792 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5793 fi
5794
5795 if test "$wxUSE_HELP" = yes; then
5796 echo "$as_me:$LINENO: result: yes" >&5
5797echo "${ECHO_T}yes" >&6
5798 else
5799 echo "$as_me:$LINENO: result: no" >&5
5800echo "${ECHO_T}no" >&6
5801 fi
5802
5803
5804 enablestring=
5805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5806echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5807 no_cache=0
5808 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5809if test "${enable_mshtmlhelp+set}" = set; then
5810 enableval="$enable_mshtmlhelp"
5811
5812 if test "$enableval" = yes; then
5813 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5814 else
5815 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5816 fi
5817
5818else
5819
5820 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5821 if test "x$LINE" != x ; then
5822 eval "DEFAULT_$LINE"
5823 else
5824 no_cache=1
5825 fi
5826
5827 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5828
5829fi;
5830
5831 eval "$ac_cv_use_mshtmlhelp"
5832 if test "$no_cache" != 1; then
5833 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5834 fi
5835
5836 if test "$wxUSE_MS_HTML_HELP" = yes; then
5837 echo "$as_me:$LINENO: result: yes" >&5
5838echo "${ECHO_T}yes" >&6
5839 else
5840 echo "$as_me:$LINENO: result: no" >&5
5841echo "${ECHO_T}no" >&6
5842 fi
5843
5844
5845 enablestring=
5846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5847echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5848 no_cache=0
5849 # Check whether --enable-html or --disable-html was given.
5850if test "${enable_html+set}" = set; then
5851 enableval="$enable_html"
5852
5853 if test "$enableval" = yes; then
5854 ac_cv_use_html='wxUSE_HTML=yes'
5855 else
5856 ac_cv_use_html='wxUSE_HTML=no'
5857 fi
5858
5859else
5860
5861 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5862 if test "x$LINE" != x ; then
5863 eval "DEFAULT_$LINE"
5864 else
5865 no_cache=1
5866 fi
5867
5868 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5869
5870fi;
5871
5872 eval "$ac_cv_use_html"
5873 if test "$no_cache" != 1; then
5874 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5875 fi
5876
5877 if test "$wxUSE_HTML" = yes; then
5878 echo "$as_me:$LINENO: result: yes" >&5
5879echo "${ECHO_T}yes" >&6
5880 else
5881 echo "$as_me:$LINENO: result: no" >&5
5882echo "${ECHO_T}no" >&6
5883 fi
5884
5885
5886 enablestring=
5887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5888echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5889 no_cache=0
5890 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5891if test "${enable_htmlhelp+set}" = set; then
5892 enableval="$enable_htmlhelp"
5893
5894 if test "$enableval" = yes; then
5895 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5896 else
5897 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5898 fi
5899
5900else
5901
5902 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5903 if test "x$LINE" != x ; then
5904 eval "DEFAULT_$LINE"
5905 else
5906 no_cache=1
5907 fi
5908
5909 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5910
5911fi;
5912
5913 eval "$ac_cv_use_htmlhelp"
5914 if test "$no_cache" != 1; then
5915 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5916 fi
5917
5918 if test "$wxUSE_WXHTML_HELP" = yes; then
5919 echo "$as_me:$LINENO: result: yes" >&5
5920echo "${ECHO_T}yes" >&6
5921 else
5922 echo "$as_me:$LINENO: result: no" >&5
5923echo "${ECHO_T}no" >&6
5924 fi
5925
5926
5927 enablestring=
5928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5929echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5930 no_cache=0
5931 # Check whether --enable-constraints or --disable-constraints was given.
5932if test "${enable_constraints+set}" = set; then
5933 enableval="$enable_constraints"
5934
5935 if test "$enableval" = yes; then
5936 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5937 else
5938 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5939 fi
5940
5941else
5942
5943 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5944 if test "x$LINE" != x ; then
5945 eval "DEFAULT_$LINE"
5946 else
5947 no_cache=1
5948 fi
5949
5950 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5951
5952fi;
5953
5954 eval "$ac_cv_use_constraints"
5955 if test "$no_cache" != 1; then
5956 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5957 fi
5958
5959 if test "$wxUSE_CONSTRAINTS" = yes; then
5960 echo "$as_me:$LINENO: result: yes" >&5
5961echo "${ECHO_T}yes" >&6
5962 else
5963 echo "$as_me:$LINENO: result: no" >&5
5964echo "${ECHO_T}no" >&6
5965 fi
5966
5967
5968 enablestring=
5969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5970echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5971 no_cache=0
5972 # Check whether --enable-printarch or --disable-printarch was given.
5973if test "${enable_printarch+set}" = set; then
5974 enableval="$enable_printarch"
5975
5976 if test "$enableval" = yes; then
5977 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5978 else
5979 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5980 fi
5981
5982else
5983
5984 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5985 if test "x$LINE" != x ; then
5986 eval "DEFAULT_$LINE"
5987 else
5988 no_cache=1
5989 fi
5990
5991 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5992
5993fi;
5994
5995 eval "$ac_cv_use_printarch"
5996 if test "$no_cache" != 1; then
5997 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5998 fi
5999
6000 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6001 echo "$as_me:$LINENO: result: yes" >&5
6002echo "${ECHO_T}yes" >&6
6003 else
6004 echo "$as_me:$LINENO: result: no" >&5
6005echo "${ECHO_T}no" >&6
6006 fi
6007
6008
6009 enablestring=
6010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6011echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6012 no_cache=0
6013 # Check whether --enable-mdi or --disable-mdi was given.
6014if test "${enable_mdi+set}" = set; then
6015 enableval="$enable_mdi"
6016
6017 if test "$enableval" = yes; then
6018 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6019 else
6020 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6021 fi
6022
6023else
6024
6025 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6026 if test "x$LINE" != x ; then
6027 eval "DEFAULT_$LINE"
6028 else
6029 no_cache=1
6030 fi
6031
6032 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6033
6034fi;
6035
6036 eval "$ac_cv_use_mdi"
6037 if test "$no_cache" != 1; then
6038 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6039 fi
6040
6041 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6042 echo "$as_me:$LINENO: result: yes" >&5
6043echo "${ECHO_T}yes" >&6
6044 else
6045 echo "$as_me:$LINENO: result: no" >&5
6046echo "${ECHO_T}no" >&6
6047 fi
6048
6049
6050 enablestring=
6051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6052echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6053 no_cache=0
6054 # Check whether --enable-loggui or --disable-loggui was given.
6055if test "${enable_loggui+set}" = set; then
6056 enableval="$enable_loggui"
6057
6058 if test "$enableval" = yes; then
6059 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6060 else
6061 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6062 fi
6063
6064else
6065
6066 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6067 if test "x$LINE" != x ; then
6068 eval "DEFAULT_$LINE"
6069 else
6070 no_cache=1
6071 fi
6072
6073 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6074
6075fi;
6076
6077 eval "$ac_cv_use_loggui"
6078 if test "$no_cache" != 1; then
6079 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6080 fi
6081
6082 if test "$wxUSE_LOGGUI" = yes; then
6083 echo "$as_me:$LINENO: result: yes" >&5
6084echo "${ECHO_T}yes" >&6
6085 else
6086 echo "$as_me:$LINENO: result: no" >&5
6087echo "${ECHO_T}no" >&6
6088 fi
6089
6090
6091 enablestring=
6092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6093echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6094 no_cache=0
6095 # Check whether --enable-logwin or --disable-logwin was given.
6096if test "${enable_logwin+set}" = set; then
6097 enableval="$enable_logwin"
6098
6099 if test "$enableval" = yes; then
6100 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6101 else
6102 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6103 fi
6104
6105else
6106
6107 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6108 if test "x$LINE" != x ; then
6109 eval "DEFAULT_$LINE"
6110 else
6111 no_cache=1
6112 fi
6113
6114 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6115
6116fi;
6117
6118 eval "$ac_cv_use_logwin"
6119 if test "$no_cache" != 1; then
6120 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6121 fi
6122
6123 if test "$wxUSE_LOGWINDOW" = yes; then
6124 echo "$as_me:$LINENO: result: yes" >&5
6125echo "${ECHO_T}yes" >&6
6126 else
6127 echo "$as_me:$LINENO: result: no" >&5
6128echo "${ECHO_T}no" >&6
6129 fi
6130
6131
6132 enablestring=
6133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6134echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6135 no_cache=0
6136 # Check whether --enable-logdialog or --disable-logdialog was given.
6137if test "${enable_logdialog+set}" = set; then
6138 enableval="$enable_logdialog"
6139
6140 if test "$enableval" = yes; then
6141 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6142 else
6143 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6144 fi
6145
6146else
6147
6148 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6149 if test "x$LINE" != x ; then
6150 eval "DEFAULT_$LINE"
6151 else
6152 no_cache=1
6153 fi
6154
6155 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6156
6157fi;
6158
6159 eval "$ac_cv_use_logdialog"
6160 if test "$no_cache" != 1; then
6161 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6162 fi
6163
6164 if test "$wxUSE_LOGDIALOG" = yes; then
6165 echo "$as_me:$LINENO: result: yes" >&5
6166echo "${ECHO_T}yes" >&6
6167 else
6168 echo "$as_me:$LINENO: result: no" >&5
6169echo "${ECHO_T}no" >&6
6170 fi
6171
6172
6173
6174 enablestring=
6175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6176echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6177 no_cache=0
6178 # Check whether --enable-postscript or --disable-postscript was given.
6179if test "${enable_postscript+set}" = set; then
6180 enableval="$enable_postscript"
6181
6182 if test "$enableval" = yes; then
6183 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6184 else
6185 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6186 fi
6187
6188else
6189
6190 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6191 if test "x$LINE" != x ; then
6192 eval "DEFAULT_$LINE"
6193 else
6194 no_cache=1
6195 fi
6196
6197 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6198
6199fi;
6200
6201 eval "$ac_cv_use_postscript"
6202 if test "$no_cache" != 1; then
6203 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6204 fi
6205
6206 if test "$wxUSE_POSTSCRIPT" = yes; then
6207 echo "$as_me:$LINENO: result: yes" >&5
6208echo "${ECHO_T}yes" >&6
6209 else
6210 echo "$as_me:$LINENO: result: no" >&5
6211echo "${ECHO_T}no" >&6
6212 fi
6213
6214
6215
6216
6217
6218 enablestring=
6219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6220echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6221 no_cache=0
6222 # Check whether --enable-prologio or --disable-prologio was given.
6223if test "${enable_prologio+set}" = set; then
6224 enableval="$enable_prologio"
6225
6226 if test "$enableval" = yes; then
6227 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6228 else
6229 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6230 fi
6231
6232else
6233
6234 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6235 if test "x$LINE" != x ; then
6236 eval "DEFAULT_$LINE"
6237 else
6238 no_cache=1
6239 fi
6240
6241 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6242
6243fi;
6244
6245 eval "$ac_cv_use_prologio"
6246 if test "$no_cache" != 1; then
6247 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6248 fi
6249
6250 if test "$wxUSE_PROLOGIO" = yes; then
6251 echo "$as_me:$LINENO: result: yes" >&5
6252echo "${ECHO_T}yes" >&6
6253 else
6254 echo "$as_me:$LINENO: result: no" >&5
6255echo "${ECHO_T}no" >&6
6256 fi
6257
6258
6259 enablestring=
6260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6261echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6262 no_cache=0
6263 # Check whether --enable-resources or --disable-resources was given.
6264if test "${enable_resources+set}" = set; then
6265 enableval="$enable_resources"
6266
6267 if test "$enableval" = yes; then
6268 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6269 else
6270 ac_cv_use_resources='wxUSE_RESOURCES=no'
6271 fi
6272
6273else
6274
6275 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6276 if test "x$LINE" != x ; then
6277 eval "DEFAULT_$LINE"
6278 else
6279 no_cache=1
6280 fi
6281
6282 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6283
6284fi;
6285
6286 eval "$ac_cv_use_resources"
6287 if test "$no_cache" != 1; then
6288 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6289 fi
6290
6291 if test "$wxUSE_RESOURCES" = yes; then
6292 echo "$as_me:$LINENO: result: yes" >&5
6293echo "${ECHO_T}yes" >&6
6294 else
6295 echo "$as_me:$LINENO: result: no" >&5
6296echo "${ECHO_T}no" >&6
6297 fi
6298
6299
6300
6301
6302 enablestring=
6303 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6304echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6305 no_cache=0
6306 # Check whether --enable-clipboard or --disable-clipboard was given.
6307if test "${enable_clipboard+set}" = set; then
6308 enableval="$enable_clipboard"
6309
6310 if test "$enableval" = yes; then
6311 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6312 else
6313 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6314 fi
6315
6316else
6317
6318 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6319 if test "x$LINE" != x ; then
6320 eval "DEFAULT_$LINE"
6321 else
6322 no_cache=1
6323 fi
6324
6325 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6326
6327fi;
6328
6329 eval "$ac_cv_use_clipboard"
6330 if test "$no_cache" != 1; then
6331 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6332 fi
6333
6334 if test "$wxUSE_CLIPBOARD" = yes; then
6335 echo "$as_me:$LINENO: result: yes" >&5
6336echo "${ECHO_T}yes" >&6
6337 else
6338 echo "$as_me:$LINENO: result: no" >&5
6339echo "${ECHO_T}no" >&6
6340 fi
6341
6342
6343 enablestring=
6344 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6345echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6346 no_cache=0
6347 # Check whether --enable-dnd or --disable-dnd was given.
6348if test "${enable_dnd+set}" = set; then
6349 enableval="$enable_dnd"
6350
6351 if test "$enableval" = yes; then
6352 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6353 else
6354 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6355 fi
6356
6357else
6358
6359 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6360 if test "x$LINE" != x ; then
6361 eval "DEFAULT_$LINE"
6362 else
6363 no_cache=1
6364 fi
6365
6366 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6367
6368fi;
6369
6370 eval "$ac_cv_use_dnd"
6371 if test "$no_cache" != 1; then
6372 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6373 fi
6374
6375 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6376 echo "$as_me:$LINENO: result: yes" >&5
6377echo "${ECHO_T}yes" >&6
6378 else
6379 echo "$as_me:$LINENO: result: no" >&5
6380echo "${ECHO_T}no" >&6
6381 fi
6382
6383
6384 enablestring=
6385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6386echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6387 no_cache=0
6388 # Check whether --enable-metafile or --disable-metafile was given.
6389if test "${enable_metafile+set}" = set; then
6390 enableval="$enable_metafile"
6391
6392 if test "$enableval" = yes; then
6393 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6394 else
6395 ac_cv_use_metafile='wxUSE_METAFILE=no'
6396 fi
6397
6398else
6399
6400 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6401 if test "x$LINE" != x ; then
6402 eval "DEFAULT_$LINE"
6403 else
6404 no_cache=1
6405 fi
6406
6407 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6408
6409fi;
6410
6411 eval "$ac_cv_use_metafile"
6412 if test "$no_cache" != 1; then
6413 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6414 fi
6415
6416 if test "$wxUSE_METAFILE" = yes; then
6417 echo "$as_me:$LINENO: result: yes" >&5
6418echo "${ECHO_T}yes" >&6
6419 else
6420 echo "$as_me:$LINENO: result: no" >&5
6421echo "${ECHO_T}no" >&6
6422 fi
6423
6424
6425
6426
6427
6428 enablestring=
6429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6430echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6431 no_cache=0
6432 # Check whether --enable-controls or --disable-controls was given.
6433if test "${enable_controls+set}" = set; then
6434 enableval="$enable_controls"
6435
6436 if test "$enableval" = yes; then
6437 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6438 else
6439 ac_cv_use_controls='wxUSE_CONTROLS=no'
6440 fi
6441
6442else
6443
6444 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6445 if test "x$LINE" != x ; then
6446 eval "DEFAULT_$LINE"
6447 else
6448 no_cache=1
6449 fi
6450
6451 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6452
6453fi;
6454
6455 eval "$ac_cv_use_controls"
6456 if test "$no_cache" != 1; then
6457 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6458 fi
6459
6460 if test "$wxUSE_CONTROLS" = yes; then
6461 echo "$as_me:$LINENO: result: yes" >&5
6462echo "${ECHO_T}yes" >&6
6463 else
6464 echo "$as_me:$LINENO: result: no" >&5
6465echo "${ECHO_T}no" >&6
6466 fi
6467
6468
6469if test "$wxUSE_CONTROLS" = "yes"; then
6470 DEFAULT_wxUSE_ACCEL=yes
6471 DEFAULT_wxUSE_BMPBUTTON=yes
6472 DEFAULT_wxUSE_BUTTON=yes
6473 DEFAULT_wxUSE_CALCTRL=no
6474 DEFAULT_wxUSE_CARET=yes
6475 DEFAULT_wxUSE_COMBOBOX=yes
6476 DEFAULT_wxUSE_CHECKBOX=yes
6477 DEFAULT_wxUSE_CHECKLISTBOX=yes
6478 DEFAULT_wxUSE_CHOICE=yes
6479 DEFAULT_wxUSE_GAUGE=yes
6480 DEFAULT_wxUSE_GRID=yes
6481 DEFAULT_wxUSE_IMAGLIST=yes
6482 DEFAULT_wxUSE_LISTBOOK=yes
6483 DEFAULT_wxUSE_LISTBOX=yes
6484 DEFAULT_wxUSE_LISTCTRL=yes
6485 DEFAULT_wxUSE_NOTEBOOK=yes
6486 DEFAULT_wxUSE_RADIOBOX=yes
6487 DEFAULT_wxUSE_RADIOBTN=yes
6488 DEFAULT_wxUSE_SASH=yes
6489 DEFAULT_wxUSE_SCROLLBAR=yes
6490 DEFAULT_wxUSE_SLIDER=yes
6491 DEFAULT_wxUSE_SPINBTN=yes
6492 DEFAULT_wxUSE_SPINCTRL=yes
6493 DEFAULT_wxUSE_SPLITTER=yes
6494 DEFAULT_wxUSE_STATBMP=yes
6495 DEFAULT_wxUSE_STATBOX=yes
6496 DEFAULT_wxUSE_STATLINE=yes
6497 DEFAULT_wxUSE_STATUSBAR=yes
6498 DEFAULT_wxUSE_TAB_DIALOG=yes
6499 DEFAULT_wxUSE_TOGGLEBTN=yes
6500 DEFAULT_wxUSE_TOOLBAR=yes
6501 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6502 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6503 DEFAULT_wxUSE_TOOLTIPS=yes
6504 DEFAULT_wxUSE_TREECTRL=yes
6505 DEFAULT_wxUSE_POPUPWIN=yes
6506 DEFAULT_wxUSE_TIPWINDOW=yes
6507elif test "$wxUSE_CONTROLS" = "no"; then
6508 DEFAULT_wxUSE_ACCEL=no
6509 DEFAULT_wxUSE_BMPBUTTON=no
6510 DEFAULT_wxUSE_BUTTON=no
6511 DEFAULT_wxUSE_CALCTRL=no
6512 DEFAULT_wxUSE_CARET=no
6513 DEFAULT_wxUSE_COMBOBOX=no
6514 DEFAULT_wxUSE_CHECKBOX=no
6515 DEFAULT_wxUSE_CHECKLISTBOX=no
6516 DEFAULT_wxUSE_CHOICE=no
6517 DEFAULT_wxUSE_GAUGE=no
6518 DEFAULT_wxUSE_GRID=no
6519 DEFAULT_wxUSE_IMAGLIST=no
6520 DEFAULT_wxUSE_LISTBOOK=no
6521 DEFAULT_wxUSE_LISTBOX=no
6522 DEFAULT_wxUSE_LISTCTRL=no
6523 DEFAULT_wxUSE_NOTEBOOK=no
6524 DEFAULT_wxUSE_RADIOBOX=no
6525 DEFAULT_wxUSE_RADIOBTN=no
6526 DEFAULT_wxUSE_SASH=no
6527 DEFAULT_wxUSE_SCROLLBAR=no
6528 DEFAULT_wxUSE_SLIDER=no
6529 DEFAULT_wxUSE_SPINBTN=no
6530 DEFAULT_wxUSE_SPINCTRL=no
6531 DEFAULT_wxUSE_SPLITTER=no
6532 DEFAULT_wxUSE_STATBMP=no
6533 DEFAULT_wxUSE_STATBOX=no
6534 DEFAULT_wxUSE_STATLINE=no
6535 DEFAULT_wxUSE_STATUSBAR=no
6536 DEFAULT_wxUSE_TAB_DIALOG=no
6537 DEFAULT_wxUSE_TOGGLEBTN=no
6538 DEFAULT_wxUSE_TOOLBAR=no
6539 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6540 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6541 DEFAULT_wxUSE_TOOLTIPS=no
6542 DEFAULT_wxUSE_TREECTRL=no
6543 DEFAULT_wxUSE_POPUPWIN=no
6544 DEFAULT_wxUSE_TIPWINDOW=no
6545fi
6546
6547## FIXME: This is a blatant hack
6548if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6549 wxUSE_PRINTING_ARCHITECTURE=no
6550 wxUSE_DRAG_AND_DROP=no
6551 # Generic notebook requires tab dialog
6552 DEFAULT_wxUSE_TABDIALOG=yes
6553 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6554 DEFAULT_wxUSE_SCROLLBAR=no
6555 DEFAULT_wxUSE_TOOLTIPS=no
6556 DEFAULT_wxUSE_DRAGIMAGE=no
6557fi
6558
6559
6560 enablestring=
6561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6562echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6563 no_cache=0
6564 # Check whether --enable-accel or --disable-accel was given.
6565if test "${enable_accel+set}" = set; then
6566 enableval="$enable_accel"
6567
6568 if test "$enableval" = yes; then
6569 ac_cv_use_accel='wxUSE_ACCEL=yes'
6570 else
6571 ac_cv_use_accel='wxUSE_ACCEL=no'
6572 fi
6573
6574else
6575
6576 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6577 if test "x$LINE" != x ; then
6578 eval "DEFAULT_$LINE"
6579 else
6580 no_cache=1
6581 fi
6582
6583 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6584
6585fi;
6586
6587 eval "$ac_cv_use_accel"
6588 if test "$no_cache" != 1; then
6589 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6590 fi
6591
6592 if test "$wxUSE_ACCEL" = yes; then
6593 echo "$as_me:$LINENO: result: yes" >&5
6594echo "${ECHO_T}yes" >&6
6595 else
6596 echo "$as_me:$LINENO: result: no" >&5
6597echo "${ECHO_T}no" >&6
6598 fi
6599
6600
6601 enablestring=
6602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6603echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6604 no_cache=0
6605 # Check whether --enable-button or --disable-button was given.
6606if test "${enable_button+set}" = set; then
6607 enableval="$enable_button"
6608
6609 if test "$enableval" = yes; then
6610 ac_cv_use_button='wxUSE_BUTTON=yes'
6611 else
6612 ac_cv_use_button='wxUSE_BUTTON=no'
6613 fi
6614
6615else
6616
6617 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6618 if test "x$LINE" != x ; then
6619 eval "DEFAULT_$LINE"
6620 else
6621 no_cache=1
6622 fi
6623
6624 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6625
6626fi;
6627
6628 eval "$ac_cv_use_button"
6629 if test "$no_cache" != 1; then
6630 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6631 fi
6632
6633 if test "$wxUSE_BUTTON" = yes; then
6634 echo "$as_me:$LINENO: result: yes" >&5
6635echo "${ECHO_T}yes" >&6
6636 else
6637 echo "$as_me:$LINENO: result: no" >&5
6638echo "${ECHO_T}no" >&6
6639 fi
6640
6641
6642 enablestring=
6643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6644echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6645 no_cache=0
6646 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6647if test "${enable_bmpbutton+set}" = set; then
6648 enableval="$enable_bmpbutton"
6649
6650 if test "$enableval" = yes; then
6651 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6652 else
6653 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6654 fi
6655
6656else
6657
6658 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6659 if test "x$LINE" != x ; then
6660 eval "DEFAULT_$LINE"
6661 else
6662 no_cache=1
6663 fi
6664
6665 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6666
6667fi;
6668
6669 eval "$ac_cv_use_bmpbutton"
6670 if test "$no_cache" != 1; then
6671 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6672 fi
6673
6674 if test "$wxUSE_BMPBUTTON" = yes; then
6675 echo "$as_me:$LINENO: result: yes" >&5
6676echo "${ECHO_T}yes" >&6
6677 else
6678 echo "$as_me:$LINENO: result: no" >&5
6679echo "${ECHO_T}no" >&6
6680 fi
6681
6682
6683 enablestring=
6684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6685echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6686 no_cache=0
6687 # Check whether --enable-calendar or --disable-calendar was given.
6688if test "${enable_calendar+set}" = set; then
6689 enableval="$enable_calendar"
6690
6691 if test "$enableval" = yes; then
6692 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6693 else
6694 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6695 fi
6696
6697else
6698
6699 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6700 if test "x$LINE" != x ; then
6701 eval "DEFAULT_$LINE"
6702 else
6703 no_cache=1
6704 fi
6705
6706 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6707
6708fi;
6709
6710 eval "$ac_cv_use_calendar"
6711 if test "$no_cache" != 1; then
6712 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6713 fi
6714
6715 if test "$wxUSE_CALCTRL" = yes; then
6716 echo "$as_me:$LINENO: result: yes" >&5
6717echo "${ECHO_T}yes" >&6
6718 else
6719 echo "$as_me:$LINENO: result: no" >&5
6720echo "${ECHO_T}no" >&6
6721 fi
6722
6723
6724 enablestring=
6725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6726echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6727 no_cache=0
6728 # Check whether --enable-caret or --disable-caret was given.
6729if test "${enable_caret+set}" = set; then
6730 enableval="$enable_caret"
6731
6732 if test "$enableval" = yes; then
6733 ac_cv_use_caret='wxUSE_CARET=yes'
6734 else
6735 ac_cv_use_caret='wxUSE_CARET=no'
6736 fi
6737
6738else
6739
6740 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6741 if test "x$LINE" != x ; then
6742 eval "DEFAULT_$LINE"
6743 else
6744 no_cache=1
6745 fi
6746
6747 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6748
6749fi;
6750
6751 eval "$ac_cv_use_caret"
6752 if test "$no_cache" != 1; then
6753 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6754 fi
6755
6756 if test "$wxUSE_CARET" = yes; then
6757 echo "$as_me:$LINENO: result: yes" >&5
6758echo "${ECHO_T}yes" >&6
6759 else
6760 echo "$as_me:$LINENO: result: no" >&5
6761echo "${ECHO_T}no" >&6
6762 fi
6763
6764
6765 enablestring=
6766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6767echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6768 no_cache=0
6769 # Check whether --enable-checkbox or --disable-checkbox was given.
6770if test "${enable_checkbox+set}" = set; then
6771 enableval="$enable_checkbox"
6772
6773 if test "$enableval" = yes; then
6774 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6775 else
6776 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6777 fi
6778
6779else
6780
6781 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6782 if test "x$LINE" != x ; then
6783 eval "DEFAULT_$LINE"
6784 else
6785 no_cache=1
6786 fi
6787
6788 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6789
6790fi;
6791
6792 eval "$ac_cv_use_checkbox"
6793 if test "$no_cache" != 1; then
6794 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6795 fi
6796
6797 if test "$wxUSE_CHECKBOX" = yes; then
6798 echo "$as_me:$LINENO: result: yes" >&5
6799echo "${ECHO_T}yes" >&6
6800 else
6801 echo "$as_me:$LINENO: result: no" >&5
6802echo "${ECHO_T}no" >&6
6803 fi
6804
6805
6806 enablestring=
6807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6808echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6809 no_cache=0
6810 # Check whether --enable-checklst or --disable-checklst was given.
6811if test "${enable_checklst+set}" = set; then
6812 enableval="$enable_checklst"
6813
6814 if test "$enableval" = yes; then
6815 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6816 else
6817 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6818 fi
6819
6820else
6821
6822 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6823 if test "x$LINE" != x ; then
6824 eval "DEFAULT_$LINE"
6825 else
6826 no_cache=1
6827 fi
6828
6829 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6830
6831fi;
6832
6833 eval "$ac_cv_use_checklst"
6834 if test "$no_cache" != 1; then
6835 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6836 fi
6837
6838 if test "$wxUSE_CHECKLST" = yes; then
6839 echo "$as_me:$LINENO: result: yes" >&5
6840echo "${ECHO_T}yes" >&6
6841 else
6842 echo "$as_me:$LINENO: result: no" >&5
6843echo "${ECHO_T}no" >&6
6844 fi
6845
6846
6847 enablestring=
6848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6849echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6850 no_cache=0
6851 # Check whether --enable-choice or --disable-choice was given.
6852if test "${enable_choice+set}" = set; then
6853 enableval="$enable_choice"
6854
6855 if test "$enableval" = yes; then
6856 ac_cv_use_choice='wxUSE_CHOICE=yes'
6857 else
6858 ac_cv_use_choice='wxUSE_CHOICE=no'
6859 fi
6860
6861else
6862
6863 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6864 if test "x$LINE" != x ; then
6865 eval "DEFAULT_$LINE"
6866 else
6867 no_cache=1
6868 fi
6869
6870 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6871
6872fi;
6873
6874 eval "$ac_cv_use_choice"
6875 if test "$no_cache" != 1; then
6876 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6877 fi
6878
6879 if test "$wxUSE_CHOICE" = yes; then
6880 echo "$as_me:$LINENO: result: yes" >&5
6881echo "${ECHO_T}yes" >&6
6882 else
6883 echo "$as_me:$LINENO: result: no" >&5
6884echo "${ECHO_T}no" >&6
6885 fi
6886
6887
6888 enablestring=
6889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6890echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6891 no_cache=0
6892 # Check whether --enable-combobox or --disable-combobox was given.
6893if test "${enable_combobox+set}" = set; then
6894 enableval="$enable_combobox"
6895
6896 if test "$enableval" = yes; then
6897 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6898 else
6899 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6900 fi
6901
6902else
6903
6904 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6905 if test "x$LINE" != x ; then
6906 eval "DEFAULT_$LINE"
6907 else
6908 no_cache=1
6909 fi
6910
6911 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6912
6913fi;
6914
6915 eval "$ac_cv_use_combobox"
6916 if test "$no_cache" != 1; then
6917 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6918 fi
6919
6920 if test "$wxUSE_COMBOBOX" = yes; then
6921 echo "$as_me:$LINENO: result: yes" >&5
6922echo "${ECHO_T}yes" >&6
6923 else
6924 echo "$as_me:$LINENO: result: no" >&5
6925echo "${ECHO_T}no" >&6
6926 fi
6927
6928
6929 enablestring=
6930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6931echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6932 no_cache=0
6933 # Check whether --enable-display or --disable-display was given.
6934if test "${enable_display+set}" = set; then
6935 enableval="$enable_display"
6936
6937 if test "$enableval" = yes; then
6938 ac_cv_use_display='wxUSE_DISPLAY=yes'
6939 else
6940 ac_cv_use_display='wxUSE_DISPLAY=no'
6941 fi
6942
6943else
6944
6945 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6946 if test "x$LINE" != x ; then
6947 eval "DEFAULT_$LINE"
6948 else
6949 no_cache=1
6950 fi
6951
6952 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6953
6954fi;
6955
6956 eval "$ac_cv_use_display"
6957 if test "$no_cache" != 1; then
6958 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6959 fi
6960
6961 if test "$wxUSE_DISPLAY" = yes; then
6962 echo "$as_me:$LINENO: result: yes" >&5
6963echo "${ECHO_T}yes" >&6
6964 else
6965 echo "$as_me:$LINENO: result: no" >&5
6966echo "${ECHO_T}no" >&6
6967 fi
6968
6969
6970 enablestring=
6971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6972echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6973 no_cache=0
6974 # Check whether --enable-gauge or --disable-gauge was given.
6975if test "${enable_gauge+set}" = set; then
6976 enableval="$enable_gauge"
6977
6978 if test "$enableval" = yes; then
6979 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6980 else
6981 ac_cv_use_gauge='wxUSE_GAUGE=no'
6982 fi
6983
6984else
6985
6986 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6987 if test "x$LINE" != x ; then
6988 eval "DEFAULT_$LINE"
6989 else
6990 no_cache=1
6991 fi
6992
6993 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6994
6995fi;
6996
6997 eval "$ac_cv_use_gauge"
6998 if test "$no_cache" != 1; then
6999 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7000 fi
7001
7002 if test "$wxUSE_GAUGE" = yes; then
7003 echo "$as_me:$LINENO: result: yes" >&5
7004echo "${ECHO_T}yes" >&6
7005 else
7006 echo "$as_me:$LINENO: result: no" >&5
7007echo "${ECHO_T}no" >&6
7008 fi
7009
7010
7011 enablestring=
7012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7013echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7014 no_cache=0
7015 # Check whether --enable-grid or --disable-grid was given.
7016if test "${enable_grid+set}" = set; then
7017 enableval="$enable_grid"
7018
7019 if test "$enableval" = yes; then
7020 ac_cv_use_grid='wxUSE_GRID=yes'
7021 else
7022 ac_cv_use_grid='wxUSE_GRID=no'
7023 fi
7024
7025else
7026
7027 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7028 if test "x$LINE" != x ; then
7029 eval "DEFAULT_$LINE"
7030 else
7031 no_cache=1
7032 fi
7033
7034 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7035
7036fi;
7037
7038 eval "$ac_cv_use_grid"
7039 if test "$no_cache" != 1; then
7040 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7041 fi
7042
7043 if test "$wxUSE_GRID" = yes; then
7044 echo "$as_me:$LINENO: result: yes" >&5
7045echo "${ECHO_T}yes" >&6
7046 else
7047 echo "$as_me:$LINENO: result: no" >&5
7048echo "${ECHO_T}no" >&6
7049 fi
7050
7051
7052 enablestring=
7053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7054echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7055 no_cache=0
7056 # Check whether --enable-imaglist or --disable-imaglist was given.
7057if test "${enable_imaglist+set}" = set; then
7058 enableval="$enable_imaglist"
7059
7060 if test "$enableval" = yes; then
7061 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7062 else
7063 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7064 fi
7065
7066else
7067
7068 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7069 if test "x$LINE" != x ; then
7070 eval "DEFAULT_$LINE"
7071 else
7072 no_cache=1
7073 fi
7074
7075 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7076
7077fi;
7078
7079 eval "$ac_cv_use_imaglist"
7080 if test "$no_cache" != 1; then
7081 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7082 fi
7083
7084 if test "$wxUSE_IMAGLIST" = yes; then
7085 echo "$as_me:$LINENO: result: yes" >&5
7086echo "${ECHO_T}yes" >&6
7087 else
7088 echo "$as_me:$LINENO: result: no" >&5
7089echo "${ECHO_T}no" >&6
7090 fi
7091
7092
7093 enablestring=
7094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7095echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7096 no_cache=0
7097 # Check whether --enable-listbook or --disable-listbook was given.
7098if test "${enable_listbook+set}" = set; then
7099 enableval="$enable_listbook"
7100
7101 if test "$enableval" = yes; then
7102 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7103 else
7104 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7105 fi
7106
7107else
7108
7109 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7110 if test "x$LINE" != x ; then
7111 eval "DEFAULT_$LINE"
7112 else
7113 no_cache=1
7114 fi
7115
7116 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7117
7118fi;
7119
7120 eval "$ac_cv_use_listbook"
7121 if test "$no_cache" != 1; then
7122 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7123 fi
7124
7125 if test "$wxUSE_LISTBOOK" = yes; then
7126 echo "$as_me:$LINENO: result: yes" >&5
7127echo "${ECHO_T}yes" >&6
7128 else
7129 echo "$as_me:$LINENO: result: no" >&5
7130echo "${ECHO_T}no" >&6
7131 fi
7132
7133
7134 enablestring=
7135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7136echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7137 no_cache=0
7138 # Check whether --enable-listbox or --disable-listbox was given.
7139if test "${enable_listbox+set}" = set; then
7140 enableval="$enable_listbox"
7141
7142 if test "$enableval" = yes; then
7143 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7144 else
7145 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7146 fi
7147
7148else
7149
7150 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7151 if test "x$LINE" != x ; then
7152 eval "DEFAULT_$LINE"
7153 else
7154 no_cache=1
7155 fi
7156
7157 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7158
7159fi;
7160
7161 eval "$ac_cv_use_listbox"
7162 if test "$no_cache" != 1; then
7163 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7164 fi
7165
7166 if test "$wxUSE_LISTBOX" = yes; then
7167 echo "$as_me:$LINENO: result: yes" >&5
7168echo "${ECHO_T}yes" >&6
7169 else
7170 echo "$as_me:$LINENO: result: no" >&5
7171echo "${ECHO_T}no" >&6
7172 fi
7173
7174
7175 enablestring=
7176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7177echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7178 no_cache=0
7179 # Check whether --enable-listctrl or --disable-listctrl was given.
7180if test "${enable_listctrl+set}" = set; then
7181 enableval="$enable_listctrl"
7182
7183 if test "$enableval" = yes; then
7184 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7185 else
7186 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7187 fi
7188
7189else
7190
7191 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7192 if test "x$LINE" != x ; then
7193 eval "DEFAULT_$LINE"
7194 else
7195 no_cache=1
7196 fi
7197
7198 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7199
7200fi;
7201
7202 eval "$ac_cv_use_listctrl"
7203 if test "$no_cache" != 1; then
7204 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7205 fi
7206
7207 if test "$wxUSE_LISTCTRL" = yes; then
7208 echo "$as_me:$LINENO: result: yes" >&5
7209echo "${ECHO_T}yes" >&6
7210 else
7211 echo "$as_me:$LINENO: result: no" >&5
7212echo "${ECHO_T}no" >&6
7213 fi
7214
7215
7216 enablestring=
7217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7218echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7219 no_cache=0
7220 # Check whether --enable-notebook or --disable-notebook was given.
7221if test "${enable_notebook+set}" = set; then
7222 enableval="$enable_notebook"
7223
7224 if test "$enableval" = yes; then
7225 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7226 else
7227 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7228 fi
7229
7230else
7231
7232 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7233 if test "x$LINE" != x ; then
7234 eval "DEFAULT_$LINE"
7235 else
7236 no_cache=1
7237 fi
7238
7239 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7240
7241fi;
7242
7243 eval "$ac_cv_use_notebook"
7244 if test "$no_cache" != 1; then
7245 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7246 fi
7247
7248 if test "$wxUSE_NOTEBOOK" = yes; then
7249 echo "$as_me:$LINENO: result: yes" >&5
7250echo "${ECHO_T}yes" >&6
7251 else
7252 echo "$as_me:$LINENO: result: no" >&5
7253echo "${ECHO_T}no" >&6
7254 fi
7255
7256
7257 enablestring=
7258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7259echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7260 no_cache=0
7261 # Check whether --enable-radiobox or --disable-radiobox was given.
7262if test "${enable_radiobox+set}" = set; then
7263 enableval="$enable_radiobox"
7264
7265 if test "$enableval" = yes; then
7266 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7267 else
7268 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7269 fi
7270
7271else
7272
7273 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7274 if test "x$LINE" != x ; then
7275 eval "DEFAULT_$LINE"
7276 else
7277 no_cache=1
7278 fi
7279
7280 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7281
7282fi;
7283
7284 eval "$ac_cv_use_radiobox"
7285 if test "$no_cache" != 1; then
7286 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7287 fi
7288
7289 if test "$wxUSE_RADIOBOX" = yes; then
7290 echo "$as_me:$LINENO: result: yes" >&5
7291echo "${ECHO_T}yes" >&6
7292 else
7293 echo "$as_me:$LINENO: result: no" >&5
7294echo "${ECHO_T}no" >&6
7295 fi
7296
7297
7298 enablestring=
7299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7300echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7301 no_cache=0
7302 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7303if test "${enable_radiobtn+set}" = set; then
7304 enableval="$enable_radiobtn"
7305
7306 if test "$enableval" = yes; then
7307 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7308 else
7309 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7310 fi
7311
7312else
7313
7314 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7315 if test "x$LINE" != x ; then
7316 eval "DEFAULT_$LINE"
7317 else
7318 no_cache=1
7319 fi
7320
7321 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7322
7323fi;
7324
7325 eval "$ac_cv_use_radiobtn"
7326 if test "$no_cache" != 1; then
7327 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7328 fi
7329
7330 if test "$wxUSE_RADIOBTN" = yes; then
7331 echo "$as_me:$LINENO: result: yes" >&5
7332echo "${ECHO_T}yes" >&6
7333 else
7334 echo "$as_me:$LINENO: result: no" >&5
7335echo "${ECHO_T}no" >&6
7336 fi
7337
7338
7339 enablestring=
7340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7341echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7342 no_cache=0
7343 # Check whether --enable-sash or --disable-sash was given.
7344if test "${enable_sash+set}" = set; then
7345 enableval="$enable_sash"
7346
7347 if test "$enableval" = yes; then
7348 ac_cv_use_sash='wxUSE_SASH=yes'
7349 else
7350 ac_cv_use_sash='wxUSE_SASH=no'
7351 fi
7352
7353else
7354
7355 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7356 if test "x$LINE" != x ; then
7357 eval "DEFAULT_$LINE"
7358 else
7359 no_cache=1
7360 fi
7361
7362 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7363
7364fi;
7365
7366 eval "$ac_cv_use_sash"
7367 if test "$no_cache" != 1; then
7368 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7369 fi
7370
7371 if test "$wxUSE_SASH" = yes; then
7372 echo "$as_me:$LINENO: result: yes" >&5
7373echo "${ECHO_T}yes" >&6
7374 else
7375 echo "$as_me:$LINENO: result: no" >&5
7376echo "${ECHO_T}no" >&6
7377 fi
7378
7379
7380 enablestring=
7381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7382echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7383 no_cache=0
7384 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7385if test "${enable_scrollbar+set}" = set; then
7386 enableval="$enable_scrollbar"
7387
7388 if test "$enableval" = yes; then
7389 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7390 else
7391 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7392 fi
7393
7394else
7395
7396 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7397 if test "x$LINE" != x ; then
7398 eval "DEFAULT_$LINE"
7399 else
7400 no_cache=1
7401 fi
7402
7403 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7404
7405fi;
7406
7407 eval "$ac_cv_use_scrollbar"
7408 if test "$no_cache" != 1; then
7409 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7410 fi
7411
7412 if test "$wxUSE_SCROLLBAR" = yes; then
7413 echo "$as_me:$LINENO: result: yes" >&5
7414echo "${ECHO_T}yes" >&6
7415 else
7416 echo "$as_me:$LINENO: result: no" >&5
7417echo "${ECHO_T}no" >&6
7418 fi
7419
7420
7421 enablestring=
7422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7423echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7424 no_cache=0
7425 # Check whether --enable-slider or --disable-slider was given.
7426if test "${enable_slider+set}" = set; then
7427 enableval="$enable_slider"
7428
7429 if test "$enableval" = yes; then
7430 ac_cv_use_slider='wxUSE_SLIDER=yes'
7431 else
7432 ac_cv_use_slider='wxUSE_SLIDER=no'
7433 fi
7434
7435else
7436
7437 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7438 if test "x$LINE" != x ; then
7439 eval "DEFAULT_$LINE"
7440 else
7441 no_cache=1
7442 fi
7443
7444 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7445
7446fi;
7447
7448 eval "$ac_cv_use_slider"
7449 if test "$no_cache" != 1; then
7450 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7451 fi
7452
7453 if test "$wxUSE_SLIDER" = yes; then
7454 echo "$as_me:$LINENO: result: yes" >&5
7455echo "${ECHO_T}yes" >&6
7456 else
7457 echo "$as_me:$LINENO: result: no" >&5
7458echo "${ECHO_T}no" >&6
7459 fi
7460
7461
7462 enablestring=
7463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7464echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7465 no_cache=0
7466 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7467if test "${enable_spinbtn+set}" = set; then
7468 enableval="$enable_spinbtn"
7469
7470 if test "$enableval" = yes; then
7471 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7472 else
7473 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7474 fi
7475
7476else
7477
7478 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7479 if test "x$LINE" != x ; then
7480 eval "DEFAULT_$LINE"
7481 else
7482 no_cache=1
7483 fi
7484
7485 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7486
7487fi;
7488
7489 eval "$ac_cv_use_spinbtn"
7490 if test "$no_cache" != 1; then
7491 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7492 fi
7493
7494 if test "$wxUSE_SPINBTN" = yes; then
7495 echo "$as_me:$LINENO: result: yes" >&5
7496echo "${ECHO_T}yes" >&6
7497 else
7498 echo "$as_me:$LINENO: result: no" >&5
7499echo "${ECHO_T}no" >&6
7500 fi
7501
7502
7503 enablestring=
7504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7505echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7506 no_cache=0
7507 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7508if test "${enable_spinctrl+set}" = set; then
7509 enableval="$enable_spinctrl"
7510
7511 if test "$enableval" = yes; then
7512 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7513 else
7514 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7515 fi
7516
7517else
7518
7519 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7520 if test "x$LINE" != x ; then
7521 eval "DEFAULT_$LINE"
7522 else
7523 no_cache=1
7524 fi
7525
7526 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7527
7528fi;
7529
7530 eval "$ac_cv_use_spinctrl"
7531 if test "$no_cache" != 1; then
7532 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7533 fi
7534
7535 if test "$wxUSE_SPINCTRL" = yes; then
7536 echo "$as_me:$LINENO: result: yes" >&5
7537echo "${ECHO_T}yes" >&6
7538 else
7539 echo "$as_me:$LINENO: result: no" >&5
7540echo "${ECHO_T}no" >&6
7541 fi
7542
7543
7544 enablestring=
7545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7546echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7547 no_cache=0
7548 # Check whether --enable-splitter or --disable-splitter was given.
7549if test "${enable_splitter+set}" = set; then
7550 enableval="$enable_splitter"
7551
7552 if test "$enableval" = yes; then
7553 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7554 else
7555 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7556 fi
7557
7558else
7559
7560 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7561 if test "x$LINE" != x ; then
7562 eval "DEFAULT_$LINE"
7563 else
7564 no_cache=1
7565 fi
7566
7567 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7568
7569fi;
7570
7571 eval "$ac_cv_use_splitter"
7572 if test "$no_cache" != 1; then
7573 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7574 fi
7575
7576 if test "$wxUSE_SPLITTER" = yes; then
7577 echo "$as_me:$LINENO: result: yes" >&5
7578echo "${ECHO_T}yes" >&6
7579 else
7580 echo "$as_me:$LINENO: result: no" >&5
7581echo "${ECHO_T}no" >&6
7582 fi
7583
7584
7585 enablestring=
7586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7587echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7588 no_cache=0
7589 # Check whether --enable-statbmp or --disable-statbmp was given.
7590if test "${enable_statbmp+set}" = set; then
7591 enableval="$enable_statbmp"
7592
7593 if test "$enableval" = yes; then
7594 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7595 else
7596 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7597 fi
7598
7599else
7600
7601 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7602 if test "x$LINE" != x ; then
7603 eval "DEFAULT_$LINE"
7604 else
7605 no_cache=1
7606 fi
7607
7608 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7609
7610fi;
7611
7612 eval "$ac_cv_use_statbmp"
7613 if test "$no_cache" != 1; then
7614 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7615 fi
7616
7617 if test "$wxUSE_STATBMP" = yes; then
7618 echo "$as_me:$LINENO: result: yes" >&5
7619echo "${ECHO_T}yes" >&6
7620 else
7621 echo "$as_me:$LINENO: result: no" >&5
7622echo "${ECHO_T}no" >&6
7623 fi
7624
7625
7626 enablestring=
7627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7628echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7629 no_cache=0
7630 # Check whether --enable-statbox or --disable-statbox was given.
7631if test "${enable_statbox+set}" = set; then
7632 enableval="$enable_statbox"
7633
7634 if test "$enableval" = yes; then
7635 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7636 else
7637 ac_cv_use_statbox='wxUSE_STATBOX=no'
7638 fi
7639
7640else
7641
7642 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7643 if test "x$LINE" != x ; then
7644 eval "DEFAULT_$LINE"
7645 else
7646 no_cache=1
7647 fi
7648
7649 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7650
7651fi;
7652
7653 eval "$ac_cv_use_statbox"
7654 if test "$no_cache" != 1; then
7655 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7656 fi
7657
7658 if test "$wxUSE_STATBOX" = yes; then
7659 echo "$as_me:$LINENO: result: yes" >&5
7660echo "${ECHO_T}yes" >&6
7661 else
7662 echo "$as_me:$LINENO: result: no" >&5
7663echo "${ECHO_T}no" >&6
7664 fi
7665
7666
7667 enablestring=
7668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7669echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7670 no_cache=0
7671 # Check whether --enable-statline or --disable-statline was given.
7672if test "${enable_statline+set}" = set; then
7673 enableval="$enable_statline"
7674
7675 if test "$enableval" = yes; then
7676 ac_cv_use_statline='wxUSE_STATLINE=yes'
7677 else
7678 ac_cv_use_statline='wxUSE_STATLINE=no'
7679 fi
7680
7681else
7682
7683 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7684 if test "x$LINE" != x ; then
7685 eval "DEFAULT_$LINE"
7686 else
7687 no_cache=1
7688 fi
7689
7690 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7691
7692fi;
7693
7694 eval "$ac_cv_use_statline"
7695 if test "$no_cache" != 1; then
7696 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7697 fi
7698
7699 if test "$wxUSE_STATLINE" = yes; then
7700 echo "$as_me:$LINENO: result: yes" >&5
7701echo "${ECHO_T}yes" >&6
7702 else
7703 echo "$as_me:$LINENO: result: no" >&5
7704echo "${ECHO_T}no" >&6
7705 fi
7706
7707
7708 enablestring=
7709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7710echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7711 no_cache=0
7712 # Check whether --enable-stattext or --disable-stattext was given.
7713if test "${enable_stattext+set}" = set; then
7714 enableval="$enable_stattext"
7715
7716 if test "$enableval" = yes; then
7717 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7718 else
7719 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7720 fi
7721
7722else
7723
7724 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7725 if test "x$LINE" != x ; then
7726 eval "DEFAULT_$LINE"
7727 else
7728 no_cache=1
7729 fi
7730
7731 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7732
7733fi;
7734
7735 eval "$ac_cv_use_stattext"
7736 if test "$no_cache" != 1; then
7737 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7738 fi
7739
7740 if test "$wxUSE_STATTEXT" = yes; then
7741 echo "$as_me:$LINENO: result: yes" >&5
7742echo "${ECHO_T}yes" >&6
7743 else
7744 echo "$as_me:$LINENO: result: no" >&5
7745echo "${ECHO_T}no" >&6
7746 fi
7747
7748
7749 enablestring=
7750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7751echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7752 no_cache=0
7753 # Check whether --enable-statusbar or --disable-statusbar was given.
7754if test "${enable_statusbar+set}" = set; then
7755 enableval="$enable_statusbar"
7756
7757 if test "$enableval" = yes; then
7758 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7759 else
7760 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7761 fi
7762
7763else
7764
7765 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7766 if test "x$LINE" != x ; then
7767 eval "DEFAULT_$LINE"
7768 else
7769 no_cache=1
7770 fi
7771
7772 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7773
7774fi;
7775
7776 eval "$ac_cv_use_statusbar"
7777 if test "$no_cache" != 1; then
7778 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7779 fi
7780
7781 if test "$wxUSE_STATUSBAR" = yes; then
7782 echo "$as_me:$LINENO: result: yes" >&5
7783echo "${ECHO_T}yes" >&6
7784 else
7785 echo "$as_me:$LINENO: result: no" >&5
7786echo "${ECHO_T}no" >&6
7787 fi
7788
7789
7790 enablestring=
7791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7792echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7793 no_cache=0
7794 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7795if test "${enable_tabdialog+set}" = set; then
7796 enableval="$enable_tabdialog"
7797
7798 if test "$enableval" = yes; then
7799 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7800 else
7801 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7802 fi
7803
7804else
7805
7806 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7807 if test "x$LINE" != x ; then
7808 eval "DEFAULT_$LINE"
7809 else
7810 no_cache=1
7811 fi
7812
7813 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7814
7815fi;
7816
7817 eval "$ac_cv_use_tabdialog"
7818 if test "$no_cache" != 1; then
7819 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7820 fi
7821
7822 if test "$wxUSE_TABDIALOG" = yes; then
7823 echo "$as_me:$LINENO: result: yes" >&5
7824echo "${ECHO_T}yes" >&6
7825 else
7826 echo "$as_me:$LINENO: result: no" >&5
7827echo "${ECHO_T}no" >&6
7828 fi
7829
7830
7831 enablestring=
7832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7833echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7834 no_cache=0
7835 # Check whether --enable-textctrl or --disable-textctrl was given.
7836if test "${enable_textctrl+set}" = set; then
7837 enableval="$enable_textctrl"
7838
7839 if test "$enableval" = yes; then
7840 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7841 else
7842 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7843 fi
7844
7845else
7846
7847 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7848 if test "x$LINE" != x ; then
7849 eval "DEFAULT_$LINE"
7850 else
7851 no_cache=1
7852 fi
7853
7854 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7855
7856fi;
7857
7858 eval "$ac_cv_use_textctrl"
7859 if test "$no_cache" != 1; then
7860 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7861 fi
7862
7863 if test "$wxUSE_TEXTCTRL" = yes; then
7864 echo "$as_me:$LINENO: result: yes" >&5
7865echo "${ECHO_T}yes" >&6
7866 else
7867 echo "$as_me:$LINENO: result: no" >&5
7868echo "${ECHO_T}no" >&6
7869 fi
7870
7871
7872 enablestring=
7873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7874echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7875 no_cache=0
7876 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7877if test "${enable_togglebtn+set}" = set; then
7878 enableval="$enable_togglebtn"
7879
7880 if test "$enableval" = yes; then
7881 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7882 else
7883 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7884 fi
7885
7886else
7887
7888 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7889 if test "x$LINE" != x ; then
7890 eval "DEFAULT_$LINE"
7891 else
7892 no_cache=1
7893 fi
7894
7895 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7896
7897fi;
7898
7899 eval "$ac_cv_use_togglebtn"
7900 if test "$no_cache" != 1; then
7901 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7902 fi
7903
7904 if test "$wxUSE_TOGGLEBTN" = yes; then
7905 echo "$as_me:$LINENO: result: yes" >&5
7906echo "${ECHO_T}yes" >&6
7907 else
7908 echo "$as_me:$LINENO: result: no" >&5
7909echo "${ECHO_T}no" >&6
7910 fi
7911
7912
7913 enablestring=
7914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7915echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7916 no_cache=0
7917 # Check whether --enable-toolbar or --disable-toolbar was given.
7918if test "${enable_toolbar+set}" = set; then
7919 enableval="$enable_toolbar"
7920
7921 if test "$enableval" = yes; then
7922 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7923 else
7924 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7925 fi
7926
7927else
7928
7929 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7930 if test "x$LINE" != x ; then
7931 eval "DEFAULT_$LINE"
7932 else
7933 no_cache=1
7934 fi
7935
7936 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7937
7938fi;
7939
7940 eval "$ac_cv_use_toolbar"
7941 if test "$no_cache" != 1; then
7942 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7943 fi
7944
7945 if test "$wxUSE_TOOLBAR" = yes; then
7946 echo "$as_me:$LINENO: result: yes" >&5
7947echo "${ECHO_T}yes" >&6
7948 else
7949 echo "$as_me:$LINENO: result: no" >&5
7950echo "${ECHO_T}no" >&6
7951 fi
7952
7953
7954 enablestring=
7955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7956echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7957 no_cache=0
7958 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7959if test "${enable_tbarnative+set}" = set; then
7960 enableval="$enable_tbarnative"
7961
7962 if test "$enableval" = yes; then
7963 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7964 else
7965 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7966 fi
7967
7968else
7969
7970 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7971 if test "x$LINE" != x ; then
7972 eval "DEFAULT_$LINE"
7973 else
7974 no_cache=1
7975 fi
7976
7977 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7978
7979fi;
7980
7981 eval "$ac_cv_use_tbarnative"
7982 if test "$no_cache" != 1; then
7983 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7984 fi
7985
7986 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7987 echo "$as_me:$LINENO: result: yes" >&5
7988echo "${ECHO_T}yes" >&6
7989 else
7990 echo "$as_me:$LINENO: result: no" >&5
7991echo "${ECHO_T}no" >&6
7992 fi
7993
7994
7995 enablestring=
7996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7997echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7998 no_cache=0
7999 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8000if test "${enable_tbarsmpl+set}" = set; then
8001 enableval="$enable_tbarsmpl"
8002
8003 if test "$enableval" = yes; then
8004 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8005 else
8006 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8007 fi
8008
8009else
8010
8011 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8012 if test "x$LINE" != x ; then
8013 eval "DEFAULT_$LINE"
8014 else
8015 no_cache=1
8016 fi
8017
8018 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8019
8020fi;
8021
8022 eval "$ac_cv_use_tbarsmpl"
8023 if test "$no_cache" != 1; then
8024 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8025 fi
8026
8027 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8028 echo "$as_me:$LINENO: result: yes" >&5
8029echo "${ECHO_T}yes" >&6
8030 else
8031 echo "$as_me:$LINENO: result: no" >&5
8032echo "${ECHO_T}no" >&6
8033 fi
8034
8035
8036 enablestring=
8037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8038echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8039 no_cache=0
8040 # Check whether --enable-treectrl or --disable-treectrl was given.
8041if test "${enable_treectrl+set}" = set; then
8042 enableval="$enable_treectrl"
8043
8044 if test "$enableval" = yes; then
8045 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8046 else
8047 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8048 fi
8049
8050else
8051
8052 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8053 if test "x$LINE" != x ; then
8054 eval "DEFAULT_$LINE"
8055 else
8056 no_cache=1
8057 fi
8058
8059 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8060
8061fi;
8062
8063 eval "$ac_cv_use_treectrl"
8064 if test "$no_cache" != 1; then
8065 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8066 fi
8067
8068 if test "$wxUSE_TREECTRL" = yes; then
8069 echo "$as_me:$LINENO: result: yes" >&5
8070echo "${ECHO_T}yes" >&6
8071 else
8072 echo "$as_me:$LINENO: result: no" >&5
8073echo "${ECHO_T}no" >&6
8074 fi
8075
8076
8077 enablestring=
8078 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8079echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8080 no_cache=0
8081 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8082if test "${enable_tipwindow+set}" = set; then
8083 enableval="$enable_tipwindow"
8084
8085 if test "$enableval" = yes; then
8086 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8087 else
8088 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8089 fi
8090
8091else
8092
8093 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8094 if test "x$LINE" != x ; then
8095 eval "DEFAULT_$LINE"
8096 else
8097 no_cache=1
8098 fi
8099
8100 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8101
8102fi;
8103
8104 eval "$ac_cv_use_tipwindow"
8105 if test "$no_cache" != 1; then
8106 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8107 fi
8108
8109 if test "$wxUSE_TIPWINDOW" = yes; then
8110 echo "$as_me:$LINENO: result: yes" >&5
8111echo "${ECHO_T}yes" >&6
8112 else
8113 echo "$as_me:$LINENO: result: no" >&5
8114echo "${ECHO_T}no" >&6
8115 fi
8116
8117
8118 enablestring=
8119 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8120echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8121 no_cache=0
8122 # Check whether --enable-popupwin or --disable-popupwin was given.
8123if test "${enable_popupwin+set}" = set; then
8124 enableval="$enable_popupwin"
8125
8126 if test "$enableval" = yes; then
8127 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8128 else
8129 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8130 fi
8131
8132else
8133
8134 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8135 if test "x$LINE" != x ; then
8136 eval "DEFAULT_$LINE"
8137 else
8138 no_cache=1
8139 fi
8140
8141 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8142
8143fi;
8144
8145 eval "$ac_cv_use_popupwin"
8146 if test "$no_cache" != 1; then
8147 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8148 fi
8149
8150 if test "$wxUSE_POPUPWIN" = yes; then
8151 echo "$as_me:$LINENO: result: yes" >&5
8152echo "${ECHO_T}yes" >&6
8153 else
8154 echo "$as_me:$LINENO: result: no" >&5
8155echo "${ECHO_T}no" >&6
8156 fi
8157
8158
8159
8160
8161 enablestring=
8162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8163echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8164 no_cache=0
8165 # Check whether --enable-commondlg or --disable-commondlg was given.
8166if test "${enable_commondlg+set}" = set; then
8167 enableval="$enable_commondlg"
8168
8169 if test "$enableval" = yes; then
8170 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8171 else
8172 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8173 fi
8174
8175else
8176
8177 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8178 if test "x$LINE" != x ; then
8179 eval "DEFAULT_$LINE"
8180 else
8181 no_cache=1
8182 fi
8183
8184 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8185
8186fi;
8187
8188 eval "$ac_cv_use_commondlg"
8189 if test "$no_cache" != 1; then
8190 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8191 fi
8192
8193 if test "$wxUSE_COMMONDLGS" = yes; then
8194 echo "$as_me:$LINENO: result: yes" >&5
8195echo "${ECHO_T}yes" >&6
8196 else
8197 echo "$as_me:$LINENO: result: no" >&5
8198echo "${ECHO_T}no" >&6
8199 fi
8200
8201
8202 enablestring=
8203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8204echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8205 no_cache=0
8206 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8207if test "${enable_choicedlg+set}" = set; then
8208 enableval="$enable_choicedlg"
8209
8210 if test "$enableval" = yes; then
8211 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8212 else
8213 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8214 fi
8215
8216else
8217
8218 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8219 if test "x$LINE" != x ; then
8220 eval "DEFAULT_$LINE"
8221 else
8222 no_cache=1
8223 fi
8224
8225 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8226
8227fi;
8228
8229 eval "$ac_cv_use_choicedlg"
8230 if test "$no_cache" != 1; then
8231 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8232 fi
8233
8234 if test "$wxUSE_CHOICEDLG" = yes; then
8235 echo "$as_me:$LINENO: result: yes" >&5
8236echo "${ECHO_T}yes" >&6
8237 else
8238 echo "$as_me:$LINENO: result: no" >&5
8239echo "${ECHO_T}no" >&6
8240 fi
8241
8242
8243 enablestring=
8244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8245echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8246 no_cache=0
8247 # Check whether --enable-coldlg or --disable-coldlg was given.
8248if test "${enable_coldlg+set}" = set; then
8249 enableval="$enable_coldlg"
8250
8251 if test "$enableval" = yes; then
8252 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8253 else
8254 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8255 fi
8256
8257else
8258
8259 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8260 if test "x$LINE" != x ; then
8261 eval "DEFAULT_$LINE"
8262 else
8263 no_cache=1
8264 fi
8265
8266 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8267
8268fi;
8269
8270 eval "$ac_cv_use_coldlg"
8271 if test "$no_cache" != 1; then
8272 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8273 fi
8274
8275 if test "$wxUSE_COLOURDLG" = yes; then
8276 echo "$as_me:$LINENO: result: yes" >&5
8277echo "${ECHO_T}yes" >&6
8278 else
8279 echo "$as_me:$LINENO: result: no" >&5
8280echo "${ECHO_T}no" >&6
8281 fi
8282
8283
8284 enablestring=
8285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8286echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8287 no_cache=0
8288 # Check whether --enable-filedlg or --disable-filedlg was given.
8289if test "${enable_filedlg+set}" = set; then
8290 enableval="$enable_filedlg"
8291
8292 if test "$enableval" = yes; then
8293 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8294 else
8295 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8296 fi
8297
8298else
8299
8300 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8301 if test "x$LINE" != x ; then
8302 eval "DEFAULT_$LINE"
8303 else
8304 no_cache=1
8305 fi
8306
8307 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8308
8309fi;
8310
8311 eval "$ac_cv_use_filedlg"
8312 if test "$no_cache" != 1; then
8313 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8314 fi
8315
8316 if test "$wxUSE_FILEDLG" = yes; then
8317 echo "$as_me:$LINENO: result: yes" >&5
8318echo "${ECHO_T}yes" >&6
8319 else
8320 echo "$as_me:$LINENO: result: no" >&5
8321echo "${ECHO_T}no" >&6
8322 fi
8323
8324
8325 enablestring=
8326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8327echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8328 no_cache=0
8329 # Check whether --enable-finddlg or --disable-finddlg was given.
8330if test "${enable_finddlg+set}" = set; then
8331 enableval="$enable_finddlg"
8332
8333 if test "$enableval" = yes; then
8334 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8335 else
8336 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8337 fi
8338
8339else
8340
8341 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8342 if test "x$LINE" != x ; then
8343 eval "DEFAULT_$LINE"
8344 else
8345 no_cache=1
8346 fi
8347
8348 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8349
8350fi;
8351
8352 eval "$ac_cv_use_finddlg"
8353 if test "$no_cache" != 1; then
8354 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8355 fi
8356
8357 if test "$wxUSE_FINDREPLDLG" = yes; then
8358 echo "$as_me:$LINENO: result: yes" >&5
8359echo "${ECHO_T}yes" >&6
8360 else
8361 echo "$as_me:$LINENO: result: no" >&5
8362echo "${ECHO_T}no" >&6
8363 fi
8364
8365
8366 enablestring=
8367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8368echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8369 no_cache=0
8370 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8371if test "${enable_fontdlg+set}" = set; then
8372 enableval="$enable_fontdlg"
8373
8374 if test "$enableval" = yes; then
8375 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8376 else
8377 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8378 fi
8379
8380else
8381
8382 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8383 if test "x$LINE" != x ; then
8384 eval "DEFAULT_$LINE"
8385 else
8386 no_cache=1
8387 fi
8388
8389 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8390
8391fi;
8392
8393 eval "$ac_cv_use_fontdlg"
8394 if test "$no_cache" != 1; then
8395 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8396 fi
8397
8398 if test "$wxUSE_FONTDLG" = yes; then
8399 echo "$as_me:$LINENO: result: yes" >&5
8400echo "${ECHO_T}yes" >&6
8401 else
8402 echo "$as_me:$LINENO: result: no" >&5
8403echo "${ECHO_T}no" >&6
8404 fi
8405
8406
8407 enablestring=
8408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8409echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8410 no_cache=0
8411 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8412if test "${enable_dirdlg+set}" = set; then
8413 enableval="$enable_dirdlg"
8414
8415 if test "$enableval" = yes; then
8416 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8417 else
8418 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8419 fi
8420
8421else
8422
8423 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8424 if test "x$LINE" != x ; then
8425 eval "DEFAULT_$LINE"
8426 else
8427 no_cache=1
8428 fi
8429
8430 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8431
8432fi;
8433
8434 eval "$ac_cv_use_dirdlg"
8435 if test "$no_cache" != 1; then
8436 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8437 fi
8438
8439 if test "$wxUSE_DIRDLG" = yes; then
8440 echo "$as_me:$LINENO: result: yes" >&5
8441echo "${ECHO_T}yes" >&6
8442 else
8443 echo "$as_me:$LINENO: result: no" >&5
8444echo "${ECHO_T}no" >&6
8445 fi
8446
8447
8448 enablestring=
8449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8450echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8451 no_cache=0
8452 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8453if test "${enable_msgdlg+set}" = set; then
8454 enableval="$enable_msgdlg"
8455
8456 if test "$enableval" = yes; then
8457 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8458 else
8459 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8460 fi
8461
8462else
8463
8464 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8465 if test "x$LINE" != x ; then
8466 eval "DEFAULT_$LINE"
8467 else
8468 no_cache=1
8469 fi
8470
8471 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8472
8473fi;
8474
8475 eval "$ac_cv_use_msgdlg"
8476 if test "$no_cache" != 1; then
8477 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8478 fi
8479
8480 if test "$wxUSE_MSGDLG" = yes; then
8481 echo "$as_me:$LINENO: result: yes" >&5
8482echo "${ECHO_T}yes" >&6
8483 else
8484 echo "$as_me:$LINENO: result: no" >&5
8485echo "${ECHO_T}no" >&6
8486 fi
8487
8488
8489 enablestring=
8490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8491echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8492 no_cache=0
8493 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8494if test "${enable_numberdlg+set}" = set; then
8495 enableval="$enable_numberdlg"
8496
8497 if test "$enableval" = yes; then
8498 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8499 else
8500 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8501 fi
8502
8503else
8504
8505 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8506 if test "x$LINE" != x ; then
8507 eval "DEFAULT_$LINE"
8508 else
8509 no_cache=1
8510 fi
8511
8512 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8513
8514fi;
8515
8516 eval "$ac_cv_use_numberdlg"
8517 if test "$no_cache" != 1; then
8518 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8519 fi
8520
8521 if test "$wxUSE_NUMBERDLG" = yes; then
8522 echo "$as_me:$LINENO: result: yes" >&5
8523echo "${ECHO_T}yes" >&6
8524 else
8525 echo "$as_me:$LINENO: result: no" >&5
8526echo "${ECHO_T}no" >&6
8527 fi
8528
8529
8530 enablestring=
8531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8532echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8533 no_cache=0
8534 # Check whether --enable-splash or --disable-splash was given.
8535if test "${enable_splash+set}" = set; then
8536 enableval="$enable_splash"
8537
8538 if test "$enableval" = yes; then
8539 ac_cv_use_splash='wxUSE_SPLASH=yes'
8540 else
8541 ac_cv_use_splash='wxUSE_SPLASH=no'
8542 fi
8543
8544else
8545
8546 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8547 if test "x$LINE" != x ; then
8548 eval "DEFAULT_$LINE"
8549 else
8550 no_cache=1
8551 fi
8552
8553 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8554
8555fi;
8556
8557 eval "$ac_cv_use_splash"
8558 if test "$no_cache" != 1; then
8559 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8560 fi
8561
8562 if test "$wxUSE_SPLASH" = yes; then
8563 echo "$as_me:$LINENO: result: yes" >&5
8564echo "${ECHO_T}yes" >&6
8565 else
8566 echo "$as_me:$LINENO: result: no" >&5
8567echo "${ECHO_T}no" >&6
8568 fi
8569
8570
8571 enablestring=
8572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8573echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8574 no_cache=0
8575 # Check whether --enable-textdlg or --disable-textdlg was given.
8576if test "${enable_textdlg+set}" = set; then
8577 enableval="$enable_textdlg"
8578
8579 if test "$enableval" = yes; then
8580 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8581 else
8582 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8583 fi
8584
8585else
8586
8587 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8588 if test "x$LINE" != x ; then
8589 eval "DEFAULT_$LINE"
8590 else
8591 no_cache=1
8592 fi
8593
8594 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8595
8596fi;
8597
8598 eval "$ac_cv_use_textdlg"
8599 if test "$no_cache" != 1; then
8600 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8601 fi
8602
8603 if test "$wxUSE_TEXTDLG" = yes; then
8604 echo "$as_me:$LINENO: result: yes" >&5
8605echo "${ECHO_T}yes" >&6
8606 else
8607 echo "$as_me:$LINENO: result: no" >&5
8608echo "${ECHO_T}no" >&6
8609 fi
8610
8611
8612 enablestring=
8613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8614echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8615 no_cache=0
8616 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8617if test "${enable_tipdlg+set}" = set; then
8618 enableval="$enable_tipdlg"
8619
8620 if test "$enableval" = yes; then
8621 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8622 else
8623 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8624 fi
8625
8626else
8627
8628 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8629 if test "x$LINE" != x ; then
8630 eval "DEFAULT_$LINE"
8631 else
8632 no_cache=1
8633 fi
8634
8635 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8636
8637fi;
8638
8639 eval "$ac_cv_use_tipdlg"
8640 if test "$no_cache" != 1; then
8641 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8642 fi
8643
8644 if test "$wxUSE_STARTUP_TIPS" = yes; then
8645 echo "$as_me:$LINENO: result: yes" >&5
8646echo "${ECHO_T}yes" >&6
8647 else
8648 echo "$as_me:$LINENO: result: no" >&5
8649echo "${ECHO_T}no" >&6
8650 fi
8651
8652
8653 enablestring=
8654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8655echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8656 no_cache=0
8657 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8658if test "${enable_progressdlg+set}" = set; then
8659 enableval="$enable_progressdlg"
8660
8661 if test "$enableval" = yes; then
8662 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8663 else
8664 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8665 fi
8666
8667else
8668
8669 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8670 if test "x$LINE" != x ; then
8671 eval "DEFAULT_$LINE"
8672 else
8673 no_cache=1
8674 fi
8675
8676 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8677
8678fi;
8679
8680 eval "$ac_cv_use_progressdlg"
8681 if test "$no_cache" != 1; then
8682 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8683 fi
8684
8685 if test "$wxUSE_PROGRESSDLG" = yes; then
8686 echo "$as_me:$LINENO: result: yes" >&5
8687echo "${ECHO_T}yes" >&6
8688 else
8689 echo "$as_me:$LINENO: result: no" >&5
8690echo "${ECHO_T}no" >&6
8691 fi
8692
8693
8694 enablestring=
8695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8696echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8697 no_cache=0
8698 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8699if test "${enable_wizarddlg+set}" = set; then
8700 enableval="$enable_wizarddlg"
8701
8702 if test "$enableval" = yes; then
8703 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8704 else
8705 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8706 fi
8707
8708else
8709
8710 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8711 if test "x$LINE" != x ; then
8712 eval "DEFAULT_$LINE"
8713 else
8714 no_cache=1
8715 fi
8716
8717 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8718
8719fi;
8720
8721 eval "$ac_cv_use_wizarddlg"
8722 if test "$no_cache" != 1; then
8723 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8724 fi
8725
8726 if test "$wxUSE_WIZARDDLG" = yes; then
8727 echo "$as_me:$LINENO: result: yes" >&5
8728echo "${ECHO_T}yes" >&6
8729 else
8730 echo "$as_me:$LINENO: result: no" >&5
8731echo "${ECHO_T}no" >&6
8732 fi
8733
8734
8735
8736
8737 enablestring=
8738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8739echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8740 no_cache=0
8741 # Check whether --enable-menus or --disable-menus was given.
8742if test "${enable_menus+set}" = set; then
8743 enableval="$enable_menus"
8744
8745 if test "$enableval" = yes; then
8746 ac_cv_use_menus='wxUSE_MENUS=yes'
8747 else
8748 ac_cv_use_menus='wxUSE_MENUS=no'
8749 fi
8750
8751else
8752
8753 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8754 if test "x$LINE" != x ; then
8755 eval "DEFAULT_$LINE"
8756 else
8757 no_cache=1
8758 fi
8759
8760 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8761
8762fi;
8763
8764 eval "$ac_cv_use_menus"
8765 if test "$no_cache" != 1; then
8766 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8767 fi
8768
8769 if test "$wxUSE_MENUS" = yes; then
8770 echo "$as_me:$LINENO: result: yes" >&5
8771echo "${ECHO_T}yes" >&6
8772 else
8773 echo "$as_me:$LINENO: result: no" >&5
8774echo "${ECHO_T}no" >&6
8775 fi
8776
8777
8778 enablestring=
8779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8780echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8781 no_cache=0
8782 # Check whether --enable-miniframe or --disable-miniframe was given.
8783if test "${enable_miniframe+set}" = set; then
8784 enableval="$enable_miniframe"
8785
8786 if test "$enableval" = yes; then
8787 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8788 else
8789 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8790 fi
8791
8792else
8793
8794 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8795 if test "x$LINE" != x ; then
8796 eval "DEFAULT_$LINE"
8797 else
8798 no_cache=1
8799 fi
8800
8801 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8802
8803fi;
8804
8805 eval "$ac_cv_use_miniframe"
8806 if test "$no_cache" != 1; then
8807 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8808 fi
8809
8810 if test "$wxUSE_MINIFRAME" = yes; then
8811 echo "$as_me:$LINENO: result: yes" >&5
8812echo "${ECHO_T}yes" >&6
8813 else
8814 echo "$as_me:$LINENO: result: no" >&5
8815echo "${ECHO_T}no" >&6
8816 fi
8817
8818
8819 enablestring=
8820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8821echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8822 no_cache=0
8823 # Check whether --enable-tooltips or --disable-tooltips was given.
8824if test "${enable_tooltips+set}" = set; then
8825 enableval="$enable_tooltips"
8826
8827 if test "$enableval" = yes; then
8828 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8829 else
8830 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8831 fi
8832
8833else
8834
8835 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8836 if test "x$LINE" != x ; then
8837 eval "DEFAULT_$LINE"
8838 else
8839 no_cache=1
8840 fi
8841
8842 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8843
8844fi;
8845
8846 eval "$ac_cv_use_tooltips"
8847 if test "$no_cache" != 1; then
8848 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8849 fi
8850
8851 if test "$wxUSE_TOOLTIPS" = yes; then
8852 echo "$as_me:$LINENO: result: yes" >&5
8853echo "${ECHO_T}yes" >&6
8854 else
8855 echo "$as_me:$LINENO: result: no" >&5
8856echo "${ECHO_T}no" >&6
8857 fi
8858
8859
8860 enablestring=
8861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8862echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8863 no_cache=0
8864 # Check whether --enable-splines or --disable-splines was given.
8865if test "${enable_splines+set}" = set; then
8866 enableval="$enable_splines"
8867
8868 if test "$enableval" = yes; then
8869 ac_cv_use_splines='wxUSE_SPLINES=yes'
8870 else
8871 ac_cv_use_splines='wxUSE_SPLINES=no'
8872 fi
8873
8874else
8875
8876 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8877 if test "x$LINE" != x ; then
8878 eval "DEFAULT_$LINE"
8879 else
8880 no_cache=1
8881 fi
8882
8883 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8884
8885fi;
8886
8887 eval "$ac_cv_use_splines"
8888 if test "$no_cache" != 1; then
8889 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8890 fi
8891
8892 if test "$wxUSE_SPLINES" = yes; then
8893 echo "$as_me:$LINENO: result: yes" >&5
8894echo "${ECHO_T}yes" >&6
8895 else
8896 echo "$as_me:$LINENO: result: no" >&5
8897echo "${ECHO_T}no" >&6
8898 fi
8899
8900
8901 enablestring=
8902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8903echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8904 no_cache=0
8905 # Check whether --enable-validators or --disable-validators was given.
8906if test "${enable_validators+set}" = set; then
8907 enableval="$enable_validators"
8908
8909 if test "$enableval" = yes; then
8910 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8911 else
8912 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8913 fi
8914
8915else
8916
8917 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8918 if test "x$LINE" != x ; then
8919 eval "DEFAULT_$LINE"
8920 else
8921 no_cache=1
8922 fi
8923
8924 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8925
8926fi;
8927
8928 eval "$ac_cv_use_validators"
8929 if test "$no_cache" != 1; then
8930 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8931 fi
8932
8933 if test "$wxUSE_VALIDATORS" = yes; then
8934 echo "$as_me:$LINENO: result: yes" >&5
8935echo "${ECHO_T}yes" >&6
8936 else
8937 echo "$as_me:$LINENO: result: no" >&5
8938echo "${ECHO_T}no" >&6
8939 fi
8940
8941
8942 enablestring=
8943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8944echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8945 no_cache=0
8946 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8947if test "${enable_busyinfo+set}" = set; then
8948 enableval="$enable_busyinfo"
8949
8950 if test "$enableval" = yes; then
8951 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8952 else
8953 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8954 fi
8955
8956else
8957
8958 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8959 if test "x$LINE" != x ; then
8960 eval "DEFAULT_$LINE"
8961 else
8962 no_cache=1
8963 fi
8964
8965 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8966
8967fi;
8968
8969 eval "$ac_cv_use_busyinfo"
8970 if test "$no_cache" != 1; then
8971 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8972 fi
8973
8974 if test "$wxUSE_BUSYINFO" = yes; then
8975 echo "$as_me:$LINENO: result: yes" >&5
8976echo "${ECHO_T}yes" >&6
8977 else
8978 echo "$as_me:$LINENO: result: no" >&5
8979echo "${ECHO_T}no" >&6
8980 fi
8981
8982
8983 enablestring=
8984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8985echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8986 no_cache=0
8987 # Check whether --enable-joystick or --disable-joystick was given.
8988if test "${enable_joystick+set}" = set; then
8989 enableval="$enable_joystick"
8990
8991 if test "$enableval" = yes; then
8992 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8993 else
8994 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8995 fi
8996
8997else
8998
8999 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9000 if test "x$LINE" != x ; then
9001 eval "DEFAULT_$LINE"
9002 else
9003 no_cache=1
9004 fi
9005
9006 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9007
9008fi;
9009
9010 eval "$ac_cv_use_joystick"
9011 if test "$no_cache" != 1; then
9012 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9013 fi
9014
9015 if test "$wxUSE_JOYSTICK" = yes; then
9016 echo "$as_me:$LINENO: result: yes" >&5
9017echo "${ECHO_T}yes" >&6
9018 else
9019 echo "$as_me:$LINENO: result: no" >&5
9020echo "${ECHO_T}no" >&6
9021 fi
9022
9023
9024 enablestring=
9025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9026echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9027 no_cache=0
9028 # Check whether --enable-metafile or --disable-metafile was given.
9029if test "${enable_metafile+set}" = set; then
9030 enableval="$enable_metafile"
9031
9032 if test "$enableval" = yes; then
9033 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9034 else
9035 ac_cv_use_metafile='wxUSE_METAFILE=no'
9036 fi
9037
9038else
9039
9040 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9041 if test "x$LINE" != x ; then
9042 eval "DEFAULT_$LINE"
9043 else
9044 no_cache=1
9045 fi
9046
9047 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9048
9049fi;
9050
9051 eval "$ac_cv_use_metafile"
9052 if test "$no_cache" != 1; then
9053 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9054 fi
9055
9056 if test "$wxUSE_METAFILE" = yes; then
9057 echo "$as_me:$LINENO: result: yes" >&5
9058echo "${ECHO_T}yes" >&6
9059 else
9060 echo "$as_me:$LINENO: result: no" >&5
9061echo "${ECHO_T}no" >&6
9062 fi
9063
9064
9065 enablestring=
9066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9067echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9068 no_cache=0
9069 # Check whether --enable-dragimage or --disable-dragimage was given.
9070if test "${enable_dragimage+set}" = set; then
9071 enableval="$enable_dragimage"
9072
9073 if test "$enableval" = yes; then
9074 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9075 else
9076 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9077 fi
9078
9079else
9080
9081 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9082 if test "x$LINE" != x ; then
9083 eval "DEFAULT_$LINE"
9084 else
9085 no_cache=1
9086 fi
9087
9088 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9089
9090fi;
9091
9092 eval "$ac_cv_use_dragimage"
9093 if test "$no_cache" != 1; then
9094 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9095 fi
9096
9097 if test "$wxUSE_DRAGIMAGE" = yes; then
9098 echo "$as_me:$LINENO: result: yes" >&5
9099echo "${ECHO_T}yes" >&6
9100 else
9101 echo "$as_me:$LINENO: result: no" >&5
9102echo "${ECHO_T}no" >&6
9103 fi
9104
9105
9106 enablestring=
9107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9108echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9109 no_cache=0
9110 # Check whether --enable-accessibility or --disable-accessibility was given.
9111if test "${enable_accessibility+set}" = set; then
9112 enableval="$enable_accessibility"
9113
9114 if test "$enableval" = yes; then
9115 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9116 else
9117 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9118 fi
9119
9120else
9121
9122 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9123 if test "x$LINE" != x ; then
9124 eval "DEFAULT_$LINE"
9125 else
9126 no_cache=1
9127 fi
9128
9129 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9130
9131fi;
9132
9133 eval "$ac_cv_use_accessibility"
9134 if test "$no_cache" != 1; then
9135 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9136 fi
9137
9138 if test "$wxUSE_ACCESSIBILITY" = yes; then
9139 echo "$as_me:$LINENO: result: yes" >&5
9140echo "${ECHO_T}yes" >&6
9141 else
9142 echo "$as_me:$LINENO: result: no" >&5
9143echo "${ECHO_T}no" >&6
9144 fi
9145
9146
9147
9148
9149 enablestring=
9150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9151echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9152 no_cache=0
9153 # Check whether --enable-palette or --disable-palette was given.
9154if test "${enable_palette+set}" = set; then
9155 enableval="$enable_palette"
9156
9157 if test "$enableval" = yes; then
9158 ac_cv_use_palette='wxUSE_PALETTE=yes'
9159 else
9160 ac_cv_use_palette='wxUSE_PALETTE=no'
9161 fi
9162
9163else
9164
9165 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9166 if test "x$LINE" != x ; then
9167 eval "DEFAULT_$LINE"
9168 else
9169 no_cache=1
9170 fi
9171
9172 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9173
9174fi;
9175
9176 eval "$ac_cv_use_palette"
9177 if test "$no_cache" != 1; then
9178 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9179 fi
9180
9181 if test "$wxUSE_PALETTE" = yes; then
9182 echo "$as_me:$LINENO: result: yes" >&5
9183echo "${ECHO_T}yes" >&6
9184 else
9185 echo "$as_me:$LINENO: result: no" >&5
9186echo "${ECHO_T}no" >&6
9187 fi
9188
9189
9190 enablestring=
9191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9192echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9193 no_cache=0
9194 # Check whether --enable-image or --disable-image was given.
9195if test "${enable_image+set}" = set; then
9196 enableval="$enable_image"
9197
9198 if test "$enableval" = yes; then
9199 ac_cv_use_image='wxUSE_IMAGE=yes'
9200 else
9201 ac_cv_use_image='wxUSE_IMAGE=no'
9202 fi
9203
9204else
9205
9206 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9207 if test "x$LINE" != x ; then
9208 eval "DEFAULT_$LINE"
9209 else
9210 no_cache=1
9211 fi
9212
9213 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9214
9215fi;
9216
9217 eval "$ac_cv_use_image"
9218 if test "$no_cache" != 1; then
9219 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9220 fi
9221
9222 if test "$wxUSE_IMAGE" = yes; then
9223 echo "$as_me:$LINENO: result: yes" >&5
9224echo "${ECHO_T}yes" >&6
9225 else
9226 echo "$as_me:$LINENO: result: no" >&5
9227echo "${ECHO_T}no" >&6
9228 fi
9229
9230
9231 enablestring=
9232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9233echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9234 no_cache=0
9235 # Check whether --enable-gif or --disable-gif was given.
9236if test "${enable_gif+set}" = set; then
9237 enableval="$enable_gif"
9238
9239 if test "$enableval" = yes; then
9240 ac_cv_use_gif='wxUSE_GIF=yes'
9241 else
9242 ac_cv_use_gif='wxUSE_GIF=no'
9243 fi
9244
9245else
9246
9247 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9248 if test "x$LINE" != x ; then
9249 eval "DEFAULT_$LINE"
9250 else
9251 no_cache=1
9252 fi
9253
9254 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9255
9256fi;
9257
9258 eval "$ac_cv_use_gif"
9259 if test "$no_cache" != 1; then
9260 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9261 fi
9262
9263 if test "$wxUSE_GIF" = yes; then
9264 echo "$as_me:$LINENO: result: yes" >&5
9265echo "${ECHO_T}yes" >&6
9266 else
9267 echo "$as_me:$LINENO: result: no" >&5
9268echo "${ECHO_T}no" >&6
9269 fi
9270
9271
9272 enablestring=
9273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9274echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9275 no_cache=0
9276 # Check whether --enable-pcx or --disable-pcx was given.
9277if test "${enable_pcx+set}" = set; then
9278 enableval="$enable_pcx"
9279
9280 if test "$enableval" = yes; then
9281 ac_cv_use_pcx='wxUSE_PCX=yes'
9282 else
9283 ac_cv_use_pcx='wxUSE_PCX=no'
9284 fi
9285
9286else
9287
9288 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9289 if test "x$LINE" != x ; then
9290 eval "DEFAULT_$LINE"
9291 else
9292 no_cache=1
9293 fi
9294
9295 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9296
9297fi;
9298
9299 eval "$ac_cv_use_pcx"
9300 if test "$no_cache" != 1; then
9301 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9302 fi
9303
9304 if test "$wxUSE_PCX" = yes; then
9305 echo "$as_me:$LINENO: result: yes" >&5
9306echo "${ECHO_T}yes" >&6
9307 else
9308 echo "$as_me:$LINENO: result: no" >&5
9309echo "${ECHO_T}no" >&6
9310 fi
9311
9312
9313 enablestring=
9314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9315echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9316 no_cache=0
9317 # Check whether --enable-iff or --disable-iff was given.
9318if test "${enable_iff+set}" = set; then
9319 enableval="$enable_iff"
9320
9321 if test "$enableval" = yes; then
9322 ac_cv_use_iff='wxUSE_IFF=yes'
9323 else
9324 ac_cv_use_iff='wxUSE_IFF=no'
9325 fi
9326
9327else
9328
9329 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9330 if test "x$LINE" != x ; then
9331 eval "DEFAULT_$LINE"
9332 else
9333 no_cache=1
9334 fi
9335
9336 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9337
9338fi;
9339
9340 eval "$ac_cv_use_iff"
9341 if test "$no_cache" != 1; then
9342 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9343 fi
9344
9345 if test "$wxUSE_IFF" = yes; then
9346 echo "$as_me:$LINENO: result: yes" >&5
9347echo "${ECHO_T}yes" >&6
9348 else
9349 echo "$as_me:$LINENO: result: no" >&5
9350echo "${ECHO_T}no" >&6
9351 fi
9352
9353
9354 enablestring=
9355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9356echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9357 no_cache=0
9358 # Check whether --enable-pnm or --disable-pnm was given.
9359if test "${enable_pnm+set}" = set; then
9360 enableval="$enable_pnm"
9361
9362 if test "$enableval" = yes; then
9363 ac_cv_use_pnm='wxUSE_PNM=yes'
9364 else
9365 ac_cv_use_pnm='wxUSE_PNM=no'
9366 fi
9367
9368else
9369
9370 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9371 if test "x$LINE" != x ; then
9372 eval "DEFAULT_$LINE"
9373 else
9374 no_cache=1
9375 fi
9376
9377 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9378
9379fi;
9380
9381 eval "$ac_cv_use_pnm"
9382 if test "$no_cache" != 1; then
9383 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9384 fi
9385
9386 if test "$wxUSE_PNM" = yes; then
9387 echo "$as_me:$LINENO: result: yes" >&5
9388echo "${ECHO_T}yes" >&6
9389 else
9390 echo "$as_me:$LINENO: result: no" >&5
9391echo "${ECHO_T}no" >&6
9392 fi
9393
9394
9395 enablestring=
9396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9397echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9398 no_cache=0
9399 # Check whether --enable-xpm or --disable-xpm was given.
9400if test "${enable_xpm+set}" = set; then
9401 enableval="$enable_xpm"
9402
9403 if test "$enableval" = yes; then
9404 ac_cv_use_xpm='wxUSE_XPM=yes'
9405 else
9406 ac_cv_use_xpm='wxUSE_XPM=no'
9407 fi
9408
9409else
9410
9411 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9412 if test "x$LINE" != x ; then
9413 eval "DEFAULT_$LINE"
9414 else
9415 no_cache=1
9416 fi
9417
9418 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9419
9420fi;
9421
9422 eval "$ac_cv_use_xpm"
9423 if test "$no_cache" != 1; then
9424 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9425 fi
9426
9427 if test "$wxUSE_XPM" = yes; then
9428 echo "$as_me:$LINENO: result: yes" >&5
9429echo "${ECHO_T}yes" >&6
9430 else
9431 echo "$as_me:$LINENO: result: no" >&5
9432echo "${ECHO_T}no" >&6
9433 fi
9434
9435
9436 enablestring=
9437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9438echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9439 no_cache=0
9440 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9441if test "${enable_ico_cur+set}" = set; then
9442 enableval="$enable_ico_cur"
9443
9444 if test "$enableval" = yes; then
9445 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9446 else
9447 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9448 fi
9449
9450else
9451
9452 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9453 if test "x$LINE" != x ; then
9454 eval "DEFAULT_$LINE"
9455 else
9456 no_cache=1
9457 fi
9458
9459 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9460
9461fi;
9462
9463 eval "$ac_cv_use_ico_cur"
9464 if test "$no_cache" != 1; then
9465 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9466 fi
9467
9468 if test "$wxUSE_ICO_CUR" = yes; then
9469 echo "$as_me:$LINENO: result: yes" >&5
9470echo "${ECHO_T}yes" >&6
9471 else
9472 echo "$as_me:$LINENO: result: no" >&5
9473echo "${ECHO_T}no" >&6
9474 fi
9475
9476
9477fi
9478
9479
9480
9481 enablestring=
9482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9483echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9484 no_cache=0
9485 # Check whether --enable-official_build or --disable-official_build was given.
9486if test "${enable_official_build+set}" = set; then
9487 enableval="$enable_official_build"
9488
9489 if test "$enableval" = yes; then
9490 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9491 else
9492 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9493 fi
9494
9495else
9496
9497 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9498 if test "x$LINE" != x ; then
9499 eval "DEFAULT_$LINE"
9500 else
9501 no_cache=1
9502 fi
9503
9504 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9505
9506fi;
9507
9508 eval "$ac_cv_use_official_build"
9509 if test "$no_cache" != 1; then
9510 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9511 fi
9512
9513 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9514 echo "$as_me:$LINENO: result: yes" >&5
9515echo "${ECHO_T}yes" >&6
9516 else
9517 echo "$as_me:$LINENO: result: no" >&5
9518echo "${ECHO_T}no" >&6
9519 fi
9520
9521# Check whether --enable-vendor or --disable-vendor was given.
9522if test "${enable_vendor+set}" = set; then
9523 enableval="$enable_vendor"
9524 VENDOR="$enableval"
9525fi;
9526if test "x$VENDOR" = "x"; then
9527 VENDOR="custom"
9528fi
9529
9530case "${host}" in
9531 *-pc-os2_emx | *-pc-os2-emx )
9532 PATH_IFS=';'
9533 ;;
9534 *)
9535 PATH_IFS=':'
9536 ;;
9537esac
9538
9539
9540
9541 echo "saving argument cache $wx_arg_cache_file"
9542 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9543
9544
9545
9546echo "$as_me:$LINENO: checking for toolkit" >&5
9547echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9548
9549# In Wine, we need to default to MSW, not GTK or MOTIF
9550if test "$wxUSE_WINE" = "yes"; then
9551 DEFAULT_DEFAULT_wxUSE_GTK=0
9552 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9553 DEFAULT_DEFAULT_wxUSE_MSW=1
9554fi
9555
9556if test "$wxUSE_GUI" = "yes"; then
9557
9558 if test "$USE_BEOS" = 1; then
9559 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9560echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9561 { (exit 1); exit 1; }; }
9562 fi
9563
9564 if test "$TOOLKIT_GIVEN" = 1; then
9565 for toolkit in `echo $ALL_TOOLKITS`; do
9566 var=wxUSE_$toolkit
9567 eval "value=\$${var}"
9568 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9569 done
9570 else
9571 for toolkit in `echo $ALL_TOOLKITS`; do
9572 if test "$has_toolkit_in_cache" != 1; then
9573 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9574 else
9575 var=DEFAULT_wxUSE_$toolkit
9576 fi
9577 eval "wxUSE_$toolkit=\$${var}"
9578 done
9579 fi
9580
9581 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9582 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9583 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9584
9585 case "${host}" in
9586 *-pc-os2_emx | *-pc-os2-emx )
9587 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9588 esac
9589
9590 case "$NUM_TOOLKITS" in
9591 1)
9592 ;;
9593 0)
9594 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9595echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9596 { (exit 1); exit 1; }; }
9597 ;;
9598 *)
9599 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9600echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9601 { (exit 1); exit 1; }; }
9602 esac
9603
9604 for toolkit in `echo $ALL_TOOLKITS`; do
9605 var=wxUSE_$toolkit
9606 eval "value=\$${var}"
9607 if test "x$value" != x; then
9608 cache_var=CACHE_$toolkit
9609 eval "cache=\$${cache_var}"
9610 if test "$cache" = 1; then
9611 echo "$var=$value" >> ${wx_arg_cache_file}
9612 fi
9613 if test "$value" = 1; then
9614 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9615 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9616echo "${ECHO_T}$toolkit_echo" >&6
9617 fi
9618 fi
9619 done
9620else
9621 if test "x$host_alias" != "x"; then
9622 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9623echo "${ECHO_T}base ($host_alias hosted) only" >&6
9624 else
9625 echo "$as_me:$LINENO: result: base only" >&5
9626echo "${ECHO_T}base only" >&6
9627 fi
9628fi
9629
9630wants_win32=0
9631doesnt_want_win32=0
9632case "${host}" in
9633 *-*-cygwin*)
9634 if test "$wxUSE_MSW" = 1 ; then
9635 wants_win32=1
9636 else
9637 doesnt_want_win32=1
9638 fi
9639 ;;
9640 *-*-mingw*)
9641 wants_win32=1
9642 ;;
9643esac
9644
9645if test "$wxUSE_WINE" = "yes"; then
9646 wants_win32=1
9647 CC=winegcc
9648 CXX=wineg++
9649 RESCOMP=wrc
9650fi
9651
9652if test "$wants_win32" = 1 ; then
9653 USE_UNIX=0
9654 USE_WIN32=1
9655 cat >>confdefs.h <<\_ACEOF
9656#define __WIN32__ 1
9657_ACEOF
9658
9659 cat >>confdefs.h <<\_ACEOF
9660#define __WIN95__ 1
9661_ACEOF
9662
9663 cat >>confdefs.h <<\_ACEOF
9664#define __WINDOWS__ 1
9665_ACEOF
9666
9667 cat >>confdefs.h <<\_ACEOF
9668#define __GNUWIN32__ 1
9669_ACEOF
9670
9671 cat >>confdefs.h <<\_ACEOF
9672#define STRICT 1
9673_ACEOF
9674
9675 cat >>confdefs.h <<\_ACEOF
9676#define WINVER 0x0400
9677_ACEOF
9678
9679fi
9680if test "$doesnt_want_win32" = 1 ; then
9681 USE_UNIX=1
9682 USE_WIN32=0
9683fi
9684
9685if test "$USE_UNIX" = 1 ; then
9686 wxUSE_UNIX=yes
9687 cat >>confdefs.h <<\_ACEOF
9688#define __UNIX__ 1
9689_ACEOF
9690
9691fi
9692
9693
9694cat >confcache <<\_ACEOF
9695# This file is a shell script that caches the results of configure
9696# tests run on this system so they can be shared between configure
9697# scripts and configure runs, see configure's option --config-cache.
9698# It is not useful on other systems. If it contains results you don't
9699# want to keep, you may remove or edit it.
9700#
9701# config.status only pays attention to the cache file if you give it
9702# the --recheck option to rerun configure.
9703#
9704# `ac_cv_env_foo' variables (set or unset) will be overridden when
9705# loading this file, other *unset* `ac_cv_foo' will be assigned the
9706# following values.
9707
9708_ACEOF
9709
9710# The following way of writing the cache mishandles newlines in values,
9711# but we know of no workaround that is simple, portable, and efficient.
9712# So, don't put newlines in cache variables' values.
9713# Ultrix sh set writes to stderr and can't be redirected directly,
9714# and sets the high bit in the cache file unless we assign to the vars.
9715{
9716 (set) 2>&1 |
9717 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9718 *ac_space=\ *)
9719 # `set' does not quote correctly, so add quotes (double-quote
9720 # substitution turns \\\\ into \\, and sed turns \\ into \).
9721 sed -n \
9722 "s/'/'\\\\''/g;
9723 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9724 ;;
9725 *)
9726 # `set' quotes correctly as required by POSIX, so do not add quotes.
9727 sed -n \
9728 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9729 ;;
9730 esac;
9731} |
9732 sed '
9733 t clear
9734 : clear
9735 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9736 t end
9737 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9738 : end' >>confcache
9739if diff $cache_file confcache >/dev/null 2>&1; then :; else
9740 if test -w $cache_file; then
9741 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9742 cat confcache >$cache_file
9743 else
9744 echo "not updating unwritable cache $cache_file"
9745 fi
9746fi
9747rm -f confcache
9748
9749if test "$build" != "$host" ; then
9750 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9751 CC=$host_alias-gcc
9752 CXX=$host_alias-c++
9753 AR=$host_alias-ar
9754 RANLIB=$host_alias-ranlib
9755 DLLTOOL=$host_alias-dlltool
9756 RESCOMP=$host_alias-windres
9757 LD=$host_alias-ld
9758 NM=$host_alias-nm
9759 STRIP=$host_alias-strip
9760 else
9761 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9762echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9763 { (exit 1); exit 1; }; }
9764 fi
9765fi
9766
9767CFLAGS=${CFLAGS:=}
9768ac_ext=c
9769ac_cpp='$CPP $CPPFLAGS'
9770ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9771ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9772ac_compiler_gnu=$ac_cv_c_compiler_gnu
9773if test -n "$ac_tool_prefix"; then
9774 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9775set dummy ${ac_tool_prefix}gcc; ac_word=$2
9776echo "$as_me:$LINENO: checking for $ac_word" >&5
9777echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9778if test "${ac_cv_prog_CC+set}" = set; then
9779 echo $ECHO_N "(cached) $ECHO_C" >&6
9780else
9781 if test -n "$CC"; then
9782 ac_cv_prog_CC="$CC" # Let the user override the test.
9783else
9784as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9785for as_dir in $PATH
9786do
9787 IFS=$as_save_IFS
9788 test -z "$as_dir" && as_dir=.
9789 for ac_exec_ext in '' $ac_executable_extensions; do
9790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9791 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9793 break 2
9794 fi
9795done
9796done
9797
9798fi
9799fi
9800CC=$ac_cv_prog_CC
9801if test -n "$CC"; then
9802 echo "$as_me:$LINENO: result: $CC" >&5
9803echo "${ECHO_T}$CC" >&6
9804else
9805 echo "$as_me:$LINENO: result: no" >&5
9806echo "${ECHO_T}no" >&6
9807fi
9808
9809fi
9810if test -z "$ac_cv_prog_CC"; then
9811 ac_ct_CC=$CC
9812 # Extract the first word of "gcc", so it can be a program name with args.
9813set dummy gcc; ac_word=$2
9814echo "$as_me:$LINENO: checking for $ac_word" >&5
9815echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9816if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9817 echo $ECHO_N "(cached) $ECHO_C" >&6
9818else
9819 if test -n "$ac_ct_CC"; then
9820 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9821else
9822as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9823for as_dir in $PATH
9824do
9825 IFS=$as_save_IFS
9826 test -z "$as_dir" && as_dir=.
9827 for ac_exec_ext in '' $ac_executable_extensions; do
9828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9829 ac_cv_prog_ac_ct_CC="gcc"
9830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9831 break 2
9832 fi
9833done
9834done
9835
9836fi
9837fi
9838ac_ct_CC=$ac_cv_prog_ac_ct_CC
9839if test -n "$ac_ct_CC"; then
9840 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9841echo "${ECHO_T}$ac_ct_CC" >&6
9842else
9843 echo "$as_me:$LINENO: result: no" >&5
9844echo "${ECHO_T}no" >&6
9845fi
9846
9847 CC=$ac_ct_CC
9848else
9849 CC="$ac_cv_prog_CC"
9850fi
9851
9852if test -z "$CC"; then
9853 if test -n "$ac_tool_prefix"; then
9854 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9855set dummy ${ac_tool_prefix}cc; ac_word=$2
9856echo "$as_me:$LINENO: checking for $ac_word" >&5
9857echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9858if test "${ac_cv_prog_CC+set}" = set; then
9859 echo $ECHO_N "(cached) $ECHO_C" >&6
9860else
9861 if test -n "$CC"; then
9862 ac_cv_prog_CC="$CC" # Let the user override the test.
9863else
9864as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9865for as_dir in $PATH
9866do
9867 IFS=$as_save_IFS
9868 test -z "$as_dir" && as_dir=.
9869 for ac_exec_ext in '' $ac_executable_extensions; do
9870 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9871 ac_cv_prog_CC="${ac_tool_prefix}cc"
9872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9873 break 2
9874 fi
9875done
9876done
9877
9878fi
9879fi
9880CC=$ac_cv_prog_CC
9881if test -n "$CC"; then
9882 echo "$as_me:$LINENO: result: $CC" >&5
9883echo "${ECHO_T}$CC" >&6
9884else
9885 echo "$as_me:$LINENO: result: no" >&5
9886echo "${ECHO_T}no" >&6
9887fi
9888
9889fi
9890if test -z "$ac_cv_prog_CC"; then
9891 ac_ct_CC=$CC
9892 # Extract the first word of "cc", so it can be a program name with args.
9893set dummy cc; ac_word=$2
9894echo "$as_me:$LINENO: checking for $ac_word" >&5
9895echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9896if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9897 echo $ECHO_N "(cached) $ECHO_C" >&6
9898else
9899 if test -n "$ac_ct_CC"; then
9900 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9901else
9902as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9903for as_dir in $PATH
9904do
9905 IFS=$as_save_IFS
9906 test -z "$as_dir" && as_dir=.
9907 for ac_exec_ext in '' $ac_executable_extensions; do
9908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9909 ac_cv_prog_ac_ct_CC="cc"
9910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9911 break 2
9912 fi
9913done
9914done
9915
9916fi
9917fi
9918ac_ct_CC=$ac_cv_prog_ac_ct_CC
9919if test -n "$ac_ct_CC"; then
9920 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9921echo "${ECHO_T}$ac_ct_CC" >&6
9922else
9923 echo "$as_me:$LINENO: result: no" >&5
9924echo "${ECHO_T}no" >&6
9925fi
9926
9927 CC=$ac_ct_CC
9928else
9929 CC="$ac_cv_prog_CC"
9930fi
9931
9932fi
9933if test -z "$CC"; then
9934 # Extract the first word of "cc", so it can be a program name with args.
9935set dummy cc; ac_word=$2
9936echo "$as_me:$LINENO: checking for $ac_word" >&5
9937echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9938if test "${ac_cv_prog_CC+set}" = set; then
9939 echo $ECHO_N "(cached) $ECHO_C" >&6
9940else
9941 if test -n "$CC"; then
9942 ac_cv_prog_CC="$CC" # Let the user override the test.
9943else
9944 ac_prog_rejected=no
9945as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9946for as_dir in $PATH
9947do
9948 IFS=$as_save_IFS
9949 test -z "$as_dir" && as_dir=.
9950 for ac_exec_ext in '' $ac_executable_extensions; do
9951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9952 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9953 ac_prog_rejected=yes
9954 continue
9955 fi
9956 ac_cv_prog_CC="cc"
9957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9958 break 2
9959 fi
9960done
9961done
9962
9963if test $ac_prog_rejected = yes; then
9964 # We found a bogon in the path, so make sure we never use it.
9965 set dummy $ac_cv_prog_CC
9966 shift
9967 if test $# != 0; then
9968 # We chose a different compiler from the bogus one.
9969 # However, it has the same basename, so the bogon will be chosen
9970 # first if we set CC to just the basename; use the full file name.
9971 shift
9972 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9973 fi
9974fi
9975fi
9976fi
9977CC=$ac_cv_prog_CC
9978if test -n "$CC"; then
9979 echo "$as_me:$LINENO: result: $CC" >&5
9980echo "${ECHO_T}$CC" >&6
9981else
9982 echo "$as_me:$LINENO: result: no" >&5
9983echo "${ECHO_T}no" >&6
9984fi
9985
9986fi
9987if test -z "$CC"; then
9988 if test -n "$ac_tool_prefix"; then
9989 for ac_prog in cl
9990 do
9991 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9992set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9993echo "$as_me:$LINENO: checking for $ac_word" >&5
9994echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9995if test "${ac_cv_prog_CC+set}" = set; then
9996 echo $ECHO_N "(cached) $ECHO_C" >&6
9997else
9998 if test -n "$CC"; then
9999 ac_cv_prog_CC="$CC" # Let the user override the test.
10000else
10001as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10002for as_dir in $PATH
10003do
10004 IFS=$as_save_IFS
10005 test -z "$as_dir" && as_dir=.
10006 for ac_exec_ext in '' $ac_executable_extensions; do
10007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10008 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10010 break 2
10011 fi
10012done
10013done
10014
10015fi
10016fi
10017CC=$ac_cv_prog_CC
10018if test -n "$CC"; then
10019 echo "$as_me:$LINENO: result: $CC" >&5
10020echo "${ECHO_T}$CC" >&6
10021else
10022 echo "$as_me:$LINENO: result: no" >&5
10023echo "${ECHO_T}no" >&6
10024fi
10025
10026 test -n "$CC" && break
10027 done
10028fi
10029if test -z "$CC"; then
10030 ac_ct_CC=$CC
10031 for ac_prog in cl
10032do
10033 # Extract the first word of "$ac_prog", so it can be a program name with args.
10034set dummy $ac_prog; ac_word=$2
10035echo "$as_me:$LINENO: checking for $ac_word" >&5
10036echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10037if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10038 echo $ECHO_N "(cached) $ECHO_C" >&6
10039else
10040 if test -n "$ac_ct_CC"; then
10041 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10042else
10043as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10044for as_dir in $PATH
10045do
10046 IFS=$as_save_IFS
10047 test -z "$as_dir" && as_dir=.
10048 for ac_exec_ext in '' $ac_executable_extensions; do
10049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10050 ac_cv_prog_ac_ct_CC="$ac_prog"
10051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10052 break 2
10053 fi
10054done
10055done
10056
10057fi
10058fi
10059ac_ct_CC=$ac_cv_prog_ac_ct_CC
10060if test -n "$ac_ct_CC"; then
10061 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10062echo "${ECHO_T}$ac_ct_CC" >&6
10063else
10064 echo "$as_me:$LINENO: result: no" >&5
10065echo "${ECHO_T}no" >&6
10066fi
10067
10068 test -n "$ac_ct_CC" && break
10069done
10070
10071 CC=$ac_ct_CC
10072fi
10073
10074fi
10075
10076
10077test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10078See \`config.log' for more details." >&5
10079echo "$as_me: error: no acceptable C compiler found in \$PATH
10080See \`config.log' for more details." >&2;}
10081 { (exit 1); exit 1; }; }
10082
10083# Provide some information about the compiler.
10084echo "$as_me:$LINENO:" \
10085 "checking for C compiler version" >&5
10086ac_compiler=`set X $ac_compile; echo $2`
10087{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10088 (eval $ac_compiler --version </dev/null >&5) 2>&5
10089 ac_status=$?
10090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10091 (exit $ac_status); }
10092{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10093 (eval $ac_compiler -v </dev/null >&5) 2>&5
10094 ac_status=$?
10095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10096 (exit $ac_status); }
10097{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10098 (eval $ac_compiler -V </dev/null >&5) 2>&5
10099 ac_status=$?
10100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101 (exit $ac_status); }
10102
10103cat >conftest.$ac_ext <<_ACEOF
10104#line $LINENO "configure"
10105/* confdefs.h. */
10106_ACEOF
10107cat confdefs.h >>conftest.$ac_ext
10108cat >>conftest.$ac_ext <<_ACEOF
10109/* end confdefs.h. */
10110
10111int
10112main ()
10113{
10114
10115 ;
10116 return 0;
10117}
10118_ACEOF
10119ac_clean_files_save=$ac_clean_files
10120ac_clean_files="$ac_clean_files a.out a.exe b.out"
10121# Try to create an executable without -o first, disregard a.out.
10122# It will help us diagnose broken compilers, and finding out an intuition
10123# of exeext.
10124echo "$as_me:$LINENO: checking for C compiler default output" >&5
10125echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10126ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10127if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10128 (eval $ac_link_default) 2>&5
10129 ac_status=$?
10130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10131 (exit $ac_status); }; then
10132 # Find the output, starting from the most likely. This scheme is
10133# not robust to junk in `.', hence go to wildcards (a.*) only as a last
10134# resort.
10135
10136# Be careful to initialize this variable, since it used to be cached.
10137# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10138ac_cv_exeext=
10139# b.out is created by i960 compilers.
10140for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10141do
10142 test -f "$ac_file" || continue
10143 case $ac_file in
10144 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10145 ;;
10146 conftest.$ac_ext )
10147 # This is the source file.
10148 ;;
10149 [ab].out )
10150 # We found the default executable, but exeext='' is most
10151 # certainly right.
10152 break;;
10153 *.* )
10154 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10155 # FIXME: I believe we export ac_cv_exeext for Libtool,
10156 # but it would be cool to find out if it's true. Does anybody
10157 # maintain Libtool? --akim.
10158 export ac_cv_exeext
10159 break;;
10160 * )
10161 break;;
10162 esac
10163done
10164else
10165 echo "$as_me: failed program was:" >&5
10166sed 's/^/| /' conftest.$ac_ext >&5
10167
10168{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
10169See \`config.log' for more details." >&5
10170echo "$as_me: error: C compiler cannot create executables
10171See \`config.log' for more details." >&2;}
10172 { (exit 77); exit 77; }; }
10173fi
10174
10175ac_exeext=$ac_cv_exeext
10176echo "$as_me:$LINENO: result: $ac_file" >&5
10177echo "${ECHO_T}$ac_file" >&6
10178
10179# Check the compiler produces executables we can run. If not, either
10180# the compiler is broken, or we cross compile.
10181echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10182echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10183# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10184# If not cross compiling, check that we can run a simple program.
10185if test "$cross_compiling" != yes; then
10186 if { ac_try='./$ac_file'
10187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10188 (eval $ac_try) 2>&5
10189 ac_status=$?
10190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10191 (exit $ac_status); }; }; then
10192 cross_compiling=no
10193 else
10194 if test "$cross_compiling" = maybe; then
10195 cross_compiling=yes
10196 else
10197 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10198If you meant to cross compile, use \`--host'.
10199See \`config.log' for more details." >&5
10200echo "$as_me: error: cannot run C compiled programs.
10201If you meant to cross compile, use \`--host'.
10202See \`config.log' for more details." >&2;}
10203 { (exit 1); exit 1; }; }
10204 fi
10205 fi
10206fi
10207echo "$as_me:$LINENO: result: yes" >&5
10208echo "${ECHO_T}yes" >&6
10209
10210rm -f a.out a.exe conftest$ac_cv_exeext b.out
10211ac_clean_files=$ac_clean_files_save
10212# Check the compiler produces executables we can run. If not, either
10213# the compiler is broken, or we cross compile.
10214echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10215echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10216echo "$as_me:$LINENO: result: $cross_compiling" >&5
10217echo "${ECHO_T}$cross_compiling" >&6
10218
10219echo "$as_me:$LINENO: checking for suffix of executables" >&5
10220echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10221if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10222 (eval $ac_link) 2>&5
10223 ac_status=$?
10224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10225 (exit $ac_status); }; then
10226 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10227# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10228# work properly (i.e., refer to `conftest.exe'), while it won't with
10229# `rm'.
10230for ac_file in conftest.exe conftest conftest.*; do
10231 test -f "$ac_file" || continue
10232 case $ac_file in
10233 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10234 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10235 export ac_cv_exeext
10236 break;;
10237 * ) break;;
10238 esac
10239done
10240else
10241 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10242See \`config.log' for more details." >&5
10243echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10244See \`config.log' for more details." >&2;}
10245 { (exit 1); exit 1; }; }
10246fi
10247
10248rm -f conftest$ac_cv_exeext
10249echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10250echo "${ECHO_T}$ac_cv_exeext" >&6
10251
10252rm -f conftest.$ac_ext
10253EXEEXT=$ac_cv_exeext
10254ac_exeext=$EXEEXT
10255echo "$as_me:$LINENO: checking for suffix of object files" >&5
10256echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10257if test "${ac_cv_objext+set}" = set; then
10258 echo $ECHO_N "(cached) $ECHO_C" >&6
10259else
10260 cat >conftest.$ac_ext <<_ACEOF
10261#line $LINENO "configure"
10262/* confdefs.h. */
10263_ACEOF
10264cat confdefs.h >>conftest.$ac_ext
10265cat >>conftest.$ac_ext <<_ACEOF
10266/* end confdefs.h. */
10267
10268int
10269main ()
10270{
10271
10272 ;
10273 return 0;
10274}
10275_ACEOF
10276rm -f conftest.o conftest.obj
10277if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10278 (eval $ac_compile) 2>&5
10279 ac_status=$?
10280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10281 (exit $ac_status); }; then
10282 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10283 case $ac_file in
10284 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10285 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10286 break;;
10287 esac
10288done
10289else
10290 echo "$as_me: failed program was:" >&5
10291sed 's/^/| /' conftest.$ac_ext >&5
10292
10293{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10294See \`config.log' for more details." >&5
10295echo "$as_me: error: cannot compute suffix of object files: cannot compile
10296See \`config.log' for more details." >&2;}
10297 { (exit 1); exit 1; }; }
10298fi
10299
10300rm -f conftest.$ac_cv_objext conftest.$ac_ext
10301fi
10302echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10303echo "${ECHO_T}$ac_cv_objext" >&6
10304OBJEXT=$ac_cv_objext
10305ac_objext=$OBJEXT
10306echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10307echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10308if test "${ac_cv_c_compiler_gnu+set}" = set; then
10309 echo $ECHO_N "(cached) $ECHO_C" >&6
10310else
10311 cat >conftest.$ac_ext <<_ACEOF
10312#line $LINENO "configure"
10313/* confdefs.h. */
10314_ACEOF
10315cat confdefs.h >>conftest.$ac_ext
10316cat >>conftest.$ac_ext <<_ACEOF
10317/* end confdefs.h. */
10318
10319int
10320main ()
10321{
10322#ifndef __GNUC__
10323 choke me
10324#endif
10325
10326 ;
10327 return 0;
10328}
10329_ACEOF
10330rm -f conftest.$ac_objext
10331if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10332 (eval $ac_compile) 2>&5
10333 ac_status=$?
10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10335 (exit $ac_status); } &&
10336 { ac_try='test -s conftest.$ac_objext'
10337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10338 (eval $ac_try) 2>&5
10339 ac_status=$?
10340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10341 (exit $ac_status); }; }; then
10342 ac_compiler_gnu=yes
10343else
10344 echo "$as_me: failed program was:" >&5
10345sed 's/^/| /' conftest.$ac_ext >&5
10346
10347ac_compiler_gnu=no
10348fi
10349rm -f conftest.$ac_objext conftest.$ac_ext
10350ac_cv_c_compiler_gnu=$ac_compiler_gnu
10351
10352fi
10353echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10354echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10355GCC=`test $ac_compiler_gnu = yes && echo yes`
10356ac_test_CFLAGS=${CFLAGS+set}
10357ac_save_CFLAGS=$CFLAGS
10358CFLAGS="-g"
10359echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10360echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10361if test "${ac_cv_prog_cc_g+set}" = set; then
10362 echo $ECHO_N "(cached) $ECHO_C" >&6
10363else
10364 cat >conftest.$ac_ext <<_ACEOF
10365#line $LINENO "configure"
10366/* confdefs.h. */
10367_ACEOF
10368cat confdefs.h >>conftest.$ac_ext
10369cat >>conftest.$ac_ext <<_ACEOF
10370/* end confdefs.h. */
10371
10372int
10373main ()
10374{
10375
10376 ;
10377 return 0;
10378}
10379_ACEOF
10380rm -f conftest.$ac_objext
10381if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10382 (eval $ac_compile) 2>&5
10383 ac_status=$?
10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 (exit $ac_status); } &&
10386 { ac_try='test -s conftest.$ac_objext'
10387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10388 (eval $ac_try) 2>&5
10389 ac_status=$?
10390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10391 (exit $ac_status); }; }; then
10392 ac_cv_prog_cc_g=yes
10393else
10394 echo "$as_me: failed program was:" >&5
10395sed 's/^/| /' conftest.$ac_ext >&5
10396
10397ac_cv_prog_cc_g=no
10398fi
10399rm -f conftest.$ac_objext conftest.$ac_ext
10400fi
10401echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10402echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10403if test "$ac_test_CFLAGS" = set; then
10404 CFLAGS=$ac_save_CFLAGS
10405elif test $ac_cv_prog_cc_g = yes; then
10406 if test "$GCC" = yes; then
10407 CFLAGS="-g -O2"
10408 else
10409 CFLAGS="-g"
10410 fi
10411else
10412 if test "$GCC" = yes; then
10413 CFLAGS="-O2"
10414 else
10415 CFLAGS=
10416 fi
10417fi
10418echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10419echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10420if test "${ac_cv_prog_cc_stdc+set}" = set; then
10421 echo $ECHO_N "(cached) $ECHO_C" >&6
10422else
10423 ac_cv_prog_cc_stdc=no
10424ac_save_CC=$CC
10425cat >conftest.$ac_ext <<_ACEOF
10426#line $LINENO "configure"
10427/* confdefs.h. */
10428_ACEOF
10429cat confdefs.h >>conftest.$ac_ext
10430cat >>conftest.$ac_ext <<_ACEOF
10431/* end confdefs.h. */
10432#include <stdarg.h>
10433#include <stdio.h>
10434#include <sys/types.h>
10435#include <sys/stat.h>
10436/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10437struct buf { int x; };
10438FILE * (*rcsopen) (struct buf *, struct stat *, int);
10439static char *e (p, i)
10440 char **p;
10441 int i;
10442{
10443 return p[i];
10444}
10445static char *f (char * (*g) (char **, int), char **p, ...)
10446{
10447 char *s;
10448 va_list v;
10449 va_start (v,p);
10450 s = g (p, va_arg (v,int));
10451 va_end (v);
10452 return s;
10453}
10454int test (int i, double x);
10455struct s1 {int (*f) (int a);};
10456struct s2 {int (*f) (double a);};
10457int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10458int argc;
10459char **argv;
10460int
10461main ()
10462{
10463return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10464 ;
10465 return 0;
10466}
10467_ACEOF
10468# Don't try gcc -ansi; that turns off useful extensions and
10469# breaks some systems' header files.
10470# AIX -qlanglvl=ansi
10471# Ultrix and OSF/1 -std1
10472# HP-UX 10.20 and later -Ae
10473# HP-UX older versions -Aa -D_HPUX_SOURCE
10474# SVR4 -Xc -D__EXTENSIONS__
10475for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10476do
10477 CC="$ac_save_CC $ac_arg"
10478 rm -f conftest.$ac_objext
10479if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10480 (eval $ac_compile) 2>&5
10481 ac_status=$?
10482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10483 (exit $ac_status); } &&
10484 { ac_try='test -s conftest.$ac_objext'
10485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10486 (eval $ac_try) 2>&5
10487 ac_status=$?
10488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10489 (exit $ac_status); }; }; then
10490 ac_cv_prog_cc_stdc=$ac_arg
10491break
10492else
10493 echo "$as_me: failed program was:" >&5
10494sed 's/^/| /' conftest.$ac_ext >&5
10495
10496fi
10497rm -f conftest.$ac_objext
10498done
10499rm -f conftest.$ac_ext conftest.$ac_objext
10500CC=$ac_save_CC
10501
10502fi
10503
10504case "x$ac_cv_prog_cc_stdc" in
10505 x|xno)
10506 echo "$as_me:$LINENO: result: none needed" >&5
10507echo "${ECHO_T}none needed" >&6 ;;
10508 *)
10509 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10510echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10511 CC="$CC $ac_cv_prog_cc_stdc" ;;
10512esac
10513
10514# Some people use a C++ compiler to compile C. Since we use `exit',
10515# in C++ we need to declare it. In case someone uses the same compiler
10516# for both compiling C and C++ we need to have the C++ compiler decide
10517# the declaration of exit, since it's the most demanding environment.
10518cat >conftest.$ac_ext <<_ACEOF
10519#ifndef __cplusplus
10520 choke me
10521#endif
10522_ACEOF
10523rm -f conftest.$ac_objext
10524if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10525 (eval $ac_compile) 2>&5
10526 ac_status=$?
10527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10528 (exit $ac_status); } &&
10529 { ac_try='test -s conftest.$ac_objext'
10530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10531 (eval $ac_try) 2>&5
10532 ac_status=$?
10533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534 (exit $ac_status); }; }; then
10535 for ac_declaration in \
10536 '' \
10537 'extern "C" void std::exit (int) throw (); using std::exit;' \
10538 'extern "C" void std::exit (int); using std::exit;' \
10539 'extern "C" void exit (int) throw ();' \
10540 'extern "C" void exit (int);' \
10541 'void exit (int);'
10542do
10543 cat >conftest.$ac_ext <<_ACEOF
10544#line $LINENO "configure"
10545/* confdefs.h. */
10546_ACEOF
10547cat confdefs.h >>conftest.$ac_ext
10548cat >>conftest.$ac_ext <<_ACEOF
10549/* end confdefs.h. */
10550$ac_declaration
10551#include <stdlib.h>
10552int
10553main ()
10554{
10555exit (42);
10556 ;
10557 return 0;
10558}
10559_ACEOF
10560rm -f conftest.$ac_objext
10561if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10562 (eval $ac_compile) 2>&5
10563 ac_status=$?
10564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 (exit $ac_status); } &&
10566 { ac_try='test -s conftest.$ac_objext'
10567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10568 (eval $ac_try) 2>&5
10569 ac_status=$?
10570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10571 (exit $ac_status); }; }; then
10572 :
10573else
10574 echo "$as_me: failed program was:" >&5
10575sed 's/^/| /' conftest.$ac_ext >&5
10576
10577continue
10578fi
10579rm -f conftest.$ac_objext conftest.$ac_ext
10580 cat >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$ac_declaration
10588int
10589main ()
10590{
10591exit (42);
10592 ;
10593 return 0;
10594}
10595_ACEOF
10596rm -f conftest.$ac_objext
10597if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10598 (eval $ac_compile) 2>&5
10599 ac_status=$?
10600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10601 (exit $ac_status); } &&
10602 { ac_try='test -s conftest.$ac_objext'
10603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10604 (eval $ac_try) 2>&5
10605 ac_status=$?
10606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10607 (exit $ac_status); }; }; then
10608 break
10609else
10610 echo "$as_me: failed program was:" >&5
10611sed 's/^/| /' conftest.$ac_ext >&5
10612
10613fi
10614rm -f conftest.$ac_objext conftest.$ac_ext
10615done
10616rm -f conftest*
10617if test -n "$ac_declaration"; then
10618 echo '#ifdef __cplusplus' >>confdefs.h
10619 echo $ac_declaration >>confdefs.h
10620 echo '#endif' >>confdefs.h
10621fi
10622
10623else
10624 echo "$as_me: failed program was:" >&5
10625sed 's/^/| /' conftest.$ac_ext >&5
10626
10627fi
10628rm -f conftest.$ac_objext conftest.$ac_ext
10629ac_ext=c
10630ac_cpp='$CPP $CPPFLAGS'
10631ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10632ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10633ac_compiler_gnu=$ac_cv_c_compiler_gnu
10634
10635
10636
10637ac_ext=c
10638ac_cpp='$CPP $CPPFLAGS'
10639ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10640ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10641ac_compiler_gnu=$ac_cv_c_compiler_gnu
10642echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10643echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10644# On Suns, sometimes $CPP names a directory.
10645if test -n "$CPP" && test -d "$CPP"; then
10646 CPP=
10647fi
10648if test -z "$CPP"; then
10649 if test "${ac_cv_prog_CPP+set}" = set; then
10650 echo $ECHO_N "(cached) $ECHO_C" >&6
10651else
10652 # Double quotes because CPP needs to be expanded
10653 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10654 do
10655 ac_preproc_ok=false
10656for ac_c_preproc_warn_flag in '' yes
10657do
10658 # Use a header file that comes with gcc, so configuring glibc
10659 # with a fresh cross-compiler works.
10660 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10661 # <limits.h> exists even on freestanding compilers.
10662 # On the NeXT, cc -E runs the code through the compiler's parser,
10663 # not just through cpp. "Syntax error" is here to catch this case.
10664 cat >conftest.$ac_ext <<_ACEOF
10665#line $LINENO "configure"
10666/* confdefs.h. */
10667_ACEOF
10668cat confdefs.h >>conftest.$ac_ext
10669cat >>conftest.$ac_ext <<_ACEOF
10670/* end confdefs.h. */
10671#ifdef __STDC__
10672# include <limits.h>
10673#else
10674# include <assert.h>
10675#endif
10676 Syntax error
10677_ACEOF
10678if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10679 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10680 ac_status=$?
10681 grep -v '^ *+' conftest.er1 >conftest.err
10682 rm -f conftest.er1
10683 cat conftest.err >&5
10684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10685 (exit $ac_status); } >/dev/null; then
10686 if test -s conftest.err; then
10687 ac_cpp_err=$ac_c_preproc_warn_flag
10688 else
10689 ac_cpp_err=
10690 fi
10691else
10692 ac_cpp_err=yes
10693fi
10694if test -z "$ac_cpp_err"; then
10695 :
10696else
10697 echo "$as_me: failed program was:" >&5
10698sed 's/^/| /' conftest.$ac_ext >&5
10699
10700 # Broken: fails on valid input.
10701continue
10702fi
10703rm -f conftest.err conftest.$ac_ext
10704
10705 # OK, works on sane cases. Now check whether non-existent headers
10706 # can be detected and how.
10707 cat >conftest.$ac_ext <<_ACEOF
10708#line $LINENO "configure"
10709/* confdefs.h. */
10710_ACEOF
10711cat confdefs.h >>conftest.$ac_ext
10712cat >>conftest.$ac_ext <<_ACEOF
10713/* end confdefs.h. */
10714#include <ac_nonexistent.h>
10715_ACEOF
10716if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10717 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10718 ac_status=$?
10719 grep -v '^ *+' conftest.er1 >conftest.err
10720 rm -f conftest.er1
10721 cat conftest.err >&5
10722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10723 (exit $ac_status); } >/dev/null; then
10724 if test -s conftest.err; then
10725 ac_cpp_err=$ac_c_preproc_warn_flag
10726 else
10727 ac_cpp_err=
10728 fi
10729else
10730 ac_cpp_err=yes
10731fi
10732if test -z "$ac_cpp_err"; then
10733 # Broken: success on invalid input.
10734continue
10735else
10736 echo "$as_me: failed program was:" >&5
10737sed 's/^/| /' conftest.$ac_ext >&5
10738
10739 # Passes both tests.
10740ac_preproc_ok=:
10741break
10742fi
10743rm -f conftest.err conftest.$ac_ext
10744
10745done
10746# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10747rm -f conftest.err conftest.$ac_ext
10748if $ac_preproc_ok; then
10749 break
10750fi
10751
10752 done
10753 ac_cv_prog_CPP=$CPP
10754
10755fi
10756 CPP=$ac_cv_prog_CPP
10757else
10758 ac_cv_prog_CPP=$CPP
10759fi
10760echo "$as_me:$LINENO: result: $CPP" >&5
10761echo "${ECHO_T}$CPP" >&6
10762ac_preproc_ok=false
10763for ac_c_preproc_warn_flag in '' yes
10764do
10765 # Use a header file that comes with gcc, so configuring glibc
10766 # with a fresh cross-compiler works.
10767 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10768 # <limits.h> exists even on freestanding compilers.
10769 # On the NeXT, cc -E runs the code through the compiler's parser,
10770 # not just through cpp. "Syntax error" is here to catch this case.
10771 cat >conftest.$ac_ext <<_ACEOF
10772#line $LINENO "configure"
10773/* confdefs.h. */
10774_ACEOF
10775cat confdefs.h >>conftest.$ac_ext
10776cat >>conftest.$ac_ext <<_ACEOF
10777/* end confdefs.h. */
10778#ifdef __STDC__
10779# include <limits.h>
10780#else
10781# include <assert.h>
10782#endif
10783 Syntax error
10784_ACEOF
10785if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10786 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10787 ac_status=$?
10788 grep -v '^ *+' conftest.er1 >conftest.err
10789 rm -f conftest.er1
10790 cat conftest.err >&5
10791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10792 (exit $ac_status); } >/dev/null; then
10793 if test -s conftest.err; then
10794 ac_cpp_err=$ac_c_preproc_warn_flag
10795 else
10796 ac_cpp_err=
10797 fi
10798else
10799 ac_cpp_err=yes
10800fi
10801if test -z "$ac_cpp_err"; then
10802 :
10803else
10804 echo "$as_me: failed program was:" >&5
10805sed 's/^/| /' conftest.$ac_ext >&5
10806
10807 # Broken: fails on valid input.
10808continue
10809fi
10810rm -f conftest.err conftest.$ac_ext
10811
10812 # OK, works on sane cases. Now check whether non-existent headers
10813 # can be detected and how.
10814 cat >conftest.$ac_ext <<_ACEOF
10815#line $LINENO "configure"
10816/* confdefs.h. */
10817_ACEOF
10818cat confdefs.h >>conftest.$ac_ext
10819cat >>conftest.$ac_ext <<_ACEOF
10820/* end confdefs.h. */
10821#include <ac_nonexistent.h>
10822_ACEOF
10823if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10824 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10825 ac_status=$?
10826 grep -v '^ *+' conftest.er1 >conftest.err
10827 rm -f conftest.er1
10828 cat conftest.err >&5
10829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10830 (exit $ac_status); } >/dev/null; then
10831 if test -s conftest.err; then
10832 ac_cpp_err=$ac_c_preproc_warn_flag
10833 else
10834 ac_cpp_err=
10835 fi
10836else
10837 ac_cpp_err=yes
10838fi
10839if test -z "$ac_cpp_err"; then
10840 # Broken: success on invalid input.
10841continue
10842else
10843 echo "$as_me: failed program was:" >&5
10844sed 's/^/| /' conftest.$ac_ext >&5
10845
10846 # Passes both tests.
10847ac_preproc_ok=:
10848break
10849fi
10850rm -f conftest.err conftest.$ac_ext
10851
10852done
10853# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10854rm -f conftest.err conftest.$ac_ext
10855if $ac_preproc_ok; then
10856 :
10857else
10858 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10859See \`config.log' for more details." >&5
10860echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10861See \`config.log' for more details." >&2;}
10862 { (exit 1); exit 1; }; }
10863fi
10864
10865ac_ext=c
10866ac_cpp='$CPP $CPPFLAGS'
10867ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10868ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10869ac_compiler_gnu=$ac_cv_c_compiler_gnu
10870
10871
10872echo "$as_me:$LINENO: checking for egrep" >&5
10873echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10874if test "${ac_cv_prog_egrep+set}" = set; then
10875 echo $ECHO_N "(cached) $ECHO_C" >&6
10876else
10877 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10878 then ac_cv_prog_egrep='grep -E'
10879 else ac_cv_prog_egrep='egrep'
10880 fi
10881fi
10882echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10883echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10884 EGREP=$ac_cv_prog_egrep
10885
10886
10887if test $ac_cv_c_compiler_gnu = yes; then
10888 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10889echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10890if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10891 echo $ECHO_N "(cached) $ECHO_C" >&6
10892else
10893 ac_pattern="Autoconf.*'x'"
10894 cat >conftest.$ac_ext <<_ACEOF
10895#line $LINENO "configure"
10896/* confdefs.h. */
10897_ACEOF
10898cat confdefs.h >>conftest.$ac_ext
10899cat >>conftest.$ac_ext <<_ACEOF
10900/* end confdefs.h. */
10901#include <sgtty.h>
10902Autoconf TIOCGETP
10903_ACEOF
10904if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10905 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10906 ac_cv_prog_gcc_traditional=yes
10907else
10908 ac_cv_prog_gcc_traditional=no
10909fi
10910rm -f conftest*
10911
10912
10913 if test $ac_cv_prog_gcc_traditional = no; then
10914 cat >conftest.$ac_ext <<_ACEOF
10915#line $LINENO "configure"
10916/* confdefs.h. */
10917_ACEOF
10918cat confdefs.h >>conftest.$ac_ext
10919cat >>conftest.$ac_ext <<_ACEOF
10920/* end confdefs.h. */
10921#include <termio.h>
10922Autoconf TCGETA
10923_ACEOF
10924if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10925 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10926 ac_cv_prog_gcc_traditional=yes
10927fi
10928rm -f conftest*
10929
10930 fi
10931fi
10932echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10933echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10934 if test $ac_cv_prog_gcc_traditional = yes; then
10935 CC="$CC -traditional"
10936 fi
10937fi
10938
10939
10940
10941
10942ac_ext=cc
10943ac_cpp='$CXXCPP $CPPFLAGS'
10944ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10945ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10946ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10947
10948
10949CXXFLAGS=${CXXFLAGS:=}
10950ac_ext=cc
10951ac_cpp='$CXXCPP $CPPFLAGS'
10952ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10953ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10954ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10955if test -n "$ac_tool_prefix"; then
10956 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10957 do
10958 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10959set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10960echo "$as_me:$LINENO: checking for $ac_word" >&5
10961echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10962if test "${ac_cv_prog_CXX+set}" = set; then
10963 echo $ECHO_N "(cached) $ECHO_C" >&6
10964else
10965 if test -n "$CXX"; then
10966 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10967else
10968as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10969for as_dir in $PATH
10970do
10971 IFS=$as_save_IFS
10972 test -z "$as_dir" && as_dir=.
10973 for ac_exec_ext in '' $ac_executable_extensions; do
10974 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10975 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10977 break 2
10978 fi
10979done
10980done
10981
10982fi
10983fi
10984CXX=$ac_cv_prog_CXX
10985if test -n "$CXX"; then
10986 echo "$as_me:$LINENO: result: $CXX" >&5
10987echo "${ECHO_T}$CXX" >&6
10988else
10989 echo "$as_me:$LINENO: result: no" >&5
10990echo "${ECHO_T}no" >&6
10991fi
10992
10993 test -n "$CXX" && break
10994 done
10995fi
10996if test -z "$CXX"; then
10997 ac_ct_CXX=$CXX
10998 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10999do
11000 # Extract the first word of "$ac_prog", so it can be a program name with args.
11001set dummy $ac_prog; ac_word=$2
11002echo "$as_me:$LINENO: checking for $ac_word" >&5
11003echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11004if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11005 echo $ECHO_N "(cached) $ECHO_C" >&6
11006else
11007 if test -n "$ac_ct_CXX"; then
11008 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11009else
11010as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11011for as_dir in $PATH
11012do
11013 IFS=$as_save_IFS
11014 test -z "$as_dir" && as_dir=.
11015 for ac_exec_ext in '' $ac_executable_extensions; do
11016 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11017 ac_cv_prog_ac_ct_CXX="$ac_prog"
11018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11019 break 2
11020 fi
11021done
11022done
11023
11024fi
11025fi
11026ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11027if test -n "$ac_ct_CXX"; then
11028 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11029echo "${ECHO_T}$ac_ct_CXX" >&6
11030else
11031 echo "$as_me:$LINENO: result: no" >&5
11032echo "${ECHO_T}no" >&6
11033fi
11034
11035 test -n "$ac_ct_CXX" && break
11036done
11037test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11038
11039 CXX=$ac_ct_CXX
11040fi
11041
11042
11043# Provide some information about the compiler.
11044echo "$as_me:$LINENO:" \
11045 "checking for C++ compiler version" >&5
11046ac_compiler=`set X $ac_compile; echo $2`
11047{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11048 (eval $ac_compiler --version </dev/null >&5) 2>&5
11049 ac_status=$?
11050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); }
11052{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11053 (eval $ac_compiler -v </dev/null >&5) 2>&5
11054 ac_status=$?
11055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11056 (exit $ac_status); }
11057{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11058 (eval $ac_compiler -V </dev/null >&5) 2>&5
11059 ac_status=$?
11060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11061 (exit $ac_status); }
11062
11063echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11064echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11065if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11066 echo $ECHO_N "(cached) $ECHO_C" >&6
11067else
11068 cat >conftest.$ac_ext <<_ACEOF
11069#line $LINENO "configure"
11070/* confdefs.h. */
11071_ACEOF
11072cat confdefs.h >>conftest.$ac_ext
11073cat >>conftest.$ac_ext <<_ACEOF
11074/* end confdefs.h. */
11075
11076int
11077main ()
11078{
11079#ifndef __GNUC__
11080 choke me
11081#endif
11082
11083 ;
11084 return 0;
11085}
11086_ACEOF
11087rm -f conftest.$ac_objext
11088if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11089 (eval $ac_compile) 2>&5
11090 ac_status=$?
11091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11092 (exit $ac_status); } &&
11093 { ac_try='test -s conftest.$ac_objext'
11094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11095 (eval $ac_try) 2>&5
11096 ac_status=$?
11097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11098 (exit $ac_status); }; }; then
11099 ac_compiler_gnu=yes
11100else
11101 echo "$as_me: failed program was:" >&5
11102sed 's/^/| /' conftest.$ac_ext >&5
11103
11104ac_compiler_gnu=no
11105fi
11106rm -f conftest.$ac_objext conftest.$ac_ext
11107ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11108
11109fi
11110echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11111echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11112GXX=`test $ac_compiler_gnu = yes && echo yes`
11113ac_test_CXXFLAGS=${CXXFLAGS+set}
11114ac_save_CXXFLAGS=$CXXFLAGS
11115CXXFLAGS="-g"
11116echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11117echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11118if test "${ac_cv_prog_cxx_g+set}" = set; then
11119 echo $ECHO_N "(cached) $ECHO_C" >&6
11120else
11121 cat >conftest.$ac_ext <<_ACEOF
11122#line $LINENO "configure"
11123/* confdefs.h. */
11124_ACEOF
11125cat confdefs.h >>conftest.$ac_ext
11126cat >>conftest.$ac_ext <<_ACEOF
11127/* end confdefs.h. */
11128
11129int
11130main ()
11131{
11132
11133 ;
11134 return 0;
11135}
11136_ACEOF
11137rm -f conftest.$ac_objext
11138if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11139 (eval $ac_compile) 2>&5
11140 ac_status=$?
11141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11142 (exit $ac_status); } &&
11143 { ac_try='test -s conftest.$ac_objext'
11144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11145 (eval $ac_try) 2>&5
11146 ac_status=$?
11147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11148 (exit $ac_status); }; }; then
11149 ac_cv_prog_cxx_g=yes
11150else
11151 echo "$as_me: failed program was:" >&5
11152sed 's/^/| /' conftest.$ac_ext >&5
11153
11154ac_cv_prog_cxx_g=no
11155fi
11156rm -f conftest.$ac_objext conftest.$ac_ext
11157fi
11158echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11159echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11160if test "$ac_test_CXXFLAGS" = set; then
11161 CXXFLAGS=$ac_save_CXXFLAGS
11162elif test $ac_cv_prog_cxx_g = yes; then
11163 if test "$GXX" = yes; then
11164 CXXFLAGS="-g -O2"
11165 else
11166 CXXFLAGS="-g"
11167 fi
11168else
11169 if test "$GXX" = yes; then
11170 CXXFLAGS="-O2"
11171 else
11172 CXXFLAGS=
11173 fi
11174fi
11175for ac_declaration in \
11176 '' \
11177 'extern "C" void std::exit (int) throw (); using std::exit;' \
11178 'extern "C" void std::exit (int); using std::exit;' \
11179 'extern "C" void exit (int) throw ();' \
11180 'extern "C" void exit (int);' \
11181 'void exit (int);'
11182do
11183 cat >conftest.$ac_ext <<_ACEOF
11184#line $LINENO "configure"
11185/* confdefs.h. */
11186_ACEOF
11187cat confdefs.h >>conftest.$ac_ext
11188cat >>conftest.$ac_ext <<_ACEOF
11189/* end confdefs.h. */
11190$ac_declaration
11191#include <stdlib.h>
11192int
11193main ()
11194{
11195exit (42);
11196 ;
11197 return 0;
11198}
11199_ACEOF
11200rm -f conftest.$ac_objext
11201if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11202 (eval $ac_compile) 2>&5
11203 ac_status=$?
11204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11205 (exit $ac_status); } &&
11206 { ac_try='test -s conftest.$ac_objext'
11207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11208 (eval $ac_try) 2>&5
11209 ac_status=$?
11210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11211 (exit $ac_status); }; }; then
11212 :
11213else
11214 echo "$as_me: failed program was:" >&5
11215sed 's/^/| /' conftest.$ac_ext >&5
11216
11217continue
11218fi
11219rm -f conftest.$ac_objext conftest.$ac_ext
11220 cat >conftest.$ac_ext <<_ACEOF
11221#line $LINENO "configure"
11222/* confdefs.h. */
11223_ACEOF
11224cat confdefs.h >>conftest.$ac_ext
11225cat >>conftest.$ac_ext <<_ACEOF
11226/* end confdefs.h. */
11227$ac_declaration
11228int
11229main ()
11230{
11231exit (42);
11232 ;
11233 return 0;
11234}
11235_ACEOF
11236rm -f conftest.$ac_objext
11237if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11238 (eval $ac_compile) 2>&5
11239 ac_status=$?
11240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11241 (exit $ac_status); } &&
11242 { ac_try='test -s conftest.$ac_objext'
11243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11244 (eval $ac_try) 2>&5
11245 ac_status=$?
11246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); }; }; then
11248 break
11249else
11250 echo "$as_me: failed program was:" >&5
11251sed 's/^/| /' conftest.$ac_ext >&5
11252
11253fi
11254rm -f conftest.$ac_objext conftest.$ac_ext
11255done
11256rm -f conftest*
11257if test -n "$ac_declaration"; then
11258 echo '#ifdef __cplusplus' >>confdefs.h
11259 echo $ac_declaration >>confdefs.h
11260 echo '#endif' >>confdefs.h
11261fi
11262
11263ac_ext=cc
11264ac_cpp='$CXXCPP $CPPFLAGS'
11265ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11266ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11267ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11268
11269
11270ac_ext=c
11271ac_cpp='$CPP $CPPFLAGS'
11272ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11273ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11274ac_compiler_gnu=$ac_cv_c_compiler_gnu
11275
11276
11277if test -n "$ac_tool_prefix"; then
11278 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11279set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11280echo "$as_me:$LINENO: checking for $ac_word" >&5
11281echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11282if test "${ac_cv_prog_RANLIB+set}" = set; then
11283 echo $ECHO_N "(cached) $ECHO_C" >&6
11284else
11285 if test -n "$RANLIB"; then
11286 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11287else
11288as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11289for as_dir in $PATH
11290do
11291 IFS=$as_save_IFS
11292 test -z "$as_dir" && as_dir=.
11293 for ac_exec_ext in '' $ac_executable_extensions; do
11294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11295 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11297 break 2
11298 fi
11299done
11300done
11301
11302fi
11303fi
11304RANLIB=$ac_cv_prog_RANLIB
11305if test -n "$RANLIB"; then
11306 echo "$as_me:$LINENO: result: $RANLIB" >&5
11307echo "${ECHO_T}$RANLIB" >&6
11308else
11309 echo "$as_me:$LINENO: result: no" >&5
11310echo "${ECHO_T}no" >&6
11311fi
11312
11313fi
11314if test -z "$ac_cv_prog_RANLIB"; then
11315 ac_ct_RANLIB=$RANLIB
11316 # Extract the first word of "ranlib", so it can be a program name with args.
11317set dummy ranlib; ac_word=$2
11318echo "$as_me:$LINENO: checking for $ac_word" >&5
11319echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11320if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11321 echo $ECHO_N "(cached) $ECHO_C" >&6
11322else
11323 if test -n "$ac_ct_RANLIB"; then
11324 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11325else
11326as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11327for as_dir in $PATH
11328do
11329 IFS=$as_save_IFS
11330 test -z "$as_dir" && as_dir=.
11331 for ac_exec_ext in '' $ac_executable_extensions; do
11332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11333 ac_cv_prog_ac_ct_RANLIB="ranlib"
11334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11335 break 2
11336 fi
11337done
11338done
11339
11340 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11341fi
11342fi
11343ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11344if test -n "$ac_ct_RANLIB"; then
11345 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11346echo "${ECHO_T}$ac_ct_RANLIB" >&6
11347else
11348 echo "$as_me:$LINENO: result: no" >&5
11349echo "${ECHO_T}no" >&6
11350fi
11351
11352 RANLIB=$ac_ct_RANLIB
11353else
11354 RANLIB="$ac_cv_prog_RANLIB"
11355fi
11356
11357
11358# Extract the first word of "ar", so it can be a program name with args.
11359set dummy ar; ac_word=$2
11360echo "$as_me:$LINENO: checking for $ac_word" >&5
11361echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11362if test "${ac_cv_prog_AR+set}" = set; then
11363 echo $ECHO_N "(cached) $ECHO_C" >&6
11364else
11365 if test -n "$AR"; then
11366 ac_cv_prog_AR="$AR" # Let the user override the test.
11367else
11368as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11369for as_dir in $PATH
11370do
11371 IFS=$as_save_IFS
11372 test -z "$as_dir" && as_dir=.
11373 for ac_exec_ext in '' $ac_executable_extensions; do
11374 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11375 ac_cv_prog_AR="ar"
11376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11377 break 2
11378 fi
11379done
11380done
11381
11382fi
11383fi
11384AR=$ac_cv_prog_AR
11385if test -n "$AR"; then
11386 echo "$as_me:$LINENO: result: $AR" >&5
11387echo "${ECHO_T}$AR" >&6
11388else
11389 echo "$as_me:$LINENO: result: no" >&5
11390echo "${ECHO_T}no" >&6
11391fi
11392
11393if test "x$AR" = "x" ; then
11394 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11395echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11396 { (exit 1); exit 1; }; }
11397fi
11398
11399# Find a good install program. We prefer a C program (faster),
11400# so one script is as good as another. But avoid the broken or
11401# incompatible versions:
11402# SysV /etc/install, /usr/sbin/install
11403# SunOS /usr/etc/install
11404# IRIX /sbin/install
11405# AIX /bin/install
11406# AmigaOS /C/install, which installs bootblocks on floppy discs
11407# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11408# AFS /usr/afsws/bin/install, which mishandles nonexistent args
11409# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11410# ./install, which can be erroneously created by make from ./install.sh.
11411echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11412echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11413if test -z "$INSTALL"; then
11414if test "${ac_cv_path_install+set}" = set; then
11415 echo $ECHO_N "(cached) $ECHO_C" >&6
11416else
11417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11418for as_dir in $PATH
11419do
11420 IFS=$as_save_IFS
11421 test -z "$as_dir" && as_dir=.
11422 # Account for people who put trailing slashes in PATH elements.
11423case $as_dir/ in
11424 ./ | .// | /cC/* | \
11425 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11426 /usr/ucb/* ) ;;
11427 *)
11428 # OSF1 and SCO ODT 3.0 have their own names for install.
11429 # Don't use installbsd from OSF since it installs stuff as root
11430 # by default.
11431 for ac_prog in ginstall scoinst install; do
11432 for ac_exec_ext in '' $ac_executable_extensions; do
11433 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11434 if test $ac_prog = install &&
11435 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11436 # AIX install. It has an incompatible calling convention.
11437 :
11438 elif test $ac_prog = install &&
11439 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11440 # program-specific install script used by HP pwplus--don't use.
11441 :
11442 else
11443 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11444 break 3
11445 fi
11446 fi
11447 done
11448 done
11449 ;;
11450esac
11451done
11452
11453
11454fi
11455 if test "${ac_cv_path_install+set}" = set; then
11456 INSTALL=$ac_cv_path_install
11457 else
11458 # As a last resort, use the slow shell script. We don't cache a
11459 # path for INSTALL within a source directory, because that will
11460 # break other packages using the cache if that directory is
11461 # removed, or if the path is relative.
11462 INSTALL=$ac_install_sh
11463 fi
11464fi
11465echo "$as_me:$LINENO: result: $INSTALL" >&5
11466echo "${ECHO_T}$INSTALL" >&6
11467
11468# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11469# It thinks the first close brace ends the variable substitution.
11470test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11471
11472test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11473
11474test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11475
11476
11477case ${INSTALL} in
11478 /* ) # Absolute
11479 ;;
11480 ?:* ) # Drive letter, considered as absolute.
11481 ;;
11482 *)
11483 INSTALL=`pwd`/${INSTALL} ;;
11484esac
11485
11486case ${host} in
11487 *-hp-hpux* )
11488 INSTALL_DIR="mkdir"
11489 ;;
11490
11491 *) INSTALL_DIR="$INSTALL -d"
11492 ;;
11493esac
11494
11495
11496case "${host}" in
11497
11498 powerpc-*-darwin* )
11499 INSTALL_PROGRAM="cp -fp"
11500 INSTALL_DATA="cp -fp"
11501 ;;
11502 *)
11503 ;;
11504esac
11505
11506# Extract the first word of "strip", so it can be a program name with args.
11507set dummy strip; ac_word=$2
11508echo "$as_me:$LINENO: checking for $ac_word" >&5
11509echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11510if test "${ac_cv_prog_STRIP+set}" = set; then
11511 echo $ECHO_N "(cached) $ECHO_C" >&6
11512else
11513 if test -n "$STRIP"; then
11514 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11515else
11516as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11517for as_dir in $PATH
11518do
11519 IFS=$as_save_IFS
11520 test -z "$as_dir" && as_dir=.
11521 for ac_exec_ext in '' $ac_executable_extensions; do
11522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11523 ac_cv_prog_STRIP="strip"
11524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11525 break 2
11526 fi
11527done
11528done
11529
11530 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11531fi
11532fi
11533STRIP=$ac_cv_prog_STRIP
11534if test -n "$STRIP"; then
11535 echo "$as_me:$LINENO: result: $STRIP" >&5
11536echo "${ECHO_T}$STRIP" >&6
11537else
11538 echo "$as_me:$LINENO: result: no" >&5
11539echo "${ECHO_T}no" >&6
11540fi
11541
11542
11543echo "$as_me:$LINENO: checking if make is GNU make" >&5
11544echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11545if test "${wx_cv_prog_makeisgnu+set}" = set; then
11546 echo $ECHO_N "(cached) $ECHO_C" >&6
11547else
11548
11549 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11550 egrep -s GNU > /dev/null); then
11551 wx_cv_prog_makeisgnu="yes"
11552 else
11553 wx_cv_prog_makeisgnu="no"
11554 fi
11555
11556fi
11557echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11558echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11559
11560if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11561 IF_GNU_MAKE=""
11562else
11563 IF_GNU_MAKE="#"
11564fi
11565
11566
11567
11568if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11569echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11570echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11571if test "${wx_cv_prog_makevpath+set}" = set; then
11572 echo $ECHO_N "(cached) $ECHO_C" >&6
11573else
11574
11575cat - << EOF > confMake
11576check : file
11577 cp \$? \$@
11578 cp \$? final_file
11579EOF
11580
11581if test ! -d sub ; then
11582 mkdir sub
11583fi
11584echo dummy > sub/file
11585${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11586RESULT=$?
11587rm -f sub/file check final_file confMake
11588rmdir sub
11589if test "$RESULT" = 0; then
11590 wx_cv_prog_makevpath="yes"
11591else
11592 wx_cv_prog_makevpath="no"
11593fi
11594
11595fi
11596echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11597echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11598
11599if test "x$wx_cv_prog_makevpath" != "xyes"; then
11600{ { echo "$as_me:$LINENO: error:
11601You need a make-utility that is able to use the variable
11602VPATH correctly.
11603If your version of make does not support VPATH correctly,
11604please install GNU-make (possibly as gmake), and start
11605configure with the following command:
11606export MAKE=gmake; ./configure for sh-type shells
11607setenv MAKE gmake; ./configure for csh-type shells
11608Also please do remember to use gmake in this case every time
11609you are trying to compile.
11610" >&5
11611echo "$as_me: error:
11612You need a make-utility that is able to use the variable
11613VPATH correctly.
11614If your version of make does not support VPATH correctly,
11615please install GNU-make (possibly as gmake), and start
11616configure with the following command:
11617export MAKE=gmake; ./configure for sh-type shells
11618setenv MAKE gmake; ./configure for csh-type shells
11619Also please do remember to use gmake in this case every time
11620you are trying to compile.
11621" >&2;}
11622 { (exit 1); exit 1; }; }
11623fi fi
11624echo "$as_me:$LINENO: checking whether ln -s works" >&5
11625echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11626LN_S=$as_ln_s
11627if test "$LN_S" = "ln -s"; then
11628 echo "$as_me:$LINENO: result: yes" >&5
11629echo "${ECHO_T}yes" >&6
11630else
11631 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11632echo "${ECHO_T}no, using $LN_S" >&6
11633fi
11634
11635
11636case "${host}" in
11637 *-pc-os2_emx | *-pc-os2-emx )
11638 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11639 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11640echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11641if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11642 echo $ECHO_N "(cached) $ECHO_C" >&6
11643else
11644 ac_check_lib_save_LIBS=$LIBS
11645LIBS="-lcExt $LIBS"
11646cat >conftest.$ac_ext <<_ACEOF
11647#line $LINENO "configure"
11648/* confdefs.h. */
11649_ACEOF
11650cat confdefs.h >>conftest.$ac_ext
11651cat >>conftest.$ac_ext <<_ACEOF
11652/* end confdefs.h. */
11653
11654/* Override any gcc2 internal prototype to avoid an error. */
11655#ifdef __cplusplus
11656extern "C"
11657#endif
11658/* We use char because int might match the return type of a gcc2
11659 builtin and then its argument prototype would still apply. */
11660char drand48 ();
11661int
11662main ()
11663{
11664drand48 ();
11665 ;
11666 return 0;
11667}
11668_ACEOF
11669rm -f conftest.$ac_objext conftest$ac_exeext
11670if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11671 (eval $ac_link) 2>&5
11672 ac_status=$?
11673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11674 (exit $ac_status); } &&
11675 { ac_try='test -s conftest$ac_exeext'
11676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11677 (eval $ac_try) 2>&5
11678 ac_status=$?
11679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11680 (exit $ac_status); }; }; then
11681 ac_cv_lib_cExt_drand48=yes
11682else
11683 echo "$as_me: failed program was:" >&5
11684sed 's/^/| /' conftest.$ac_ext >&5
11685
11686ac_cv_lib_cExt_drand48=no
11687fi
11688rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11689LIBS=$ac_check_lib_save_LIBS
11690fi
11691echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11692echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11693if test $ac_cv_lib_cExt_drand48 = yes; then
11694 LIBS="$LIBS -lcExt"
11695fi
11696
11697 else
11698 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11699 fi
11700 ;;
11701esac
11702
11703
11704if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11705 echo "$as_me:$LINENO: checking for strings.h" >&5
11706echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11707if test "${ac_cv_header_strings_h+set}" = set; then
11708 echo $ECHO_N "(cached) $ECHO_C" >&6
11709else
11710 ac_cv_header_strings_h=no
11711fi
11712echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11713echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11714 if test "$ac_cv_header_strings_h" = "no"; then
11715 echo "$as_me:$LINENO: result: forced no into cache" >&5
11716echo "${ECHO_T}forced no into cache" >&6
11717 else
11718 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11719echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11720 fi
11721fi
11722echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11723echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11724if test "${ac_cv_header_stdc+set}" = set; then
11725 echo $ECHO_N "(cached) $ECHO_C" >&6
11726else
11727 cat >conftest.$ac_ext <<_ACEOF
11728#line $LINENO "configure"
11729/* confdefs.h. */
11730_ACEOF
11731cat confdefs.h >>conftest.$ac_ext
11732cat >>conftest.$ac_ext <<_ACEOF
11733/* end confdefs.h. */
11734#include <stdlib.h>
11735#include <stdarg.h>
11736#include <string.h>
11737#include <float.h>
11738
11739int
11740main ()
11741{
11742
11743 ;
11744 return 0;
11745}
11746_ACEOF
11747rm -f conftest.$ac_objext
11748if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11749 (eval $ac_compile) 2>&5
11750 ac_status=$?
11751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11752 (exit $ac_status); } &&
11753 { ac_try='test -s conftest.$ac_objext'
11754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11755 (eval $ac_try) 2>&5
11756 ac_status=$?
11757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 (exit $ac_status); }; }; then
11759 ac_cv_header_stdc=yes
11760else
11761 echo "$as_me: failed program was:" >&5
11762sed 's/^/| /' conftest.$ac_ext >&5
11763
11764ac_cv_header_stdc=no
11765fi
11766rm -f conftest.$ac_objext conftest.$ac_ext
11767
11768if test $ac_cv_header_stdc = yes; then
11769 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11770 cat >conftest.$ac_ext <<_ACEOF
11771#line $LINENO "configure"
11772/* confdefs.h. */
11773_ACEOF
11774cat confdefs.h >>conftest.$ac_ext
11775cat >>conftest.$ac_ext <<_ACEOF
11776/* end confdefs.h. */
11777#include <string.h>
11778
11779_ACEOF
11780if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11781 $EGREP "memchr" >/dev/null 2>&1; then
11782 :
11783else
11784 ac_cv_header_stdc=no
11785fi
11786rm -f conftest*
11787
11788fi
11789
11790if test $ac_cv_header_stdc = yes; then
11791 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11792 cat >conftest.$ac_ext <<_ACEOF
11793#line $LINENO "configure"
11794/* confdefs.h. */
11795_ACEOF
11796cat confdefs.h >>conftest.$ac_ext
11797cat >>conftest.$ac_ext <<_ACEOF
11798/* end confdefs.h. */
11799#include <stdlib.h>
11800
11801_ACEOF
11802if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11803 $EGREP "free" >/dev/null 2>&1; then
11804 :
11805else
11806 ac_cv_header_stdc=no
11807fi
11808rm -f conftest*
11809
11810fi
11811
11812if test $ac_cv_header_stdc = yes; then
11813 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11814 if test "$cross_compiling" = yes; then
11815 :
11816else
11817 cat >conftest.$ac_ext <<_ACEOF
11818#line $LINENO "configure"
11819/* confdefs.h. */
11820_ACEOF
11821cat confdefs.h >>conftest.$ac_ext
11822cat >>conftest.$ac_ext <<_ACEOF
11823/* end confdefs.h. */
11824#include <ctype.h>
11825#if ((' ' & 0x0FF) == 0x020)
11826# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11827# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11828#else
11829# define ISLOWER(c) \
11830 (('a' <= (c) && (c) <= 'i') \
11831 || ('j' <= (c) && (c) <= 'r') \
11832 || ('s' <= (c) && (c) <= 'z'))
11833# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11834#endif
11835
11836#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11837int
11838main ()
11839{
11840 int i;
11841 for (i = 0; i < 256; i++)
11842 if (XOR (islower (i), ISLOWER (i))
11843 || toupper (i) != TOUPPER (i))
11844 exit(2);
11845 exit (0);
11846}
11847_ACEOF
11848rm -f conftest$ac_exeext
11849if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11850 (eval $ac_link) 2>&5
11851 ac_status=$?
11852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11855 (eval $ac_try) 2>&5
11856 ac_status=$?
11857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11858 (exit $ac_status); }; }; then
11859 :
11860else
11861 echo "$as_me: program exited with status $ac_status" >&5
11862echo "$as_me: failed program was:" >&5
11863sed 's/^/| /' conftest.$ac_ext >&5
11864
11865( exit $ac_status )
11866ac_cv_header_stdc=no
11867fi
11868rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11869fi
11870fi
11871fi
11872echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11873echo "${ECHO_T}$ac_cv_header_stdc" >&6
11874if test $ac_cv_header_stdc = yes; then
11875
11876cat >>confdefs.h <<\_ACEOF
11877#define STDC_HEADERS 1
11878_ACEOF
11879
11880fi
11881
11882# On IRIX 5.3, sys/types and inttypes.h are conflicting.
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
11893 inttypes.h stdint.h unistd.h
11894do
11895as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11896echo "$as_me:$LINENO: checking for $ac_header" >&5
11897echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11898if eval "test \"\${$as_ac_Header+set}\" = set"; then
11899 echo $ECHO_N "(cached) $ECHO_C" >&6
11900else
11901 cat >conftest.$ac_ext <<_ACEOF
11902#line $LINENO "configure"
11903/* confdefs.h. */
11904_ACEOF
11905cat confdefs.h >>conftest.$ac_ext
11906cat >>conftest.$ac_ext <<_ACEOF
11907/* end confdefs.h. */
11908$ac_includes_default
11909
11910#include <$ac_header>
11911_ACEOF
11912rm -f conftest.$ac_objext
11913if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11914 (eval $ac_compile) 2>&5
11915 ac_status=$?
11916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 (exit $ac_status); } &&
11918 { ac_try='test -s conftest.$ac_objext'
11919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11920 (eval $ac_try) 2>&5
11921 ac_status=$?
11922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11923 (exit $ac_status); }; }; then
11924 eval "$as_ac_Header=yes"
11925else
11926 echo "$as_me: failed program was:" >&5
11927sed 's/^/| /' conftest.$ac_ext >&5
11928
11929eval "$as_ac_Header=no"
11930fi
11931rm -f conftest.$ac_objext conftest.$ac_ext
11932fi
11933echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11934echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11935if test `eval echo '${'$as_ac_Header'}'` = yes; then
11936 cat >>confdefs.h <<_ACEOF
11937#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11938_ACEOF
11939
11940fi
11941
11942done
11943
11944
11945
11946for ac_header in strings.h
11947do
11948as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11949if eval "test \"\${$as_ac_Header+set}\" = set"; then
11950 echo "$as_me:$LINENO: checking for $ac_header" >&5
11951echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11952if eval "test \"\${$as_ac_Header+set}\" = set"; then
11953 echo $ECHO_N "(cached) $ECHO_C" >&6
11954fi
11955echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11956echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11957else
11958 # Is the header compilable?
11959echo "$as_me:$LINENO: checking $ac_header usability" >&5
11960echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11961cat >conftest.$ac_ext <<_ACEOF
11962#line $LINENO "configure"
11963/* confdefs.h. */
11964_ACEOF
11965cat confdefs.h >>conftest.$ac_ext
11966cat >>conftest.$ac_ext <<_ACEOF
11967/* end confdefs.h. */
11968$ac_includes_default
11969#include <$ac_header>
11970_ACEOF
11971rm -f conftest.$ac_objext
11972if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11973 (eval $ac_compile) 2>&5
11974 ac_status=$?
11975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976 (exit $ac_status); } &&
11977 { ac_try='test -s conftest.$ac_objext'
11978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11979 (eval $ac_try) 2>&5
11980 ac_status=$?
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 (exit $ac_status); }; }; then
11983 ac_header_compiler=yes
11984else
11985 echo "$as_me: failed program was:" >&5
11986sed 's/^/| /' conftest.$ac_ext >&5
11987
11988ac_header_compiler=no
11989fi
11990rm -f conftest.$ac_objext conftest.$ac_ext
11991echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11992echo "${ECHO_T}$ac_header_compiler" >&6
11993
11994# Is the header present?
11995echo "$as_me:$LINENO: checking $ac_header presence" >&5
11996echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11997cat >conftest.$ac_ext <<_ACEOF
11998#line $LINENO "configure"
11999/* confdefs.h. */
12000_ACEOF
12001cat confdefs.h >>conftest.$ac_ext
12002cat >>conftest.$ac_ext <<_ACEOF
12003/* end confdefs.h. */
12004#include <$ac_header>
12005_ACEOF
12006if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12007 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12008 ac_status=$?
12009 grep -v '^ *+' conftest.er1 >conftest.err
12010 rm -f conftest.er1
12011 cat conftest.err >&5
12012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12013 (exit $ac_status); } >/dev/null; then
12014 if test -s conftest.err; then
12015 ac_cpp_err=$ac_c_preproc_warn_flag
12016 else
12017 ac_cpp_err=
12018 fi
12019else
12020 ac_cpp_err=yes
12021fi
12022if test -z "$ac_cpp_err"; then
12023 ac_header_preproc=yes
12024else
12025 echo "$as_me: failed program was:" >&5
12026sed 's/^/| /' conftest.$ac_ext >&5
12027
12028 ac_header_preproc=no
12029fi
12030rm -f conftest.err conftest.$ac_ext
12031echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12032echo "${ECHO_T}$ac_header_preproc" >&6
12033
12034# So? What about this header?
12035case $ac_header_compiler:$ac_header_preproc in
12036 yes:no )
12037 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12038echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12039 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12040echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12041 (
12042 cat <<\_ASBOX
12043## ------------------------------------ ##
12044## Report this to bug-autoconf@gnu.org. ##
12045## ------------------------------------ ##
12046_ASBOX
12047 ) |
12048 sed "s/^/$as_me: WARNING: /" >&2
12049 ;;
12050 no:yes )
12051 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12052echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12053 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12054echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12056echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12057 (
12058 cat <<\_ASBOX
12059## ------------------------------------ ##
12060## Report this to bug-autoconf@gnu.org. ##
12061## ------------------------------------ ##
12062_ASBOX
12063 ) |
12064 sed "s/^/$as_me: WARNING: /" >&2
12065 ;;
12066esac
12067echo "$as_me:$LINENO: checking for $ac_header" >&5
12068echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12069if eval "test \"\${$as_ac_Header+set}\" = set"; then
12070 echo $ECHO_N "(cached) $ECHO_C" >&6
12071else
12072 eval "$as_ac_Header=$ac_header_preproc"
12073fi
12074echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12075echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12076
12077fi
12078if test `eval echo '${'$as_ac_Header'}'` = yes; then
12079 cat >>confdefs.h <<_ACEOF
12080#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12081_ACEOF
12082
12083fi
12084
12085done
12086
12087
12088
12089for ac_header in stdlib.h
12090do
12091as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12092if eval "test \"\${$as_ac_Header+set}\" = set"; then
12093 echo "$as_me:$LINENO: checking for $ac_header" >&5
12094echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12095if eval "test \"\${$as_ac_Header+set}\" = set"; then
12096 echo $ECHO_N "(cached) $ECHO_C" >&6
12097fi
12098echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12099echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12100else
12101 # Is the header compilable?
12102echo "$as_me:$LINENO: checking $ac_header usability" >&5
12103echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12104cat >conftest.$ac_ext <<_ACEOF
12105#line $LINENO "configure"
12106/* confdefs.h. */
12107_ACEOF
12108cat confdefs.h >>conftest.$ac_ext
12109cat >>conftest.$ac_ext <<_ACEOF
12110/* end confdefs.h. */
12111$ac_includes_default
12112#include <$ac_header>
12113_ACEOF
12114rm -f conftest.$ac_objext
12115if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12116 (eval $ac_compile) 2>&5
12117 ac_status=$?
12118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12119 (exit $ac_status); } &&
12120 { ac_try='test -s conftest.$ac_objext'
12121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12122 (eval $ac_try) 2>&5
12123 ac_status=$?
12124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12125 (exit $ac_status); }; }; then
12126 ac_header_compiler=yes
12127else
12128 echo "$as_me: failed program was:" >&5
12129sed 's/^/| /' conftest.$ac_ext >&5
12130
12131ac_header_compiler=no
12132fi
12133rm -f conftest.$ac_objext conftest.$ac_ext
12134echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12135echo "${ECHO_T}$ac_header_compiler" >&6
12136
12137# Is the header present?
12138echo "$as_me:$LINENO: checking $ac_header presence" >&5
12139echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12140cat >conftest.$ac_ext <<_ACEOF
12141#line $LINENO "configure"
12142/* confdefs.h. */
12143_ACEOF
12144cat confdefs.h >>conftest.$ac_ext
12145cat >>conftest.$ac_ext <<_ACEOF
12146/* end confdefs.h. */
12147#include <$ac_header>
12148_ACEOF
12149if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12150 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12151 ac_status=$?
12152 grep -v '^ *+' conftest.er1 >conftest.err
12153 rm -f conftest.er1
12154 cat conftest.err >&5
12155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12156 (exit $ac_status); } >/dev/null; then
12157 if test -s conftest.err; then
12158 ac_cpp_err=$ac_c_preproc_warn_flag
12159 else
12160 ac_cpp_err=
12161 fi
12162else
12163 ac_cpp_err=yes
12164fi
12165if test -z "$ac_cpp_err"; then
12166 ac_header_preproc=yes
12167else
12168 echo "$as_me: failed program was:" >&5
12169sed 's/^/| /' conftest.$ac_ext >&5
12170
12171 ac_header_preproc=no
12172fi
12173rm -f conftest.err conftest.$ac_ext
12174echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12175echo "${ECHO_T}$ac_header_preproc" >&6
12176
12177# So? What about this header?
12178case $ac_header_compiler:$ac_header_preproc in
12179 yes:no )
12180 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12181echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12182 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12183echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12184 (
12185 cat <<\_ASBOX
12186## ------------------------------------ ##
12187## Report this to bug-autoconf@gnu.org. ##
12188## ------------------------------------ ##
12189_ASBOX
12190 ) |
12191 sed "s/^/$as_me: WARNING: /" >&2
12192 ;;
12193 no:yes )
12194 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12195echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12196 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12197echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12199echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12200 (
12201 cat <<\_ASBOX
12202## ------------------------------------ ##
12203## Report this to bug-autoconf@gnu.org. ##
12204## ------------------------------------ ##
12205_ASBOX
12206 ) |
12207 sed "s/^/$as_me: WARNING: /" >&2
12208 ;;
12209esac
12210echo "$as_me:$LINENO: checking for $ac_header" >&5
12211echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12212if eval "test \"\${$as_ac_Header+set}\" = set"; then
12213 echo $ECHO_N "(cached) $ECHO_C" >&6
12214else
12215 eval "$as_ac_Header=$ac_header_preproc"
12216fi
12217echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12218echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12219
12220fi
12221if test `eval echo '${'$as_ac_Header'}'` = yes; then
12222 cat >>confdefs.h <<_ACEOF
12223#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12224_ACEOF
12225
12226fi
12227
12228done
12229
12230
12231for ac_header in malloc.h
12232do
12233as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12234if eval "test \"\${$as_ac_Header+set}\" = set"; then
12235 echo "$as_me:$LINENO: checking for $ac_header" >&5
12236echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12237if eval "test \"\${$as_ac_Header+set}\" = set"; then
12238 echo $ECHO_N "(cached) $ECHO_C" >&6
12239fi
12240echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12241echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12242else
12243 # Is the header compilable?
12244echo "$as_me:$LINENO: checking $ac_header usability" >&5
12245echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12246cat >conftest.$ac_ext <<_ACEOF
12247#line $LINENO "configure"
12248/* confdefs.h. */
12249_ACEOF
12250cat confdefs.h >>conftest.$ac_ext
12251cat >>conftest.$ac_ext <<_ACEOF
12252/* end confdefs.h. */
12253$ac_includes_default
12254#include <$ac_header>
12255_ACEOF
12256rm -f conftest.$ac_objext
12257if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12258 (eval $ac_compile) 2>&5
12259 ac_status=$?
12260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12261 (exit $ac_status); } &&
12262 { ac_try='test -s conftest.$ac_objext'
12263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12264 (eval $ac_try) 2>&5
12265 ac_status=$?
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 (exit $ac_status); }; }; then
12268 ac_header_compiler=yes
12269else
12270 echo "$as_me: failed program was:" >&5
12271sed 's/^/| /' conftest.$ac_ext >&5
12272
12273ac_header_compiler=no
12274fi
12275rm -f conftest.$ac_objext conftest.$ac_ext
12276echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12277echo "${ECHO_T}$ac_header_compiler" >&6
12278
12279# Is the header present?
12280echo "$as_me:$LINENO: checking $ac_header presence" >&5
12281echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12282cat >conftest.$ac_ext <<_ACEOF
12283#line $LINENO "configure"
12284/* confdefs.h. */
12285_ACEOF
12286cat confdefs.h >>conftest.$ac_ext
12287cat >>conftest.$ac_ext <<_ACEOF
12288/* end confdefs.h. */
12289#include <$ac_header>
12290_ACEOF
12291if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12292 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12293 ac_status=$?
12294 grep -v '^ *+' conftest.er1 >conftest.err
12295 rm -f conftest.er1
12296 cat conftest.err >&5
12297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12298 (exit $ac_status); } >/dev/null; then
12299 if test -s conftest.err; then
12300 ac_cpp_err=$ac_c_preproc_warn_flag
12301 else
12302 ac_cpp_err=
12303 fi
12304else
12305 ac_cpp_err=yes
12306fi
12307if test -z "$ac_cpp_err"; then
12308 ac_header_preproc=yes
12309else
12310 echo "$as_me: failed program was:" >&5
12311sed 's/^/| /' conftest.$ac_ext >&5
12312
12313 ac_header_preproc=no
12314fi
12315rm -f conftest.err conftest.$ac_ext
12316echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12317echo "${ECHO_T}$ac_header_preproc" >&6
12318
12319# So? What about this header?
12320case $ac_header_compiler:$ac_header_preproc in
12321 yes:no )
12322 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12323echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12325echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12326 (
12327 cat <<\_ASBOX
12328## ------------------------------------ ##
12329## Report this to bug-autoconf@gnu.org. ##
12330## ------------------------------------ ##
12331_ASBOX
12332 ) |
12333 sed "s/^/$as_me: WARNING: /" >&2
12334 ;;
12335 no:yes )
12336 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12337echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12338 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12339echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12340 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12341echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12342 (
12343 cat <<\_ASBOX
12344## ------------------------------------ ##
12345## Report this to bug-autoconf@gnu.org. ##
12346## ------------------------------------ ##
12347_ASBOX
12348 ) |
12349 sed "s/^/$as_me: WARNING: /" >&2
12350 ;;
12351esac
12352echo "$as_me:$LINENO: checking for $ac_header" >&5
12353echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12354if eval "test \"\${$as_ac_Header+set}\" = set"; then
12355 echo $ECHO_N "(cached) $ECHO_C" >&6
12356else
12357 eval "$as_ac_Header=$ac_header_preproc"
12358fi
12359echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12360echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12361
12362fi
12363if test `eval echo '${'$as_ac_Header'}'` = yes; then
12364 cat >>confdefs.h <<_ACEOF
12365#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12366_ACEOF
12367
12368fi
12369
12370done
12371
12372
12373for ac_header in unistd.h
12374do
12375as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12376if eval "test \"\${$as_ac_Header+set}\" = set"; then
12377 echo "$as_me:$LINENO: checking for $ac_header" >&5
12378echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12379if eval "test \"\${$as_ac_Header+set}\" = set"; then
12380 echo $ECHO_N "(cached) $ECHO_C" >&6
12381fi
12382echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12383echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12384else
12385 # Is the header compilable?
12386echo "$as_me:$LINENO: checking $ac_header usability" >&5
12387echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12388cat >conftest.$ac_ext <<_ACEOF
12389#line $LINENO "configure"
12390/* confdefs.h. */
12391_ACEOF
12392cat confdefs.h >>conftest.$ac_ext
12393cat >>conftest.$ac_ext <<_ACEOF
12394/* end confdefs.h. */
12395$ac_includes_default
12396#include <$ac_header>
12397_ACEOF
12398rm -f conftest.$ac_objext
12399if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12400 (eval $ac_compile) 2>&5
12401 ac_status=$?
12402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403 (exit $ac_status); } &&
12404 { ac_try='test -s conftest.$ac_objext'
12405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12406 (eval $ac_try) 2>&5
12407 ac_status=$?
12408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12409 (exit $ac_status); }; }; then
12410 ac_header_compiler=yes
12411else
12412 echo "$as_me: failed program was:" >&5
12413sed 's/^/| /' conftest.$ac_ext >&5
12414
12415ac_header_compiler=no
12416fi
12417rm -f conftest.$ac_objext conftest.$ac_ext
12418echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12419echo "${ECHO_T}$ac_header_compiler" >&6
12420
12421# Is the header present?
12422echo "$as_me:$LINENO: checking $ac_header presence" >&5
12423echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12424cat >conftest.$ac_ext <<_ACEOF
12425#line $LINENO "configure"
12426/* confdefs.h. */
12427_ACEOF
12428cat confdefs.h >>conftest.$ac_ext
12429cat >>conftest.$ac_ext <<_ACEOF
12430/* end confdefs.h. */
12431#include <$ac_header>
12432_ACEOF
12433if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12434 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12435 ac_status=$?
12436 grep -v '^ *+' conftest.er1 >conftest.err
12437 rm -f conftest.er1
12438 cat conftest.err >&5
12439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12440 (exit $ac_status); } >/dev/null; then
12441 if test -s conftest.err; then
12442 ac_cpp_err=$ac_c_preproc_warn_flag
12443 else
12444 ac_cpp_err=
12445 fi
12446else
12447 ac_cpp_err=yes
12448fi
12449if test -z "$ac_cpp_err"; then
12450 ac_header_preproc=yes
12451else
12452 echo "$as_me: failed program was:" >&5
12453sed 's/^/| /' conftest.$ac_ext >&5
12454
12455 ac_header_preproc=no
12456fi
12457rm -f conftest.err conftest.$ac_ext
12458echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12459echo "${ECHO_T}$ac_header_preproc" >&6
12460
12461# So? What about this header?
12462case $ac_header_compiler:$ac_header_preproc in
12463 yes:no )
12464 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12465echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12467echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12468 (
12469 cat <<\_ASBOX
12470## ------------------------------------ ##
12471## Report this to bug-autoconf@gnu.org. ##
12472## ------------------------------------ ##
12473_ASBOX
12474 ) |
12475 sed "s/^/$as_me: WARNING: /" >&2
12476 ;;
12477 no:yes )
12478 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12479echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12480 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12481echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12483echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12484 (
12485 cat <<\_ASBOX
12486## ------------------------------------ ##
12487## Report this to bug-autoconf@gnu.org. ##
12488## ------------------------------------ ##
12489_ASBOX
12490 ) |
12491 sed "s/^/$as_me: WARNING: /" >&2
12492 ;;
12493esac
12494echo "$as_me:$LINENO: checking for $ac_header" >&5
12495echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12496if eval "test \"\${$as_ac_Header+set}\" = set"; then
12497 echo $ECHO_N "(cached) $ECHO_C" >&6
12498else
12499 eval "$as_ac_Header=$ac_header_preproc"
12500fi
12501echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12502echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12503
12504fi
12505if test `eval echo '${'$as_ac_Header'}'` = yes; then
12506 cat >>confdefs.h <<_ACEOF
12507#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12508_ACEOF
12509
12510fi
12511
12512done
12513
12514
12515for ac_header in wchar.h
12516do
12517as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12518if eval "test \"\${$as_ac_Header+set}\" = set"; then
12519 echo "$as_me:$LINENO: checking for $ac_header" >&5
12520echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12521if eval "test \"\${$as_ac_Header+set}\" = set"; then
12522 echo $ECHO_N "(cached) $ECHO_C" >&6
12523fi
12524echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12525echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12526else
12527 # Is the header compilable?
12528echo "$as_me:$LINENO: checking $ac_header usability" >&5
12529echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12530cat >conftest.$ac_ext <<_ACEOF
12531#line $LINENO "configure"
12532/* confdefs.h. */
12533_ACEOF
12534cat confdefs.h >>conftest.$ac_ext
12535cat >>conftest.$ac_ext <<_ACEOF
12536/* end confdefs.h. */
12537$ac_includes_default
12538#include <$ac_header>
12539_ACEOF
12540rm -f conftest.$ac_objext
12541if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12542 (eval $ac_compile) 2>&5
12543 ac_status=$?
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); } &&
12546 { ac_try='test -s conftest.$ac_objext'
12547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12548 (eval $ac_try) 2>&5
12549 ac_status=$?
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); }; }; then
12552 ac_header_compiler=yes
12553else
12554 echo "$as_me: failed program was:" >&5
12555sed 's/^/| /' conftest.$ac_ext >&5
12556
12557ac_header_compiler=no
12558fi
12559rm -f conftest.$ac_objext conftest.$ac_ext
12560echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12561echo "${ECHO_T}$ac_header_compiler" >&6
12562
12563# Is the header present?
12564echo "$as_me:$LINENO: checking $ac_header presence" >&5
12565echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12566cat >conftest.$ac_ext <<_ACEOF
12567#line $LINENO "configure"
12568/* confdefs.h. */
12569_ACEOF
12570cat confdefs.h >>conftest.$ac_ext
12571cat >>conftest.$ac_ext <<_ACEOF
12572/* end confdefs.h. */
12573#include <$ac_header>
12574_ACEOF
12575if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12576 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12577 ac_status=$?
12578 grep -v '^ *+' conftest.er1 >conftest.err
12579 rm -f conftest.er1
12580 cat conftest.err >&5
12581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12582 (exit $ac_status); } >/dev/null; then
12583 if test -s conftest.err; then
12584 ac_cpp_err=$ac_c_preproc_warn_flag
12585 else
12586 ac_cpp_err=
12587 fi
12588else
12589 ac_cpp_err=yes
12590fi
12591if test -z "$ac_cpp_err"; then
12592 ac_header_preproc=yes
12593else
12594 echo "$as_me: failed program was:" >&5
12595sed 's/^/| /' conftest.$ac_ext >&5
12596
12597 ac_header_preproc=no
12598fi
12599rm -f conftest.err conftest.$ac_ext
12600echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12601echo "${ECHO_T}$ac_header_preproc" >&6
12602
12603# So? What about this header?
12604case $ac_header_compiler:$ac_header_preproc in
12605 yes:no )
12606 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12607echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12609echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12610 (
12611 cat <<\_ASBOX
12612## ------------------------------------ ##
12613## Report this to bug-autoconf@gnu.org. ##
12614## ------------------------------------ ##
12615_ASBOX
12616 ) |
12617 sed "s/^/$as_me: WARNING: /" >&2
12618 ;;
12619 no:yes )
12620 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12621echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12622 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12623echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12625echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12626 (
12627 cat <<\_ASBOX
12628## ------------------------------------ ##
12629## Report this to bug-autoconf@gnu.org. ##
12630## ------------------------------------ ##
12631_ASBOX
12632 ) |
12633 sed "s/^/$as_me: WARNING: /" >&2
12634 ;;
12635esac
12636echo "$as_me:$LINENO: checking for $ac_header" >&5
12637echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12638if eval "test \"\${$as_ac_Header+set}\" = set"; then
12639 echo $ECHO_N "(cached) $ECHO_C" >&6
12640else
12641 eval "$as_ac_Header=$ac_header_preproc"
12642fi
12643echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12644echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12645
12646fi
12647if test `eval echo '${'$as_ac_Header'}'` = yes; then
12648 cat >>confdefs.h <<_ACEOF
12649#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12650_ACEOF
12651
12652fi
12653
12654done
12655
12656
12657if test "$ac_cv_header_wchar_h" != "yes"; then
12658
12659for ac_header in wcstr.h
12660do
12661as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12662if eval "test \"\${$as_ac_Header+set}\" = set"; then
12663 echo "$as_me:$LINENO: checking for $ac_header" >&5
12664echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12665if eval "test \"\${$as_ac_Header+set}\" = set"; then
12666 echo $ECHO_N "(cached) $ECHO_C" >&6
12667fi
12668echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12669echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12670else
12671 # Is the header compilable?
12672echo "$as_me:$LINENO: checking $ac_header usability" >&5
12673echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12674cat >conftest.$ac_ext <<_ACEOF
12675#line $LINENO "configure"
12676/* confdefs.h. */
12677_ACEOF
12678cat confdefs.h >>conftest.$ac_ext
12679cat >>conftest.$ac_ext <<_ACEOF
12680/* end confdefs.h. */
12681$ac_includes_default
12682#include <$ac_header>
12683_ACEOF
12684rm -f conftest.$ac_objext
12685if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12686 (eval $ac_compile) 2>&5
12687 ac_status=$?
12688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689 (exit $ac_status); } &&
12690 { ac_try='test -s conftest.$ac_objext'
12691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12692 (eval $ac_try) 2>&5
12693 ac_status=$?
12694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12695 (exit $ac_status); }; }; then
12696 ac_header_compiler=yes
12697else
12698 echo "$as_me: failed program was:" >&5
12699sed 's/^/| /' conftest.$ac_ext >&5
12700
12701ac_header_compiler=no
12702fi
12703rm -f conftest.$ac_objext conftest.$ac_ext
12704echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12705echo "${ECHO_T}$ac_header_compiler" >&6
12706
12707# Is the header present?
12708echo "$as_me:$LINENO: checking $ac_header presence" >&5
12709echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12710cat >conftest.$ac_ext <<_ACEOF
12711#line $LINENO "configure"
12712/* confdefs.h. */
12713_ACEOF
12714cat confdefs.h >>conftest.$ac_ext
12715cat >>conftest.$ac_ext <<_ACEOF
12716/* end confdefs.h. */
12717#include <$ac_header>
12718_ACEOF
12719if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12720 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12721 ac_status=$?
12722 grep -v '^ *+' conftest.er1 >conftest.err
12723 rm -f conftest.er1
12724 cat conftest.err >&5
12725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12726 (exit $ac_status); } >/dev/null; then
12727 if test -s conftest.err; then
12728 ac_cpp_err=$ac_c_preproc_warn_flag
12729 else
12730 ac_cpp_err=
12731 fi
12732else
12733 ac_cpp_err=yes
12734fi
12735if test -z "$ac_cpp_err"; then
12736 ac_header_preproc=yes
12737else
12738 echo "$as_me: failed program was:" >&5
12739sed 's/^/| /' conftest.$ac_ext >&5
12740
12741 ac_header_preproc=no
12742fi
12743rm -f conftest.err conftest.$ac_ext
12744echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12745echo "${ECHO_T}$ac_header_preproc" >&6
12746
12747# So? What about this header?
12748case $ac_header_compiler:$ac_header_preproc in
12749 yes:no )
12750 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12751echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12753echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12754 (
12755 cat <<\_ASBOX
12756## ------------------------------------ ##
12757## Report this to bug-autoconf@gnu.org. ##
12758## ------------------------------------ ##
12759_ASBOX
12760 ) |
12761 sed "s/^/$as_me: WARNING: /" >&2
12762 ;;
12763 no:yes )
12764 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12765echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12766 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12767echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12768 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12769echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12770 (
12771 cat <<\_ASBOX
12772## ------------------------------------ ##
12773## Report this to bug-autoconf@gnu.org. ##
12774## ------------------------------------ ##
12775_ASBOX
12776 ) |
12777 sed "s/^/$as_me: WARNING: /" >&2
12778 ;;
12779esac
12780echo "$as_me:$LINENO: checking for $ac_header" >&5
12781echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12782if eval "test \"\${$as_ac_Header+set}\" = set"; then
12783 echo $ECHO_N "(cached) $ECHO_C" >&6
12784else
12785 eval "$as_ac_Header=$ac_header_preproc"
12786fi
12787echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12788echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12789
12790fi
12791if test `eval echo '${'$as_ac_Header'}'` = yes; then
12792 cat >>confdefs.h <<_ACEOF
12793#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12794_ACEOF
12795
12796fi
12797
12798done
12799
12800fi
12801
12802
12803for ac_header in fnmatch.h
12804do
12805as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12806if eval "test \"\${$as_ac_Header+set}\" = set"; then
12807 echo "$as_me:$LINENO: checking for $ac_header" >&5
12808echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12809if eval "test \"\${$as_ac_Header+set}\" = set"; then
12810 echo $ECHO_N "(cached) $ECHO_C" >&6
12811fi
12812echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12813echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12814else
12815 # Is the header compilable?
12816echo "$as_me:$LINENO: checking $ac_header usability" >&5
12817echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12818cat >conftest.$ac_ext <<_ACEOF
12819#line $LINENO "configure"
12820/* confdefs.h. */
12821_ACEOF
12822cat confdefs.h >>conftest.$ac_ext
12823cat >>conftest.$ac_ext <<_ACEOF
12824/* end confdefs.h. */
12825$ac_includes_default
12826#include <$ac_header>
12827_ACEOF
12828rm -f conftest.$ac_objext
12829if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12830 (eval $ac_compile) 2>&5
12831 ac_status=$?
12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833 (exit $ac_status); } &&
12834 { ac_try='test -s conftest.$ac_objext'
12835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12836 (eval $ac_try) 2>&5
12837 ac_status=$?
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); }; }; then
12840 ac_header_compiler=yes
12841else
12842 echo "$as_me: failed program was:" >&5
12843sed 's/^/| /' conftest.$ac_ext >&5
12844
12845ac_header_compiler=no
12846fi
12847rm -f conftest.$ac_objext conftest.$ac_ext
12848echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12849echo "${ECHO_T}$ac_header_compiler" >&6
12850
12851# Is the header present?
12852echo "$as_me:$LINENO: checking $ac_header presence" >&5
12853echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12854cat >conftest.$ac_ext <<_ACEOF
12855#line $LINENO "configure"
12856/* confdefs.h. */
12857_ACEOF
12858cat confdefs.h >>conftest.$ac_ext
12859cat >>conftest.$ac_ext <<_ACEOF
12860/* end confdefs.h. */
12861#include <$ac_header>
12862_ACEOF
12863if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12864 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12865 ac_status=$?
12866 grep -v '^ *+' conftest.er1 >conftest.err
12867 rm -f conftest.er1
12868 cat conftest.err >&5
12869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12870 (exit $ac_status); } >/dev/null; then
12871 if test -s conftest.err; then
12872 ac_cpp_err=$ac_c_preproc_warn_flag
12873 else
12874 ac_cpp_err=
12875 fi
12876else
12877 ac_cpp_err=yes
12878fi
12879if test -z "$ac_cpp_err"; then
12880 ac_header_preproc=yes
12881else
12882 echo "$as_me: failed program was:" >&5
12883sed 's/^/| /' conftest.$ac_ext >&5
12884
12885 ac_header_preproc=no
12886fi
12887rm -f conftest.err conftest.$ac_ext
12888echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12889echo "${ECHO_T}$ac_header_preproc" >&6
12890
12891# So? What about this header?
12892case $ac_header_compiler:$ac_header_preproc in
12893 yes:no )
12894 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12895echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12896 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12897echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12898 (
12899 cat <<\_ASBOX
12900## ------------------------------------ ##
12901## Report this to bug-autoconf@gnu.org. ##
12902## ------------------------------------ ##
12903_ASBOX
12904 ) |
12905 sed "s/^/$as_me: WARNING: /" >&2
12906 ;;
12907 no:yes )
12908 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12909echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12910 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12911echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12912 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12913echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12914 (
12915 cat <<\_ASBOX
12916## ------------------------------------ ##
12917## Report this to bug-autoconf@gnu.org. ##
12918## ------------------------------------ ##
12919_ASBOX
12920 ) |
12921 sed "s/^/$as_me: WARNING: /" >&2
12922 ;;
12923esac
12924echo "$as_me:$LINENO: checking for $ac_header" >&5
12925echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12926if eval "test \"\${$as_ac_Header+set}\" = set"; then
12927 echo $ECHO_N "(cached) $ECHO_C" >&6
12928else
12929 eval "$as_ac_Header=$ac_header_preproc"
12930fi
12931echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12932echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12933
12934fi
12935if test `eval echo '${'$as_ac_Header'}'` = yes; then
12936 cat >>confdefs.h <<_ACEOF
12937#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12938_ACEOF
12939
12940fi
12941
12942done
12943
12944
12945if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
12946
12947for ac_func in fnmatch
12948do
12949as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12950echo "$as_me:$LINENO: checking for $ac_func" >&5
12951echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12952if eval "test \"\${$as_ac_var+set}\" = set"; then
12953 echo $ECHO_N "(cached) $ECHO_C" >&6
12954else
12955 cat >conftest.$ac_ext <<_ACEOF
12956#line $LINENO "configure"
12957/* confdefs.h. */
12958_ACEOF
12959cat confdefs.h >>conftest.$ac_ext
12960cat >>conftest.$ac_ext <<_ACEOF
12961/* end confdefs.h. */
12962/* System header to define __stub macros and hopefully few prototypes,
12963 which can conflict with char $ac_func (); below.
12964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12965 <limits.h> exists even on freestanding compilers. */
12966#ifdef __STDC__
12967# include <limits.h>
12968#else
12969# include <assert.h>
12970#endif
12971/* Override any gcc2 internal prototype to avoid an error. */
12972#ifdef __cplusplus
12973extern "C"
12974{
12975#endif
12976/* We use char because int might match the return type of a gcc2
12977 builtin and then its argument prototype would still apply. */
12978char $ac_func ();
12979/* The GNU C library defines this for functions which it implements
12980 to always fail with ENOSYS. Some functions are actually named
12981 something starting with __ and the normal name is an alias. */
12982#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12983choke me
12984#else
12985char (*f) () = $ac_func;
12986#endif
12987#ifdef __cplusplus
12988}
12989#endif
12990
12991int
12992main ()
12993{
12994return f != $ac_func;
12995 ;
12996 return 0;
12997}
12998_ACEOF
12999rm -f conftest.$ac_objext conftest$ac_exeext
13000if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13001 (eval $ac_link) 2>&5
13002 ac_status=$?
13003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13004 (exit $ac_status); } &&
13005 { ac_try='test -s conftest$ac_exeext'
13006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13007 (eval $ac_try) 2>&5
13008 ac_status=$?
13009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13010 (exit $ac_status); }; }; then
13011 eval "$as_ac_var=yes"
13012else
13013 echo "$as_me: failed program was:" >&5
13014sed 's/^/| /' conftest.$ac_ext >&5
13015
13016eval "$as_ac_var=no"
13017fi
13018rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13019fi
13020echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13021echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13022if test `eval echo '${'$as_ac_var'}'` = yes; then
13023 cat >>confdefs.h <<_ACEOF
13024#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13025_ACEOF
13026
13027fi
13028done
13029
13030fi
13031
13032
13033for ac_header in langinfo.h
13034do
13035as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13036if eval "test \"\${$as_ac_Header+set}\" = set"; then
13037 echo "$as_me:$LINENO: checking for $ac_header" >&5
13038echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13039if eval "test \"\${$as_ac_Header+set}\" = set"; then
13040 echo $ECHO_N "(cached) $ECHO_C" >&6
13041fi
13042echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13043echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13044else
13045 # Is the header compilable?
13046echo "$as_me:$LINENO: checking $ac_header usability" >&5
13047echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13048cat >conftest.$ac_ext <<_ACEOF
13049#line $LINENO "configure"
13050/* confdefs.h. */
13051_ACEOF
13052cat confdefs.h >>conftest.$ac_ext
13053cat >>conftest.$ac_ext <<_ACEOF
13054/* end confdefs.h. */
13055$ac_includes_default
13056#include <$ac_header>
13057_ACEOF
13058rm -f conftest.$ac_objext
13059if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13060 (eval $ac_compile) 2>&5
13061 ac_status=$?
13062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13063 (exit $ac_status); } &&
13064 { ac_try='test -s conftest.$ac_objext'
13065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13066 (eval $ac_try) 2>&5
13067 ac_status=$?
13068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069 (exit $ac_status); }; }; then
13070 ac_header_compiler=yes
13071else
13072 echo "$as_me: failed program was:" >&5
13073sed 's/^/| /' conftest.$ac_ext >&5
13074
13075ac_header_compiler=no
13076fi
13077rm -f conftest.$ac_objext conftest.$ac_ext
13078echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13079echo "${ECHO_T}$ac_header_compiler" >&6
13080
13081# Is the header present?
13082echo "$as_me:$LINENO: checking $ac_header presence" >&5
13083echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13084cat >conftest.$ac_ext <<_ACEOF
13085#line $LINENO "configure"
13086/* confdefs.h. */
13087_ACEOF
13088cat confdefs.h >>conftest.$ac_ext
13089cat >>conftest.$ac_ext <<_ACEOF
13090/* end confdefs.h. */
13091#include <$ac_header>
13092_ACEOF
13093if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13094 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13095 ac_status=$?
13096 grep -v '^ *+' conftest.er1 >conftest.err
13097 rm -f conftest.er1
13098 cat conftest.err >&5
13099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13100 (exit $ac_status); } >/dev/null; then
13101 if test -s conftest.err; then
13102 ac_cpp_err=$ac_c_preproc_warn_flag
13103 else
13104 ac_cpp_err=
13105 fi
13106else
13107 ac_cpp_err=yes
13108fi
13109if test -z "$ac_cpp_err"; then
13110 ac_header_preproc=yes
13111else
13112 echo "$as_me: failed program was:" >&5
13113sed 's/^/| /' conftest.$ac_ext >&5
13114
13115 ac_header_preproc=no
13116fi
13117rm -f conftest.err conftest.$ac_ext
13118echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13119echo "${ECHO_T}$ac_header_preproc" >&6
13120
13121# So? What about this header?
13122case $ac_header_compiler:$ac_header_preproc in
13123 yes:no )
13124 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13125echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13126 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13127echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13128 (
13129 cat <<\_ASBOX
13130## ------------------------------------ ##
13131## Report this to bug-autoconf@gnu.org. ##
13132## ------------------------------------ ##
13133_ASBOX
13134 ) |
13135 sed "s/^/$as_me: WARNING: /" >&2
13136 ;;
13137 no:yes )
13138 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13139echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13140 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13141echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13142 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13143echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13144 (
13145 cat <<\_ASBOX
13146## ------------------------------------ ##
13147## Report this to bug-autoconf@gnu.org. ##
13148## ------------------------------------ ##
13149_ASBOX
13150 ) |
13151 sed "s/^/$as_me: WARNING: /" >&2
13152 ;;
13153esac
13154echo "$as_me:$LINENO: checking for $ac_header" >&5
13155echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13156if eval "test \"\${$as_ac_Header+set}\" = set"; then
13157 echo $ECHO_N "(cached) $ECHO_C" >&6
13158else
13159 eval "$as_ac_Header=$ac_header_preproc"
13160fi
13161echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13162echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13163
13164fi
13165if test `eval echo '${'$as_ac_Header'}'` = yes; then
13166 cat >>confdefs.h <<_ACEOF
13167#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13168_ACEOF
13169
13170fi
13171
13172done
13173
13174
13175case "${host}" in
13176 *-pc-os2_emx | *-pc-os2-emx )
13177 if test $ac_cv_header_langinfo_h = "yes"; then
13178 LIBS="$LIBS -lintl"
13179 fi
13180 ;;
13181esac
13182
13183if test "$wxUSE_GUI" = "yes"; then
13184 if test "$wxUSE_UNIX" = "yes"; then
13185
13186for ac_header in X11/Xlib.h
13187do
13188as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13189if eval "test \"\${$as_ac_Header+set}\" = set"; then
13190 echo "$as_me:$LINENO: checking for $ac_header" >&5
13191echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13192if eval "test \"\${$as_ac_Header+set}\" = set"; then
13193 echo $ECHO_N "(cached) $ECHO_C" >&6
13194fi
13195echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13196echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13197else
13198 # Is the header compilable?
13199echo "$as_me:$LINENO: checking $ac_header usability" >&5
13200echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13201cat >conftest.$ac_ext <<_ACEOF
13202#line $LINENO "configure"
13203/* confdefs.h. */
13204_ACEOF
13205cat confdefs.h >>conftest.$ac_ext
13206cat >>conftest.$ac_ext <<_ACEOF
13207/* end confdefs.h. */
13208$ac_includes_default
13209#include <$ac_header>
13210_ACEOF
13211rm -f conftest.$ac_objext
13212if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13213 (eval $ac_compile) 2>&5
13214 ac_status=$?
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); } &&
13217 { ac_try='test -s conftest.$ac_objext'
13218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13219 (eval $ac_try) 2>&5
13220 ac_status=$?
13221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13222 (exit $ac_status); }; }; then
13223 ac_header_compiler=yes
13224else
13225 echo "$as_me: failed program was:" >&5
13226sed 's/^/| /' conftest.$ac_ext >&5
13227
13228ac_header_compiler=no
13229fi
13230rm -f conftest.$ac_objext conftest.$ac_ext
13231echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13232echo "${ECHO_T}$ac_header_compiler" >&6
13233
13234# Is the header present?
13235echo "$as_me:$LINENO: checking $ac_header presence" >&5
13236echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13237cat >conftest.$ac_ext <<_ACEOF
13238#line $LINENO "configure"
13239/* confdefs.h. */
13240_ACEOF
13241cat confdefs.h >>conftest.$ac_ext
13242cat >>conftest.$ac_ext <<_ACEOF
13243/* end confdefs.h. */
13244#include <$ac_header>
13245_ACEOF
13246if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13247 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13248 ac_status=$?
13249 grep -v '^ *+' conftest.er1 >conftest.err
13250 rm -f conftest.er1
13251 cat conftest.err >&5
13252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13253 (exit $ac_status); } >/dev/null; then
13254 if test -s conftest.err; then
13255 ac_cpp_err=$ac_c_preproc_warn_flag
13256 else
13257 ac_cpp_err=
13258 fi
13259else
13260 ac_cpp_err=yes
13261fi
13262if test -z "$ac_cpp_err"; then
13263 ac_header_preproc=yes
13264else
13265 echo "$as_me: failed program was:" >&5
13266sed 's/^/| /' conftest.$ac_ext >&5
13267
13268 ac_header_preproc=no
13269fi
13270rm -f conftest.err conftest.$ac_ext
13271echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13272echo "${ECHO_T}$ac_header_preproc" >&6
13273
13274# So? What about this header?
13275case $ac_header_compiler:$ac_header_preproc in
13276 yes:no )
13277 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13278echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13279 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13280echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13281 (
13282 cat <<\_ASBOX
13283## ------------------------------------ ##
13284## Report this to bug-autoconf@gnu.org. ##
13285## ------------------------------------ ##
13286_ASBOX
13287 ) |
13288 sed "s/^/$as_me: WARNING: /" >&2
13289 ;;
13290 no:yes )
13291 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13292echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13293 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13294echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13295 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13296echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13297 (
13298 cat <<\_ASBOX
13299## ------------------------------------ ##
13300## Report this to bug-autoconf@gnu.org. ##
13301## ------------------------------------ ##
13302_ASBOX
13303 ) |
13304 sed "s/^/$as_me: WARNING: /" >&2
13305 ;;
13306esac
13307echo "$as_me:$LINENO: checking for $ac_header" >&5
13308echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13309if eval "test \"\${$as_ac_Header+set}\" = set"; then
13310 echo $ECHO_N "(cached) $ECHO_C" >&6
13311else
13312 eval "$as_ac_Header=$ac_header_preproc"
13313fi
13314echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13315echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13316
13317fi
13318if test `eval echo '${'$as_ac_Header'}'` = yes; then
13319 cat >>confdefs.h <<_ACEOF
13320#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13321_ACEOF
13322
13323fi
13324
13325done
13326
13327
13328for ac_header in X11/XKBlib.h
13329do
13330as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13331echo "$as_me:$LINENO: checking for $ac_header" >&5
13332echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13333if eval "test \"\${$as_ac_Header+set}\" = set"; then
13334 echo $ECHO_N "(cached) $ECHO_C" >&6
13335else
13336 cat >conftest.$ac_ext <<_ACEOF
13337#line $LINENO "configure"
13338/* confdefs.h. */
13339_ACEOF
13340cat confdefs.h >>conftest.$ac_ext
13341cat >>conftest.$ac_ext <<_ACEOF
13342/* end confdefs.h. */
13343
13344 #if HAVE_X11_XLIB_H
13345 #include <X11/Xlib.h>
13346 #endif
13347
13348
13349#include <$ac_header>
13350_ACEOF
13351rm -f conftest.$ac_objext
13352if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13353 (eval $ac_compile) 2>&5
13354 ac_status=$?
13355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); } &&
13357 { ac_try='test -s conftest.$ac_objext'
13358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13359 (eval $ac_try) 2>&5
13360 ac_status=$?
13361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13362 (exit $ac_status); }; }; then
13363 eval "$as_ac_Header=yes"
13364else
13365 echo "$as_me: failed program was:" >&5
13366sed 's/^/| /' conftest.$ac_ext >&5
13367
13368eval "$as_ac_Header=no"
13369fi
13370rm -f conftest.$ac_objext conftest.$ac_ext
13371fi
13372echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13373echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13374if test `eval echo '${'$as_ac_Header'}'` = yes; then
13375 cat >>confdefs.h <<_ACEOF
13376#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13377_ACEOF
13378
13379fi
13380
13381done
13382
13383 fi
13384fi
13385
13386
13387echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13388echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13389if test "${ac_cv_c_const+set}" = set; then
13390 echo $ECHO_N "(cached) $ECHO_C" >&6
13391else
13392 cat >conftest.$ac_ext <<_ACEOF
13393#line $LINENO "configure"
13394/* confdefs.h. */
13395_ACEOF
13396cat confdefs.h >>conftest.$ac_ext
13397cat >>conftest.$ac_ext <<_ACEOF
13398/* end confdefs.h. */
13399
13400int
13401main ()
13402{
13403/* FIXME: Include the comments suggested by Paul. */
13404#ifndef __cplusplus
13405 /* Ultrix mips cc rejects this. */
13406 typedef int charset[2];
13407 const charset x;
13408 /* SunOS 4.1.1 cc rejects this. */
13409 char const *const *ccp;
13410 char **p;
13411 /* NEC SVR4.0.2 mips cc rejects this. */
13412 struct point {int x, y;};
13413 static struct point const zero = {0,0};
13414 /* AIX XL C 1.02.0.0 rejects this.
13415 It does not let you subtract one const X* pointer from another in
13416 an arm of an if-expression whose if-part is not a constant
13417 expression */
13418 const char *g = "string";
13419 ccp = &g + (g ? g-g : 0);
13420 /* HPUX 7.0 cc rejects these. */
13421 ++ccp;
13422 p = (char**) ccp;
13423 ccp = (char const *const *) p;
13424 { /* SCO 3.2v4 cc rejects this. */
13425 char *t;
13426 char const *s = 0 ? (char *) 0 : (char const *) 0;
13427
13428 *t++ = 0;
13429 }
13430 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13431 int x[] = {25, 17};
13432 const int *foo = &x[0];
13433 ++foo;
13434 }
13435 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13436 typedef const int *iptr;
13437 iptr p = 0;
13438 ++p;
13439 }
13440 { /* AIX XL C 1.02.0.0 rejects this saying
13441 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13442 struct s { int j; const int *ap[3]; };
13443 struct s *b; b->j = 5;
13444 }
13445 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13446 const int foo = 10;
13447 }
13448#endif
13449
13450 ;
13451 return 0;
13452}
13453_ACEOF
13454rm -f conftest.$ac_objext
13455if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13456 (eval $ac_compile) 2>&5
13457 ac_status=$?
13458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13459 (exit $ac_status); } &&
13460 { ac_try='test -s conftest.$ac_objext'
13461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13462 (eval $ac_try) 2>&5
13463 ac_status=$?
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); }; }; then
13466 ac_cv_c_const=yes
13467else
13468 echo "$as_me: failed program was:" >&5
13469sed 's/^/| /' conftest.$ac_ext >&5
13470
13471ac_cv_c_const=no
13472fi
13473rm -f conftest.$ac_objext conftest.$ac_ext
13474fi
13475echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13476echo "${ECHO_T}$ac_cv_c_const" >&6
13477if test $ac_cv_c_const = no; then
13478
13479cat >>confdefs.h <<\_ACEOF
13480#define const
13481_ACEOF
13482
13483fi
13484
13485echo "$as_me:$LINENO: checking for inline" >&5
13486echo $ECHO_N "checking for inline... $ECHO_C" >&6
13487if test "${ac_cv_c_inline+set}" = set; then
13488 echo $ECHO_N "(cached) $ECHO_C" >&6
13489else
13490 ac_cv_c_inline=no
13491for ac_kw in inline __inline__ __inline; do
13492 cat >conftest.$ac_ext <<_ACEOF
13493#line $LINENO "configure"
13494/* confdefs.h. */
13495_ACEOF
13496cat confdefs.h >>conftest.$ac_ext
13497cat >>conftest.$ac_ext <<_ACEOF
13498/* end confdefs.h. */
13499#ifndef __cplusplus
13500typedef int foo_t;
13501static $ac_kw foo_t static_foo () {return 0; }
13502$ac_kw foo_t foo () {return 0; }
13503#endif
13504
13505_ACEOF
13506rm -f conftest.$ac_objext
13507if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13508 (eval $ac_compile) 2>&5
13509 ac_status=$?
13510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511 (exit $ac_status); } &&
13512 { ac_try='test -s conftest.$ac_objext'
13513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13514 (eval $ac_try) 2>&5
13515 ac_status=$?
13516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13517 (exit $ac_status); }; }; then
13518 ac_cv_c_inline=$ac_kw; break
13519else
13520 echo "$as_me: failed program was:" >&5
13521sed 's/^/| /' conftest.$ac_ext >&5
13522
13523fi
13524rm -f conftest.$ac_objext conftest.$ac_ext
13525done
13526
13527fi
13528echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13529echo "${ECHO_T}$ac_cv_c_inline" >&6
13530case $ac_cv_c_inline in
13531 inline | yes) ;;
13532 no)
13533cat >>confdefs.h <<\_ACEOF
13534#define inline
13535_ACEOF
13536 ;;
13537 *) cat >>confdefs.h <<_ACEOF
13538#define inline $ac_cv_c_inline
13539_ACEOF
13540 ;;
13541esac
13542
13543
13544echo "$as_me:$LINENO: checking for char" >&5
13545echo $ECHO_N "checking for char... $ECHO_C" >&6
13546if test "${ac_cv_type_char+set}" = set; then
13547 echo $ECHO_N "(cached) $ECHO_C" >&6
13548else
13549 cat >conftest.$ac_ext <<_ACEOF
13550#line $LINENO "configure"
13551/* confdefs.h. */
13552_ACEOF
13553cat confdefs.h >>conftest.$ac_ext
13554cat >>conftest.$ac_ext <<_ACEOF
13555/* end confdefs.h. */
13556$ac_includes_default
13557int
13558main ()
13559{
13560if ((char *) 0)
13561 return 0;
13562if (sizeof (char))
13563 return 0;
13564 ;
13565 return 0;
13566}
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 ac_cv_type_char=yes
13581else
13582 echo "$as_me: failed program was:" >&5
13583sed 's/^/| /' conftest.$ac_ext >&5
13584
13585ac_cv_type_char=no
13586fi
13587rm -f conftest.$ac_objext conftest.$ac_ext
13588fi
13589echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13590echo "${ECHO_T}$ac_cv_type_char" >&6
13591
13592echo "$as_me:$LINENO: checking size of char" >&5
13593echo $ECHO_N "checking size of char... $ECHO_C" >&6
13594if test "${ac_cv_sizeof_char+set}" = set; then
13595 echo $ECHO_N "(cached) $ECHO_C" >&6
13596else
13597 if test "$ac_cv_type_char" = yes; then
13598 # The cast to unsigned long works around a bug in the HP C Compiler
13599 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13600 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13601 # This bug is HP SR number 8606223364.
13602 if test "$cross_compiling" = yes; then
13603 # Depending upon the size, compute the lo and hi bounds.
13604cat >conftest.$ac_ext <<_ACEOF
13605#line $LINENO "configure"
13606/* confdefs.h. */
13607_ACEOF
13608cat confdefs.h >>conftest.$ac_ext
13609cat >>conftest.$ac_ext <<_ACEOF
13610/* end confdefs.h. */
13611$ac_includes_default
13612int
13613main ()
13614{
13615static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13616test_array [0] = 0
13617
13618 ;
13619 return 0;
13620}
13621_ACEOF
13622rm -f conftest.$ac_objext
13623if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13624 (eval $ac_compile) 2>&5
13625 ac_status=$?
13626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13627 (exit $ac_status); } &&
13628 { ac_try='test -s conftest.$ac_objext'
13629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13630 (eval $ac_try) 2>&5
13631 ac_status=$?
13632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13633 (exit $ac_status); }; }; then
13634 ac_lo=0 ac_mid=0
13635 while :; do
13636 cat >conftest.$ac_ext <<_ACEOF
13637#line $LINENO "configure"
13638/* confdefs.h. */
13639_ACEOF
13640cat confdefs.h >>conftest.$ac_ext
13641cat >>conftest.$ac_ext <<_ACEOF
13642/* end confdefs.h. */
13643$ac_includes_default
13644int
13645main ()
13646{
13647static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13648test_array [0] = 0
13649
13650 ;
13651 return 0;
13652}
13653_ACEOF
13654rm -f conftest.$ac_objext
13655if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13656 (eval $ac_compile) 2>&5
13657 ac_status=$?
13658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13659 (exit $ac_status); } &&
13660 { ac_try='test -s conftest.$ac_objext'
13661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13662 (eval $ac_try) 2>&5
13663 ac_status=$?
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); }; }; then
13666 ac_hi=$ac_mid; break
13667else
13668 echo "$as_me: failed program was:" >&5
13669sed 's/^/| /' conftest.$ac_ext >&5
13670
13671ac_lo=`expr $ac_mid + 1`
13672 if test $ac_lo -le $ac_mid; then
13673 ac_lo= ac_hi=
13674 break
13675 fi
13676 ac_mid=`expr 2 '*' $ac_mid + 1`
13677fi
13678rm -f conftest.$ac_objext conftest.$ac_ext
13679 done
13680else
13681 echo "$as_me: failed program was:" >&5
13682sed 's/^/| /' conftest.$ac_ext >&5
13683
13684cat >conftest.$ac_ext <<_ACEOF
13685#line $LINENO "configure"
13686/* confdefs.h. */
13687_ACEOF
13688cat confdefs.h >>conftest.$ac_ext
13689cat >>conftest.$ac_ext <<_ACEOF
13690/* end confdefs.h. */
13691$ac_includes_default
13692int
13693main ()
13694{
13695static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13696test_array [0] = 0
13697
13698 ;
13699 return 0;
13700}
13701_ACEOF
13702rm -f conftest.$ac_objext
13703if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13704 (eval $ac_compile) 2>&5
13705 ac_status=$?
13706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13707 (exit $ac_status); } &&
13708 { ac_try='test -s conftest.$ac_objext'
13709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13710 (eval $ac_try) 2>&5
13711 ac_status=$?
13712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 (exit $ac_status); }; }; then
13714 ac_hi=-1 ac_mid=-1
13715 while :; do
13716 cat >conftest.$ac_ext <<_ACEOF
13717#line $LINENO "configure"
13718/* confdefs.h. */
13719_ACEOF
13720cat confdefs.h >>conftest.$ac_ext
13721cat >>conftest.$ac_ext <<_ACEOF
13722/* end confdefs.h. */
13723$ac_includes_default
13724int
13725main ()
13726{
13727static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13728test_array [0] = 0
13729
13730 ;
13731 return 0;
13732}
13733_ACEOF
13734rm -f conftest.$ac_objext
13735if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13736 (eval $ac_compile) 2>&5
13737 ac_status=$?
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 (exit $ac_status); } &&
13740 { ac_try='test -s conftest.$ac_objext'
13741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13742 (eval $ac_try) 2>&5
13743 ac_status=$?
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); }; }; then
13746 ac_lo=$ac_mid; break
13747else
13748 echo "$as_me: failed program was:" >&5
13749sed 's/^/| /' conftest.$ac_ext >&5
13750
13751ac_hi=`expr '(' $ac_mid ')' - 1`
13752 if test $ac_mid -le $ac_hi; then
13753 ac_lo= ac_hi=
13754 break
13755 fi
13756 ac_mid=`expr 2 '*' $ac_mid`
13757fi
13758rm -f conftest.$ac_objext conftest.$ac_ext
13759 done
13760else
13761 echo "$as_me: failed program was:" >&5
13762sed 's/^/| /' conftest.$ac_ext >&5
13763
13764ac_lo= ac_hi=
13765fi
13766rm -f conftest.$ac_objext conftest.$ac_ext
13767fi
13768rm -f conftest.$ac_objext conftest.$ac_ext
13769# Binary search between lo and hi bounds.
13770while test "x$ac_lo" != "x$ac_hi"; do
13771 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13772 cat >conftest.$ac_ext <<_ACEOF
13773#line $LINENO "configure"
13774/* confdefs.h. */
13775_ACEOF
13776cat confdefs.h >>conftest.$ac_ext
13777cat >>conftest.$ac_ext <<_ACEOF
13778/* end confdefs.h. */
13779$ac_includes_default
13780int
13781main ()
13782{
13783static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13784test_array [0] = 0
13785
13786 ;
13787 return 0;
13788}
13789_ACEOF
13790rm -f conftest.$ac_objext
13791if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13792 (eval $ac_compile) 2>&5
13793 ac_status=$?
13794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13795 (exit $ac_status); } &&
13796 { ac_try='test -s conftest.$ac_objext'
13797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13798 (eval $ac_try) 2>&5
13799 ac_status=$?
13800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13801 (exit $ac_status); }; }; then
13802 ac_hi=$ac_mid
13803else
13804 echo "$as_me: failed program was:" >&5
13805sed 's/^/| /' conftest.$ac_ext >&5
13806
13807ac_lo=`expr '(' $ac_mid ')' + 1`
13808fi
13809rm -f conftest.$ac_objext conftest.$ac_ext
13810done
13811case $ac_lo in
13812?*) ac_cv_sizeof_char=$ac_lo;;
13813'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13814See \`config.log' for more details." >&5
13815echo "$as_me: error: cannot compute sizeof (char), 77
13816See \`config.log' for more details." >&2;}
13817 { (exit 1); exit 1; }; } ;;
13818esac
13819else
13820 if test "$cross_compiling" = yes; then
13821 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13822See \`config.log' for more details." >&5
13823echo "$as_me: error: cannot run test program while cross compiling
13824See \`config.log' for more details." >&2;}
13825 { (exit 1); exit 1; }; }
13826else
13827 cat >conftest.$ac_ext <<_ACEOF
13828#line $LINENO "configure"
13829/* confdefs.h. */
13830_ACEOF
13831cat confdefs.h >>conftest.$ac_ext
13832cat >>conftest.$ac_ext <<_ACEOF
13833/* end confdefs.h. */
13834$ac_includes_default
13835long longval () { return (long) (sizeof (char)); }
13836unsigned long ulongval () { return (long) (sizeof (char)); }
13837#include <stdio.h>
13838#include <stdlib.h>
13839int
13840main ()
13841{
13842
13843 FILE *f = fopen ("conftest.val", "w");
13844 if (! f)
13845 exit (1);
13846 if (((long) (sizeof (char))) < 0)
13847 {
13848 long i = longval ();
13849 if (i != ((long) (sizeof (char))))
13850 exit (1);
13851 fprintf (f, "%ld\n", i);
13852 }
13853 else
13854 {
13855 unsigned long i = ulongval ();
13856 if (i != ((long) (sizeof (char))))
13857 exit (1);
13858 fprintf (f, "%lu\n", i);
13859 }
13860 exit (ferror (f) || fclose (f) != 0);
13861
13862 ;
13863 return 0;
13864}
13865_ACEOF
13866rm -f conftest$ac_exeext
13867if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13868 (eval $ac_link) 2>&5
13869 ac_status=$?
13870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13871 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13873 (eval $ac_try) 2>&5
13874 ac_status=$?
13875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13876 (exit $ac_status); }; }; then
13877 ac_cv_sizeof_char=`cat conftest.val`
13878else
13879 echo "$as_me: program exited with status $ac_status" >&5
13880echo "$as_me: failed program was:" >&5
13881sed 's/^/| /' conftest.$ac_ext >&5
13882
13883( exit $ac_status )
13884{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13885See \`config.log' for more details." >&5
13886echo "$as_me: error: cannot compute sizeof (char), 77
13887See \`config.log' for more details." >&2;}
13888 { (exit 1); exit 1; }; }
13889fi
13890rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13891fi
13892fi
13893rm -f conftest.val
13894else
13895 ac_cv_sizeof_char=0
13896fi
13897fi
13898echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
13899echo "${ECHO_T}$ac_cv_sizeof_char" >&6
13900cat >>confdefs.h <<_ACEOF
13901#define SIZEOF_CHAR $ac_cv_sizeof_char
13902_ACEOF
13903
13904
13905echo "$as_me:$LINENO: checking for short" >&5
13906echo $ECHO_N "checking for short... $ECHO_C" >&6
13907if test "${ac_cv_type_short+set}" = set; then
13908 echo $ECHO_N "(cached) $ECHO_C" >&6
13909else
13910 cat >conftest.$ac_ext <<_ACEOF
13911#line $LINENO "configure"
13912/* confdefs.h. */
13913_ACEOF
13914cat confdefs.h >>conftest.$ac_ext
13915cat >>conftest.$ac_ext <<_ACEOF
13916/* end confdefs.h. */
13917$ac_includes_default
13918int
13919main ()
13920{
13921if ((short *) 0)
13922 return 0;
13923if (sizeof (short))
13924 return 0;
13925 ;
13926 return 0;
13927}
13928_ACEOF
13929rm -f conftest.$ac_objext
13930if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13931 (eval $ac_compile) 2>&5
13932 ac_status=$?
13933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934 (exit $ac_status); } &&
13935 { ac_try='test -s conftest.$ac_objext'
13936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13937 (eval $ac_try) 2>&5
13938 ac_status=$?
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 (exit $ac_status); }; }; then
13941 ac_cv_type_short=yes
13942else
13943 echo "$as_me: failed program was:" >&5
13944sed 's/^/| /' conftest.$ac_ext >&5
13945
13946ac_cv_type_short=no
13947fi
13948rm -f conftest.$ac_objext conftest.$ac_ext
13949fi
13950echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
13951echo "${ECHO_T}$ac_cv_type_short" >&6
13952
13953echo "$as_me:$LINENO: checking size of short" >&5
13954echo $ECHO_N "checking size of short... $ECHO_C" >&6
13955if test "${ac_cv_sizeof_short+set}" = set; then
13956 echo $ECHO_N "(cached) $ECHO_C" >&6
13957else
13958 if test "$ac_cv_type_short" = yes; then
13959 # The cast to unsigned long works around a bug in the HP C Compiler
13960 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13961 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13962 # This bug is HP SR number 8606223364.
13963 if test "$cross_compiling" = yes; then
13964 # Depending upon the size, compute the lo and hi bounds.
13965cat >conftest.$ac_ext <<_ACEOF
13966#line $LINENO "configure"
13967/* confdefs.h. */
13968_ACEOF
13969cat confdefs.h >>conftest.$ac_ext
13970cat >>conftest.$ac_ext <<_ACEOF
13971/* end confdefs.h. */
13972$ac_includes_default
13973int
13974main ()
13975{
13976static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
13977test_array [0] = 0
13978
13979 ;
13980 return 0;
13981}
13982_ACEOF
13983rm -f conftest.$ac_objext
13984if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13985 (eval $ac_compile) 2>&5
13986 ac_status=$?
13987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988 (exit $ac_status); } &&
13989 { ac_try='test -s conftest.$ac_objext'
13990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13991 (eval $ac_try) 2>&5
13992 ac_status=$?
13993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13994 (exit $ac_status); }; }; then
13995 ac_lo=0 ac_mid=0
13996 while :; do
13997 cat >conftest.$ac_ext <<_ACEOF
13998#line $LINENO "configure"
13999/* confdefs.h. */
14000_ACEOF
14001cat confdefs.h >>conftest.$ac_ext
14002cat >>conftest.$ac_ext <<_ACEOF
14003/* end confdefs.h. */
14004$ac_includes_default
14005int
14006main ()
14007{
14008static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14009test_array [0] = 0
14010
14011 ;
14012 return 0;
14013}
14014_ACEOF
14015rm -f conftest.$ac_objext
14016if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14017 (eval $ac_compile) 2>&5
14018 ac_status=$?
14019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 (exit $ac_status); } &&
14021 { ac_try='test -s conftest.$ac_objext'
14022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14023 (eval $ac_try) 2>&5
14024 ac_status=$?
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); }; }; then
14027 ac_hi=$ac_mid; break
14028else
14029 echo "$as_me: failed program was:" >&5
14030sed 's/^/| /' conftest.$ac_ext >&5
14031
14032ac_lo=`expr $ac_mid + 1`
14033 if test $ac_lo -le $ac_mid; then
14034 ac_lo= ac_hi=
14035 break
14036 fi
14037 ac_mid=`expr 2 '*' $ac_mid + 1`
14038fi
14039rm -f conftest.$ac_objext conftest.$ac_ext
14040 done
14041else
14042 echo "$as_me: failed program was:" >&5
14043sed 's/^/| /' conftest.$ac_ext >&5
14044
14045cat >conftest.$ac_ext <<_ACEOF
14046#line $LINENO "configure"
14047/* confdefs.h. */
14048_ACEOF
14049cat confdefs.h >>conftest.$ac_ext
14050cat >>conftest.$ac_ext <<_ACEOF
14051/* end confdefs.h. */
14052$ac_includes_default
14053int
14054main ()
14055{
14056static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14057test_array [0] = 0
14058
14059 ;
14060 return 0;
14061}
14062_ACEOF
14063rm -f conftest.$ac_objext
14064if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14065 (eval $ac_compile) 2>&5
14066 ac_status=$?
14067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14068 (exit $ac_status); } &&
14069 { ac_try='test -s conftest.$ac_objext'
14070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14071 (eval $ac_try) 2>&5
14072 ac_status=$?
14073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14074 (exit $ac_status); }; }; then
14075 ac_hi=-1 ac_mid=-1
14076 while :; do
14077 cat >conftest.$ac_ext <<_ACEOF
14078#line $LINENO "configure"
14079/* confdefs.h. */
14080_ACEOF
14081cat confdefs.h >>conftest.$ac_ext
14082cat >>conftest.$ac_ext <<_ACEOF
14083/* end confdefs.h. */
14084$ac_includes_default
14085int
14086main ()
14087{
14088static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14089test_array [0] = 0
14090
14091 ;
14092 return 0;
14093}
14094_ACEOF
14095rm -f conftest.$ac_objext
14096if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14097 (eval $ac_compile) 2>&5
14098 ac_status=$?
14099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100 (exit $ac_status); } &&
14101 { ac_try='test -s conftest.$ac_objext'
14102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14103 (eval $ac_try) 2>&5
14104 ac_status=$?
14105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106 (exit $ac_status); }; }; then
14107 ac_lo=$ac_mid; break
14108else
14109 echo "$as_me: failed program was:" >&5
14110sed 's/^/| /' conftest.$ac_ext >&5
14111
14112ac_hi=`expr '(' $ac_mid ')' - 1`
14113 if test $ac_mid -le $ac_hi; then
14114 ac_lo= ac_hi=
14115 break
14116 fi
14117 ac_mid=`expr 2 '*' $ac_mid`
14118fi
14119rm -f conftest.$ac_objext conftest.$ac_ext
14120 done
14121else
14122 echo "$as_me: failed program was:" >&5
14123sed 's/^/| /' conftest.$ac_ext >&5
14124
14125ac_lo= ac_hi=
14126fi
14127rm -f conftest.$ac_objext conftest.$ac_ext
14128fi
14129rm -f conftest.$ac_objext conftest.$ac_ext
14130# Binary search between lo and hi bounds.
14131while test "x$ac_lo" != "x$ac_hi"; do
14132 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14133 cat >conftest.$ac_ext <<_ACEOF
14134#line $LINENO "configure"
14135/* confdefs.h. */
14136_ACEOF
14137cat confdefs.h >>conftest.$ac_ext
14138cat >>conftest.$ac_ext <<_ACEOF
14139/* end confdefs.h. */
14140$ac_includes_default
14141int
14142main ()
14143{
14144static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14145test_array [0] = 0
14146
14147 ;
14148 return 0;
14149}
14150_ACEOF
14151rm -f conftest.$ac_objext
14152if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14153 (eval $ac_compile) 2>&5
14154 ac_status=$?
14155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14156 (exit $ac_status); } &&
14157 { ac_try='test -s conftest.$ac_objext'
14158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14159 (eval $ac_try) 2>&5
14160 ac_status=$?
14161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14162 (exit $ac_status); }; }; then
14163 ac_hi=$ac_mid
14164else
14165 echo "$as_me: failed program was:" >&5
14166sed 's/^/| /' conftest.$ac_ext >&5
14167
14168ac_lo=`expr '(' $ac_mid ')' + 1`
14169fi
14170rm -f conftest.$ac_objext conftest.$ac_ext
14171done
14172case $ac_lo in
14173?*) ac_cv_sizeof_short=$ac_lo;;
14174'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14175See \`config.log' for more details." >&5
14176echo "$as_me: error: cannot compute sizeof (short), 77
14177See \`config.log' for more details." >&2;}
14178 { (exit 1); exit 1; }; } ;;
14179esac
14180else
14181 if test "$cross_compiling" = yes; then
14182 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14183See \`config.log' for more details." >&5
14184echo "$as_me: error: cannot run test program while cross compiling
14185See \`config.log' for more details." >&2;}
14186 { (exit 1); exit 1; }; }
14187else
14188 cat >conftest.$ac_ext <<_ACEOF
14189#line $LINENO "configure"
14190/* confdefs.h. */
14191_ACEOF
14192cat confdefs.h >>conftest.$ac_ext
14193cat >>conftest.$ac_ext <<_ACEOF
14194/* end confdefs.h. */
14195$ac_includes_default
14196long longval () { return (long) (sizeof (short)); }
14197unsigned long ulongval () { return (long) (sizeof (short)); }
14198#include <stdio.h>
14199#include <stdlib.h>
14200int
14201main ()
14202{
14203
14204 FILE *f = fopen ("conftest.val", "w");
14205 if (! f)
14206 exit (1);
14207 if (((long) (sizeof (short))) < 0)
14208 {
14209 long i = longval ();
14210 if (i != ((long) (sizeof (short))))
14211 exit (1);
14212 fprintf (f, "%ld\n", i);
14213 }
14214 else
14215 {
14216 unsigned long i = ulongval ();
14217 if (i != ((long) (sizeof (short))))
14218 exit (1);
14219 fprintf (f, "%lu\n", i);
14220 }
14221 exit (ferror (f) || fclose (f) != 0);
14222
14223 ;
14224 return 0;
14225}
14226_ACEOF
14227rm -f conftest$ac_exeext
14228if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14229 (eval $ac_link) 2>&5
14230 ac_status=$?
14231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14232 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14234 (eval $ac_try) 2>&5
14235 ac_status=$?
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); }; }; then
14238 ac_cv_sizeof_short=`cat conftest.val`
14239else
14240 echo "$as_me: program exited with status $ac_status" >&5
14241echo "$as_me: failed program was:" >&5
14242sed 's/^/| /' conftest.$ac_ext >&5
14243
14244( exit $ac_status )
14245{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14246See \`config.log' for more details." >&5
14247echo "$as_me: error: cannot compute sizeof (short), 77
14248See \`config.log' for more details." >&2;}
14249 { (exit 1); exit 1; }; }
14250fi
14251rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14252fi
14253fi
14254rm -f conftest.val
14255else
14256 ac_cv_sizeof_short=0
14257fi
14258fi
14259echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14260echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14261cat >>confdefs.h <<_ACEOF
14262#define SIZEOF_SHORT $ac_cv_sizeof_short
14263_ACEOF
14264
14265
14266echo "$as_me:$LINENO: checking for void *" >&5
14267echo $ECHO_N "checking for void *... $ECHO_C" >&6
14268if test "${ac_cv_type_void_p+set}" = set; then
14269 echo $ECHO_N "(cached) $ECHO_C" >&6
14270else
14271 cat >conftest.$ac_ext <<_ACEOF
14272#line $LINENO "configure"
14273/* confdefs.h. */
14274_ACEOF
14275cat confdefs.h >>conftest.$ac_ext
14276cat >>conftest.$ac_ext <<_ACEOF
14277/* end confdefs.h. */
14278$ac_includes_default
14279int
14280main ()
14281{
14282if ((void * *) 0)
14283 return 0;
14284if (sizeof (void *))
14285 return 0;
14286 ;
14287 return 0;
14288}
14289_ACEOF
14290rm -f conftest.$ac_objext
14291if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14292 (eval $ac_compile) 2>&5
14293 ac_status=$?
14294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); } &&
14296 { ac_try='test -s conftest.$ac_objext'
14297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14298 (eval $ac_try) 2>&5
14299 ac_status=$?
14300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301 (exit $ac_status); }; }; then
14302 ac_cv_type_void_p=yes
14303else
14304 echo "$as_me: failed program was:" >&5
14305sed 's/^/| /' conftest.$ac_ext >&5
14306
14307ac_cv_type_void_p=no
14308fi
14309rm -f conftest.$ac_objext conftest.$ac_ext
14310fi
14311echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14312echo "${ECHO_T}$ac_cv_type_void_p" >&6
14313
14314echo "$as_me:$LINENO: checking size of void *" >&5
14315echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14316if test "${ac_cv_sizeof_void_p+set}" = set; then
14317 echo $ECHO_N "(cached) $ECHO_C" >&6
14318else
14319 if test "$ac_cv_type_void_p" = yes; then
14320 # The cast to unsigned long works around a bug in the HP C Compiler
14321 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14322 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14323 # This bug is HP SR number 8606223364.
14324 if test "$cross_compiling" = yes; then
14325 # Depending upon the size, compute the lo and hi bounds.
14326cat >conftest.$ac_ext <<_ACEOF
14327#line $LINENO "configure"
14328/* confdefs.h. */
14329_ACEOF
14330cat confdefs.h >>conftest.$ac_ext
14331cat >>conftest.$ac_ext <<_ACEOF
14332/* end confdefs.h. */
14333$ac_includes_default
14334int
14335main ()
14336{
14337static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14338test_array [0] = 0
14339
14340 ;
14341 return 0;
14342}
14343_ACEOF
14344rm -f conftest.$ac_objext
14345if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14346 (eval $ac_compile) 2>&5
14347 ac_status=$?
14348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14349 (exit $ac_status); } &&
14350 { ac_try='test -s conftest.$ac_objext'
14351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14352 (eval $ac_try) 2>&5
14353 ac_status=$?
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); }; }; then
14356 ac_lo=0 ac_mid=0
14357 while :; do
14358 cat >conftest.$ac_ext <<_ACEOF
14359#line $LINENO "configure"
14360/* confdefs.h. */
14361_ACEOF
14362cat confdefs.h >>conftest.$ac_ext
14363cat >>conftest.$ac_ext <<_ACEOF
14364/* end confdefs.h. */
14365$ac_includes_default
14366int
14367main ()
14368{
14369static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14370test_array [0] = 0
14371
14372 ;
14373 return 0;
14374}
14375_ACEOF
14376rm -f conftest.$ac_objext
14377if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14378 (eval $ac_compile) 2>&5
14379 ac_status=$?
14380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14381 (exit $ac_status); } &&
14382 { ac_try='test -s conftest.$ac_objext'
14383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14384 (eval $ac_try) 2>&5
14385 ac_status=$?
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); }; }; then
14388 ac_hi=$ac_mid; break
14389else
14390 echo "$as_me: failed program was:" >&5
14391sed 's/^/| /' conftest.$ac_ext >&5
14392
14393ac_lo=`expr $ac_mid + 1`
14394 if test $ac_lo -le $ac_mid; then
14395 ac_lo= ac_hi=
14396 break
14397 fi
14398 ac_mid=`expr 2 '*' $ac_mid + 1`
14399fi
14400rm -f conftest.$ac_objext conftest.$ac_ext
14401 done
14402else
14403 echo "$as_me: failed program was:" >&5
14404sed 's/^/| /' conftest.$ac_ext >&5
14405
14406cat >conftest.$ac_ext <<_ACEOF
14407#line $LINENO "configure"
14408/* confdefs.h. */
14409_ACEOF
14410cat confdefs.h >>conftest.$ac_ext
14411cat >>conftest.$ac_ext <<_ACEOF
14412/* end confdefs.h. */
14413$ac_includes_default
14414int
14415main ()
14416{
14417static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14418test_array [0] = 0
14419
14420 ;
14421 return 0;
14422}
14423_ACEOF
14424rm -f conftest.$ac_objext
14425if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14426 (eval $ac_compile) 2>&5
14427 ac_status=$?
14428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 (exit $ac_status); } &&
14430 { ac_try='test -s conftest.$ac_objext'
14431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14432 (eval $ac_try) 2>&5
14433 ac_status=$?
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); }; }; then
14436 ac_hi=-1 ac_mid=-1
14437 while :; do
14438 cat >conftest.$ac_ext <<_ACEOF
14439#line $LINENO "configure"
14440/* confdefs.h. */
14441_ACEOF
14442cat confdefs.h >>conftest.$ac_ext
14443cat >>conftest.$ac_ext <<_ACEOF
14444/* end confdefs.h. */
14445$ac_includes_default
14446int
14447main ()
14448{
14449static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14450test_array [0] = 0
14451
14452 ;
14453 return 0;
14454}
14455_ACEOF
14456rm -f conftest.$ac_objext
14457if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14458 (eval $ac_compile) 2>&5
14459 ac_status=$?
14460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14461 (exit $ac_status); } &&
14462 { ac_try='test -s conftest.$ac_objext'
14463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14464 (eval $ac_try) 2>&5
14465 ac_status=$?
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); }; }; then
14468 ac_lo=$ac_mid; break
14469else
14470 echo "$as_me: failed program was:" >&5
14471sed 's/^/| /' conftest.$ac_ext >&5
14472
14473ac_hi=`expr '(' $ac_mid ')' - 1`
14474 if test $ac_mid -le $ac_hi; then
14475 ac_lo= ac_hi=
14476 break
14477 fi
14478 ac_mid=`expr 2 '*' $ac_mid`
14479fi
14480rm -f conftest.$ac_objext conftest.$ac_ext
14481 done
14482else
14483 echo "$as_me: failed program was:" >&5
14484sed 's/^/| /' conftest.$ac_ext >&5
14485
14486ac_lo= ac_hi=
14487fi
14488rm -f conftest.$ac_objext conftest.$ac_ext
14489fi
14490rm -f conftest.$ac_objext conftest.$ac_ext
14491# Binary search between lo and hi bounds.
14492while test "x$ac_lo" != "x$ac_hi"; do
14493 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14494 cat >conftest.$ac_ext <<_ACEOF
14495#line $LINENO "configure"
14496/* confdefs.h. */
14497_ACEOF
14498cat confdefs.h >>conftest.$ac_ext
14499cat >>conftest.$ac_ext <<_ACEOF
14500/* end confdefs.h. */
14501$ac_includes_default
14502int
14503main ()
14504{
14505static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14506test_array [0] = 0
14507
14508 ;
14509 return 0;
14510}
14511_ACEOF
14512rm -f conftest.$ac_objext
14513if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14514 (eval $ac_compile) 2>&5
14515 ac_status=$?
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); } &&
14518 { ac_try='test -s conftest.$ac_objext'
14519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14520 (eval $ac_try) 2>&5
14521 ac_status=$?
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); }; }; then
14524 ac_hi=$ac_mid
14525else
14526 echo "$as_me: failed program was:" >&5
14527sed 's/^/| /' conftest.$ac_ext >&5
14528
14529ac_lo=`expr '(' $ac_mid ')' + 1`
14530fi
14531rm -f conftest.$ac_objext conftest.$ac_ext
14532done
14533case $ac_lo in
14534?*) ac_cv_sizeof_void_p=$ac_lo;;
14535'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14536See \`config.log' for more details." >&5
14537echo "$as_me: error: cannot compute sizeof (void *), 77
14538See \`config.log' for more details." >&2;}
14539 { (exit 1); exit 1; }; } ;;
14540esac
14541else
14542 if test "$cross_compiling" = yes; then
14543 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14544See \`config.log' for more details." >&5
14545echo "$as_me: error: cannot run test program while cross compiling
14546See \`config.log' for more details." >&2;}
14547 { (exit 1); exit 1; }; }
14548else
14549 cat >conftest.$ac_ext <<_ACEOF
14550#line $LINENO "configure"
14551/* confdefs.h. */
14552_ACEOF
14553cat confdefs.h >>conftest.$ac_ext
14554cat >>conftest.$ac_ext <<_ACEOF
14555/* end confdefs.h. */
14556$ac_includes_default
14557long longval () { return (long) (sizeof (void *)); }
14558unsigned long ulongval () { return (long) (sizeof (void *)); }
14559#include <stdio.h>
14560#include <stdlib.h>
14561int
14562main ()
14563{
14564
14565 FILE *f = fopen ("conftest.val", "w");
14566 if (! f)
14567 exit (1);
14568 if (((long) (sizeof (void *))) < 0)
14569 {
14570 long i = longval ();
14571 if (i != ((long) (sizeof (void *))))
14572 exit (1);
14573 fprintf (f, "%ld\n", i);
14574 }
14575 else
14576 {
14577 unsigned long i = ulongval ();
14578 if (i != ((long) (sizeof (void *))))
14579 exit (1);
14580 fprintf (f, "%lu\n", i);
14581 }
14582 exit (ferror (f) || fclose (f) != 0);
14583
14584 ;
14585 return 0;
14586}
14587_ACEOF
14588rm -f conftest$ac_exeext
14589if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14590 (eval $ac_link) 2>&5
14591 ac_status=$?
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14595 (eval $ac_try) 2>&5
14596 ac_status=$?
14597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14598 (exit $ac_status); }; }; then
14599 ac_cv_sizeof_void_p=`cat conftest.val`
14600else
14601 echo "$as_me: program exited with status $ac_status" >&5
14602echo "$as_me: failed program was:" >&5
14603sed 's/^/| /' conftest.$ac_ext >&5
14604
14605( exit $ac_status )
14606{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14607See \`config.log' for more details." >&5
14608echo "$as_me: error: cannot compute sizeof (void *), 77
14609See \`config.log' for more details." >&2;}
14610 { (exit 1); exit 1; }; }
14611fi
14612rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14613fi
14614fi
14615rm -f conftest.val
14616else
14617 ac_cv_sizeof_void_p=0
14618fi
14619fi
14620echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14621echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14622cat >>confdefs.h <<_ACEOF
14623#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14624_ACEOF
14625
14626
14627echo "$as_me:$LINENO: checking for int" >&5
14628echo $ECHO_N "checking for int... $ECHO_C" >&6
14629if test "${ac_cv_type_int+set}" = set; then
14630 echo $ECHO_N "(cached) $ECHO_C" >&6
14631else
14632 cat >conftest.$ac_ext <<_ACEOF
14633#line $LINENO "configure"
14634/* confdefs.h. */
14635_ACEOF
14636cat confdefs.h >>conftest.$ac_ext
14637cat >>conftest.$ac_ext <<_ACEOF
14638/* end confdefs.h. */
14639$ac_includes_default
14640int
14641main ()
14642{
14643if ((int *) 0)
14644 return 0;
14645if (sizeof (int))
14646 return 0;
14647 ;
14648 return 0;
14649}
14650_ACEOF
14651rm -f conftest.$ac_objext
14652if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14653 (eval $ac_compile) 2>&5
14654 ac_status=$?
14655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14656 (exit $ac_status); } &&
14657 { ac_try='test -s conftest.$ac_objext'
14658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14659 (eval $ac_try) 2>&5
14660 ac_status=$?
14661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14662 (exit $ac_status); }; }; then
14663 ac_cv_type_int=yes
14664else
14665 echo "$as_me: failed program was:" >&5
14666sed 's/^/| /' conftest.$ac_ext >&5
14667
14668ac_cv_type_int=no
14669fi
14670rm -f conftest.$ac_objext conftest.$ac_ext
14671fi
14672echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14673echo "${ECHO_T}$ac_cv_type_int" >&6
14674
14675echo "$as_me:$LINENO: checking size of int" >&5
14676echo $ECHO_N "checking size of int... $ECHO_C" >&6
14677if test "${ac_cv_sizeof_int+set}" = set; then
14678 echo $ECHO_N "(cached) $ECHO_C" >&6
14679else
14680 if test "$ac_cv_type_int" = yes; then
14681 # The cast to unsigned long works around a bug in the HP C Compiler
14682 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14683 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14684 # This bug is HP SR number 8606223364.
14685 if test "$cross_compiling" = yes; then
14686 # Depending upon the size, compute the lo and hi bounds.
14687cat >conftest.$ac_ext <<_ACEOF
14688#line $LINENO "configure"
14689/* confdefs.h. */
14690_ACEOF
14691cat confdefs.h >>conftest.$ac_ext
14692cat >>conftest.$ac_ext <<_ACEOF
14693/* end confdefs.h. */
14694$ac_includes_default
14695int
14696main ()
14697{
14698static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14699test_array [0] = 0
14700
14701 ;
14702 return 0;
14703}
14704_ACEOF
14705rm -f conftest.$ac_objext
14706if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14707 (eval $ac_compile) 2>&5
14708 ac_status=$?
14709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14710 (exit $ac_status); } &&
14711 { ac_try='test -s conftest.$ac_objext'
14712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14713 (eval $ac_try) 2>&5
14714 ac_status=$?
14715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14716 (exit $ac_status); }; }; then
14717 ac_lo=0 ac_mid=0
14718 while :; do
14719 cat >conftest.$ac_ext <<_ACEOF
14720#line $LINENO "configure"
14721/* confdefs.h. */
14722_ACEOF
14723cat confdefs.h >>conftest.$ac_ext
14724cat >>conftest.$ac_ext <<_ACEOF
14725/* end confdefs.h. */
14726$ac_includes_default
14727int
14728main ()
14729{
14730static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14731test_array [0] = 0
14732
14733 ;
14734 return 0;
14735}
14736_ACEOF
14737rm -f conftest.$ac_objext
14738if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14739 (eval $ac_compile) 2>&5
14740 ac_status=$?
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); } &&
14743 { ac_try='test -s conftest.$ac_objext'
14744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14745 (eval $ac_try) 2>&5
14746 ac_status=$?
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); }; }; then
14749 ac_hi=$ac_mid; break
14750else
14751 echo "$as_me: failed program was:" >&5
14752sed 's/^/| /' conftest.$ac_ext >&5
14753
14754ac_lo=`expr $ac_mid + 1`
14755 if test $ac_lo -le $ac_mid; then
14756 ac_lo= ac_hi=
14757 break
14758 fi
14759 ac_mid=`expr 2 '*' $ac_mid + 1`
14760fi
14761rm -f conftest.$ac_objext conftest.$ac_ext
14762 done
14763else
14764 echo "$as_me: failed program was:" >&5
14765sed 's/^/| /' conftest.$ac_ext >&5
14766
14767cat >conftest.$ac_ext <<_ACEOF
14768#line $LINENO "configure"
14769/* confdefs.h. */
14770_ACEOF
14771cat confdefs.h >>conftest.$ac_ext
14772cat >>conftest.$ac_ext <<_ACEOF
14773/* end confdefs.h. */
14774$ac_includes_default
14775int
14776main ()
14777{
14778static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14779test_array [0] = 0
14780
14781 ;
14782 return 0;
14783}
14784_ACEOF
14785rm -f conftest.$ac_objext
14786if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14787 (eval $ac_compile) 2>&5
14788 ac_status=$?
14789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 (exit $ac_status); } &&
14791 { ac_try='test -s conftest.$ac_objext'
14792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14793 (eval $ac_try) 2>&5
14794 ac_status=$?
14795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14796 (exit $ac_status); }; }; then
14797 ac_hi=-1 ac_mid=-1
14798 while :; do
14799 cat >conftest.$ac_ext <<_ACEOF
14800#line $LINENO "configure"
14801/* confdefs.h. */
14802_ACEOF
14803cat confdefs.h >>conftest.$ac_ext
14804cat >>conftest.$ac_ext <<_ACEOF
14805/* end confdefs.h. */
14806$ac_includes_default
14807int
14808main ()
14809{
14810static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14811test_array [0] = 0
14812
14813 ;
14814 return 0;
14815}
14816_ACEOF
14817rm -f conftest.$ac_objext
14818if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14819 (eval $ac_compile) 2>&5
14820 ac_status=$?
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 (exit $ac_status); } &&
14823 { ac_try='test -s conftest.$ac_objext'
14824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14825 (eval $ac_try) 2>&5
14826 ac_status=$?
14827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14828 (exit $ac_status); }; }; then
14829 ac_lo=$ac_mid; break
14830else
14831 echo "$as_me: failed program was:" >&5
14832sed 's/^/| /' conftest.$ac_ext >&5
14833
14834ac_hi=`expr '(' $ac_mid ')' - 1`
14835 if test $ac_mid -le $ac_hi; then
14836 ac_lo= ac_hi=
14837 break
14838 fi
14839 ac_mid=`expr 2 '*' $ac_mid`
14840fi
14841rm -f conftest.$ac_objext conftest.$ac_ext
14842 done
14843else
14844 echo "$as_me: failed program was:" >&5
14845sed 's/^/| /' conftest.$ac_ext >&5
14846
14847ac_lo= ac_hi=
14848fi
14849rm -f conftest.$ac_objext conftest.$ac_ext
14850fi
14851rm -f conftest.$ac_objext conftest.$ac_ext
14852# Binary search between lo and hi bounds.
14853while test "x$ac_lo" != "x$ac_hi"; do
14854 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14855 cat >conftest.$ac_ext <<_ACEOF
14856#line $LINENO "configure"
14857/* confdefs.h. */
14858_ACEOF
14859cat confdefs.h >>conftest.$ac_ext
14860cat >>conftest.$ac_ext <<_ACEOF
14861/* end confdefs.h. */
14862$ac_includes_default
14863int
14864main ()
14865{
14866static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14867test_array [0] = 0
14868
14869 ;
14870 return 0;
14871}
14872_ACEOF
14873rm -f conftest.$ac_objext
14874if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14875 (eval $ac_compile) 2>&5
14876 ac_status=$?
14877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14878 (exit $ac_status); } &&
14879 { ac_try='test -s conftest.$ac_objext'
14880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14881 (eval $ac_try) 2>&5
14882 ac_status=$?
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); }; }; then
14885 ac_hi=$ac_mid
14886else
14887 echo "$as_me: failed program was:" >&5
14888sed 's/^/| /' conftest.$ac_ext >&5
14889
14890ac_lo=`expr '(' $ac_mid ')' + 1`
14891fi
14892rm -f conftest.$ac_objext conftest.$ac_ext
14893done
14894case $ac_lo in
14895?*) ac_cv_sizeof_int=$ac_lo;;
14896'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14897See \`config.log' for more details." >&5
14898echo "$as_me: error: cannot compute sizeof (int), 77
14899See \`config.log' for more details." >&2;}
14900 { (exit 1); exit 1; }; } ;;
14901esac
14902else
14903 if test "$cross_compiling" = yes; then
14904 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14905See \`config.log' for more details." >&5
14906echo "$as_me: error: cannot run test program while cross compiling
14907See \`config.log' for more details." >&2;}
14908 { (exit 1); exit 1; }; }
14909else
14910 cat >conftest.$ac_ext <<_ACEOF
14911#line $LINENO "configure"
14912/* confdefs.h. */
14913_ACEOF
14914cat confdefs.h >>conftest.$ac_ext
14915cat >>conftest.$ac_ext <<_ACEOF
14916/* end confdefs.h. */
14917$ac_includes_default
14918long longval () { return (long) (sizeof (int)); }
14919unsigned long ulongval () { return (long) (sizeof (int)); }
14920#include <stdio.h>
14921#include <stdlib.h>
14922int
14923main ()
14924{
14925
14926 FILE *f = fopen ("conftest.val", "w");
14927 if (! f)
14928 exit (1);
14929 if (((long) (sizeof (int))) < 0)
14930 {
14931 long i = longval ();
14932 if (i != ((long) (sizeof (int))))
14933 exit (1);
14934 fprintf (f, "%ld\n", i);
14935 }
14936 else
14937 {
14938 unsigned long i = ulongval ();
14939 if (i != ((long) (sizeof (int))))
14940 exit (1);
14941 fprintf (f, "%lu\n", i);
14942 }
14943 exit (ferror (f) || fclose (f) != 0);
14944
14945 ;
14946 return 0;
14947}
14948_ACEOF
14949rm -f conftest$ac_exeext
14950if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14951 (eval $ac_link) 2>&5
14952 ac_status=$?
14953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14954 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14956 (eval $ac_try) 2>&5
14957 ac_status=$?
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 (exit $ac_status); }; }; then
14960 ac_cv_sizeof_int=`cat conftest.val`
14961else
14962 echo "$as_me: program exited with status $ac_status" >&5
14963echo "$as_me: failed program was:" >&5
14964sed 's/^/| /' conftest.$ac_ext >&5
14965
14966( exit $ac_status )
14967{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14968See \`config.log' for more details." >&5
14969echo "$as_me: error: cannot compute sizeof (int), 77
14970See \`config.log' for more details." >&2;}
14971 { (exit 1); exit 1; }; }
14972fi
14973rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14974fi
14975fi
14976rm -f conftest.val
14977else
14978 ac_cv_sizeof_int=0
14979fi
14980fi
14981echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
14982echo "${ECHO_T}$ac_cv_sizeof_int" >&6
14983cat >>confdefs.h <<_ACEOF
14984#define SIZEOF_INT $ac_cv_sizeof_int
14985_ACEOF
14986
14987
14988echo "$as_me:$LINENO: checking for long" >&5
14989echo $ECHO_N "checking for long... $ECHO_C" >&6
14990if test "${ac_cv_type_long+set}" = set; then
14991 echo $ECHO_N "(cached) $ECHO_C" >&6
14992else
14993 cat >conftest.$ac_ext <<_ACEOF
14994#line $LINENO "configure"
14995/* confdefs.h. */
14996_ACEOF
14997cat confdefs.h >>conftest.$ac_ext
14998cat >>conftest.$ac_ext <<_ACEOF
14999/* end confdefs.h. */
15000$ac_includes_default
15001int
15002main ()
15003{
15004if ((long *) 0)
15005 return 0;
15006if (sizeof (long))
15007 return 0;
15008 ;
15009 return 0;
15010}
15011_ACEOF
15012rm -f conftest.$ac_objext
15013if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15014 (eval $ac_compile) 2>&5
15015 ac_status=$?
15016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15017 (exit $ac_status); } &&
15018 { ac_try='test -s conftest.$ac_objext'
15019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15020 (eval $ac_try) 2>&5
15021 ac_status=$?
15022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15023 (exit $ac_status); }; }; then
15024 ac_cv_type_long=yes
15025else
15026 echo "$as_me: failed program was:" >&5
15027sed 's/^/| /' conftest.$ac_ext >&5
15028
15029ac_cv_type_long=no
15030fi
15031rm -f conftest.$ac_objext conftest.$ac_ext
15032fi
15033echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15034echo "${ECHO_T}$ac_cv_type_long" >&6
15035
15036echo "$as_me:$LINENO: checking size of long" >&5
15037echo $ECHO_N "checking size of long... $ECHO_C" >&6
15038if test "${ac_cv_sizeof_long+set}" = set; then
15039 echo $ECHO_N "(cached) $ECHO_C" >&6
15040else
15041 if test "$ac_cv_type_long" = yes; then
15042 # The cast to unsigned long works around a bug in the HP C Compiler
15043 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15044 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15045 # This bug is HP SR number 8606223364.
15046 if test "$cross_compiling" = yes; then
15047 # Depending upon the size, compute the lo and hi bounds.
15048cat >conftest.$ac_ext <<_ACEOF
15049#line $LINENO "configure"
15050/* confdefs.h. */
15051_ACEOF
15052cat confdefs.h >>conftest.$ac_ext
15053cat >>conftest.$ac_ext <<_ACEOF
15054/* end confdefs.h. */
15055$ac_includes_default
15056int
15057main ()
15058{
15059static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15060test_array [0] = 0
15061
15062 ;
15063 return 0;
15064}
15065_ACEOF
15066rm -f conftest.$ac_objext
15067if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15068 (eval $ac_compile) 2>&5
15069 ac_status=$?
15070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15071 (exit $ac_status); } &&
15072 { ac_try='test -s conftest.$ac_objext'
15073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15074 (eval $ac_try) 2>&5
15075 ac_status=$?
15076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077 (exit $ac_status); }; }; then
15078 ac_lo=0 ac_mid=0
15079 while :; do
15080 cat >conftest.$ac_ext <<_ACEOF
15081#line $LINENO "configure"
15082/* confdefs.h. */
15083_ACEOF
15084cat confdefs.h >>conftest.$ac_ext
15085cat >>conftest.$ac_ext <<_ACEOF
15086/* end confdefs.h. */
15087$ac_includes_default
15088int
15089main ()
15090{
15091static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15092test_array [0] = 0
15093
15094 ;
15095 return 0;
15096}
15097_ACEOF
15098rm -f conftest.$ac_objext
15099if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15100 (eval $ac_compile) 2>&5
15101 ac_status=$?
15102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15103 (exit $ac_status); } &&
15104 { ac_try='test -s conftest.$ac_objext'
15105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15106 (eval $ac_try) 2>&5
15107 ac_status=$?
15108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109 (exit $ac_status); }; }; then
15110 ac_hi=$ac_mid; break
15111else
15112 echo "$as_me: failed program was:" >&5
15113sed 's/^/| /' conftest.$ac_ext >&5
15114
15115ac_lo=`expr $ac_mid + 1`
15116 if test $ac_lo -le $ac_mid; then
15117 ac_lo= ac_hi=
15118 break
15119 fi
15120 ac_mid=`expr 2 '*' $ac_mid + 1`
15121fi
15122rm -f conftest.$ac_objext conftest.$ac_ext
15123 done
15124else
15125 echo "$as_me: failed program was:" >&5
15126sed 's/^/| /' conftest.$ac_ext >&5
15127
15128cat >conftest.$ac_ext <<_ACEOF
15129#line $LINENO "configure"
15130/* confdefs.h. */
15131_ACEOF
15132cat confdefs.h >>conftest.$ac_ext
15133cat >>conftest.$ac_ext <<_ACEOF
15134/* end confdefs.h. */
15135$ac_includes_default
15136int
15137main ()
15138{
15139static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15140test_array [0] = 0
15141
15142 ;
15143 return 0;
15144}
15145_ACEOF
15146rm -f conftest.$ac_objext
15147if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15148 (eval $ac_compile) 2>&5
15149 ac_status=$?
15150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 (exit $ac_status); } &&
15152 { ac_try='test -s conftest.$ac_objext'
15153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15154 (eval $ac_try) 2>&5
15155 ac_status=$?
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); }; }; then
15158 ac_hi=-1 ac_mid=-1
15159 while :; do
15160 cat >conftest.$ac_ext <<_ACEOF
15161#line $LINENO "configure"
15162/* confdefs.h. */
15163_ACEOF
15164cat confdefs.h >>conftest.$ac_ext
15165cat >>conftest.$ac_ext <<_ACEOF
15166/* end confdefs.h. */
15167$ac_includes_default
15168int
15169main ()
15170{
15171static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15172test_array [0] = 0
15173
15174 ;
15175 return 0;
15176}
15177_ACEOF
15178rm -f conftest.$ac_objext
15179if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15180 (eval $ac_compile) 2>&5
15181 ac_status=$?
15182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183 (exit $ac_status); } &&
15184 { ac_try='test -s conftest.$ac_objext'
15185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15186 (eval $ac_try) 2>&5
15187 ac_status=$?
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); }; }; then
15190 ac_lo=$ac_mid; break
15191else
15192 echo "$as_me: failed program was:" >&5
15193sed 's/^/| /' conftest.$ac_ext >&5
15194
15195ac_hi=`expr '(' $ac_mid ')' - 1`
15196 if test $ac_mid -le $ac_hi; then
15197 ac_lo= ac_hi=
15198 break
15199 fi
15200 ac_mid=`expr 2 '*' $ac_mid`
15201fi
15202rm -f conftest.$ac_objext conftest.$ac_ext
15203 done
15204else
15205 echo "$as_me: failed program was:" >&5
15206sed 's/^/| /' conftest.$ac_ext >&5
15207
15208ac_lo= ac_hi=
15209fi
15210rm -f conftest.$ac_objext conftest.$ac_ext
15211fi
15212rm -f conftest.$ac_objext conftest.$ac_ext
15213# Binary search between lo and hi bounds.
15214while test "x$ac_lo" != "x$ac_hi"; do
15215 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15216 cat >conftest.$ac_ext <<_ACEOF
15217#line $LINENO "configure"
15218/* confdefs.h. */
15219_ACEOF
15220cat confdefs.h >>conftest.$ac_ext
15221cat >>conftest.$ac_ext <<_ACEOF
15222/* end confdefs.h. */
15223$ac_includes_default
15224int
15225main ()
15226{
15227static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15228test_array [0] = 0
15229
15230 ;
15231 return 0;
15232}
15233_ACEOF
15234rm -f conftest.$ac_objext
15235if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15236 (eval $ac_compile) 2>&5
15237 ac_status=$?
15238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15239 (exit $ac_status); } &&
15240 { ac_try='test -s conftest.$ac_objext'
15241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15242 (eval $ac_try) 2>&5
15243 ac_status=$?
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); }; }; then
15246 ac_hi=$ac_mid
15247else
15248 echo "$as_me: failed program was:" >&5
15249sed 's/^/| /' conftest.$ac_ext >&5
15250
15251ac_lo=`expr '(' $ac_mid ')' + 1`
15252fi
15253rm -f conftest.$ac_objext conftest.$ac_ext
15254done
15255case $ac_lo in
15256?*) ac_cv_sizeof_long=$ac_lo;;
15257'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15258See \`config.log' for more details." >&5
15259echo "$as_me: error: cannot compute sizeof (long), 77
15260See \`config.log' for more details." >&2;}
15261 { (exit 1); exit 1; }; } ;;
15262esac
15263else
15264 if test "$cross_compiling" = yes; then
15265 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15266See \`config.log' for more details." >&5
15267echo "$as_me: error: cannot run test program while cross compiling
15268See \`config.log' for more details." >&2;}
15269 { (exit 1); exit 1; }; }
15270else
15271 cat >conftest.$ac_ext <<_ACEOF
15272#line $LINENO "configure"
15273/* confdefs.h. */
15274_ACEOF
15275cat confdefs.h >>conftest.$ac_ext
15276cat >>conftest.$ac_ext <<_ACEOF
15277/* end confdefs.h. */
15278$ac_includes_default
15279long longval () { return (long) (sizeof (long)); }
15280unsigned long ulongval () { return (long) (sizeof (long)); }
15281#include <stdio.h>
15282#include <stdlib.h>
15283int
15284main ()
15285{
15286
15287 FILE *f = fopen ("conftest.val", "w");
15288 if (! f)
15289 exit (1);
15290 if (((long) (sizeof (long))) < 0)
15291 {
15292 long i = longval ();
15293 if (i != ((long) (sizeof (long))))
15294 exit (1);
15295 fprintf (f, "%ld\n", i);
15296 }
15297 else
15298 {
15299 unsigned long i = ulongval ();
15300 if (i != ((long) (sizeof (long))))
15301 exit (1);
15302 fprintf (f, "%lu\n", i);
15303 }
15304 exit (ferror (f) || fclose (f) != 0);
15305
15306 ;
15307 return 0;
15308}
15309_ACEOF
15310rm -f conftest$ac_exeext
15311if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15312 (eval $ac_link) 2>&5
15313 ac_status=$?
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15317 (eval $ac_try) 2>&5
15318 ac_status=$?
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); }; }; then
15321 ac_cv_sizeof_long=`cat conftest.val`
15322else
15323 echo "$as_me: program exited with status $ac_status" >&5
15324echo "$as_me: failed program was:" >&5
15325sed 's/^/| /' conftest.$ac_ext >&5
15326
15327( exit $ac_status )
15328{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15329See \`config.log' for more details." >&5
15330echo "$as_me: error: cannot compute sizeof (long), 77
15331See \`config.log' for more details." >&2;}
15332 { (exit 1); exit 1; }; }
15333fi
15334rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15335fi
15336fi
15337rm -f conftest.val
15338else
15339 ac_cv_sizeof_long=0
15340fi
15341fi
15342echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15343echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15344cat >>confdefs.h <<_ACEOF
15345#define SIZEOF_LONG $ac_cv_sizeof_long
15346_ACEOF
15347
15348
15349
15350case "${host}" in
15351 arm-*-linux* )
15352 echo "$as_me:$LINENO: checking for long long" >&5
15353echo $ECHO_N "checking for long long... $ECHO_C" >&6
15354if test "${ac_cv_type_long_long+set}" = set; then
15355 echo $ECHO_N "(cached) $ECHO_C" >&6
15356else
15357 cat >conftest.$ac_ext <<_ACEOF
15358#line $LINENO "configure"
15359/* confdefs.h. */
15360_ACEOF
15361cat confdefs.h >>conftest.$ac_ext
15362cat >>conftest.$ac_ext <<_ACEOF
15363/* end confdefs.h. */
15364$ac_includes_default
15365int
15366main ()
15367{
15368if ((long long *) 0)
15369 return 0;
15370if (sizeof (long long))
15371 return 0;
15372 ;
15373 return 0;
15374}
15375_ACEOF
15376rm -f conftest.$ac_objext
15377if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15378 (eval $ac_compile) 2>&5
15379 ac_status=$?
15380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15381 (exit $ac_status); } &&
15382 { ac_try='test -s conftest.$ac_objext'
15383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15384 (eval $ac_try) 2>&5
15385 ac_status=$?
15386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387 (exit $ac_status); }; }; then
15388 ac_cv_type_long_long=yes
15389else
15390 echo "$as_me: failed program was:" >&5
15391sed 's/^/| /' conftest.$ac_ext >&5
15392
15393ac_cv_type_long_long=no
15394fi
15395rm -f conftest.$ac_objext conftest.$ac_ext
15396fi
15397echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15398echo "${ECHO_T}$ac_cv_type_long_long" >&6
15399
15400echo "$as_me:$LINENO: checking size of long long" >&5
15401echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15402if test "${ac_cv_sizeof_long_long+set}" = set; then
15403 echo $ECHO_N "(cached) $ECHO_C" >&6
15404else
15405 if test "$ac_cv_type_long_long" = yes; then
15406 # The cast to unsigned long works around a bug in the HP C Compiler
15407 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15408 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15409 # This bug is HP SR number 8606223364.
15410 if test "$cross_compiling" = yes; then
15411 # Depending upon the size, compute the lo and hi bounds.
15412cat >conftest.$ac_ext <<_ACEOF
15413#line $LINENO "configure"
15414/* confdefs.h. */
15415_ACEOF
15416cat confdefs.h >>conftest.$ac_ext
15417cat >>conftest.$ac_ext <<_ACEOF
15418/* end confdefs.h. */
15419$ac_includes_default
15420int
15421main ()
15422{
15423static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15424test_array [0] = 0
15425
15426 ;
15427 return 0;
15428}
15429_ACEOF
15430rm -f conftest.$ac_objext
15431if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15432 (eval $ac_compile) 2>&5
15433 ac_status=$?
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); } &&
15436 { ac_try='test -s conftest.$ac_objext'
15437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15438 (eval $ac_try) 2>&5
15439 ac_status=$?
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); }; }; then
15442 ac_lo=0 ac_mid=0
15443 while :; do
15444 cat >conftest.$ac_ext <<_ACEOF
15445#line $LINENO "configure"
15446/* confdefs.h. */
15447_ACEOF
15448cat confdefs.h >>conftest.$ac_ext
15449cat >>conftest.$ac_ext <<_ACEOF
15450/* end confdefs.h. */
15451$ac_includes_default
15452int
15453main ()
15454{
15455static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15456test_array [0] = 0
15457
15458 ;
15459 return 0;
15460}
15461_ACEOF
15462rm -f conftest.$ac_objext
15463if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15464 (eval $ac_compile) 2>&5
15465 ac_status=$?
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); } &&
15468 { ac_try='test -s conftest.$ac_objext'
15469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15470 (eval $ac_try) 2>&5
15471 ac_status=$?
15472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15473 (exit $ac_status); }; }; then
15474 ac_hi=$ac_mid; break
15475else
15476 echo "$as_me: failed program was:" >&5
15477sed 's/^/| /' conftest.$ac_ext >&5
15478
15479ac_lo=`expr $ac_mid + 1`
15480 if test $ac_lo -le $ac_mid; then
15481 ac_lo= ac_hi=
15482 break
15483 fi
15484 ac_mid=`expr 2 '*' $ac_mid + 1`
15485fi
15486rm -f conftest.$ac_objext conftest.$ac_ext
15487 done
15488else
15489 echo "$as_me: failed program was:" >&5
15490sed 's/^/| /' conftest.$ac_ext >&5
15491
15492cat >conftest.$ac_ext <<_ACEOF
15493#line $LINENO "configure"
15494/* confdefs.h. */
15495_ACEOF
15496cat confdefs.h >>conftest.$ac_ext
15497cat >>conftest.$ac_ext <<_ACEOF
15498/* end confdefs.h. */
15499$ac_includes_default
15500int
15501main ()
15502{
15503static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15504test_array [0] = 0
15505
15506 ;
15507 return 0;
15508}
15509_ACEOF
15510rm -f conftest.$ac_objext
15511if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15512 (eval $ac_compile) 2>&5
15513 ac_status=$?
15514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15515 (exit $ac_status); } &&
15516 { ac_try='test -s conftest.$ac_objext'
15517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15518 (eval $ac_try) 2>&5
15519 ac_status=$?
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); }; }; then
15522 ac_hi=-1 ac_mid=-1
15523 while :; do
15524 cat >conftest.$ac_ext <<_ACEOF
15525#line $LINENO "configure"
15526/* confdefs.h. */
15527_ACEOF
15528cat confdefs.h >>conftest.$ac_ext
15529cat >>conftest.$ac_ext <<_ACEOF
15530/* end confdefs.h. */
15531$ac_includes_default
15532int
15533main ()
15534{
15535static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15536test_array [0] = 0
15537
15538 ;
15539 return 0;
15540}
15541_ACEOF
15542rm -f conftest.$ac_objext
15543if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15544 (eval $ac_compile) 2>&5
15545 ac_status=$?
15546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 (exit $ac_status); } &&
15548 { ac_try='test -s conftest.$ac_objext'
15549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15550 (eval $ac_try) 2>&5
15551 ac_status=$?
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 (exit $ac_status); }; }; then
15554 ac_lo=$ac_mid; break
15555else
15556 echo "$as_me: failed program was:" >&5
15557sed 's/^/| /' conftest.$ac_ext >&5
15558
15559ac_hi=`expr '(' $ac_mid ')' - 1`
15560 if test $ac_mid -le $ac_hi; then
15561 ac_lo= ac_hi=
15562 break
15563 fi
15564 ac_mid=`expr 2 '*' $ac_mid`
15565fi
15566rm -f conftest.$ac_objext conftest.$ac_ext
15567 done
15568else
15569 echo "$as_me: failed program was:" >&5
15570sed 's/^/| /' conftest.$ac_ext >&5
15571
15572ac_lo= ac_hi=
15573fi
15574rm -f conftest.$ac_objext conftest.$ac_ext
15575fi
15576rm -f conftest.$ac_objext conftest.$ac_ext
15577# Binary search between lo and hi bounds.
15578while test "x$ac_lo" != "x$ac_hi"; do
15579 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15580 cat >conftest.$ac_ext <<_ACEOF
15581#line $LINENO "configure"
15582/* confdefs.h. */
15583_ACEOF
15584cat confdefs.h >>conftest.$ac_ext
15585cat >>conftest.$ac_ext <<_ACEOF
15586/* end confdefs.h. */
15587$ac_includes_default
15588int
15589main ()
15590{
15591static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15592test_array [0] = 0
15593
15594 ;
15595 return 0;
15596}
15597_ACEOF
15598rm -f conftest.$ac_objext
15599if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15600 (eval $ac_compile) 2>&5
15601 ac_status=$?
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); } &&
15604 { ac_try='test -s conftest.$ac_objext'
15605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15606 (eval $ac_try) 2>&5
15607 ac_status=$?
15608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15609 (exit $ac_status); }; }; then
15610 ac_hi=$ac_mid
15611else
15612 echo "$as_me: failed program was:" >&5
15613sed 's/^/| /' conftest.$ac_ext >&5
15614
15615ac_lo=`expr '(' $ac_mid ')' + 1`
15616fi
15617rm -f conftest.$ac_objext conftest.$ac_ext
15618done
15619case $ac_lo in
15620?*) ac_cv_sizeof_long_long=$ac_lo;;
15621'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15622See \`config.log' for more details." >&5
15623echo "$as_me: error: cannot compute sizeof (long long), 77
15624See \`config.log' for more details." >&2;}
15625 { (exit 1); exit 1; }; } ;;
15626esac
15627else
15628 if test "$cross_compiling" = yes; then
15629 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15630See \`config.log' for more details." >&5
15631echo "$as_me: error: cannot run test program while cross compiling
15632See \`config.log' for more details." >&2;}
15633 { (exit 1); exit 1; }; }
15634else
15635 cat >conftest.$ac_ext <<_ACEOF
15636#line $LINENO "configure"
15637/* confdefs.h. */
15638_ACEOF
15639cat confdefs.h >>conftest.$ac_ext
15640cat >>conftest.$ac_ext <<_ACEOF
15641/* end confdefs.h. */
15642$ac_includes_default
15643long longval () { return (long) (sizeof (long long)); }
15644unsigned long ulongval () { return (long) (sizeof (long long)); }
15645#include <stdio.h>
15646#include <stdlib.h>
15647int
15648main ()
15649{
15650
15651 FILE *f = fopen ("conftest.val", "w");
15652 if (! f)
15653 exit (1);
15654 if (((long) (sizeof (long long))) < 0)
15655 {
15656 long i = longval ();
15657 if (i != ((long) (sizeof (long long))))
15658 exit (1);
15659 fprintf (f, "%ld\n", i);
15660 }
15661 else
15662 {
15663 unsigned long i = ulongval ();
15664 if (i != ((long) (sizeof (long long))))
15665 exit (1);
15666 fprintf (f, "%lu\n", i);
15667 }
15668 exit (ferror (f) || fclose (f) != 0);
15669
15670 ;
15671 return 0;
15672}
15673_ACEOF
15674rm -f conftest$ac_exeext
15675if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15676 (eval $ac_link) 2>&5
15677 ac_status=$?
15678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15679 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15681 (eval $ac_try) 2>&5
15682 ac_status=$?
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); }; }; then
15685 ac_cv_sizeof_long_long=`cat conftest.val`
15686else
15687 echo "$as_me: program exited with status $ac_status" >&5
15688echo "$as_me: failed program was:" >&5
15689sed 's/^/| /' conftest.$ac_ext >&5
15690
15691( exit $ac_status )
15692{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15693See \`config.log' for more details." >&5
15694echo "$as_me: error: cannot compute sizeof (long long), 77
15695See \`config.log' for more details." >&2;}
15696 { (exit 1); exit 1; }; }
15697fi
15698rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15699fi
15700fi
15701rm -f conftest.val
15702else
15703 ac_cv_sizeof_long_long=0
15704fi
15705fi
15706echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15707echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15708cat >>confdefs.h <<_ACEOF
15709#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15710_ACEOF
15711
15712
15713 ;;
15714 *-hp-hpux* )
15715 echo "$as_me:$LINENO: checking for long long" >&5
15716echo $ECHO_N "checking for long long... $ECHO_C" >&6
15717if test "${ac_cv_type_long_long+set}" = set; then
15718 echo $ECHO_N "(cached) $ECHO_C" >&6
15719else
15720 cat >conftest.$ac_ext <<_ACEOF
15721#line $LINENO "configure"
15722/* confdefs.h. */
15723_ACEOF
15724cat confdefs.h >>conftest.$ac_ext
15725cat >>conftest.$ac_ext <<_ACEOF
15726/* end confdefs.h. */
15727$ac_includes_default
15728int
15729main ()
15730{
15731if ((long long *) 0)
15732 return 0;
15733if (sizeof (long long))
15734 return 0;
15735 ;
15736 return 0;
15737}
15738_ACEOF
15739rm -f conftest.$ac_objext
15740if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15741 (eval $ac_compile) 2>&5
15742 ac_status=$?
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); } &&
15745 { ac_try='test -s conftest.$ac_objext'
15746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15747 (eval $ac_try) 2>&5
15748 ac_status=$?
15749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750 (exit $ac_status); }; }; then
15751 ac_cv_type_long_long=yes
15752else
15753 echo "$as_me: failed program was:" >&5
15754sed 's/^/| /' conftest.$ac_ext >&5
15755
15756ac_cv_type_long_long=no
15757fi
15758rm -f conftest.$ac_objext conftest.$ac_ext
15759fi
15760echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15761echo "${ECHO_T}$ac_cv_type_long_long" >&6
15762
15763echo "$as_me:$LINENO: checking size of long long" >&5
15764echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15765if test "${ac_cv_sizeof_long_long+set}" = set; then
15766 echo $ECHO_N "(cached) $ECHO_C" >&6
15767else
15768 if test "$ac_cv_type_long_long" = yes; then
15769 # The cast to unsigned long works around a bug in the HP C Compiler
15770 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15771 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15772 # This bug is HP SR number 8606223364.
15773 if test "$cross_compiling" = yes; then
15774 # Depending upon the size, compute the lo and hi bounds.
15775cat >conftest.$ac_ext <<_ACEOF
15776#line $LINENO "configure"
15777/* confdefs.h. */
15778_ACEOF
15779cat confdefs.h >>conftest.$ac_ext
15780cat >>conftest.$ac_ext <<_ACEOF
15781/* end confdefs.h. */
15782$ac_includes_default
15783int
15784main ()
15785{
15786static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15787test_array [0] = 0
15788
15789 ;
15790 return 0;
15791}
15792_ACEOF
15793rm -f conftest.$ac_objext
15794if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15795 (eval $ac_compile) 2>&5
15796 ac_status=$?
15797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15798 (exit $ac_status); } &&
15799 { ac_try='test -s conftest.$ac_objext'
15800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15801 (eval $ac_try) 2>&5
15802 ac_status=$?
15803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804 (exit $ac_status); }; }; then
15805 ac_lo=0 ac_mid=0
15806 while :; do
15807 cat >conftest.$ac_ext <<_ACEOF
15808#line $LINENO "configure"
15809/* confdefs.h. */
15810_ACEOF
15811cat confdefs.h >>conftest.$ac_ext
15812cat >>conftest.$ac_ext <<_ACEOF
15813/* end confdefs.h. */
15814$ac_includes_default
15815int
15816main ()
15817{
15818static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15819test_array [0] = 0
15820
15821 ;
15822 return 0;
15823}
15824_ACEOF
15825rm -f conftest.$ac_objext
15826if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15827 (eval $ac_compile) 2>&5
15828 ac_status=$?
15829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15830 (exit $ac_status); } &&
15831 { ac_try='test -s conftest.$ac_objext'
15832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15833 (eval $ac_try) 2>&5
15834 ac_status=$?
15835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15836 (exit $ac_status); }; }; then
15837 ac_hi=$ac_mid; break
15838else
15839 echo "$as_me: failed program was:" >&5
15840sed 's/^/| /' conftest.$ac_ext >&5
15841
15842ac_lo=`expr $ac_mid + 1`
15843 if test $ac_lo -le $ac_mid; then
15844 ac_lo= ac_hi=
15845 break
15846 fi
15847 ac_mid=`expr 2 '*' $ac_mid + 1`
15848fi
15849rm -f conftest.$ac_objext conftest.$ac_ext
15850 done
15851else
15852 echo "$as_me: failed program was:" >&5
15853sed 's/^/| /' conftest.$ac_ext >&5
15854
15855cat >conftest.$ac_ext <<_ACEOF
15856#line $LINENO "configure"
15857/* confdefs.h. */
15858_ACEOF
15859cat confdefs.h >>conftest.$ac_ext
15860cat >>conftest.$ac_ext <<_ACEOF
15861/* end confdefs.h. */
15862$ac_includes_default
15863int
15864main ()
15865{
15866static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15867test_array [0] = 0
15868
15869 ;
15870 return 0;
15871}
15872_ACEOF
15873rm -f conftest.$ac_objext
15874if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15875 (eval $ac_compile) 2>&5
15876 ac_status=$?
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); } &&
15879 { ac_try='test -s conftest.$ac_objext'
15880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15881 (eval $ac_try) 2>&5
15882 ac_status=$?
15883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15884 (exit $ac_status); }; }; then
15885 ac_hi=-1 ac_mid=-1
15886 while :; do
15887 cat >conftest.$ac_ext <<_ACEOF
15888#line $LINENO "configure"
15889/* confdefs.h. */
15890_ACEOF
15891cat confdefs.h >>conftest.$ac_ext
15892cat >>conftest.$ac_ext <<_ACEOF
15893/* end confdefs.h. */
15894$ac_includes_default
15895int
15896main ()
15897{
15898static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15899test_array [0] = 0
15900
15901 ;
15902 return 0;
15903}
15904_ACEOF
15905rm -f conftest.$ac_objext
15906if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15907 (eval $ac_compile) 2>&5
15908 ac_status=$?
15909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15910 (exit $ac_status); } &&
15911 { ac_try='test -s conftest.$ac_objext'
15912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15913 (eval $ac_try) 2>&5
15914 ac_status=$?
15915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15916 (exit $ac_status); }; }; then
15917 ac_lo=$ac_mid; break
15918else
15919 echo "$as_me: failed program was:" >&5
15920sed 's/^/| /' conftest.$ac_ext >&5
15921
15922ac_hi=`expr '(' $ac_mid ')' - 1`
15923 if test $ac_mid -le $ac_hi; then
15924 ac_lo= ac_hi=
15925 break
15926 fi
15927 ac_mid=`expr 2 '*' $ac_mid`
15928fi
15929rm -f conftest.$ac_objext conftest.$ac_ext
15930 done
15931else
15932 echo "$as_me: failed program was:" >&5
15933sed 's/^/| /' conftest.$ac_ext >&5
15934
15935ac_lo= ac_hi=
15936fi
15937rm -f conftest.$ac_objext conftest.$ac_ext
15938fi
15939rm -f conftest.$ac_objext conftest.$ac_ext
15940# Binary search between lo and hi bounds.
15941while test "x$ac_lo" != "x$ac_hi"; do
15942 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15943 cat >conftest.$ac_ext <<_ACEOF
15944#line $LINENO "configure"
15945/* confdefs.h. */
15946_ACEOF
15947cat confdefs.h >>conftest.$ac_ext
15948cat >>conftest.$ac_ext <<_ACEOF
15949/* end confdefs.h. */
15950$ac_includes_default
15951int
15952main ()
15953{
15954static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15955test_array [0] = 0
15956
15957 ;
15958 return 0;
15959}
15960_ACEOF
15961rm -f conftest.$ac_objext
15962if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15963 (eval $ac_compile) 2>&5
15964 ac_status=$?
15965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15966 (exit $ac_status); } &&
15967 { ac_try='test -s conftest.$ac_objext'
15968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15969 (eval $ac_try) 2>&5
15970 ac_status=$?
15971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15972 (exit $ac_status); }; }; then
15973 ac_hi=$ac_mid
15974else
15975 echo "$as_me: failed program was:" >&5
15976sed 's/^/| /' conftest.$ac_ext >&5
15977
15978ac_lo=`expr '(' $ac_mid ')' + 1`
15979fi
15980rm -f conftest.$ac_objext conftest.$ac_ext
15981done
15982case $ac_lo in
15983?*) ac_cv_sizeof_long_long=$ac_lo;;
15984'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15985See \`config.log' for more details." >&5
15986echo "$as_me: error: cannot compute sizeof (long long), 77
15987See \`config.log' for more details." >&2;}
15988 { (exit 1); exit 1; }; } ;;
15989esac
15990else
15991 if test "$cross_compiling" = yes; then
15992 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15993See \`config.log' for more details." >&5
15994echo "$as_me: error: cannot run test program while cross compiling
15995See \`config.log' for more details." >&2;}
15996 { (exit 1); exit 1; }; }
15997else
15998 cat >conftest.$ac_ext <<_ACEOF
15999#line $LINENO "configure"
16000/* confdefs.h. */
16001_ACEOF
16002cat confdefs.h >>conftest.$ac_ext
16003cat >>conftest.$ac_ext <<_ACEOF
16004/* end confdefs.h. */
16005$ac_includes_default
16006long longval () { return (long) (sizeof (long long)); }
16007unsigned long ulongval () { return (long) (sizeof (long long)); }
16008#include <stdio.h>
16009#include <stdlib.h>
16010int
16011main ()
16012{
16013
16014 FILE *f = fopen ("conftest.val", "w");
16015 if (! f)
16016 exit (1);
16017 if (((long) (sizeof (long long))) < 0)
16018 {
16019 long i = longval ();
16020 if (i != ((long) (sizeof (long long))))
16021 exit (1);
16022 fprintf (f, "%ld\n", i);
16023 }
16024 else
16025 {
16026 unsigned long i = ulongval ();
16027 if (i != ((long) (sizeof (long long))))
16028 exit (1);
16029 fprintf (f, "%lu\n", i);
16030 }
16031 exit (ferror (f) || fclose (f) != 0);
16032
16033 ;
16034 return 0;
16035}
16036_ACEOF
16037rm -f conftest$ac_exeext
16038if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16039 (eval $ac_link) 2>&5
16040 ac_status=$?
16041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16042 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16044 (eval $ac_try) 2>&5
16045 ac_status=$?
16046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047 (exit $ac_status); }; }; then
16048 ac_cv_sizeof_long_long=`cat conftest.val`
16049else
16050 echo "$as_me: program exited with status $ac_status" >&5
16051echo "$as_me: failed program was:" >&5
16052sed 's/^/| /' conftest.$ac_ext >&5
16053
16054( exit $ac_status )
16055{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16056See \`config.log' for more details." >&5
16057echo "$as_me: error: cannot compute sizeof (long long), 77
16058See \`config.log' for more details." >&2;}
16059 { (exit 1); exit 1; }; }
16060fi
16061rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16062fi
16063fi
16064rm -f conftest.val
16065else
16066 ac_cv_sizeof_long_long=0
16067fi
16068fi
16069echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16070echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16071cat >>confdefs.h <<_ACEOF
16072#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16073_ACEOF
16074
16075
16076 if test "$ac_cv_sizeof_long_long" != "0"; then
16077 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16078 fi
16079 ;;
16080 * )
16081 echo "$as_me:$LINENO: checking for long long" >&5
16082echo $ECHO_N "checking for long long... $ECHO_C" >&6
16083if test "${ac_cv_type_long_long+set}" = set; then
16084 echo $ECHO_N "(cached) $ECHO_C" >&6
16085else
16086 cat >conftest.$ac_ext <<_ACEOF
16087#line $LINENO "configure"
16088/* confdefs.h. */
16089_ACEOF
16090cat confdefs.h >>conftest.$ac_ext
16091cat >>conftest.$ac_ext <<_ACEOF
16092/* end confdefs.h. */
16093$ac_includes_default
16094int
16095main ()
16096{
16097if ((long long *) 0)
16098 return 0;
16099if (sizeof (long long))
16100 return 0;
16101 ;
16102 return 0;
16103}
16104_ACEOF
16105rm -f conftest.$ac_objext
16106if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16107 (eval $ac_compile) 2>&5
16108 ac_status=$?
16109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110 (exit $ac_status); } &&
16111 { ac_try='test -s conftest.$ac_objext'
16112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16113 (eval $ac_try) 2>&5
16114 ac_status=$?
16115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16116 (exit $ac_status); }; }; then
16117 ac_cv_type_long_long=yes
16118else
16119 echo "$as_me: failed program was:" >&5
16120sed 's/^/| /' conftest.$ac_ext >&5
16121
16122ac_cv_type_long_long=no
16123fi
16124rm -f conftest.$ac_objext conftest.$ac_ext
16125fi
16126echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16127echo "${ECHO_T}$ac_cv_type_long_long" >&6
16128
16129echo "$as_me:$LINENO: checking size of long long" >&5
16130echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16131if test "${ac_cv_sizeof_long_long+set}" = set; then
16132 echo $ECHO_N "(cached) $ECHO_C" >&6
16133else
16134 if test "$ac_cv_type_long_long" = yes; then
16135 # The cast to unsigned long works around a bug in the HP C Compiler
16136 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16137 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16138 # This bug is HP SR number 8606223364.
16139 if test "$cross_compiling" = yes; then
16140 # Depending upon the size, compute the lo and hi bounds.
16141cat >conftest.$ac_ext <<_ACEOF
16142#line $LINENO "configure"
16143/* confdefs.h. */
16144_ACEOF
16145cat confdefs.h >>conftest.$ac_ext
16146cat >>conftest.$ac_ext <<_ACEOF
16147/* end confdefs.h. */
16148$ac_includes_default
16149int
16150main ()
16151{
16152static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16153test_array [0] = 0
16154
16155 ;
16156 return 0;
16157}
16158_ACEOF
16159rm -f conftest.$ac_objext
16160if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16161 (eval $ac_compile) 2>&5
16162 ac_status=$?
16163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164 (exit $ac_status); } &&
16165 { ac_try='test -s conftest.$ac_objext'
16166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16167 (eval $ac_try) 2>&5
16168 ac_status=$?
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); }; }; then
16171 ac_lo=0 ac_mid=0
16172 while :; do
16173 cat >conftest.$ac_ext <<_ACEOF
16174#line $LINENO "configure"
16175/* confdefs.h. */
16176_ACEOF
16177cat confdefs.h >>conftest.$ac_ext
16178cat >>conftest.$ac_ext <<_ACEOF
16179/* end confdefs.h. */
16180$ac_includes_default
16181int
16182main ()
16183{
16184static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16185test_array [0] = 0
16186
16187 ;
16188 return 0;
16189}
16190_ACEOF
16191rm -f conftest.$ac_objext
16192if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16193 (eval $ac_compile) 2>&5
16194 ac_status=$?
16195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16196 (exit $ac_status); } &&
16197 { ac_try='test -s conftest.$ac_objext'
16198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16199 (eval $ac_try) 2>&5
16200 ac_status=$?
16201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16202 (exit $ac_status); }; }; then
16203 ac_hi=$ac_mid; break
16204else
16205 echo "$as_me: failed program was:" >&5
16206sed 's/^/| /' conftest.$ac_ext >&5
16207
16208ac_lo=`expr $ac_mid + 1`
16209 if test $ac_lo -le $ac_mid; then
16210 ac_lo= ac_hi=
16211 break
16212 fi
16213 ac_mid=`expr 2 '*' $ac_mid + 1`
16214fi
16215rm -f conftest.$ac_objext conftest.$ac_ext
16216 done
16217else
16218 echo "$as_me: failed program was:" >&5
16219sed 's/^/| /' conftest.$ac_ext >&5
16220
16221cat >conftest.$ac_ext <<_ACEOF
16222#line $LINENO "configure"
16223/* confdefs.h. */
16224_ACEOF
16225cat confdefs.h >>conftest.$ac_ext
16226cat >>conftest.$ac_ext <<_ACEOF
16227/* end confdefs.h. */
16228$ac_includes_default
16229int
16230main ()
16231{
16232static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16233test_array [0] = 0
16234
16235 ;
16236 return 0;
16237}
16238_ACEOF
16239rm -f conftest.$ac_objext
16240if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16241 (eval $ac_compile) 2>&5
16242 ac_status=$?
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); } &&
16245 { ac_try='test -s conftest.$ac_objext'
16246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16247 (eval $ac_try) 2>&5
16248 ac_status=$?
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); }; }; then
16251 ac_hi=-1 ac_mid=-1
16252 while :; do
16253 cat >conftest.$ac_ext <<_ACEOF
16254#line $LINENO "configure"
16255/* confdefs.h. */
16256_ACEOF
16257cat confdefs.h >>conftest.$ac_ext
16258cat >>conftest.$ac_ext <<_ACEOF
16259/* end confdefs.h. */
16260$ac_includes_default
16261int
16262main ()
16263{
16264static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16265test_array [0] = 0
16266
16267 ;
16268 return 0;
16269}
16270_ACEOF
16271rm -f conftest.$ac_objext
16272if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16273 (eval $ac_compile) 2>&5
16274 ac_status=$?
16275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276 (exit $ac_status); } &&
16277 { ac_try='test -s conftest.$ac_objext'
16278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16279 (eval $ac_try) 2>&5
16280 ac_status=$?
16281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16282 (exit $ac_status); }; }; then
16283 ac_lo=$ac_mid; break
16284else
16285 echo "$as_me: failed program was:" >&5
16286sed 's/^/| /' conftest.$ac_ext >&5
16287
16288ac_hi=`expr '(' $ac_mid ')' - 1`
16289 if test $ac_mid -le $ac_hi; then
16290 ac_lo= ac_hi=
16291 break
16292 fi
16293 ac_mid=`expr 2 '*' $ac_mid`
16294fi
16295rm -f conftest.$ac_objext conftest.$ac_ext
16296 done
16297else
16298 echo "$as_me: failed program was:" >&5
16299sed 's/^/| /' conftest.$ac_ext >&5
16300
16301ac_lo= ac_hi=
16302fi
16303rm -f conftest.$ac_objext conftest.$ac_ext
16304fi
16305rm -f conftest.$ac_objext conftest.$ac_ext
16306# Binary search between lo and hi bounds.
16307while test "x$ac_lo" != "x$ac_hi"; do
16308 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16309 cat >conftest.$ac_ext <<_ACEOF
16310#line $LINENO "configure"
16311/* confdefs.h. */
16312_ACEOF
16313cat confdefs.h >>conftest.$ac_ext
16314cat >>conftest.$ac_ext <<_ACEOF
16315/* end confdefs.h. */
16316$ac_includes_default
16317int
16318main ()
16319{
16320static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16321test_array [0] = 0
16322
16323 ;
16324 return 0;
16325}
16326_ACEOF
16327rm -f conftest.$ac_objext
16328if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16329 (eval $ac_compile) 2>&5
16330 ac_status=$?
16331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16332 (exit $ac_status); } &&
16333 { ac_try='test -s conftest.$ac_objext'
16334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16335 (eval $ac_try) 2>&5
16336 ac_status=$?
16337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16338 (exit $ac_status); }; }; then
16339 ac_hi=$ac_mid
16340else
16341 echo "$as_me: failed program was:" >&5
16342sed 's/^/| /' conftest.$ac_ext >&5
16343
16344ac_lo=`expr '(' $ac_mid ')' + 1`
16345fi
16346rm -f conftest.$ac_objext conftest.$ac_ext
16347done
16348case $ac_lo in
16349?*) ac_cv_sizeof_long_long=$ac_lo;;
16350'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16351See \`config.log' for more details." >&5
16352echo "$as_me: error: cannot compute sizeof (long long), 77
16353See \`config.log' for more details." >&2;}
16354 { (exit 1); exit 1; }; } ;;
16355esac
16356else
16357 if test "$cross_compiling" = yes; then
16358 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16359See \`config.log' for more details." >&5
16360echo "$as_me: error: cannot run test program while cross compiling
16361See \`config.log' for more details." >&2;}
16362 { (exit 1); exit 1; }; }
16363else
16364 cat >conftest.$ac_ext <<_ACEOF
16365#line $LINENO "configure"
16366/* confdefs.h. */
16367_ACEOF
16368cat confdefs.h >>conftest.$ac_ext
16369cat >>conftest.$ac_ext <<_ACEOF
16370/* end confdefs.h. */
16371$ac_includes_default
16372long longval () { return (long) (sizeof (long long)); }
16373unsigned long ulongval () { return (long) (sizeof (long long)); }
16374#include <stdio.h>
16375#include <stdlib.h>
16376int
16377main ()
16378{
16379
16380 FILE *f = fopen ("conftest.val", "w");
16381 if (! f)
16382 exit (1);
16383 if (((long) (sizeof (long long))) < 0)
16384 {
16385 long i = longval ();
16386 if (i != ((long) (sizeof (long long))))
16387 exit (1);
16388 fprintf (f, "%ld\n", i);
16389 }
16390 else
16391 {
16392 unsigned long i = ulongval ();
16393 if (i != ((long) (sizeof (long long))))
16394 exit (1);
16395 fprintf (f, "%lu\n", i);
16396 }
16397 exit (ferror (f) || fclose (f) != 0);
16398
16399 ;
16400 return 0;
16401}
16402_ACEOF
16403rm -f conftest$ac_exeext
16404if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16405 (eval $ac_link) 2>&5
16406 ac_status=$?
16407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16408 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16410 (eval $ac_try) 2>&5
16411 ac_status=$?
16412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16413 (exit $ac_status); }; }; then
16414 ac_cv_sizeof_long_long=`cat conftest.val`
16415else
16416 echo "$as_me: program exited with status $ac_status" >&5
16417echo "$as_me: failed program was:" >&5
16418sed 's/^/| /' conftest.$ac_ext >&5
16419
16420( exit $ac_status )
16421{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16422See \`config.log' for more details." >&5
16423echo "$as_me: error: cannot compute sizeof (long long), 77
16424See \`config.log' for more details." >&2;}
16425 { (exit 1); exit 1; }; }
16426fi
16427rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16428fi
16429fi
16430rm -f conftest.val
16431else
16432 ac_cv_sizeof_long_long=0
16433fi
16434fi
16435echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16436echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16437cat >>confdefs.h <<_ACEOF
16438#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16439_ACEOF
16440
16441
16442esac
16443
16444echo "$as_me:$LINENO: checking size of wchar_t" >&5
16445echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16446if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16447 echo $ECHO_N "(cached) $ECHO_C" >&6
16448else
16449
16450 if test "$cross_compiling" = yes; then
16451
16452 case "${host}" in
16453 *-pc-msdosdjgpp )
16454 wx_cv_sizeof_wchar_t=0
16455 ;;
16456 * )
16457 wx_cv_sizeof_wchar_t=4
16458 ;;
16459 esac
16460
16461
16462else
16463 cat >conftest.$ac_ext <<_ACEOF
16464#line $LINENO "configure"
16465/* confdefs.h. */
16466_ACEOF
16467cat confdefs.h >>conftest.$ac_ext
16468cat >>conftest.$ac_ext <<_ACEOF
16469/* end confdefs.h. */
16470
16471 /* DJGPP only has fake wchar_t: */
16472 #ifdef __DJGPP__
16473 # error "fake wchar_t"
16474 #endif
16475 #ifdef HAVE_WCHAR_H
16476 # ifdef __CYGWIN__
16477 # include <stddef.h>
16478 # endif
16479 # include <wchar.h>
16480 #endif
16481 #ifdef HAVE_STDLIB_H
16482 # include <stdlib.h>
16483 #endif
16484 #include <stdio.h>
16485 int main()
16486 {
16487 FILE *f=fopen("conftestval", "w");
16488 if (!f) exit(1);
16489 fprintf(f, "%i", sizeof(wchar_t));
16490 exit(0);
16491 }
16492
16493_ACEOF
16494rm -f conftest$ac_exeext
16495if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16496 (eval $ac_link) 2>&5
16497 ac_status=$?
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16501 (eval $ac_try) 2>&5
16502 ac_status=$?
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); }; }; then
16505 wx_cv_sizeof_wchar_t=`cat conftestval`
16506else
16507 echo "$as_me: program exited with status $ac_status" >&5
16508echo "$as_me: failed program was:" >&5
16509sed 's/^/| /' conftest.$ac_ext >&5
16510
16511( exit $ac_status )
16512wx_cv_sizeof_wchar_t=0
16513fi
16514rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16515fi
16516
16517fi
16518echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16519echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16520
16521cat >>confdefs.h <<_ACEOF
16522#define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16523_ACEOF
16524
16525
16526# Check whether --enable-largefile or --disable-largefile was given.
16527if test "${enable_largefile+set}" = set; then
16528 enableval="$enable_largefile"
16529
16530fi;
16531if test "$enable_largefile" != no; then
16532 wx_largefile=no
16533
16534 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16535echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16536if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16537 echo $ECHO_N "(cached) $ECHO_C" >&6
16538else
16539
16540 cat >conftest.$ac_ext <<_ACEOF
16541#line $LINENO "configure"
16542/* confdefs.h. */
16543_ACEOF
16544cat confdefs.h >>conftest.$ac_ext
16545cat >>conftest.$ac_ext <<_ACEOF
16546/* end confdefs.h. */
16547#define _FILE_OFFSET_BITS 64
16548 #include <sys/types.h>
16549int
16550main ()
16551{
16552typedef struct {
16553 unsigned int field: sizeof(off_t) == 8;
16554} wxlf;
16555
16556 ;
16557 return 0;
16558}
16559_ACEOF
16560rm -f conftest.$ac_objext
16561if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16562 (eval $ac_compile) 2>&5
16563 ac_status=$?
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); } &&
16566 { ac_try='test -s conftest.$ac_objext'
16567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16568 (eval $ac_try) 2>&5
16569 ac_status=$?
16570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16571 (exit $ac_status); }; }; then
16572 ac_cv_sys_file_offset_bits=64
16573else
16574 echo "$as_me: failed program was:" >&5
16575sed 's/^/| /' conftest.$ac_ext >&5
16576
16577ac_cv_sys_file_offset_bits=no
16578fi
16579rm -f conftest.$ac_objext conftest.$ac_ext
16580
16581
16582fi
16583echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16584echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16585
16586 if test "$ac_cv_sys_file_offset_bits" != no; then
16587 wx_largefile=yes
16588 cat >>confdefs.h <<_ACEOF
16589#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16590_ACEOF
16591
16592 fi
16593
16594 if test "x$wx_largefile" != "xyes"; then
16595
16596 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16597echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16598if test "${ac_cv_sys_large_files+set}" = set; then
16599 echo $ECHO_N "(cached) $ECHO_C" >&6
16600else
16601
16602 cat >conftest.$ac_ext <<_ACEOF
16603#line $LINENO "configure"
16604/* confdefs.h. */
16605_ACEOF
16606cat confdefs.h >>conftest.$ac_ext
16607cat >>conftest.$ac_ext <<_ACEOF
16608/* end confdefs.h. */
16609#define _LARGE_FILES 1
16610 #include <sys/types.h>
16611int
16612main ()
16613{
16614typedef struct {
16615 unsigned int field: sizeof(off_t) == 8;
16616} wxlf;
16617
16618 ;
16619 return 0;
16620}
16621_ACEOF
16622rm -f conftest.$ac_objext
16623if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16624 (eval $ac_compile) 2>&5
16625 ac_status=$?
16626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16627 (exit $ac_status); } &&
16628 { ac_try='test -s conftest.$ac_objext'
16629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16630 (eval $ac_try) 2>&5
16631 ac_status=$?
16632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16633 (exit $ac_status); }; }; then
16634 ac_cv_sys_large_files=1
16635else
16636 echo "$as_me: failed program was:" >&5
16637sed 's/^/| /' conftest.$ac_ext >&5
16638
16639ac_cv_sys_large_files=no
16640fi
16641rm -f conftest.$ac_objext conftest.$ac_ext
16642
16643
16644fi
16645echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16646echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16647
16648 if test "$ac_cv_sys_large_files" != no; then
16649 wx_largefile=yes
16650 cat >>confdefs.h <<_ACEOF
16651#define _LARGE_FILES $ac_cv_sys_large_files
16652_ACEOF
16653
16654 fi
16655
16656 fi
16657
16658 echo "$as_me:$LINENO: checking if large file support is available" >&5
16659echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16660 if test "x$wx_largefile" = "xyes"; then
16661 cat >>confdefs.h <<\_ACEOF
16662#define HAVE_LARGEFILE_SUPPORT 1
16663_ACEOF
16664
16665 fi
16666 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16667echo "${ECHO_T}$wx_largefile" >&6
16668fi
16669
16670
16671if test "x$wx_largefile" = "xyes"; then
16672 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16673 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16674 else
16675 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16676 fi
16677 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16678fi
16679
16680echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16681echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16682if test "${ac_cv_c_bigendian+set}" = set; then
16683 echo $ECHO_N "(cached) $ECHO_C" >&6
16684else
16685 ac_cv_c_bigendian=unknown
16686# See if sys/param.h defines the BYTE_ORDER macro.
16687cat >conftest.$ac_ext <<_ACEOF
16688#line $LINENO "configure"
16689/* confdefs.h. */
16690_ACEOF
16691cat confdefs.h >>conftest.$ac_ext
16692cat >>conftest.$ac_ext <<_ACEOF
16693/* end confdefs.h. */
16694#include <sys/types.h>
16695#include <sys/param.h>
16696int
16697main ()
16698{
16699
16700#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16701 bogus endian macros
16702#endif
16703 ;
16704 return 0;
16705}
16706_ACEOF
16707rm -f conftest.$ac_objext
16708if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16709 (eval $ac_compile) 2>&5
16710 ac_status=$?
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); } &&
16713 { ac_try='test -s conftest.$ac_objext'
16714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16715 (eval $ac_try) 2>&5
16716 ac_status=$?
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); }; }; then
16719 # It does; now see whether it defined to BIG_ENDIAN or not.
16720cat >conftest.$ac_ext <<_ACEOF
16721#line $LINENO "configure"
16722/* confdefs.h. */
16723_ACEOF
16724cat confdefs.h >>conftest.$ac_ext
16725cat >>conftest.$ac_ext <<_ACEOF
16726/* end confdefs.h. */
16727#include <sys/types.h>
16728#include <sys/param.h>
16729int
16730main ()
16731{
16732
16733#if BYTE_ORDER != BIG_ENDIAN
16734 not big endian
16735#endif
16736 ;
16737 return 0;
16738}
16739_ACEOF
16740rm -f conftest.$ac_objext
16741if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16742 (eval $ac_compile) 2>&5
16743 ac_status=$?
16744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16745 (exit $ac_status); } &&
16746 { ac_try='test -s conftest.$ac_objext'
16747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16748 (eval $ac_try) 2>&5
16749 ac_status=$?
16750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16751 (exit $ac_status); }; }; then
16752 ac_cv_c_bigendian=yes
16753else
16754 echo "$as_me: failed program was:" >&5
16755sed 's/^/| /' conftest.$ac_ext >&5
16756
16757ac_cv_c_bigendian=no
16758fi
16759rm -f conftest.$ac_objext conftest.$ac_ext
16760else
16761 echo "$as_me: failed program was:" >&5
16762sed 's/^/| /' conftest.$ac_ext >&5
16763
16764fi
16765rm -f conftest.$ac_objext conftest.$ac_ext
16766if test $ac_cv_c_bigendian = unknown; then
16767if test "$cross_compiling" = yes; then
16768 ac_cv_c_bigendian=unknown
16769else
16770 cat >conftest.$ac_ext <<_ACEOF
16771#line $LINENO "configure"
16772/* confdefs.h. */
16773_ACEOF
16774cat confdefs.h >>conftest.$ac_ext
16775cat >>conftest.$ac_ext <<_ACEOF
16776/* end confdefs.h. */
16777main () {
16778 /* Are we little or big endian? From Harbison&Steele. */
16779 union
16780 {
16781 long l;
16782 char c[sizeof (long)];
16783 } u;
16784 u.l = 1;
16785 exit (u.c[sizeof (long) - 1] == 1);
16786}
16787_ACEOF
16788rm -f conftest$ac_exeext
16789if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16790 (eval $ac_link) 2>&5
16791 ac_status=$?
16792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16793 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16795 (eval $ac_try) 2>&5
16796 ac_status=$?
16797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16798 (exit $ac_status); }; }; then
16799 ac_cv_c_bigendian=no
16800else
16801 echo "$as_me: program exited with status $ac_status" >&5
16802echo "$as_me: failed program was:" >&5
16803sed 's/^/| /' conftest.$ac_ext >&5
16804
16805( exit $ac_status )
16806ac_cv_c_bigendian=yes
16807fi
16808rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16809fi
16810fi
16811fi
16812echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16813echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16814if test $ac_cv_c_bigendian = unknown; then
16815 { 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
16816echo "$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;}
16817fi
16818if test $ac_cv_c_bigendian = yes; then
16819 cat >>confdefs.h <<\_ACEOF
16820#define WORDS_BIGENDIAN 1
16821_ACEOF
16822
16823fi
16824
16825
16826
16827ac_ext=cc
16828ac_cpp='$CXXCPP $CPPFLAGS'
16829ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16830ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16831ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16832echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16833echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16834if test -z "$CXXCPP"; then
16835 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16836 echo $ECHO_N "(cached) $ECHO_C" >&6
16837else
16838 # Double quotes because CXXCPP needs to be expanded
16839 for CXXCPP in "$CXX -E" "/lib/cpp"
16840 do
16841 ac_preproc_ok=false
16842for ac_cxx_preproc_warn_flag in '' yes
16843do
16844 # Use a header file that comes with gcc, so configuring glibc
16845 # with a fresh cross-compiler works.
16846 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16847 # <limits.h> exists even on freestanding compilers.
16848 # On the NeXT, cc -E runs the code through the compiler's parser,
16849 # not just through cpp. "Syntax error" is here to catch this case.
16850 cat >conftest.$ac_ext <<_ACEOF
16851#line $LINENO "configure"
16852/* confdefs.h. */
16853_ACEOF
16854cat confdefs.h >>conftest.$ac_ext
16855cat >>conftest.$ac_ext <<_ACEOF
16856/* end confdefs.h. */
16857#ifdef __STDC__
16858# include <limits.h>
16859#else
16860# include <assert.h>
16861#endif
16862 Syntax error
16863_ACEOF
16864if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16865 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16866 ac_status=$?
16867 grep -v '^ *+' conftest.er1 >conftest.err
16868 rm -f conftest.er1
16869 cat conftest.err >&5
16870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 (exit $ac_status); } >/dev/null; then
16872 if test -s conftest.err; then
16873 ac_cpp_err=$ac_cxx_preproc_warn_flag
16874 else
16875 ac_cpp_err=
16876 fi
16877else
16878 ac_cpp_err=yes
16879fi
16880if test -z "$ac_cpp_err"; then
16881 :
16882else
16883 echo "$as_me: failed program was:" >&5
16884sed 's/^/| /' conftest.$ac_ext >&5
16885
16886 # Broken: fails on valid input.
16887continue
16888fi
16889rm -f conftest.err conftest.$ac_ext
16890
16891 # OK, works on sane cases. Now check whether non-existent headers
16892 # can be detected and how.
16893 cat >conftest.$ac_ext <<_ACEOF
16894#line $LINENO "configure"
16895/* confdefs.h. */
16896_ACEOF
16897cat confdefs.h >>conftest.$ac_ext
16898cat >>conftest.$ac_ext <<_ACEOF
16899/* end confdefs.h. */
16900#include <ac_nonexistent.h>
16901_ACEOF
16902if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16903 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16904 ac_status=$?
16905 grep -v '^ *+' conftest.er1 >conftest.err
16906 rm -f conftest.er1
16907 cat conftest.err >&5
16908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16909 (exit $ac_status); } >/dev/null; then
16910 if test -s conftest.err; then
16911 ac_cpp_err=$ac_cxx_preproc_warn_flag
16912 else
16913 ac_cpp_err=
16914 fi
16915else
16916 ac_cpp_err=yes
16917fi
16918if test -z "$ac_cpp_err"; then
16919 # Broken: success on invalid input.
16920continue
16921else
16922 echo "$as_me: failed program was:" >&5
16923sed 's/^/| /' conftest.$ac_ext >&5
16924
16925 # Passes both tests.
16926ac_preproc_ok=:
16927break
16928fi
16929rm -f conftest.err conftest.$ac_ext
16930
16931done
16932# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16933rm -f conftest.err conftest.$ac_ext
16934if $ac_preproc_ok; then
16935 break
16936fi
16937
16938 done
16939 ac_cv_prog_CXXCPP=$CXXCPP
16940
16941fi
16942 CXXCPP=$ac_cv_prog_CXXCPP
16943else
16944 ac_cv_prog_CXXCPP=$CXXCPP
16945fi
16946echo "$as_me:$LINENO: result: $CXXCPP" >&5
16947echo "${ECHO_T}$CXXCPP" >&6
16948ac_preproc_ok=false
16949for ac_cxx_preproc_warn_flag in '' yes
16950do
16951 # Use a header file that comes with gcc, so configuring glibc
16952 # with a fresh cross-compiler works.
16953 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16954 # <limits.h> exists even on freestanding compilers.
16955 # On the NeXT, cc -E runs the code through the compiler's parser,
16956 # not just through cpp. "Syntax error" is here to catch this case.
16957 cat >conftest.$ac_ext <<_ACEOF
16958#line $LINENO "configure"
16959/* confdefs.h. */
16960_ACEOF
16961cat confdefs.h >>conftest.$ac_ext
16962cat >>conftest.$ac_ext <<_ACEOF
16963/* end confdefs.h. */
16964#ifdef __STDC__
16965# include <limits.h>
16966#else
16967# include <assert.h>
16968#endif
16969 Syntax error
16970_ACEOF
16971if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16972 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16973 ac_status=$?
16974 grep -v '^ *+' conftest.er1 >conftest.err
16975 rm -f conftest.er1
16976 cat conftest.err >&5
16977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978 (exit $ac_status); } >/dev/null; then
16979 if test -s conftest.err; then
16980 ac_cpp_err=$ac_cxx_preproc_warn_flag
16981 else
16982 ac_cpp_err=
16983 fi
16984else
16985 ac_cpp_err=yes
16986fi
16987if test -z "$ac_cpp_err"; then
16988 :
16989else
16990 echo "$as_me: failed program was:" >&5
16991sed 's/^/| /' conftest.$ac_ext >&5
16992
16993 # Broken: fails on valid input.
16994continue
16995fi
16996rm -f conftest.err conftest.$ac_ext
16997
16998 # OK, works on sane cases. Now check whether non-existent headers
16999 # can be detected and how.
17000 cat >conftest.$ac_ext <<_ACEOF
17001#line $LINENO "configure"
17002/* confdefs.h. */
17003_ACEOF
17004cat confdefs.h >>conftest.$ac_ext
17005cat >>conftest.$ac_ext <<_ACEOF
17006/* end confdefs.h. */
17007#include <ac_nonexistent.h>
17008_ACEOF
17009if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17010 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17011 ac_status=$?
17012 grep -v '^ *+' conftest.er1 >conftest.err
17013 rm -f conftest.er1
17014 cat conftest.err >&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); } >/dev/null; then
17017 if test -s conftest.err; then
17018 ac_cpp_err=$ac_cxx_preproc_warn_flag
17019 else
17020 ac_cpp_err=
17021 fi
17022else
17023 ac_cpp_err=yes
17024fi
17025if test -z "$ac_cpp_err"; then
17026 # Broken: success on invalid input.
17027continue
17028else
17029 echo "$as_me: failed program was:" >&5
17030sed 's/^/| /' conftest.$ac_ext >&5
17031
17032 # Passes both tests.
17033ac_preproc_ok=:
17034break
17035fi
17036rm -f conftest.err conftest.$ac_ext
17037
17038done
17039# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17040rm -f conftest.err conftest.$ac_ext
17041if $ac_preproc_ok; then
17042 :
17043else
17044 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17045See \`config.log' for more details." >&5
17046echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17047See \`config.log' for more details." >&2;}
17048 { (exit 1); exit 1; }; }
17049fi
17050
17051ac_ext=cc
17052ac_cpp='$CXXCPP $CPPFLAGS'
17053ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17054ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17055ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17056
17057
17058
17059 if test "$cross_compiling" = "yes"; then
17060 cat >>confdefs.h <<\_ACEOF
17061#define wxUSE_IOSTREAMH 1
17062_ACEOF
17063
17064 else
17065
17066
17067 ac_ext=cc
17068ac_cpp='$CXXCPP $CPPFLAGS'
17069ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17070ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17071ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17072
17073
17074
17075for ac_header in iostream
17076do
17077as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17078if eval "test \"\${$as_ac_Header+set}\" = set"; then
17079 echo "$as_me:$LINENO: checking for $ac_header" >&5
17080echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17081if eval "test \"\${$as_ac_Header+set}\" = set"; then
17082 echo $ECHO_N "(cached) $ECHO_C" >&6
17083fi
17084echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17085echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17086else
17087 # Is the header compilable?
17088echo "$as_me:$LINENO: checking $ac_header usability" >&5
17089echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17090cat >conftest.$ac_ext <<_ACEOF
17091#line $LINENO "configure"
17092/* confdefs.h. */
17093_ACEOF
17094cat confdefs.h >>conftest.$ac_ext
17095cat >>conftest.$ac_ext <<_ACEOF
17096/* end confdefs.h. */
17097$ac_includes_default
17098#include <$ac_header>
17099_ACEOF
17100rm -f conftest.$ac_objext
17101if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17102 (eval $ac_compile) 2>&5
17103 ac_status=$?
17104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17105 (exit $ac_status); } &&
17106 { ac_try='test -s conftest.$ac_objext'
17107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17108 (eval $ac_try) 2>&5
17109 ac_status=$?
17110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17111 (exit $ac_status); }; }; then
17112 ac_header_compiler=yes
17113else
17114 echo "$as_me: failed program was:" >&5
17115sed 's/^/| /' conftest.$ac_ext >&5
17116
17117ac_header_compiler=no
17118fi
17119rm -f conftest.$ac_objext conftest.$ac_ext
17120echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17121echo "${ECHO_T}$ac_header_compiler" >&6
17122
17123# Is the header present?
17124echo "$as_me:$LINENO: checking $ac_header presence" >&5
17125echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17126cat >conftest.$ac_ext <<_ACEOF
17127#line $LINENO "configure"
17128/* confdefs.h. */
17129_ACEOF
17130cat confdefs.h >>conftest.$ac_ext
17131cat >>conftest.$ac_ext <<_ACEOF
17132/* end confdefs.h. */
17133#include <$ac_header>
17134_ACEOF
17135if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17136 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17137 ac_status=$?
17138 grep -v '^ *+' conftest.er1 >conftest.err
17139 rm -f conftest.er1
17140 cat conftest.err >&5
17141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17142 (exit $ac_status); } >/dev/null; then
17143 if test -s conftest.err; then
17144 ac_cpp_err=$ac_cxx_preproc_warn_flag
17145 else
17146 ac_cpp_err=
17147 fi
17148else
17149 ac_cpp_err=yes
17150fi
17151if test -z "$ac_cpp_err"; then
17152 ac_header_preproc=yes
17153else
17154 echo "$as_me: failed program was:" >&5
17155sed 's/^/| /' conftest.$ac_ext >&5
17156
17157 ac_header_preproc=no
17158fi
17159rm -f conftest.err conftest.$ac_ext
17160echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17161echo "${ECHO_T}$ac_header_preproc" >&6
17162
17163# So? What about this header?
17164case $ac_header_compiler:$ac_header_preproc in
17165 yes:no )
17166 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17167echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17168 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17169echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17170 (
17171 cat <<\_ASBOX
17172## ------------------------------------ ##
17173## Report this to bug-autoconf@gnu.org. ##
17174## ------------------------------------ ##
17175_ASBOX
17176 ) |
17177 sed "s/^/$as_me: WARNING: /" >&2
17178 ;;
17179 no:yes )
17180 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17181echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17182 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17183echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17184 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17185echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17186 (
17187 cat <<\_ASBOX
17188## ------------------------------------ ##
17189## Report this to bug-autoconf@gnu.org. ##
17190## ------------------------------------ ##
17191_ASBOX
17192 ) |
17193 sed "s/^/$as_me: WARNING: /" >&2
17194 ;;
17195esac
17196echo "$as_me:$LINENO: checking for $ac_header" >&5
17197echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17198if eval "test \"\${$as_ac_Header+set}\" = set"; then
17199 echo $ECHO_N "(cached) $ECHO_C" >&6
17200else
17201 eval "$as_ac_Header=$ac_header_preproc"
17202fi
17203echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17204echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17205
17206fi
17207if test `eval echo '${'$as_ac_Header'}'` = yes; then
17208 cat >>confdefs.h <<_ACEOF
17209#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17210_ACEOF
17211
17212fi
17213
17214done
17215
17216
17217 if test "$ac_cv_header_iostream" = "yes" ; then
17218 :
17219 else
17220 cat >>confdefs.h <<\_ACEOF
17221#define wxUSE_IOSTREAMH 1
17222_ACEOF
17223
17224 fi
17225
17226 ac_ext=c
17227ac_cpp='$CPP $CPPFLAGS'
17228ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17229ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17230ac_compiler_gnu=$ac_cv_c_compiler_gnu
17231
17232 fi
17233
17234
17235
17236 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17237echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17238if test "${wx_cv_cpp_bool+set}" = set; then
17239 echo $ECHO_N "(cached) $ECHO_C" >&6
17240else
17241
17242
17243
17244 ac_ext=cc
17245ac_cpp='$CXXCPP $CPPFLAGS'
17246ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17247ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17248ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17249
17250
17251 cat >conftest.$ac_ext <<_ACEOF
17252#line $LINENO "configure"
17253/* confdefs.h. */
17254_ACEOF
17255cat confdefs.h >>conftest.$ac_ext
17256cat >>conftest.$ac_ext <<_ACEOF
17257/* end confdefs.h. */
17258
17259
17260int
17261main ()
17262{
17263
17264 bool b = true;
17265
17266 return 0;
17267
17268 ;
17269 return 0;
17270}
17271_ACEOF
17272rm -f conftest.$ac_objext
17273if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17274 (eval $ac_compile) 2>&5
17275 ac_status=$?
17276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277 (exit $ac_status); } &&
17278 { ac_try='test -s conftest.$ac_objext'
17279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17280 (eval $ac_try) 2>&5
17281 ac_status=$?
17282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283 (exit $ac_status); }; }; then
17284
17285 wx_cv_cpp_bool=yes
17286
17287else
17288 echo "$as_me: failed program was:" >&5
17289sed 's/^/| /' conftest.$ac_ext >&5
17290
17291
17292 wx_cv_cpp_bool=no
17293
17294
17295fi
17296rm -f conftest.$ac_objext conftest.$ac_ext
17297
17298 ac_ext=c
17299ac_cpp='$CPP $CPPFLAGS'
17300ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17301ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17302ac_compiler_gnu=$ac_cv_c_compiler_gnu
17303
17304
17305fi
17306echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17307echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17308
17309 if test "$wx_cv_cpp_bool" = "yes"; then
17310 cat >>confdefs.h <<\_ACEOF
17311#define HAVE_BOOL 1
17312_ACEOF
17313
17314 fi
17315
17316
17317
17318 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17319echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17320if test "${wx_cv_explicit+set}" = set; then
17321 echo $ECHO_N "(cached) $ECHO_C" >&6
17322else
17323
17324
17325
17326 ac_ext=cc
17327ac_cpp='$CXXCPP $CPPFLAGS'
17328ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17329ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17330ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17331
17332
17333 cat >conftest.$ac_ext <<_ACEOF
17334#line $LINENO "configure"
17335/* confdefs.h. */
17336_ACEOF
17337cat confdefs.h >>conftest.$ac_ext
17338cat >>conftest.$ac_ext <<_ACEOF
17339/* end confdefs.h. */
17340
17341 class Foo { public: explicit Foo(int) {} };
17342
17343int
17344main ()
17345{
17346
17347 return 0;
17348
17349 ;
17350 return 0;
17351}
17352_ACEOF
17353rm -f conftest.$ac_objext
17354if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17355 (eval $ac_compile) 2>&5
17356 ac_status=$?
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); } &&
17359 { ac_try='test -s conftest.$ac_objext'
17360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17361 (eval $ac_try) 2>&5
17362 ac_status=$?
17363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17364 (exit $ac_status); }; }; then
17365
17366 cat >conftest.$ac_ext <<_ACEOF
17367#line $LINENO "configure"
17368/* confdefs.h. */
17369_ACEOF
17370cat confdefs.h >>conftest.$ac_ext
17371cat >>conftest.$ac_ext <<_ACEOF
17372/* end confdefs.h. */
17373
17374 class Foo { public: explicit Foo(int) {} };
17375 static void TakeFoo(const Foo& foo) { }
17376
17377int
17378main ()
17379{
17380
17381 TakeFoo(17);
17382 return 0;
17383
17384 ;
17385 return 0;
17386}
17387_ACEOF
17388rm -f conftest.$ac_objext
17389if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17390 (eval $ac_compile) 2>&5
17391 ac_status=$?
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); } &&
17394 { ac_try='test -s conftest.$ac_objext'
17395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17396 (eval $ac_try) 2>&5
17397 ac_status=$?
17398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399 (exit $ac_status); }; }; then
17400 wx_cv_explicit=no
17401else
17402 echo "$as_me: failed program was:" >&5
17403sed 's/^/| /' conftest.$ac_ext >&5
17404
17405wx_cv_explicit=yes
17406
17407fi
17408rm -f conftest.$ac_objext conftest.$ac_ext
17409
17410else
17411 echo "$as_me: failed program was:" >&5
17412sed 's/^/| /' conftest.$ac_ext >&5
17413
17414wx_cv_explicit=no
17415
17416fi
17417rm -f conftest.$ac_objext conftest.$ac_ext
17418
17419 ac_ext=c
17420ac_cpp='$CPP $CPPFLAGS'
17421ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17422ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17423ac_compiler_gnu=$ac_cv_c_compiler_gnu
17424
17425
17426fi
17427echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17428echo "${ECHO_T}$wx_cv_explicit" >&6
17429
17430 if test "$wx_cv_explicit" = "yes"; then
17431 cat >>confdefs.h <<\_ACEOF
17432#define HAVE_EXPLICIT 1
17433_ACEOF
17434
17435 fi
17436
17437
17438echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17439echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17440if test "${ac_cv_cxx_const_cast+set}" = set; then
17441 echo $ECHO_N "(cached) $ECHO_C" >&6
17442else
17443
17444
17445 ac_ext=cc
17446ac_cpp='$CXXCPP $CPPFLAGS'
17447ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17448ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17449ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17450
17451 cat >conftest.$ac_ext <<_ACEOF
17452#line $LINENO "configure"
17453/* confdefs.h. */
17454_ACEOF
17455cat confdefs.h >>conftest.$ac_ext
17456cat >>conftest.$ac_ext <<_ACEOF
17457/* end confdefs.h. */
17458
17459int
17460main ()
17461{
17462int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17463 ;
17464 return 0;
17465}
17466_ACEOF
17467rm -f conftest.$ac_objext
17468if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17469 (eval $ac_compile) 2>&5
17470 ac_status=$?
17471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17472 (exit $ac_status); } &&
17473 { ac_try='test -s conftest.$ac_objext'
17474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17475 (eval $ac_try) 2>&5
17476 ac_status=$?
17477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17478 (exit $ac_status); }; }; then
17479 ac_cv_cxx_const_cast=yes
17480else
17481 echo "$as_me: failed program was:" >&5
17482sed 's/^/| /' conftest.$ac_ext >&5
17483
17484ac_cv_cxx_const_cast=no
17485fi
17486rm -f conftest.$ac_objext conftest.$ac_ext
17487 ac_ext=c
17488ac_cpp='$CPP $CPPFLAGS'
17489ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17490ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17491ac_compiler_gnu=$ac_cv_c_compiler_gnu
17492
17493
17494fi
17495echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17496echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17497if test "$ac_cv_cxx_const_cast" = yes; then
17498
17499cat >>confdefs.h <<\_ACEOF
17500#define HAVE_CONST_CAST
17501_ACEOF
17502
17503fi
17504
17505
17506if test "$wxUSE_STL" = "yes"; then
17507 ac_ext=cc
17508ac_cpp='$CXXCPP $CPPFLAGS'
17509ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17510ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17511ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17512
17513
17514 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17515echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17516 cat >conftest.$ac_ext <<_ACEOF
17517#line $LINENO "configure"
17518/* confdefs.h. */
17519_ACEOF
17520cat confdefs.h >>conftest.$ac_ext
17521cat >>conftest.$ac_ext <<_ACEOF
17522/* end confdefs.h. */
17523#include <string>
17524 #include <functional>
17525 #include <algorithm>
17526 #include <vector>
17527 #include <list>
17528int
17529main ()
17530{
17531std::vector<int> moo;
17532 std::list<int> foo;
17533 std::vector<int>::iterator it =
17534 std::find_if(moo.begin(), moo.end(),
17535 std::bind2nd(std::less<int>(), 3));
17536 ;
17537 return 0;
17538}
17539_ACEOF
17540rm -f conftest.$ac_objext
17541if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17542 (eval $ac_compile) 2>&5
17543 ac_status=$?
17544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545 (exit $ac_status); } &&
17546 { ac_try='test -s conftest.$ac_objext'
17547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17548 (eval $ac_try) 2>&5
17549 ac_status=$?
17550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17551 (exit $ac_status); }; }; then
17552 echo "$as_me:$LINENO: result: yes" >&5
17553echo "${ECHO_T}yes" >&6
17554else
17555 echo "$as_me: failed program was:" >&5
17556sed 's/^/| /' conftest.$ac_ext >&5
17557
17558echo "$as_me:$LINENO: result: no" >&5
17559echo "${ECHO_T}no" >&6
17560 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17561echo "$as_me: error: Basic STL functionality missing" >&2;}
17562 { (exit 1); exit 1; }; }
17563fi
17564rm -f conftest.$ac_objext conftest.$ac_ext
17565
17566 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17567echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17568 cat >conftest.$ac_ext <<_ACEOF
17569#line $LINENO "configure"
17570/* confdefs.h. */
17571_ACEOF
17572cat confdefs.h >>conftest.$ac_ext
17573cat >>conftest.$ac_ext <<_ACEOF
17574/* end confdefs.h. */
17575#include <string>
17576int
17577main ()
17578{
17579std::wstring foo;
17580 ;
17581 return 0;
17582}
17583_ACEOF
17584rm -f conftest.$ac_objext
17585if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17586 (eval $ac_compile) 2>&5
17587 ac_status=$?
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); } &&
17590 { ac_try='test -s conftest.$ac_objext'
17591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17592 (eval $ac_try) 2>&5
17593 ac_status=$?
17594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17595 (exit $ac_status); }; }; then
17596 echo "$as_me:$LINENO: result: yes" >&5
17597echo "${ECHO_T}yes" >&6
17598 cat >>confdefs.h <<\_ACEOF
17599#define HAVE_STD_WSTRING 1
17600_ACEOF
17601
17602else
17603 echo "$as_me: failed program was:" >&5
17604sed 's/^/| /' conftest.$ac_ext >&5
17605
17606echo "$as_me:$LINENO: result: no" >&5
17607echo "${ECHO_T}no" >&6
17608fi
17609rm -f conftest.$ac_objext conftest.$ac_ext
17610
17611 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17612echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17613 cat >conftest.$ac_ext <<_ACEOF
17614#line $LINENO "configure"
17615/* confdefs.h. */
17616_ACEOF
17617cat confdefs.h >>conftest.$ac_ext
17618cat >>conftest.$ac_ext <<_ACEOF
17619/* end confdefs.h. */
17620#include <string>
17621int
17622main ()
17623{
17624std::string foo, bar;
17625 foo.compare(bar);
17626 foo.compare(1, 1, bar);
17627 foo.compare(1, 1, bar, 1, 1);
17628 foo.compare("");
17629 foo.compare(1, 1, "");
17630 foo.compare(1, 1, "", 2);
17631 ;
17632 return 0;
17633}
17634_ACEOF
17635rm -f conftest.$ac_objext
17636if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17637 (eval $ac_compile) 2>&5
17638 ac_status=$?
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); } &&
17641 { ac_try='test -s conftest.$ac_objext'
17642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17643 (eval $ac_try) 2>&5
17644 ac_status=$?
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); }; }; then
17647 echo "$as_me:$LINENO: result: yes" >&5
17648echo "${ECHO_T}yes" >&6
17649 cat >>confdefs.h <<\_ACEOF
17650#define HAVE_STD_STRING_COMPARE 1
17651_ACEOF
17652
17653else
17654 echo "$as_me: failed program was:" >&5
17655sed 's/^/| /' conftest.$ac_ext >&5
17656
17657echo "$as_me:$LINENO: result: no" >&5
17658echo "${ECHO_T}no" >&6
17659fi
17660rm -f conftest.$ac_objext conftest.$ac_ext
17661
17662 ac_ext=c
17663ac_cpp='$CPP $CPPFLAGS'
17664ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17665ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17666ac_compiler_gnu=$ac_cv_c_compiler_gnu
17667
17668fi
17669
17670
17671SEARCH_INCLUDE="\
17672 /usr/local/include \
17673 \
17674 /usr/Motif-1.2/include \
17675 /usr/Motif-2.1/include \
17676 \
17677 /usr/include/Motif1.2 \
17678 /opt/xpm/include/X11 \
17679 /opt/GBxpm/include/ \
17680 /opt/GBxpm/X11/include/ \
17681 \
17682 /usr/Motif1.2/include \
17683 /usr/dt/include \
17684 /usr/openwin/include \
17685 \
17686 /usr/include/Xm \
17687 \
17688 /usr/X11R6/include \
17689 /usr/X11R6.4/include \
17690 /usr/X11R5/include \
17691 /usr/X11R4/include \
17692 \
17693 /usr/include/X11R6 \
17694 /usr/include/X11R5 \
17695 /usr/include/X11R4 \
17696 \
17697 /usr/local/X11R6/include \
17698 /usr/local/X11R5/include \
17699 /usr/local/X11R4/include \
17700 \
17701 /usr/local/include/X11R6 \
17702 /usr/local/include/X11R5 \
17703 /usr/local/include/X11R4 \
17704 \
17705 /usr/X11/include \
17706 /usr/include/X11 \
17707 /usr/local/X11/include \
17708 /usr/local/include/X11 \
17709 \
17710 /usr/X386/include \
17711 /usr/x386/include \
17712 /usr/XFree86/include/X11 \
17713 \
17714 X:/XFree86/include \
17715 X:/XFree86/include/X11 \
17716 \
17717 /usr/include/gtk \
17718 /usr/local/include/gtk \
17719 /usr/include/glib \
17720 /usr/local/include/glib \
17721 \
17722 /usr/include/qt \
17723 /usr/local/include/qt \
17724 \
17725 /usr/include/windows \
17726 /usr/include/wine \
17727 /usr/local/include/wine \
17728 \
17729 /usr/unsupported/include \
17730 /usr/athena/include \
17731 /usr/local/x11r5/include \
17732 /usr/lpp/Xamples/include \
17733 \
17734 /usr/openwin/share/include"
17735
17736SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17737
17738
17739cat >confcache <<\_ACEOF
17740# This file is a shell script that caches the results of configure
17741# tests run on this system so they can be shared between configure
17742# scripts and configure runs, see configure's option --config-cache.
17743# It is not useful on other systems. If it contains results you don't
17744# want to keep, you may remove or edit it.
17745#
17746# config.status only pays attention to the cache file if you give it
17747# the --recheck option to rerun configure.
17748#
17749# `ac_cv_env_foo' variables (set or unset) will be overridden when
17750# loading this file, other *unset* `ac_cv_foo' will be assigned the
17751# following values.
17752
17753_ACEOF
17754
17755# The following way of writing the cache mishandles newlines in values,
17756# but we know of no workaround that is simple, portable, and efficient.
17757# So, don't put newlines in cache variables' values.
17758# Ultrix sh set writes to stderr and can't be redirected directly,
17759# and sets the high bit in the cache file unless we assign to the vars.
17760{
17761 (set) 2>&1 |
17762 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17763 *ac_space=\ *)
17764 # `set' does not quote correctly, so add quotes (double-quote
17765 # substitution turns \\\\ into \\, and sed turns \\ into \).
17766 sed -n \
17767 "s/'/'\\\\''/g;
17768 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17769 ;;
17770 *)
17771 # `set' quotes correctly as required by POSIX, so do not add quotes.
17772 sed -n \
17773 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17774 ;;
17775 esac;
17776} |
17777 sed '
17778 t clear
17779 : clear
17780 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17781 t end
17782 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17783 : end' >>confcache
17784if diff $cache_file confcache >/dev/null 2>&1; then :; else
17785 if test -w $cache_file; then
17786 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17787 cat confcache >$cache_file
17788 else
17789 echo "not updating unwritable cache $cache_file"
17790 fi
17791fi
17792rm -f confcache
17793
17794if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17795 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17796echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17797if test "${wx_cv_lib_glibc21+set}" = set; then
17798 echo $ECHO_N "(cached) $ECHO_C" >&6
17799else
17800
17801 cat >conftest.$ac_ext <<_ACEOF
17802#line $LINENO "configure"
17803/* confdefs.h. */
17804_ACEOF
17805cat confdefs.h >>conftest.$ac_ext
17806cat >>conftest.$ac_ext <<_ACEOF
17807/* end confdefs.h. */
17808#include <features.h>
17809int
17810main ()
17811{
17812
17813 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17814 #error not glibc2.1
17815 #endif
17816
17817 ;
17818 return 0;
17819}
17820_ACEOF
17821rm -f conftest.$ac_objext
17822if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17823 (eval $ac_compile) 2>&5
17824 ac_status=$?
17825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17826 (exit $ac_status); } &&
17827 { ac_try='test -s conftest.$ac_objext'
17828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17829 (eval $ac_try) 2>&5
17830 ac_status=$?
17831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832 (exit $ac_status); }; }; then
17833
17834 wx_cv_lib_glibc21=yes
17835
17836else
17837 echo "$as_me: failed program was:" >&5
17838sed 's/^/| /' conftest.$ac_ext >&5
17839
17840
17841 wx_cv_lib_glibc21=no
17842
17843
17844fi
17845rm -f conftest.$ac_objext conftest.$ac_ext
17846
17847fi
17848echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17849echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17850 if test "$wx_cv_lib_glibc21" = "yes"; then
17851 cat >>confdefs.h <<\_ACEOF
17852#define wxHAVE_GLIBC2 1
17853_ACEOF
17854
17855 fi
17856fi
17857
17858if test "x$wx_cv_lib_glibc21" = "xyes"; then
17859 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17860 cat >>confdefs.h <<\_ACEOF
17861#define _GNU_SOURCE 1
17862_ACEOF
17863
17864 fi
17865fi
17866
17867
17868
17869REGEX_INCLUDE=
17870if test "$wxUSE_REGEX" != "no"; then
17871 cat >>confdefs.h <<\_ACEOF
17872#define wxUSE_REGEX 1
17873_ACEOF
17874
17875
17876 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17877 if test "${ac_cv_header_regex_h+set}" = set; then
17878 echo "$as_me:$LINENO: checking for regex.h" >&5
17879echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17880if test "${ac_cv_header_regex_h+set}" = set; then
17881 echo $ECHO_N "(cached) $ECHO_C" >&6
17882fi
17883echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17884echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17885else
17886 # Is the header compilable?
17887echo "$as_me:$LINENO: checking regex.h usability" >&5
17888echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17889cat >conftest.$ac_ext <<_ACEOF
17890#line $LINENO "configure"
17891/* confdefs.h. */
17892_ACEOF
17893cat confdefs.h >>conftest.$ac_ext
17894cat >>conftest.$ac_ext <<_ACEOF
17895/* end confdefs.h. */
17896$ac_includes_default
17897#include <regex.h>
17898_ACEOF
17899rm -f conftest.$ac_objext
17900if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17901 (eval $ac_compile) 2>&5
17902 ac_status=$?
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); } &&
17905 { ac_try='test -s conftest.$ac_objext'
17906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17907 (eval $ac_try) 2>&5
17908 ac_status=$?
17909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910 (exit $ac_status); }; }; then
17911 ac_header_compiler=yes
17912else
17913 echo "$as_me: failed program was:" >&5
17914sed 's/^/| /' conftest.$ac_ext >&5
17915
17916ac_header_compiler=no
17917fi
17918rm -f conftest.$ac_objext conftest.$ac_ext
17919echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17920echo "${ECHO_T}$ac_header_compiler" >&6
17921
17922# Is the header present?
17923echo "$as_me:$LINENO: checking regex.h presence" >&5
17924echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17925cat >conftest.$ac_ext <<_ACEOF
17926#line $LINENO "configure"
17927/* confdefs.h. */
17928_ACEOF
17929cat confdefs.h >>conftest.$ac_ext
17930cat >>conftest.$ac_ext <<_ACEOF
17931/* end confdefs.h. */
17932#include <regex.h>
17933_ACEOF
17934if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17935 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17936 ac_status=$?
17937 grep -v '^ *+' conftest.er1 >conftest.err
17938 rm -f conftest.er1
17939 cat conftest.err >&5
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); } >/dev/null; then
17942 if test -s conftest.err; then
17943 ac_cpp_err=$ac_c_preproc_warn_flag
17944 else
17945 ac_cpp_err=
17946 fi
17947else
17948 ac_cpp_err=yes
17949fi
17950if test -z "$ac_cpp_err"; then
17951 ac_header_preproc=yes
17952else
17953 echo "$as_me: failed program was:" >&5
17954sed 's/^/| /' conftest.$ac_ext >&5
17955
17956 ac_header_preproc=no
17957fi
17958rm -f conftest.err conftest.$ac_ext
17959echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17960echo "${ECHO_T}$ac_header_preproc" >&6
17961
17962# So? What about this header?
17963case $ac_header_compiler:$ac_header_preproc in
17964 yes:no )
17965 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17966echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17967 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17968echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17969 (
17970 cat <<\_ASBOX
17971## ------------------------------------ ##
17972## Report this to bug-autoconf@gnu.org. ##
17973## ------------------------------------ ##
17974_ASBOX
17975 ) |
17976 sed "s/^/$as_me: WARNING: /" >&2
17977 ;;
17978 no:yes )
17979 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17980echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17981 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17982echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
17983 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17984echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17985 (
17986 cat <<\_ASBOX
17987## ------------------------------------ ##
17988## Report this to bug-autoconf@gnu.org. ##
17989## ------------------------------------ ##
17990_ASBOX
17991 ) |
17992 sed "s/^/$as_me: WARNING: /" >&2
17993 ;;
17994esac
17995echo "$as_me:$LINENO: checking for regex.h" >&5
17996echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17997if test "${ac_cv_header_regex_h+set}" = set; then
17998 echo $ECHO_N "(cached) $ECHO_C" >&6
17999else
18000 ac_cv_header_regex_h=$ac_header_preproc
18001fi
18002echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18003echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18004
18005fi
18006if test $ac_cv_header_regex_h = yes; then
18007
18008for ac_func in regcomp
18009do
18010as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18011echo "$as_me:$LINENO: checking for $ac_func" >&5
18012echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18013if eval "test \"\${$as_ac_var+set}\" = set"; then
18014 echo $ECHO_N "(cached) $ECHO_C" >&6
18015else
18016 cat >conftest.$ac_ext <<_ACEOF
18017#line $LINENO "configure"
18018/* confdefs.h. */
18019_ACEOF
18020cat confdefs.h >>conftest.$ac_ext
18021cat >>conftest.$ac_ext <<_ACEOF
18022/* end confdefs.h. */
18023/* System header to define __stub macros and hopefully few prototypes,
18024 which can conflict with char $ac_func (); below.
18025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18026 <limits.h> exists even on freestanding compilers. */
18027#ifdef __STDC__
18028# include <limits.h>
18029#else
18030# include <assert.h>
18031#endif
18032/* Override any gcc2 internal prototype to avoid an error. */
18033#ifdef __cplusplus
18034extern "C"
18035{
18036#endif
18037/* We use char because int might match the return type of a gcc2
18038 builtin and then its argument prototype would still apply. */
18039char $ac_func ();
18040/* The GNU C library defines this for functions which it implements
18041 to always fail with ENOSYS. Some functions are actually named
18042 something starting with __ and the normal name is an alias. */
18043#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18044choke me
18045#else
18046char (*f) () = $ac_func;
18047#endif
18048#ifdef __cplusplus
18049}
18050#endif
18051
18052int
18053main ()
18054{
18055return f != $ac_func;
18056 ;
18057 return 0;
18058}
18059_ACEOF
18060rm -f conftest.$ac_objext conftest$ac_exeext
18061if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18062 (eval $ac_link) 2>&5
18063 ac_status=$?
18064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18065 (exit $ac_status); } &&
18066 { ac_try='test -s conftest$ac_exeext'
18067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18068 (eval $ac_try) 2>&5
18069 ac_status=$?
18070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18071 (exit $ac_status); }; }; then
18072 eval "$as_ac_var=yes"
18073else
18074 echo "$as_me: failed program was:" >&5
18075sed 's/^/| /' conftest.$ac_ext >&5
18076
18077eval "$as_ac_var=no"
18078fi
18079rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18080fi
18081echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18082echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18083if test `eval echo '${'$as_ac_var'}'` = yes; then
18084 cat >>confdefs.h <<_ACEOF
18085#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18086_ACEOF
18087
18088fi
18089done
18090
18091fi
18092
18093
18094
18095 if test "x$ac_cv_func_regcomp" != "xyes"; then
18096 if test "$wxUSE_REGEX" = "sys" ; then
18097 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18098echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18099 { (exit 1); exit 1; }; }
18100 else
18101 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18102echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18103 wxUSE_REGEX=builtin
18104 fi
18105 else
18106 wxUSE_REGEX=sys
18107 fi
18108 fi
18109
18110 if test "$wxUSE_REGEX" = "builtin" ; then
18111 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18112 fi
18113fi
18114
18115
18116ZLIB_INCLUDE=
18117ZLIB_LINK=
18118if test "$wxUSE_ZLIB" != "no" ; then
18119 cat >>confdefs.h <<\_ACEOF
18120#define wxUSE_ZLIB 1
18121_ACEOF
18122
18123
18124 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18125 if test "$USE_DARWIN" = 1; then
18126 system_zlib_h_ok="yes"
18127 else
18128 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18129echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18130if test "${ac_cv_header_zlib_h+set}" = set; then
18131 echo $ECHO_N "(cached) $ECHO_C" >&6
18132else
18133 if test "$cross_compiling" = yes; then
18134 unset ac_cv_header_zlib_h
18135
18136else
18137 cat >conftest.$ac_ext <<_ACEOF
18138#line $LINENO "configure"
18139/* confdefs.h. */
18140_ACEOF
18141cat confdefs.h >>conftest.$ac_ext
18142cat >>conftest.$ac_ext <<_ACEOF
18143/* end confdefs.h. */
18144
18145 #include <zlib.h>
18146 #include <stdio.h>
18147
18148 int main()
18149 {
18150 FILE *f=fopen("conftestval", "w");
18151 if (!f) exit(1);
18152 fprintf(f, "%s",
18153 ZLIB_VERSION[0] == '1' &&
18154 (ZLIB_VERSION[2] > '1' ||
18155 (ZLIB_VERSION[2] == '1' &&
18156 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18157 exit(0);
18158 }
18159
18160_ACEOF
18161rm -f conftest$ac_exeext
18162if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18163 (eval $ac_link) 2>&5
18164 ac_status=$?
18165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18166 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18168 (eval $ac_try) 2>&5
18169 ac_status=$?
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); }; }; then
18172 ac_cv_header_zlib_h=`cat conftestval`
18173else
18174 echo "$as_me: program exited with status $ac_status" >&5
18175echo "$as_me: failed program was:" >&5
18176sed 's/^/| /' conftest.$ac_ext >&5
18177
18178( exit $ac_status )
18179ac_cv_header_zlib_h=no
18180fi
18181rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18182fi
18183
18184fi
18185echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18186echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18187 if test "${ac_cv_header_zlib_h+set}" = set; then
18188 echo "$as_me:$LINENO: checking for zlib.h" >&5
18189echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18190if test "${ac_cv_header_zlib_h+set}" = set; then
18191 echo $ECHO_N "(cached) $ECHO_C" >&6
18192fi
18193echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18194echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18195else
18196 # Is the header compilable?
18197echo "$as_me:$LINENO: checking zlib.h usability" >&5
18198echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18199cat >conftest.$ac_ext <<_ACEOF
18200#line $LINENO "configure"
18201/* confdefs.h. */
18202_ACEOF
18203cat confdefs.h >>conftest.$ac_ext
18204cat >>conftest.$ac_ext <<_ACEOF
18205/* end confdefs.h. */
18206$ac_includes_default
18207#include <zlib.h>
18208_ACEOF
18209rm -f conftest.$ac_objext
18210if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18211 (eval $ac_compile) 2>&5
18212 ac_status=$?
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); } &&
18215 { ac_try='test -s conftest.$ac_objext'
18216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18217 (eval $ac_try) 2>&5
18218 ac_status=$?
18219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); }; }; then
18221 ac_header_compiler=yes
18222else
18223 echo "$as_me: failed program was:" >&5
18224sed 's/^/| /' conftest.$ac_ext >&5
18225
18226ac_header_compiler=no
18227fi
18228rm -f conftest.$ac_objext conftest.$ac_ext
18229echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18230echo "${ECHO_T}$ac_header_compiler" >&6
18231
18232# Is the header present?
18233echo "$as_me:$LINENO: checking zlib.h presence" >&5
18234echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18235cat >conftest.$ac_ext <<_ACEOF
18236#line $LINENO "configure"
18237/* confdefs.h. */
18238_ACEOF
18239cat confdefs.h >>conftest.$ac_ext
18240cat >>conftest.$ac_ext <<_ACEOF
18241/* end confdefs.h. */
18242#include <zlib.h>
18243_ACEOF
18244if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18245 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18246 ac_status=$?
18247 grep -v '^ *+' conftest.er1 >conftest.err
18248 rm -f conftest.er1
18249 cat conftest.err >&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); } >/dev/null; then
18252 if test -s conftest.err; then
18253 ac_cpp_err=$ac_c_preproc_warn_flag
18254 else
18255 ac_cpp_err=
18256 fi
18257else
18258 ac_cpp_err=yes
18259fi
18260if test -z "$ac_cpp_err"; then
18261 ac_header_preproc=yes
18262else
18263 echo "$as_me: failed program was:" >&5
18264sed 's/^/| /' conftest.$ac_ext >&5
18265
18266 ac_header_preproc=no
18267fi
18268rm -f conftest.err conftest.$ac_ext
18269echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18270echo "${ECHO_T}$ac_header_preproc" >&6
18271
18272# So? What about this header?
18273case $ac_header_compiler:$ac_header_preproc in
18274 yes:no )
18275 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18276echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18277 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18278echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18279 (
18280 cat <<\_ASBOX
18281## ------------------------------------ ##
18282## Report this to bug-autoconf@gnu.org. ##
18283## ------------------------------------ ##
18284_ASBOX
18285 ) |
18286 sed "s/^/$as_me: WARNING: /" >&2
18287 ;;
18288 no:yes )
18289 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18290echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18291 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18292echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18293 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18294echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18295 (
18296 cat <<\_ASBOX
18297## ------------------------------------ ##
18298## Report this to bug-autoconf@gnu.org. ##
18299## ------------------------------------ ##
18300_ASBOX
18301 ) |
18302 sed "s/^/$as_me: WARNING: /" >&2
18303 ;;
18304esac
18305echo "$as_me:$LINENO: checking for zlib.h" >&5
18306echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18307if test "${ac_cv_header_zlib_h+set}" = set; then
18308 echo $ECHO_N "(cached) $ECHO_C" >&6
18309else
18310 ac_cv_header_zlib_h=$ac_header_preproc
18311fi
18312echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18313echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18314
18315fi
18316
18317
18318
18319 system_zlib_h_ok=$ac_cv_header_zlib_h
18320 fi
18321
18322 if test "$system_zlib_h_ok" = "yes"; then
18323 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18324echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18325if test "${ac_cv_lib_z_deflate+set}" = set; then
18326 echo $ECHO_N "(cached) $ECHO_C" >&6
18327else
18328 ac_check_lib_save_LIBS=$LIBS
18329LIBS="-lz $LIBS"
18330cat >conftest.$ac_ext <<_ACEOF
18331#line $LINENO "configure"
18332/* confdefs.h. */
18333_ACEOF
18334cat confdefs.h >>conftest.$ac_ext
18335cat >>conftest.$ac_ext <<_ACEOF
18336/* end confdefs.h. */
18337
18338/* Override any gcc2 internal prototype to avoid an error. */
18339#ifdef __cplusplus
18340extern "C"
18341#endif
18342/* We use char because int might match the return type of a gcc2
18343 builtin and then its argument prototype would still apply. */
18344char deflate ();
18345int
18346main ()
18347{
18348deflate ();
18349 ;
18350 return 0;
18351}
18352_ACEOF
18353rm -f conftest.$ac_objext conftest$ac_exeext
18354if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18355 (eval $ac_link) 2>&5
18356 ac_status=$?
18357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18358 (exit $ac_status); } &&
18359 { ac_try='test -s conftest$ac_exeext'
18360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18361 (eval $ac_try) 2>&5
18362 ac_status=$?
18363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364 (exit $ac_status); }; }; then
18365 ac_cv_lib_z_deflate=yes
18366else
18367 echo "$as_me: failed program was:" >&5
18368sed 's/^/| /' conftest.$ac_ext >&5
18369
18370ac_cv_lib_z_deflate=no
18371fi
18372rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18373LIBS=$ac_check_lib_save_LIBS
18374fi
18375echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18376echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18377if test $ac_cv_lib_z_deflate = yes; then
18378 ZLIB_LINK=" -lz"
18379fi
18380
18381 fi
18382
18383 if test "x$ZLIB_LINK" = "x" ; then
18384 if test "$wxUSE_ZLIB" = "sys" ; then
18385 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18386echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18387 { (exit 1); exit 1; }; }
18388 else
18389 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18390echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18391 wxUSE_ZLIB=builtin
18392 fi
18393 else
18394 wxUSE_ZLIB=sys
18395 fi
18396 fi
18397
18398 if test "$wxUSE_ZLIB" = "builtin" ; then
18399 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18400 fi
18401fi
18402
18403
18404PNG_INCLUDE=
18405PNG_LINK=
18406if test "$wxUSE_LIBPNG" != "no" ; then
18407 cat >>confdefs.h <<\_ACEOF
18408#define wxUSE_LIBPNG 1
18409_ACEOF
18410
18411
18412 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18413 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18414echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18415 wxUSE_LIBPNG=sys
18416 fi
18417
18418 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18419 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18420echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18421 wxUSE_LIBPNG=builtin
18422 fi
18423
18424 if test "$wxUSE_MGL" != 1 ; then
18425 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18426 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18427echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18428if test "${ac_cv_header_png_h+set}" = set; then
18429 echo $ECHO_N "(cached) $ECHO_C" >&6
18430else
18431 if test "$cross_compiling" = yes; then
18432 unset ac_cv_header_png_h
18433
18434else
18435 cat >conftest.$ac_ext <<_ACEOF
18436#line $LINENO "configure"
18437/* confdefs.h. */
18438_ACEOF
18439cat confdefs.h >>conftest.$ac_ext
18440cat >>conftest.$ac_ext <<_ACEOF
18441/* end confdefs.h. */
18442
18443 #include <png.h>
18444 #include <stdio.h>
18445
18446 int main()
18447 {
18448 FILE *f=fopen("conftestval", "w");
18449 if (!f) exit(1);
18450 fprintf(f, "%s",
18451 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18452 exit(0);
18453 }
18454
18455_ACEOF
18456rm -f conftest$ac_exeext
18457if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18458 (eval $ac_link) 2>&5
18459 ac_status=$?
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18463 (eval $ac_try) 2>&5
18464 ac_status=$?
18465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18466 (exit $ac_status); }; }; then
18467 ac_cv_header_png_h=`cat conftestval`
18468else
18469 echo "$as_me: program exited with status $ac_status" >&5
18470echo "$as_me: failed program was:" >&5
18471sed 's/^/| /' conftest.$ac_ext >&5
18472
18473( exit $ac_status )
18474ac_cv_header_png_h=no
18475fi
18476rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18477fi
18478
18479fi
18480echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18481echo "${ECHO_T}$ac_cv_header_png_h" >&6
18482 if test "${ac_cv_header_png_h+set}" = set; then
18483 echo "$as_me:$LINENO: checking for png.h" >&5
18484echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18485if test "${ac_cv_header_png_h+set}" = set; then
18486 echo $ECHO_N "(cached) $ECHO_C" >&6
18487fi
18488echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18489echo "${ECHO_T}$ac_cv_header_png_h" >&6
18490else
18491 # Is the header compilable?
18492echo "$as_me:$LINENO: checking png.h usability" >&5
18493echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18494cat >conftest.$ac_ext <<_ACEOF
18495#line $LINENO "configure"
18496/* confdefs.h. */
18497_ACEOF
18498cat confdefs.h >>conftest.$ac_ext
18499cat >>conftest.$ac_ext <<_ACEOF
18500/* end confdefs.h. */
18501$ac_includes_default
18502#include <png.h>
18503_ACEOF
18504rm -f conftest.$ac_objext
18505if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18506 (eval $ac_compile) 2>&5
18507 ac_status=$?
18508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18509 (exit $ac_status); } &&
18510 { ac_try='test -s conftest.$ac_objext'
18511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18512 (eval $ac_try) 2>&5
18513 ac_status=$?
18514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18515 (exit $ac_status); }; }; then
18516 ac_header_compiler=yes
18517else
18518 echo "$as_me: failed program was:" >&5
18519sed 's/^/| /' conftest.$ac_ext >&5
18520
18521ac_header_compiler=no
18522fi
18523rm -f conftest.$ac_objext conftest.$ac_ext
18524echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18525echo "${ECHO_T}$ac_header_compiler" >&6
18526
18527# Is the header present?
18528echo "$as_me:$LINENO: checking png.h presence" >&5
18529echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18530cat >conftest.$ac_ext <<_ACEOF
18531#line $LINENO "configure"
18532/* confdefs.h. */
18533_ACEOF
18534cat confdefs.h >>conftest.$ac_ext
18535cat >>conftest.$ac_ext <<_ACEOF
18536/* end confdefs.h. */
18537#include <png.h>
18538_ACEOF
18539if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18540 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18541 ac_status=$?
18542 grep -v '^ *+' conftest.er1 >conftest.err
18543 rm -f conftest.er1
18544 cat conftest.err >&5
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); } >/dev/null; then
18547 if test -s conftest.err; then
18548 ac_cpp_err=$ac_c_preproc_warn_flag
18549 else
18550 ac_cpp_err=
18551 fi
18552else
18553 ac_cpp_err=yes
18554fi
18555if test -z "$ac_cpp_err"; then
18556 ac_header_preproc=yes
18557else
18558 echo "$as_me: failed program was:" >&5
18559sed 's/^/| /' conftest.$ac_ext >&5
18560
18561 ac_header_preproc=no
18562fi
18563rm -f conftest.err conftest.$ac_ext
18564echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18565echo "${ECHO_T}$ac_header_preproc" >&6
18566
18567# So? What about this header?
18568case $ac_header_compiler:$ac_header_preproc in
18569 yes:no )
18570 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18571echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18572 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18573echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18574 (
18575 cat <<\_ASBOX
18576## ------------------------------------ ##
18577## Report this to bug-autoconf@gnu.org. ##
18578## ------------------------------------ ##
18579_ASBOX
18580 ) |
18581 sed "s/^/$as_me: WARNING: /" >&2
18582 ;;
18583 no:yes )
18584 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18585echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18586 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18587echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18588 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18589echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18590 (
18591 cat <<\_ASBOX
18592## ------------------------------------ ##
18593## Report this to bug-autoconf@gnu.org. ##
18594## ------------------------------------ ##
18595_ASBOX
18596 ) |
18597 sed "s/^/$as_me: WARNING: /" >&2
18598 ;;
18599esac
18600echo "$as_me:$LINENO: checking for png.h" >&5
18601echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18602if test "${ac_cv_header_png_h+set}" = set; then
18603 echo $ECHO_N "(cached) $ECHO_C" >&6
18604else
18605 ac_cv_header_png_h=$ac_header_preproc
18606fi
18607echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18608echo "${ECHO_T}$ac_cv_header_png_h" >&6
18609
18610fi
18611
18612
18613
18614 if test "$ac_cv_header_png_h" = "yes"; then
18615 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18616echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18617if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18618 echo $ECHO_N "(cached) $ECHO_C" >&6
18619else
18620 ac_check_lib_save_LIBS=$LIBS
18621LIBS="-lpng -lz -lm $LIBS"
18622cat >conftest.$ac_ext <<_ACEOF
18623#line $LINENO "configure"
18624/* confdefs.h. */
18625_ACEOF
18626cat confdefs.h >>conftest.$ac_ext
18627cat >>conftest.$ac_ext <<_ACEOF
18628/* end confdefs.h. */
18629
18630/* Override any gcc2 internal prototype to avoid an error. */
18631#ifdef __cplusplus
18632extern "C"
18633#endif
18634/* We use char because int might match the return type of a gcc2
18635 builtin and then its argument prototype would still apply. */
18636char png_check_sig ();
18637int
18638main ()
18639{
18640png_check_sig ();
18641 ;
18642 return 0;
18643}
18644_ACEOF
18645rm -f conftest.$ac_objext conftest$ac_exeext
18646if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18647 (eval $ac_link) 2>&5
18648 ac_status=$?
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); } &&
18651 { ac_try='test -s conftest$ac_exeext'
18652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18653 (eval $ac_try) 2>&5
18654 ac_status=$?
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); }; }; then
18657 ac_cv_lib_png_png_check_sig=yes
18658else
18659 echo "$as_me: failed program was:" >&5
18660sed 's/^/| /' conftest.$ac_ext >&5
18661
18662ac_cv_lib_png_png_check_sig=no
18663fi
18664rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18665LIBS=$ac_check_lib_save_LIBS
18666fi
18667echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18668echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18669if test $ac_cv_lib_png_png_check_sig = yes; then
18670 PNG_LINK=" -lpng"
18671fi
18672
18673 fi
18674
18675 if test "x$PNG_LINK" = "x" ; then
18676 if test "$wxUSE_LIBPNG" = "sys" ; then
18677 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18678echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18679 { (exit 1); exit 1; }; }
18680 else
18681 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18682echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18683 wxUSE_LIBPNG=builtin
18684 fi
18685 else
18686 wxUSE_LIBPNG=sys
18687 fi
18688 fi
18689 fi
18690
18691 if test "$wxUSE_LIBPNG" = "builtin" ; then
18692 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18693 fi
18694
18695 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18696fi
18697
18698
18699JPEG_INCLUDE=
18700JPEG_LINK=
18701if test "$wxUSE_LIBJPEG" != "no" ; then
18702 cat >>confdefs.h <<\_ACEOF
18703#define wxUSE_LIBJPEG 1
18704_ACEOF
18705
18706
18707 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18708 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18709echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18710 wxUSE_LIBJPEG=sys
18711 fi
18712
18713 if test "$wxUSE_MGL" != 1 ; then
18714 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18715 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18716echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18717 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18718 echo $ECHO_N "(cached) $ECHO_C" >&6
18719else
18720 cat >conftest.$ac_ext <<_ACEOF
18721#line $LINENO "configure"
18722/* confdefs.h. */
18723_ACEOF
18724cat confdefs.h >>conftest.$ac_ext
18725cat >>conftest.$ac_ext <<_ACEOF
18726/* end confdefs.h. */
18727
18728 #undef HAVE_STDLIB_H
18729 #include <stdio.h>
18730 #include <jpeglib.h>
18731
18732int
18733main ()
18734{
18735
18736
18737 ;
18738 return 0;
18739}
18740_ACEOF
18741rm -f conftest.$ac_objext
18742if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18743 (eval $ac_compile) 2>&5
18744 ac_status=$?
18745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746 (exit $ac_status); } &&
18747 { ac_try='test -s conftest.$ac_objext'
18748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18749 (eval $ac_try) 2>&5
18750 ac_status=$?
18751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18752 (exit $ac_status); }; }; then
18753 ac_cv_header_jpeglib_h=yes
18754else
18755 echo "$as_me: failed program was:" >&5
18756sed 's/^/| /' conftest.$ac_ext >&5
18757
18758ac_cv_header_jpeglib_h=no
18759
18760fi
18761rm -f conftest.$ac_objext conftest.$ac_ext
18762
18763fi
18764
18765 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18766echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18767
18768 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18769 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18770echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18771if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18772 echo $ECHO_N "(cached) $ECHO_C" >&6
18773else
18774 ac_check_lib_save_LIBS=$LIBS
18775LIBS="-ljpeg $LIBS"
18776cat >conftest.$ac_ext <<_ACEOF
18777#line $LINENO "configure"
18778/* confdefs.h. */
18779_ACEOF
18780cat confdefs.h >>conftest.$ac_ext
18781cat >>conftest.$ac_ext <<_ACEOF
18782/* end confdefs.h. */
18783
18784/* Override any gcc2 internal prototype to avoid an error. */
18785#ifdef __cplusplus
18786extern "C"
18787#endif
18788/* We use char because int might match the return type of a gcc2
18789 builtin and then its argument prototype would still apply. */
18790char jpeg_read_header ();
18791int
18792main ()
18793{
18794jpeg_read_header ();
18795 ;
18796 return 0;
18797}
18798_ACEOF
18799rm -f conftest.$ac_objext conftest$ac_exeext
18800if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18801 (eval $ac_link) 2>&5
18802 ac_status=$?
18803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18804 (exit $ac_status); } &&
18805 { ac_try='test -s conftest$ac_exeext'
18806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18807 (eval $ac_try) 2>&5
18808 ac_status=$?
18809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18810 (exit $ac_status); }; }; then
18811 ac_cv_lib_jpeg_jpeg_read_header=yes
18812else
18813 echo "$as_me: failed program was:" >&5
18814sed 's/^/| /' conftest.$ac_ext >&5
18815
18816ac_cv_lib_jpeg_jpeg_read_header=no
18817fi
18818rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18819LIBS=$ac_check_lib_save_LIBS
18820fi
18821echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18822echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18823if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18824 JPEG_LINK=" -ljpeg"
18825fi
18826
18827 fi
18828
18829 if test "x$JPEG_LINK" = "x" ; then
18830 if test "$wxUSE_LIBJPEG" = "sys" ; then
18831 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18832echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18833 { (exit 1); exit 1; }; }
18834 else
18835 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18836echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18837 wxUSE_LIBJPEG=builtin
18838 fi
18839 else
18840 wxUSE_LIBJPEG=sys
18841 fi
18842 fi
18843 fi
18844
18845 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18846 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
18847 fi
18848fi
18849
18850
18851TIFF_INCLUDE=
18852TIFF_LINK=
18853TIFF_PREREQ_LINKS=-lm
18854if test "$wxUSE_LIBTIFF" != "no" ; then
18855 cat >>confdefs.h <<\_ACEOF
18856#define wxUSE_LIBTIFF 1
18857_ACEOF
18858
18859
18860 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18861 if test "$wxUSE_LIBJPEG" = "sys"; then
18862 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
18863 fi
18864 if test "$wxUSE_ZLIB" = "sys"; then
18865 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18866 fi
18867 if test "${ac_cv_header_tiffio_h+set}" = set; then
18868 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18869echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18870if test "${ac_cv_header_tiffio_h+set}" = set; then
18871 echo $ECHO_N "(cached) $ECHO_C" >&6
18872fi
18873echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18874echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18875else
18876 # Is the header compilable?
18877echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18878echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18879cat >conftest.$ac_ext <<_ACEOF
18880#line $LINENO "configure"
18881/* confdefs.h. */
18882_ACEOF
18883cat confdefs.h >>conftest.$ac_ext
18884cat >>conftest.$ac_ext <<_ACEOF
18885/* end confdefs.h. */
18886$ac_includes_default
18887#include <tiffio.h>
18888_ACEOF
18889rm -f conftest.$ac_objext
18890if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18891 (eval $ac_compile) 2>&5
18892 ac_status=$?
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); } &&
18895 { ac_try='test -s conftest.$ac_objext'
18896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18897 (eval $ac_try) 2>&5
18898 ac_status=$?
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); }; }; then
18901 ac_header_compiler=yes
18902else
18903 echo "$as_me: failed program was:" >&5
18904sed 's/^/| /' conftest.$ac_ext >&5
18905
18906ac_header_compiler=no
18907fi
18908rm -f conftest.$ac_objext conftest.$ac_ext
18909echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18910echo "${ECHO_T}$ac_header_compiler" >&6
18911
18912# Is the header present?
18913echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18914echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18915cat >conftest.$ac_ext <<_ACEOF
18916#line $LINENO "configure"
18917/* confdefs.h. */
18918_ACEOF
18919cat confdefs.h >>conftest.$ac_ext
18920cat >>conftest.$ac_ext <<_ACEOF
18921/* end confdefs.h. */
18922#include <tiffio.h>
18923_ACEOF
18924if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18925 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18926 ac_status=$?
18927 grep -v '^ *+' conftest.er1 >conftest.err
18928 rm -f conftest.er1
18929 cat conftest.err >&5
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); } >/dev/null; then
18932 if test -s conftest.err; then
18933 ac_cpp_err=$ac_c_preproc_warn_flag
18934 else
18935 ac_cpp_err=
18936 fi
18937else
18938 ac_cpp_err=yes
18939fi
18940if test -z "$ac_cpp_err"; then
18941 ac_header_preproc=yes
18942else
18943 echo "$as_me: failed program was:" >&5
18944sed 's/^/| /' conftest.$ac_ext >&5
18945
18946 ac_header_preproc=no
18947fi
18948rm -f conftest.err conftest.$ac_ext
18949echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18950echo "${ECHO_T}$ac_header_preproc" >&6
18951
18952# So? What about this header?
18953case $ac_header_compiler:$ac_header_preproc in
18954 yes:no )
18955 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18956echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18957 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18958echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18959 (
18960 cat <<\_ASBOX
18961## ------------------------------------ ##
18962## Report this to bug-autoconf@gnu.org. ##
18963## ------------------------------------ ##
18964_ASBOX
18965 ) |
18966 sed "s/^/$as_me: WARNING: /" >&2
18967 ;;
18968 no:yes )
18969 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18970echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18971 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18972echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
18973 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18974echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18975 (
18976 cat <<\_ASBOX
18977## ------------------------------------ ##
18978## Report this to bug-autoconf@gnu.org. ##
18979## ------------------------------------ ##
18980_ASBOX
18981 ) |
18982 sed "s/^/$as_me: WARNING: /" >&2
18983 ;;
18984esac
18985echo "$as_me:$LINENO: checking for tiffio.h" >&5
18986echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18987if test "${ac_cv_header_tiffio_h+set}" = set; then
18988 echo $ECHO_N "(cached) $ECHO_C" >&6
18989else
18990 ac_cv_header_tiffio_h=$ac_header_preproc
18991fi
18992echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18993echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18994
18995fi
18996if test $ac_cv_header_tiffio_h = yes; then
18997
18998 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
18999echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19000if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19001 echo $ECHO_N "(cached) $ECHO_C" >&6
19002else
19003 ac_check_lib_save_LIBS=$LIBS
19004LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19005cat >conftest.$ac_ext <<_ACEOF
19006#line $LINENO "configure"
19007/* confdefs.h. */
19008_ACEOF
19009cat confdefs.h >>conftest.$ac_ext
19010cat >>conftest.$ac_ext <<_ACEOF
19011/* end confdefs.h. */
19012
19013/* Override any gcc2 internal prototype to avoid an error. */
19014#ifdef __cplusplus
19015extern "C"
19016#endif
19017/* We use char because int might match the return type of a gcc2
19018 builtin and then its argument prototype would still apply. */
19019char TIFFError ();
19020int
19021main ()
19022{
19023TIFFError ();
19024 ;
19025 return 0;
19026}
19027_ACEOF
19028rm -f conftest.$ac_objext conftest$ac_exeext
19029if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19030 (eval $ac_link) 2>&5
19031 ac_status=$?
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); } &&
19034 { ac_try='test -s conftest$ac_exeext'
19035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19036 (eval $ac_try) 2>&5
19037 ac_status=$?
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); }; }; then
19040 ac_cv_lib_tiff_TIFFError=yes
19041else
19042 echo "$as_me: failed program was:" >&5
19043sed 's/^/| /' conftest.$ac_ext >&5
19044
19045ac_cv_lib_tiff_TIFFError=no
19046fi
19047rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19048LIBS=$ac_check_lib_save_LIBS
19049fi
19050echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19051echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19052if test $ac_cv_lib_tiff_TIFFError = yes; then
19053 TIFF_LINK=" -ltiff"
19054fi
19055
19056
19057
19058fi
19059
19060
19061
19062 if test "x$TIFF_LINK" = "x" ; then
19063 if test "$wxUSE_LIBTIFF" = "sys" ; then
19064 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19065echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19066 { (exit 1); exit 1; }; }
19067 else
19068 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19069echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19070 wxUSE_LIBTIFF=builtin
19071 fi
19072 else
19073 wxUSE_LIBTIFF=sys
19074 fi
19075 fi
19076
19077 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19078 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19079 fi
19080fi
19081
19082
19083if test "$wxUSE_EXPAT" != "no"; then
19084 wxUSE_XML=yes
19085 cat >>confdefs.h <<\_ACEOF
19086#define wxUSE_EXPAT 1
19087_ACEOF
19088
19089 cat >>confdefs.h <<\_ACEOF
19090#define wxUSE_XML 1
19091_ACEOF
19092
19093
19094 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19095 if test "${ac_cv_header_expat_h+set}" = set; then
19096 echo "$as_me:$LINENO: checking for expat.h" >&5
19097echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19098if test "${ac_cv_header_expat_h+set}" = set; then
19099 echo $ECHO_N "(cached) $ECHO_C" >&6
19100fi
19101echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19102echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19103else
19104 # Is the header compilable?
19105echo "$as_me:$LINENO: checking expat.h usability" >&5
19106echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19107cat >conftest.$ac_ext <<_ACEOF
19108#line $LINENO "configure"
19109/* confdefs.h. */
19110_ACEOF
19111cat confdefs.h >>conftest.$ac_ext
19112cat >>conftest.$ac_ext <<_ACEOF
19113/* end confdefs.h. */
19114$ac_includes_default
19115#include <expat.h>
19116_ACEOF
19117rm -f conftest.$ac_objext
19118if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19119 (eval $ac_compile) 2>&5
19120 ac_status=$?
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); } &&
19123 { ac_try='test -s conftest.$ac_objext'
19124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19125 (eval $ac_try) 2>&5
19126 ac_status=$?
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); }; }; then
19129 ac_header_compiler=yes
19130else
19131 echo "$as_me: failed program was:" >&5
19132sed 's/^/| /' conftest.$ac_ext >&5
19133
19134ac_header_compiler=no
19135fi
19136rm -f conftest.$ac_objext conftest.$ac_ext
19137echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19138echo "${ECHO_T}$ac_header_compiler" >&6
19139
19140# Is the header present?
19141echo "$as_me:$LINENO: checking expat.h presence" >&5
19142echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19143cat >conftest.$ac_ext <<_ACEOF
19144#line $LINENO "configure"
19145/* confdefs.h. */
19146_ACEOF
19147cat confdefs.h >>conftest.$ac_ext
19148cat >>conftest.$ac_ext <<_ACEOF
19149/* end confdefs.h. */
19150#include <expat.h>
19151_ACEOF
19152if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19153 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19154 ac_status=$?
19155 grep -v '^ *+' conftest.er1 >conftest.err
19156 rm -f conftest.er1
19157 cat conftest.err >&5
19158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19159 (exit $ac_status); } >/dev/null; then
19160 if test -s conftest.err; then
19161 ac_cpp_err=$ac_c_preproc_warn_flag
19162 else
19163 ac_cpp_err=
19164 fi
19165else
19166 ac_cpp_err=yes
19167fi
19168if test -z "$ac_cpp_err"; then
19169 ac_header_preproc=yes
19170else
19171 echo "$as_me: failed program was:" >&5
19172sed 's/^/| /' conftest.$ac_ext >&5
19173
19174 ac_header_preproc=no
19175fi
19176rm -f conftest.err conftest.$ac_ext
19177echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19178echo "${ECHO_T}$ac_header_preproc" >&6
19179
19180# So? What about this header?
19181case $ac_header_compiler:$ac_header_preproc in
19182 yes:no )
19183 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19184echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19185 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19186echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19187 (
19188 cat <<\_ASBOX
19189## ------------------------------------ ##
19190## Report this to bug-autoconf@gnu.org. ##
19191## ------------------------------------ ##
19192_ASBOX
19193 ) |
19194 sed "s/^/$as_me: WARNING: /" >&2
19195 ;;
19196 no:yes )
19197 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19198echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19199 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19200echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19201 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19202echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19203 (
19204 cat <<\_ASBOX
19205## ------------------------------------ ##
19206## Report this to bug-autoconf@gnu.org. ##
19207## ------------------------------------ ##
19208_ASBOX
19209 ) |
19210 sed "s/^/$as_me: WARNING: /" >&2
19211 ;;
19212esac
19213echo "$as_me:$LINENO: checking for expat.h" >&5
19214echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19215if test "${ac_cv_header_expat_h+set}" = set; then
19216 echo $ECHO_N "(cached) $ECHO_C" >&6
19217else
19218 ac_cv_header_expat_h=$ac_header_preproc
19219fi
19220echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19221echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19222
19223fi
19224if test $ac_cv_header_expat_h = yes; then
19225 found_expat_h=1
19226fi
19227
19228
19229 if test "x$found_expat_h" = "x1"; then
19230 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19231echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19232if test "${wx_cv_expat_is_not_broken+set}" = set; then
19233 echo $ECHO_N "(cached) $ECHO_C" >&6
19234else
19235
19236
19237
19238 ac_ext=cc
19239ac_cpp='$CXXCPP $CPPFLAGS'
19240ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19241ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19242ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19243
19244 cat >conftest.$ac_ext <<_ACEOF
19245#line $LINENO "configure"
19246/* confdefs.h. */
19247_ACEOF
19248cat confdefs.h >>conftest.$ac_ext
19249cat >>conftest.$ac_ext <<_ACEOF
19250/* end confdefs.h. */
19251#include <expat.h>
19252int
19253main ()
19254{
19255
19256 ;
19257 return 0;
19258}
19259_ACEOF
19260rm -f conftest.$ac_objext
19261if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19262 (eval $ac_compile) 2>&5
19263 ac_status=$?
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); } &&
19266 { ac_try='test -s conftest.$ac_objext'
19267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19268 (eval $ac_try) 2>&5
19269 ac_status=$?
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); }; }; then
19272 wx_cv_expat_is_not_broken=yes
19273else
19274 echo "$as_me: failed program was:" >&5
19275sed 's/^/| /' conftest.$ac_ext >&5
19276
19277wx_cv_expat_is_not_broken=no
19278
19279fi
19280rm -f conftest.$ac_objext conftest.$ac_ext
19281 ac_ext=c
19282ac_cpp='$CPP $CPPFLAGS'
19283ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19284ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19285ac_compiler_gnu=$ac_cv_c_compiler_gnu
19286
19287
19288
19289fi
19290echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19291echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19292 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19293 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19294echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19295if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19296 echo $ECHO_N "(cached) $ECHO_C" >&6
19297else
19298 ac_check_lib_save_LIBS=$LIBS
19299LIBS="-lexpat $LIBS"
19300cat >conftest.$ac_ext <<_ACEOF
19301#line $LINENO "configure"
19302/* confdefs.h. */
19303_ACEOF
19304cat confdefs.h >>conftest.$ac_ext
19305cat >>conftest.$ac_ext <<_ACEOF
19306/* end confdefs.h. */
19307
19308/* Override any gcc2 internal prototype to avoid an error. */
19309#ifdef __cplusplus
19310extern "C"
19311#endif
19312/* We use char because int might match the return type of a gcc2
19313 builtin and then its argument prototype would still apply. */
19314char XML_ParserCreate ();
19315int
19316main ()
19317{
19318XML_ParserCreate ();
19319 ;
19320 return 0;
19321}
19322_ACEOF
19323rm -f conftest.$ac_objext conftest$ac_exeext
19324if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19325 (eval $ac_link) 2>&5
19326 ac_status=$?
19327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328 (exit $ac_status); } &&
19329 { ac_try='test -s conftest$ac_exeext'
19330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19331 (eval $ac_try) 2>&5
19332 ac_status=$?
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); }; }; then
19335 ac_cv_lib_expat_XML_ParserCreate=yes
19336else
19337 echo "$as_me: failed program was:" >&5
19338sed 's/^/| /' conftest.$ac_ext >&5
19339
19340ac_cv_lib_expat_XML_ParserCreate=no
19341fi
19342rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19343LIBS=$ac_check_lib_save_LIBS
19344fi
19345echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19346echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19347if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19348 EXPAT_LINK=" -lexpat"
19349fi
19350
19351 fi
19352 fi
19353 if test "x$EXPAT_LINK" = "x" ; then
19354 if test "$wxUSE_EXPAT" = "sys" ; then
19355 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19356echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19357 { (exit 1); exit 1; }; }
19358 else
19359 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19360echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19361 wxUSE_EXPAT=builtin
19362 fi
19363 else
19364 wxUSE_EXPAT=sys
19365 fi
19366 fi
19367 if test "$wxUSE_EXPAT" = "builtin" ; then
19368
19369
19370subdirs="$subdirs src/expat"
19371
19372 fi
19373fi
19374
19375
19376
19377AFMINSTALL=
19378WIN32INSTALL=
19379
19380TOOLKIT=
19381TOOLKIT_INCLUDE=
19382WIDGET_SET=
19383
19384if test "$USE_WIN32" = 1 ; then
19385
19386for ac_header in w32api.h
19387do
19388as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19389if eval "test \"\${$as_ac_Header+set}\" = set"; then
19390 echo "$as_me:$LINENO: checking for $ac_header" >&5
19391echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19392if eval "test \"\${$as_ac_Header+set}\" = set"; then
19393 echo $ECHO_N "(cached) $ECHO_C" >&6
19394fi
19395echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19396echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19397else
19398 # Is the header compilable?
19399echo "$as_me:$LINENO: checking $ac_header usability" >&5
19400echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19401cat >conftest.$ac_ext <<_ACEOF
19402#line $LINENO "configure"
19403/* confdefs.h. */
19404_ACEOF
19405cat confdefs.h >>conftest.$ac_ext
19406cat >>conftest.$ac_ext <<_ACEOF
19407/* end confdefs.h. */
19408$ac_includes_default
19409#include <$ac_header>
19410_ACEOF
19411rm -f conftest.$ac_objext
19412if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19413 (eval $ac_compile) 2>&5
19414 ac_status=$?
19415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19416 (exit $ac_status); } &&
19417 { ac_try='test -s conftest.$ac_objext'
19418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19419 (eval $ac_try) 2>&5
19420 ac_status=$?
19421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19422 (exit $ac_status); }; }; then
19423 ac_header_compiler=yes
19424else
19425 echo "$as_me: failed program was:" >&5
19426sed 's/^/| /' conftest.$ac_ext >&5
19427
19428ac_header_compiler=no
19429fi
19430rm -f conftest.$ac_objext conftest.$ac_ext
19431echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19432echo "${ECHO_T}$ac_header_compiler" >&6
19433
19434# Is the header present?
19435echo "$as_me:$LINENO: checking $ac_header presence" >&5
19436echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19437cat >conftest.$ac_ext <<_ACEOF
19438#line $LINENO "configure"
19439/* confdefs.h. */
19440_ACEOF
19441cat confdefs.h >>conftest.$ac_ext
19442cat >>conftest.$ac_ext <<_ACEOF
19443/* end confdefs.h. */
19444#include <$ac_header>
19445_ACEOF
19446if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19447 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19448 ac_status=$?
19449 grep -v '^ *+' conftest.er1 >conftest.err
19450 rm -f conftest.er1
19451 cat conftest.err >&5
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); } >/dev/null; then
19454 if test -s conftest.err; then
19455 ac_cpp_err=$ac_c_preproc_warn_flag
19456 else
19457 ac_cpp_err=
19458 fi
19459else
19460 ac_cpp_err=yes
19461fi
19462if test -z "$ac_cpp_err"; then
19463 ac_header_preproc=yes
19464else
19465 echo "$as_me: failed program was:" >&5
19466sed 's/^/| /' conftest.$ac_ext >&5
19467
19468 ac_header_preproc=no
19469fi
19470rm -f conftest.err conftest.$ac_ext
19471echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19472echo "${ECHO_T}$ac_header_preproc" >&6
19473
19474# So? What about this header?
19475case $ac_header_compiler:$ac_header_preproc in
19476 yes:no )
19477 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19478echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19480echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19481 (
19482 cat <<\_ASBOX
19483## ------------------------------------ ##
19484## Report this to bug-autoconf@gnu.org. ##
19485## ------------------------------------ ##
19486_ASBOX
19487 ) |
19488 sed "s/^/$as_me: WARNING: /" >&2
19489 ;;
19490 no:yes )
19491 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19492echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19493 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19494echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19496echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19497 (
19498 cat <<\_ASBOX
19499## ------------------------------------ ##
19500## Report this to bug-autoconf@gnu.org. ##
19501## ------------------------------------ ##
19502_ASBOX
19503 ) |
19504 sed "s/^/$as_me: WARNING: /" >&2
19505 ;;
19506esac
19507echo "$as_me:$LINENO: checking for $ac_header" >&5
19508echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19509if eval "test \"\${$as_ac_Header+set}\" = set"; then
19510 echo $ECHO_N "(cached) $ECHO_C" >&6
19511else
19512 eval "$as_ac_Header=$ac_header_preproc"
19513fi
19514echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19515echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19516
19517fi
19518if test `eval echo '${'$as_ac_Header'}'` = yes; then
19519 cat >>confdefs.h <<_ACEOF
19520#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19521_ACEOF
19522
19523fi
19524
19525done
19526
19527 if test "${ac_cv_header_windows_h+set}" = set; then
19528 echo "$as_me:$LINENO: checking for windows.h" >&5
19529echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19530if test "${ac_cv_header_windows_h+set}" = set; then
19531 echo $ECHO_N "(cached) $ECHO_C" >&6
19532fi
19533echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19534echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19535else
19536 # Is the header compilable?
19537echo "$as_me:$LINENO: checking windows.h usability" >&5
19538echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19539cat >conftest.$ac_ext <<_ACEOF
19540#line $LINENO "configure"
19541/* confdefs.h. */
19542_ACEOF
19543cat confdefs.h >>conftest.$ac_ext
19544cat >>conftest.$ac_ext <<_ACEOF
19545/* end confdefs.h. */
19546$ac_includes_default
19547#include <windows.h>
19548_ACEOF
19549rm -f conftest.$ac_objext
19550if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19551 (eval $ac_compile) 2>&5
19552 ac_status=$?
19553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554 (exit $ac_status); } &&
19555 { ac_try='test -s conftest.$ac_objext'
19556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19557 (eval $ac_try) 2>&5
19558 ac_status=$?
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); }; }; then
19561 ac_header_compiler=yes
19562else
19563 echo "$as_me: failed program was:" >&5
19564sed 's/^/| /' conftest.$ac_ext >&5
19565
19566ac_header_compiler=no
19567fi
19568rm -f conftest.$ac_objext conftest.$ac_ext
19569echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19570echo "${ECHO_T}$ac_header_compiler" >&6
19571
19572# Is the header present?
19573echo "$as_me:$LINENO: checking windows.h presence" >&5
19574echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19575cat >conftest.$ac_ext <<_ACEOF
19576#line $LINENO "configure"
19577/* confdefs.h. */
19578_ACEOF
19579cat confdefs.h >>conftest.$ac_ext
19580cat >>conftest.$ac_ext <<_ACEOF
19581/* end confdefs.h. */
19582#include <windows.h>
19583_ACEOF
19584if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19585 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19586 ac_status=$?
19587 grep -v '^ *+' conftest.er1 >conftest.err
19588 rm -f conftest.er1
19589 cat conftest.err >&5
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); } >/dev/null; then
19592 if test -s conftest.err; then
19593 ac_cpp_err=$ac_c_preproc_warn_flag
19594 else
19595 ac_cpp_err=
19596 fi
19597else
19598 ac_cpp_err=yes
19599fi
19600if test -z "$ac_cpp_err"; then
19601 ac_header_preproc=yes
19602else
19603 echo "$as_me: failed program was:" >&5
19604sed 's/^/| /' conftest.$ac_ext >&5
19605
19606 ac_header_preproc=no
19607fi
19608rm -f conftest.err conftest.$ac_ext
19609echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19610echo "${ECHO_T}$ac_header_preproc" >&6
19611
19612# So? What about this header?
19613case $ac_header_compiler:$ac_header_preproc in
19614 yes:no )
19615 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19616echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19617 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19618echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19619 (
19620 cat <<\_ASBOX
19621## ------------------------------------ ##
19622## Report this to bug-autoconf@gnu.org. ##
19623## ------------------------------------ ##
19624_ASBOX
19625 ) |
19626 sed "s/^/$as_me: WARNING: /" >&2
19627 ;;
19628 no:yes )
19629 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19630echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19631 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19632echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19633 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19634echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19635 (
19636 cat <<\_ASBOX
19637## ------------------------------------ ##
19638## Report this to bug-autoconf@gnu.org. ##
19639## ------------------------------------ ##
19640_ASBOX
19641 ) |
19642 sed "s/^/$as_me: WARNING: /" >&2
19643 ;;
19644esac
19645echo "$as_me:$LINENO: checking for windows.h" >&5
19646echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19647if test "${ac_cv_header_windows_h+set}" = set; then
19648 echo $ECHO_N "(cached) $ECHO_C" >&6
19649else
19650 ac_cv_header_windows_h=$ac_header_preproc
19651fi
19652echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19653echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19654
19655fi
19656if test $ac_cv_header_windows_h = yes; then
19657 :
19658else
19659
19660 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19661echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19662 { (exit 1); exit 1; }; }
19663
19664fi
19665
19666
19667
19668 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19669
19670 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19671 LIBS="$LIBS -loleacc"
19672 fi
19673
19674 case "${host}" in
19675 *-*-cygwin* )
19676 LIBS="$LIBS -lkernel32 -luser32"
19677 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
19678 esac
19679
19680 if test "$wxUSE_ODBC" = "sys" ; then
19681 wxUSE_ODBC = "yes"
19682 fi
19683 if test "$wxUSE_ODBC" = "yes" ; then
19684 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
19685 cat >>confdefs.h <<\_ACEOF
19686#define wxUSE_ODBC 1
19687_ACEOF
19688
19689 fi
19690
19691 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19692 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
19693
19694 WIN32INSTALL=win32install
19695fi
19696
19697if test "$wxUSE_GUI" = "yes"; then
19698 USE_GUI=1
19699
19700 GUI_TK_LIBRARY=
19701
19702 WXGTK12=
19703 WXGTK127=
19704 WXGTK20=
19705
19706 if test "$wxUSE_MSW" = 1 ; then
19707 TOOLKIT=MSW
19708 GUIDIST=MSW_DIST
19709
19710 case "${host}" in
19711 *-*-mingw32* )
19712 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
19713 esac
19714 fi
19715
19716 if test "$wxUSE_GTK" = 1; then
19717 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19718echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19719
19720 gtk_version_cached=1
19721 if test "${wx_cv_lib_gtk+set}" = set; then
19722 echo $ECHO_N "(cached) $ECHO_C" >&6
19723else
19724
19725 gtk_version_cached=0
19726 echo "$as_me:$LINENO: result: " >&5
19727echo "${ECHO_T}" >&6
19728
19729 GTK_MODULES=
19730 if test "$wxUSE_THREADS" = "yes"; then
19731 GTK_MODULES=gthread
19732 fi
19733
19734 wx_cv_lib_gtk=
19735 if test "x$wxUSE_GTK2" = "xyes"; then
19736 # Check whether --enable-gtktest or --disable-gtktest was given.
19737if test "${enable_gtktest+set}" = set; then
19738 enableval="$enable_gtktest"
19739
19740else
19741 enable_gtktest=yes
19742fi;
19743
19744 pkg_config_args=gtk+-2.0
19745 for module in . $GTK_MODULES
19746 do
19747 case "$module" in
19748 gthread)
19749 pkg_config_args="$pkg_config_args gthread-2.0"
19750 ;;
19751 esac
19752 done
19753
19754 no_gtk=""
19755
19756 # Extract the first word of "pkg-config", so it can be a program name with args.
19757set dummy pkg-config; ac_word=$2
19758echo "$as_me:$LINENO: checking for $ac_word" >&5
19759echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19760if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19761 echo $ECHO_N "(cached) $ECHO_C" >&6
19762else
19763 case $PKG_CONFIG in
19764 [\\/]* | ?:[\\/]*)
19765 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19766 ;;
19767 *)
19768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19769for as_dir in $PATH
19770do
19771 IFS=$as_save_IFS
19772 test -z "$as_dir" && as_dir=.
19773 for ac_exec_ext in '' $ac_executable_extensions; do
19774 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19775 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19777 break 2
19778 fi
19779done
19780done
19781
19782 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19783 ;;
19784esac
19785fi
19786PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19787
19788if test -n "$PKG_CONFIG"; then
19789 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19790echo "${ECHO_T}$PKG_CONFIG" >&6
19791else
19792 echo "$as_me:$LINENO: result: no" >&5
19793echo "${ECHO_T}no" >&6
19794fi
19795
19796
19797 if test x$PKG_CONFIG != xno ; then
19798 if pkg-config --atleast-pkgconfig-version 0.7 ; then
19799 :
19800 else
19801 echo *** pkg-config too old; version 0.7 or better required.
19802 no_gtk=yes
19803 PKG_CONFIG=no
19804 fi
19805 else
19806 no_gtk=yes
19807 fi
19808
19809 min_gtk_version=2.0.0
19810 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19811echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19812
19813 if test x$PKG_CONFIG != xno ; then
19814 ## don't try to run the test against uninstalled libtool libs
19815 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19816 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19817 enable_gtktest=no
19818 fi
19819
19820 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19821 :
19822 else
19823 no_gtk=yes
19824 fi
19825 fi
19826
19827 if test x"$no_gtk" = x ; then
19828 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
19829 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
19830 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19831 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19832 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19833 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19834 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19835 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19836 if test "x$enable_gtktest" = "xyes" ; then
19837 ac_save_CFLAGS="$CFLAGS"
19838 ac_save_LIBS="$LIBS"
19839 CFLAGS="$CFLAGS $GTK_CFLAGS"
19840 LIBS="$GTK_LIBS $LIBS"
19841 rm -f conf.gtktest
19842 if test "$cross_compiling" = yes; then
19843 echo $ac_n "cross compiling; assumed OK... $ac_c"
19844else
19845 cat >conftest.$ac_ext <<_ACEOF
19846#line $LINENO "configure"
19847/* confdefs.h. */
19848_ACEOF
19849cat confdefs.h >>conftest.$ac_ext
19850cat >>conftest.$ac_ext <<_ACEOF
19851/* end confdefs.h. */
19852
19853#include <gtk/gtk.h>
19854#include <stdio.h>
19855#include <stdlib.h>
19856
19857int
19858main ()
19859{
19860 int major, minor, micro;
19861 char *tmp_version;
19862
19863 system ("touch conf.gtktest");
19864
19865 /* HP/UX 9 (%@#!) writes to sscanf strings */
19866 tmp_version = g_strdup("$min_gtk_version");
19867 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
19868 printf("%s, bad version string\n", "$min_gtk_version");
19869 exit(1);
19870 }
19871
19872 if ((gtk_major_version != $gtk_config_major_version) ||
19873 (gtk_minor_version != $gtk_config_minor_version) ||
19874 (gtk_micro_version != $gtk_config_micro_version))
19875 {
19876 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19877 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19878 gtk_major_version, gtk_minor_version, gtk_micro_version);
19879 printf ("*** was found! If pkg-config was correct, then it is best\n");
19880 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19881 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19882 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19883 printf("*** required on your system.\n");
19884 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19885 printf("*** to point to the correct configuration files\n");
19886 }
19887 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19888 (gtk_minor_version != GTK_MINOR_VERSION) ||
19889 (gtk_micro_version != GTK_MICRO_VERSION))
19890 {
19891 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19892 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19893 printf("*** library (version %d.%d.%d)\n",
19894 gtk_major_version, gtk_minor_version, gtk_micro_version);
19895 }
19896 else
19897 {
19898 if ((gtk_major_version > major) ||
19899 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19900 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19901 {
19902 return 0;
19903 }
19904 else
19905 {
19906 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19907 gtk_major_version, gtk_minor_version, gtk_micro_version);
19908 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19909 major, minor, micro);
19910 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19911 printf("***\n");
19912 printf("*** If you have already installed a sufficiently new version, this error\n");
19913 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19914 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19915 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19916 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19917 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19918 printf("*** so that the correct libraries are found at run-time))\n");
19919 }
19920 }
19921 return 1;
19922}
19923
19924_ACEOF
19925rm -f conftest$ac_exeext
19926if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19927 (eval $ac_link) 2>&5
19928 ac_status=$?
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19932 (eval $ac_try) 2>&5
19933 ac_status=$?
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 (exit $ac_status); }; }; then
19936 :
19937else
19938 echo "$as_me: program exited with status $ac_status" >&5
19939echo "$as_me: failed program was:" >&5
19940sed 's/^/| /' conftest.$ac_ext >&5
19941
19942( exit $ac_status )
19943no_gtk=yes
19944fi
19945rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19946fi
19947 CFLAGS="$ac_save_CFLAGS"
19948 LIBS="$ac_save_LIBS"
19949 fi
19950 fi
19951 if test "x$no_gtk" = x ; then
19952 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19953echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19954 wx_cv_lib_gtk=2.0
19955 else
19956 echo "$as_me:$LINENO: result: no" >&5
19957echo "${ECHO_T}no" >&6
19958 if test "$PKG_CONFIG" = "no" ; then
19959 echo "*** A new enough version of pkg-config was not found."
19960 echo "*** See http://pkgconfig.sourceforge.net"
19961 else
19962 if test -f conf.gtktest ; then
19963 :
19964 else
19965 echo "*** Could not run GTK+ test program, checking why..."
19966 ac_save_CFLAGS="$CFLAGS"
19967 ac_save_LIBS="$LIBS"
19968 CFLAGS="$CFLAGS $GTK_CFLAGS"
19969 LIBS="$LIBS $GTK_LIBS"
19970 cat >conftest.$ac_ext <<_ACEOF
19971#line $LINENO "configure"
19972/* confdefs.h. */
19973_ACEOF
19974cat confdefs.h >>conftest.$ac_ext
19975cat >>conftest.$ac_ext <<_ACEOF
19976/* end confdefs.h. */
19977
19978#include <gtk/gtk.h>
19979#include <stdio.h>
19980
19981int
19982main ()
19983{
19984 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19985 ;
19986 return 0;
19987}
19988_ACEOF
19989rm -f conftest.$ac_objext conftest$ac_exeext
19990if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19991 (eval $ac_link) 2>&5
19992 ac_status=$?
19993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); } &&
19995 { ac_try='test -s conftest$ac_exeext'
19996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19997 (eval $ac_try) 2>&5
19998 ac_status=$?
19999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20000 (exit $ac_status); }; }; then
20001 echo "*** The test program compiled, but did not run. This usually means"
20002 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20003 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20004 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20005 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20006 echo "*** is required on your system"
20007 echo "***"
20008 echo "*** If you have an old version installed, it is best to remove it, although"
20009 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20010else
20011 echo "$as_me: failed program was:" >&5
20012sed 's/^/| /' conftest.$ac_ext >&5
20013
20014 echo "*** The test program failed to compile or link. See the file config.log for the"
20015 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20016fi
20017rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20018 CFLAGS="$ac_save_CFLAGS"
20019 LIBS="$ac_save_LIBS"
20020 fi
20021 fi
20022 GTK_CFLAGS=""
20023 GTK_LIBS=""
20024 :
20025 fi
20026
20027
20028 rm -f conf.gtktest
20029
20030 else
20031
20032# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20033if test "${with_gtk_prefix+set}" = set; then
20034 withval="$with_gtk_prefix"
20035 gtk_config_prefix="$withval"
20036else
20037 gtk_config_prefix=""
20038fi;
20039
20040# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20041if test "${with_gtk_exec_prefix+set}" = set; then
20042 withval="$with_gtk_exec_prefix"
20043 gtk_config_exec_prefix="$withval"
20044else
20045 gtk_config_exec_prefix=""
20046fi;
20047# Check whether --enable-gtktest or --disable-gtktest was given.
20048if test "${enable_gtktest+set}" = set; then
20049 enableval="$enable_gtktest"
20050
20051else
20052 enable_gtktest=yes
20053fi;
20054
20055 for module in . $GTK_MODULES
20056 do
20057 case "$module" in
20058 gthread)
20059 gtk_config_args="$gtk_config_args gthread"
20060 ;;
20061 esac
20062 done
20063
20064 if test x$gtk_config_exec_prefix != x ; then
20065 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20066 if test x${GTK_CONFIG+set} != xset ; then
20067 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20068 fi
20069 fi
20070 if test x$gtk_config_prefix != x ; then
20071 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20072 if test x${GTK_CONFIG+set} != xset ; then
20073 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20074 fi
20075 fi
20076
20077 # Extract the first word of "gtk-config", so it can be a program name with args.
20078set dummy gtk-config; ac_word=$2
20079echo "$as_me:$LINENO: checking for $ac_word" >&5
20080echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20081if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20082 echo $ECHO_N "(cached) $ECHO_C" >&6
20083else
20084 case $GTK_CONFIG in
20085 [\\/]* | ?:[\\/]*)
20086 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20087 ;;
20088 *)
20089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20090for as_dir in $PATH
20091do
20092 IFS=$as_save_IFS
20093 test -z "$as_dir" && as_dir=.
20094 for ac_exec_ext in '' $ac_executable_extensions; do
20095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20096 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20098 break 2
20099 fi
20100done
20101done
20102
20103 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20104 ;;
20105esac
20106fi
20107GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20108
20109if test -n "$GTK_CONFIG"; then
20110 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20111echo "${ECHO_T}$GTK_CONFIG" >&6
20112else
20113 echo "$as_me:$LINENO: result: no" >&5
20114echo "${ECHO_T}no" >&6
20115fi
20116
20117 min_gtk_version=1.2.7
20118 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20119echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20120 no_gtk=""
20121 if test "$GTK_CONFIG" = "no" ; then
20122 no_gtk=yes
20123 else
20124 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20125 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20126 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20127 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20128 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20129 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20130 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20131 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20132 if test "x$enable_gtktest" = "xyes" ; then
20133 ac_save_CFLAGS="$CFLAGS"
20134 ac_save_LIBS="$LIBS"
20135 CFLAGS="$CFLAGS $GTK_CFLAGS"
20136 LIBS="$GTK_LIBS $LIBS"
20137 rm -f conf.gtktest
20138 if test "$cross_compiling" = yes; then
20139 echo $ac_n "cross compiling; assumed OK... $ac_c"
20140else
20141 cat >conftest.$ac_ext <<_ACEOF
20142#line $LINENO "configure"
20143/* confdefs.h. */
20144_ACEOF
20145cat confdefs.h >>conftest.$ac_ext
20146cat >>conftest.$ac_ext <<_ACEOF
20147/* end confdefs.h. */
20148
20149#include <gtk/gtk.h>
20150#include <stdio.h>
20151#include <stdlib.h>
20152
20153int
20154main ()
20155{
20156 int major, minor, micro;
20157 char *tmp_version;
20158
20159 system ("touch conf.gtktest");
20160
20161 /* HP/UX 9 (%@#!) writes to sscanf strings */
20162 tmp_version = g_strdup("$min_gtk_version");
20163 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20164 printf("%s, bad version string\n", "$min_gtk_version");
20165 exit(1);
20166 }
20167
20168 if ((gtk_major_version != $gtk_config_major_version) ||
20169 (gtk_minor_version != $gtk_config_minor_version) ||
20170 (gtk_micro_version != $gtk_config_micro_version))
20171 {
20172 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20173 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20174 gtk_major_version, gtk_minor_version, gtk_micro_version);
20175 printf ("*** was found! If gtk-config was correct, then it is best\n");
20176 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20177 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20178 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20179 printf("*** required on your system.\n");
20180 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20181 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20182 printf("*** before re-running configure\n");
20183 }
20184#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20185 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20186 (gtk_minor_version != GTK_MINOR_VERSION) ||
20187 (gtk_micro_version != GTK_MICRO_VERSION))
20188 {
20189 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20190 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20191 printf("*** library (version %d.%d.%d)\n",
20192 gtk_major_version, gtk_minor_version, gtk_micro_version);
20193 }
20194#endif /* defined (GTK_MAJOR_VERSION) ... */
20195 else
20196 {
20197 if ((gtk_major_version > major) ||
20198 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20199 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20200 {
20201 return 0;
20202 }
20203 else
20204 {
20205 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20206 gtk_major_version, gtk_minor_version, gtk_micro_version);
20207 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20208 major, minor, micro);
20209 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20210 printf("***\n");
20211 printf("*** If you have already installed a sufficiently new version, this error\n");
20212 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20213 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20214 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20215 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20216 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20217 printf("*** so that the correct libraries are found at run-time))\n");
20218 }
20219 }
20220 return 1;
20221}
20222
20223_ACEOF
20224rm -f conftest$ac_exeext
20225if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20226 (eval $ac_link) 2>&5
20227 ac_status=$?
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20231 (eval $ac_try) 2>&5
20232 ac_status=$?
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); }; }; then
20235 :
20236else
20237 echo "$as_me: program exited with status $ac_status" >&5
20238echo "$as_me: failed program was:" >&5
20239sed 's/^/| /' conftest.$ac_ext >&5
20240
20241( exit $ac_status )
20242no_gtk=yes
20243fi
20244rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20245fi
20246 CFLAGS="$ac_save_CFLAGS"
20247 LIBS="$ac_save_LIBS"
20248 fi
20249 fi
20250 if test "x$no_gtk" = x ; then
20251 echo "$as_me:$LINENO: result: yes" >&5
20252echo "${ECHO_T}yes" >&6
20253 wx_cv_lib_gtk=1.2.7
20254 else
20255 echo "$as_me:$LINENO: result: no" >&5
20256echo "${ECHO_T}no" >&6
20257 if test "$GTK_CONFIG" = "no" ; then
20258 echo "*** The gtk-config script installed by GTK could not be found"
20259 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20260 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20261 echo "*** full path to gtk-config."
20262 else
20263 if test -f conf.gtktest ; then
20264 :
20265 else
20266 echo "*** Could not run GTK test program, checking why..."
20267 CFLAGS="$CFLAGS $GTK_CFLAGS"
20268 LIBS="$LIBS $GTK_LIBS"
20269 cat >conftest.$ac_ext <<_ACEOF
20270#line $LINENO "configure"
20271/* confdefs.h. */
20272_ACEOF
20273cat confdefs.h >>conftest.$ac_ext
20274cat >>conftest.$ac_ext <<_ACEOF
20275/* end confdefs.h. */
20276
20277#include <gtk/gtk.h>
20278#include <stdio.h>
20279
20280int
20281main ()
20282{
20283 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20284 ;
20285 return 0;
20286}
20287_ACEOF
20288rm -f conftest.$ac_objext conftest$ac_exeext
20289if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20290 (eval $ac_link) 2>&5
20291 ac_status=$?
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); } &&
20294 { ac_try='test -s conftest$ac_exeext'
20295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20296 (eval $ac_try) 2>&5
20297 ac_status=$?
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); }; }; then
20300 echo "*** The test program compiled, but did not run. This usually means"
20301 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20302 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20303 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20304 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20305 echo "*** is required on your system"
20306 echo "***"
20307 echo "*** If you have an old version installed, it is best to remove it, although"
20308 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20309 echo "***"
20310 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20311 echo "*** came with the system with the command"
20312 echo "***"
20313 echo "*** rpm --erase --nodeps gtk gtk-devel"
20314else
20315 echo "$as_me: failed program was:" >&5
20316sed 's/^/| /' conftest.$ac_ext >&5
20317
20318 echo "*** The test program failed to compile or link. See the file config.log for the"
20319 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20320 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20321 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20322fi
20323rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20324 CFLAGS="$ac_save_CFLAGS"
20325 LIBS="$ac_save_LIBS"
20326 fi
20327 fi
20328 GTK_CFLAGS=""
20329 GTK_LIBS=""
20330 :
20331 fi
20332
20333
20334 rm -f conf.gtktest
20335
20336
20337 if test -z "$wx_cv_lib_gtk"; then
20338
20339# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20340if test "${with_gtk_prefix+set}" = set; then
20341 withval="$with_gtk_prefix"
20342 gtk_config_prefix="$withval"
20343else
20344 gtk_config_prefix=""
20345fi;
20346
20347# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20348if test "${with_gtk_exec_prefix+set}" = set; then
20349 withval="$with_gtk_exec_prefix"
20350 gtk_config_exec_prefix="$withval"
20351else
20352 gtk_config_exec_prefix=""
20353fi;
20354# Check whether --enable-gtktest or --disable-gtktest was given.
20355if test "${enable_gtktest+set}" = set; then
20356 enableval="$enable_gtktest"
20357
20358else
20359 enable_gtktest=yes
20360fi;
20361
20362 for module in . $GTK_MODULES
20363 do
20364 case "$module" in
20365 gthread)
20366 gtk_config_args="$gtk_config_args gthread"
20367 ;;
20368 esac
20369 done
20370
20371 if test x$gtk_config_exec_prefix != x ; then
20372 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20373 if test x${GTK_CONFIG+set} != xset ; then
20374 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20375 fi
20376 fi
20377 if test x$gtk_config_prefix != x ; then
20378 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20379 if test x${GTK_CONFIG+set} != xset ; then
20380 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20381 fi
20382 fi
20383
20384 # Extract the first word of "gtk-config", so it can be a program name with args.
20385set dummy gtk-config; ac_word=$2
20386echo "$as_me:$LINENO: checking for $ac_word" >&5
20387echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20388if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20389 echo $ECHO_N "(cached) $ECHO_C" >&6
20390else
20391 case $GTK_CONFIG in
20392 [\\/]* | ?:[\\/]*)
20393 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20394 ;;
20395 *)
20396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20397for as_dir in $PATH
20398do
20399 IFS=$as_save_IFS
20400 test -z "$as_dir" && as_dir=.
20401 for ac_exec_ext in '' $ac_executable_extensions; do
20402 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20403 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20405 break 2
20406 fi
20407done
20408done
20409
20410 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20411 ;;
20412esac
20413fi
20414GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20415
20416if test -n "$GTK_CONFIG"; then
20417 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20418echo "${ECHO_T}$GTK_CONFIG" >&6
20419else
20420 echo "$as_me:$LINENO: result: no" >&5
20421echo "${ECHO_T}no" >&6
20422fi
20423
20424 min_gtk_version=1.2.3
20425 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20426echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20427 no_gtk=""
20428 if test "$GTK_CONFIG" = "no" ; then
20429 no_gtk=yes
20430 else
20431 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20432 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20433 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20434 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20435 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20436 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20437 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20438 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20439 if test "x$enable_gtktest" = "xyes" ; then
20440 ac_save_CFLAGS="$CFLAGS"
20441 ac_save_LIBS="$LIBS"
20442 CFLAGS="$CFLAGS $GTK_CFLAGS"
20443 LIBS="$GTK_LIBS $LIBS"
20444 rm -f conf.gtktest
20445 if test "$cross_compiling" = yes; then
20446 echo $ac_n "cross compiling; assumed OK... $ac_c"
20447else
20448 cat >conftest.$ac_ext <<_ACEOF
20449#line $LINENO "configure"
20450/* confdefs.h. */
20451_ACEOF
20452cat confdefs.h >>conftest.$ac_ext
20453cat >>conftest.$ac_ext <<_ACEOF
20454/* end confdefs.h. */
20455
20456#include <gtk/gtk.h>
20457#include <stdio.h>
20458#include <stdlib.h>
20459
20460int
20461main ()
20462{
20463 int major, minor, micro;
20464 char *tmp_version;
20465
20466 system ("touch conf.gtktest");
20467
20468 /* HP/UX 9 (%@#!) writes to sscanf strings */
20469 tmp_version = g_strdup("$min_gtk_version");
20470 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20471 printf("%s, bad version string\n", "$min_gtk_version");
20472 exit(1);
20473 }
20474
20475 if ((gtk_major_version != $gtk_config_major_version) ||
20476 (gtk_minor_version != $gtk_config_minor_version) ||
20477 (gtk_micro_version != $gtk_config_micro_version))
20478 {
20479 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20480 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20481 gtk_major_version, gtk_minor_version, gtk_micro_version);
20482 printf ("*** was found! If gtk-config was correct, then it is best\n");
20483 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20484 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20485 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20486 printf("*** required on your system.\n");
20487 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20488 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20489 printf("*** before re-running configure\n");
20490 }
20491#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20492 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20493 (gtk_minor_version != GTK_MINOR_VERSION) ||
20494 (gtk_micro_version != GTK_MICRO_VERSION))
20495 {
20496 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20497 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20498 printf("*** library (version %d.%d.%d)\n",
20499 gtk_major_version, gtk_minor_version, gtk_micro_version);
20500 }
20501#endif /* defined (GTK_MAJOR_VERSION) ... */
20502 else
20503 {
20504 if ((gtk_major_version > major) ||
20505 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20506 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20507 {
20508 return 0;
20509 }
20510 else
20511 {
20512 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20513 gtk_major_version, gtk_minor_version, gtk_micro_version);
20514 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20515 major, minor, micro);
20516 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20517 printf("***\n");
20518 printf("*** If you have already installed a sufficiently new version, this error\n");
20519 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20520 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20521 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20522 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20523 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20524 printf("*** so that the correct libraries are found at run-time))\n");
20525 }
20526 }
20527 return 1;
20528}
20529
20530_ACEOF
20531rm -f conftest$ac_exeext
20532if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20533 (eval $ac_link) 2>&5
20534 ac_status=$?
20535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20536 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20538 (eval $ac_try) 2>&5
20539 ac_status=$?
20540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20541 (exit $ac_status); }; }; then
20542 :
20543else
20544 echo "$as_me: program exited with status $ac_status" >&5
20545echo "$as_me: failed program was:" >&5
20546sed 's/^/| /' conftest.$ac_ext >&5
20547
20548( exit $ac_status )
20549no_gtk=yes
20550fi
20551rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20552fi
20553 CFLAGS="$ac_save_CFLAGS"
20554 LIBS="$ac_save_LIBS"
20555 fi
20556 fi
20557 if test "x$no_gtk" = x ; then
20558 echo "$as_me:$LINENO: result: yes" >&5
20559echo "${ECHO_T}yes" >&6
20560 wx_cv_lib_gtk=1.2.3
20561 else
20562 echo "$as_me:$LINENO: result: no" >&5
20563echo "${ECHO_T}no" >&6
20564 if test "$GTK_CONFIG" = "no" ; then
20565 echo "*** The gtk-config script installed by GTK could not be found"
20566 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20567 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20568 echo "*** full path to gtk-config."
20569 else
20570 if test -f conf.gtktest ; then
20571 :
20572 else
20573 echo "*** Could not run GTK test program, checking why..."
20574 CFLAGS="$CFLAGS $GTK_CFLAGS"
20575 LIBS="$LIBS $GTK_LIBS"
20576 cat >conftest.$ac_ext <<_ACEOF
20577#line $LINENO "configure"
20578/* confdefs.h. */
20579_ACEOF
20580cat confdefs.h >>conftest.$ac_ext
20581cat >>conftest.$ac_ext <<_ACEOF
20582/* end confdefs.h. */
20583
20584#include <gtk/gtk.h>
20585#include <stdio.h>
20586
20587int
20588main ()
20589{
20590 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20591 ;
20592 return 0;
20593}
20594_ACEOF
20595rm -f conftest.$ac_objext conftest$ac_exeext
20596if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20597 (eval $ac_link) 2>&5
20598 ac_status=$?
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); } &&
20601 { ac_try='test -s conftest$ac_exeext'
20602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20603 (eval $ac_try) 2>&5
20604 ac_status=$?
20605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20606 (exit $ac_status); }; }; then
20607 echo "*** The test program compiled, but did not run. This usually means"
20608 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20609 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20610 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20611 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20612 echo "*** is required on your system"
20613 echo "***"
20614 echo "*** If you have an old version installed, it is best to remove it, although"
20615 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20616 echo "***"
20617 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20618 echo "*** came with the system with the command"
20619 echo "***"
20620 echo "*** rpm --erase --nodeps gtk gtk-devel"
20621else
20622 echo "$as_me: failed program was:" >&5
20623sed 's/^/| /' conftest.$ac_ext >&5
20624
20625 echo "*** The test program failed to compile or link. See the file config.log for the"
20626 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20627 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20628 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20629fi
20630rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20631 CFLAGS="$ac_save_CFLAGS"
20632 LIBS="$ac_save_LIBS"
20633 fi
20634 fi
20635 GTK_CFLAGS=""
20636 GTK_LIBS=""
20637 :
20638 fi
20639
20640
20641 rm -f conf.gtktest
20642
20643 fi
20644 fi
20645
20646 if test -z "$wx_cv_lib_gtk"; then
20647 wx_cv_lib_gtk=none
20648 else
20649 wx_cv_cflags_gtk=$GTK_CFLAGS
20650 wx_cv_libs_gtk=$GTK_LIBS
20651 fi
20652
20653
20654fi
20655
20656
20657 if test "$gtk_version_cached" = 1; then
20658 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20659echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20660 fi
20661
20662 case "$wx_cv_lib_gtk" in
20663 2.0) WXGTK20=1
20664 TOOLKIT_VERSION=2
20665 ;;
20666 1.2.7) WXGTK127=1
20667 WXGTK12=1
20668 ;;
20669 1.2.3) WXGTK12=1
20670 ;;
20671 *) { { echo "$as_me:$LINENO: error:
20672Please check that gtk-config is in path, the directory
20673where GTK+ libraries are installed (returned by
20674'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20675equivalent variable and GTK+ is version 1.2.3 or above.
20676 " >&5
20677echo "$as_me: error:
20678Please check that gtk-config is in path, the directory
20679where GTK+ libraries are installed (returned by
20680'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20681equivalent variable and GTK+ is version 1.2.3 or above.
20682 " >&2;}
20683 { (exit 1); exit 1; }; }
20684 ;;
20685 esac
20686
20687 if test "$WXGTK20" = 1; then
20688 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20689
20690 succeeded=no
20691
20692 if test -z "$PKG_CONFIG"; then
20693 # Extract the first word of "pkg-config", so it can be a program name with args.
20694set dummy pkg-config; ac_word=$2
20695echo "$as_me:$LINENO: checking for $ac_word" >&5
20696echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20697if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20698 echo $ECHO_N "(cached) $ECHO_C" >&6
20699else
20700 case $PKG_CONFIG in
20701 [\\/]* | ?:[\\/]*)
20702 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20703 ;;
20704 *)
20705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20706for as_dir in $PATH
20707do
20708 IFS=$as_save_IFS
20709 test -z "$as_dir" && as_dir=.
20710 for ac_exec_ext in '' $ac_executable_extensions; do
20711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20712 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20714 break 2
20715 fi
20716done
20717done
20718
20719 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20720 ;;
20721esac
20722fi
20723PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20724
20725if test -n "$PKG_CONFIG"; then
20726 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20727echo "${ECHO_T}$PKG_CONFIG" >&6
20728else
20729 echo "$as_me:$LINENO: result: no" >&5
20730echo "${ECHO_T}no" >&6
20731fi
20732
20733 fi
20734
20735 if test "$PKG_CONFIG" = "no" ; then
20736 echo "*** The pkg-config script could not be found. Make sure it is"
20737 echo "*** in your path, or set the PKG_CONFIG environment variable"
20738 echo "*** to the full path to pkg-config."
20739 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20740 else
20741 PKG_CONFIG_MIN_VERSION=0.9.0
20742 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20743 echo "$as_me:$LINENO: checking for pangoft2" >&5
20744echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20745
20746 if $PKG_CONFIG --exists "pangoft2" ; then
20747 echo "$as_me:$LINENO: result: yes" >&5
20748echo "${ECHO_T}yes" >&6
20749 succeeded=yes
20750
20751 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20752echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20753 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20754 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20755echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20756
20757 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20758echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20759 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20760 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20761echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20762 else
20763 PANGOFT2_CFLAGS=""
20764 PANGOFT2_LIBS=""
20765 ## If we have a custom action on failure, don't print errors, but
20766 ## do set a variable so people can do so.
20767 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20768
20769 fi
20770
20771
20772
20773 else
20774 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20775 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20776 fi
20777 fi
20778
20779 if test $succeeded = yes; then
20780
20781 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
20782 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20783
20784 else
20785
20786 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20787echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20788 wxUSE_PRINTING_ARCHITECTURE="no"
20789
20790
20791 fi
20792
20793 fi
20794 else
20795 if test "$wxUSE_UNICODE" = "yes"; then
20796 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20797echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20798 wxUSE_UNICODE=no
20799 fi
20800 fi
20801
20802 if test "$USE_DARWIN" != 1; then
20803
20804for ac_func in poll
20805do
20806as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20807echo "$as_me:$LINENO: checking for $ac_func" >&5
20808echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20809if eval "test \"\${$as_ac_var+set}\" = set"; then
20810 echo $ECHO_N "(cached) $ECHO_C" >&6
20811else
20812 cat >conftest.$ac_ext <<_ACEOF
20813#line $LINENO "configure"
20814/* confdefs.h. */
20815_ACEOF
20816cat confdefs.h >>conftest.$ac_ext
20817cat >>conftest.$ac_ext <<_ACEOF
20818/* end confdefs.h. */
20819/* System header to define __stub macros and hopefully few prototypes,
20820 which can conflict with char $ac_func (); below.
20821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20822 <limits.h> exists even on freestanding compilers. */
20823#ifdef __STDC__
20824# include <limits.h>
20825#else
20826# include <assert.h>
20827#endif
20828/* Override any gcc2 internal prototype to avoid an error. */
20829#ifdef __cplusplus
20830extern "C"
20831{
20832#endif
20833/* We use char because int might match the return type of a gcc2
20834 builtin and then its argument prototype would still apply. */
20835char $ac_func ();
20836/* The GNU C library defines this for functions which it implements
20837 to always fail with ENOSYS. Some functions are actually named
20838 something starting with __ and the normal name is an alias. */
20839#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20840choke me
20841#else
20842char (*f) () = $ac_func;
20843#endif
20844#ifdef __cplusplus
20845}
20846#endif
20847
20848int
20849main ()
20850{
20851return f != $ac_func;
20852 ;
20853 return 0;
20854}
20855_ACEOF
20856rm -f conftest.$ac_objext conftest$ac_exeext
20857if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20858 (eval $ac_link) 2>&5
20859 ac_status=$?
20860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20861 (exit $ac_status); } &&
20862 { ac_try='test -s conftest$ac_exeext'
20863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20864 (eval $ac_try) 2>&5
20865 ac_status=$?
20866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867 (exit $ac_status); }; }; then
20868 eval "$as_ac_var=yes"
20869else
20870 echo "$as_me: failed program was:" >&5
20871sed 's/^/| /' conftest.$ac_ext >&5
20872
20873eval "$as_ac_var=no"
20874fi
20875rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20876fi
20877echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20878echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20879if test `eval echo '${'$as_ac_var'}'` = yes; then
20880 cat >>confdefs.h <<_ACEOF
20881#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20882_ACEOF
20883
20884fi
20885done
20886
20887 fi
20888
20889 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
20890 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
20891
20892 AFMINSTALL=afminstall
20893 TOOLKIT=GTK
20894 GUIDIST=GTK_DIST
20895
20896 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20897echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20898if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20899 echo $ECHO_N "(cached) $ECHO_C" >&6
20900else
20901 ac_check_lib_save_LIBS=$LIBS
20902LIBS="-lgdk $LIBS"
20903cat >conftest.$ac_ext <<_ACEOF
20904#line $LINENO "configure"
20905/* confdefs.h. */
20906_ACEOF
20907cat confdefs.h >>conftest.$ac_ext
20908cat >>conftest.$ac_ext <<_ACEOF
20909/* end confdefs.h. */
20910
20911/* Override any gcc2 internal prototype to avoid an error. */
20912#ifdef __cplusplus
20913extern "C"
20914#endif
20915/* We use char because int might match the return type of a gcc2
20916 builtin and then its argument prototype would still apply. */
20917char gdk_im_open ();
20918int
20919main ()
20920{
20921gdk_im_open ();
20922 ;
20923 return 0;
20924}
20925_ACEOF
20926rm -f conftest.$ac_objext conftest$ac_exeext
20927if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20928 (eval $ac_link) 2>&5
20929 ac_status=$?
20930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20931 (exit $ac_status); } &&
20932 { ac_try='test -s conftest$ac_exeext'
20933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20934 (eval $ac_try) 2>&5
20935 ac_status=$?
20936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20937 (exit $ac_status); }; }; then
20938 ac_cv_lib_gdk_gdk_im_open=yes
20939else
20940 echo "$as_me: failed program was:" >&5
20941sed 's/^/| /' conftest.$ac_ext >&5
20942
20943ac_cv_lib_gdk_gdk_im_open=no
20944fi
20945rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20946LIBS=$ac_check_lib_save_LIBS
20947fi
20948echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20949echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20950if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20951 cat >>confdefs.h <<\_ACEOF
20952#define HAVE_XIM 1
20953_ACEOF
20954
20955fi
20956
20957 fi
20958
20959 if test "$wxUSE_MGL" = 1; then
20960 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20961echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20962 if test "x$MGL_ROOT" = x ; then
20963 echo "$as_me:$LINENO: result: not found" >&5
20964echo "${ECHO_T}not found" >&6
20965 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20966echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20967 { (exit 1); exit 1; }; }
20968 else
20969 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20970echo "${ECHO_T}$MGL_ROOT" >&6
20971 fi
20972
20973 echo "$as_me:$LINENO: checking for libmgl location" >&5
20974echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20975 case "${host}" in
20976 *-*-linux* )
20977 if test "x$wxUSE_SHARED" = xyes ; then
20978 mgl_os_candidates="linux/gcc/glibc.so linux/gcc/glibc"
20979 else
20980 mgl_os_candidates="linux/gcc/glibc linux/gcc/glibc.so"
20981 fi
20982 ;;
20983 *-pc-msdosdjgpp )
20984 mgl_os_candidates="dos32/dj2"
20985 ;;
20986 *)
20987 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20988echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20989 { (exit 1); exit 1; }; }
20990 esac
20991
20992 mgl_lib_type=""
20993 mgl_os=""
20994
20995 for mgl_os_i in $mgl_os_candidates ; do
20996 if test "x$mgl_os" = x ; then
20997 if test "$wxUSE_DEBUG_FLAG" = yes ; then
20998 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
20999 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
21000 mgl_lib_type=debug
21001 mgl_os=$mgl_os_i
21002 fi
21003 fi
21004 if test "x$mgl_lib_type" = x ; then
21005 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
21006 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
21007 mgl_lib_type=release
21008 mgl_os=$mgl_os_i
21009 fi
21010 fi
21011 fi
21012 done
21013
21014 if test "x$mgl_os" = x ; then
21015 echo "$as_me:$LINENO: result: not found" >&5
21016echo "${ECHO_T}not found" >&6
21017 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21018echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21019 { (exit 1); exit 1; }; }
21020 fi
21021 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21022echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21023
21024 wxUSE_UNIVERSAL="yes"
21025
21026 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
21027 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21028
21029 AFMINSTALL=afminstall
21030 TOOLKIT=MGL
21031 GUIDIST=MGL_DIST
21032 fi
21033
21034 if test "$wxUSE_MICROWIN" = 1; then
21035 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21036echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21037 if test "x$MICROWINDOWS" = x ; then
21038 echo "$as_me:$LINENO: result: not found" >&5
21039echo "${ECHO_T}not found" >&6
21040 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21041echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21042 { (exit 1); exit 1; }; }
21043 else
21044 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21045echo "${ECHO_T}$MICROWINDOWS" >&6
21046 fi
21047
21048 if test -f $MICROWINDOWS/lib/libmwin.a; then
21049 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21050echo "${ECHO_T}MicroWindows' libraries found." >&6
21051 else
21052 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21053echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21054 { (exit 1); exit 1; }; }
21055 fi
21056
21057 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
21058 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21059
21060 wxUSE_UNIVERSAL="yes"
21061
21062 AFMINSTALL=afminstall
21063 TOOLKIT=MICROWIN
21064 GUIDIST=MICROWIN_DIST
21065
21066 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21067 fi
21068
21069 if test "$wxUSE_X11" = 1; then
21070 echo "$as_me:$LINENO: checking for X" >&5
21071echo $ECHO_N "checking for X... $ECHO_C" >&6
21072
21073
21074# Check whether --with-x or --without-x was given.
21075if test "${with_x+set}" = set; then
21076 withval="$with_x"
21077
21078fi;
21079# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21080if test "x$with_x" = xno; then
21081 # The user explicitly disabled X.
21082 have_x=disabled
21083else
21084 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
21085 # Both variables are already set.
21086 have_x=yes
21087 else
21088 if test "${ac_cv_have_x+set}" = set; then
21089 echo $ECHO_N "(cached) $ECHO_C" >&6
21090else
21091 # One or both of the vars are not set, and there is no cached value.
21092ac_x_includes=no ac_x_libraries=no
21093rm -fr conftest.dir
21094if mkdir conftest.dir; then
21095 cd conftest.dir
21096 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21097 cat >Imakefile <<'_ACEOF'
21098acfindx:
21099 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21100_ACEOF
21101 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
21102 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21103 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21104 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21105 for ac_extension in a so sl; do
21106 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
21107 test -f $ac_im_libdir/libX11.$ac_extension; then
21108 ac_im_usrlibdir=$ac_im_libdir; break
21109 fi
21110 done
21111 # Screen out bogus values from the imake configuration. They are
21112 # bogus both because they are the default anyway, and because
21113 # using them would break gcc on systems where it needs fixed includes.
21114 case $ac_im_incroot in
21115 /usr/include) ;;
21116 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
21117 esac
21118 case $ac_im_usrlibdir in
21119 /usr/lib | /lib) ;;
21120 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21121 esac
21122 fi
21123 cd ..
21124 rm -fr conftest.dir
21125fi
21126
21127# Standard set of common directories for X headers.
21128# Check X11 before X11Rn because it is often a symlink to the current release.
21129ac_x_header_dirs='
21130/usr/X11/include
21131/usr/X11R6/include
21132/usr/X11R5/include
21133/usr/X11R4/include
21134
21135/usr/include/X11
21136/usr/include/X11R6
21137/usr/include/X11R5
21138/usr/include/X11R4
21139
21140/usr/local/X11/include
21141/usr/local/X11R6/include
21142/usr/local/X11R5/include
21143/usr/local/X11R4/include
21144
21145/usr/local/include/X11
21146/usr/local/include/X11R6
21147/usr/local/include/X11R5
21148/usr/local/include/X11R4
21149
21150/usr/X386/include
21151/usr/x386/include
21152/usr/XFree86/include/X11
21153
21154/usr/include
21155/usr/local/include
21156/usr/unsupported/include
21157/usr/athena/include
21158/usr/local/x11r5/include
21159/usr/lpp/Xamples/include
21160
21161/usr/openwin/include
21162/usr/openwin/share/include'
21163
21164if test "$ac_x_includes" = no; then
21165 # Guess where to find include files, by looking for Intrinsic.h.
21166 # First, try using that file with no special directory specified.
21167 cat >conftest.$ac_ext <<_ACEOF
21168#line $LINENO "configure"
21169/* confdefs.h. */
21170_ACEOF
21171cat confdefs.h >>conftest.$ac_ext
21172cat >>conftest.$ac_ext <<_ACEOF
21173/* end confdefs.h. */
21174#include <X11/Intrinsic.h>
21175_ACEOF
21176if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21177 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21178 ac_status=$?
21179 grep -v '^ *+' conftest.er1 >conftest.err
21180 rm -f conftest.er1
21181 cat conftest.err >&5
21182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21183 (exit $ac_status); } >/dev/null; then
21184 if test -s conftest.err; then
21185 ac_cpp_err=$ac_c_preproc_warn_flag
21186 else
21187 ac_cpp_err=
21188 fi
21189else
21190 ac_cpp_err=yes
21191fi
21192if test -z "$ac_cpp_err"; then
21193 # We can compile using X headers with no special include directory.
21194ac_x_includes=
21195else
21196 echo "$as_me: failed program was:" >&5
21197sed 's/^/| /' conftest.$ac_ext >&5
21198
21199 for ac_dir in $ac_x_header_dirs; do
21200 if test -r "$ac_dir/X11/Intrinsic.h"; then
21201 ac_x_includes=$ac_dir
21202 break
21203 fi
21204done
21205fi
21206rm -f conftest.err conftest.$ac_ext
21207fi # $ac_x_includes = no
21208
21209if test "$ac_x_libraries" = no; then
21210 # Check for the libraries.
21211 # See if we find them without any special options.
21212 # Don't add to $LIBS permanently.
21213 ac_save_LIBS=$LIBS
21214 LIBS="-lXt $LIBS"
21215 cat >conftest.$ac_ext <<_ACEOF
21216#line $LINENO "configure"
21217/* confdefs.h. */
21218_ACEOF
21219cat confdefs.h >>conftest.$ac_ext
21220cat >>conftest.$ac_ext <<_ACEOF
21221/* end confdefs.h. */
21222#include <X11/Intrinsic.h>
21223int
21224main ()
21225{
21226XtMalloc (0)
21227 ;
21228 return 0;
21229}
21230_ACEOF
21231rm -f conftest.$ac_objext conftest$ac_exeext
21232if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21233 (eval $ac_link) 2>&5
21234 ac_status=$?
21235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236 (exit $ac_status); } &&
21237 { ac_try='test -s conftest$ac_exeext'
21238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21239 (eval $ac_try) 2>&5
21240 ac_status=$?
21241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21242 (exit $ac_status); }; }; then
21243 LIBS=$ac_save_LIBS
21244# We can link X programs with no special library path.
21245ac_x_libraries=
21246else
21247 echo "$as_me: failed program was:" >&5
21248sed 's/^/| /' conftest.$ac_ext >&5
21249
21250LIBS=$ac_save_LIBS
21251for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21252do
21253 # Don't even attempt the hair of trying to link an X program!
21254 for ac_extension in a so sl; do
21255 if test -r $ac_dir/libXt.$ac_extension; then
21256 ac_x_libraries=$ac_dir
21257 break 2
21258 fi
21259 done
21260done
21261fi
21262rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21263fi # $ac_x_libraries = no
21264
21265if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21266 # Didn't find X anywhere. Cache the known absence of X.
21267 ac_cv_have_x="have_x=no"
21268else
21269 # Record where we found X for the cache.
21270 ac_cv_have_x="have_x=yes \
21271 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21272fi
21273fi
21274
21275 fi
21276 eval "$ac_cv_have_x"
21277fi # $with_x != no
21278
21279if test "$have_x" != yes; then
21280 echo "$as_me:$LINENO: result: $have_x" >&5
21281echo "${ECHO_T}$have_x" >&6
21282 no_x=yes
21283else
21284 # If each of the values was on the command line, it overrides each guess.
21285 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21286 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21287 # Update the cache value to reflect the command line values.
21288 ac_cv_have_x="have_x=yes \
21289 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21290 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21291echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21292fi
21293
21294if test "$no_x" = yes; then
21295 # Not all programs may use this symbol, but it does not hurt to define it.
21296
21297cat >>confdefs.h <<\_ACEOF
21298#define X_DISPLAY_MISSING 1
21299_ACEOF
21300
21301 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21302else
21303 if test -n "$x_includes"; then
21304 X_CFLAGS="$X_CFLAGS -I$x_includes"
21305 fi
21306
21307 # It would also be nice to do this for all -L options, not just this one.
21308 if test -n "$x_libraries"; then
21309 X_LIBS="$X_LIBS -L$x_libraries"
21310 # For Solaris; some versions of Sun CC require a space after -R and
21311 # others require no space. Words are not sufficient . . . .
21312 case `(uname -sr) 2>/dev/null` in
21313 "SunOS 5"*)
21314 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21315echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21316 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21317 cat >conftest.$ac_ext <<_ACEOF
21318#line $LINENO "configure"
21319/* confdefs.h. */
21320_ACEOF
21321cat confdefs.h >>conftest.$ac_ext
21322cat >>conftest.$ac_ext <<_ACEOF
21323/* end confdefs.h. */
21324
21325int
21326main ()
21327{
21328
21329 ;
21330 return 0;
21331}
21332_ACEOF
21333rm -f conftest.$ac_objext conftest$ac_exeext
21334if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21335 (eval $ac_link) 2>&5
21336 ac_status=$?
21337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21338 (exit $ac_status); } &&
21339 { ac_try='test -s conftest$ac_exeext'
21340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21341 (eval $ac_try) 2>&5
21342 ac_status=$?
21343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344 (exit $ac_status); }; }; then
21345 ac_R_nospace=yes
21346else
21347 echo "$as_me: failed program was:" >&5
21348sed 's/^/| /' conftest.$ac_ext >&5
21349
21350ac_R_nospace=no
21351fi
21352rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21353 if test $ac_R_nospace = yes; then
21354 echo "$as_me:$LINENO: result: no" >&5
21355echo "${ECHO_T}no" >&6
21356 X_LIBS="$X_LIBS -R$x_libraries"
21357 else
21358 LIBS="$ac_xsave_LIBS -R $x_libraries"
21359 cat >conftest.$ac_ext <<_ACEOF
21360#line $LINENO "configure"
21361/* confdefs.h. */
21362_ACEOF
21363cat confdefs.h >>conftest.$ac_ext
21364cat >>conftest.$ac_ext <<_ACEOF
21365/* end confdefs.h. */
21366
21367int
21368main ()
21369{
21370
21371 ;
21372 return 0;
21373}
21374_ACEOF
21375rm -f conftest.$ac_objext conftest$ac_exeext
21376if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21377 (eval $ac_link) 2>&5
21378 ac_status=$?
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); } &&
21381 { ac_try='test -s conftest$ac_exeext'
21382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21383 (eval $ac_try) 2>&5
21384 ac_status=$?
21385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386 (exit $ac_status); }; }; then
21387 ac_R_space=yes
21388else
21389 echo "$as_me: failed program was:" >&5
21390sed 's/^/| /' conftest.$ac_ext >&5
21391
21392ac_R_space=no
21393fi
21394rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21395 if test $ac_R_space = yes; then
21396 echo "$as_me:$LINENO: result: yes" >&5
21397echo "${ECHO_T}yes" >&6
21398 X_LIBS="$X_LIBS -R $x_libraries"
21399 else
21400 echo "$as_me:$LINENO: result: neither works" >&5
21401echo "${ECHO_T}neither works" >&6
21402 fi
21403 fi
21404 LIBS=$ac_xsave_LIBS
21405 esac
21406 fi
21407
21408 # Check for system-dependent libraries X programs must link with.
21409 # Do this before checking for the system-independent R6 libraries
21410 # (-lICE), since we may need -lsocket or whatever for X linking.
21411
21412 if test "$ISC" = yes; then
21413 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21414 else
21415 # Martyn Johnson says this is needed for Ultrix, if the X
21416 # libraries were built with DECnet support. And Karl Berry says
21417 # the Alpha needs dnet_stub (dnet does not exist).
21418 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21419 cat >conftest.$ac_ext <<_ACEOF
21420#line $LINENO "configure"
21421/* confdefs.h. */
21422_ACEOF
21423cat confdefs.h >>conftest.$ac_ext
21424cat >>conftest.$ac_ext <<_ACEOF
21425/* end confdefs.h. */
21426
21427/* Override any gcc2 internal prototype to avoid an error. */
21428#ifdef __cplusplus
21429extern "C"
21430#endif
21431/* We use char because int might match the return type of a gcc2
21432 builtin and then its argument prototype would still apply. */
21433char XOpenDisplay ();
21434int
21435main ()
21436{
21437XOpenDisplay ();
21438 ;
21439 return 0;
21440}
21441_ACEOF
21442rm -f conftest.$ac_objext conftest$ac_exeext
21443if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21444 (eval $ac_link) 2>&5
21445 ac_status=$?
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); } &&
21448 { ac_try='test -s conftest$ac_exeext'
21449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21450 (eval $ac_try) 2>&5
21451 ac_status=$?
21452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21453 (exit $ac_status); }; }; then
21454 :
21455else
21456 echo "$as_me: failed program was:" >&5
21457sed 's/^/| /' conftest.$ac_ext >&5
21458
21459echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21460echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21461if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21462 echo $ECHO_N "(cached) $ECHO_C" >&6
21463else
21464 ac_check_lib_save_LIBS=$LIBS
21465LIBS="-ldnet $LIBS"
21466cat >conftest.$ac_ext <<_ACEOF
21467#line $LINENO "configure"
21468/* confdefs.h. */
21469_ACEOF
21470cat confdefs.h >>conftest.$ac_ext
21471cat >>conftest.$ac_ext <<_ACEOF
21472/* end confdefs.h. */
21473
21474/* Override any gcc2 internal prototype to avoid an error. */
21475#ifdef __cplusplus
21476extern "C"
21477#endif
21478/* We use char because int might match the return type of a gcc2
21479 builtin and then its argument prototype would still apply. */
21480char dnet_ntoa ();
21481int
21482main ()
21483{
21484dnet_ntoa ();
21485 ;
21486 return 0;
21487}
21488_ACEOF
21489rm -f conftest.$ac_objext conftest$ac_exeext
21490if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21491 (eval $ac_link) 2>&5
21492 ac_status=$?
21493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21494 (exit $ac_status); } &&
21495 { ac_try='test -s conftest$ac_exeext'
21496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21497 (eval $ac_try) 2>&5
21498 ac_status=$?
21499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21500 (exit $ac_status); }; }; then
21501 ac_cv_lib_dnet_dnet_ntoa=yes
21502else
21503 echo "$as_me: failed program was:" >&5
21504sed 's/^/| /' conftest.$ac_ext >&5
21505
21506ac_cv_lib_dnet_dnet_ntoa=no
21507fi
21508rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21509LIBS=$ac_check_lib_save_LIBS
21510fi
21511echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21512echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21513if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21514 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21515fi
21516
21517 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21518 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21519echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21520if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21521 echo $ECHO_N "(cached) $ECHO_C" >&6
21522else
21523 ac_check_lib_save_LIBS=$LIBS
21524LIBS="-ldnet_stub $LIBS"
21525cat >conftest.$ac_ext <<_ACEOF
21526#line $LINENO "configure"
21527/* confdefs.h. */
21528_ACEOF
21529cat confdefs.h >>conftest.$ac_ext
21530cat >>conftest.$ac_ext <<_ACEOF
21531/* end confdefs.h. */
21532
21533/* Override any gcc2 internal prototype to avoid an error. */
21534#ifdef __cplusplus
21535extern "C"
21536#endif
21537/* We use char because int might match the return type of a gcc2
21538 builtin and then its argument prototype would still apply. */
21539char dnet_ntoa ();
21540int
21541main ()
21542{
21543dnet_ntoa ();
21544 ;
21545 return 0;
21546}
21547_ACEOF
21548rm -f conftest.$ac_objext conftest$ac_exeext
21549if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21550 (eval $ac_link) 2>&5
21551 ac_status=$?
21552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21553 (exit $ac_status); } &&
21554 { ac_try='test -s conftest$ac_exeext'
21555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21556 (eval $ac_try) 2>&5
21557 ac_status=$?
21558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21559 (exit $ac_status); }; }; then
21560 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21561else
21562 echo "$as_me: failed program was:" >&5
21563sed 's/^/| /' conftest.$ac_ext >&5
21564
21565ac_cv_lib_dnet_stub_dnet_ntoa=no
21566fi
21567rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21568LIBS=$ac_check_lib_save_LIBS
21569fi
21570echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21571echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21572if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21573 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21574fi
21575
21576 fi
21577fi
21578rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21579 LIBS="$ac_xsave_LIBS"
21580
21581 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21582 # to get the SysV transport functions.
21583 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21584 # needs -lnsl.
21585 # The nsl library prevents programs from opening the X display
21586 # on Irix 5.2, according to T.E. Dickey.
21587 # The functions gethostbyname, getservbyname, and inet_addr are
21588 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21589 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21590echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21591if test "${ac_cv_func_gethostbyname+set}" = set; then
21592 echo $ECHO_N "(cached) $ECHO_C" >&6
21593else
21594 cat >conftest.$ac_ext <<_ACEOF
21595#line $LINENO "configure"
21596/* confdefs.h. */
21597_ACEOF
21598cat confdefs.h >>conftest.$ac_ext
21599cat >>conftest.$ac_ext <<_ACEOF
21600/* end confdefs.h. */
21601/* System header to define __stub macros and hopefully few prototypes,
21602 which can conflict with char gethostbyname (); below.
21603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21604 <limits.h> exists even on freestanding compilers. */
21605#ifdef __STDC__
21606# include <limits.h>
21607#else
21608# include <assert.h>
21609#endif
21610/* Override any gcc2 internal prototype to avoid an error. */
21611#ifdef __cplusplus
21612extern "C"
21613{
21614#endif
21615/* We use char because int might match the return type of a gcc2
21616 builtin and then its argument prototype would still apply. */
21617char gethostbyname ();
21618/* The GNU C library defines this for functions which it implements
21619 to always fail with ENOSYS. Some functions are actually named
21620 something starting with __ and the normal name is an alias. */
21621#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21622choke me
21623#else
21624char (*f) () = gethostbyname;
21625#endif
21626#ifdef __cplusplus
21627}
21628#endif
21629
21630int
21631main ()
21632{
21633return f != gethostbyname;
21634 ;
21635 return 0;
21636}
21637_ACEOF
21638rm -f conftest.$ac_objext conftest$ac_exeext
21639if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21640 (eval $ac_link) 2>&5
21641 ac_status=$?
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); } &&
21644 { ac_try='test -s conftest$ac_exeext'
21645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21646 (eval $ac_try) 2>&5
21647 ac_status=$?
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); }; }; then
21650 ac_cv_func_gethostbyname=yes
21651else
21652 echo "$as_me: failed program was:" >&5
21653sed 's/^/| /' conftest.$ac_ext >&5
21654
21655ac_cv_func_gethostbyname=no
21656fi
21657rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21658fi
21659echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21660echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21661
21662 if test $ac_cv_func_gethostbyname = no; then
21663 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21664echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21665if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21666 echo $ECHO_N "(cached) $ECHO_C" >&6
21667else
21668 ac_check_lib_save_LIBS=$LIBS
21669LIBS="-lnsl $LIBS"
21670cat >conftest.$ac_ext <<_ACEOF
21671#line $LINENO "configure"
21672/* confdefs.h. */
21673_ACEOF
21674cat confdefs.h >>conftest.$ac_ext
21675cat >>conftest.$ac_ext <<_ACEOF
21676/* end confdefs.h. */
21677
21678/* Override any gcc2 internal prototype to avoid an error. */
21679#ifdef __cplusplus
21680extern "C"
21681#endif
21682/* We use char because int might match the return type of a gcc2
21683 builtin and then its argument prototype would still apply. */
21684char gethostbyname ();
21685int
21686main ()
21687{
21688gethostbyname ();
21689 ;
21690 return 0;
21691}
21692_ACEOF
21693rm -f conftest.$ac_objext conftest$ac_exeext
21694if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21695 (eval $ac_link) 2>&5
21696 ac_status=$?
21697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21698 (exit $ac_status); } &&
21699 { ac_try='test -s conftest$ac_exeext'
21700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21701 (eval $ac_try) 2>&5
21702 ac_status=$?
21703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704 (exit $ac_status); }; }; then
21705 ac_cv_lib_nsl_gethostbyname=yes
21706else
21707 echo "$as_me: failed program was:" >&5
21708sed 's/^/| /' conftest.$ac_ext >&5
21709
21710ac_cv_lib_nsl_gethostbyname=no
21711fi
21712rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21713LIBS=$ac_check_lib_save_LIBS
21714fi
21715echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21716echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21717if test $ac_cv_lib_nsl_gethostbyname = yes; then
21718 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21719fi
21720
21721 if test $ac_cv_lib_nsl_gethostbyname = no; then
21722 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21723echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21724if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21725 echo $ECHO_N "(cached) $ECHO_C" >&6
21726else
21727 ac_check_lib_save_LIBS=$LIBS
21728LIBS="-lbsd $LIBS"
21729cat >conftest.$ac_ext <<_ACEOF
21730#line $LINENO "configure"
21731/* confdefs.h. */
21732_ACEOF
21733cat confdefs.h >>conftest.$ac_ext
21734cat >>conftest.$ac_ext <<_ACEOF
21735/* end confdefs.h. */
21736
21737/* Override any gcc2 internal prototype to avoid an error. */
21738#ifdef __cplusplus
21739extern "C"
21740#endif
21741/* We use char because int might match the return type of a gcc2
21742 builtin and then its argument prototype would still apply. */
21743char gethostbyname ();
21744int
21745main ()
21746{
21747gethostbyname ();
21748 ;
21749 return 0;
21750}
21751_ACEOF
21752rm -f conftest.$ac_objext conftest$ac_exeext
21753if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21754 (eval $ac_link) 2>&5
21755 ac_status=$?
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); } &&
21758 { ac_try='test -s conftest$ac_exeext'
21759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21760 (eval $ac_try) 2>&5
21761 ac_status=$?
21762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21763 (exit $ac_status); }; }; then
21764 ac_cv_lib_bsd_gethostbyname=yes
21765else
21766 echo "$as_me: failed program was:" >&5
21767sed 's/^/| /' conftest.$ac_ext >&5
21768
21769ac_cv_lib_bsd_gethostbyname=no
21770fi
21771rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21772LIBS=$ac_check_lib_save_LIBS
21773fi
21774echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21775echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21776if test $ac_cv_lib_bsd_gethostbyname = yes; then
21777 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21778fi
21779
21780 fi
21781 fi
21782
21783 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21784 # socket/setsockopt and other routines are undefined under SCO ODT
21785 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21786 # on later versions), says Simon Leinen: it contains gethostby*
21787 # variants that don't use the name server (or something). -lsocket
21788 # must be given before -lnsl if both are needed. We assume that
21789 # if connect needs -lnsl, so does gethostbyname.
21790 echo "$as_me:$LINENO: checking for connect" >&5
21791echo $ECHO_N "checking for connect... $ECHO_C" >&6
21792if test "${ac_cv_func_connect+set}" = set; then
21793 echo $ECHO_N "(cached) $ECHO_C" >&6
21794else
21795 cat >conftest.$ac_ext <<_ACEOF
21796#line $LINENO "configure"
21797/* confdefs.h. */
21798_ACEOF
21799cat confdefs.h >>conftest.$ac_ext
21800cat >>conftest.$ac_ext <<_ACEOF
21801/* end confdefs.h. */
21802/* System header to define __stub macros and hopefully few prototypes,
21803 which can conflict with char connect (); below.
21804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21805 <limits.h> exists even on freestanding compilers. */
21806#ifdef __STDC__
21807# include <limits.h>
21808#else
21809# include <assert.h>
21810#endif
21811/* Override any gcc2 internal prototype to avoid an error. */
21812#ifdef __cplusplus
21813extern "C"
21814{
21815#endif
21816/* We use char because int might match the return type of a gcc2
21817 builtin and then its argument prototype would still apply. */
21818char connect ();
21819/* The GNU C library defines this for functions which it implements
21820 to always fail with ENOSYS. Some functions are actually named
21821 something starting with __ and the normal name is an alias. */
21822#if defined (__stub_connect) || defined (__stub___connect)
21823choke me
21824#else
21825char (*f) () = connect;
21826#endif
21827#ifdef __cplusplus
21828}
21829#endif
21830
21831int
21832main ()
21833{
21834return f != connect;
21835 ;
21836 return 0;
21837}
21838_ACEOF
21839rm -f conftest.$ac_objext conftest$ac_exeext
21840if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21841 (eval $ac_link) 2>&5
21842 ac_status=$?
21843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844 (exit $ac_status); } &&
21845 { ac_try='test -s conftest$ac_exeext'
21846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21847 (eval $ac_try) 2>&5
21848 ac_status=$?
21849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21850 (exit $ac_status); }; }; then
21851 ac_cv_func_connect=yes
21852else
21853 echo "$as_me: failed program was:" >&5
21854sed 's/^/| /' conftest.$ac_ext >&5
21855
21856ac_cv_func_connect=no
21857fi
21858rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21859fi
21860echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21861echo "${ECHO_T}$ac_cv_func_connect" >&6
21862
21863 if test $ac_cv_func_connect = no; then
21864 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21865echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21866if test "${ac_cv_lib_socket_connect+set}" = set; then
21867 echo $ECHO_N "(cached) $ECHO_C" >&6
21868else
21869 ac_check_lib_save_LIBS=$LIBS
21870LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
21871cat >conftest.$ac_ext <<_ACEOF
21872#line $LINENO "configure"
21873/* confdefs.h. */
21874_ACEOF
21875cat confdefs.h >>conftest.$ac_ext
21876cat >>conftest.$ac_ext <<_ACEOF
21877/* end confdefs.h. */
21878
21879/* Override any gcc2 internal prototype to avoid an error. */
21880#ifdef __cplusplus
21881extern "C"
21882#endif
21883/* We use char because int might match the return type of a gcc2
21884 builtin and then its argument prototype would still apply. */
21885char connect ();
21886int
21887main ()
21888{
21889connect ();
21890 ;
21891 return 0;
21892}
21893_ACEOF
21894rm -f conftest.$ac_objext conftest$ac_exeext
21895if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21896 (eval $ac_link) 2>&5
21897 ac_status=$?
21898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21899 (exit $ac_status); } &&
21900 { ac_try='test -s conftest$ac_exeext'
21901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21902 (eval $ac_try) 2>&5
21903 ac_status=$?
21904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21905 (exit $ac_status); }; }; then
21906 ac_cv_lib_socket_connect=yes
21907else
21908 echo "$as_me: failed program was:" >&5
21909sed 's/^/| /' conftest.$ac_ext >&5
21910
21911ac_cv_lib_socket_connect=no
21912fi
21913rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21914LIBS=$ac_check_lib_save_LIBS
21915fi
21916echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21917echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21918if test $ac_cv_lib_socket_connect = yes; then
21919 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
21920fi
21921
21922 fi
21923
21924 # Guillermo Gomez says -lposix is necessary on A/UX.
21925 echo "$as_me:$LINENO: checking for remove" >&5
21926echo $ECHO_N "checking for remove... $ECHO_C" >&6
21927if test "${ac_cv_func_remove+set}" = set; then
21928 echo $ECHO_N "(cached) $ECHO_C" >&6
21929else
21930 cat >conftest.$ac_ext <<_ACEOF
21931#line $LINENO "configure"
21932/* confdefs.h. */
21933_ACEOF
21934cat confdefs.h >>conftest.$ac_ext
21935cat >>conftest.$ac_ext <<_ACEOF
21936/* end confdefs.h. */
21937/* System header to define __stub macros and hopefully few prototypes,
21938 which can conflict with char remove (); below.
21939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21940 <limits.h> exists even on freestanding compilers. */
21941#ifdef __STDC__
21942# include <limits.h>
21943#else
21944# include <assert.h>
21945#endif
21946/* Override any gcc2 internal prototype to avoid an error. */
21947#ifdef __cplusplus
21948extern "C"
21949{
21950#endif
21951/* We use char because int might match the return type of a gcc2
21952 builtin and then its argument prototype would still apply. */
21953char remove ();
21954/* The GNU C library defines this for functions which it implements
21955 to always fail with ENOSYS. Some functions are actually named
21956 something starting with __ and the normal name is an alias. */
21957#if defined (__stub_remove) || defined (__stub___remove)
21958choke me
21959#else
21960char (*f) () = remove;
21961#endif
21962#ifdef __cplusplus
21963}
21964#endif
21965
21966int
21967main ()
21968{
21969return f != remove;
21970 ;
21971 return 0;
21972}
21973_ACEOF
21974rm -f conftest.$ac_objext conftest$ac_exeext
21975if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21976 (eval $ac_link) 2>&5
21977 ac_status=$?
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); } &&
21980 { ac_try='test -s conftest$ac_exeext'
21981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21982 (eval $ac_try) 2>&5
21983 ac_status=$?
21984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985 (exit $ac_status); }; }; then
21986 ac_cv_func_remove=yes
21987else
21988 echo "$as_me: failed program was:" >&5
21989sed 's/^/| /' conftest.$ac_ext >&5
21990
21991ac_cv_func_remove=no
21992fi
21993rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21994fi
21995echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21996echo "${ECHO_T}$ac_cv_func_remove" >&6
21997
21998 if test $ac_cv_func_remove = no; then
21999 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22000echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22001if test "${ac_cv_lib_posix_remove+set}" = set; then
22002 echo $ECHO_N "(cached) $ECHO_C" >&6
22003else
22004 ac_check_lib_save_LIBS=$LIBS
22005LIBS="-lposix $LIBS"
22006cat >conftest.$ac_ext <<_ACEOF
22007#line $LINENO "configure"
22008/* confdefs.h. */
22009_ACEOF
22010cat confdefs.h >>conftest.$ac_ext
22011cat >>conftest.$ac_ext <<_ACEOF
22012/* end confdefs.h. */
22013
22014/* Override any gcc2 internal prototype to avoid an error. */
22015#ifdef __cplusplus
22016extern "C"
22017#endif
22018/* We use char because int might match the return type of a gcc2
22019 builtin and then its argument prototype would still apply. */
22020char remove ();
22021int
22022main ()
22023{
22024remove ();
22025 ;
22026 return 0;
22027}
22028_ACEOF
22029rm -f conftest.$ac_objext conftest$ac_exeext
22030if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22031 (eval $ac_link) 2>&5
22032 ac_status=$?
22033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22034 (exit $ac_status); } &&
22035 { ac_try='test -s conftest$ac_exeext'
22036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22037 (eval $ac_try) 2>&5
22038 ac_status=$?
22039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22040 (exit $ac_status); }; }; then
22041 ac_cv_lib_posix_remove=yes
22042else
22043 echo "$as_me: failed program was:" >&5
22044sed 's/^/| /' conftest.$ac_ext >&5
22045
22046ac_cv_lib_posix_remove=no
22047fi
22048rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22049LIBS=$ac_check_lib_save_LIBS
22050fi
22051echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22052echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22053if test $ac_cv_lib_posix_remove = yes; then
22054 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22055fi
22056
22057 fi
22058
22059 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22060 echo "$as_me:$LINENO: checking for shmat" >&5
22061echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22062if test "${ac_cv_func_shmat+set}" = set; then
22063 echo $ECHO_N "(cached) $ECHO_C" >&6
22064else
22065 cat >conftest.$ac_ext <<_ACEOF
22066#line $LINENO "configure"
22067/* confdefs.h. */
22068_ACEOF
22069cat confdefs.h >>conftest.$ac_ext
22070cat >>conftest.$ac_ext <<_ACEOF
22071/* end confdefs.h. */
22072/* System header to define __stub macros and hopefully few prototypes,
22073 which can conflict with char shmat (); below.
22074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22075 <limits.h> exists even on freestanding compilers. */
22076#ifdef __STDC__
22077# include <limits.h>
22078#else
22079# include <assert.h>
22080#endif
22081/* Override any gcc2 internal prototype to avoid an error. */
22082#ifdef __cplusplus
22083extern "C"
22084{
22085#endif
22086/* We use char because int might match the return type of a gcc2
22087 builtin and then its argument prototype would still apply. */
22088char shmat ();
22089/* The GNU C library defines this for functions which it implements
22090 to always fail with ENOSYS. Some functions are actually named
22091 something starting with __ and the normal name is an alias. */
22092#if defined (__stub_shmat) || defined (__stub___shmat)
22093choke me
22094#else
22095char (*f) () = shmat;
22096#endif
22097#ifdef __cplusplus
22098}
22099#endif
22100
22101int
22102main ()
22103{
22104return f != shmat;
22105 ;
22106 return 0;
22107}
22108_ACEOF
22109rm -f conftest.$ac_objext conftest$ac_exeext
22110if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22111 (eval $ac_link) 2>&5
22112 ac_status=$?
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); } &&
22115 { ac_try='test -s conftest$ac_exeext'
22116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22117 (eval $ac_try) 2>&5
22118 ac_status=$?
22119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120 (exit $ac_status); }; }; then
22121 ac_cv_func_shmat=yes
22122else
22123 echo "$as_me: failed program was:" >&5
22124sed 's/^/| /' conftest.$ac_ext >&5
22125
22126ac_cv_func_shmat=no
22127fi
22128rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22129fi
22130echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22131echo "${ECHO_T}$ac_cv_func_shmat" >&6
22132
22133 if test $ac_cv_func_shmat = no; then
22134 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22135echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22136if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22137 echo $ECHO_N "(cached) $ECHO_C" >&6
22138else
22139 ac_check_lib_save_LIBS=$LIBS
22140LIBS="-lipc $LIBS"
22141cat >conftest.$ac_ext <<_ACEOF
22142#line $LINENO "configure"
22143/* confdefs.h. */
22144_ACEOF
22145cat confdefs.h >>conftest.$ac_ext
22146cat >>conftest.$ac_ext <<_ACEOF
22147/* end confdefs.h. */
22148
22149/* Override any gcc2 internal prototype to avoid an error. */
22150#ifdef __cplusplus
22151extern "C"
22152#endif
22153/* We use char because int might match the return type of a gcc2
22154 builtin and then its argument prototype would still apply. */
22155char shmat ();
22156int
22157main ()
22158{
22159shmat ();
22160 ;
22161 return 0;
22162}
22163_ACEOF
22164rm -f conftest.$ac_objext conftest$ac_exeext
22165if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22166 (eval $ac_link) 2>&5
22167 ac_status=$?
22168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22169 (exit $ac_status); } &&
22170 { ac_try='test -s conftest$ac_exeext'
22171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22172 (eval $ac_try) 2>&5
22173 ac_status=$?
22174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22175 (exit $ac_status); }; }; then
22176 ac_cv_lib_ipc_shmat=yes
22177else
22178 echo "$as_me: failed program was:" >&5
22179sed 's/^/| /' conftest.$ac_ext >&5
22180
22181ac_cv_lib_ipc_shmat=no
22182fi
22183rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22184LIBS=$ac_check_lib_save_LIBS
22185fi
22186echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22187echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22188if test $ac_cv_lib_ipc_shmat = yes; then
22189 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22190fi
22191
22192 fi
22193 fi
22194
22195 # Check for libraries that X11R6 Xt/Xaw programs need.
22196 ac_save_LDFLAGS=$LDFLAGS
22197 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22198 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22199 # check for ICE first), but we must link in the order -lSM -lICE or
22200 # we get undefined symbols. So assume we have SM if we have ICE.
22201 # These have to be linked with before -lX11, unlike the other
22202 # libraries we check for below, so use a different variable.
22203 # John Interrante, Karl Berry
22204 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22205echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22206if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22207 echo $ECHO_N "(cached) $ECHO_C" >&6
22208else
22209 ac_check_lib_save_LIBS=$LIBS
22210LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22211cat >conftest.$ac_ext <<_ACEOF
22212#line $LINENO "configure"
22213/* confdefs.h. */
22214_ACEOF
22215cat confdefs.h >>conftest.$ac_ext
22216cat >>conftest.$ac_ext <<_ACEOF
22217/* end confdefs.h. */
22218
22219/* Override any gcc2 internal prototype to avoid an error. */
22220#ifdef __cplusplus
22221extern "C"
22222#endif
22223/* We use char because int might match the return type of a gcc2
22224 builtin and then its argument prototype would still apply. */
22225char IceConnectionNumber ();
22226int
22227main ()
22228{
22229IceConnectionNumber ();
22230 ;
22231 return 0;
22232}
22233_ACEOF
22234rm -f conftest.$ac_objext conftest$ac_exeext
22235if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22236 (eval $ac_link) 2>&5
22237 ac_status=$?
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); } &&
22240 { ac_try='test -s conftest$ac_exeext'
22241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22242 (eval $ac_try) 2>&5
22243 ac_status=$?
22244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22245 (exit $ac_status); }; }; then
22246 ac_cv_lib_ICE_IceConnectionNumber=yes
22247else
22248 echo "$as_me: failed program was:" >&5
22249sed 's/^/| /' conftest.$ac_ext >&5
22250
22251ac_cv_lib_ICE_IceConnectionNumber=no
22252fi
22253rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22254LIBS=$ac_check_lib_save_LIBS
22255fi
22256echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22257echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22258if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22259 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22260fi
22261
22262 LDFLAGS=$ac_save_LDFLAGS
22263
22264fi
22265
22266
22267 if test "$no_x" = "yes"; then
22268 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22269echo "$as_me: error: X11 not found" >&2;}
22270 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22271 fi
22272
22273 GUI_TK_LIBRARY="$X_LIBS"
22274 TOOLKIT_INCLUDE="$X_CFLAGS"
22275 AFMINSTALL=afminstall
22276 COMPILED_X_PROGRAM=0
22277
22278 if test "$wxUSE_NANOX" = "yes"; then
22279 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22280echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22281 if test "x$MICROWIN" = x ; then
22282 echo "$as_me:$LINENO: result: not found" >&5
22283echo "${ECHO_T}not found" >&6
22284 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22285echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22286 { (exit 1); exit 1; }; }
22287 else
22288 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22289echo "${ECHO_T}$MICROWIN" >&6
22290 cat >>confdefs.h <<\_ACEOF
22291#define wxUSE_NANOX 1
22292_ACEOF
22293
22294 fi
22295 fi
22296
22297 xpm_link=
22298 echo "$as_me:$LINENO: checking for Xpm library" >&5
22299echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22300
22301ac_find_libraries=
22302for ac_dir in $SEARCH_LIB /usr/lib;
22303 do
22304 for ac_extension in a so sl dylib; do
22305 if test -f "$ac_dir/libXpm.$ac_extension"; then
22306 ac_find_libraries=$ac_dir
22307 break 2
22308 fi
22309 done
22310 done
22311
22312 if test "$ac_find_libraries" != "" ; then
22313
22314 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22315 result=$?
22316 if test $result = 0; then
22317 ac_path_to_link=""
22318 else
22319 ac_path_to_link=" -L$ac_find_libraries"
22320 fi
22321
22322 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22323 xpm_link=" -lXpm"
22324 cat >>confdefs.h <<\_ACEOF
22325#define wxHAVE_LIB_XPM 1
22326_ACEOF
22327
22328 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22329echo "${ECHO_T}found at $ac_find_libraries" >&6
22330 else
22331 cat >conftest.$ac_ext <<_ACEOF
22332#line $LINENO "configure"
22333/* confdefs.h. */
22334_ACEOF
22335cat confdefs.h >>conftest.$ac_ext
22336cat >>conftest.$ac_ext <<_ACEOF
22337/* end confdefs.h. */
22338
22339 #include <X11/xpm.h>
22340
22341int
22342main ()
22343{
22344
22345 int version;
22346 version = XpmLibraryVersion();
22347
22348 ;
22349 return 0;
22350}
22351_ACEOF
22352rm -f conftest.$ac_objext
22353if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22354 (eval $ac_compile) 2>&5
22355 ac_status=$?
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); } &&
22358 { ac_try='test -s conftest.$ac_objext'
22359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22360 (eval $ac_try) 2>&5
22361 ac_status=$?
22362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22363 (exit $ac_status); }; }; then
22364
22365 xpm_link=" -lXpm"
22366 cat >>confdefs.h <<\_ACEOF
22367#define wxHAVE_LIB_XPM 1
22368_ACEOF
22369
22370 echo "$as_me:$LINENO: result: found in default search path" >&5
22371echo "${ECHO_T}found in default search path" >&6
22372 COMPILED_X_PROGRAM=0
22373
22374else
22375 echo "$as_me: failed program was:" >&5
22376sed 's/^/| /' conftest.$ac_ext >&5
22377
22378
22379 echo "$as_me:$LINENO: result: no" >&5
22380echo "${ECHO_T}no" >&6
22381 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22382echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22383
22384
22385fi
22386rm -f conftest.$ac_objext conftest.$ac_ext
22387 fi
22388
22389 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22390echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22391if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22392 echo $ECHO_N "(cached) $ECHO_C" >&6
22393else
22394 ac_check_lib_save_LIBS=$LIBS
22395LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22396cat >conftest.$ac_ext <<_ACEOF
22397#line $LINENO "configure"
22398/* confdefs.h. */
22399_ACEOF
22400cat confdefs.h >>conftest.$ac_ext
22401cat >>conftest.$ac_ext <<_ACEOF
22402/* end confdefs.h. */
22403
22404/* Override any gcc2 internal prototype to avoid an error. */
22405#ifdef __cplusplus
22406extern "C"
22407#endif
22408/* We use char because int might match the return type of a gcc2
22409 builtin and then its argument prototype would still apply. */
22410char XShapeQueryExtension ();
22411int
22412main ()
22413{
22414XShapeQueryExtension ();
22415 ;
22416 return 0;
22417}
22418_ACEOF
22419rm -f conftest.$ac_objext conftest$ac_exeext
22420if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22421 (eval $ac_link) 2>&5
22422 ac_status=$?
22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424 (exit $ac_status); } &&
22425 { ac_try='test -s conftest$ac_exeext'
22426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22427 (eval $ac_try) 2>&5
22428 ac_status=$?
22429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22430 (exit $ac_status); }; }; then
22431 ac_cv_lib_Xext_XShapeQueryExtension=yes
22432else
22433 echo "$as_me: failed program was:" >&5
22434sed 's/^/| /' conftest.$ac_ext >&5
22435
22436ac_cv_lib_Xext_XShapeQueryExtension=no
22437fi
22438rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22439LIBS=$ac_check_lib_save_LIBS
22440fi
22441echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22442echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22443if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22444
22445 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22446 wxHAVE_XEXT_LIB=1
22447
22448fi
22449
22450
22451 if test "$wxUSE_UNICODE" = "yes"; then
22452
22453 succeeded=no
22454
22455 if test -z "$PKG_CONFIG"; then
22456 # Extract the first word of "pkg-config", so it can be a program name with args.
22457set dummy pkg-config; ac_word=$2
22458echo "$as_me:$LINENO: checking for $ac_word" >&5
22459echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22460if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22461 echo $ECHO_N "(cached) $ECHO_C" >&6
22462else
22463 case $PKG_CONFIG in
22464 [\\/]* | ?:[\\/]*)
22465 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22466 ;;
22467 *)
22468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22469for as_dir in $PATH
22470do
22471 IFS=$as_save_IFS
22472 test -z "$as_dir" && as_dir=.
22473 for ac_exec_ext in '' $ac_executable_extensions; do
22474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22475 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22477 break 2
22478 fi
22479done
22480done
22481
22482 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22483 ;;
22484esac
22485fi
22486PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22487
22488if test -n "$PKG_CONFIG"; then
22489 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22490echo "${ECHO_T}$PKG_CONFIG" >&6
22491else
22492 echo "$as_me:$LINENO: result: no" >&5
22493echo "${ECHO_T}no" >&6
22494fi
22495
22496 fi
22497
22498 if test "$PKG_CONFIG" = "no" ; then
22499 echo "*** The pkg-config script could not be found. Make sure it is"
22500 echo "*** in your path, or set the PKG_CONFIG environment variable"
22501 echo "*** to the full path to pkg-config."
22502 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22503 else
22504 PKG_CONFIG_MIN_VERSION=0.9.0
22505 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22506 echo "$as_me:$LINENO: checking for pangox" >&5
22507echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22508
22509 if $PKG_CONFIG --exists "pangox" ; then
22510 echo "$as_me:$LINENO: result: yes" >&5
22511echo "${ECHO_T}yes" >&6
22512 succeeded=yes
22513
22514 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22515echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22516 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22517 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22518echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22519
22520 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22521echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22522 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22523 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22524echo "${ECHO_T}$PANGOX_LIBS" >&6
22525 else
22526 PANGOX_CFLAGS=""
22527 PANGOX_LIBS=""
22528 ## If we have a custom action on failure, don't print errors, but
22529 ## do set a variable so people can do so.
22530 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22531
22532 fi
22533
22534
22535
22536 else
22537 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22538 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22539 fi
22540 fi
22541
22542 if test $succeeded = yes; then
22543
22544 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22545 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22546
22547 else
22548
22549 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22550echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22551 { (exit 1); exit 1; }; }
22552
22553
22554 fi
22555
22556
22557 succeeded=no
22558
22559 if test -z "$PKG_CONFIG"; then
22560 # Extract the first word of "pkg-config", so it can be a program name with args.
22561set dummy pkg-config; ac_word=$2
22562echo "$as_me:$LINENO: checking for $ac_word" >&5
22563echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22564if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22565 echo $ECHO_N "(cached) $ECHO_C" >&6
22566else
22567 case $PKG_CONFIG in
22568 [\\/]* | ?:[\\/]*)
22569 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22570 ;;
22571 *)
22572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22573for as_dir in $PATH
22574do
22575 IFS=$as_save_IFS
22576 test -z "$as_dir" && as_dir=.
22577 for ac_exec_ext in '' $ac_executable_extensions; do
22578 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22579 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22581 break 2
22582 fi
22583done
22584done
22585
22586 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22587 ;;
22588esac
22589fi
22590PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22591
22592if test -n "$PKG_CONFIG"; then
22593 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22594echo "${ECHO_T}$PKG_CONFIG" >&6
22595else
22596 echo "$as_me:$LINENO: result: no" >&5
22597echo "${ECHO_T}no" >&6
22598fi
22599
22600 fi
22601
22602 if test "$PKG_CONFIG" = "no" ; then
22603 echo "*** The pkg-config script could not be found. Make sure it is"
22604 echo "*** in your path, or set the PKG_CONFIG environment variable"
22605 echo "*** to the full path to pkg-config."
22606 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22607 else
22608 PKG_CONFIG_MIN_VERSION=0.9.0
22609 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22610 echo "$as_me:$LINENO: checking for pangoft2" >&5
22611echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22612
22613 if $PKG_CONFIG --exists "pangoft2" ; then
22614 echo "$as_me:$LINENO: result: yes" >&5
22615echo "${ECHO_T}yes" >&6
22616 succeeded=yes
22617
22618 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22619echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22620 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22621 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22622echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22623
22624 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22625echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22626 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22627 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22628echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22629 else
22630 PANGOFT2_CFLAGS=""
22631 PANGOFT2_LIBS=""
22632 ## If we have a custom action on failure, don't print errors, but
22633 ## do set a variable so people can do so.
22634 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22635
22636 fi
22637
22638
22639
22640 else
22641 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22642 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22643 fi
22644 fi
22645
22646 if test $succeeded = yes; then
22647
22648 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22649 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22650
22651 else
22652
22653 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22654echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22655 wxUSE_PRINTING_ARCHITECTURE="no"
22656
22657
22658 fi
22659
22660
22661 succeeded=no
22662
22663 if test -z "$PKG_CONFIG"; then
22664 # Extract the first word of "pkg-config", so it can be a program name with args.
22665set dummy pkg-config; ac_word=$2
22666echo "$as_me:$LINENO: checking for $ac_word" >&5
22667echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22668if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22669 echo $ECHO_N "(cached) $ECHO_C" >&6
22670else
22671 case $PKG_CONFIG in
22672 [\\/]* | ?:[\\/]*)
22673 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22674 ;;
22675 *)
22676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22677for as_dir in $PATH
22678do
22679 IFS=$as_save_IFS
22680 test -z "$as_dir" && as_dir=.
22681 for ac_exec_ext in '' $ac_executable_extensions; do
22682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22683 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22685 break 2
22686 fi
22687done
22688done
22689
22690 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22691 ;;
22692esac
22693fi
22694PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22695
22696if test -n "$PKG_CONFIG"; then
22697 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22698echo "${ECHO_T}$PKG_CONFIG" >&6
22699else
22700 echo "$as_me:$LINENO: result: no" >&5
22701echo "${ECHO_T}no" >&6
22702fi
22703
22704 fi
22705
22706 if test "$PKG_CONFIG" = "no" ; then
22707 echo "*** The pkg-config script could not be found. Make sure it is"
22708 echo "*** in your path, or set the PKG_CONFIG environment variable"
22709 echo "*** to the full path to pkg-config."
22710 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22711 else
22712 PKG_CONFIG_MIN_VERSION=0.9.0
22713 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22714 echo "$as_me:$LINENO: checking for pangoxft" >&5
22715echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22716
22717 if $PKG_CONFIG --exists "pangoxft" ; then
22718 echo "$as_me:$LINENO: result: yes" >&5
22719echo "${ECHO_T}yes" >&6
22720 succeeded=yes
22721
22722 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22723echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22724 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22725 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22726echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22727
22728 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22729echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22730 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22731 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22732echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22733 else
22734 PANGOXFT_CFLAGS=""
22735 PANGOXFT_LIBS=""
22736 ## If we have a custom action on failure, don't print errors, but
22737 ## do set a variable so people can do so.
22738 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22739
22740 fi
22741
22742
22743
22744 else
22745 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22746 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22747 fi
22748 fi
22749
22750 if test $succeeded = yes; then
22751
22752 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
22753 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22754
22755 else
22756
22757 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22758echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22759
22760
22761 fi
22762
22763 fi
22764
22765 wxUSE_UNIVERSAL="yes"
22766
22767 if test "$wxUSE_NANOX" = "yes"; then
22768 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22769 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"
22770 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22771 else
22772 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
22773 fi
22774
22775 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
22776 TOOLKIT=X11
22777 GUIDIST=X11_DIST
22778 fi
22779
22780 if test "$wxUSE_MOTIF" = 1; then
22781 if test "$no_x" = yes; then
22782 # Not all programs may use this symbol, but it does not hurt to define it.
22783
22784cat >>confdefs.h <<\_ACEOF
22785#define X_DISPLAY_MISSING 1
22786_ACEOF
22787
22788 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22789else
22790 if test -n "$x_includes"; then
22791 X_CFLAGS="$X_CFLAGS -I$x_includes"
22792 fi
22793
22794 # It would also be nice to do this for all -L options, not just this one.
22795 if test -n "$x_libraries"; then
22796 X_LIBS="$X_LIBS -L$x_libraries"
22797 # For Solaris; some versions of Sun CC require a space after -R and
22798 # others require no space. Words are not sufficient . . . .
22799 case `(uname -sr) 2>/dev/null` in
22800 "SunOS 5"*)
22801 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22802echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22803 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22804 cat >conftest.$ac_ext <<_ACEOF
22805#line $LINENO "configure"
22806/* confdefs.h. */
22807_ACEOF
22808cat confdefs.h >>conftest.$ac_ext
22809cat >>conftest.$ac_ext <<_ACEOF
22810/* end confdefs.h. */
22811
22812int
22813main ()
22814{
22815
22816 ;
22817 return 0;
22818}
22819_ACEOF
22820rm -f conftest.$ac_objext conftest$ac_exeext
22821if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22822 (eval $ac_link) 2>&5
22823 ac_status=$?
22824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22825 (exit $ac_status); } &&
22826 { ac_try='test -s conftest$ac_exeext'
22827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22828 (eval $ac_try) 2>&5
22829 ac_status=$?
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); }; }; then
22832 ac_R_nospace=yes
22833else
22834 echo "$as_me: failed program was:" >&5
22835sed 's/^/| /' conftest.$ac_ext >&5
22836
22837ac_R_nospace=no
22838fi
22839rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22840 if test $ac_R_nospace = yes; then
22841 echo "$as_me:$LINENO: result: no" >&5
22842echo "${ECHO_T}no" >&6
22843 X_LIBS="$X_LIBS -R$x_libraries"
22844 else
22845 LIBS="$ac_xsave_LIBS -R $x_libraries"
22846 cat >conftest.$ac_ext <<_ACEOF
22847#line $LINENO "configure"
22848/* confdefs.h. */
22849_ACEOF
22850cat confdefs.h >>conftest.$ac_ext
22851cat >>conftest.$ac_ext <<_ACEOF
22852/* end confdefs.h. */
22853
22854int
22855main ()
22856{
22857
22858 ;
22859 return 0;
22860}
22861_ACEOF
22862rm -f conftest.$ac_objext conftest$ac_exeext
22863if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22864 (eval $ac_link) 2>&5
22865 ac_status=$?
22866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867 (exit $ac_status); } &&
22868 { ac_try='test -s conftest$ac_exeext'
22869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22870 (eval $ac_try) 2>&5
22871 ac_status=$?
22872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22873 (exit $ac_status); }; }; then
22874 ac_R_space=yes
22875else
22876 echo "$as_me: failed program was:" >&5
22877sed 's/^/| /' conftest.$ac_ext >&5
22878
22879ac_R_space=no
22880fi
22881rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22882 if test $ac_R_space = yes; then
22883 echo "$as_me:$LINENO: result: yes" >&5
22884echo "${ECHO_T}yes" >&6
22885 X_LIBS="$X_LIBS -R $x_libraries"
22886 else
22887 echo "$as_me:$LINENO: result: neither works" >&5
22888echo "${ECHO_T}neither works" >&6
22889 fi
22890 fi
22891 LIBS=$ac_xsave_LIBS
22892 esac
22893 fi
22894
22895 # Check for system-dependent libraries X programs must link with.
22896 # Do this before checking for the system-independent R6 libraries
22897 # (-lICE), since we may need -lsocket or whatever for X linking.
22898
22899 if test "$ISC" = yes; then
22900 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22901 else
22902 # Martyn Johnson says this is needed for Ultrix, if the X
22903 # libraries were built with DECnet support. And Karl Berry says
22904 # the Alpha needs dnet_stub (dnet does not exist).
22905 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22906 cat >conftest.$ac_ext <<_ACEOF
22907#line $LINENO "configure"
22908/* confdefs.h. */
22909_ACEOF
22910cat confdefs.h >>conftest.$ac_ext
22911cat >>conftest.$ac_ext <<_ACEOF
22912/* end confdefs.h. */
22913
22914/* Override any gcc2 internal prototype to avoid an error. */
22915#ifdef __cplusplus
22916extern "C"
22917#endif
22918/* We use char because int might match the return type of a gcc2
22919 builtin and then its argument prototype would still apply. */
22920char XOpenDisplay ();
22921int
22922main ()
22923{
22924XOpenDisplay ();
22925 ;
22926 return 0;
22927}
22928_ACEOF
22929rm -f conftest.$ac_objext conftest$ac_exeext
22930if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22931 (eval $ac_link) 2>&5
22932 ac_status=$?
22933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22934 (exit $ac_status); } &&
22935 { ac_try='test -s conftest$ac_exeext'
22936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22937 (eval $ac_try) 2>&5
22938 ac_status=$?
22939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22940 (exit $ac_status); }; }; then
22941 :
22942else
22943 echo "$as_me: failed program was:" >&5
22944sed 's/^/| /' conftest.$ac_ext >&5
22945
22946echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22947echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22948if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22949 echo $ECHO_N "(cached) $ECHO_C" >&6
22950else
22951 ac_check_lib_save_LIBS=$LIBS
22952LIBS="-ldnet $LIBS"
22953cat >conftest.$ac_ext <<_ACEOF
22954#line $LINENO "configure"
22955/* confdefs.h. */
22956_ACEOF
22957cat confdefs.h >>conftest.$ac_ext
22958cat >>conftest.$ac_ext <<_ACEOF
22959/* end confdefs.h. */
22960
22961/* Override any gcc2 internal prototype to avoid an error. */
22962#ifdef __cplusplus
22963extern "C"
22964#endif
22965/* We use char because int might match the return type of a gcc2
22966 builtin and then its argument prototype would still apply. */
22967char dnet_ntoa ();
22968int
22969main ()
22970{
22971dnet_ntoa ();
22972 ;
22973 return 0;
22974}
22975_ACEOF
22976rm -f conftest.$ac_objext conftest$ac_exeext
22977if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22978 (eval $ac_link) 2>&5
22979 ac_status=$?
22980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22981 (exit $ac_status); } &&
22982 { ac_try='test -s conftest$ac_exeext'
22983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22984 (eval $ac_try) 2>&5
22985 ac_status=$?
22986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22987 (exit $ac_status); }; }; then
22988 ac_cv_lib_dnet_dnet_ntoa=yes
22989else
22990 echo "$as_me: failed program was:" >&5
22991sed 's/^/| /' conftest.$ac_ext >&5
22992
22993ac_cv_lib_dnet_dnet_ntoa=no
22994fi
22995rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22996LIBS=$ac_check_lib_save_LIBS
22997fi
22998echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22999echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23000if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23001 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23002fi
23003
23004 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23005 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23006echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23007if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23008 echo $ECHO_N "(cached) $ECHO_C" >&6
23009else
23010 ac_check_lib_save_LIBS=$LIBS
23011LIBS="-ldnet_stub $LIBS"
23012cat >conftest.$ac_ext <<_ACEOF
23013#line $LINENO "configure"
23014/* confdefs.h. */
23015_ACEOF
23016cat confdefs.h >>conftest.$ac_ext
23017cat >>conftest.$ac_ext <<_ACEOF
23018/* end confdefs.h. */
23019
23020/* Override any gcc2 internal prototype to avoid an error. */
23021#ifdef __cplusplus
23022extern "C"
23023#endif
23024/* We use char because int might match the return type of a gcc2
23025 builtin and then its argument prototype would still apply. */
23026char dnet_ntoa ();
23027int
23028main ()
23029{
23030dnet_ntoa ();
23031 ;
23032 return 0;
23033}
23034_ACEOF
23035rm -f conftest.$ac_objext conftest$ac_exeext
23036if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23037 (eval $ac_link) 2>&5
23038 ac_status=$?
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); } &&
23041 { ac_try='test -s conftest$ac_exeext'
23042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23043 (eval $ac_try) 2>&5
23044 ac_status=$?
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); }; }; then
23047 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23048else
23049 echo "$as_me: failed program was:" >&5
23050sed 's/^/| /' conftest.$ac_ext >&5
23051
23052ac_cv_lib_dnet_stub_dnet_ntoa=no
23053fi
23054rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23055LIBS=$ac_check_lib_save_LIBS
23056fi
23057echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23058echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23059if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23060 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23061fi
23062
23063 fi
23064fi
23065rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23066 LIBS="$ac_xsave_LIBS"
23067
23068 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23069 # to get the SysV transport functions.
23070 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23071 # needs -lnsl.
23072 # The nsl library prevents programs from opening the X display
23073 # on Irix 5.2, according to T.E. Dickey.
23074 # The functions gethostbyname, getservbyname, and inet_addr are
23075 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23076 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23077echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23078if test "${ac_cv_func_gethostbyname+set}" = set; then
23079 echo $ECHO_N "(cached) $ECHO_C" >&6
23080else
23081 cat >conftest.$ac_ext <<_ACEOF
23082#line $LINENO "configure"
23083/* confdefs.h. */
23084_ACEOF
23085cat confdefs.h >>conftest.$ac_ext
23086cat >>conftest.$ac_ext <<_ACEOF
23087/* end confdefs.h. */
23088/* System header to define __stub macros and hopefully few prototypes,
23089 which can conflict with char gethostbyname (); below.
23090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23091 <limits.h> exists even on freestanding compilers. */
23092#ifdef __STDC__
23093# include <limits.h>
23094#else
23095# include <assert.h>
23096#endif
23097/* Override any gcc2 internal prototype to avoid an error. */
23098#ifdef __cplusplus
23099extern "C"
23100{
23101#endif
23102/* We use char because int might match the return type of a gcc2
23103 builtin and then its argument prototype would still apply. */
23104char gethostbyname ();
23105/* The GNU C library defines this for functions which it implements
23106 to always fail with ENOSYS. Some functions are actually named
23107 something starting with __ and the normal name is an alias. */
23108#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23109choke me
23110#else
23111char (*f) () = gethostbyname;
23112#endif
23113#ifdef __cplusplus
23114}
23115#endif
23116
23117int
23118main ()
23119{
23120return f != gethostbyname;
23121 ;
23122 return 0;
23123}
23124_ACEOF
23125rm -f conftest.$ac_objext conftest$ac_exeext
23126if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23127 (eval $ac_link) 2>&5
23128 ac_status=$?
23129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23130 (exit $ac_status); } &&
23131 { ac_try='test -s conftest$ac_exeext'
23132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23133 (eval $ac_try) 2>&5
23134 ac_status=$?
23135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23136 (exit $ac_status); }; }; then
23137 ac_cv_func_gethostbyname=yes
23138else
23139 echo "$as_me: failed program was:" >&5
23140sed 's/^/| /' conftest.$ac_ext >&5
23141
23142ac_cv_func_gethostbyname=no
23143fi
23144rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23145fi
23146echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23147echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23148
23149 if test $ac_cv_func_gethostbyname = no; then
23150 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23151echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23152if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23153 echo $ECHO_N "(cached) $ECHO_C" >&6
23154else
23155 ac_check_lib_save_LIBS=$LIBS
23156LIBS="-lnsl $LIBS"
23157cat >conftest.$ac_ext <<_ACEOF
23158#line $LINENO "configure"
23159/* confdefs.h. */
23160_ACEOF
23161cat confdefs.h >>conftest.$ac_ext
23162cat >>conftest.$ac_ext <<_ACEOF
23163/* end confdefs.h. */
23164
23165/* Override any gcc2 internal prototype to avoid an error. */
23166#ifdef __cplusplus
23167extern "C"
23168#endif
23169/* We use char because int might match the return type of a gcc2
23170 builtin and then its argument prototype would still apply. */
23171char gethostbyname ();
23172int
23173main ()
23174{
23175gethostbyname ();
23176 ;
23177 return 0;
23178}
23179_ACEOF
23180rm -f conftest.$ac_objext conftest$ac_exeext
23181if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23182 (eval $ac_link) 2>&5
23183 ac_status=$?
23184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23185 (exit $ac_status); } &&
23186 { ac_try='test -s conftest$ac_exeext'
23187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23188 (eval $ac_try) 2>&5
23189 ac_status=$?
23190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23191 (exit $ac_status); }; }; then
23192 ac_cv_lib_nsl_gethostbyname=yes
23193else
23194 echo "$as_me: failed program was:" >&5
23195sed 's/^/| /' conftest.$ac_ext >&5
23196
23197ac_cv_lib_nsl_gethostbyname=no
23198fi
23199rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23200LIBS=$ac_check_lib_save_LIBS
23201fi
23202echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23203echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23204if test $ac_cv_lib_nsl_gethostbyname = yes; then
23205 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23206fi
23207
23208 if test $ac_cv_lib_nsl_gethostbyname = no; then
23209 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23210echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23211if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23212 echo $ECHO_N "(cached) $ECHO_C" >&6
23213else
23214 ac_check_lib_save_LIBS=$LIBS
23215LIBS="-lbsd $LIBS"
23216cat >conftest.$ac_ext <<_ACEOF
23217#line $LINENO "configure"
23218/* confdefs.h. */
23219_ACEOF
23220cat confdefs.h >>conftest.$ac_ext
23221cat >>conftest.$ac_ext <<_ACEOF
23222/* end confdefs.h. */
23223
23224/* Override any gcc2 internal prototype to avoid an error. */
23225#ifdef __cplusplus
23226extern "C"
23227#endif
23228/* We use char because int might match the return type of a gcc2
23229 builtin and then its argument prototype would still apply. */
23230char gethostbyname ();
23231int
23232main ()
23233{
23234gethostbyname ();
23235 ;
23236 return 0;
23237}
23238_ACEOF
23239rm -f conftest.$ac_objext conftest$ac_exeext
23240if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23241 (eval $ac_link) 2>&5
23242 ac_status=$?
23243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23244 (exit $ac_status); } &&
23245 { ac_try='test -s conftest$ac_exeext'
23246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23247 (eval $ac_try) 2>&5
23248 ac_status=$?
23249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23250 (exit $ac_status); }; }; then
23251 ac_cv_lib_bsd_gethostbyname=yes
23252else
23253 echo "$as_me: failed program was:" >&5
23254sed 's/^/| /' conftest.$ac_ext >&5
23255
23256ac_cv_lib_bsd_gethostbyname=no
23257fi
23258rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23259LIBS=$ac_check_lib_save_LIBS
23260fi
23261echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23262echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23263if test $ac_cv_lib_bsd_gethostbyname = yes; then
23264 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23265fi
23266
23267 fi
23268 fi
23269
23270 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23271 # socket/setsockopt and other routines are undefined under SCO ODT
23272 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23273 # on later versions), says Simon Leinen: it contains gethostby*
23274 # variants that don't use the name server (or something). -lsocket
23275 # must be given before -lnsl if both are needed. We assume that
23276 # if connect needs -lnsl, so does gethostbyname.
23277 echo "$as_me:$LINENO: checking for connect" >&5
23278echo $ECHO_N "checking for connect... $ECHO_C" >&6
23279if test "${ac_cv_func_connect+set}" = set; then
23280 echo $ECHO_N "(cached) $ECHO_C" >&6
23281else
23282 cat >conftest.$ac_ext <<_ACEOF
23283#line $LINENO "configure"
23284/* confdefs.h. */
23285_ACEOF
23286cat confdefs.h >>conftest.$ac_ext
23287cat >>conftest.$ac_ext <<_ACEOF
23288/* end confdefs.h. */
23289/* System header to define __stub macros and hopefully few prototypes,
23290 which can conflict with char connect (); below.
23291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23292 <limits.h> exists even on freestanding compilers. */
23293#ifdef __STDC__
23294# include <limits.h>
23295#else
23296# include <assert.h>
23297#endif
23298/* Override any gcc2 internal prototype to avoid an error. */
23299#ifdef __cplusplus
23300extern "C"
23301{
23302#endif
23303/* We use char because int might match the return type of a gcc2
23304 builtin and then its argument prototype would still apply. */
23305char connect ();
23306/* The GNU C library defines this for functions which it implements
23307 to always fail with ENOSYS. Some functions are actually named
23308 something starting with __ and the normal name is an alias. */
23309#if defined (__stub_connect) || defined (__stub___connect)
23310choke me
23311#else
23312char (*f) () = connect;
23313#endif
23314#ifdef __cplusplus
23315}
23316#endif
23317
23318int
23319main ()
23320{
23321return f != connect;
23322 ;
23323 return 0;
23324}
23325_ACEOF
23326rm -f conftest.$ac_objext conftest$ac_exeext
23327if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23328 (eval $ac_link) 2>&5
23329 ac_status=$?
23330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23331 (exit $ac_status); } &&
23332 { ac_try='test -s conftest$ac_exeext'
23333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23334 (eval $ac_try) 2>&5
23335 ac_status=$?
23336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23337 (exit $ac_status); }; }; then
23338 ac_cv_func_connect=yes
23339else
23340 echo "$as_me: failed program was:" >&5
23341sed 's/^/| /' conftest.$ac_ext >&5
23342
23343ac_cv_func_connect=no
23344fi
23345rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23346fi
23347echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23348echo "${ECHO_T}$ac_cv_func_connect" >&6
23349
23350 if test $ac_cv_func_connect = no; then
23351 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23352echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23353if test "${ac_cv_lib_socket_connect+set}" = set; then
23354 echo $ECHO_N "(cached) $ECHO_C" >&6
23355else
23356 ac_check_lib_save_LIBS=$LIBS
23357LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23358cat >conftest.$ac_ext <<_ACEOF
23359#line $LINENO "configure"
23360/* confdefs.h. */
23361_ACEOF
23362cat confdefs.h >>conftest.$ac_ext
23363cat >>conftest.$ac_ext <<_ACEOF
23364/* end confdefs.h. */
23365
23366/* Override any gcc2 internal prototype to avoid an error. */
23367#ifdef __cplusplus
23368extern "C"
23369#endif
23370/* We use char because int might match the return type of a gcc2
23371 builtin and then its argument prototype would still apply. */
23372char connect ();
23373int
23374main ()
23375{
23376connect ();
23377 ;
23378 return 0;
23379}
23380_ACEOF
23381rm -f conftest.$ac_objext conftest$ac_exeext
23382if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23383 (eval $ac_link) 2>&5
23384 ac_status=$?
23385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23386 (exit $ac_status); } &&
23387 { ac_try='test -s conftest$ac_exeext'
23388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23389 (eval $ac_try) 2>&5
23390 ac_status=$?
23391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23392 (exit $ac_status); }; }; then
23393 ac_cv_lib_socket_connect=yes
23394else
23395 echo "$as_me: failed program was:" >&5
23396sed 's/^/| /' conftest.$ac_ext >&5
23397
23398ac_cv_lib_socket_connect=no
23399fi
23400rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23401LIBS=$ac_check_lib_save_LIBS
23402fi
23403echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23404echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23405if test $ac_cv_lib_socket_connect = yes; then
23406 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23407fi
23408
23409 fi
23410
23411 # Guillermo Gomez says -lposix is necessary on A/UX.
23412 echo "$as_me:$LINENO: checking for remove" >&5
23413echo $ECHO_N "checking for remove... $ECHO_C" >&6
23414if test "${ac_cv_func_remove+set}" = set; then
23415 echo $ECHO_N "(cached) $ECHO_C" >&6
23416else
23417 cat >conftest.$ac_ext <<_ACEOF
23418#line $LINENO "configure"
23419/* confdefs.h. */
23420_ACEOF
23421cat confdefs.h >>conftest.$ac_ext
23422cat >>conftest.$ac_ext <<_ACEOF
23423/* end confdefs.h. */
23424/* System header to define __stub macros and hopefully few prototypes,
23425 which can conflict with char remove (); below.
23426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23427 <limits.h> exists even on freestanding compilers. */
23428#ifdef __STDC__
23429# include <limits.h>
23430#else
23431# include <assert.h>
23432#endif
23433/* Override any gcc2 internal prototype to avoid an error. */
23434#ifdef __cplusplus
23435extern "C"
23436{
23437#endif
23438/* We use char because int might match the return type of a gcc2
23439 builtin and then its argument prototype would still apply. */
23440char remove ();
23441/* The GNU C library defines this for functions which it implements
23442 to always fail with ENOSYS. Some functions are actually named
23443 something starting with __ and the normal name is an alias. */
23444#if defined (__stub_remove) || defined (__stub___remove)
23445choke me
23446#else
23447char (*f) () = remove;
23448#endif
23449#ifdef __cplusplus
23450}
23451#endif
23452
23453int
23454main ()
23455{
23456return f != remove;
23457 ;
23458 return 0;
23459}
23460_ACEOF
23461rm -f conftest.$ac_objext conftest$ac_exeext
23462if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23463 (eval $ac_link) 2>&5
23464 ac_status=$?
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); } &&
23467 { ac_try='test -s conftest$ac_exeext'
23468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23469 (eval $ac_try) 2>&5
23470 ac_status=$?
23471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472 (exit $ac_status); }; }; then
23473 ac_cv_func_remove=yes
23474else
23475 echo "$as_me: failed program was:" >&5
23476sed 's/^/| /' conftest.$ac_ext >&5
23477
23478ac_cv_func_remove=no
23479fi
23480rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23481fi
23482echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23483echo "${ECHO_T}$ac_cv_func_remove" >&6
23484
23485 if test $ac_cv_func_remove = no; then
23486 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23487echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23488if test "${ac_cv_lib_posix_remove+set}" = set; then
23489 echo $ECHO_N "(cached) $ECHO_C" >&6
23490else
23491 ac_check_lib_save_LIBS=$LIBS
23492LIBS="-lposix $LIBS"
23493cat >conftest.$ac_ext <<_ACEOF
23494#line $LINENO "configure"
23495/* confdefs.h. */
23496_ACEOF
23497cat confdefs.h >>conftest.$ac_ext
23498cat >>conftest.$ac_ext <<_ACEOF
23499/* end confdefs.h. */
23500
23501/* Override any gcc2 internal prototype to avoid an error. */
23502#ifdef __cplusplus
23503extern "C"
23504#endif
23505/* We use char because int might match the return type of a gcc2
23506 builtin and then its argument prototype would still apply. */
23507char remove ();
23508int
23509main ()
23510{
23511remove ();
23512 ;
23513 return 0;
23514}
23515_ACEOF
23516rm -f conftest.$ac_objext conftest$ac_exeext
23517if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23518 (eval $ac_link) 2>&5
23519 ac_status=$?
23520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23521 (exit $ac_status); } &&
23522 { ac_try='test -s conftest$ac_exeext'
23523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23524 (eval $ac_try) 2>&5
23525 ac_status=$?
23526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23527 (exit $ac_status); }; }; then
23528 ac_cv_lib_posix_remove=yes
23529else
23530 echo "$as_me: failed program was:" >&5
23531sed 's/^/| /' conftest.$ac_ext >&5
23532
23533ac_cv_lib_posix_remove=no
23534fi
23535rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23536LIBS=$ac_check_lib_save_LIBS
23537fi
23538echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23539echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23540if test $ac_cv_lib_posix_remove = yes; then
23541 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23542fi
23543
23544 fi
23545
23546 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23547 echo "$as_me:$LINENO: checking for shmat" >&5
23548echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23549if test "${ac_cv_func_shmat+set}" = set; then
23550 echo $ECHO_N "(cached) $ECHO_C" >&6
23551else
23552 cat >conftest.$ac_ext <<_ACEOF
23553#line $LINENO "configure"
23554/* confdefs.h. */
23555_ACEOF
23556cat confdefs.h >>conftest.$ac_ext
23557cat >>conftest.$ac_ext <<_ACEOF
23558/* end confdefs.h. */
23559/* System header to define __stub macros and hopefully few prototypes,
23560 which can conflict with char shmat (); below.
23561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23562 <limits.h> exists even on freestanding compilers. */
23563#ifdef __STDC__
23564# include <limits.h>
23565#else
23566# include <assert.h>
23567#endif
23568/* Override any gcc2 internal prototype to avoid an error. */
23569#ifdef __cplusplus
23570extern "C"
23571{
23572#endif
23573/* We use char because int might match the return type of a gcc2
23574 builtin and then its argument prototype would still apply. */
23575char shmat ();
23576/* The GNU C library defines this for functions which it implements
23577 to always fail with ENOSYS. Some functions are actually named
23578 something starting with __ and the normal name is an alias. */
23579#if defined (__stub_shmat) || defined (__stub___shmat)
23580choke me
23581#else
23582char (*f) () = shmat;
23583#endif
23584#ifdef __cplusplus
23585}
23586#endif
23587
23588int
23589main ()
23590{
23591return f != shmat;
23592 ;
23593 return 0;
23594}
23595_ACEOF
23596rm -f conftest.$ac_objext conftest$ac_exeext
23597if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23598 (eval $ac_link) 2>&5
23599 ac_status=$?
23600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23601 (exit $ac_status); } &&
23602 { ac_try='test -s conftest$ac_exeext'
23603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23604 (eval $ac_try) 2>&5
23605 ac_status=$?
23606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23607 (exit $ac_status); }; }; then
23608 ac_cv_func_shmat=yes
23609else
23610 echo "$as_me: failed program was:" >&5
23611sed 's/^/| /' conftest.$ac_ext >&5
23612
23613ac_cv_func_shmat=no
23614fi
23615rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23616fi
23617echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23618echo "${ECHO_T}$ac_cv_func_shmat" >&6
23619
23620 if test $ac_cv_func_shmat = no; then
23621 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23622echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23623if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23624 echo $ECHO_N "(cached) $ECHO_C" >&6
23625else
23626 ac_check_lib_save_LIBS=$LIBS
23627LIBS="-lipc $LIBS"
23628cat >conftest.$ac_ext <<_ACEOF
23629#line $LINENO "configure"
23630/* confdefs.h. */
23631_ACEOF
23632cat confdefs.h >>conftest.$ac_ext
23633cat >>conftest.$ac_ext <<_ACEOF
23634/* end confdefs.h. */
23635
23636/* Override any gcc2 internal prototype to avoid an error. */
23637#ifdef __cplusplus
23638extern "C"
23639#endif
23640/* We use char because int might match the return type of a gcc2
23641 builtin and then its argument prototype would still apply. */
23642char shmat ();
23643int
23644main ()
23645{
23646shmat ();
23647 ;
23648 return 0;
23649}
23650_ACEOF
23651rm -f conftest.$ac_objext conftest$ac_exeext
23652if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23653 (eval $ac_link) 2>&5
23654 ac_status=$?
23655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23656 (exit $ac_status); } &&
23657 { ac_try='test -s conftest$ac_exeext'
23658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23659 (eval $ac_try) 2>&5
23660 ac_status=$?
23661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23662 (exit $ac_status); }; }; then
23663 ac_cv_lib_ipc_shmat=yes
23664else
23665 echo "$as_me: failed program was:" >&5
23666sed 's/^/| /' conftest.$ac_ext >&5
23667
23668ac_cv_lib_ipc_shmat=no
23669fi
23670rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23671LIBS=$ac_check_lib_save_LIBS
23672fi
23673echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23674echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23675if test $ac_cv_lib_ipc_shmat = yes; then
23676 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23677fi
23678
23679 fi
23680 fi
23681
23682 # Check for libraries that X11R6 Xt/Xaw programs need.
23683 ac_save_LDFLAGS=$LDFLAGS
23684 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23685 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23686 # check for ICE first), but we must link in the order -lSM -lICE or
23687 # we get undefined symbols. So assume we have SM if we have ICE.
23688 # These have to be linked with before -lX11, unlike the other
23689 # libraries we check for below, so use a different variable.
23690 # John Interrante, Karl Berry
23691 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23692echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23693if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23694 echo $ECHO_N "(cached) $ECHO_C" >&6
23695else
23696 ac_check_lib_save_LIBS=$LIBS
23697LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23698cat >conftest.$ac_ext <<_ACEOF
23699#line $LINENO "configure"
23700/* confdefs.h. */
23701_ACEOF
23702cat confdefs.h >>conftest.$ac_ext
23703cat >>conftest.$ac_ext <<_ACEOF
23704/* end confdefs.h. */
23705
23706/* Override any gcc2 internal prototype to avoid an error. */
23707#ifdef __cplusplus
23708extern "C"
23709#endif
23710/* We use char because int might match the return type of a gcc2
23711 builtin and then its argument prototype would still apply. */
23712char IceConnectionNumber ();
23713int
23714main ()
23715{
23716IceConnectionNumber ();
23717 ;
23718 return 0;
23719}
23720_ACEOF
23721rm -f conftest.$ac_objext conftest$ac_exeext
23722if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23723 (eval $ac_link) 2>&5
23724 ac_status=$?
23725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23726 (exit $ac_status); } &&
23727 { ac_try='test -s conftest$ac_exeext'
23728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23729 (eval $ac_try) 2>&5
23730 ac_status=$?
23731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23732 (exit $ac_status); }; }; then
23733 ac_cv_lib_ICE_IceConnectionNumber=yes
23734else
23735 echo "$as_me: failed program was:" >&5
23736sed 's/^/| /' conftest.$ac_ext >&5
23737
23738ac_cv_lib_ICE_IceConnectionNumber=no
23739fi
23740rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23741LIBS=$ac_check_lib_save_LIBS
23742fi
23743echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23744echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23745if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23746 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23747fi
23748
23749 LDFLAGS=$ac_save_LDFLAGS
23750
23751fi
23752
23753
23754 if test "$no_x" = "yes"; then
23755 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23756echo "$as_me: error: X11 not found" >&2;}
23757 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23758 fi
23759
23760 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
23761 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
23762 AFMINSTALL=afminstall
23763 COMPILED_X_PROGRAM=0
23764
23765 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23766echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23767
23768ac_find_includes=
23769for ac_dir in $SEARCH_INCLUDE /usr/include;
23770 do
23771 if test -f "$ac_dir/Xm/Xm.h"; then
23772 ac_find_includes=$ac_dir
23773 break
23774 fi
23775 done
23776
23777 if test "$ac_find_includes" != "" ; then
23778 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23779echo "${ECHO_T}found in $ac_find_includes" >&6
23780
23781 if test "x$ac_find_includes" = "x/usr/include"; then
23782 ac_path_to_include=""
23783 else
23784 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
23785 result=$?
23786 if test $result = 0; then
23787 ac_path_to_include=""
23788 else
23789 ac_path_to_include=" -I$ac_find_includes"
23790 fi
23791 fi
23792
23793 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
23794 else
23795 cat >conftest.$ac_ext <<_ACEOF
23796#line $LINENO "configure"
23797/* confdefs.h. */
23798_ACEOF
23799cat confdefs.h >>conftest.$ac_ext
23800cat >>conftest.$ac_ext <<_ACEOF
23801/* end confdefs.h. */
23802
23803 #include <Xm/Xm.h>
23804
23805int
23806main ()
23807{
23808
23809 int version;
23810 version = xmUseVersion;
23811
23812 ;
23813 return 0;
23814}
23815_ACEOF
23816rm -f conftest.$ac_objext
23817if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23818 (eval $ac_compile) 2>&5
23819 ac_status=$?
23820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23821 (exit $ac_status); } &&
23822 { ac_try='test -s conftest.$ac_objext'
23823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23824 (eval $ac_try) 2>&5
23825 ac_status=$?
23826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23827 (exit $ac_status); }; }; then
23828
23829 echo "$as_me:$LINENO: result: found in default search path" >&5
23830echo "${ECHO_T}found in default search path" >&6
23831 COMPILED_X_PROGRAM=1
23832
23833else
23834 echo "$as_me: failed program was:" >&5
23835sed 's/^/| /' conftest.$ac_ext >&5
23836
23837
23838 echo "$as_me:$LINENO: result: no" >&5
23839echo "${ECHO_T}no" >&6
23840 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23841echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23842 { (exit 1); exit 1; }; }
23843
23844
23845fi
23846rm -f conftest.$ac_objext conftest.$ac_ext
23847 fi
23848
23849 if test "$COMPILED_X_PROGRAM" = 0; then
23850 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23851echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23852
23853ac_find_libraries=
23854for ac_dir in $SEARCH_LIB /usr/lib;
23855 do
23856 for ac_extension in a so sl dylib; do
23857 if test -f "$ac_dir/libXm.$ac_extension"; then
23858 ac_find_libraries=$ac_dir
23859 break 2
23860 fi
23861 done
23862 done
23863
23864 if test "$ac_find_libraries" != "" ; then
23865 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23866echo "${ECHO_T}found at $ac_find_libraries" >&6
23867
23868
23869 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23870 result=$?
23871 if test $result = 0; then
23872 ac_path_to_link=""
23873 else
23874 ac_path_to_link=" -L$ac_find_libraries"
23875 fi
23876
23877 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23878 else
23879 save_CFLAGS=$CFLAGS
23880 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23881
23882 cat >conftest.$ac_ext <<_ACEOF
23883#line $LINENO "configure"
23884/* confdefs.h. */
23885_ACEOF
23886cat confdefs.h >>conftest.$ac_ext
23887cat >>conftest.$ac_ext <<_ACEOF
23888/* end confdefs.h. */
23889
23890 #include <Xm/Xm.h>
23891
23892int
23893main ()
23894{
23895
23896 int version;
23897 version = xmUseVersion;
23898
23899 ;
23900 return 0;
23901}
23902_ACEOF
23903rm -f conftest.$ac_objext
23904if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23905 (eval $ac_compile) 2>&5
23906 ac_status=$?
23907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23908 (exit $ac_status); } &&
23909 { ac_try='test -s conftest.$ac_objext'
23910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23911 (eval $ac_try) 2>&5
23912 ac_status=$?
23913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23914 (exit $ac_status); }; }; then
23915
23916 echo "$as_me:$LINENO: result: found in default search path" >&5
23917echo "${ECHO_T}found in default search path" >&6
23918 COMPILED_X_PROGRAM=1
23919
23920else
23921 echo "$as_me: failed program was:" >&5
23922sed 's/^/| /' conftest.$ac_ext >&5
23923
23924
23925 echo "$as_me:$LINENO: result: no" >&5
23926echo "${ECHO_T}no" >&6
23927 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23928echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23929 { (exit 1); exit 1; }; }
23930
23931
23932fi
23933rm -f conftest.$ac_objext conftest.$ac_ext
23934
23935 CFLAGS=$save_CFLAGS
23936 fi
23937 fi
23938
23939 xpm_link=
23940 echo "$as_me:$LINENO: checking for Xpm library" >&5
23941echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23942
23943ac_find_libraries=
23944for ac_dir in $SEARCH_LIB /usr/lib;
23945 do
23946 for ac_extension in a so sl dylib; do
23947 if test -f "$ac_dir/libXpm.$ac_extension"; then
23948 ac_find_libraries=$ac_dir
23949 break 2
23950 fi
23951 done
23952 done
23953
23954 if test "$ac_find_libraries" != "" ; then
23955
23956 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23957 result=$?
23958 if test $result = 0; then
23959 ac_path_to_link=""
23960 else
23961 ac_path_to_link=" -L$ac_find_libraries"
23962 fi
23963
23964 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23965
23966 xpm_link=" -lXpm"
23967 cat >>confdefs.h <<\_ACEOF
23968#define wxHAVE_LIB_XPM 1
23969_ACEOF
23970
23971 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23972echo "${ECHO_T}found at $ac_find_libraries" >&6
23973 else
23974 save_CFLAGS=$CFLAGS
23975 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23976
23977 cat >conftest.$ac_ext <<_ACEOF
23978#line $LINENO "configure"
23979/* confdefs.h. */
23980_ACEOF
23981cat confdefs.h >>conftest.$ac_ext
23982cat >>conftest.$ac_ext <<_ACEOF
23983/* end confdefs.h. */
23984
23985 #include <X11/xpm.h>
23986
23987int
23988main ()
23989{
23990
23991 int version;
23992 version = XpmLibraryVersion();
23993
23994 ;
23995 return 0;
23996}
23997_ACEOF
23998rm -f conftest.$ac_objext
23999if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24000 (eval $ac_compile) 2>&5
24001 ac_status=$?
24002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24003 (exit $ac_status); } &&
24004 { ac_try='test -s conftest.$ac_objext'
24005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24006 (eval $ac_try) 2>&5
24007 ac_status=$?
24008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24009 (exit $ac_status); }; }; then
24010
24011 xpm_link=" -lXpm"
24012 cat >>confdefs.h <<\_ACEOF
24013#define wxHAVE_LIB_XPM 1
24014_ACEOF
24015
24016 echo "$as_me:$LINENO: result: found in default search path" >&5
24017echo "${ECHO_T}found in default search path" >&6
24018 COMPILED_X_PROGRAM=0
24019
24020else
24021 echo "$as_me: failed program was:" >&5
24022sed 's/^/| /' conftest.$ac_ext >&5
24023
24024
24025 echo "$as_me:$LINENO: result: no" >&5
24026echo "${ECHO_T}no" >&6
24027 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24028echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24029
24030
24031fi
24032rm -f conftest.$ac_objext conftest.$ac_ext
24033
24034 CFLAGS=$save_CFLAGS
24035 fi
24036
24037 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24038echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24039 libp_link=""
24040 libsm_ice_link=""
24041 libs_found=0
24042 for libp in "" " -lXp"; do
24043 if test "$libs_found" = "0"; then
24044 for libsm_ice in " -lSM -lICE"; do
24045 if test "$libs_found" = "0"; then
24046 save_LIBS="$LIBS"
24047 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24048 save_CFLAGS=$CFLAGS
24049 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24050
24051 cat >conftest.$ac_ext <<_ACEOF
24052#line $LINENO "configure"
24053/* confdefs.h. */
24054_ACEOF
24055cat confdefs.h >>conftest.$ac_ext
24056cat >>conftest.$ac_ext <<_ACEOF
24057/* end confdefs.h. */
24058
24059 #include <Xm/Xm.h>
24060 #include <Xm/List.h>
24061
24062int
24063main ()
24064{
24065
24066 XmString string = NULL;
24067 Widget w = NULL;
24068 int position = 0;
24069 XmListAddItem(w, string, position);
24070
24071 ;
24072 return 0;
24073}
24074_ACEOF
24075rm -f conftest.$ac_objext conftest$ac_exeext
24076if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24077 (eval $ac_link) 2>&5
24078 ac_status=$?
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); } &&
24081 { ac_try='test -s conftest$ac_exeext'
24082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24083 (eval $ac_try) 2>&5
24084 ac_status=$?
24085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24086 (exit $ac_status); }; }; then
24087
24088 libp_link="$libp"
24089 libsm_ice_link="$libsm_ice"
24090 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24091echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24092 libs_found=1
24093
24094else
24095 echo "$as_me: failed program was:" >&5
24096sed 's/^/| /' conftest.$ac_ext >&5
24097
24098
24099
24100fi
24101rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24102
24103 LIBS="$save_LIBS"
24104 CFLAGS=$save_CFLAGS
24105 fi
24106 done
24107 fi
24108 done
24109
24110 if test "$libs_found" = "0"; then
24111 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24112echo "${ECHO_T}can't find the right libraries" >&6
24113 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24114echo "$as_me: error: can't link a simple motif program" >&2;}
24115 { (exit 1); exit 1; }; }
24116 fi
24117
24118 save_CFLAGS=$CFLAGS
24119 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24120 echo "$as_me:$LINENO: checking for Motif 2" >&5
24121echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24122 cat >conftest.$ac_ext <<_ACEOF
24123#line $LINENO "configure"
24124/* confdefs.h. */
24125_ACEOF
24126cat confdefs.h >>conftest.$ac_ext
24127cat >>conftest.$ac_ext <<_ACEOF
24128/* end confdefs.h. */
24129
24130 #include <Xm/Xm.h>
24131
24132int
24133main ()
24134{
24135
24136 #if XmVersion < 2000
24137 #error "Not Motif 2"
24138 #endif
24139
24140 ;
24141 return 0;
24142}
24143_ACEOF
24144rm -f conftest.$ac_objext
24145if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24146 (eval $ac_compile) 2>&5
24147 ac_status=$?
24148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24149 (exit $ac_status); } &&
24150 { ac_try='test -s conftest.$ac_objext'
24151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24152 (eval $ac_try) 2>&5
24153 ac_status=$?
24154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24155 (exit $ac_status); }; }; then
24156
24157 cat >>confdefs.h <<\_ACEOF
24158#define __WXMOTIF20__ 1
24159_ACEOF
24160
24161 echo "$as_me:$LINENO: result: found" >&5
24162echo "${ECHO_T}found" >&6
24163
24164else
24165 echo "$as_me: failed program was:" >&5
24166sed 's/^/| /' conftest.$ac_ext >&5
24167
24168
24169 cat >>confdefs.h <<\_ACEOF
24170#define __WXMOTIF20__ 0
24171_ACEOF
24172
24173 echo "$as_me:$LINENO: result: not found" >&5
24174echo "${ECHO_T}not found" >&6
24175
24176fi
24177rm -f conftest.$ac_objext conftest.$ac_ext
24178 CFLAGS=$save_CFLAGS
24179
24180 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24181 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24182 TOOLKIT=MOTIF
24183 GUIDIST=MOTIF_DIST
24184 wxHAVE_XEXT_LIB=1
24185 fi
24186
24187 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24188 test "$wxHAVE_XEXT_LIB" = 1; then
24189 save_CFLAGS="$CFLAGS"
24190 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24191
24192 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24193echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24194 cat >conftest.$ac_ext <<_ACEOF
24195#line $LINENO "configure"
24196/* confdefs.h. */
24197_ACEOF
24198cat confdefs.h >>conftest.$ac_ext
24199cat >>conftest.$ac_ext <<_ACEOF
24200/* end confdefs.h. */
24201
24202 #include <X11/Xlib.h>
24203 #include <X11/extensions/shape.h>
24204
24205int
24206main ()
24207{
24208
24209 int dummy1, dummy2;
24210 XShapeQueryExtension((Display*)NULL,
24211 (int*)NULL, (int*)NULL);
24212
24213 ;
24214 return 0;
24215}
24216_ACEOF
24217rm -f conftest.$ac_objext
24218if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24219 (eval $ac_compile) 2>&5
24220 ac_status=$?
24221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24222 (exit $ac_status); } &&
24223 { ac_try='test -s conftest.$ac_objext'
24224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24225 (eval $ac_try) 2>&5
24226 ac_status=$?
24227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24228 (exit $ac_status); }; }; then
24229
24230 cat >>confdefs.h <<\_ACEOF
24231#define HAVE_XSHAPE 1
24232_ACEOF
24233
24234 echo "$as_me:$LINENO: result: found" >&5
24235echo "${ECHO_T}found" >&6
24236
24237else
24238 echo "$as_me: failed program was:" >&5
24239sed 's/^/| /' conftest.$ac_ext >&5
24240
24241
24242 echo "$as_me:$LINENO: result: not found" >&5
24243echo "${ECHO_T}not found" >&6
24244
24245fi
24246rm -f conftest.$ac_objext conftest.$ac_ext
24247 CFLAGS="$save_CFLAGS"
24248 fi
24249
24250 if test "$wxUSE_MAC" = 1; then
24251 CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24252
24253 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24254 TOOLKIT=MAC
24255 GUIDIST=MACX_DIST
24256 WXBASEPORT="_carbon"
24257 fi
24258
24259 if test "$wxUSE_COCOA" = 1; then
24260 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24261 TOOLKIT=COCOA
24262 GUIDIST=COCOA_DIST
24263 fi
24264
24265 if test "$wxUSE_PM" = 1; then
24266 TOOLKIT=PM
24267 GUIDIST=GTK_DIST
24268 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
24269echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
24270 wxUSE_THREADS="no"
24271 fi
24272
24273 if test "$TOOLKIT" = "PM" ; then
24274 TOOLKIT_DIR="os2"
24275 else
24276 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24277 fi
24278
24279 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24280
24281 if test "$wxUSE_UNIVERSAL" = "yes"; then
24282 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24283
24284 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24285 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24286
24287 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24288 if test "$wxUSE_X11" = 1; then
24289 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24290 else
24291 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24292 fi
24293 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24294 WIDGET_SET=univ
24295 else
24296 ALL_OBJECTS="\$(GUIOBJS)"
24297 ALL_SOURCES="\$(ALL_SOURCES)"
24298 ALL_HEADERS="\$(ALL_HEADERS)"
24299 fi
24300
24301 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24302
24303 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24304 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24305 fi
24306
24307 if test "$wxUSE_HTML" = "yes"; then
24308 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24309 fi
24310
24311 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24312 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24313 fi
24314 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24315 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24316 fi
24317 if test "$wxUSE_LIBPNG" = "builtin" ; then
24318 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24319 fi
24320
24321 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24322 DISTDIR="wx\$(TOOLKIT)"
24323else
24324 USE_GUI=0
24325
24326 TOOLKIT_DIR="base"
24327
24328 if test "$USE_WIN32" = 1 ; then
24329 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24330 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24331
24332 TOOLKIT="MSW"
24333 else
24334 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24335 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24336 fi
24337
24338 ALL_SOURCES="\$(ALL_SOURCES)"
24339 ALL_HEADERS="\$(ALL_HEADERS)"
24340
24341 PORT_FILES="\${top_srcdir}/src/files.lst"
24342
24343 GUIDIST="BASE_DIST"
24344 DISTDIR="wxBase"
24345fi
24346
24347
24348
24349
24350IODBC_C_SRC=""
24351
24352
24353if test "$TOOLKIT" != "MSW" ; then
24354
24355 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24356
24357 if test "${ac_cv_header_sql_h+set}" = set; then
24358 echo "$as_me:$LINENO: checking for sql.h" >&5
24359echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24360if test "${ac_cv_header_sql_h+set}" = set; then
24361 echo $ECHO_N "(cached) $ECHO_C" >&6
24362fi
24363echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24364echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24365else
24366 # Is the header compilable?
24367echo "$as_me:$LINENO: checking sql.h usability" >&5
24368echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24369cat >conftest.$ac_ext <<_ACEOF
24370#line $LINENO "configure"
24371/* confdefs.h. */
24372_ACEOF
24373cat confdefs.h >>conftest.$ac_ext
24374cat >>conftest.$ac_ext <<_ACEOF
24375/* end confdefs.h. */
24376$ac_includes_default
24377#include <sql.h>
24378_ACEOF
24379rm -f conftest.$ac_objext
24380if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24381 (eval $ac_compile) 2>&5
24382 ac_status=$?
24383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24384 (exit $ac_status); } &&
24385 { ac_try='test -s conftest.$ac_objext'
24386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24387 (eval $ac_try) 2>&5
24388 ac_status=$?
24389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24390 (exit $ac_status); }; }; then
24391 ac_header_compiler=yes
24392else
24393 echo "$as_me: failed program was:" >&5
24394sed 's/^/| /' conftest.$ac_ext >&5
24395
24396ac_header_compiler=no
24397fi
24398rm -f conftest.$ac_objext conftest.$ac_ext
24399echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24400echo "${ECHO_T}$ac_header_compiler" >&6
24401
24402# Is the header present?
24403echo "$as_me:$LINENO: checking sql.h presence" >&5
24404echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24405cat >conftest.$ac_ext <<_ACEOF
24406#line $LINENO "configure"
24407/* confdefs.h. */
24408_ACEOF
24409cat confdefs.h >>conftest.$ac_ext
24410cat >>conftest.$ac_ext <<_ACEOF
24411/* end confdefs.h. */
24412#include <sql.h>
24413_ACEOF
24414if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24415 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24416 ac_status=$?
24417 grep -v '^ *+' conftest.er1 >conftest.err
24418 rm -f conftest.er1
24419 cat conftest.err >&5
24420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24421 (exit $ac_status); } >/dev/null; then
24422 if test -s conftest.err; then
24423 ac_cpp_err=$ac_c_preproc_warn_flag
24424 else
24425 ac_cpp_err=
24426 fi
24427else
24428 ac_cpp_err=yes
24429fi
24430if test -z "$ac_cpp_err"; then
24431 ac_header_preproc=yes
24432else
24433 echo "$as_me: failed program was:" >&5
24434sed 's/^/| /' conftest.$ac_ext >&5
24435
24436 ac_header_preproc=no
24437fi
24438rm -f conftest.err conftest.$ac_ext
24439echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24440echo "${ECHO_T}$ac_header_preproc" >&6
24441
24442# So? What about this header?
24443case $ac_header_compiler:$ac_header_preproc in
24444 yes:no )
24445 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24446echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24447 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24448echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24449 (
24450 cat <<\_ASBOX
24451## ------------------------------------ ##
24452## Report this to bug-autoconf@gnu.org. ##
24453## ------------------------------------ ##
24454_ASBOX
24455 ) |
24456 sed "s/^/$as_me: WARNING: /" >&2
24457 ;;
24458 no:yes )
24459 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24460echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24461 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24462echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24463 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24464echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24465 (
24466 cat <<\_ASBOX
24467## ------------------------------------ ##
24468## Report this to bug-autoconf@gnu.org. ##
24469## ------------------------------------ ##
24470_ASBOX
24471 ) |
24472 sed "s/^/$as_me: WARNING: /" >&2
24473 ;;
24474esac
24475echo "$as_me:$LINENO: checking for sql.h" >&5
24476echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24477if test "${ac_cv_header_sql_h+set}" = set; then
24478 echo $ECHO_N "(cached) $ECHO_C" >&6
24479else
24480 ac_cv_header_sql_h=$ac_header_preproc
24481fi
24482echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24483echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24484
24485fi
24486if test $ac_cv_header_sql_h = yes; then
24487 found_sql_h=1
24488fi
24489
24490
24491 if test "x$found_sql_h" = "x1" ; then
24492 echo "$as_me:$LINENO: checking for iodbc in -lSQLAllocEnv" >&5
24493echo $ECHO_N "checking for iodbc in -lSQLAllocEnv... $ECHO_C" >&6
24494if test "${ac_cv_lib_SQLAllocEnv_iodbc+set}" = set; then
24495 echo $ECHO_N "(cached) $ECHO_C" >&6
24496else
24497 ac_check_lib_save_LIBS=$LIBS
24498LIBS="-lSQLAllocEnv $LIBS"
24499cat >conftest.$ac_ext <<_ACEOF
24500#line $LINENO "configure"
24501/* confdefs.h. */
24502_ACEOF
24503cat confdefs.h >>conftest.$ac_ext
24504cat >>conftest.$ac_ext <<_ACEOF
24505/* end confdefs.h. */
24506
24507/* Override any gcc2 internal prototype to avoid an error. */
24508#ifdef __cplusplus
24509extern "C"
24510#endif
24511/* We use char because int might match the return type of a gcc2
24512 builtin and then its argument prototype would still apply. */
24513char iodbc ();
24514int
24515main ()
24516{
24517iodbc ();
24518 ;
24519 return 0;
24520}
24521_ACEOF
24522rm -f conftest.$ac_objext conftest$ac_exeext
24523if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24524 (eval $ac_link) 2>&5
24525 ac_status=$?
24526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24527 (exit $ac_status); } &&
24528 { ac_try='test -s conftest$ac_exeext'
24529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24530 (eval $ac_try) 2>&5
24531 ac_status=$?
24532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24533 (exit $ac_status); }; }; then
24534 ac_cv_lib_SQLAllocEnv_iodbc=yes
24535else
24536 echo "$as_me: failed program was:" >&5
24537sed 's/^/| /' conftest.$ac_ext >&5
24538
24539ac_cv_lib_SQLAllocEnv_iodbc=no
24540fi
24541rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24542LIBS=$ac_check_lib_save_LIBS
24543fi
24544echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_iodbc" >&5
24545echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_iodbc" >&6
24546if test $ac_cv_lib_SQLAllocEnv_iodbc = yes; then
24547 ODBC_LINK=" -liodbc"
24548else
24549
24550 echo "$as_me:$LINENO: checking for unixodbc in -lSQLAllocEnv" >&5
24551echo $ECHO_N "checking for unixodbc in -lSQLAllocEnv... $ECHO_C" >&6
24552if test "${ac_cv_lib_SQLAllocEnv_unixodbc+set}" = set; then
24553 echo $ECHO_N "(cached) $ECHO_C" >&6
24554else
24555 ac_check_lib_save_LIBS=$LIBS
24556LIBS="-lSQLAllocEnv $LIBS"
24557cat >conftest.$ac_ext <<_ACEOF
24558#line $LINENO "configure"
24559/* confdefs.h. */
24560_ACEOF
24561cat confdefs.h >>conftest.$ac_ext
24562cat >>conftest.$ac_ext <<_ACEOF
24563/* end confdefs.h. */
24564
24565/* Override any gcc2 internal prototype to avoid an error. */
24566#ifdef __cplusplus
24567extern "C"
24568#endif
24569/* We use char because int might match the return type of a gcc2
24570 builtin and then its argument prototype would still apply. */
24571char unixodbc ();
24572int
24573main ()
24574{
24575unixodbc ();
24576 ;
24577 return 0;
24578}
24579_ACEOF
24580rm -f conftest.$ac_objext conftest$ac_exeext
24581if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24582 (eval $ac_link) 2>&5
24583 ac_status=$?
24584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24585 (exit $ac_status); } &&
24586 { ac_try='test -s conftest$ac_exeext'
24587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24588 (eval $ac_try) 2>&5
24589 ac_status=$?
24590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591 (exit $ac_status); }; }; then
24592 ac_cv_lib_SQLAllocEnv_unixodbc=yes
24593else
24594 echo "$as_me: failed program was:" >&5
24595sed 's/^/| /' conftest.$ac_ext >&5
24596
24597ac_cv_lib_SQLAllocEnv_unixodbc=no
24598fi
24599rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24600LIBS=$ac_check_lib_save_LIBS
24601fi
24602echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_unixodbc" >&5
24603echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_unixodbc" >&6
24604if test $ac_cv_lib_SQLAllocEnv_unixodbc = yes; then
24605 ODBC_LINK=" -lunixodbc"
24606else
24607
24608 echo "$as_me:$LINENO: checking for odbc in -lSQLAllocEnv" >&5
24609echo $ECHO_N "checking for odbc in -lSQLAllocEnv... $ECHO_C" >&6
24610if test "${ac_cv_lib_SQLAllocEnv_odbc+set}" = set; then
24611 echo $ECHO_N "(cached) $ECHO_C" >&6
24612else
24613 ac_check_lib_save_LIBS=$LIBS
24614LIBS="-lSQLAllocEnv $LIBS"
24615cat >conftest.$ac_ext <<_ACEOF
24616#line $LINENO "configure"
24617/* confdefs.h. */
24618_ACEOF
24619cat confdefs.h >>conftest.$ac_ext
24620cat >>conftest.$ac_ext <<_ACEOF
24621/* end confdefs.h. */
24622
24623/* Override any gcc2 internal prototype to avoid an error. */
24624#ifdef __cplusplus
24625extern "C"
24626#endif
24627/* We use char because int might match the return type of a gcc2
24628 builtin and then its argument prototype would still apply. */
24629char odbc ();
24630int
24631main ()
24632{
24633odbc ();
24634 ;
24635 return 0;
24636}
24637_ACEOF
24638rm -f conftest.$ac_objext conftest$ac_exeext
24639if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24640 (eval $ac_link) 2>&5
24641 ac_status=$?
24642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24643 (exit $ac_status); } &&
24644 { ac_try='test -s conftest$ac_exeext'
24645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24646 (eval $ac_try) 2>&5
24647 ac_status=$?
24648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649 (exit $ac_status); }; }; then
24650 ac_cv_lib_SQLAllocEnv_odbc=yes
24651else
24652 echo "$as_me: failed program was:" >&5
24653sed 's/^/| /' conftest.$ac_ext >&5
24654
24655ac_cv_lib_SQLAllocEnv_odbc=no
24656fi
24657rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24658LIBS=$ac_check_lib_save_LIBS
24659fi
24660echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_odbc" >&5
24661echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_odbc" >&6
24662if test $ac_cv_lib_SQLAllocEnv_odbc = yes; then
24663 ODBC_LINK=" -lodbc"
24664fi
24665
24666
24667fi
24668
24669
24670fi
24671
24672 fi
24673 if test "x$ODBC_LINK" = "x" ; then
24674 if test "$wxUSE_ODBC" = "sys" ; then
24675 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
24676echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
24677 { (exit 1); exit 1; }; }
24678 else
24679 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
24680echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
24681 wxUSE_ODBC=builtin
24682 fi
24683 else
24684 wxUSE_ODBC=sys
24685 fi
24686 fi
24687 if test "$wxUSE_ODBC" != "no" ; then
24688 cat >>confdefs.h <<\_ACEOF
24689#define wxUSE_ODBC 1
24690_ACEOF
24691
24692 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
24693
24694 WXODBCFLAG="-D_IODBC_"
24695 fi
24696fi
24697
24698if test "$wxUSE_REGEX" = "builtin" ; then
24699 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
24700fi
24701if test "$wxUSE_ZLIB" = "builtin" ; then
24702 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
24703fi
24704
24705
24706USE_OPENGL=0
24707if test "$wxUSE_OPENGL" = "yes"; then
24708 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24709 OPENGL_LIBS="-framework OpenGL -framework AGL"
24710 elif test "$wxUSE_MSW" = 1; then
24711 OPENGL_LIBS="-lopengl32 -lglu32"
24712 else
24713
24714
24715ac_find_includes=
24716for ac_dir in $SEARCH_INCLUDE /usr/include;
24717 do
24718 if test -f "$ac_dir/GL/gl.h"; then
24719 ac_find_includes=$ac_dir
24720 break
24721 fi
24722 done
24723
24724 if test "$ac_find_includes" != "" ; then
24725 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24726echo "${ECHO_T}found in $ac_find_includes" >&6
24727
24728 if test "x$ac_find_includes" = "x/usr/include"; then
24729 ac_path_to_include=""
24730 else
24731 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
24732 result=$?
24733 if test $result = 0; then
24734 ac_path_to_include=""
24735 else
24736 ac_path_to_include=" -I$ac_find_includes"
24737 fi
24738 fi
24739
24740 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
24741 fi
24742
24743 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24744 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24745echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24746if test "${ac_cv_header_GL_gl_h+set}" = set; then
24747 echo $ECHO_N "(cached) $ECHO_C" >&6
24748fi
24749echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24750echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24751else
24752 # Is the header compilable?
24753echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24754echo $ECHO_N "checking GL/gl.h usability... $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$ac_includes_default
24763#include <GL/gl.h>
24764_ACEOF
24765rm -f conftest.$ac_objext
24766if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24767 (eval $ac_compile) 2>&5
24768 ac_status=$?
24769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24770 (exit $ac_status); } &&
24771 { ac_try='test -s conftest.$ac_objext'
24772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24773 (eval $ac_try) 2>&5
24774 ac_status=$?
24775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24776 (exit $ac_status); }; }; then
24777 ac_header_compiler=yes
24778else
24779 echo "$as_me: failed program was:" >&5
24780sed 's/^/| /' conftest.$ac_ext >&5
24781
24782ac_header_compiler=no
24783fi
24784rm -f conftest.$ac_objext conftest.$ac_ext
24785echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24786echo "${ECHO_T}$ac_header_compiler" >&6
24787
24788# Is the header present?
24789echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24790echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24791cat >conftest.$ac_ext <<_ACEOF
24792#line $LINENO "configure"
24793/* confdefs.h. */
24794_ACEOF
24795cat confdefs.h >>conftest.$ac_ext
24796cat >>conftest.$ac_ext <<_ACEOF
24797/* end confdefs.h. */
24798#include <GL/gl.h>
24799_ACEOF
24800if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24801 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24802 ac_status=$?
24803 grep -v '^ *+' conftest.er1 >conftest.err
24804 rm -f conftest.er1
24805 cat conftest.err >&5
24806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24807 (exit $ac_status); } >/dev/null; then
24808 if test -s conftest.err; then
24809 ac_cpp_err=$ac_c_preproc_warn_flag
24810 else
24811 ac_cpp_err=
24812 fi
24813else
24814 ac_cpp_err=yes
24815fi
24816if test -z "$ac_cpp_err"; then
24817 ac_header_preproc=yes
24818else
24819 echo "$as_me: failed program was:" >&5
24820sed 's/^/| /' conftest.$ac_ext >&5
24821
24822 ac_header_preproc=no
24823fi
24824rm -f conftest.err conftest.$ac_ext
24825echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24826echo "${ECHO_T}$ac_header_preproc" >&6
24827
24828# So? What about this header?
24829case $ac_header_compiler:$ac_header_preproc in
24830 yes:no )
24831 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24832echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24833 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24834echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24835 (
24836 cat <<\_ASBOX
24837## ------------------------------------ ##
24838## Report this to bug-autoconf@gnu.org. ##
24839## ------------------------------------ ##
24840_ASBOX
24841 ) |
24842 sed "s/^/$as_me: WARNING: /" >&2
24843 ;;
24844 no:yes )
24845 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24846echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24847 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24848echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24849 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24850echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24851 (
24852 cat <<\_ASBOX
24853## ------------------------------------ ##
24854## Report this to bug-autoconf@gnu.org. ##
24855## ------------------------------------ ##
24856_ASBOX
24857 ) |
24858 sed "s/^/$as_me: WARNING: /" >&2
24859 ;;
24860esac
24861echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24862echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24863if test "${ac_cv_header_GL_gl_h+set}" = set; then
24864 echo $ECHO_N "(cached) $ECHO_C" >&6
24865else
24866 ac_cv_header_GL_gl_h=$ac_header_preproc
24867fi
24868echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24869echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24870
24871fi
24872if test $ac_cv_header_GL_gl_h = yes; then
24873
24874 found_gl=0
24875
24876 echo "$as_me:$LINENO: checking for -lGL" >&5
24877echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24878
24879ac_find_libraries=
24880for ac_dir in $SEARCH_LIB /usr/lib;
24881 do
24882 for ac_extension in a so sl dylib; do
24883 if test -f "$ac_dir/libGL.$ac_extension"; then
24884 ac_find_libraries=$ac_dir
24885 break 2
24886 fi
24887 done
24888 done
24889
24890 if test "$ac_find_libraries" != "" ; then
24891
24892 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24893 result=$?
24894 if test $result = 0; then
24895 ac_path_to_link=""
24896 else
24897 ac_path_to_link=" -L$ac_find_libraries"
24898 fi
24899
24900 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24901 LDFLAGS_GL="$ac_path_to_link"
24902 fi
24903
24904
24905ac_find_libraries=
24906for ac_dir in $SEARCH_LIB /usr/lib;
24907 do
24908 for ac_extension in a so sl dylib; do
24909 if test -f "$ac_dir/libGLU.$ac_extension"; then
24910 ac_find_libraries=$ac_dir
24911 break 2
24912 fi
24913 done
24914 done
24915
24916 if test "$ac_find_libraries" != "" ; then
24917
24918 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24919 result=$?
24920 if test $result = 0; then
24921 ac_path_to_link=""
24922 else
24923 ac_path_to_link=" -L$ac_find_libraries"
24924 fi
24925
24926 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24927 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24928 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
24929 fi
24930
24931 found_gl=1
24932 OPENGL_LIBS="-lGL -lGLU"
24933 echo "$as_me:$LINENO: result: yes" >&5
24934echo "${ECHO_T}yes" >&6
24935 fi
24936 fi
24937
24938 if test "$found_gl" != 1; then
24939 echo "$as_me:$LINENO: result: no" >&5
24940echo "${ECHO_T}no" >&6
24941 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24942echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24943
24944ac_find_libraries=
24945for ac_dir in $SEARCH_LIB /usr/lib;
24946 do
24947 for ac_extension in a so sl dylib; do
24948 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24949 ac_find_libraries=$ac_dir
24950 break 2
24951 fi
24952 done
24953 done
24954
24955 if test "$ac_find_libraries" != "" ; then
24956
24957 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24958 result=$?
24959 if test $result = 0; then
24960 ac_path_to_link=""
24961 else
24962 ac_path_to_link=" -L$ac_find_libraries"
24963 fi
24964
24965 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
24966 OPENGL_LIBS="-lMesaGL -lMesaGLU"
24967 echo "$as_me:$LINENO: result: yes" >&5
24968echo "${ECHO_T}yes" >&6
24969 else
24970 echo "$as_me:$LINENO: result: no" >&5
24971echo "${ECHO_T}no" >&6
24972 fi
24973 fi
24974
24975fi
24976
24977
24978
24979 if test "x$OPENGL_LIBS" = "x"; then
24980 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24981echo "$as_me: error: OpenGL libraries not available" >&2;}
24982 { (exit 1); exit 1; }; }
24983 fi
24984 fi
24985
24986 if test "$wxUSE_OPENGL" = "yes"; then
24987 USE_OPENGL=1
24988 cat >>confdefs.h <<\_ACEOF
24989#define wxUSE_OPENGL 1
24990_ACEOF
24991
24992 cat >>confdefs.h <<\_ACEOF
24993#define wxUSE_GLCANVAS 1
24994_ACEOF
24995
24996 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
24997 fi
24998fi
24999
25000if test -z "$TOOLKIT_VPATH" ; then
25001 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
25002fi
25003
25004if test -n "$TOOLKIT" ; then
25005 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25006fi
25007
25008UNICODE=0
25009lib_unicode_suffix=
25010if test "$wxUSE_UNICODE" = "yes"; then
25011 lib_unicode_suffix=u
25012 UNICODE=1
25013fi
25014
25015lib_debug_suffix=
25016DEBUG_FLAG=0
25017if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25018 lib_debug_suffix=d
25019 DEBUG_FLAG=1
25020fi
25021
25022DEBUG_INFO=0
25023if test "$wxUSE_DEBUG_INFO" = "yes"; then
25024 DEBUG_INFO=1
25025fi
25026
25027WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25028
25029TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25030TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25031
25032if test "$cross_compiling" = "yes"; then
25033 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
25034 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
25035 HOST_SUFFIX="-${host_alias}"
25036fi
25037
25038WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
25039WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
25040WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25041WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25042
25043WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25044WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25045
25046WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25047WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25048WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25049WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25050
25051case "${host}" in
25052 *-*-cygwin* | *-*-mingw32* )
25053 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
25054 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25055 ;;
25056
25057 *-*-darwin* )
25058
25059 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25060 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25061
25062 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25063 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25064 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25065 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25066
25067 if test "$wxUSE_MAC" = 1; then
25068 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25069 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25070 fi
25071 ;;
25072esac
25073
25074WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
25075WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
25076
25077WXCONFIG_LIBS="-l${WX_LIBRARY}"
25078WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
25079
25080if test "$wxUSE_OPENGL" = "yes"; then
25081 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25082 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25083fi
25084
25085
25086
25087if test "$wxUSE_SHARED" = "yes"; then
25088 case "${host}" in
25089 *-pc-os2_emx | *-pc-os2-emx | \
25090 *-pc-msdosdjgpp )
25091 wxUSE_SHARED=no
25092 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25093echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25094 ;;
25095 esac
25096fi
25097
25098SHARED=0
25099if test "$wxUSE_SHARED" = "yes"; then
25100 SHARED=1
25101
25102
25103 found_versioning=no
25104
25105
25106 if test $found_versioning = no ; then
25107 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25108echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25109if test "${wx_cv_version_script+set}" = set; then
25110 echo $ECHO_N "(cached) $ECHO_C" >&6
25111else
25112
25113 echo "VER_1 { *; };" >conftest.sym
25114 echo "int main() { return 0; }" >conftest.cpp
25115
25116 if { ac_try='
25117 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25118 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25120 (eval $ac_try) 2>&5
25121 ac_status=$?
25122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25123 (exit $ac_status); }; } ; then
25124 if test -s conftest.stderr ; then
25125 wx_cv_version_script=no
25126 else
25127 wx_cv_version_script=yes
25128 fi
25129 else
25130 wx_cv_version_script=no
25131 fi
25132 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25133
25134fi
25135echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25136echo "${ECHO_T}$wx_cv_version_script" >&6
25137 if test $wx_cv_version_script = yes ; then
25138 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
25139 fi
25140 fi
25141
25142
25143 case "${host}" in
25144 *-*-linux* | *-*-gnu* )
25145 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25146 ;;
25147
25148 *-*-solaris2* )
25149 if test "$GCC" = yes ; then
25150 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
25151
25152 saveLdflags="$LDFLAGS"
25153 LDFLAGS="$saveLdflags -Wl,-rpath,/"
25154 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25155echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25156 cat >conftest.$ac_ext <<_ACEOF
25157#line $LINENO "configure"
25158/* confdefs.h. */
25159_ACEOF
25160cat confdefs.h >>conftest.$ac_ext
25161cat >>conftest.$ac_ext <<_ACEOF
25162/* end confdefs.h. */
25163
25164int
25165main ()
25166{
25167
25168 ;
25169 return 0;
25170}
25171_ACEOF
25172rm -f conftest.$ac_objext conftest$ac_exeext
25173if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25174 (eval $ac_link) 2>&5
25175 ac_status=$?
25176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25177 (exit $ac_status); } &&
25178 { ac_try='test -s conftest$ac_exeext'
25179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25180 (eval $ac_try) 2>&5
25181 ac_status=$?
25182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25183 (exit $ac_status); }; }; then
25184
25185 echo "$as_me:$LINENO: result: yes" >&5
25186echo "${ECHO_T}yes" >&6
25187 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25188
25189else
25190 echo "$as_me: failed program was:" >&5
25191sed 's/^/| /' conftest.$ac_ext >&5
25192
25193
25194 echo "$as_me:$LINENO: result: no" >&5
25195echo "${ECHO_T}no" >&6
25196 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25197echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25198 LDFLAGS="$saveLdflags -Wl,-R,/"
25199 cat >conftest.$ac_ext <<_ACEOF
25200#line $LINENO "configure"
25201/* confdefs.h. */
25202_ACEOF
25203cat confdefs.h >>conftest.$ac_ext
25204cat >>conftest.$ac_ext <<_ACEOF
25205/* end confdefs.h. */
25206
25207int
25208main ()
25209{
25210
25211 ;
25212 return 0;
25213}
25214_ACEOF
25215rm -f conftest.$ac_objext conftest$ac_exeext
25216if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25217 (eval $ac_link) 2>&5
25218 ac_status=$?
25219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25220 (exit $ac_status); } &&
25221 { ac_try='test -s conftest$ac_exeext'
25222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25223 (eval $ac_try) 2>&5
25224 ac_status=$?
25225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25226 (exit $ac_status); }; }; then
25227
25228 echo "$as_me:$LINENO: result: yes" >&5
25229echo "${ECHO_T}yes" >&6
25230 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
25231else
25232 echo "$as_me: failed program was:" >&5
25233sed 's/^/| /' conftest.$ac_ext >&5
25234
25235
25236 echo "$as_me:$LINENO: result: no" >&5
25237echo "${ECHO_T}no" >&6
25238
25239fi
25240rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25241
25242fi
25243rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25244 LDFLAGS="$saveLdflags"
25245 else
25246 SHARED_LD="${CXX} -G -o"
25247 PIC_FLAG="-KPIC"
25248 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
25249 fi
25250 ;;
25251
25252 powerpc-*-darwin* )
25253 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25254 cat <<EOF >change-install-names
25255#!/bin/sh
25256libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25257inst_cmd="install_name_tool "
25258for i in \${libnames} ; do
25259 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25260done
25261\${inst_cmd} \${3}
25262EOF
25263 chmod +x change-install-names
25264 ;;
25265
25266 esac
25267
25268 if test "x$WX_TARGET_LIBRARY" = "x"; then
25269 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25270 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25271 fi
25272
25273 WX_TARGET_LIBRARY_TYPE="so"
25274 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25275fi
25276
25277if test "$wxUSE_SHARED" = "no"; then
25278
25279 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25280 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25281 fi
25282
25283 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25284 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25285 fi
25286
25287 if test "$wxUSE_OPENGL" = "yes"; then
25288 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25289 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25290 else
25291 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25292 fi
25293
25294 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25295 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25296
25297 WX_TARGET_LIBRARY_TYPE="a"
25298 INSTALL_LIBRARY='$(INSTALL_DATA)'
25299
25300 STATIC_FLAG="yes"
25301else
25302 STATIC_FLAG="no"
25303fi
25304
25305MACRESCOMP="@#"
25306MACSETFILE="@#"
25307MACRESWXCONFIG="#"
25308if test "$wxUSE_MAC" = 1; then
25309 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25310 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25311 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25312 # Extract the first word of "Rez", so it can be a program name with args.
25313set dummy Rez; ac_word=$2
25314echo "$as_me:$LINENO: checking for $ac_word" >&5
25315echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25316if test "${ac_cv_prog_RESCOMP+set}" = set; then
25317 echo $ECHO_N "(cached) $ECHO_C" >&6
25318else
25319 if test -n "$RESCOMP"; then
25320 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25321else
25322as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25323for as_dir in $PATH
25324do
25325 IFS=$as_save_IFS
25326 test -z "$as_dir" && as_dir=.
25327 for ac_exec_ext in '' $ac_executable_extensions; do
25328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25329 ac_cv_prog_RESCOMP="Rez"
25330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25331 break 2
25332 fi
25333done
25334done
25335
25336 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25337fi
25338fi
25339RESCOMP=$ac_cv_prog_RESCOMP
25340if test -n "$RESCOMP"; then
25341 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25342echo "${ECHO_T}$RESCOMP" >&6
25343else
25344 echo "$as_me:$LINENO: result: no" >&5
25345echo "${ECHO_T}no" >&6
25346fi
25347
25348 # Extract the first word of "DeRez", so it can be a program name with args.
25349set dummy DeRez; ac_word=$2
25350echo "$as_me:$LINENO: checking for $ac_word" >&5
25351echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25352if test "${ac_cv_prog_DEREZ+set}" = set; then
25353 echo $ECHO_N "(cached) $ECHO_C" >&6
25354else
25355 if test -n "$DEREZ"; then
25356 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25357else
25358as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25359for as_dir in $PATH
25360do
25361 IFS=$as_save_IFS
25362 test -z "$as_dir" && as_dir=.
25363 for ac_exec_ext in '' $ac_executable_extensions; do
25364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25365 ac_cv_prog_DEREZ="DeRez"
25366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25367 break 2
25368 fi
25369done
25370done
25371
25372 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25373fi
25374fi
25375DEREZ=$ac_cv_prog_DEREZ
25376if test -n "$DEREZ"; then
25377 echo "$as_me:$LINENO: result: $DEREZ" >&5
25378echo "${ECHO_T}$DEREZ" >&6
25379else
25380 echo "$as_me:$LINENO: result: no" >&5
25381echo "${ECHO_T}no" >&6
25382fi
25383
25384 # Extract the first word of "SetFile", so it can be a program name with args.
25385set dummy SetFile; ac_word=$2
25386echo "$as_me:$LINENO: checking for $ac_word" >&5
25387echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25388if test "${ac_cv_prog_SETFILE+set}" = set; then
25389 echo $ECHO_N "(cached) $ECHO_C" >&6
25390else
25391 if test -n "$SETFILE"; then
25392 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25393else
25394as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25395for as_dir in $PATH
25396do
25397 IFS=$as_save_IFS
25398 test -z "$as_dir" && as_dir=.
25399 for ac_exec_ext in '' $ac_executable_extensions; do
25400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25401 ac_cv_prog_SETFILE="SetFile"
25402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25403 break 2
25404 fi
25405done
25406done
25407
25408 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25409fi
25410fi
25411SETFILE=$ac_cv_prog_SETFILE
25412if test -n "$SETFILE"; then
25413 echo "$as_me:$LINENO: result: $SETFILE" >&5
25414echo "${ECHO_T}$SETFILE" >&6
25415else
25416 echo "$as_me:$LINENO: result: no" >&5
25417echo "${ECHO_T}no" >&6
25418fi
25419
25420 MACOSX_BUNDLE="bundle"
25421 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25422 MACSETFILE="\$(SETFILE)"
25423 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25424elif test "$wxUSE_COCOA" = 1; then
25425 # Extract the first word of "Rez", so it can be a program name with args.
25426set dummy Rez; ac_word=$2
25427echo "$as_me:$LINENO: checking for $ac_word" >&5
25428echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25429if test "${ac_cv_prog_RESCOMP+set}" = set; then
25430 echo $ECHO_N "(cached) $ECHO_C" >&6
25431else
25432 if test -n "$RESCOMP"; then
25433 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25434else
25435as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25436for as_dir in $PATH
25437do
25438 IFS=$as_save_IFS
25439 test -z "$as_dir" && as_dir=.
25440 for ac_exec_ext in '' $ac_executable_extensions; do
25441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25442 ac_cv_prog_RESCOMP="Rez"
25443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25444 break 2
25445 fi
25446done
25447done
25448
25449 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25450fi
25451fi
25452RESCOMP=$ac_cv_prog_RESCOMP
25453if test -n "$RESCOMP"; then
25454 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25455echo "${ECHO_T}$RESCOMP" >&6
25456else
25457 echo "$as_me:$LINENO: result: no" >&5
25458echo "${ECHO_T}no" >&6
25459fi
25460
25461 # Extract the first word of "DeRez", so it can be a program name with args.
25462set dummy DeRez; ac_word=$2
25463echo "$as_me:$LINENO: checking for $ac_word" >&5
25464echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25465if test "${ac_cv_prog_DEREZ+set}" = set; then
25466 echo $ECHO_N "(cached) $ECHO_C" >&6
25467else
25468 if test -n "$DEREZ"; then
25469 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25470else
25471as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25472for as_dir in $PATH
25473do
25474 IFS=$as_save_IFS
25475 test -z "$as_dir" && as_dir=.
25476 for ac_exec_ext in '' $ac_executable_extensions; do
25477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25478 ac_cv_prog_DEREZ="DeRez"
25479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25480 break 2
25481 fi
25482done
25483done
25484
25485 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25486fi
25487fi
25488DEREZ=$ac_cv_prog_DEREZ
25489if test -n "$DEREZ"; then
25490 echo "$as_me:$LINENO: result: $DEREZ" >&5
25491echo "${ECHO_T}$DEREZ" >&6
25492else
25493 echo "$as_me:$LINENO: result: no" >&5
25494echo "${ECHO_T}no" >&6
25495fi
25496
25497 # Extract the first word of "SetFile", so it can be a program name with args.
25498set dummy SetFile; ac_word=$2
25499echo "$as_me:$LINENO: checking for $ac_word" >&5
25500echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25501if test "${ac_cv_prog_SETFILE+set}" = set; then
25502 echo $ECHO_N "(cached) $ECHO_C" >&6
25503else
25504 if test -n "$SETFILE"; then
25505 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25506else
25507as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25508for as_dir in $PATH
25509do
25510 IFS=$as_save_IFS
25511 test -z "$as_dir" && as_dir=.
25512 for ac_exec_ext in '' $ac_executable_extensions; do
25513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25514 ac_cv_prog_SETFILE="SetFile"
25515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25516 break 2
25517 fi
25518done
25519done
25520
25521 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25522fi
25523fi
25524SETFILE=$ac_cv_prog_SETFILE
25525if test -n "$SETFILE"; then
25526 echo "$as_me:$LINENO: result: $SETFILE" >&5
25527echo "${ECHO_T}$SETFILE" >&6
25528else
25529 echo "$as_me:$LINENO: result: no" >&5
25530echo "${ECHO_T}no" >&6
25531fi
25532
25533 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25534 MACSETFILE="\$(SETFILE)"
25535 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25536else
25537 if test "$wxUSE_PM" = 1; then
25538 MACRESCOMP="emxbind -ep"
25539 fi
25540fi
25541
25542
25543echo "$as_me:$LINENO: checking for mode_t" >&5
25544echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25545if test "${ac_cv_type_mode_t+set}" = set; then
25546 echo $ECHO_N "(cached) $ECHO_C" >&6
25547else
25548 cat >conftest.$ac_ext <<_ACEOF
25549#line $LINENO "configure"
25550/* confdefs.h. */
25551_ACEOF
25552cat confdefs.h >>conftest.$ac_ext
25553cat >>conftest.$ac_ext <<_ACEOF
25554/* end confdefs.h. */
25555$ac_includes_default
25556int
25557main ()
25558{
25559if ((mode_t *) 0)
25560 return 0;
25561if (sizeof (mode_t))
25562 return 0;
25563 ;
25564 return 0;
25565}
25566_ACEOF
25567rm -f conftest.$ac_objext
25568if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25569 (eval $ac_compile) 2>&5
25570 ac_status=$?
25571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25572 (exit $ac_status); } &&
25573 { ac_try='test -s conftest.$ac_objext'
25574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25575 (eval $ac_try) 2>&5
25576 ac_status=$?
25577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25578 (exit $ac_status); }; }; then
25579 ac_cv_type_mode_t=yes
25580else
25581 echo "$as_me: failed program was:" >&5
25582sed 's/^/| /' conftest.$ac_ext >&5
25583
25584ac_cv_type_mode_t=no
25585fi
25586rm -f conftest.$ac_objext conftest.$ac_ext
25587fi
25588echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25589echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25590if test $ac_cv_type_mode_t = yes; then
25591 :
25592else
25593
25594cat >>confdefs.h <<_ACEOF
25595#define mode_t int
25596_ACEOF
25597
25598fi
25599
25600echo "$as_me:$LINENO: checking for off_t" >&5
25601echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25602if test "${ac_cv_type_off_t+set}" = set; then
25603 echo $ECHO_N "(cached) $ECHO_C" >&6
25604else
25605 cat >conftest.$ac_ext <<_ACEOF
25606#line $LINENO "configure"
25607/* confdefs.h. */
25608_ACEOF
25609cat confdefs.h >>conftest.$ac_ext
25610cat >>conftest.$ac_ext <<_ACEOF
25611/* end confdefs.h. */
25612$ac_includes_default
25613int
25614main ()
25615{
25616if ((off_t *) 0)
25617 return 0;
25618if (sizeof (off_t))
25619 return 0;
25620 ;
25621 return 0;
25622}
25623_ACEOF
25624rm -f conftest.$ac_objext
25625if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25626 (eval $ac_compile) 2>&5
25627 ac_status=$?
25628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25629 (exit $ac_status); } &&
25630 { ac_try='test -s conftest.$ac_objext'
25631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25632 (eval $ac_try) 2>&5
25633 ac_status=$?
25634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25635 (exit $ac_status); }; }; then
25636 ac_cv_type_off_t=yes
25637else
25638 echo "$as_me: failed program was:" >&5
25639sed 's/^/| /' conftest.$ac_ext >&5
25640
25641ac_cv_type_off_t=no
25642fi
25643rm -f conftest.$ac_objext conftest.$ac_ext
25644fi
25645echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25646echo "${ECHO_T}$ac_cv_type_off_t" >&6
25647if test $ac_cv_type_off_t = yes; then
25648 :
25649else
25650
25651cat >>confdefs.h <<_ACEOF
25652#define off_t long
25653_ACEOF
25654
25655fi
25656
25657echo "$as_me:$LINENO: checking for pid_t" >&5
25658echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25659if test "${ac_cv_type_pid_t+set}" = set; then
25660 echo $ECHO_N "(cached) $ECHO_C" >&6
25661else
25662 cat >conftest.$ac_ext <<_ACEOF
25663#line $LINENO "configure"
25664/* confdefs.h. */
25665_ACEOF
25666cat confdefs.h >>conftest.$ac_ext
25667cat >>conftest.$ac_ext <<_ACEOF
25668/* end confdefs.h. */
25669$ac_includes_default
25670int
25671main ()
25672{
25673if ((pid_t *) 0)
25674 return 0;
25675if (sizeof (pid_t))
25676 return 0;
25677 ;
25678 return 0;
25679}
25680_ACEOF
25681rm -f conftest.$ac_objext
25682if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25683 (eval $ac_compile) 2>&5
25684 ac_status=$?
25685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25686 (exit $ac_status); } &&
25687 { ac_try='test -s conftest.$ac_objext'
25688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25689 (eval $ac_try) 2>&5
25690 ac_status=$?
25691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25692 (exit $ac_status); }; }; then
25693 ac_cv_type_pid_t=yes
25694else
25695 echo "$as_me: failed program was:" >&5
25696sed 's/^/| /' conftest.$ac_ext >&5
25697
25698ac_cv_type_pid_t=no
25699fi
25700rm -f conftest.$ac_objext conftest.$ac_ext
25701fi
25702echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25703echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25704if test $ac_cv_type_pid_t = yes; then
25705 :
25706else
25707
25708cat >>confdefs.h <<_ACEOF
25709#define pid_t int
25710_ACEOF
25711
25712fi
25713
25714echo "$as_me:$LINENO: checking for size_t" >&5
25715echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25716if test "${ac_cv_type_size_t+set}" = set; then
25717 echo $ECHO_N "(cached) $ECHO_C" >&6
25718else
25719 cat >conftest.$ac_ext <<_ACEOF
25720#line $LINENO "configure"
25721/* confdefs.h. */
25722_ACEOF
25723cat confdefs.h >>conftest.$ac_ext
25724cat >>conftest.$ac_ext <<_ACEOF
25725/* end confdefs.h. */
25726$ac_includes_default
25727int
25728main ()
25729{
25730if ((size_t *) 0)
25731 return 0;
25732if (sizeof (size_t))
25733 return 0;
25734 ;
25735 return 0;
25736}
25737_ACEOF
25738rm -f conftest.$ac_objext
25739if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25740 (eval $ac_compile) 2>&5
25741 ac_status=$?
25742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25743 (exit $ac_status); } &&
25744 { ac_try='test -s conftest.$ac_objext'
25745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25746 (eval $ac_try) 2>&5
25747 ac_status=$?
25748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25749 (exit $ac_status); }; }; then
25750 ac_cv_type_size_t=yes
25751else
25752 echo "$as_me: failed program was:" >&5
25753sed 's/^/| /' conftest.$ac_ext >&5
25754
25755ac_cv_type_size_t=no
25756fi
25757rm -f conftest.$ac_objext conftest.$ac_ext
25758fi
25759echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25760echo "${ECHO_T}$ac_cv_type_size_t" >&6
25761if test $ac_cv_type_size_t = yes; then
25762 :
25763else
25764
25765cat >>confdefs.h <<_ACEOF
25766#define size_t unsigned
25767_ACEOF
25768
25769fi
25770
25771echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25772echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25773if test "${ac_cv_type_uid_t+set}" = set; then
25774 echo $ECHO_N "(cached) $ECHO_C" >&6
25775else
25776 cat >conftest.$ac_ext <<_ACEOF
25777#line $LINENO "configure"
25778/* confdefs.h. */
25779_ACEOF
25780cat confdefs.h >>conftest.$ac_ext
25781cat >>conftest.$ac_ext <<_ACEOF
25782/* end confdefs.h. */
25783#include <sys/types.h>
25784
25785_ACEOF
25786if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25787 $EGREP "uid_t" >/dev/null 2>&1; then
25788 ac_cv_type_uid_t=yes
25789else
25790 ac_cv_type_uid_t=no
25791fi
25792rm -f conftest*
25793
25794fi
25795echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25796echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25797if test $ac_cv_type_uid_t = no; then
25798
25799cat >>confdefs.h <<\_ACEOF
25800#define uid_t int
25801_ACEOF
25802
25803
25804cat >>confdefs.h <<\_ACEOF
25805#define gid_t int
25806_ACEOF
25807
25808fi
25809
25810
25811
25812
25813ac_ext=cc
25814ac_cpp='$CXXCPP $CPPFLAGS'
25815ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25816ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25817ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25818
25819echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25820echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25821if test "${wx_cv_size_t_is_uint+set}" = set; then
25822 echo $ECHO_N "(cached) $ECHO_C" >&6
25823else
25824
25825 cat >conftest.$ac_ext <<_ACEOF
25826#line $LINENO "configure"
25827/* confdefs.h. */
25828_ACEOF
25829cat confdefs.h >>conftest.$ac_ext
25830cat >>conftest.$ac_ext <<_ACEOF
25831/* end confdefs.h. */
25832#include <stddef.h>
25833int
25834main ()
25835{
25836
25837 return 0; }
25838
25839 struct Foo { void foo(size_t); void foo(unsigned int); };
25840
25841 int bar() {
25842
25843 ;
25844 return 0;
25845}
25846_ACEOF
25847rm -f conftest.$ac_objext
25848if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25849 (eval $ac_compile) 2>&5
25850 ac_status=$?
25851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25852 (exit $ac_status); } &&
25853 { ac_try='test -s conftest.$ac_objext'
25854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25855 (eval $ac_try) 2>&5
25856 ac_status=$?
25857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25858 (exit $ac_status); }; }; then
25859 wx_cv_size_t_is_uint=no
25860else
25861 echo "$as_me: failed program was:" >&5
25862sed 's/^/| /' conftest.$ac_ext >&5
25863
25864wx_cv_size_t_is_uint=yes
25865
25866fi
25867rm -f conftest.$ac_objext conftest.$ac_ext
25868
25869
25870fi
25871echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25872echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25873
25874if test "$wx_cv_size_t_is_uint" = "yes"; then
25875 cat >>confdefs.h <<\_ACEOF
25876#define wxSIZE_T_IS_UINT 1
25877_ACEOF
25878
25879else
25880 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25881echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25882if test "${wx_cv_size_t_is_ulong+set}" = set; then
25883 echo $ECHO_N "(cached) $ECHO_C" >&6
25884else
25885 cat >conftest.$ac_ext <<_ACEOF
25886#line $LINENO "configure"
25887/* confdefs.h. */
25888_ACEOF
25889cat confdefs.h >>conftest.$ac_ext
25890cat >>conftest.$ac_ext <<_ACEOF
25891/* end confdefs.h. */
25892#include <stddef.h>
25893int
25894main ()
25895{
25896
25897 return 0; }
25898
25899 struct Foo { void foo(size_t); void foo(unsigned long); };
25900
25901 int bar() {
25902
25903 ;
25904 return 0;
25905}
25906_ACEOF
25907rm -f conftest.$ac_objext
25908if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25909 (eval $ac_compile) 2>&5
25910 ac_status=$?
25911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25912 (exit $ac_status); } &&
25913 { ac_try='test -s conftest.$ac_objext'
25914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25915 (eval $ac_try) 2>&5
25916 ac_status=$?
25917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25918 (exit $ac_status); }; }; then
25919 wx_cv_size_t_is_ulong=no
25920else
25921 echo "$as_me: failed program was:" >&5
25922sed 's/^/| /' conftest.$ac_ext >&5
25923
25924wx_cv_size_t_is_ulong=yes
25925
25926fi
25927rm -f conftest.$ac_objext conftest.$ac_ext
25928
25929fi
25930echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25931echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25932
25933 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25934 cat >>confdefs.h <<\_ACEOF
25935#define wxSIZE_T_IS_ULONG 1
25936_ACEOF
25937
25938 fi
25939fi
25940
25941ac_ext=c
25942ac_cpp='$CPP $CPPFLAGS'
25943ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25944ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25945ac_compiler_gnu=$ac_cv_c_compiler_gnu
25946
25947
25948
25949echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25950echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25951if test "${wx_cv_struct_pw_gecos+set}" = set; then
25952 echo $ECHO_N "(cached) $ECHO_C" >&6
25953else
25954
25955 cat >conftest.$ac_ext <<_ACEOF
25956#line $LINENO "configure"
25957/* confdefs.h. */
25958_ACEOF
25959cat confdefs.h >>conftest.$ac_ext
25960cat >>conftest.$ac_ext <<_ACEOF
25961/* end confdefs.h. */
25962#include <pwd.h>
25963int
25964main ()
25965{
25966
25967 char *p;
25968 struct passwd *pw;
25969 p = pw->pw_gecos;
25970
25971 ;
25972 return 0;
25973}
25974_ACEOF
25975rm -f conftest.$ac_objext
25976if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25977 (eval $ac_compile) 2>&5
25978 ac_status=$?
25979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25980 (exit $ac_status); } &&
25981 { ac_try='test -s conftest.$ac_objext'
25982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25983 (eval $ac_try) 2>&5
25984 ac_status=$?
25985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25986 (exit $ac_status); }; }; then
25987
25988 wx_cv_struct_pw_gecos=yes
25989
25990else
25991 echo "$as_me: failed program was:" >&5
25992sed 's/^/| /' conftest.$ac_ext >&5
25993
25994
25995 wx_cv_struct_pw_gecos=no
25996
25997
25998fi
25999rm -f conftest.$ac_objext conftest.$ac_ext
26000
26001
26002fi
26003echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26004echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26005
26006if test "$wx_cv_struct_pw_gecos" = "yes"; then
26007 cat >>confdefs.h <<\_ACEOF
26008#define HAVE_PW_GECOS 1
26009_ACEOF
26010
26011fi
26012
26013
26014if test "$wx_cv_sizeof_wchar_t" != "0"; then
26015 cat >>confdefs.h <<\_ACEOF
26016#define wxUSE_WCHAR_T 1
26017_ACEOF
26018
26019
26020 WCSLEN_FOUND=0
26021 WCHAR_LINK=
26022
26023for ac_func in wcslen
26024do
26025as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26026echo "$as_me:$LINENO: checking for $ac_func" >&5
26027echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26028if eval "test \"\${$as_ac_var+set}\" = set"; then
26029 echo $ECHO_N "(cached) $ECHO_C" >&6
26030else
26031 cat >conftest.$ac_ext <<_ACEOF
26032#line $LINENO "configure"
26033/* confdefs.h. */
26034_ACEOF
26035cat confdefs.h >>conftest.$ac_ext
26036cat >>conftest.$ac_ext <<_ACEOF
26037/* end confdefs.h. */
26038/* System header to define __stub macros and hopefully few prototypes,
26039 which can conflict with char $ac_func (); below.
26040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26041 <limits.h> exists even on freestanding compilers. */
26042#ifdef __STDC__
26043# include <limits.h>
26044#else
26045# include <assert.h>
26046#endif
26047/* Override any gcc2 internal prototype to avoid an error. */
26048#ifdef __cplusplus
26049extern "C"
26050{
26051#endif
26052/* We use char because int might match the return type of a gcc2
26053 builtin and then its argument prototype would still apply. */
26054char $ac_func ();
26055/* The GNU C library defines this for functions which it implements
26056 to always fail with ENOSYS. Some functions are actually named
26057 something starting with __ and the normal name is an alias. */
26058#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26059choke me
26060#else
26061char (*f) () = $ac_func;
26062#endif
26063#ifdef __cplusplus
26064}
26065#endif
26066
26067int
26068main ()
26069{
26070return f != $ac_func;
26071 ;
26072 return 0;
26073}
26074_ACEOF
26075rm -f conftest.$ac_objext conftest$ac_exeext
26076if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26077 (eval $ac_link) 2>&5
26078 ac_status=$?
26079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26080 (exit $ac_status); } &&
26081 { ac_try='test -s conftest$ac_exeext'
26082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26083 (eval $ac_try) 2>&5
26084 ac_status=$?
26085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26086 (exit $ac_status); }; }; then
26087 eval "$as_ac_var=yes"
26088else
26089 echo "$as_me: failed program was:" >&5
26090sed 's/^/| /' conftest.$ac_ext >&5
26091
26092eval "$as_ac_var=no"
26093fi
26094rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26095fi
26096echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26097echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26098if test `eval echo '${'$as_ac_var'}'` = yes; then
26099 cat >>confdefs.h <<_ACEOF
26100#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26101_ACEOF
26102 WCSLEN_FOUND=1
26103fi
26104done
26105
26106
26107 if test "$WCSLEN_FOUND" = 0; then
26108 if test "$TOOLKIT" = "MSW"; then
26109 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26110echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26111if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26112 echo $ECHO_N "(cached) $ECHO_C" >&6
26113else
26114 ac_check_lib_save_LIBS=$LIBS
26115LIBS="-lmsvcrt $LIBS"
26116cat >conftest.$ac_ext <<_ACEOF
26117#line $LINENO "configure"
26118/* confdefs.h. */
26119_ACEOF
26120cat confdefs.h >>conftest.$ac_ext
26121cat >>conftest.$ac_ext <<_ACEOF
26122/* end confdefs.h. */
26123
26124/* Override any gcc2 internal prototype to avoid an error. */
26125#ifdef __cplusplus
26126extern "C"
26127#endif
26128/* We use char because int might match the return type of a gcc2
26129 builtin and then its argument prototype would still apply. */
26130char wcslen ();
26131int
26132main ()
26133{
26134wcslen ();
26135 ;
26136 return 0;
26137}
26138_ACEOF
26139rm -f conftest.$ac_objext conftest$ac_exeext
26140if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26141 (eval $ac_link) 2>&5
26142 ac_status=$?
26143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26144 (exit $ac_status); } &&
26145 { ac_try='test -s conftest$ac_exeext'
26146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26147 (eval $ac_try) 2>&5
26148 ac_status=$?
26149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150 (exit $ac_status); }; }; then
26151 ac_cv_lib_msvcrt_wcslen=yes
26152else
26153 echo "$as_me: failed program was:" >&5
26154sed 's/^/| /' conftest.$ac_ext >&5
26155
26156ac_cv_lib_msvcrt_wcslen=no
26157fi
26158rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26159LIBS=$ac_check_lib_save_LIBS
26160fi
26161echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26162echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26163if test $ac_cv_lib_msvcrt_wcslen = yes; then
26164 WCHAR_OK=1
26165fi
26166
26167 else
26168 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26169echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26170if test "${ac_cv_lib_w_wcslen+set}" = set; then
26171 echo $ECHO_N "(cached) $ECHO_C" >&6
26172else
26173 ac_check_lib_save_LIBS=$LIBS
26174LIBS="-lw $LIBS"
26175cat >conftest.$ac_ext <<_ACEOF
26176#line $LINENO "configure"
26177/* confdefs.h. */
26178_ACEOF
26179cat confdefs.h >>conftest.$ac_ext
26180cat >>conftest.$ac_ext <<_ACEOF
26181/* end confdefs.h. */
26182
26183/* Override any gcc2 internal prototype to avoid an error. */
26184#ifdef __cplusplus
26185extern "C"
26186#endif
26187/* We use char because int might match the return type of a gcc2
26188 builtin and then its argument prototype would still apply. */
26189char wcslen ();
26190int
26191main ()
26192{
26193wcslen ();
26194 ;
26195 return 0;
26196}
26197_ACEOF
26198rm -f conftest.$ac_objext conftest$ac_exeext
26199if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26200 (eval $ac_link) 2>&5
26201 ac_status=$?
26202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26203 (exit $ac_status); } &&
26204 { ac_try='test -s conftest$ac_exeext'
26205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26206 (eval $ac_try) 2>&5
26207 ac_status=$?
26208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26209 (exit $ac_status); }; }; then
26210 ac_cv_lib_w_wcslen=yes
26211else
26212 echo "$as_me: failed program was:" >&5
26213sed 's/^/| /' conftest.$ac_ext >&5
26214
26215ac_cv_lib_w_wcslen=no
26216fi
26217rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26218LIBS=$ac_check_lib_save_LIBS
26219fi
26220echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26221echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26222if test $ac_cv_lib_w_wcslen = yes; then
26223
26224 WCHAR_LINK=" -lw"
26225 WCSLEN_FOUND=1
26226
26227fi
26228
26229 fi
26230 fi
26231
26232 if test "$WCSLEN_FOUND" = 1; then
26233 cat >>confdefs.h <<\_ACEOF
26234#define HAVE_WCSLEN 1
26235_ACEOF
26236
26237 fi
26238
26239
26240for ac_func in wcsrtombs
26241do
26242as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26243echo "$as_me:$LINENO: checking for $ac_func" >&5
26244echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26245if eval "test \"\${$as_ac_var+set}\" = set"; then
26246 echo $ECHO_N "(cached) $ECHO_C" >&6
26247else
26248 cat >conftest.$ac_ext <<_ACEOF
26249#line $LINENO "configure"
26250/* confdefs.h. */
26251_ACEOF
26252cat confdefs.h >>conftest.$ac_ext
26253cat >>conftest.$ac_ext <<_ACEOF
26254/* end confdefs.h. */
26255/* System header to define __stub macros and hopefully few prototypes,
26256 which can conflict with char $ac_func (); below.
26257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26258 <limits.h> exists even on freestanding compilers. */
26259#ifdef __STDC__
26260# include <limits.h>
26261#else
26262# include <assert.h>
26263#endif
26264/* Override any gcc2 internal prototype to avoid an error. */
26265#ifdef __cplusplus
26266extern "C"
26267{
26268#endif
26269/* We use char because int might match the return type of a gcc2
26270 builtin and then its argument prototype would still apply. */
26271char $ac_func ();
26272/* The GNU C library defines this for functions which it implements
26273 to always fail with ENOSYS. Some functions are actually named
26274 something starting with __ and the normal name is an alias. */
26275#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26276choke me
26277#else
26278char (*f) () = $ac_func;
26279#endif
26280#ifdef __cplusplus
26281}
26282#endif
26283
26284int
26285main ()
26286{
26287return f != $ac_func;
26288 ;
26289 return 0;
26290}
26291_ACEOF
26292rm -f conftest.$ac_objext conftest$ac_exeext
26293if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26294 (eval $ac_link) 2>&5
26295 ac_status=$?
26296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26297 (exit $ac_status); } &&
26298 { ac_try='test -s conftest$ac_exeext'
26299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26300 (eval $ac_try) 2>&5
26301 ac_status=$?
26302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303 (exit $ac_status); }; }; then
26304 eval "$as_ac_var=yes"
26305else
26306 echo "$as_me: failed program was:" >&5
26307sed 's/^/| /' conftest.$ac_ext >&5
26308
26309eval "$as_ac_var=no"
26310fi
26311rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26312fi
26313echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26314echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26315if test `eval echo '${'$as_ac_var'}'` = yes; then
26316 cat >>confdefs.h <<_ACEOF
26317#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26318_ACEOF
26319
26320fi
26321done
26322
26323else
26324 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26325echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26326fi
26327
26328
26329
26330ac_ext=cc
26331ac_cpp='$CXXCPP $CPPFLAGS'
26332ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26333ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26334ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26335
26336
26337
26338for ac_func in vsnprintf
26339do
26340as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26341echo "$as_me:$LINENO: checking for $ac_func" >&5
26342echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26343if eval "test \"\${$as_ac_var+set}\" = set"; then
26344 echo $ECHO_N "(cached) $ECHO_C" >&6
26345else
26346 cat >conftest.$ac_ext <<_ACEOF
26347#line $LINENO "configure"
26348/* confdefs.h. */
26349_ACEOF
26350cat confdefs.h >>conftest.$ac_ext
26351cat >>conftest.$ac_ext <<_ACEOF
26352/* end confdefs.h. */
26353/* System header to define __stub macros and hopefully few prototypes,
26354 which can conflict with char $ac_func (); below.
26355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26356 <limits.h> exists even on freestanding compilers. */
26357#ifdef __STDC__
26358# include <limits.h>
26359#else
26360# include <assert.h>
26361#endif
26362/* Override any gcc2 internal prototype to avoid an error. */
26363#ifdef __cplusplus
26364extern "C"
26365{
26366#endif
26367/* We use char because int might match the return type of a gcc2
26368 builtin and then its argument prototype would still apply. */
26369char $ac_func ();
26370/* The GNU C library defines this for functions which it implements
26371 to always fail with ENOSYS. Some functions are actually named
26372 something starting with __ and the normal name is an alias. */
26373#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26374choke me
26375#else
26376char (*f) () = $ac_func;
26377#endif
26378#ifdef __cplusplus
26379}
26380#endif
26381
26382int
26383main ()
26384{
26385return f != $ac_func;
26386 ;
26387 return 0;
26388}
26389_ACEOF
26390rm -f conftest.$ac_objext conftest$ac_exeext
26391if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26392 (eval $ac_link) 2>&5
26393 ac_status=$?
26394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26395 (exit $ac_status); } &&
26396 { ac_try='test -s conftest$ac_exeext'
26397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26398 (eval $ac_try) 2>&5
26399 ac_status=$?
26400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26401 (exit $ac_status); }; }; then
26402 eval "$as_ac_var=yes"
26403else
26404 echo "$as_me: failed program was:" >&5
26405sed 's/^/| /' conftest.$ac_ext >&5
26406
26407eval "$as_ac_var=no"
26408fi
26409rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26410fi
26411echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26412echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26413if test `eval echo '${'$as_ac_var'}'` = yes; then
26414 cat >>confdefs.h <<_ACEOF
26415#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26416_ACEOF
26417
26418fi
26419done
26420
26421
26422if test "$ac_cv_func_vsnprintf" = "yes"; then
26423 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26424echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26425if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26426 echo $ECHO_N "(cached) $ECHO_C" >&6
26427else
26428
26429 cat >conftest.$ac_ext <<_ACEOF
26430#line $LINENO "configure"
26431/* confdefs.h. */
26432_ACEOF
26433cat confdefs.h >>conftest.$ac_ext
26434cat >>conftest.$ac_ext <<_ACEOF
26435/* end confdefs.h. */
26436
26437 #include <stdio.h>
26438 #include <stdarg.h>
26439
26440int
26441main ()
26442{
26443
26444 char *buf;
26445 va_list ap;
26446 vsnprintf(buf, 10u, "%s", ap);
26447
26448 ;
26449 return 0;
26450}
26451_ACEOF
26452rm -f conftest.$ac_objext
26453if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26454 (eval $ac_compile) 2>&5
26455 ac_status=$?
26456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26457 (exit $ac_status); } &&
26458 { ac_try='test -s conftest.$ac_objext'
26459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26460 (eval $ac_try) 2>&5
26461 ac_status=$?
26462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26463 (exit $ac_status); }; }; then
26464 wx_cv_func_vsnprintf_decl=yes
26465else
26466 echo "$as_me: failed program was:" >&5
26467sed 's/^/| /' conftest.$ac_ext >&5
26468
26469wx_cv_func_vsnprintf_decl=no
26470
26471fi
26472rm -f conftest.$ac_objext conftest.$ac_ext
26473
26474
26475fi
26476echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26477echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26478
26479 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26480 cat >>confdefs.h <<\_ACEOF
26481#define HAVE_VSNPRINTF_DECL 1
26482_ACEOF
26483
26484 fi
26485fi
26486
26487if test "$wxUSE_UNICODE" = yes; then
26488
26489
26490
26491for ac_func in fputwc wprintf vswprintf
26492do
26493as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26494echo "$as_me:$LINENO: checking for $ac_func" >&5
26495echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26496if eval "test \"\${$as_ac_var+set}\" = set"; then
26497 echo $ECHO_N "(cached) $ECHO_C" >&6
26498else
26499 cat >conftest.$ac_ext <<_ACEOF
26500#line $LINENO "configure"
26501/* confdefs.h. */
26502_ACEOF
26503cat confdefs.h >>conftest.$ac_ext
26504cat >>conftest.$ac_ext <<_ACEOF
26505/* end confdefs.h. */
26506/* System header to define __stub macros and hopefully few prototypes,
26507 which can conflict with char $ac_func (); below.
26508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26509 <limits.h> exists even on freestanding compilers. */
26510#ifdef __STDC__
26511# include <limits.h>
26512#else
26513# include <assert.h>
26514#endif
26515/* Override any gcc2 internal prototype to avoid an error. */
26516#ifdef __cplusplus
26517extern "C"
26518{
26519#endif
26520/* We use char because int might match the return type of a gcc2
26521 builtin and then its argument prototype would still apply. */
26522char $ac_func ();
26523/* The GNU C library defines this for functions which it implements
26524 to always fail with ENOSYS. Some functions are actually named
26525 something starting with __ and the normal name is an alias. */
26526#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26527choke me
26528#else
26529char (*f) () = $ac_func;
26530#endif
26531#ifdef __cplusplus
26532}
26533#endif
26534
26535int
26536main ()
26537{
26538return f != $ac_func;
26539 ;
26540 return 0;
26541}
26542_ACEOF
26543rm -f conftest.$ac_objext conftest$ac_exeext
26544if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26545 (eval $ac_link) 2>&5
26546 ac_status=$?
26547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26548 (exit $ac_status); } &&
26549 { ac_try='test -s conftest$ac_exeext'
26550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26551 (eval $ac_try) 2>&5
26552 ac_status=$?
26553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26554 (exit $ac_status); }; }; then
26555 eval "$as_ac_var=yes"
26556else
26557 echo "$as_me: failed program was:" >&5
26558sed 's/^/| /' conftest.$ac_ext >&5
26559
26560eval "$as_ac_var=no"
26561fi
26562rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26563fi
26564echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26565echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26566if test `eval echo '${'$as_ac_var'}'` = yes; then
26567 cat >>confdefs.h <<_ACEOF
26568#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26569_ACEOF
26570
26571fi
26572done
26573
26574
26575 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26576echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26577 cat >conftest.$ac_ext <<_ACEOF
26578#line $LINENO "configure"
26579/* confdefs.h. */
26580_ACEOF
26581cat confdefs.h >>conftest.$ac_ext
26582cat >>conftest.$ac_ext <<_ACEOF
26583/* end confdefs.h. */
26584#include <wchar.h>
26585int
26586main ()
26587{
26588&_vsnwprintf;
26589 ;
26590 return 0;
26591}
26592_ACEOF
26593rm -f conftest.$ac_objext
26594if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26595 (eval $ac_compile) 2>&5
26596 ac_status=$?
26597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26598 (exit $ac_status); } &&
26599 { ac_try='test -s conftest.$ac_objext'
26600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26601 (eval $ac_try) 2>&5
26602 ac_status=$?
26603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26604 (exit $ac_status); }; }; then
26605 echo "$as_me:$LINENO: result: yes" >&5
26606echo "${ECHO_T}yes" >&6
26607 cat >>confdefs.h <<\_ACEOF
26608#define HAVE__VSNWPRINTF 1
26609_ACEOF
26610
26611else
26612 echo "$as_me: failed program was:" >&5
26613sed 's/^/| /' conftest.$ac_ext >&5
26614
26615echo "$as_me:$LINENO: result: no" >&5
26616echo "${ECHO_T}no" >&6
26617fi
26618rm -f conftest.$ac_objext conftest.$ac_ext;
26619fi
26620
26621ac_ext=c
26622ac_cpp='$CPP $CPPFLAGS'
26623ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26624ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26625ac_compiler_gnu=$ac_cv_c_compiler_gnu
26626
26627
26628
26629
26630if test "$TOOLKIT" != "MSW"; then
26631
26632
26633
26634
26635ac_ext=cc
26636ac_cpp='$CXXCPP $CPPFLAGS'
26637ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26638ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26639ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26640
26641
26642
26643
26644# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26645if test "${with_libiconv_prefix+set}" = set; then
26646 withval="$with_libiconv_prefix"
26647
26648 for dir in `echo "$withval" | tr : ' '`; do
26649 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
26650 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
26651 done
26652
26653fi;
26654
26655 echo "$as_me:$LINENO: checking for iconv" >&5
26656echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26657if test "${am_cv_func_iconv+set}" = set; then
26658 echo $ECHO_N "(cached) $ECHO_C" >&6
26659else
26660
26661 am_cv_func_iconv="no, consider installing GNU libiconv"
26662 am_cv_lib_iconv=no
26663 cat >conftest.$ac_ext <<_ACEOF
26664#line $LINENO "configure"
26665/* confdefs.h. */
26666_ACEOF
26667cat confdefs.h >>conftest.$ac_ext
26668cat >>conftest.$ac_ext <<_ACEOF
26669/* end confdefs.h. */
26670#include <stdlib.h>
26671#include <iconv.h>
26672int
26673main ()
26674{
26675iconv_t cd = iconv_open("","");
26676 iconv(cd,NULL,NULL,NULL,NULL);
26677 iconv_close(cd);
26678 ;
26679 return 0;
26680}
26681_ACEOF
26682rm -f conftest.$ac_objext conftest$ac_exeext
26683if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26684 (eval $ac_link) 2>&5
26685 ac_status=$?
26686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26687 (exit $ac_status); } &&
26688 { ac_try='test -s conftest$ac_exeext'
26689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26690 (eval $ac_try) 2>&5
26691 ac_status=$?
26692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26693 (exit $ac_status); }; }; then
26694 am_cv_func_iconv=yes
26695else
26696 echo "$as_me: failed program was:" >&5
26697sed 's/^/| /' conftest.$ac_ext >&5
26698
26699fi
26700rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26701 if test "$am_cv_func_iconv" != yes; then
26702 am_save_LIBS="$LIBS"
26703 LIBS="$LIBS -liconv"
26704 cat >conftest.$ac_ext <<_ACEOF
26705#line $LINENO "configure"
26706/* confdefs.h. */
26707_ACEOF
26708cat confdefs.h >>conftest.$ac_ext
26709cat >>conftest.$ac_ext <<_ACEOF
26710/* end confdefs.h. */
26711#include <stdlib.h>
26712#include <iconv.h>
26713int
26714main ()
26715{
26716iconv_t cd = iconv_open("","");
26717 iconv(cd,NULL,NULL,NULL,NULL);
26718 iconv_close(cd);
26719 ;
26720 return 0;
26721}
26722_ACEOF
26723rm -f conftest.$ac_objext conftest$ac_exeext
26724if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26725 (eval $ac_link) 2>&5
26726 ac_status=$?
26727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26728 (exit $ac_status); } &&
26729 { ac_try='test -s conftest$ac_exeext'
26730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26731 (eval $ac_try) 2>&5
26732 ac_status=$?
26733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26734 (exit $ac_status); }; }; then
26735 am_cv_lib_iconv=yes
26736 am_cv_func_iconv=yes
26737else
26738 echo "$as_me: failed program was:" >&5
26739sed 's/^/| /' conftest.$ac_ext >&5
26740
26741fi
26742rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26743 LIBS="$am_save_LIBS"
26744 fi
26745
26746fi
26747echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26748echo "${ECHO_T}$am_cv_func_iconv" >&6
26749 if test "$am_cv_func_iconv" = yes; then
26750
26751cat >>confdefs.h <<\_ACEOF
26752#define HAVE_ICONV 1
26753_ACEOF
26754
26755 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26756echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26757if test "${wx_cv_func_iconv_const+set}" = set; then
26758 echo $ECHO_N "(cached) $ECHO_C" >&6
26759else
26760 cat >conftest.$ac_ext <<_ACEOF
26761#line $LINENO "configure"
26762/* confdefs.h. */
26763_ACEOF
26764cat confdefs.h >>conftest.$ac_ext
26765cat >>conftest.$ac_ext <<_ACEOF
26766/* end confdefs.h. */
26767
26768#include <stdlib.h>
26769#include <iconv.h>
26770extern
26771#ifdef __cplusplus
26772"C"
26773#endif
26774#if defined(__STDC__) || defined(__cplusplus)
26775size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26776#else
26777size_t iconv();
26778#endif
26779
26780int
26781main ()
26782{
26783
26784 ;
26785 return 0;
26786}
26787_ACEOF
26788rm -f conftest.$ac_objext
26789if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26790 (eval $ac_compile) 2>&5
26791 ac_status=$?
26792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26793 (exit $ac_status); } &&
26794 { ac_try='test -s conftest.$ac_objext'
26795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26796 (eval $ac_try) 2>&5
26797 ac_status=$?
26798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26799 (exit $ac_status); }; }; then
26800 wx_cv_func_iconv_const="no"
26801else
26802 echo "$as_me: failed program was:" >&5
26803sed 's/^/| /' conftest.$ac_ext >&5
26804
26805wx_cv_func_iconv_const="yes"
26806
26807fi
26808rm -f conftest.$ac_objext conftest.$ac_ext
26809
26810fi
26811echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26812echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26813
26814 iconv_const=
26815 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26816 iconv_const="const"
26817 fi
26818
26819
26820cat >>confdefs.h <<_ACEOF
26821#define ICONV_CONST $iconv_const
26822_ACEOF
26823
26824 fi
26825 LIBICONV=
26826 if test "$am_cv_lib_iconv" = yes; then
26827 LIBICONV="-liconv"
26828 fi
26829
26830
26831LIBS="$LIBICONV $LIBS"
26832ac_ext=c
26833ac_cpp='$CPP $CPPFLAGS'
26834ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26835ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26836ac_compiler_gnu=$ac_cv_c_compiler_gnu
26837
26838
26839if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26840
26841for ac_func in sigaction
26842do
26843as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26844echo "$as_me:$LINENO: checking for $ac_func" >&5
26845echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26846if eval "test \"\${$as_ac_var+set}\" = set"; then
26847 echo $ECHO_N "(cached) $ECHO_C" >&6
26848else
26849 cat >conftest.$ac_ext <<_ACEOF
26850#line $LINENO "configure"
26851/* confdefs.h. */
26852_ACEOF
26853cat confdefs.h >>conftest.$ac_ext
26854cat >>conftest.$ac_ext <<_ACEOF
26855/* end confdefs.h. */
26856/* System header to define __stub macros and hopefully few prototypes,
26857 which can conflict with char $ac_func (); below.
26858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26859 <limits.h> exists even on freestanding compilers. */
26860#ifdef __STDC__
26861# include <limits.h>
26862#else
26863# include <assert.h>
26864#endif
26865/* Override any gcc2 internal prototype to avoid an error. */
26866#ifdef __cplusplus
26867extern "C"
26868{
26869#endif
26870/* We use char because int might match the return type of a gcc2
26871 builtin and then its argument prototype would still apply. */
26872char $ac_func ();
26873/* The GNU C library defines this for functions which it implements
26874 to always fail with ENOSYS. Some functions are actually named
26875 something starting with __ and the normal name is an alias. */
26876#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26877choke me
26878#else
26879char (*f) () = $ac_func;
26880#endif
26881#ifdef __cplusplus
26882}
26883#endif
26884
26885int
26886main ()
26887{
26888return f != $ac_func;
26889 ;
26890 return 0;
26891}
26892_ACEOF
26893rm -f conftest.$ac_objext conftest$ac_exeext
26894if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26895 (eval $ac_link) 2>&5
26896 ac_status=$?
26897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26898 (exit $ac_status); } &&
26899 { ac_try='test -s conftest$ac_exeext'
26900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26901 (eval $ac_try) 2>&5
26902 ac_status=$?
26903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26904 (exit $ac_status); }; }; then
26905 eval "$as_ac_var=yes"
26906else
26907 echo "$as_me: failed program was:" >&5
26908sed 's/^/| /' conftest.$ac_ext >&5
26909
26910eval "$as_ac_var=no"
26911fi
26912rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26913fi
26914echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26915echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26916if test `eval echo '${'$as_ac_var'}'` = yes; then
26917 cat >>confdefs.h <<_ACEOF
26918#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26919_ACEOF
26920
26921fi
26922done
26923
26924
26925 if test "$ac_cv_func_sigaction" = "no"; then
26926 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26927echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26928 wxUSE_ON_FATAL_EXCEPTION=no
26929 fi
26930
26931 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26932
26933
26934 ac_ext=cc
26935ac_cpp='$CXXCPP $CPPFLAGS'
26936ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26937ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26938ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26939
26940
26941 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26942echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26943if test "${wx_cv_type_sa_handler+set}" = set; then
26944 echo $ECHO_N "(cached) $ECHO_C" >&6
26945else
26946
26947 cat >conftest.$ac_ext <<_ACEOF
26948#line $LINENO "configure"
26949/* confdefs.h. */
26950_ACEOF
26951cat confdefs.h >>conftest.$ac_ext
26952cat >>conftest.$ac_ext <<_ACEOF
26953/* end confdefs.h. */
26954#include <signal.h>
26955int
26956main ()
26957{
26958
26959 extern void testSigHandler(int);
26960
26961 struct sigaction sa;
26962 sa.sa_handler = testSigHandler;
26963
26964 ;
26965 return 0;
26966}
26967_ACEOF
26968rm -f conftest.$ac_objext
26969if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26970 (eval $ac_compile) 2>&5
26971 ac_status=$?
26972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26973 (exit $ac_status); } &&
26974 { ac_try='test -s conftest.$ac_objext'
26975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26976 (eval $ac_try) 2>&5
26977 ac_status=$?
26978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26979 (exit $ac_status); }; }; then
26980
26981 wx_cv_type_sa_handler=int
26982
26983else
26984 echo "$as_me: failed program was:" >&5
26985sed 's/^/| /' conftest.$ac_ext >&5
26986
26987
26988 wx_cv_type_sa_handler=void
26989
26990fi
26991rm -f conftest.$ac_objext conftest.$ac_ext
26992
26993fi
26994echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
26995echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
26996
26997 ac_ext=c
26998ac_cpp='$CPP $CPPFLAGS'
26999ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27000ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27001ac_compiler_gnu=$ac_cv_c_compiler_gnu
27002
27003
27004 cat >>confdefs.h <<_ACEOF
27005#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27006_ACEOF
27007
27008 fi
27009fi
27010
27011
27012
27013for ac_func in mkstemp mktemp
27014do
27015as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27016echo "$as_me:$LINENO: checking for $ac_func" >&5
27017echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27018if eval "test \"\${$as_ac_var+set}\" = set"; then
27019 echo $ECHO_N "(cached) $ECHO_C" >&6
27020else
27021 cat >conftest.$ac_ext <<_ACEOF
27022#line $LINENO "configure"
27023/* confdefs.h. */
27024_ACEOF
27025cat confdefs.h >>conftest.$ac_ext
27026cat >>conftest.$ac_ext <<_ACEOF
27027/* end confdefs.h. */
27028/* System header to define __stub macros and hopefully few prototypes,
27029 which can conflict with char $ac_func (); below.
27030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27031 <limits.h> exists even on freestanding compilers. */
27032#ifdef __STDC__
27033# include <limits.h>
27034#else
27035# include <assert.h>
27036#endif
27037/* Override any gcc2 internal prototype to avoid an error. */
27038#ifdef __cplusplus
27039extern "C"
27040{
27041#endif
27042/* We use char because int might match the return type of a gcc2
27043 builtin and then its argument prototype would still apply. */
27044char $ac_func ();
27045/* The GNU C library defines this for functions which it implements
27046 to always fail with ENOSYS. Some functions are actually named
27047 something starting with __ and the normal name is an alias. */
27048#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27049choke me
27050#else
27051char (*f) () = $ac_func;
27052#endif
27053#ifdef __cplusplus
27054}
27055#endif
27056
27057int
27058main ()
27059{
27060return f != $ac_func;
27061 ;
27062 return 0;
27063}
27064_ACEOF
27065rm -f conftest.$ac_objext conftest$ac_exeext
27066if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27067 (eval $ac_link) 2>&5
27068 ac_status=$?
27069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27070 (exit $ac_status); } &&
27071 { ac_try='test -s conftest$ac_exeext'
27072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27073 (eval $ac_try) 2>&5
27074 ac_status=$?
27075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27076 (exit $ac_status); }; }; then
27077 eval "$as_ac_var=yes"
27078else
27079 echo "$as_me: failed program was:" >&5
27080sed 's/^/| /' conftest.$ac_ext >&5
27081
27082eval "$as_ac_var=no"
27083fi
27084rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27085fi
27086echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27087echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27088if test `eval echo '${'$as_ac_var'}'` = yes; then
27089 cat >>confdefs.h <<_ACEOF
27090#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27091_ACEOF
27092 break
27093fi
27094done
27095
27096
27097echo "$as_me:$LINENO: checking for statfs" >&5
27098echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27099if test "${wx_cv_func_statfs+set}" = set; then
27100 echo $ECHO_N "(cached) $ECHO_C" >&6
27101else
27102 cat >conftest.$ac_ext <<_ACEOF
27103#line $LINENO "configure"
27104/* confdefs.h. */
27105_ACEOF
27106cat confdefs.h >>conftest.$ac_ext
27107cat >>conftest.$ac_ext <<_ACEOF
27108/* end confdefs.h. */
27109
27110 #if defined(__BSD__)
27111 #include <sys/param.h>
27112 #include <sys/mount.h>
27113 #else
27114 #include <sys/vfs.h>
27115 #endif
27116
27117int
27118main ()
27119{
27120
27121 long l;
27122 struct statfs fs;
27123 statfs("/", &fs);
27124 l = fs.f_bsize;
27125 l += fs.f_blocks;
27126 l += fs.f_bavail;
27127
27128 ;
27129 return 0;
27130}
27131_ACEOF
27132rm -f conftest.$ac_objext
27133if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27134 (eval $ac_compile) 2>&5
27135 ac_status=$?
27136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27137 (exit $ac_status); } &&
27138 { ac_try='test -s conftest.$ac_objext'
27139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27140 (eval $ac_try) 2>&5
27141 ac_status=$?
27142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27143 (exit $ac_status); }; }; then
27144
27145 wx_cv_func_statfs=yes
27146
27147else
27148 echo "$as_me: failed program was:" >&5
27149sed 's/^/| /' conftest.$ac_ext >&5
27150
27151
27152 wx_cv_func_statfs=no
27153
27154
27155fi
27156rm -f conftest.$ac_objext conftest.$ac_ext
27157
27158fi
27159echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27160echo "${ECHO_T}$wx_cv_func_statfs" >&6
27161
27162if test "$wx_cv_func_statfs" = "yes"; then
27163 wx_cv_type_statvfs_t="struct statfs"
27164 cat >>confdefs.h <<\_ACEOF
27165#define HAVE_STATFS 1
27166_ACEOF
27167
27168else
27169 echo "$as_me:$LINENO: checking for statvfs" >&5
27170echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27171if test "${wx_cv_func_statvfs+set}" = set; then
27172 echo $ECHO_N "(cached) $ECHO_C" >&6
27173else
27174 cat >conftest.$ac_ext <<_ACEOF
27175#line $LINENO "configure"
27176/* confdefs.h. */
27177_ACEOF
27178cat confdefs.h >>conftest.$ac_ext
27179cat >>conftest.$ac_ext <<_ACEOF
27180/* end confdefs.h. */
27181
27182 #include <stddef.h>
27183 #include <sys/statvfs.h>
27184
27185int
27186main ()
27187{
27188
27189 statvfs("/", NULL);
27190
27191 ;
27192 return 0;
27193}
27194_ACEOF
27195rm -f conftest.$ac_objext
27196if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27197 (eval $ac_compile) 2>&5
27198 ac_status=$?
27199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27200 (exit $ac_status); } &&
27201 { ac_try='test -s conftest.$ac_objext'
27202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27203 (eval $ac_try) 2>&5
27204 ac_status=$?
27205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27206 (exit $ac_status); }; }; then
27207 wx_cv_func_statvfs=yes
27208else
27209 echo "$as_me: failed program was:" >&5
27210sed 's/^/| /' conftest.$ac_ext >&5
27211
27212wx_cv_func_statvfs=no
27213
27214fi
27215rm -f conftest.$ac_objext conftest.$ac_ext
27216
27217fi
27218echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27219echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27220
27221 if test "$wx_cv_func_statvfs" = "yes"; then
27222
27223
27224 ac_ext=cc
27225ac_cpp='$CXXCPP $CPPFLAGS'
27226ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27227ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27228ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27229
27230
27231 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27232echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27233if test "${wx_cv_type_statvfs_t+set}" = set; then
27234 echo $ECHO_N "(cached) $ECHO_C" >&6
27235else
27236 cat >conftest.$ac_ext <<_ACEOF
27237#line $LINENO "configure"
27238/* confdefs.h. */
27239_ACEOF
27240cat confdefs.h >>conftest.$ac_ext
27241cat >>conftest.$ac_ext <<_ACEOF
27242/* end confdefs.h. */
27243
27244 #include <sys/statvfs.h>
27245
27246int
27247main ()
27248{
27249
27250 long l;
27251 statvfs_t fs;
27252 statvfs("/", &fs);
27253 l = fs.f_bsize;
27254 l += fs.f_blocks;
27255 l += fs.f_bavail;
27256
27257 ;
27258 return 0;
27259}
27260_ACEOF
27261rm -f conftest.$ac_objext
27262if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27263 (eval $ac_compile) 2>&5
27264 ac_status=$?
27265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27266 (exit $ac_status); } &&
27267 { ac_try='test -s conftest.$ac_objext'
27268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27269 (eval $ac_try) 2>&5
27270 ac_status=$?
27271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27272 (exit $ac_status); }; }; then
27273 wx_cv_type_statvfs_t=statvfs_t
27274else
27275 echo "$as_me: failed program was:" >&5
27276sed 's/^/| /' conftest.$ac_ext >&5
27277
27278
27279 cat >conftest.$ac_ext <<_ACEOF
27280#line $LINENO "configure"
27281/* confdefs.h. */
27282_ACEOF
27283cat confdefs.h >>conftest.$ac_ext
27284cat >>conftest.$ac_ext <<_ACEOF
27285/* end confdefs.h. */
27286
27287 #include <sys/statvfs.h>
27288
27289int
27290main ()
27291{
27292
27293 long l;
27294 struct statvfs fs;
27295 statvfs("/", &fs);
27296 l = fs.f_bsize;
27297 l += fs.f_blocks;
27298 l += fs.f_bavail;
27299
27300 ;
27301 return 0;
27302}
27303_ACEOF
27304rm -f conftest.$ac_objext
27305if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27306 (eval $ac_compile) 2>&5
27307 ac_status=$?
27308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27309 (exit $ac_status); } &&
27310 { ac_try='test -s conftest.$ac_objext'
27311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27312 (eval $ac_try) 2>&5
27313 ac_status=$?
27314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27315 (exit $ac_status); }; }; then
27316 wx_cv_type_statvfs_t="struct statvfs"
27317else
27318 echo "$as_me: failed program was:" >&5
27319sed 's/^/| /' conftest.$ac_ext >&5
27320
27321wx_cv_type_statvfs_t="unknown"
27322
27323fi
27324rm -f conftest.$ac_objext conftest.$ac_ext
27325
27326
27327fi
27328rm -f conftest.$ac_objext conftest.$ac_ext
27329
27330fi
27331echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27332echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27333
27334 ac_ext=c
27335ac_cpp='$CPP $CPPFLAGS'
27336ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27337ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27338ac_compiler_gnu=$ac_cv_c_compiler_gnu
27339
27340
27341 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27342 cat >>confdefs.h <<\_ACEOF
27343#define HAVE_STATVFS 1
27344_ACEOF
27345
27346 fi
27347 else
27348 wx_cv_type_statvfs_t="unknown"
27349 fi
27350fi
27351
27352if test "$wx_cv_type_statvfs_t" != "unknown"; then
27353 cat >>confdefs.h <<_ACEOF
27354#define WX_STATFS_T $wx_cv_type_statvfs_t
27355_ACEOF
27356
27357else
27358 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27359echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27360fi
27361
27362if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27363
27364
27365for ac_func in fcntl flock
27366do
27367as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27368echo "$as_me:$LINENO: checking for $ac_func" >&5
27369echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27370if eval "test \"\${$as_ac_var+set}\" = set"; then
27371 echo $ECHO_N "(cached) $ECHO_C" >&6
27372else
27373 cat >conftest.$ac_ext <<_ACEOF
27374#line $LINENO "configure"
27375/* confdefs.h. */
27376_ACEOF
27377cat confdefs.h >>conftest.$ac_ext
27378cat >>conftest.$ac_ext <<_ACEOF
27379/* end confdefs.h. */
27380/* System header to define __stub macros and hopefully few prototypes,
27381 which can conflict with char $ac_func (); below.
27382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27383 <limits.h> exists even on freestanding compilers. */
27384#ifdef __STDC__
27385# include <limits.h>
27386#else
27387# include <assert.h>
27388#endif
27389/* Override any gcc2 internal prototype to avoid an error. */
27390#ifdef __cplusplus
27391extern "C"
27392{
27393#endif
27394/* We use char because int might match the return type of a gcc2
27395 builtin and then its argument prototype would still apply. */
27396char $ac_func ();
27397/* The GNU C library defines this for functions which it implements
27398 to always fail with ENOSYS. Some functions are actually named
27399 something starting with __ and the normal name is an alias. */
27400#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27401choke me
27402#else
27403char (*f) () = $ac_func;
27404#endif
27405#ifdef __cplusplus
27406}
27407#endif
27408
27409int
27410main ()
27411{
27412return f != $ac_func;
27413 ;
27414 return 0;
27415}
27416_ACEOF
27417rm -f conftest.$ac_objext conftest$ac_exeext
27418if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27419 (eval $ac_link) 2>&5
27420 ac_status=$?
27421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27422 (exit $ac_status); } &&
27423 { ac_try='test -s conftest$ac_exeext'
27424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27425 (eval $ac_try) 2>&5
27426 ac_status=$?
27427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27428 (exit $ac_status); }; }; then
27429 eval "$as_ac_var=yes"
27430else
27431 echo "$as_me: failed program was:" >&5
27432sed 's/^/| /' conftest.$ac_ext >&5
27433
27434eval "$as_ac_var=no"
27435fi
27436rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27437fi
27438echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27439echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27440if test `eval echo '${'$as_ac_var'}'` = yes; then
27441 cat >>confdefs.h <<_ACEOF
27442#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27443_ACEOF
27444 break
27445fi
27446done
27447
27448
27449 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27450 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27451echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27452 wxUSE_SNGLINST_CHECKER=no
27453 fi
27454fi
27455
27456
27457for ac_func in timegm
27458do
27459as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27460echo "$as_me:$LINENO: checking for $ac_func" >&5
27461echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27462if eval "test \"\${$as_ac_var+set}\" = set"; then
27463 echo $ECHO_N "(cached) $ECHO_C" >&6
27464else
27465 cat >conftest.$ac_ext <<_ACEOF
27466#line $LINENO "configure"
27467/* confdefs.h. */
27468_ACEOF
27469cat confdefs.h >>conftest.$ac_ext
27470cat >>conftest.$ac_ext <<_ACEOF
27471/* end confdefs.h. */
27472/* System header to define __stub macros and hopefully few prototypes,
27473 which can conflict with char $ac_func (); below.
27474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27475 <limits.h> exists even on freestanding compilers. */
27476#ifdef __STDC__
27477# include <limits.h>
27478#else
27479# include <assert.h>
27480#endif
27481/* Override any gcc2 internal prototype to avoid an error. */
27482#ifdef __cplusplus
27483extern "C"
27484{
27485#endif
27486/* We use char because int might match the return type of a gcc2
27487 builtin and then its argument prototype would still apply. */
27488char $ac_func ();
27489/* The GNU C library defines this for functions which it implements
27490 to always fail with ENOSYS. Some functions are actually named
27491 something starting with __ and the normal name is an alias. */
27492#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27493choke me
27494#else
27495char (*f) () = $ac_func;
27496#endif
27497#ifdef __cplusplus
27498}
27499#endif
27500
27501int
27502main ()
27503{
27504return f != $ac_func;
27505 ;
27506 return 0;
27507}
27508_ACEOF
27509rm -f conftest.$ac_objext conftest$ac_exeext
27510if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27511 (eval $ac_link) 2>&5
27512 ac_status=$?
27513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27514 (exit $ac_status); } &&
27515 { ac_try='test -s conftest$ac_exeext'
27516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27517 (eval $ac_try) 2>&5
27518 ac_status=$?
27519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27520 (exit $ac_status); }; }; then
27521 eval "$as_ac_var=yes"
27522else
27523 echo "$as_me: failed program was:" >&5
27524sed 's/^/| /' conftest.$ac_ext >&5
27525
27526eval "$as_ac_var=no"
27527fi
27528rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27529fi
27530echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27531echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27532if test `eval echo '${'$as_ac_var'}'` = yes; then
27533 cat >>confdefs.h <<_ACEOF
27534#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27535_ACEOF
27536
27537fi
27538done
27539
27540
27541
27542
27543for ac_func in putenv setenv
27544do
27545as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27546echo "$as_me:$LINENO: checking for $ac_func" >&5
27547echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27548if eval "test \"\${$as_ac_var+set}\" = set"; then
27549 echo $ECHO_N "(cached) $ECHO_C" >&6
27550else
27551 cat >conftest.$ac_ext <<_ACEOF
27552#line $LINENO "configure"
27553/* confdefs.h. */
27554_ACEOF
27555cat confdefs.h >>conftest.$ac_ext
27556cat >>conftest.$ac_ext <<_ACEOF
27557/* end confdefs.h. */
27558/* System header to define __stub macros and hopefully few prototypes,
27559 which can conflict with char $ac_func (); below.
27560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27561 <limits.h> exists even on freestanding compilers. */
27562#ifdef __STDC__
27563# include <limits.h>
27564#else
27565# include <assert.h>
27566#endif
27567/* Override any gcc2 internal prototype to avoid an error. */
27568#ifdef __cplusplus
27569extern "C"
27570{
27571#endif
27572/* We use char because int might match the return type of a gcc2
27573 builtin and then its argument prototype would still apply. */
27574char $ac_func ();
27575/* The GNU C library defines this for functions which it implements
27576 to always fail with ENOSYS. Some functions are actually named
27577 something starting with __ and the normal name is an alias. */
27578#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27579choke me
27580#else
27581char (*f) () = $ac_func;
27582#endif
27583#ifdef __cplusplus
27584}
27585#endif
27586
27587int
27588main ()
27589{
27590return f != $ac_func;
27591 ;
27592 return 0;
27593}
27594_ACEOF
27595rm -f conftest.$ac_objext conftest$ac_exeext
27596if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27597 (eval $ac_link) 2>&5
27598 ac_status=$?
27599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27600 (exit $ac_status); } &&
27601 { ac_try='test -s conftest$ac_exeext'
27602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27603 (eval $ac_try) 2>&5
27604 ac_status=$?
27605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27606 (exit $ac_status); }; }; then
27607 eval "$as_ac_var=yes"
27608else
27609 echo "$as_me: failed program was:" >&5
27610sed 's/^/| /' conftest.$ac_ext >&5
27611
27612eval "$as_ac_var=no"
27613fi
27614rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27615fi
27616echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27617echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27618if test `eval echo '${'$as_ac_var'}'` = yes; then
27619 cat >>confdefs.h <<_ACEOF
27620#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27621_ACEOF
27622 break
27623fi
27624done
27625
27626
27627HAVE_SOME_SLEEP_FUNC=0
27628if test "$USE_BEOS" = 1; then
27629 cat >>confdefs.h <<\_ACEOF
27630#define HAVE_SLEEP 1
27631_ACEOF
27632
27633 HAVE_SOME_SLEEP_FUNC=1
27634fi
27635
27636if test "$USE_DARWIN" = 1; then
27637 cat >>confdefs.h <<\_ACEOF
27638#define HAVE_USLEEP 1
27639_ACEOF
27640
27641 HAVE_SOME_SLEEP_FUNC=1
27642fi
27643
27644if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27645 POSIX4_LINK=
27646
27647for ac_func in nanosleep
27648do
27649as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27650echo "$as_me:$LINENO: checking for $ac_func" >&5
27651echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27652if eval "test \"\${$as_ac_var+set}\" = set"; then
27653 echo $ECHO_N "(cached) $ECHO_C" >&6
27654else
27655 cat >conftest.$ac_ext <<_ACEOF
27656#line $LINENO "configure"
27657/* confdefs.h. */
27658_ACEOF
27659cat confdefs.h >>conftest.$ac_ext
27660cat >>conftest.$ac_ext <<_ACEOF
27661/* end confdefs.h. */
27662/* System header to define __stub macros and hopefully few prototypes,
27663 which can conflict with char $ac_func (); below.
27664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27665 <limits.h> exists even on freestanding compilers. */
27666#ifdef __STDC__
27667# include <limits.h>
27668#else
27669# include <assert.h>
27670#endif
27671/* Override any gcc2 internal prototype to avoid an error. */
27672#ifdef __cplusplus
27673extern "C"
27674{
27675#endif
27676/* We use char because int might match the return type of a gcc2
27677 builtin and then its argument prototype would still apply. */
27678char $ac_func ();
27679/* The GNU C library defines this for functions which it implements
27680 to always fail with ENOSYS. Some functions are actually named
27681 something starting with __ and the normal name is an alias. */
27682#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27683choke me
27684#else
27685char (*f) () = $ac_func;
27686#endif
27687#ifdef __cplusplus
27688}
27689#endif
27690
27691int
27692main ()
27693{
27694return f != $ac_func;
27695 ;
27696 return 0;
27697}
27698_ACEOF
27699rm -f conftest.$ac_objext conftest$ac_exeext
27700if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27701 (eval $ac_link) 2>&5
27702 ac_status=$?
27703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27704 (exit $ac_status); } &&
27705 { ac_try='test -s conftest$ac_exeext'
27706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27707 (eval $ac_try) 2>&5
27708 ac_status=$?
27709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27710 (exit $ac_status); }; }; then
27711 eval "$as_ac_var=yes"
27712else
27713 echo "$as_me: failed program was:" >&5
27714sed 's/^/| /' conftest.$ac_ext >&5
27715
27716eval "$as_ac_var=no"
27717fi
27718rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27719fi
27720echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27721echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27722if test `eval echo '${'$as_ac_var'}'` = yes; then
27723 cat >>confdefs.h <<_ACEOF
27724#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27725_ACEOF
27726 cat >>confdefs.h <<\_ACEOF
27727#define HAVE_NANOSLEEP 1
27728_ACEOF
27729
27730else
27731
27732 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27733echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27734if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27735 echo $ECHO_N "(cached) $ECHO_C" >&6
27736else
27737 ac_check_lib_save_LIBS=$LIBS
27738LIBS="-lposix4 $LIBS"
27739cat >conftest.$ac_ext <<_ACEOF
27740#line $LINENO "configure"
27741/* confdefs.h. */
27742_ACEOF
27743cat confdefs.h >>conftest.$ac_ext
27744cat >>conftest.$ac_ext <<_ACEOF
27745/* end confdefs.h. */
27746
27747/* Override any gcc2 internal prototype to avoid an error. */
27748#ifdef __cplusplus
27749extern "C"
27750#endif
27751/* We use char because int might match the return type of a gcc2
27752 builtin and then its argument prototype would still apply. */
27753char nanosleep ();
27754int
27755main ()
27756{
27757nanosleep ();
27758 ;
27759 return 0;
27760}
27761_ACEOF
27762rm -f conftest.$ac_objext conftest$ac_exeext
27763if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27764 (eval $ac_link) 2>&5
27765 ac_status=$?
27766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27767 (exit $ac_status); } &&
27768 { ac_try='test -s conftest$ac_exeext'
27769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27770 (eval $ac_try) 2>&5
27771 ac_status=$?
27772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27773 (exit $ac_status); }; }; then
27774 ac_cv_lib_posix4_nanosleep=yes
27775else
27776 echo "$as_me: failed program was:" >&5
27777sed 's/^/| /' conftest.$ac_ext >&5
27778
27779ac_cv_lib_posix4_nanosleep=no
27780fi
27781rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27782LIBS=$ac_check_lib_save_LIBS
27783fi
27784echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27785echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27786if test $ac_cv_lib_posix4_nanosleep = yes; then
27787
27788 cat >>confdefs.h <<\_ACEOF
27789#define HAVE_NANOSLEEP 1
27790_ACEOF
27791
27792 POSIX4_LINK=" -lposix4"
27793
27794else
27795
27796
27797for ac_func in usleep
27798do
27799as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27800echo "$as_me:$LINENO: checking for $ac_func" >&5
27801echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27802if eval "test \"\${$as_ac_var+set}\" = set"; then
27803 echo $ECHO_N "(cached) $ECHO_C" >&6
27804else
27805 cat >conftest.$ac_ext <<_ACEOF
27806#line $LINENO "configure"
27807/* confdefs.h. */
27808_ACEOF
27809cat confdefs.h >>conftest.$ac_ext
27810cat >>conftest.$ac_ext <<_ACEOF
27811/* end confdefs.h. */
27812/* System header to define __stub macros and hopefully few prototypes,
27813 which can conflict with char $ac_func (); below.
27814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27815 <limits.h> exists even on freestanding compilers. */
27816#ifdef __STDC__
27817# include <limits.h>
27818#else
27819# include <assert.h>
27820#endif
27821/* Override any gcc2 internal prototype to avoid an error. */
27822#ifdef __cplusplus
27823extern "C"
27824{
27825#endif
27826/* We use char because int might match the return type of a gcc2
27827 builtin and then its argument prototype would still apply. */
27828char $ac_func ();
27829/* The GNU C library defines this for functions which it implements
27830 to always fail with ENOSYS. Some functions are actually named
27831 something starting with __ and the normal name is an alias. */
27832#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27833choke me
27834#else
27835char (*f) () = $ac_func;
27836#endif
27837#ifdef __cplusplus
27838}
27839#endif
27840
27841int
27842main ()
27843{
27844return f != $ac_func;
27845 ;
27846 return 0;
27847}
27848_ACEOF
27849rm -f conftest.$ac_objext conftest$ac_exeext
27850if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27851 (eval $ac_link) 2>&5
27852 ac_status=$?
27853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27854 (exit $ac_status); } &&
27855 { ac_try='test -s conftest$ac_exeext'
27856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27857 (eval $ac_try) 2>&5
27858 ac_status=$?
27859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27860 (exit $ac_status); }; }; then
27861 eval "$as_ac_var=yes"
27862else
27863 echo "$as_me: failed program was:" >&5
27864sed 's/^/| /' conftest.$ac_ext >&5
27865
27866eval "$as_ac_var=no"
27867fi
27868rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27869fi
27870echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27871echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27872if test `eval echo '${'$as_ac_var'}'` = yes; then
27873 cat >>confdefs.h <<_ACEOF
27874#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27875_ACEOF
27876 cat >>confdefs.h <<\_ACEOF
27877#define HAVE_USLEEP 1
27878_ACEOF
27879
27880else
27881 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27882echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27883
27884fi
27885done
27886
27887
27888
27889fi
27890
27891
27892
27893fi
27894done
27895
27896fi
27897
27898
27899
27900for ac_func in uname gethostname
27901do
27902as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27903echo "$as_me:$LINENO: checking for $ac_func" >&5
27904echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27905if eval "test \"\${$as_ac_var+set}\" = set"; then
27906 echo $ECHO_N "(cached) $ECHO_C" >&6
27907else
27908 cat >conftest.$ac_ext <<_ACEOF
27909#line $LINENO "configure"
27910/* confdefs.h. */
27911_ACEOF
27912cat confdefs.h >>conftest.$ac_ext
27913cat >>conftest.$ac_ext <<_ACEOF
27914/* end confdefs.h. */
27915/* System header to define __stub macros and hopefully few prototypes,
27916 which can conflict with char $ac_func (); below.
27917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27918 <limits.h> exists even on freestanding compilers. */
27919#ifdef __STDC__
27920# include <limits.h>
27921#else
27922# include <assert.h>
27923#endif
27924/* Override any gcc2 internal prototype to avoid an error. */
27925#ifdef __cplusplus
27926extern "C"
27927{
27928#endif
27929/* We use char because int might match the return type of a gcc2
27930 builtin and then its argument prototype would still apply. */
27931char $ac_func ();
27932/* The GNU C library defines this for functions which it implements
27933 to always fail with ENOSYS. Some functions are actually named
27934 something starting with __ and the normal name is an alias. */
27935#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27936choke me
27937#else
27938char (*f) () = $ac_func;
27939#endif
27940#ifdef __cplusplus
27941}
27942#endif
27943
27944int
27945main ()
27946{
27947return f != $ac_func;
27948 ;
27949 return 0;
27950}
27951_ACEOF
27952rm -f conftest.$ac_objext conftest$ac_exeext
27953if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27954 (eval $ac_link) 2>&5
27955 ac_status=$?
27956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27957 (exit $ac_status); } &&
27958 { ac_try='test -s conftest$ac_exeext'
27959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27960 (eval $ac_try) 2>&5
27961 ac_status=$?
27962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27963 (exit $ac_status); }; }; then
27964 eval "$as_ac_var=yes"
27965else
27966 echo "$as_me: failed program was:" >&5
27967sed 's/^/| /' conftest.$ac_ext >&5
27968
27969eval "$as_ac_var=no"
27970fi
27971rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27972fi
27973echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27974echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27975if test `eval echo '${'$as_ac_var'}'` = yes; then
27976 cat >>confdefs.h <<_ACEOF
27977#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27978_ACEOF
27979 break
27980fi
27981done
27982
27983
27984
27985
27986ac_ext=cc
27987ac_cpp='$CXXCPP $CPPFLAGS'
27988ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27989ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27990ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27991
27992
27993
27994for ac_func in strtok_r
27995do
27996as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27997echo "$as_me:$LINENO: checking for $ac_func" >&5
27998echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27999if eval "test \"\${$as_ac_var+set}\" = set"; then
28000 echo $ECHO_N "(cached) $ECHO_C" >&6
28001else
28002 cat >conftest.$ac_ext <<_ACEOF
28003#line $LINENO "configure"
28004/* confdefs.h. */
28005_ACEOF
28006cat confdefs.h >>conftest.$ac_ext
28007cat >>conftest.$ac_ext <<_ACEOF
28008/* end confdefs.h. */
28009/* System header to define __stub macros and hopefully few prototypes,
28010 which can conflict with char $ac_func (); below.
28011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28012 <limits.h> exists even on freestanding compilers. */
28013#ifdef __STDC__
28014# include <limits.h>
28015#else
28016# include <assert.h>
28017#endif
28018/* Override any gcc2 internal prototype to avoid an error. */
28019#ifdef __cplusplus
28020extern "C"
28021{
28022#endif
28023/* We use char because int might match the return type of a gcc2
28024 builtin and then its argument prototype would still apply. */
28025char $ac_func ();
28026/* The GNU C library defines this for functions which it implements
28027 to always fail with ENOSYS. Some functions are actually named
28028 something starting with __ and the normal name is an alias. */
28029#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28030choke me
28031#else
28032char (*f) () = $ac_func;
28033#endif
28034#ifdef __cplusplus
28035}
28036#endif
28037
28038int
28039main ()
28040{
28041return f != $ac_func;
28042 ;
28043 return 0;
28044}
28045_ACEOF
28046rm -f conftest.$ac_objext conftest$ac_exeext
28047if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28048 (eval $ac_link) 2>&5
28049 ac_status=$?
28050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28051 (exit $ac_status); } &&
28052 { ac_try='test -s conftest$ac_exeext'
28053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28054 (eval $ac_try) 2>&5
28055 ac_status=$?
28056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28057 (exit $ac_status); }; }; then
28058 eval "$as_ac_var=yes"
28059else
28060 echo "$as_me: failed program was:" >&5
28061sed 's/^/| /' conftest.$ac_ext >&5
28062
28063eval "$as_ac_var=no"
28064fi
28065rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28066fi
28067echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28068echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28069if test `eval echo '${'$as_ac_var'}'` = yes; then
28070 cat >>confdefs.h <<_ACEOF
28071#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28072_ACEOF
28073
28074fi
28075done
28076
28077
28078ac_ext=c
28079ac_cpp='$CPP $CPPFLAGS'
28080ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28081ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28082ac_compiler_gnu=$ac_cv_c_compiler_gnu
28083
28084
28085INET_LINK=
28086
28087for ac_func in inet_addr
28088do
28089as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28090echo "$as_me:$LINENO: checking for $ac_func" >&5
28091echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28092if eval "test \"\${$as_ac_var+set}\" = set"; then
28093 echo $ECHO_N "(cached) $ECHO_C" >&6
28094else
28095 cat >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/* System header to define __stub macros and hopefully few prototypes,
28103 which can conflict with char $ac_func (); below.
28104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28105 <limits.h> exists even on freestanding compilers. */
28106#ifdef __STDC__
28107# include <limits.h>
28108#else
28109# include <assert.h>
28110#endif
28111/* Override any gcc2 internal prototype to avoid an error. */
28112#ifdef __cplusplus
28113extern "C"
28114{
28115#endif
28116/* We use char because int might match the return type of a gcc2
28117 builtin and then its argument prototype would still apply. */
28118char $ac_func ();
28119/* The GNU C library defines this for functions which it implements
28120 to always fail with ENOSYS. Some functions are actually named
28121 something starting with __ and the normal name is an alias. */
28122#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28123choke me
28124#else
28125char (*f) () = $ac_func;
28126#endif
28127#ifdef __cplusplus
28128}
28129#endif
28130
28131int
28132main ()
28133{
28134return f != $ac_func;
28135 ;
28136 return 0;
28137}
28138_ACEOF
28139rm -f conftest.$ac_objext conftest$ac_exeext
28140if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28141 (eval $ac_link) 2>&5
28142 ac_status=$?
28143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28144 (exit $ac_status); } &&
28145 { ac_try='test -s conftest$ac_exeext'
28146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28147 (eval $ac_try) 2>&5
28148 ac_status=$?
28149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28150 (exit $ac_status); }; }; then
28151 eval "$as_ac_var=yes"
28152else
28153 echo "$as_me: failed program was:" >&5
28154sed 's/^/| /' conftest.$ac_ext >&5
28155
28156eval "$as_ac_var=no"
28157fi
28158rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28159fi
28160echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28161echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28162if test `eval echo '${'$as_ac_var'}'` = yes; then
28163 cat >>confdefs.h <<_ACEOF
28164#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28165_ACEOF
28166 cat >>confdefs.h <<\_ACEOF
28167#define HAVE_INET_ADDR 1
28168_ACEOF
28169
28170else
28171
28172 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28173echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28174if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28175 echo $ECHO_N "(cached) $ECHO_C" >&6
28176else
28177 ac_check_lib_save_LIBS=$LIBS
28178LIBS="-lnsl $LIBS"
28179cat >conftest.$ac_ext <<_ACEOF
28180#line $LINENO "configure"
28181/* confdefs.h. */
28182_ACEOF
28183cat confdefs.h >>conftest.$ac_ext
28184cat >>conftest.$ac_ext <<_ACEOF
28185/* end confdefs.h. */
28186
28187/* Override any gcc2 internal prototype to avoid an error. */
28188#ifdef __cplusplus
28189extern "C"
28190#endif
28191/* We use char because int might match the return type of a gcc2
28192 builtin and then its argument prototype would still apply. */
28193char inet_addr ();
28194int
28195main ()
28196{
28197inet_addr ();
28198 ;
28199 return 0;
28200}
28201_ACEOF
28202rm -f conftest.$ac_objext conftest$ac_exeext
28203if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28204 (eval $ac_link) 2>&5
28205 ac_status=$?
28206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28207 (exit $ac_status); } &&
28208 { ac_try='test -s conftest$ac_exeext'
28209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28210 (eval $ac_try) 2>&5
28211 ac_status=$?
28212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28213 (exit $ac_status); }; }; then
28214 ac_cv_lib_nsl_inet_addr=yes
28215else
28216 echo "$as_me: failed program was:" >&5
28217sed 's/^/| /' conftest.$ac_ext >&5
28218
28219ac_cv_lib_nsl_inet_addr=no
28220fi
28221rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28222LIBS=$ac_check_lib_save_LIBS
28223fi
28224echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28225echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28226if test $ac_cv_lib_nsl_inet_addr = yes; then
28227 INET_LINK="nsl"
28228else
28229
28230 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28231echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28232if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28233 echo $ECHO_N "(cached) $ECHO_C" >&6
28234else
28235 ac_check_lib_save_LIBS=$LIBS
28236LIBS="-lresolv $LIBS"
28237cat >conftest.$ac_ext <<_ACEOF
28238#line $LINENO "configure"
28239/* confdefs.h. */
28240_ACEOF
28241cat confdefs.h >>conftest.$ac_ext
28242cat >>conftest.$ac_ext <<_ACEOF
28243/* end confdefs.h. */
28244
28245/* Override any gcc2 internal prototype to avoid an error. */
28246#ifdef __cplusplus
28247extern "C"
28248#endif
28249/* We use char because int might match the return type of a gcc2
28250 builtin and then its argument prototype would still apply. */
28251char inet_addr ();
28252int
28253main ()
28254{
28255inet_addr ();
28256 ;
28257 return 0;
28258}
28259_ACEOF
28260rm -f conftest.$ac_objext conftest$ac_exeext
28261if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28262 (eval $ac_link) 2>&5
28263 ac_status=$?
28264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28265 (exit $ac_status); } &&
28266 { ac_try='test -s conftest$ac_exeext'
28267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28268 (eval $ac_try) 2>&5
28269 ac_status=$?
28270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28271 (exit $ac_status); }; }; then
28272 ac_cv_lib_resolv_inet_addr=yes
28273else
28274 echo "$as_me: failed program was:" >&5
28275sed 's/^/| /' conftest.$ac_ext >&5
28276
28277ac_cv_lib_resolv_inet_addr=no
28278fi
28279rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28280LIBS=$ac_check_lib_save_LIBS
28281fi
28282echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28283echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28284if test $ac_cv_lib_resolv_inet_addr = yes; then
28285 INET_LINK="resolv"
28286else
28287
28288 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28289echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28290if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28291 echo $ECHO_N "(cached) $ECHO_C" >&6
28292else
28293 ac_check_lib_save_LIBS=$LIBS
28294LIBS="-lsocket $LIBS"
28295cat >conftest.$ac_ext <<_ACEOF
28296#line $LINENO "configure"
28297/* confdefs.h. */
28298_ACEOF
28299cat confdefs.h >>conftest.$ac_ext
28300cat >>conftest.$ac_ext <<_ACEOF
28301/* end confdefs.h. */
28302
28303/* Override any gcc2 internal prototype to avoid an error. */
28304#ifdef __cplusplus
28305extern "C"
28306#endif
28307/* We use char because int might match the return type of a gcc2
28308 builtin and then its argument prototype would still apply. */
28309char inet_addr ();
28310int
28311main ()
28312{
28313inet_addr ();
28314 ;
28315 return 0;
28316}
28317_ACEOF
28318rm -f conftest.$ac_objext conftest$ac_exeext
28319if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28320 (eval $ac_link) 2>&5
28321 ac_status=$?
28322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28323 (exit $ac_status); } &&
28324 { ac_try='test -s conftest$ac_exeext'
28325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28326 (eval $ac_try) 2>&5
28327 ac_status=$?
28328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28329 (exit $ac_status); }; }; then
28330 ac_cv_lib_socket_inet_addr=yes
28331else
28332 echo "$as_me: failed program was:" >&5
28333sed 's/^/| /' conftest.$ac_ext >&5
28334
28335ac_cv_lib_socket_inet_addr=no
28336fi
28337rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28338LIBS=$ac_check_lib_save_LIBS
28339fi
28340echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28341echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28342if test $ac_cv_lib_socket_inet_addr = yes; then
28343 INET_LINK="socket"
28344
28345fi
28346
28347
28348
28349fi
28350
28351
28352
28353fi
28354
28355
28356
28357fi
28358done
28359
28360
28361
28362for ac_func in inet_aton
28363do
28364as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28365echo "$as_me:$LINENO: checking for $ac_func" >&5
28366echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28367if eval "test \"\${$as_ac_var+set}\" = set"; then
28368 echo $ECHO_N "(cached) $ECHO_C" >&6
28369else
28370 cat >conftest.$ac_ext <<_ACEOF
28371#line $LINENO "configure"
28372/* confdefs.h. */
28373_ACEOF
28374cat confdefs.h >>conftest.$ac_ext
28375cat >>conftest.$ac_ext <<_ACEOF
28376/* end confdefs.h. */
28377/* System header to define __stub macros and hopefully few prototypes,
28378 which can conflict with char $ac_func (); below.
28379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28380 <limits.h> exists even on freestanding compilers. */
28381#ifdef __STDC__
28382# include <limits.h>
28383#else
28384# include <assert.h>
28385#endif
28386/* Override any gcc2 internal prototype to avoid an error. */
28387#ifdef __cplusplus
28388extern "C"
28389{
28390#endif
28391/* We use char because int might match the return type of a gcc2
28392 builtin and then its argument prototype would still apply. */
28393char $ac_func ();
28394/* The GNU C library defines this for functions which it implements
28395 to always fail with ENOSYS. Some functions are actually named
28396 something starting with __ and the normal name is an alias. */
28397#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28398choke me
28399#else
28400char (*f) () = $ac_func;
28401#endif
28402#ifdef __cplusplus
28403}
28404#endif
28405
28406int
28407main ()
28408{
28409return f != $ac_func;
28410 ;
28411 return 0;
28412}
28413_ACEOF
28414rm -f conftest.$ac_objext conftest$ac_exeext
28415if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28416 (eval $ac_link) 2>&5
28417 ac_status=$?
28418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28419 (exit $ac_status); } &&
28420 { ac_try='test -s conftest$ac_exeext'
28421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28422 (eval $ac_try) 2>&5
28423 ac_status=$?
28424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28425 (exit $ac_status); }; }; then
28426 eval "$as_ac_var=yes"
28427else
28428 echo "$as_me: failed program was:" >&5
28429sed 's/^/| /' conftest.$ac_ext >&5
28430
28431eval "$as_ac_var=no"
28432fi
28433rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28434fi
28435echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28436echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28437if test `eval echo '${'$as_ac_var'}'` = yes; then
28438 cat >>confdefs.h <<_ACEOF
28439#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28440_ACEOF
28441 cat >>confdefs.h <<\_ACEOF
28442#define HAVE_INET_ATON 1
28443_ACEOF
28444
28445else
28446
28447 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28448echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28449echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28450if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28451 echo $ECHO_N "(cached) $ECHO_C" >&6
28452else
28453 ac_check_lib_save_LIBS=$LIBS
28454LIBS="-l$INET_LINK $LIBS"
28455cat >conftest.$ac_ext <<_ACEOF
28456#line $LINENO "configure"
28457/* confdefs.h. */
28458_ACEOF
28459cat confdefs.h >>conftest.$ac_ext
28460cat >>conftest.$ac_ext <<_ACEOF
28461/* end confdefs.h. */
28462
28463/* Override any gcc2 internal prototype to avoid an error. */
28464#ifdef __cplusplus
28465extern "C"
28466#endif
28467/* We use char because int might match the return type of a gcc2
28468 builtin and then its argument prototype would still apply. */
28469char inet_aton ();
28470int
28471main ()
28472{
28473inet_aton ();
28474 ;
28475 return 0;
28476}
28477_ACEOF
28478rm -f conftest.$ac_objext conftest$ac_exeext
28479if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28480 (eval $ac_link) 2>&5
28481 ac_status=$?
28482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28483 (exit $ac_status); } &&
28484 { ac_try='test -s conftest$ac_exeext'
28485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28486 (eval $ac_try) 2>&5
28487 ac_status=$?
28488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28489 (exit $ac_status); }; }; then
28490 eval "$as_ac_Lib=yes"
28491else
28492 echo "$as_me: failed program was:" >&5
28493sed 's/^/| /' conftest.$ac_ext >&5
28494
28495eval "$as_ac_Lib=no"
28496fi
28497rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28498LIBS=$ac_check_lib_save_LIBS
28499fi
28500echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28501echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28502if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28503 cat >>confdefs.h <<\_ACEOF
28504#define HAVE_INET_ATON 1
28505_ACEOF
28506
28507fi
28508
28509
28510fi
28511done
28512
28513
28514if test "x$INET_LINK" != "x"; then
28515 cat >>confdefs.h <<\_ACEOF
28516#define HAVE_INET_ADDR 1
28517_ACEOF
28518
28519 INET_LINK=" -l$INET_LINK"
28520fi
28521
28522fi
28523
28524
28525
28526EXTRALIBS_ESD=
28527echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28528echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28529if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28530 echo $ECHO_N "(cached) $ECHO_C" >&6
28531else
28532 ac_check_lib_save_LIBS=$LIBS
28533LIBS="-lesd $LIBS"
28534cat >conftest.$ac_ext <<_ACEOF
28535#line $LINENO "configure"
28536/* confdefs.h. */
28537_ACEOF
28538cat confdefs.h >>conftest.$ac_ext
28539cat >>conftest.$ac_ext <<_ACEOF
28540/* end confdefs.h. */
28541
28542/* Override any gcc2 internal prototype to avoid an error. */
28543#ifdef __cplusplus
28544extern "C"
28545#endif
28546/* We use char because int might match the return type of a gcc2
28547 builtin and then its argument prototype would still apply. */
28548char esd_close ();
28549int
28550main ()
28551{
28552esd_close ();
28553 ;
28554 return 0;
28555}
28556_ACEOF
28557rm -f conftest.$ac_objext conftest$ac_exeext
28558if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28559 (eval $ac_link) 2>&5
28560 ac_status=$?
28561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28562 (exit $ac_status); } &&
28563 { ac_try='test -s conftest$ac_exeext'
28564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28565 (eval $ac_try) 2>&5
28566 ac_status=$?
28567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28568 (exit $ac_status); }; }; then
28569 ac_cv_lib_esd_esd_close=yes
28570else
28571 echo "$as_me: failed program was:" >&5
28572sed 's/^/| /' conftest.$ac_ext >&5
28573
28574ac_cv_lib_esd_esd_close=no
28575fi
28576rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28577LIBS=$ac_check_lib_save_LIBS
28578fi
28579echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28580echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28581if test $ac_cv_lib_esd_esd_close = yes; then
28582
28583
28584for ac_header in esd.h
28585do
28586as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28587if eval "test \"\${$as_ac_Header+set}\" = set"; then
28588 echo "$as_me:$LINENO: checking for $ac_header" >&5
28589echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28590if eval "test \"\${$as_ac_Header+set}\" = set"; then
28591 echo $ECHO_N "(cached) $ECHO_C" >&6
28592fi
28593echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28594echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28595else
28596 # Is the header compilable?
28597echo "$as_me:$LINENO: checking $ac_header usability" >&5
28598echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28599cat >conftest.$ac_ext <<_ACEOF
28600#line $LINENO "configure"
28601/* confdefs.h. */
28602_ACEOF
28603cat confdefs.h >>conftest.$ac_ext
28604cat >>conftest.$ac_ext <<_ACEOF
28605/* end confdefs.h. */
28606$ac_includes_default
28607#include <$ac_header>
28608_ACEOF
28609rm -f conftest.$ac_objext
28610if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28611 (eval $ac_compile) 2>&5
28612 ac_status=$?
28613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28614 (exit $ac_status); } &&
28615 { ac_try='test -s conftest.$ac_objext'
28616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28617 (eval $ac_try) 2>&5
28618 ac_status=$?
28619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28620 (exit $ac_status); }; }; then
28621 ac_header_compiler=yes
28622else
28623 echo "$as_me: failed program was:" >&5
28624sed 's/^/| /' conftest.$ac_ext >&5
28625
28626ac_header_compiler=no
28627fi
28628rm -f conftest.$ac_objext conftest.$ac_ext
28629echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28630echo "${ECHO_T}$ac_header_compiler" >&6
28631
28632# Is the header present?
28633echo "$as_me:$LINENO: checking $ac_header presence" >&5
28634echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28635cat >conftest.$ac_ext <<_ACEOF
28636#line $LINENO "configure"
28637/* confdefs.h. */
28638_ACEOF
28639cat confdefs.h >>conftest.$ac_ext
28640cat >>conftest.$ac_ext <<_ACEOF
28641/* end confdefs.h. */
28642#include <$ac_header>
28643_ACEOF
28644if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28645 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28646 ac_status=$?
28647 grep -v '^ *+' conftest.er1 >conftest.err
28648 rm -f conftest.er1
28649 cat conftest.err >&5
28650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28651 (exit $ac_status); } >/dev/null; then
28652 if test -s conftest.err; then
28653 ac_cpp_err=$ac_c_preproc_warn_flag
28654 else
28655 ac_cpp_err=
28656 fi
28657else
28658 ac_cpp_err=yes
28659fi
28660if test -z "$ac_cpp_err"; then
28661 ac_header_preproc=yes
28662else
28663 echo "$as_me: failed program was:" >&5
28664sed 's/^/| /' conftest.$ac_ext >&5
28665
28666 ac_header_preproc=no
28667fi
28668rm -f conftest.err conftest.$ac_ext
28669echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28670echo "${ECHO_T}$ac_header_preproc" >&6
28671
28672# So? What about this header?
28673case $ac_header_compiler:$ac_header_preproc in
28674 yes:no )
28675 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28676echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28677 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28678echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28679 (
28680 cat <<\_ASBOX
28681## ------------------------------------ ##
28682## Report this to bug-autoconf@gnu.org. ##
28683## ------------------------------------ ##
28684_ASBOX
28685 ) |
28686 sed "s/^/$as_me: WARNING: /" >&2
28687 ;;
28688 no:yes )
28689 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28690echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28691 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28692echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28694echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28695 (
28696 cat <<\_ASBOX
28697## ------------------------------------ ##
28698## Report this to bug-autoconf@gnu.org. ##
28699## ------------------------------------ ##
28700_ASBOX
28701 ) |
28702 sed "s/^/$as_me: WARNING: /" >&2
28703 ;;
28704esac
28705echo "$as_me:$LINENO: checking for $ac_header" >&5
28706echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28707if eval "test \"\${$as_ac_Header+set}\" = set"; then
28708 echo $ECHO_N "(cached) $ECHO_C" >&6
28709else
28710 eval "$as_ac_Header=$ac_header_preproc"
28711fi
28712echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28713echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28714
28715fi
28716if test `eval echo '${'$as_ac_Header'}'` = yes; then
28717 cat >>confdefs.h <<_ACEOF
28718#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28719_ACEOF
28720
28721 EXTRALIBS_ESD="-lesd"
28722
28723fi
28724
28725done
28726
28727
28728fi
28729
28730
28731
28732
28733
28734cat >confcache <<\_ACEOF
28735# This file is a shell script that caches the results of configure
28736# tests run on this system so they can be shared between configure
28737# scripts and configure runs, see configure's option --config-cache.
28738# It is not useful on other systems. If it contains results you don't
28739# want to keep, you may remove or edit it.
28740#
28741# config.status only pays attention to the cache file if you give it
28742# the --recheck option to rerun configure.
28743#
28744# `ac_cv_env_foo' variables (set or unset) will be overridden when
28745# loading this file, other *unset* `ac_cv_foo' will be assigned the
28746# following values.
28747
28748_ACEOF
28749
28750# The following way of writing the cache mishandles newlines in values,
28751# but we know of no workaround that is simple, portable, and efficient.
28752# So, don't put newlines in cache variables' values.
28753# Ultrix sh set writes to stderr and can't be redirected directly,
28754# and sets the high bit in the cache file unless we assign to the vars.
28755{
28756 (set) 2>&1 |
28757 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28758 *ac_space=\ *)
28759 # `set' does not quote correctly, so add quotes (double-quote
28760 # substitution turns \\\\ into \\, and sed turns \\ into \).
28761 sed -n \
28762 "s/'/'\\\\''/g;
28763 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28764 ;;
28765 *)
28766 # `set' quotes correctly as required by POSIX, so do not add quotes.
28767 sed -n \
28768 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28769 ;;
28770 esac;
28771} |
28772 sed '
28773 t clear
28774 : clear
28775 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28776 t end
28777 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28778 : end' >>confcache
28779if diff $cache_file confcache >/dev/null 2>&1; then :; else
28780 if test -w $cache_file; then
28781 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28782 cat confcache >$cache_file
28783 else
28784 echo "not updating unwritable cache $cache_file"
28785 fi
28786fi
28787rm -f confcache
28788
28789
28790CPP_MT_FLAG=
28791if test "$TOOLKIT" != "MSW"; then
28792
28793
28794 THREADS_LINK=
28795 THREADS_CFLAGS=
28796
28797 if test "$wxUSE_THREADS" = "yes" ; then
28798 if test "$USE_BEOS" = 1; then
28799 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28800echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28801 wxUSE_THREADS="no"
28802 fi
28803 fi
28804
28805 if test "$wxUSE_THREADS" = "yes" ; then
28806
28807
28808 THREAD_OPTS="-pthread"
28809 case "${host}" in
28810 *-*-solaris2* | *-*-sunos4* )
28811 if test "x$GCC" = "xyes"; then
28812 THREAD_OPTS="-pthreads $THREAD_OPTS"
28813 else
28814 THREAD_OPTS="-mt $THREAD_OPTS"
28815 fi
28816 ;;
28817 *-*-freebsd*)
28818 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
28819 ;;
28820 *-*-darwin* | *-*-cygwin* )
28821 THREAD_OPTS=""
28822 ;;
28823 *-*-aix*)
28824 THREAD_OPTS="pthreads"
28825 ;;
28826 *-hp-hpux* )
28827 if test "x$GCC" != "xyes"; then
28828 THREAD_OPTS=""
28829 fi
28830 ;;
28831
28832 *-*-irix* )
28833 if test "x$GCC" = "xyes"; then
28834 THREAD_OPTS=""
28835 fi
28836 ;;
28837
28838 *-*-*UnixWare*)
28839 if test "x$GCC" != "xyes"; then
28840 THREAD_OPTS="-Ethread"
28841 fi
28842 ;;
28843 esac
28844
28845 THREAD_OPTS="$THREAD_OPTS pthread none"
28846
28847 THREADS_OK=no
28848 for flag in $THREAD_OPTS; do
28849 case $flag in
28850 none)
28851 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28852echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28853 ;;
28854
28855 -*)
28856 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28857echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28858 THREADS_CFLAGS="$flag"
28859 ;;
28860
28861 *)
28862 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28863echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28864 THREADS_LINK="-l$flag"
28865 ;;
28866 esac
28867
28868 save_LIBS="$LIBS"
28869 save_CFLAGS="$CFLAGS"
28870 LIBS="$THREADS_LINK $LIBS"
28871 CFLAGS="$THREADS_CFLAGS $CFLAGS"
28872
28873 cat >conftest.$ac_ext <<_ACEOF
28874#line $LINENO "configure"
28875/* confdefs.h. */
28876_ACEOF
28877cat confdefs.h >>conftest.$ac_ext
28878cat >>conftest.$ac_ext <<_ACEOF
28879/* end confdefs.h. */
28880#include <pthread.h>
28881int
28882main ()
28883{
28884pthread_create(0,0,0,0);
28885 ;
28886 return 0;
28887}
28888_ACEOF
28889rm -f conftest.$ac_objext conftest$ac_exeext
28890if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28891 (eval $ac_link) 2>&5
28892 ac_status=$?
28893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28894 (exit $ac_status); } &&
28895 { ac_try='test -s conftest$ac_exeext'
28896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28897 (eval $ac_try) 2>&5
28898 ac_status=$?
28899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28900 (exit $ac_status); }; }; then
28901 THREADS_OK=yes
28902else
28903 echo "$as_me: failed program was:" >&5
28904sed 's/^/| /' conftest.$ac_ext >&5
28905
28906fi
28907rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28908
28909 LIBS="$save_LIBS"
28910 CFLAGS="$save_CFLAGS"
28911
28912 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28913echo "${ECHO_T}$THREADS_OK" >&6
28914 if test "x$THREADS_OK" = "xyes"; then
28915 break;
28916 fi
28917
28918 THREADS_LINK=""
28919 THREADS_CFLAGS=""
28920 done
28921
28922 if test "x$THREADS_OK" != "xyes"; then
28923 wxUSE_THREADS=no
28924 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28925echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28926 else
28927 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
28928 LIBS="$THREADS_LINK $LIBS"
28929
28930 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28931echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28932 flag=no
28933 case "${host}" in
28934 *-aix*)
28935 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
28936 flag="-D_THREAD_SAFE"
28937 ;;
28938 *-freebsd*)
28939 flag="-D_THREAD_SAFE"
28940 ;;
28941 *-hp-hpux* )
28942 flag="-D_REENTRANT"
28943 if test "x$GCC" != "xyes"; then
28944 flag="$flag -D_RWSTD_MULTI_THREAD"
28945 fi
28946 ;;
28947 *solaris* | alpha*-osf*)
28948 flag="-D_REENTRANT"
28949 ;;
28950 esac
28951 echo "$as_me:$LINENO: result: ${flag}" >&5
28952echo "${ECHO_T}${flag}" >&6
28953 if test "x$flag" != xno; then
28954 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
28955 fi
28956
28957 if test "x$THREADS_CFLAGS" != "x"; then
28958 CFLAGS="$CFLAGS $THREADS_CFLAGS"
28959 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
28960 fi
28961 fi
28962 fi
28963
28964 if test "$wxUSE_THREADS" = "yes" ; then
28965
28966for ac_func in thr_setconcurrency
28967do
28968as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28969echo "$as_me:$LINENO: checking for $ac_func" >&5
28970echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28971if eval "test \"\${$as_ac_var+set}\" = set"; then
28972 echo $ECHO_N "(cached) $ECHO_C" >&6
28973else
28974 cat >conftest.$ac_ext <<_ACEOF
28975#line $LINENO "configure"
28976/* confdefs.h. */
28977_ACEOF
28978cat confdefs.h >>conftest.$ac_ext
28979cat >>conftest.$ac_ext <<_ACEOF
28980/* end confdefs.h. */
28981/* System header to define __stub macros and hopefully few prototypes,
28982 which can conflict with char $ac_func (); below.
28983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28984 <limits.h> exists even on freestanding compilers. */
28985#ifdef __STDC__
28986# include <limits.h>
28987#else
28988# include <assert.h>
28989#endif
28990/* Override any gcc2 internal prototype to avoid an error. */
28991#ifdef __cplusplus
28992extern "C"
28993{
28994#endif
28995/* We use char because int might match the return type of a gcc2
28996 builtin and then its argument prototype would still apply. */
28997char $ac_func ();
28998/* The GNU C library defines this for functions which it implements
28999 to always fail with ENOSYS. Some functions are actually named
29000 something starting with __ and the normal name is an alias. */
29001#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29002choke me
29003#else
29004char (*f) () = $ac_func;
29005#endif
29006#ifdef __cplusplus
29007}
29008#endif
29009
29010int
29011main ()
29012{
29013return f != $ac_func;
29014 ;
29015 return 0;
29016}
29017_ACEOF
29018rm -f conftest.$ac_objext conftest$ac_exeext
29019if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29020 (eval $ac_link) 2>&5
29021 ac_status=$?
29022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29023 (exit $ac_status); } &&
29024 { ac_try='test -s conftest$ac_exeext'
29025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29026 (eval $ac_try) 2>&5
29027 ac_status=$?
29028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29029 (exit $ac_status); }; }; then
29030 eval "$as_ac_var=yes"
29031else
29032 echo "$as_me: failed program was:" >&5
29033sed 's/^/| /' conftest.$ac_ext >&5
29034
29035eval "$as_ac_var=no"
29036fi
29037rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29038fi
29039echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29040echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29041if test `eval echo '${'$as_ac_var'}'` = yes; then
29042 cat >>confdefs.h <<_ACEOF
29043#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29044_ACEOF
29045
29046fi
29047done
29048
29049
29050
29051for ac_header in sched.h
29052do
29053as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29054if eval "test \"\${$as_ac_Header+set}\" = set"; then
29055 echo "$as_me:$LINENO: checking for $ac_header" >&5
29056echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29057if eval "test \"\${$as_ac_Header+set}\" = set"; then
29058 echo $ECHO_N "(cached) $ECHO_C" >&6
29059fi
29060echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29061echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29062else
29063 # Is the header compilable?
29064echo "$as_me:$LINENO: checking $ac_header usability" >&5
29065echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29066cat >conftest.$ac_ext <<_ACEOF
29067#line $LINENO "configure"
29068/* confdefs.h. */
29069_ACEOF
29070cat confdefs.h >>conftest.$ac_ext
29071cat >>conftest.$ac_ext <<_ACEOF
29072/* end confdefs.h. */
29073$ac_includes_default
29074#include <$ac_header>
29075_ACEOF
29076rm -f conftest.$ac_objext
29077if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29078 (eval $ac_compile) 2>&5
29079 ac_status=$?
29080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29081 (exit $ac_status); } &&
29082 { ac_try='test -s conftest.$ac_objext'
29083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29084 (eval $ac_try) 2>&5
29085 ac_status=$?
29086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29087 (exit $ac_status); }; }; then
29088 ac_header_compiler=yes
29089else
29090 echo "$as_me: failed program was:" >&5
29091sed 's/^/| /' conftest.$ac_ext >&5
29092
29093ac_header_compiler=no
29094fi
29095rm -f conftest.$ac_objext conftest.$ac_ext
29096echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29097echo "${ECHO_T}$ac_header_compiler" >&6
29098
29099# Is the header present?
29100echo "$as_me:$LINENO: checking $ac_header presence" >&5
29101echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29102cat >conftest.$ac_ext <<_ACEOF
29103#line $LINENO "configure"
29104/* confdefs.h. */
29105_ACEOF
29106cat confdefs.h >>conftest.$ac_ext
29107cat >>conftest.$ac_ext <<_ACEOF
29108/* end confdefs.h. */
29109#include <$ac_header>
29110_ACEOF
29111if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29112 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29113 ac_status=$?
29114 grep -v '^ *+' conftest.er1 >conftest.err
29115 rm -f conftest.er1
29116 cat conftest.err >&5
29117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29118 (exit $ac_status); } >/dev/null; then
29119 if test -s conftest.err; then
29120 ac_cpp_err=$ac_c_preproc_warn_flag
29121 else
29122 ac_cpp_err=
29123 fi
29124else
29125 ac_cpp_err=yes
29126fi
29127if test -z "$ac_cpp_err"; then
29128 ac_header_preproc=yes
29129else
29130 echo "$as_me: failed program was:" >&5
29131sed 's/^/| /' conftest.$ac_ext >&5
29132
29133 ac_header_preproc=no
29134fi
29135rm -f conftest.err conftest.$ac_ext
29136echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29137echo "${ECHO_T}$ac_header_preproc" >&6
29138
29139# So? What about this header?
29140case $ac_header_compiler:$ac_header_preproc in
29141 yes:no )
29142 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29143echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29145echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29146 (
29147 cat <<\_ASBOX
29148## ------------------------------------ ##
29149## Report this to bug-autoconf@gnu.org. ##
29150## ------------------------------------ ##
29151_ASBOX
29152 ) |
29153 sed "s/^/$as_me: WARNING: /" >&2
29154 ;;
29155 no:yes )
29156 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29157echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29158 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29159echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29160 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29161echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29162 (
29163 cat <<\_ASBOX
29164## ------------------------------------ ##
29165## Report this to bug-autoconf@gnu.org. ##
29166## ------------------------------------ ##
29167_ASBOX
29168 ) |
29169 sed "s/^/$as_me: WARNING: /" >&2
29170 ;;
29171esac
29172echo "$as_me:$LINENO: checking for $ac_header" >&5
29173echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29174if eval "test \"\${$as_ac_Header+set}\" = set"; then
29175 echo $ECHO_N "(cached) $ECHO_C" >&6
29176else
29177 eval "$as_ac_Header=$ac_header_preproc"
29178fi
29179echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29180echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29181
29182fi
29183if test `eval echo '${'$as_ac_Header'}'` = yes; then
29184 cat >>confdefs.h <<_ACEOF
29185#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29186_ACEOF
29187
29188fi
29189
29190done
29191
29192 if test "$ac_cv_header_sched_h" = "yes"; then
29193 echo "$as_me:$LINENO: checking for sched_yield" >&5
29194echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29195if test "${ac_cv_func_sched_yield+set}" = set; then
29196 echo $ECHO_N "(cached) $ECHO_C" >&6
29197else
29198 cat >conftest.$ac_ext <<_ACEOF
29199#line $LINENO "configure"
29200/* confdefs.h. */
29201_ACEOF
29202cat confdefs.h >>conftest.$ac_ext
29203cat >>conftest.$ac_ext <<_ACEOF
29204/* end confdefs.h. */
29205/* System header to define __stub macros and hopefully few prototypes,
29206 which can conflict with char sched_yield (); below.
29207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29208 <limits.h> exists even on freestanding compilers. */
29209#ifdef __STDC__
29210# include <limits.h>
29211#else
29212# include <assert.h>
29213#endif
29214/* Override any gcc2 internal prototype to avoid an error. */
29215#ifdef __cplusplus
29216extern "C"
29217{
29218#endif
29219/* We use char because int might match the return type of a gcc2
29220 builtin and then its argument prototype would still apply. */
29221char sched_yield ();
29222/* The GNU C library defines this for functions which it implements
29223 to always fail with ENOSYS. Some functions are actually named
29224 something starting with __ and the normal name is an alias. */
29225#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29226choke me
29227#else
29228char (*f) () = sched_yield;
29229#endif
29230#ifdef __cplusplus
29231}
29232#endif
29233
29234int
29235main ()
29236{
29237return f != sched_yield;
29238 ;
29239 return 0;
29240}
29241_ACEOF
29242rm -f conftest.$ac_objext conftest$ac_exeext
29243if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29244 (eval $ac_link) 2>&5
29245 ac_status=$?
29246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29247 (exit $ac_status); } &&
29248 { ac_try='test -s conftest$ac_exeext'
29249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29250 (eval $ac_try) 2>&5
29251 ac_status=$?
29252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29253 (exit $ac_status); }; }; then
29254 ac_cv_func_sched_yield=yes
29255else
29256 echo "$as_me: failed program was:" >&5
29257sed 's/^/| /' conftest.$ac_ext >&5
29258
29259ac_cv_func_sched_yield=no
29260fi
29261rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29262fi
29263echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29264echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29265if test $ac_cv_func_sched_yield = yes; then
29266 cat >>confdefs.h <<\_ACEOF
29267#define HAVE_SCHED_YIELD 1
29268_ACEOF
29269
29270else
29271
29272 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29273echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29274if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29275 echo $ECHO_N "(cached) $ECHO_C" >&6
29276else
29277 ac_check_lib_save_LIBS=$LIBS
29278LIBS="-lposix4 $LIBS"
29279cat >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
29287/* Override any gcc2 internal prototype to avoid an error. */
29288#ifdef __cplusplus
29289extern "C"
29290#endif
29291/* We use char because int might match the return type of a gcc2
29292 builtin and then its argument prototype would still apply. */
29293char sched_yield ();
29294int
29295main ()
29296{
29297sched_yield ();
29298 ;
29299 return 0;
29300}
29301_ACEOF
29302rm -f conftest.$ac_objext conftest$ac_exeext
29303if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29304 (eval $ac_link) 2>&5
29305 ac_status=$?
29306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29307 (exit $ac_status); } &&
29308 { ac_try='test -s conftest$ac_exeext'
29309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29310 (eval $ac_try) 2>&5
29311 ac_status=$?
29312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29313 (exit $ac_status); }; }; then
29314 ac_cv_lib_posix4_sched_yield=yes
29315else
29316 echo "$as_me: failed program was:" >&5
29317sed 's/^/| /' conftest.$ac_ext >&5
29318
29319ac_cv_lib_posix4_sched_yield=no
29320fi
29321rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29322LIBS=$ac_check_lib_save_LIBS
29323fi
29324echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29325echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29326if test $ac_cv_lib_posix4_sched_yield = yes; then
29327 cat >>confdefs.h <<\_ACEOF
29328#define HAVE_SCHED_YIELD 1
29329_ACEOF
29330 POSIX4_LINK=" -lposix4"
29331else
29332 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29333echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29334
29335fi
29336
29337
29338
29339fi
29340
29341 fi
29342
29343 HAVE_PRIOR_FUNCS=0
29344 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29345echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29346if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29347 echo $ECHO_N "(cached) $ECHO_C" >&6
29348else
29349 cat >conftest.$ac_ext <<_ACEOF
29350#line $LINENO "configure"
29351/* confdefs.h. */
29352_ACEOF
29353cat confdefs.h >>conftest.$ac_ext
29354cat >>conftest.$ac_ext <<_ACEOF
29355/* end confdefs.h. */
29356/* System header to define __stub macros and hopefully few prototypes,
29357 which can conflict with char pthread_attr_getschedpolicy (); below.
29358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29359 <limits.h> exists even on freestanding compilers. */
29360#ifdef __STDC__
29361# include <limits.h>
29362#else
29363# include <assert.h>
29364#endif
29365/* Override any gcc2 internal prototype to avoid an error. */
29366#ifdef __cplusplus
29367extern "C"
29368{
29369#endif
29370/* We use char because int might match the return type of a gcc2
29371 builtin and then its argument prototype would still apply. */
29372char pthread_attr_getschedpolicy ();
29373/* The GNU C library defines this for functions which it implements
29374 to always fail with ENOSYS. Some functions are actually named
29375 something starting with __ and the normal name is an alias. */
29376#if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29377choke me
29378#else
29379char (*f) () = pthread_attr_getschedpolicy;
29380#endif
29381#ifdef __cplusplus
29382}
29383#endif
29384
29385int
29386main ()
29387{
29388return f != pthread_attr_getschedpolicy;
29389 ;
29390 return 0;
29391}
29392_ACEOF
29393rm -f conftest.$ac_objext conftest$ac_exeext
29394if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29395 (eval $ac_link) 2>&5
29396 ac_status=$?
29397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29398 (exit $ac_status); } &&
29399 { ac_try='test -s conftest$ac_exeext'
29400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29401 (eval $ac_try) 2>&5
29402 ac_status=$?
29403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29404 (exit $ac_status); }; }; then
29405 ac_cv_func_pthread_attr_getschedpolicy=yes
29406else
29407 echo "$as_me: failed program was:" >&5
29408sed 's/^/| /' conftest.$ac_ext >&5
29409
29410ac_cv_func_pthread_attr_getschedpolicy=no
29411fi
29412rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29413fi
29414echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29415echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29416if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29417 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29418echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29419if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29420 echo $ECHO_N "(cached) $ECHO_C" >&6
29421else
29422 cat >conftest.$ac_ext <<_ACEOF
29423#line $LINENO "configure"
29424/* confdefs.h. */
29425_ACEOF
29426cat confdefs.h >>conftest.$ac_ext
29427cat >>conftest.$ac_ext <<_ACEOF
29428/* end confdefs.h. */
29429/* System header to define __stub macros and hopefully few prototypes,
29430 which can conflict with char pthread_attr_setschedparam (); below.
29431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29432 <limits.h> exists even on freestanding compilers. */
29433#ifdef __STDC__
29434# include <limits.h>
29435#else
29436# include <assert.h>
29437#endif
29438/* Override any gcc2 internal prototype to avoid an error. */
29439#ifdef __cplusplus
29440extern "C"
29441{
29442#endif
29443/* We use char because int might match the return type of a gcc2
29444 builtin and then its argument prototype would still apply. */
29445char pthread_attr_setschedparam ();
29446/* The GNU C library defines this for functions which it implements
29447 to always fail with ENOSYS. Some functions are actually named
29448 something starting with __ and the normal name is an alias. */
29449#if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29450choke me
29451#else
29452char (*f) () = pthread_attr_setschedparam;
29453#endif
29454#ifdef __cplusplus
29455}
29456#endif
29457
29458int
29459main ()
29460{
29461return f != pthread_attr_setschedparam;
29462 ;
29463 return 0;
29464}
29465_ACEOF
29466rm -f conftest.$ac_objext conftest$ac_exeext
29467if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29468 (eval $ac_link) 2>&5
29469 ac_status=$?
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); } &&
29472 { ac_try='test -s conftest$ac_exeext'
29473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29474 (eval $ac_try) 2>&5
29475 ac_status=$?
29476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29477 (exit $ac_status); }; }; then
29478 ac_cv_func_pthread_attr_setschedparam=yes
29479else
29480 echo "$as_me: failed program was:" >&5
29481sed 's/^/| /' conftest.$ac_ext >&5
29482
29483ac_cv_func_pthread_attr_setschedparam=no
29484fi
29485rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29486fi
29487echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29488echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29489if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29490 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29491echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29492if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29493 echo $ECHO_N "(cached) $ECHO_C" >&6
29494else
29495 cat >conftest.$ac_ext <<_ACEOF
29496#line $LINENO "configure"
29497/* confdefs.h. */
29498_ACEOF
29499cat confdefs.h >>conftest.$ac_ext
29500cat >>conftest.$ac_ext <<_ACEOF
29501/* end confdefs.h. */
29502/* System header to define __stub macros and hopefully few prototypes,
29503 which can conflict with char sched_get_priority_max (); below.
29504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29505 <limits.h> exists even on freestanding compilers. */
29506#ifdef __STDC__
29507# include <limits.h>
29508#else
29509# include <assert.h>
29510#endif
29511/* Override any gcc2 internal prototype to avoid an error. */
29512#ifdef __cplusplus
29513extern "C"
29514{
29515#endif
29516/* We use char because int might match the return type of a gcc2
29517 builtin and then its argument prototype would still apply. */
29518char sched_get_priority_max ();
29519/* The GNU C library defines this for functions which it implements
29520 to always fail with ENOSYS. Some functions are actually named
29521 something starting with __ and the normal name is an alias. */
29522#if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29523choke me
29524#else
29525char (*f) () = sched_get_priority_max;
29526#endif
29527#ifdef __cplusplus
29528}
29529#endif
29530
29531int
29532main ()
29533{
29534return f != sched_get_priority_max;
29535 ;
29536 return 0;
29537}
29538_ACEOF
29539rm -f conftest.$ac_objext conftest$ac_exeext
29540if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29541 (eval $ac_link) 2>&5
29542 ac_status=$?
29543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29544 (exit $ac_status); } &&
29545 { ac_try='test -s conftest$ac_exeext'
29546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29547 (eval $ac_try) 2>&5
29548 ac_status=$?
29549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29550 (exit $ac_status); }; }; then
29551 ac_cv_func_sched_get_priority_max=yes
29552else
29553 echo "$as_me: failed program was:" >&5
29554sed 's/^/| /' conftest.$ac_ext >&5
29555
29556ac_cv_func_sched_get_priority_max=no
29557fi
29558rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29559fi
29560echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29561echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29562if test $ac_cv_func_sched_get_priority_max = yes; then
29563 HAVE_PRIOR_FUNCS=1
29564else
29565 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29566echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29567if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29568 echo $ECHO_N "(cached) $ECHO_C" >&6
29569else
29570 ac_check_lib_save_LIBS=$LIBS
29571LIBS="-lposix4 $LIBS"
29572cat >conftest.$ac_ext <<_ACEOF
29573#line $LINENO "configure"
29574/* confdefs.h. */
29575_ACEOF
29576cat confdefs.h >>conftest.$ac_ext
29577cat >>conftest.$ac_ext <<_ACEOF
29578/* end confdefs.h. */
29579
29580/* Override any gcc2 internal prototype to avoid an error. */
29581#ifdef __cplusplus
29582extern "C"
29583#endif
29584/* We use char because int might match the return type of a gcc2
29585 builtin and then its argument prototype would still apply. */
29586char sched_get_priority_max ();
29587int
29588main ()
29589{
29590sched_get_priority_max ();
29591 ;
29592 return 0;
29593}
29594_ACEOF
29595rm -f conftest.$ac_objext conftest$ac_exeext
29596if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29597 (eval $ac_link) 2>&5
29598 ac_status=$?
29599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600 (exit $ac_status); } &&
29601 { ac_try='test -s conftest$ac_exeext'
29602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29603 (eval $ac_try) 2>&5
29604 ac_status=$?
29605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29606 (exit $ac_status); }; }; then
29607 ac_cv_lib_posix4_sched_get_priority_max=yes
29608else
29609 echo "$as_me: failed program was:" >&5
29610sed 's/^/| /' conftest.$ac_ext >&5
29611
29612ac_cv_lib_posix4_sched_get_priority_max=no
29613fi
29614rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29615LIBS=$ac_check_lib_save_LIBS
29616fi
29617echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29618echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29619if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29620
29621 HAVE_PRIOR_FUNCS=1
29622 POSIX4_LINK=" -lposix4"
29623
29624fi
29625
29626
29627fi
29628
29629
29630fi
29631
29632
29633fi
29634
29635
29636 if test "$HAVE_PRIOR_FUNCS" = 1; then
29637 cat >>confdefs.h <<\_ACEOF
29638#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29639_ACEOF
29640
29641 else
29642 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29643echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29644 fi
29645
29646 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29647echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29648if test "${ac_cv_func_pthread_cancel+set}" = set; then
29649 echo $ECHO_N "(cached) $ECHO_C" >&6
29650else
29651 cat >conftest.$ac_ext <<_ACEOF
29652#line $LINENO "configure"
29653/* confdefs.h. */
29654_ACEOF
29655cat confdefs.h >>conftest.$ac_ext
29656cat >>conftest.$ac_ext <<_ACEOF
29657/* end confdefs.h. */
29658/* System header to define __stub macros and hopefully few prototypes,
29659 which can conflict with char pthread_cancel (); below.
29660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29661 <limits.h> exists even on freestanding compilers. */
29662#ifdef __STDC__
29663# include <limits.h>
29664#else
29665# include <assert.h>
29666#endif
29667/* Override any gcc2 internal prototype to avoid an error. */
29668#ifdef __cplusplus
29669extern "C"
29670{
29671#endif
29672/* We use char because int might match the return type of a gcc2
29673 builtin and then its argument prototype would still apply. */
29674char pthread_cancel ();
29675/* The GNU C library defines this for functions which it implements
29676 to always fail with ENOSYS. Some functions are actually named
29677 something starting with __ and the normal name is an alias. */
29678#if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29679choke me
29680#else
29681char (*f) () = pthread_cancel;
29682#endif
29683#ifdef __cplusplus
29684}
29685#endif
29686
29687int
29688main ()
29689{
29690return f != pthread_cancel;
29691 ;
29692 return 0;
29693}
29694_ACEOF
29695rm -f conftest.$ac_objext conftest$ac_exeext
29696if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29697 (eval $ac_link) 2>&5
29698 ac_status=$?
29699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29700 (exit $ac_status); } &&
29701 { ac_try='test -s conftest$ac_exeext'
29702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29703 (eval $ac_try) 2>&5
29704 ac_status=$?
29705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29706 (exit $ac_status); }; }; then
29707 ac_cv_func_pthread_cancel=yes
29708else
29709 echo "$as_me: failed program was:" >&5
29710sed 's/^/| /' conftest.$ac_ext >&5
29711
29712ac_cv_func_pthread_cancel=no
29713fi
29714rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29715fi
29716echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29717echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29718if test $ac_cv_func_pthread_cancel = yes; then
29719 cat >>confdefs.h <<\_ACEOF
29720#define HAVE_PTHREAD_CANCEL 1
29721_ACEOF
29722
29723else
29724 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29725echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29726fi
29727
29728
29729 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29730echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29731if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29732 echo $ECHO_N "(cached) $ECHO_C" >&6
29733else
29734
29735 cat >conftest.$ac_ext <<_ACEOF
29736#line $LINENO "configure"
29737/* confdefs.h. */
29738_ACEOF
29739cat confdefs.h >>conftest.$ac_ext
29740cat >>conftest.$ac_ext <<_ACEOF
29741/* end confdefs.h. */
29742#include <pthread.h>
29743int
29744main ()
29745{
29746
29747 pthread_cleanup_push(NULL, NULL);
29748 pthread_cleanup_pop(0);
29749
29750 ;
29751 return 0;
29752}
29753_ACEOF
29754rm -f conftest.$ac_objext
29755if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29756 (eval $ac_compile) 2>&5
29757 ac_status=$?
29758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29759 (exit $ac_status); } &&
29760 { ac_try='test -s conftest.$ac_objext'
29761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29762 (eval $ac_try) 2>&5
29763 ac_status=$?
29764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29765 (exit $ac_status); }; }; then
29766
29767 wx_cv_func_pthread_cleanup_push=yes
29768
29769else
29770 echo "$as_me: failed program was:" >&5
29771sed 's/^/| /' conftest.$ac_ext >&5
29772
29773
29774 wx_cv_func_pthread_cleanup_push=no
29775
29776fi
29777rm -f conftest.$ac_objext conftest.$ac_ext
29778
29779fi
29780echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29781echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29782
29783 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29784 cat >>confdefs.h <<\_ACEOF
29785#define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29786_ACEOF
29787
29788 fi
29789
29790
29791 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29792echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29793if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29794 echo $ECHO_N "(cached) $ECHO_C" >&6
29795else
29796
29797 cat >conftest.$ac_ext <<_ACEOF
29798#line $LINENO "configure"
29799/* confdefs.h. */
29800_ACEOF
29801cat confdefs.h >>conftest.$ac_ext
29802cat >>conftest.$ac_ext <<_ACEOF
29803/* end confdefs.h. */
29804#include <pthread.h>
29805int
29806main ()
29807{
29808
29809 pthread_mutexattr_t attr;
29810 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29811
29812 ;
29813 return 0;
29814}
29815_ACEOF
29816rm -f conftest.$ac_objext
29817if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29818 (eval $ac_compile) 2>&5
29819 ac_status=$?
29820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29821 (exit $ac_status); } &&
29822 { ac_try='test -s conftest.$ac_objext'
29823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29824 (eval $ac_try) 2>&5
29825 ac_status=$?
29826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29827 (exit $ac_status); }; }; then
29828
29829 wx_cv_type_pthread_mutexattr_t=yes
29830
29831else
29832 echo "$as_me: failed program was:" >&5
29833sed 's/^/| /' conftest.$ac_ext >&5
29834
29835
29836 wx_cv_type_pthread_mutexattr_t=no
29837
29838
29839fi
29840rm -f conftest.$ac_objext conftest.$ac_ext
29841
29842fi
29843echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29844echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29845
29846 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29847 cat >>confdefs.h <<\_ACEOF
29848#define HAVE_PTHREAD_MUTEXATTR_T 1
29849_ACEOF
29850
29851 else
29852 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29853echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29854if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29855 echo $ECHO_N "(cached) $ECHO_C" >&6
29856else
29857
29858 cat >conftest.$ac_ext <<_ACEOF
29859#line $LINENO "configure"
29860/* confdefs.h. */
29861_ACEOF
29862cat confdefs.h >>conftest.$ac_ext
29863cat >>conftest.$ac_ext <<_ACEOF
29864/* end confdefs.h. */
29865#include <pthread.h>
29866int
29867main ()
29868{
29869
29870 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29871
29872 ;
29873 return 0;
29874}
29875_ACEOF
29876rm -f conftest.$ac_objext
29877if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29878 (eval $ac_compile) 2>&5
29879 ac_status=$?
29880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29881 (exit $ac_status); } &&
29882 { ac_try='test -s conftest.$ac_objext'
29883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29884 (eval $ac_try) 2>&5
29885 ac_status=$?
29886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29887 (exit $ac_status); }; }; then
29888
29889 wx_cv_type_pthread_rec_mutex_init=yes
29890
29891else
29892 echo "$as_me: failed program was:" >&5
29893sed 's/^/| /' conftest.$ac_ext >&5
29894
29895
29896 wx_cv_type_pthread_rec_mutex_init=no
29897
29898
29899fi
29900rm -f conftest.$ac_objext conftest.$ac_ext
29901
29902fi
29903echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29904echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29905 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29906 cat >>confdefs.h <<\_ACEOF
29907#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29908_ACEOF
29909
29910 else
29911 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29912echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29913 fi
29914 fi
29915 fi
29916
29917else
29918 if test "$wxUSE_THREADS" = "yes" ; then
29919 case "${host}" in
29920 *-*-mingw32* )
29921 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29922echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29923if test "${wx_cv_cflags_mthread+set}" = set; then
29924 echo $ECHO_N "(cached) $ECHO_C" >&6
29925else
29926
29927 CFLAGS_OLD="$CFLAGS"
29928 CFLAGS="$CFLAGS -mthreads"
29929 cat >conftest.$ac_ext <<_ACEOF
29930#line $LINENO "configure"
29931/* confdefs.h. */
29932_ACEOF
29933cat confdefs.h >>conftest.$ac_ext
29934cat >>conftest.$ac_ext <<_ACEOF
29935/* end confdefs.h. */
29936
29937int
29938main ()
29939{
29940
29941 ;
29942 return 0;
29943}
29944_ACEOF
29945rm -f conftest.$ac_objext
29946if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29947 (eval $ac_compile) 2>&5
29948 ac_status=$?
29949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29950 (exit $ac_status); } &&
29951 { ac_try='test -s conftest.$ac_objext'
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 wx_cv_cflags_mthread=yes
29958else
29959 echo "$as_me: failed program was:" >&5
29960sed 's/^/| /' conftest.$ac_ext >&5
29961
29962wx_cv_cflags_mthread=no
29963
29964fi
29965rm -f conftest.$ac_objext conftest.$ac_ext
29966
29967
29968fi
29969echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29970echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29971
29972 if test "$wx_cv_cflags_mthread" = "yes"; then
29973 CXXFLAGS="$CXXFLAGS -mthreads"
29974 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
29975 LDFLAGS="$LDFLAGS -mthreads"
29976 else
29977 CFLAGS="$CFLAGS_OLD"
29978 fi
29979 ;;
29980 esac
29981 fi
29982fi
29983
29984if test "$wxUSE_THREADS" = "yes"; then
29985 cat >>confdefs.h <<\_ACEOF
29986#define wxUSE_THREADS 1
29987_ACEOF
29988
29989
29990 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
29991else
29992 if test "$ac_cv_func_strtok_r" = "yes"; then
29993 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
29994echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
29995 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
29996 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
29997 echo "$as_me:$LINENO: result: yes" >&5
29998echo "${ECHO_T}yes" >&6
29999 else
30000 echo "$as_me:$LINENO: result: no" >&5
30001echo "${ECHO_T}no" >&6
30002 fi
30003 fi
30004fi
30005
30006if test "$WXGTK20" = 1 ; then
30007 cat >>confdefs.h <<_ACEOF
30008#define __WXGTK20__ $WXGTK20
30009_ACEOF
30010
30011 WXGTK12=1
30012fi
30013
30014if test "$WXGTK12" = 1 ; then
30015 cat >>confdefs.h <<_ACEOF
30016#define __WXGTK12__ $WXGTK12
30017_ACEOF
30018
30019fi
30020
30021if test "$WXGTK127" = 1 ; then
30022 cat >>confdefs.h <<_ACEOF
30023#define __WXGTK127__ $WXGTK127
30024_ACEOF
30025
30026fi
30027
30028WXDEBUG=
30029
30030if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30031 WXDEBUG="-g"
30032 wxUSE_OPTIMISE=no
30033fi
30034
30035if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30036 wxUSE_DEBUG_INFO=yes
30037 WXDEBUG="-ggdb"
30038fi
30039
30040if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30041 cat >>confdefs.h <<\_ACEOF
30042#define WXDEBUG 1
30043_ACEOF
30044
30045 WXDEBUG_DEFINE="-D__WXDEBUG__"
30046else
30047 if test "$wxUSE_GTK" = 1 ; then
30048 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
30049 fi
30050fi
30051
30052if test "$wxUSE_MEM_TRACING" = "yes" ; then
30053 cat >>confdefs.h <<\_ACEOF
30054#define wxUSE_MEMORY_TRACING 1
30055_ACEOF
30056
30057 cat >>confdefs.h <<\_ACEOF
30058#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30059_ACEOF
30060
30061 cat >>confdefs.h <<\_ACEOF
30062#define wxUSE_DEBUG_NEW_ALWAYS 1
30063_ACEOF
30064
30065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
30066fi
30067
30068if test "$wxUSE_DMALLOC" = "yes" ; then
30069 DMALLOC_LIBS="-ldmalloc"
30070fi
30071
30072PROFILE=
30073if test "$wxUSE_PROFILE" = "yes" ; then
30074 PROFILE=" -pg"
30075fi
30076
30077CODE_GEN_FLAGS=
30078CODE_GEN_FLAGS_CXX=
30079if test "$GCC" = "yes" ; then
30080 if test "$wxUSE_NO_RTTI" = "yes" ; then
30081 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
30082 fi
30083 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30084 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30085 fi
30086 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30087 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
30088 fi
30089
30090 case "${host}" in
30091 powerpc*-*-aix* )
30092 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
30093 ;;
30094 *-hppa* )
30095 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
30096 ;;
30097 esac
30098fi
30099
30100OPTIMISE=
30101if test "$wxUSE_OPTIMISE" = "no" ; then
30102 if test "$GCC" = yes ; then
30103 OPTIMISE="-O0"
30104 fi
30105else
30106 if test "$GCC" = yes ; then
30107 OPTIMISE="-O2"
30108
30109 case "${host}" in
30110 i586-*-*|i686-*-* )
30111 OPTIMISE="${OPTIMISE} "
30112 ;;
30113 esac
30114 else
30115 OPTIMISE="-O"
30116 fi
30117fi
30118
30119
30120if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30121 cat >>confdefs.h <<\_ACEOF
30122#define WXWIN_COMPATIBILITY_2_2 1
30123_ACEOF
30124
30125
30126 WXWIN_COMPATIBILITY_2_4="yes"
30127fi
30128
30129if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30130 cat >>confdefs.h <<\_ACEOF
30131#define WXWIN_COMPATIBILITY_2_4 1
30132_ACEOF
30133
30134fi
30135
30136
30137if test "$wxUSE_GUI" = "yes"; then
30138 cat >>confdefs.h <<\_ACEOF
30139#define wxUSE_GUI 1
30140_ACEOF
30141
30142
30143 else
30144 cat >>confdefs.h <<\_ACEOF
30145#define wxUSE_NOGUI 1
30146_ACEOF
30147
30148fi
30149
30150
30151if test "$wxUSE_UNIX" = "yes"; then
30152 cat >>confdefs.h <<\_ACEOF
30153#define wxUSE_UNIX 1
30154_ACEOF
30155
30156fi
30157
30158
30159if test "$wxUSE_STL" = "yes"; then
30160 cat >>confdefs.h <<\_ACEOF
30161#define wxUSE_STL 1
30162_ACEOF
30163
30164fi
30165
30166if test "$wxUSE_APPLE_IEEE" = "yes"; then
30167 cat >>confdefs.h <<\_ACEOF
30168#define wxUSE_APPLE_IEEE 1
30169_ACEOF
30170
30171fi
30172
30173if test "$wxUSE_TIMER" = "yes"; then
30174 cat >>confdefs.h <<\_ACEOF
30175#define wxUSE_TIMER 1
30176_ACEOF
30177
30178fi
30179
30180if test "$wxUSE_WAVE" = "yes"; then
30181 cat >>confdefs.h <<\_ACEOF
30182#define wxUSE_WAVE 1
30183_ACEOF
30184
30185fi
30186
30187if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30188 cat >>confdefs.h <<\_ACEOF
30189#define wxUSE_CMDLINE_PARSER 1
30190_ACEOF
30191
30192fi
30193
30194if test "$wxUSE_STOPWATCH" = "yes"; then
30195 cat >>confdefs.h <<\_ACEOF
30196#define wxUSE_STOPWATCH 1
30197_ACEOF
30198
30199fi
30200
30201if test "$wxUSE_DATETIME" = "yes"; then
30202 cat >>confdefs.h <<\_ACEOF
30203#define wxUSE_DATETIME 1
30204_ACEOF
30205
30206fi
30207
30208if test "$wxUSE_FILE" = "yes"; then
30209 cat >>confdefs.h <<\_ACEOF
30210#define wxUSE_FILE 1
30211_ACEOF
30212
30213fi
30214
30215if test "$wxUSE_FFILE" = "yes"; then
30216 cat >>confdefs.h <<\_ACEOF
30217#define wxUSE_FFILE 1
30218_ACEOF
30219
30220fi
30221
30222if test "$wxUSE_FILESYSTEM" = "yes"; then
30223 cat >>confdefs.h <<\_ACEOF
30224#define wxUSE_FILESYSTEM 1
30225_ACEOF
30226
30227fi
30228
30229if test "$wxUSE_FS_ZIP" = "yes"; then
30230 cat >>confdefs.h <<\_ACEOF
30231#define wxUSE_FS_ZIP 1
30232_ACEOF
30233
30234fi
30235
30236if test "$wxUSE_ZIPSTREAM" = "yes"; then
30237 cat >>confdefs.h <<\_ACEOF
30238#define wxUSE_ZIPSTREAM 1
30239_ACEOF
30240
30241fi
30242
30243if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30244 cat >>confdefs.h <<\_ACEOF
30245#define wxUSE_ON_FATAL_EXCEPTION 1
30246_ACEOF
30247
30248fi
30249
30250if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30251 cat >>confdefs.h <<\_ACEOF
30252#define wxUSE_SNGLINST_CHECKER 1
30253_ACEOF
30254
30255fi
30256
30257if test "$wxUSE_BUSYINFO" = "yes"; then
30258 cat >>confdefs.h <<\_ACEOF
30259#define wxUSE_BUSYINFO 1
30260_ACEOF
30261
30262fi
30263
30264if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30265 cat >>confdefs.h <<\_ACEOF
30266#define wxUSE_STD_IOSTREAM 1
30267_ACEOF
30268
30269fi
30270
30271if test "$wxUSE_TEXTBUFFER" = "yes"; then
30272 cat >>confdefs.h <<\_ACEOF
30273#define wxUSE_TEXTBUFFER 1
30274_ACEOF
30275
30276fi
30277
30278if test "$wxUSE_TEXTFILE" = "yes"; then
30279 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30280 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30281echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30282 else
30283 cat >>confdefs.h <<\_ACEOF
30284#define wxUSE_TEXTFILE 1
30285_ACEOF
30286
30287 fi
30288fi
30289
30290if test "$wxUSE_CONFIG" = "yes" ; then
30291 if test "$wxUSE_TEXTFILE" != "yes"; then
30292 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30293echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30294 else
30295 cat >>confdefs.h <<\_ACEOF
30296#define wxUSE_CONFIG 1
30297_ACEOF
30298
30299 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30300 fi
30301fi
30302
30303if test "$wxUSE_INTL" = "yes" ; then
30304 if test "$wxUSE_FILE" != "yes"; then
30305 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30306echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30307 else
30308 cat >>confdefs.h <<\_ACEOF
30309#define wxUSE_INTL 1
30310_ACEOF
30311
30312 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30313 GUIDIST="$GUIDIST INTL_DIST"
30314 fi
30315fi
30316
30317if test "$wxUSE_LOG" = "yes"; then
30318 cat >>confdefs.h <<\_ACEOF
30319#define wxUSE_LOG 1
30320_ACEOF
30321
30322
30323 if test "$wxUSE_LOGGUI" = "yes"; then
30324 cat >>confdefs.h <<\_ACEOF
30325#define wxUSE_LOGGUI 1
30326_ACEOF
30327
30328 fi
30329
30330 if test "$wxUSE_LOGWINDOW" = "yes"; then
30331 cat >>confdefs.h <<\_ACEOF
30332#define wxUSE_LOGWINDOW 1
30333_ACEOF
30334
30335 fi
30336
30337 if test "$wxUSE_LOGDIALOG" = "yes"; then
30338 cat >>confdefs.h <<\_ACEOF
30339#define wxUSE_LOG_DIALOG 1
30340_ACEOF
30341
30342 fi
30343fi
30344
30345if test "$wxUSE_LONGLONG" = "yes"; then
30346 cat >>confdefs.h <<\_ACEOF
30347#define wxUSE_LONGLONG 1
30348_ACEOF
30349
30350fi
30351
30352if test "$wxUSE_GEOMETRY" = "yes"; then
30353 cat >>confdefs.h <<\_ACEOF
30354#define wxUSE_GEOMETRY 1
30355_ACEOF
30356
30357fi
30358
30359if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30360 cat >>confdefs.h <<\_ACEOF
30361#define wxUSE_DIALUP_MANAGER 1
30362_ACEOF
30363
30364 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30365fi
30366
30367if test "$wxUSE_STREAMS" = "yes" ; then
30368 cat >>confdefs.h <<\_ACEOF
30369#define wxUSE_STREAMS 1
30370_ACEOF
30371
30372fi
30373
30374
30375if test "$wxUSE_DATETIME" = "yes"; then
30376
30377for ac_func in strptime
30378do
30379as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30380echo "$as_me:$LINENO: checking for $ac_func" >&5
30381echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30382if eval "test \"\${$as_ac_var+set}\" = set"; then
30383 echo $ECHO_N "(cached) $ECHO_C" >&6
30384else
30385 cat >conftest.$ac_ext <<_ACEOF
30386#line $LINENO "configure"
30387/* confdefs.h. */
30388_ACEOF
30389cat confdefs.h >>conftest.$ac_ext
30390cat >>conftest.$ac_ext <<_ACEOF
30391/* end confdefs.h. */
30392/* System header to define __stub macros and hopefully few prototypes,
30393 which can conflict with char $ac_func (); below.
30394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30395 <limits.h> exists even on freestanding compilers. */
30396#ifdef __STDC__
30397# include <limits.h>
30398#else
30399# include <assert.h>
30400#endif
30401/* Override any gcc2 internal prototype to avoid an error. */
30402#ifdef __cplusplus
30403extern "C"
30404{
30405#endif
30406/* We use char because int might match the return type of a gcc2
30407 builtin and then its argument prototype would still apply. */
30408char $ac_func ();
30409/* The GNU C library defines this for functions which it implements
30410 to always fail with ENOSYS. Some functions are actually named
30411 something starting with __ and the normal name is an alias. */
30412#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30413choke me
30414#else
30415char (*f) () = $ac_func;
30416#endif
30417#ifdef __cplusplus
30418}
30419#endif
30420
30421int
30422main ()
30423{
30424return f != $ac_func;
30425 ;
30426 return 0;
30427}
30428_ACEOF
30429rm -f conftest.$ac_objext conftest$ac_exeext
30430if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30431 (eval $ac_link) 2>&5
30432 ac_status=$?
30433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30434 (exit $ac_status); } &&
30435 { ac_try='test -s conftest$ac_exeext'
30436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30437 (eval $ac_try) 2>&5
30438 ac_status=$?
30439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30440 (exit $ac_status); }; }; then
30441 eval "$as_ac_var=yes"
30442else
30443 echo "$as_me: failed program was:" >&5
30444sed 's/^/| /' conftest.$ac_ext >&5
30445
30446eval "$as_ac_var=no"
30447fi
30448rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30449fi
30450echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30451echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30452if test `eval echo '${'$as_ac_var'}'` = yes; then
30453 cat >>confdefs.h <<_ACEOF
30454#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30455_ACEOF
30456
30457fi
30458done
30459
30460
30461 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30462echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30463if test "${wx_cv_var_timezone+set}" = set; then
30464 echo $ECHO_N "(cached) $ECHO_C" >&6
30465else
30466
30467 cat >conftest.$ac_ext <<_ACEOF
30468#line $LINENO "configure"
30469/* confdefs.h. */
30470_ACEOF
30471cat confdefs.h >>conftest.$ac_ext
30472cat >>conftest.$ac_ext <<_ACEOF
30473/* end confdefs.h. */
30474
30475 #include <time.h>
30476
30477int
30478main ()
30479{
30480
30481 int tz;
30482 tz = timezone;
30483
30484 ;
30485 return 0;
30486}
30487_ACEOF
30488rm -f conftest.$ac_objext
30489if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30490 (eval $ac_compile) 2>&5
30491 ac_status=$?
30492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30493 (exit $ac_status); } &&
30494 { ac_try='test -s conftest.$ac_objext'
30495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30496 (eval $ac_try) 2>&5
30497 ac_status=$?
30498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30499 (exit $ac_status); }; }; then
30500
30501 wx_cv_var_timezone=timezone
30502
30503else
30504 echo "$as_me: failed program was:" >&5
30505sed 's/^/| /' conftest.$ac_ext >&5
30506
30507
30508 cat >conftest.$ac_ext <<_ACEOF
30509#line $LINENO "configure"
30510/* confdefs.h. */
30511_ACEOF
30512cat confdefs.h >>conftest.$ac_ext
30513cat >>conftest.$ac_ext <<_ACEOF
30514/* end confdefs.h. */
30515
30516 #include <time.h>
30517
30518int
30519main ()
30520{
30521
30522 int tz;
30523 tz = _timezone;
30524
30525 ;
30526 return 0;
30527}
30528_ACEOF
30529rm -f conftest.$ac_objext
30530if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30531 (eval $ac_compile) 2>&5
30532 ac_status=$?
30533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30534 (exit $ac_status); } &&
30535 { ac_try='test -s conftest.$ac_objext'
30536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30537 (eval $ac_try) 2>&5
30538 ac_status=$?
30539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30540 (exit $ac_status); }; }; then
30541
30542 wx_cv_var_timezone=_timezone
30543
30544else
30545 echo "$as_me: failed program was:" >&5
30546sed 's/^/| /' conftest.$ac_ext >&5
30547
30548
30549 cat >conftest.$ac_ext <<_ACEOF
30550#line $LINENO "configure"
30551/* confdefs.h. */
30552_ACEOF
30553cat confdefs.h >>conftest.$ac_ext
30554cat >>conftest.$ac_ext <<_ACEOF
30555/* end confdefs.h. */
30556
30557 #include <time.h>
30558
30559int
30560main ()
30561{
30562
30563 int tz;
30564 tz = __timezone;
30565
30566 ;
30567 return 0;
30568}
30569_ACEOF
30570rm -f conftest.$ac_objext
30571if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30572 (eval $ac_compile) 2>&5
30573 ac_status=$?
30574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30575 (exit $ac_status); } &&
30576 { ac_try='test -s conftest.$ac_objext'
30577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30578 (eval $ac_try) 2>&5
30579 ac_status=$?
30580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30581 (exit $ac_status); }; }; then
30582
30583 wx_cv_var_timezone=__timezone
30584
30585else
30586 echo "$as_me: failed program was:" >&5
30587sed 's/^/| /' conftest.$ac_ext >&5
30588
30589
30590 if test "$USE_DOS" = 0 ; then
30591 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30592echo "$as_me: WARNING: no timezone variable" >&2;}
30593 fi
30594
30595
30596fi
30597rm -f conftest.$ac_objext conftest.$ac_ext
30598
30599
30600fi
30601rm -f conftest.$ac_objext conftest.$ac_ext
30602
30603
30604fi
30605rm -f conftest.$ac_objext conftest.$ac_ext
30606
30607
30608fi
30609echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30610echo "${ECHO_T}$wx_cv_var_timezone" >&6
30611
30612 if test "x$wx_cv_var_timezone" != x ; then
30613 cat >>confdefs.h <<_ACEOF
30614#define WX_TIMEZONE $wx_cv_var_timezone
30615_ACEOF
30616
30617 fi
30618
30619
30620for ac_func in localtime
30621do
30622as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30623echo "$as_me:$LINENO: checking for $ac_func" >&5
30624echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30625if eval "test \"\${$as_ac_var+set}\" = set"; then
30626 echo $ECHO_N "(cached) $ECHO_C" >&6
30627else
30628 cat >conftest.$ac_ext <<_ACEOF
30629#line $LINENO "configure"
30630/* confdefs.h. */
30631_ACEOF
30632cat confdefs.h >>conftest.$ac_ext
30633cat >>conftest.$ac_ext <<_ACEOF
30634/* end confdefs.h. */
30635/* System header to define __stub macros and hopefully few prototypes,
30636 which can conflict with char $ac_func (); below.
30637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30638 <limits.h> exists even on freestanding compilers. */
30639#ifdef __STDC__
30640# include <limits.h>
30641#else
30642# include <assert.h>
30643#endif
30644/* Override any gcc2 internal prototype to avoid an error. */
30645#ifdef __cplusplus
30646extern "C"
30647{
30648#endif
30649/* We use char because int might match the return type of a gcc2
30650 builtin and then its argument prototype would still apply. */
30651char $ac_func ();
30652/* The GNU C library defines this for functions which it implements
30653 to always fail with ENOSYS. Some functions are actually named
30654 something starting with __ and the normal name is an alias. */
30655#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30656choke me
30657#else
30658char (*f) () = $ac_func;
30659#endif
30660#ifdef __cplusplus
30661}
30662#endif
30663
30664int
30665main ()
30666{
30667return f != $ac_func;
30668 ;
30669 return 0;
30670}
30671_ACEOF
30672rm -f conftest.$ac_objext conftest$ac_exeext
30673if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30674 (eval $ac_link) 2>&5
30675 ac_status=$?
30676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30677 (exit $ac_status); } &&
30678 { ac_try='test -s conftest$ac_exeext'
30679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30680 (eval $ac_try) 2>&5
30681 ac_status=$?
30682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30683 (exit $ac_status); }; }; then
30684 eval "$as_ac_var=yes"
30685else
30686 echo "$as_me: failed program was:" >&5
30687sed 's/^/| /' conftest.$ac_ext >&5
30688
30689eval "$as_ac_var=no"
30690fi
30691rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30692fi
30693echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30694echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30695if test `eval echo '${'$as_ac_var'}'` = yes; then
30696 cat >>confdefs.h <<_ACEOF
30697#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30698_ACEOF
30699
30700fi
30701done
30702
30703
30704 if test "$ac_cv_func_localtime" = "yes"; then
30705 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30706echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30707if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30708 echo $ECHO_N "(cached) $ECHO_C" >&6
30709else
30710
30711 cat >conftest.$ac_ext <<_ACEOF
30712#line $LINENO "configure"
30713/* confdefs.h. */
30714_ACEOF
30715cat confdefs.h >>conftest.$ac_ext
30716cat >>conftest.$ac_ext <<_ACEOF
30717/* end confdefs.h. */
30718
30719 #include <time.h>
30720
30721int
30722main ()
30723{
30724
30725 struct tm tm;
30726 tm.tm_gmtoff++;
30727
30728 ;
30729 return 0;
30730}
30731_ACEOF
30732rm -f conftest.$ac_objext
30733if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30734 (eval $ac_compile) 2>&5
30735 ac_status=$?
30736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30737 (exit $ac_status); } &&
30738 { ac_try='test -s conftest.$ac_objext'
30739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30740 (eval $ac_try) 2>&5
30741 ac_status=$?
30742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30743 (exit $ac_status); }; }; then
30744
30745 wx_cv_struct_tm_has_gmtoff=yes
30746
30747else
30748 echo "$as_me: failed program was:" >&5
30749sed 's/^/| /' conftest.$ac_ext >&5
30750
30751wx_cv_struct_tm_has_gmtoff=no
30752
30753fi
30754rm -f conftest.$ac_objext conftest.$ac_ext
30755
30756fi
30757echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30758echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30759 fi
30760
30761 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30762 cat >>confdefs.h <<\_ACEOF
30763#define WX_GMTOFF_IN_TM 1
30764_ACEOF
30765
30766 fi
30767
30768
30769
30770for ac_func in gettimeofday ftime
30771do
30772as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30773echo "$as_me:$LINENO: checking for $ac_func" >&5
30774echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30775if eval "test \"\${$as_ac_var+set}\" = set"; then
30776 echo $ECHO_N "(cached) $ECHO_C" >&6
30777else
30778 cat >conftest.$ac_ext <<_ACEOF
30779#line $LINENO "configure"
30780/* confdefs.h. */
30781_ACEOF
30782cat confdefs.h >>conftest.$ac_ext
30783cat >>conftest.$ac_ext <<_ACEOF
30784/* end confdefs.h. */
30785/* System header to define __stub macros and hopefully few prototypes,
30786 which can conflict with char $ac_func (); below.
30787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30788 <limits.h> exists even on freestanding compilers. */
30789#ifdef __STDC__
30790# include <limits.h>
30791#else
30792# include <assert.h>
30793#endif
30794/* Override any gcc2 internal prototype to avoid an error. */
30795#ifdef __cplusplus
30796extern "C"
30797{
30798#endif
30799/* We use char because int might match the return type of a gcc2
30800 builtin and then its argument prototype would still apply. */
30801char $ac_func ();
30802/* The GNU C library defines this for functions which it implements
30803 to always fail with ENOSYS. Some functions are actually named
30804 something starting with __ and the normal name is an alias. */
30805#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30806choke me
30807#else
30808char (*f) () = $ac_func;
30809#endif
30810#ifdef __cplusplus
30811}
30812#endif
30813
30814int
30815main ()
30816{
30817return f != $ac_func;
30818 ;
30819 return 0;
30820}
30821_ACEOF
30822rm -f conftest.$ac_objext conftest$ac_exeext
30823if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30824 (eval $ac_link) 2>&5
30825 ac_status=$?
30826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30827 (exit $ac_status); } &&
30828 { ac_try='test -s conftest$ac_exeext'
30829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30830 (eval $ac_try) 2>&5
30831 ac_status=$?
30832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30833 (exit $ac_status); }; }; then
30834 eval "$as_ac_var=yes"
30835else
30836 echo "$as_me: failed program was:" >&5
30837sed 's/^/| /' conftest.$ac_ext >&5
30838
30839eval "$as_ac_var=no"
30840fi
30841rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30842fi
30843echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30844echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30845if test `eval echo '${'$as_ac_var'}'` = yes; then
30846 cat >>confdefs.h <<_ACEOF
30847#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30848_ACEOF
30849 break
30850fi
30851done
30852
30853
30854 if test "$ac_cv_func_gettimeofday" = "yes"; then
30855 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30856echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30857if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30858 echo $ECHO_N "(cached) $ECHO_C" >&6
30859else
30860
30861
30862
30863 ac_ext=cc
30864ac_cpp='$CXXCPP $CPPFLAGS'
30865ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30866ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30867ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30868
30869
30870 cat >conftest.$ac_ext <<_ACEOF
30871#line $LINENO "configure"
30872/* confdefs.h. */
30873_ACEOF
30874cat confdefs.h >>conftest.$ac_ext
30875cat >>conftest.$ac_ext <<_ACEOF
30876/* end confdefs.h. */
30877
30878 #include <sys/time.h>
30879 #include <unistd.h>
30880
30881int
30882main ()
30883{
30884
30885 struct timeval tv;
30886 gettimeofday(&tv, NULL);
30887
30888 ;
30889 return 0;
30890}
30891_ACEOF
30892rm -f conftest.$ac_objext
30893if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30894 (eval $ac_compile) 2>&5
30895 ac_status=$?
30896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30897 (exit $ac_status); } &&
30898 { ac_try='test -s conftest.$ac_objext'
30899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30900 (eval $ac_try) 2>&5
30901 ac_status=$?
30902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30903 (exit $ac_status); }; }; then
30904 wx_cv_func_gettimeofday_has_2_args=yes
30905else
30906 echo "$as_me: failed program was:" >&5
30907sed 's/^/| /' conftest.$ac_ext >&5
30908
30909cat >conftest.$ac_ext <<_ACEOF
30910#line $LINENO "configure"
30911/* confdefs.h. */
30912_ACEOF
30913cat confdefs.h >>conftest.$ac_ext
30914cat >>conftest.$ac_ext <<_ACEOF
30915/* end confdefs.h. */
30916
30917 #include <sys/time.h>
30918 #include <unistd.h>
30919
30920int
30921main ()
30922{
30923
30924 struct timeval tv;
30925 gettimeofday(&tv);
30926
30927 ;
30928 return 0;
30929}
30930_ACEOF
30931rm -f conftest.$ac_objext
30932if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30933 (eval $ac_compile) 2>&5
30934 ac_status=$?
30935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30936 (exit $ac_status); } &&
30937 { ac_try='test -s conftest.$ac_objext'
30938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30939 (eval $ac_try) 2>&5
30940 ac_status=$?
30941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30942 (exit $ac_status); }; }; then
30943 wx_cv_func_gettimeofday_has_2_args=no
30944else
30945 echo "$as_me: failed program was:" >&5
30946sed 's/^/| /' conftest.$ac_ext >&5
30947
30948
30949 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30950echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30951 wx_cv_func_gettimeofday_has_2_args=unknown
30952
30953
30954fi
30955rm -f conftest.$ac_objext conftest.$ac_ext
30956
30957fi
30958rm -f conftest.$ac_objext conftest.$ac_ext
30959 ac_ext=c
30960ac_cpp='$CPP $CPPFLAGS'
30961ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30962ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30963ac_compiler_gnu=$ac_cv_c_compiler_gnu
30964
30965
30966fi
30967echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30968echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30969
30970 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30971 cat >>confdefs.h <<\_ACEOF
30972#define WX_GETTIMEOFDAY_NO_TZ 1
30973_ACEOF
30974
30975 fi
30976 fi
30977
30978 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
30979fi
30980
30981
30982if test "$wxUSE_SOCKETS" = "yes"; then
30983 if test "$wxUSE_MGL" = "1"; then
30984 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30985echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30986 wxUSE_SOCKETS="no"
30987 fi
30988 if test "$wxUSE_COCOA" = "1"; then
30989 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
30990echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
30991 wxUSE_SOCKETS="no"
30992 fi
30993fi
30994
30995if test "$wxUSE_SOCKETS" = "yes"; then
30996 if test "$TOOLKIT" != "MSW"; then
30997 echo "$as_me:$LINENO: checking for socket" >&5
30998echo $ECHO_N "checking for socket... $ECHO_C" >&6
30999if test "${ac_cv_func_socket+set}" = set; then
31000 echo $ECHO_N "(cached) $ECHO_C" >&6
31001else
31002 cat >conftest.$ac_ext <<_ACEOF
31003#line $LINENO "configure"
31004/* confdefs.h. */
31005_ACEOF
31006cat confdefs.h >>conftest.$ac_ext
31007cat >>conftest.$ac_ext <<_ACEOF
31008/* end confdefs.h. */
31009/* System header to define __stub macros and hopefully few prototypes,
31010 which can conflict with char socket (); below.
31011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31012 <limits.h> exists even on freestanding compilers. */
31013#ifdef __STDC__
31014# include <limits.h>
31015#else
31016# include <assert.h>
31017#endif
31018/* Override any gcc2 internal prototype to avoid an error. */
31019#ifdef __cplusplus
31020extern "C"
31021{
31022#endif
31023/* We use char because int might match the return type of a gcc2
31024 builtin and then its argument prototype would still apply. */
31025char socket ();
31026/* The GNU C library defines this for functions which it implements
31027 to always fail with ENOSYS. Some functions are actually named
31028 something starting with __ and the normal name is an alias. */
31029#if defined (__stub_socket) || defined (__stub___socket)
31030choke me
31031#else
31032char (*f) () = socket;
31033#endif
31034#ifdef __cplusplus
31035}
31036#endif
31037
31038int
31039main ()
31040{
31041return f != socket;
31042 ;
31043 return 0;
31044}
31045_ACEOF
31046rm -f conftest.$ac_objext conftest$ac_exeext
31047if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31048 (eval $ac_link) 2>&5
31049 ac_status=$?
31050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31051 (exit $ac_status); } &&
31052 { ac_try='test -s conftest$ac_exeext'
31053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31054 (eval $ac_try) 2>&5
31055 ac_status=$?
31056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31057 (exit $ac_status); }; }; then
31058 ac_cv_func_socket=yes
31059else
31060 echo "$as_me: failed program was:" >&5
31061sed 's/^/| /' conftest.$ac_ext >&5
31062
31063ac_cv_func_socket=no
31064fi
31065rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31066fi
31067echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31068echo "${ECHO_T}$ac_cv_func_socket" >&6
31069if test $ac_cv_func_socket = yes; then
31070 :
31071else
31072
31073 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31074echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31075if test "${ac_cv_lib_socket_socket+set}" = set; then
31076 echo $ECHO_N "(cached) $ECHO_C" >&6
31077else
31078 ac_check_lib_save_LIBS=$LIBS
31079LIBS="-lsocket $LIBS"
31080cat >conftest.$ac_ext <<_ACEOF
31081#line $LINENO "configure"
31082/* confdefs.h. */
31083_ACEOF
31084cat confdefs.h >>conftest.$ac_ext
31085cat >>conftest.$ac_ext <<_ACEOF
31086/* end confdefs.h. */
31087
31088/* Override any gcc2 internal prototype to avoid an error. */
31089#ifdef __cplusplus
31090extern "C"
31091#endif
31092/* We use char because int might match the return type of a gcc2
31093 builtin and then its argument prototype would still apply. */
31094char socket ();
31095int
31096main ()
31097{
31098socket ();
31099 ;
31100 return 0;
31101}
31102_ACEOF
31103rm -f conftest.$ac_objext conftest$ac_exeext
31104if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31105 (eval $ac_link) 2>&5
31106 ac_status=$?
31107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31108 (exit $ac_status); } &&
31109 { ac_try='test -s conftest$ac_exeext'
31110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31111 (eval $ac_try) 2>&5
31112 ac_status=$?
31113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31114 (exit $ac_status); }; }; then
31115 ac_cv_lib_socket_socket=yes
31116else
31117 echo "$as_me: failed program was:" >&5
31118sed 's/^/| /' conftest.$ac_ext >&5
31119
31120ac_cv_lib_socket_socket=no
31121fi
31122rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31123LIBS=$ac_check_lib_save_LIBS
31124fi
31125echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31126echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31127if test $ac_cv_lib_socket_socket = yes; then
31128 if test "$INET_LINK" != " -lsocket"; then
31129 INET_LINK="$INET_LINK -lsocket"
31130 fi
31131else
31132
31133 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31134echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31135 wxUSE_SOCKETS=no
31136
31137
31138fi
31139
31140
31141
31142fi
31143
31144 fi
31145fi
31146
31147if test "$wxUSE_SOCKETS" = "yes" ; then
31148 if test "$TOOLKIT" != "MSW"; then
31149 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31150echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31151if test "${wx_cv_type_getsockname3+set}" = set; then
31152 echo $ECHO_N "(cached) $ECHO_C" >&6
31153else
31154
31155 cat >conftest.$ac_ext <<_ACEOF
31156#line $LINENO "configure"
31157/* confdefs.h. */
31158_ACEOF
31159cat confdefs.h >>conftest.$ac_ext
31160cat >>conftest.$ac_ext <<_ACEOF
31161/* end confdefs.h. */
31162
31163 #include <sys/types.h>
31164 #include <sys/socket.h>
31165
31166int
31167main ()
31168{
31169
31170 socklen_t len;
31171 getsockname(0, 0, &len);
31172
31173 ;
31174 return 0;
31175}
31176_ACEOF
31177rm -f conftest.$ac_objext
31178if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31179 (eval $ac_compile) 2>&5
31180 ac_status=$?
31181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31182 (exit $ac_status); } &&
31183 { ac_try='test -s conftest.$ac_objext'
31184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31185 (eval $ac_try) 2>&5
31186 ac_status=$?
31187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31188 (exit $ac_status); }; }; then
31189 wx_cv_type_getsockname3=socklen_t
31190else
31191 echo "$as_me: failed program was:" >&5
31192sed 's/^/| /' conftest.$ac_ext >&5
31193
31194
31195 CFLAGS_OLD="$CFLAGS"
31196 if test "$GCC" = yes ; then
31197 CFLAGS="$CFLAGS -Werror"
31198 fi
31199
31200 cat >conftest.$ac_ext <<_ACEOF
31201#line $LINENO "configure"
31202/* confdefs.h. */
31203_ACEOF
31204cat confdefs.h >>conftest.$ac_ext
31205cat >>conftest.$ac_ext <<_ACEOF
31206/* end confdefs.h. */
31207
31208 #include <sys/types.h>
31209 #include <sys/socket.h>
31210
31211int
31212main ()
31213{
31214
31215 size_t len;
31216 getsockname(0, 0, &len);
31217
31218 ;
31219 return 0;
31220}
31221_ACEOF
31222rm -f conftest.$ac_objext
31223if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31224 (eval $ac_compile) 2>&5
31225 ac_status=$?
31226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31227 (exit $ac_status); } &&
31228 { ac_try='test -s conftest.$ac_objext'
31229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31230 (eval $ac_try) 2>&5
31231 ac_status=$?
31232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31233 (exit $ac_status); }; }; then
31234 wx_cv_type_getsockname3=size_t
31235else
31236 echo "$as_me: failed program was:" >&5
31237sed 's/^/| /' conftest.$ac_ext >&5
31238
31239cat >conftest.$ac_ext <<_ACEOF
31240#line $LINENO "configure"
31241/* confdefs.h. */
31242_ACEOF
31243cat confdefs.h >>conftest.$ac_ext
31244cat >>conftest.$ac_ext <<_ACEOF
31245/* end confdefs.h. */
31246
31247 #include <sys/types.h>
31248 #include <sys/socket.h>
31249
31250int
31251main ()
31252{
31253
31254 int len;
31255 getsockname(0, 0, &len);
31256
31257 ;
31258 return 0;
31259}
31260_ACEOF
31261rm -f conftest.$ac_objext
31262if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31263 (eval $ac_compile) 2>&5
31264 ac_status=$?
31265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31266 (exit $ac_status); } &&
31267 { ac_try='test -s conftest.$ac_objext'
31268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31269 (eval $ac_try) 2>&5
31270 ac_status=$?
31271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31272 (exit $ac_status); }; }; then
31273 wx_cv_type_getsockname3=int
31274else
31275 echo "$as_me: failed program was:" >&5
31276sed 's/^/| /' conftest.$ac_ext >&5
31277
31278wx_cv_type_getsockname3=unknown
31279
31280fi
31281rm -f conftest.$ac_objext conftest.$ac_ext
31282
31283fi
31284rm -f conftest.$ac_objext conftest.$ac_ext
31285
31286 CFLAGS="$CFLAGS_OLD"
31287
31288
31289fi
31290rm -f conftest.$ac_objext conftest.$ac_ext
31291
31292fi
31293echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31294echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31295
31296 if test "$wx_cv_type_getsockname3" = "unknown"; then
31297 wxUSE_SOCKETS=no
31298 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31299echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31300 else
31301 cat >>confdefs.h <<_ACEOF
31302#define SOCKLEN_T $wx_cv_type_getsockname3
31303_ACEOF
31304
31305 fi
31306 fi
31307fi
31308
31309if test "$wxUSE_SOCKETS" = "yes" ; then
31310 cat >>confdefs.h <<\_ACEOF
31311#define wxUSE_SOCKETS 1
31312_ACEOF
31313
31314 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31315fi
31316
31317if test "$wxUSE_PROTOCOL" = "yes"; then
31318 if test "$wxUSE_SOCKETS" != "yes"; then
31319 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31320echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31321 wxUSE_PROTOCOL=no
31322 fi
31323fi
31324
31325if test "$wxUSE_PROTOCOL" = "yes"; then
31326 cat >>confdefs.h <<\_ACEOF
31327#define wxUSE_PROTOCOL 1
31328_ACEOF
31329
31330
31331 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31332 cat >>confdefs.h <<\_ACEOF
31333#define wxUSE_PROTOCOL_HTTP 1
31334_ACEOF
31335
31336 fi
31337 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31338 cat >>confdefs.h <<\_ACEOF
31339#define wxUSE_PROTOCOL_FTP 1
31340_ACEOF
31341
31342 fi
31343 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31344 cat >>confdefs.h <<\_ACEOF
31345#define wxUSE_PROTOCOL_FILE 1
31346_ACEOF
31347
31348 fi
31349else
31350 if test "$wxUSE_FS_INET" = "yes"; then
31351 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31352echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31353 wxUSE_FS_INET="no"
31354 fi
31355fi
31356
31357if test "$wxUSE_URL" = "yes"; then
31358 if test "$wxUSE_PROTOCOL" != "yes"; then
31359 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31360echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31361 wxUSE_URL=no
31362 fi
31363 if test "$wxUSE_URL" = "yes"; then
31364 cat >>confdefs.h <<\_ACEOF
31365#define wxUSE_URL 1
31366_ACEOF
31367
31368 fi
31369fi
31370
31371if test "$wxUSE_FS_INET" = "yes"; then
31372 cat >>confdefs.h <<\_ACEOF
31373#define wxUSE_FS_INET 1
31374_ACEOF
31375
31376fi
31377
31378
31379if test "$wxUSE_GUI" = "yes"; then
31380
31381 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31382 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31383echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31384 wxUSE_JOYSTICK=no
31385 fi
31386
31387 if test "$TOOLKIT" != "MSW"; then
31388 if test "$wxUSE_JOYSTICK" = "yes"; then
31389
31390for ac_header in linux/joystick.h
31391do
31392as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31393if eval "test \"\${$as_ac_Header+set}\" = set"; then
31394 echo "$as_me:$LINENO: checking for $ac_header" >&5
31395echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31396if eval "test \"\${$as_ac_Header+set}\" = set"; then
31397 echo $ECHO_N "(cached) $ECHO_C" >&6
31398fi
31399echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31400echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31401else
31402 # Is the header compilable?
31403echo "$as_me:$LINENO: checking $ac_header usability" >&5
31404echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31405cat >conftest.$ac_ext <<_ACEOF
31406#line $LINENO "configure"
31407/* confdefs.h. */
31408_ACEOF
31409cat confdefs.h >>conftest.$ac_ext
31410cat >>conftest.$ac_ext <<_ACEOF
31411/* end confdefs.h. */
31412$ac_includes_default
31413#include <$ac_header>
31414_ACEOF
31415rm -f conftest.$ac_objext
31416if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31417 (eval $ac_compile) 2>&5
31418 ac_status=$?
31419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31420 (exit $ac_status); } &&
31421 { ac_try='test -s conftest.$ac_objext'
31422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31423 (eval $ac_try) 2>&5
31424 ac_status=$?
31425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31426 (exit $ac_status); }; }; then
31427 ac_header_compiler=yes
31428else
31429 echo "$as_me: failed program was:" >&5
31430sed 's/^/| /' conftest.$ac_ext >&5
31431
31432ac_header_compiler=no
31433fi
31434rm -f conftest.$ac_objext conftest.$ac_ext
31435echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31436echo "${ECHO_T}$ac_header_compiler" >&6
31437
31438# Is the header present?
31439echo "$as_me:$LINENO: checking $ac_header presence" >&5
31440echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31441cat >conftest.$ac_ext <<_ACEOF
31442#line $LINENO "configure"
31443/* confdefs.h. */
31444_ACEOF
31445cat confdefs.h >>conftest.$ac_ext
31446cat >>conftest.$ac_ext <<_ACEOF
31447/* end confdefs.h. */
31448#include <$ac_header>
31449_ACEOF
31450if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31451 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31452 ac_status=$?
31453 grep -v '^ *+' conftest.er1 >conftest.err
31454 rm -f conftest.er1
31455 cat conftest.err >&5
31456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31457 (exit $ac_status); } >/dev/null; then
31458 if test -s conftest.err; then
31459 ac_cpp_err=$ac_c_preproc_warn_flag
31460 else
31461 ac_cpp_err=
31462 fi
31463else
31464 ac_cpp_err=yes
31465fi
31466if test -z "$ac_cpp_err"; then
31467 ac_header_preproc=yes
31468else
31469 echo "$as_me: failed program was:" >&5
31470sed 's/^/| /' conftest.$ac_ext >&5
31471
31472 ac_header_preproc=no
31473fi
31474rm -f conftest.err conftest.$ac_ext
31475echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31476echo "${ECHO_T}$ac_header_preproc" >&6
31477
31478# So? What about this header?
31479case $ac_header_compiler:$ac_header_preproc in
31480 yes:no )
31481 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31482echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31484echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31485 (
31486 cat <<\_ASBOX
31487## ------------------------------------ ##
31488## Report this to bug-autoconf@gnu.org. ##
31489## ------------------------------------ ##
31490_ASBOX
31491 ) |
31492 sed "s/^/$as_me: WARNING: /" >&2
31493 ;;
31494 no:yes )
31495 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31496echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31497 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31498echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31500echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31501 (
31502 cat <<\_ASBOX
31503## ------------------------------------ ##
31504## Report this to bug-autoconf@gnu.org. ##
31505## ------------------------------------ ##
31506_ASBOX
31507 ) |
31508 sed "s/^/$as_me: WARNING: /" >&2
31509 ;;
31510esac
31511echo "$as_me:$LINENO: checking for $ac_header" >&5
31512echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31513if eval "test \"\${$as_ac_Header+set}\" = set"; then
31514 echo $ECHO_N "(cached) $ECHO_C" >&6
31515else
31516 eval "$as_ac_Header=$ac_header_preproc"
31517fi
31518echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31519echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31520
31521fi
31522if test `eval echo '${'$as_ac_Header'}'` = yes; then
31523 cat >>confdefs.h <<_ACEOF
31524#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31525_ACEOF
31526
31527fi
31528
31529done
31530
31531 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31532 wxUSE_JOYSTICK=no
31533 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31534echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31535 fi
31536 fi
31537 fi
31538
31539 if test "$wxUSE_JOYSTICK" = "yes"; then
31540 cat >>confdefs.h <<\_ACEOF
31541#define wxUSE_JOYSTICK 1
31542_ACEOF
31543
31544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31545 fi
31546fi
31547
31548
31549if test "$TOOLKIT" != "MSW"; then
31550
31551 HAVE_DL_FUNCS=0
31552 HAVE_SHL_FUNCS=0
31553 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31554 if test "$USE_DARWIN" = 1; then
31555 HAVE_DL_FUNCS=1
31556 else
31557
31558for ac_func in dlopen
31559do
31560as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31561echo "$as_me:$LINENO: checking for $ac_func" >&5
31562echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31563if eval "test \"\${$as_ac_var+set}\" = set"; then
31564 echo $ECHO_N "(cached) $ECHO_C" >&6
31565else
31566 cat >conftest.$ac_ext <<_ACEOF
31567#line $LINENO "configure"
31568/* confdefs.h. */
31569_ACEOF
31570cat confdefs.h >>conftest.$ac_ext
31571cat >>conftest.$ac_ext <<_ACEOF
31572/* end confdefs.h. */
31573/* System header to define __stub macros and hopefully few prototypes,
31574 which can conflict with char $ac_func (); below.
31575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31576 <limits.h> exists even on freestanding compilers. */
31577#ifdef __STDC__
31578# include <limits.h>
31579#else
31580# include <assert.h>
31581#endif
31582/* Override any gcc2 internal prototype to avoid an error. */
31583#ifdef __cplusplus
31584extern "C"
31585{
31586#endif
31587/* We use char because int might match the return type of a gcc2
31588 builtin and then its argument prototype would still apply. */
31589char $ac_func ();
31590/* The GNU C library defines this for functions which it implements
31591 to always fail with ENOSYS. Some functions are actually named
31592 something starting with __ and the normal name is an alias. */
31593#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31594choke me
31595#else
31596char (*f) () = $ac_func;
31597#endif
31598#ifdef __cplusplus
31599}
31600#endif
31601
31602int
31603main ()
31604{
31605return f != $ac_func;
31606 ;
31607 return 0;
31608}
31609_ACEOF
31610rm -f conftest.$ac_objext conftest$ac_exeext
31611if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31612 (eval $ac_link) 2>&5
31613 ac_status=$?
31614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31615 (exit $ac_status); } &&
31616 { ac_try='test -s conftest$ac_exeext'
31617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31618 (eval $ac_try) 2>&5
31619 ac_status=$?
31620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31621 (exit $ac_status); }; }; then
31622 eval "$as_ac_var=yes"
31623else
31624 echo "$as_me: failed program was:" >&5
31625sed 's/^/| /' conftest.$ac_ext >&5
31626
31627eval "$as_ac_var=no"
31628fi
31629rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31630fi
31631echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31632echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31633if test `eval echo '${'$as_ac_var'}'` = yes; then
31634 cat >>confdefs.h <<_ACEOF
31635#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31636_ACEOF
31637
31638 cat >>confdefs.h <<\_ACEOF
31639#define HAVE_DLOPEN 1
31640_ACEOF
31641
31642 HAVE_DL_FUNCS=1
31643
31644else
31645
31646 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31647echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31648if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31649 echo $ECHO_N "(cached) $ECHO_C" >&6
31650else
31651 ac_check_lib_save_LIBS=$LIBS
31652LIBS="-ldl $LIBS"
31653cat >conftest.$ac_ext <<_ACEOF
31654#line $LINENO "configure"
31655/* confdefs.h. */
31656_ACEOF
31657cat confdefs.h >>conftest.$ac_ext
31658cat >>conftest.$ac_ext <<_ACEOF
31659/* end confdefs.h. */
31660
31661/* Override any gcc2 internal prototype to avoid an error. */
31662#ifdef __cplusplus
31663extern "C"
31664#endif
31665/* We use char because int might match the return type of a gcc2
31666 builtin and then its argument prototype would still apply. */
31667char dlopen ();
31668int
31669main ()
31670{
31671dlopen ();
31672 ;
31673 return 0;
31674}
31675_ACEOF
31676rm -f conftest.$ac_objext conftest$ac_exeext
31677if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31678 (eval $ac_link) 2>&5
31679 ac_status=$?
31680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31681 (exit $ac_status); } &&
31682 { ac_try='test -s conftest$ac_exeext'
31683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31684 (eval $ac_try) 2>&5
31685 ac_status=$?
31686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31687 (exit $ac_status); }; }; then
31688 ac_cv_lib_dl_dlopen=yes
31689else
31690 echo "$as_me: failed program was:" >&5
31691sed 's/^/| /' conftest.$ac_ext >&5
31692
31693ac_cv_lib_dl_dlopen=no
31694fi
31695rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31696LIBS=$ac_check_lib_save_LIBS
31697fi
31698echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31699echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31700if test $ac_cv_lib_dl_dlopen = yes; then
31701
31702 cat >>confdefs.h <<\_ACEOF
31703#define HAVE_DLOPEN 1
31704_ACEOF
31705
31706 HAVE_DL_FUNCS=1
31707 DL_LINK=" -ldl$DL_LINK"
31708
31709else
31710
31711
31712for ac_func in shl_load
31713do
31714as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31715echo "$as_me:$LINENO: checking for $ac_func" >&5
31716echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31717if eval "test \"\${$as_ac_var+set}\" = set"; then
31718 echo $ECHO_N "(cached) $ECHO_C" >&6
31719else
31720 cat >conftest.$ac_ext <<_ACEOF
31721#line $LINENO "configure"
31722/* confdefs.h. */
31723_ACEOF
31724cat confdefs.h >>conftest.$ac_ext
31725cat >>conftest.$ac_ext <<_ACEOF
31726/* end confdefs.h. */
31727/* System header to define __stub macros and hopefully few prototypes,
31728 which can conflict with char $ac_func (); below.
31729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31730 <limits.h> exists even on freestanding compilers. */
31731#ifdef __STDC__
31732# include <limits.h>
31733#else
31734# include <assert.h>
31735#endif
31736/* Override any gcc2 internal prototype to avoid an error. */
31737#ifdef __cplusplus
31738extern "C"
31739{
31740#endif
31741/* We use char because int might match the return type of a gcc2
31742 builtin and then its argument prototype would still apply. */
31743char $ac_func ();
31744/* The GNU C library defines this for functions which it implements
31745 to always fail with ENOSYS. Some functions are actually named
31746 something starting with __ and the normal name is an alias. */
31747#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31748choke me
31749#else
31750char (*f) () = $ac_func;
31751#endif
31752#ifdef __cplusplus
31753}
31754#endif
31755
31756int
31757main ()
31758{
31759return f != $ac_func;
31760 ;
31761 return 0;
31762}
31763_ACEOF
31764rm -f conftest.$ac_objext conftest$ac_exeext
31765if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31766 (eval $ac_link) 2>&5
31767 ac_status=$?
31768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31769 (exit $ac_status); } &&
31770 { ac_try='test -s conftest$ac_exeext'
31771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31772 (eval $ac_try) 2>&5
31773 ac_status=$?
31774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31775 (exit $ac_status); }; }; then
31776 eval "$as_ac_var=yes"
31777else
31778 echo "$as_me: failed program was:" >&5
31779sed 's/^/| /' conftest.$ac_ext >&5
31780
31781eval "$as_ac_var=no"
31782fi
31783rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31784fi
31785echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31786echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31787if test `eval echo '${'$as_ac_var'}'` = yes; then
31788 cat >>confdefs.h <<_ACEOF
31789#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31790_ACEOF
31791
31792 cat >>confdefs.h <<\_ACEOF
31793#define HAVE_SHL_LOAD 1
31794_ACEOF
31795
31796 HAVE_SHL_FUNCS=1
31797
31798else
31799
31800 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31801echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31802if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31803 echo $ECHO_N "(cached) $ECHO_C" >&6
31804else
31805 ac_check_lib_save_LIBS=$LIBS
31806LIBS="-lshl_load $LIBS"
31807cat >conftest.$ac_ext <<_ACEOF
31808#line $LINENO "configure"
31809/* confdefs.h. */
31810_ACEOF
31811cat confdefs.h >>conftest.$ac_ext
31812cat >>conftest.$ac_ext <<_ACEOF
31813/* end confdefs.h. */
31814
31815/* Override any gcc2 internal prototype to avoid an error. */
31816#ifdef __cplusplus
31817extern "C"
31818#endif
31819/* We use char because int might match the return type of a gcc2
31820 builtin and then its argument prototype would still apply. */
31821char dld ();
31822int
31823main ()
31824{
31825dld ();
31826 ;
31827 return 0;
31828}
31829_ACEOF
31830rm -f conftest.$ac_objext conftest$ac_exeext
31831if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31832 (eval $ac_link) 2>&5
31833 ac_status=$?
31834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31835 (exit $ac_status); } &&
31836 { ac_try='test -s conftest$ac_exeext'
31837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31838 (eval $ac_try) 2>&5
31839 ac_status=$?
31840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31841 (exit $ac_status); }; }; then
31842 ac_cv_lib_shl_load_dld=yes
31843else
31844 echo "$as_me: failed program was:" >&5
31845sed 's/^/| /' conftest.$ac_ext >&5
31846
31847ac_cv_lib_shl_load_dld=no
31848fi
31849rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31850LIBS=$ac_check_lib_save_LIBS
31851fi
31852echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31853echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31854if test $ac_cv_lib_shl_load_dld = yes; then
31855
31856 HAVE_SHL_FUNCS=1
31857 DL_LINK=" -ldld$DL_LINK"
31858
31859fi
31860
31861
31862fi
31863done
31864
31865
31866fi
31867
31868
31869fi
31870done
31871
31872
31873 if test "$HAVE_DL_FUNCS" = 1; then
31874
31875for ac_func in dlerror
31876do
31877as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31878echo "$as_me:$LINENO: checking for $ac_func" >&5
31879echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31880if eval "test \"\${$as_ac_var+set}\" = set"; then
31881 echo $ECHO_N "(cached) $ECHO_C" >&6
31882else
31883 cat >conftest.$ac_ext <<_ACEOF
31884#line $LINENO "configure"
31885/* confdefs.h. */
31886_ACEOF
31887cat confdefs.h >>conftest.$ac_ext
31888cat >>conftest.$ac_ext <<_ACEOF
31889/* end confdefs.h. */
31890/* System header to define __stub macros and hopefully few prototypes,
31891 which can conflict with char $ac_func (); below.
31892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31893 <limits.h> exists even on freestanding compilers. */
31894#ifdef __STDC__
31895# include <limits.h>
31896#else
31897# include <assert.h>
31898#endif
31899/* Override any gcc2 internal prototype to avoid an error. */
31900#ifdef __cplusplus
31901extern "C"
31902{
31903#endif
31904/* We use char because int might match the return type of a gcc2
31905 builtin and then its argument prototype would still apply. */
31906char $ac_func ();
31907/* The GNU C library defines this for functions which it implements
31908 to always fail with ENOSYS. Some functions are actually named
31909 something starting with __ and the normal name is an alias. */
31910#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31911choke me
31912#else
31913char (*f) () = $ac_func;
31914#endif
31915#ifdef __cplusplus
31916}
31917#endif
31918
31919int
31920main ()
31921{
31922return f != $ac_func;
31923 ;
31924 return 0;
31925}
31926_ACEOF
31927rm -f conftest.$ac_objext conftest$ac_exeext
31928if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31929 (eval $ac_link) 2>&5
31930 ac_status=$?
31931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31932 (exit $ac_status); } &&
31933 { ac_try='test -s conftest$ac_exeext'
31934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31935 (eval $ac_try) 2>&5
31936 ac_status=$?
31937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31938 (exit $ac_status); }; }; then
31939 eval "$as_ac_var=yes"
31940else
31941 echo "$as_me: failed program was:" >&5
31942sed 's/^/| /' conftest.$ac_ext >&5
31943
31944eval "$as_ac_var=no"
31945fi
31946rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31947fi
31948echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31949echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31950if test `eval echo '${'$as_ac_var'}'` = yes; then
31951 cat >>confdefs.h <<_ACEOF
31952#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31953_ACEOF
31954 cat >>confdefs.h <<\_ACEOF
31955#define HAVE_DLERROR 1
31956_ACEOF
31957
31958else
31959
31960 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31961echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31962if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31963 echo $ECHO_N "(cached) $ECHO_C" >&6
31964else
31965 ac_check_lib_save_LIBS=$LIBS
31966LIBS="-ldl $LIBS"
31967cat >conftest.$ac_ext <<_ACEOF
31968#line $LINENO "configure"
31969/* confdefs.h. */
31970_ACEOF
31971cat confdefs.h >>conftest.$ac_ext
31972cat >>conftest.$ac_ext <<_ACEOF
31973/* end confdefs.h. */
31974
31975/* Override any gcc2 internal prototype to avoid an error. */
31976#ifdef __cplusplus
31977extern "C"
31978#endif
31979/* We use char because int might match the return type of a gcc2
31980 builtin and then its argument prototype would still apply. */
31981char dlerror ();
31982int
31983main ()
31984{
31985dlerror ();
31986 ;
31987 return 0;
31988}
31989_ACEOF
31990rm -f conftest.$ac_objext conftest$ac_exeext
31991if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31992 (eval $ac_link) 2>&5
31993 ac_status=$?
31994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31995 (exit $ac_status); } &&
31996 { ac_try='test -s conftest$ac_exeext'
31997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31998 (eval $ac_try) 2>&5
31999 ac_status=$?
32000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32001 (exit $ac_status); }; }; then
32002 ac_cv_lib_dl_dlerror=yes
32003else
32004 echo "$as_me: failed program was:" >&5
32005sed 's/^/| /' conftest.$ac_ext >&5
32006
32007ac_cv_lib_dl_dlerror=no
32008fi
32009rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32010LIBS=$ac_check_lib_save_LIBS
32011fi
32012echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32013echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32014if test $ac_cv_lib_dl_dlerror = yes; then
32015 cat >>confdefs.h <<\_ACEOF
32016#define HAVE_DLERROR 1
32017_ACEOF
32018
32019fi
32020
32021
32022
32023fi
32024done
32025
32026 fi
32027 fi
32028
32029 if test "$HAVE_DL_FUNCS" = 0; then
32030 if test "$HAVE_SHL_FUNCS" = 0; then
32031 if test "$USE_UNIX" = 1; then
32032 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32033echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32034 wxUSE_DYNAMIC_LOADER=no
32035 wxUSE_DYNLIB_CLASS=no
32036 else
32037 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32038echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32039 fi
32040 fi
32041 fi
32042 fi
32043fi
32044
32045if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32046 cat >>confdefs.h <<\_ACEOF
32047#define wxUSE_DYNAMIC_LOADER 1
32048_ACEOF
32049
32050fi
32051if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32052 cat >>confdefs.h <<\_ACEOF
32053#define wxUSE_DYNLIB_CLASS 1
32054_ACEOF
32055
32056fi
32057
32058
32059if test "$wxUSE_FONTMAP" = "yes" ; then
32060 cat >>confdefs.h <<\_ACEOF
32061#define wxUSE_FONTMAP 1
32062_ACEOF
32063
32064fi
32065
32066if test "$wxUSE_UNICODE" = "yes" ; then
32067 cat >>confdefs.h <<\_ACEOF
32068#define wxUSE_UNICODE 1
32069_ACEOF
32070
32071
32072 if test "$USE_WIN32" != 1; then
32073 wxUSE_UNICODE_MSLU=no
32074 fi
32075
32076 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32077 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32078echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32079if test "${ac_cv_lib_unicows_main+set}" = set; then
32080 echo $ECHO_N "(cached) $ECHO_C" >&6
32081else
32082 ac_check_lib_save_LIBS=$LIBS
32083LIBS="-lunicows $LIBS"
32084cat >conftest.$ac_ext <<_ACEOF
32085#line $LINENO "configure"
32086/* confdefs.h. */
32087_ACEOF
32088cat confdefs.h >>conftest.$ac_ext
32089cat >>conftest.$ac_ext <<_ACEOF
32090/* end confdefs.h. */
32091
32092
32093int
32094main ()
32095{
32096main ();
32097 ;
32098 return 0;
32099}
32100_ACEOF
32101rm -f conftest.$ac_objext conftest$ac_exeext
32102if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32103 (eval $ac_link) 2>&5
32104 ac_status=$?
32105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32106 (exit $ac_status); } &&
32107 { ac_try='test -s conftest$ac_exeext'
32108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32109 (eval $ac_try) 2>&5
32110 ac_status=$?
32111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32112 (exit $ac_status); }; }; then
32113 ac_cv_lib_unicows_main=yes
32114else
32115 echo "$as_me: failed program was:" >&5
32116sed 's/^/| /' conftest.$ac_ext >&5
32117
32118ac_cv_lib_unicows_main=no
32119fi
32120rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32121LIBS=$ac_check_lib_save_LIBS
32122fi
32123echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32124echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32125if test $ac_cv_lib_unicows_main = yes; then
32126
32127 cat >>confdefs.h <<\_ACEOF
32128#define wxUSE_UNICODE_MSLU 1
32129_ACEOF
32130
32131
32132else
32133
32134 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32135 Applications will only run on Windows NT/2000/XP!" >&5
32136echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32137 Applications will only run on Windows NT/2000/XP!" >&2;}
32138 wxUSE_UNICODE_MSLU=no
32139
32140fi
32141
32142 fi
32143fi
32144
32145if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32146 cat >>confdefs.h <<\_ACEOF
32147#define wxUSE_EXPERIMENTAL_PRINTF 1
32148_ACEOF
32149
32150fi
32151
32152
32153if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32154 cat >>confdefs.h <<\_ACEOF
32155#define wxUSE_POSTSCRIPT 1
32156_ACEOF
32157
32158fi
32159
32160cat >>confdefs.h <<\_ACEOF
32161#define wxUSE_AFM_FOR_POSTSCRIPT 1
32162_ACEOF
32163
32164
32165cat >>confdefs.h <<\_ACEOF
32166#define wxUSE_NORMALIZED_PS_FONTS 1
32167_ACEOF
32168
32169
32170
32171if test "$wxUSE_CONSTRAINTS" = "yes"; then
32172 cat >>confdefs.h <<\_ACEOF
32173#define wxUSE_CONSTRAINTS 1
32174_ACEOF
32175
32176 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
32177fi
32178
32179if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32180 cat >>confdefs.h <<\_ACEOF
32181#define wxUSE_MDI_ARCHITECTURE 1
32182_ACEOF
32183
32184 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
32185fi
32186
32187if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32188 cat >>confdefs.h <<\_ACEOF
32189#define wxUSE_DOC_VIEW_ARCHITECTURE 1
32190_ACEOF
32191
32192 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
32193 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32194 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
32195 fi
32196fi
32197
32198if test "$wxUSE_HELP" = "yes"; then
32199 cat >>confdefs.h <<\_ACEOF
32200#define wxUSE_HELP 1
32201_ACEOF
32202
32203 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
32204
32205 if test "$wxUSE_MSW" = 1; then
32206 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32207 cat >>confdefs.h <<\_ACEOF
32208#define wxUSE_MS_HTML_HELP 1
32209_ACEOF
32210
32211 fi
32212 fi
32213
32214 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32215 if test "$wxUSE_HTML" = "yes"; then
32216 cat >>confdefs.h <<\_ACEOF
32217#define wxUSE_WXHTML_HELP 1
32218_ACEOF
32219
32220 else
32221 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32222echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32223 wxUSE_WXHTML_HELP=no
32224 fi
32225 fi
32226fi
32227
32228if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32229 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32230 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32231echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32232 else
32233 cat >>confdefs.h <<\_ACEOF
32234#define wxUSE_PRINTING_ARCHITECTURE 1
32235_ACEOF
32236
32237 fi
32238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
32239fi
32240
32241if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32242 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32243echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32244 { (exit 1); exit 1; }; }
32245fi
32246
32247
32248if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
32249 -o "$wxUSE_CLIPBOARD" = "yes" \
32250 -o "$wxUSE_OLE" = "yes" \
32251 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
32252
32253for ac_header in ole2.h
32254do
32255as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32256if eval "test \"\${$as_ac_Header+set}\" = set"; then
32257 echo "$as_me:$LINENO: checking for $ac_header" >&5
32258echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32259if eval "test \"\${$as_ac_Header+set}\" = set"; then
32260 echo $ECHO_N "(cached) $ECHO_C" >&6
32261fi
32262echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32263echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32264else
32265 # Is the header compilable?
32266echo "$as_me:$LINENO: checking $ac_header usability" >&5
32267echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32268cat >conftest.$ac_ext <<_ACEOF
32269#line $LINENO "configure"
32270/* confdefs.h. */
32271_ACEOF
32272cat confdefs.h >>conftest.$ac_ext
32273cat >>conftest.$ac_ext <<_ACEOF
32274/* end confdefs.h. */
32275$ac_includes_default
32276#include <$ac_header>
32277_ACEOF
32278rm -f conftest.$ac_objext
32279if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32280 (eval $ac_compile) 2>&5
32281 ac_status=$?
32282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32283 (exit $ac_status); } &&
32284 { ac_try='test -s conftest.$ac_objext'
32285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32286 (eval $ac_try) 2>&5
32287 ac_status=$?
32288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32289 (exit $ac_status); }; }; then
32290 ac_header_compiler=yes
32291else
32292 echo "$as_me: failed program was:" >&5
32293sed 's/^/| /' conftest.$ac_ext >&5
32294
32295ac_header_compiler=no
32296fi
32297rm -f conftest.$ac_objext conftest.$ac_ext
32298echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32299echo "${ECHO_T}$ac_header_compiler" >&6
32300
32301# Is the header present?
32302echo "$as_me:$LINENO: checking $ac_header presence" >&5
32303echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32304cat >conftest.$ac_ext <<_ACEOF
32305#line $LINENO "configure"
32306/* confdefs.h. */
32307_ACEOF
32308cat confdefs.h >>conftest.$ac_ext
32309cat >>conftest.$ac_ext <<_ACEOF
32310/* end confdefs.h. */
32311#include <$ac_header>
32312_ACEOF
32313if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32314 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32315 ac_status=$?
32316 grep -v '^ *+' conftest.er1 >conftest.err
32317 rm -f conftest.er1
32318 cat conftest.err >&5
32319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32320 (exit $ac_status); } >/dev/null; then
32321 if test -s conftest.err; then
32322 ac_cpp_err=$ac_c_preproc_warn_flag
32323 else
32324 ac_cpp_err=
32325 fi
32326else
32327 ac_cpp_err=yes
32328fi
32329if test -z "$ac_cpp_err"; then
32330 ac_header_preproc=yes
32331else
32332 echo "$as_me: failed program was:" >&5
32333sed 's/^/| /' conftest.$ac_ext >&5
32334
32335 ac_header_preproc=no
32336fi
32337rm -f conftest.err conftest.$ac_ext
32338echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32339echo "${ECHO_T}$ac_header_preproc" >&6
32340
32341# So? What about this header?
32342case $ac_header_compiler:$ac_header_preproc in
32343 yes:no )
32344 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32345echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32347echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32348 (
32349 cat <<\_ASBOX
32350## ------------------------------------ ##
32351## Report this to bug-autoconf@gnu.org. ##
32352## ------------------------------------ ##
32353_ASBOX
32354 ) |
32355 sed "s/^/$as_me: WARNING: /" >&2
32356 ;;
32357 no:yes )
32358 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32359echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32360 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32361echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32362 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32363echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32364 (
32365 cat <<\_ASBOX
32366## ------------------------------------ ##
32367## Report this to bug-autoconf@gnu.org. ##
32368## ------------------------------------ ##
32369_ASBOX
32370 ) |
32371 sed "s/^/$as_me: WARNING: /" >&2
32372 ;;
32373esac
32374echo "$as_me:$LINENO: checking for $ac_header" >&5
32375echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32376if eval "test \"\${$as_ac_Header+set}\" = set"; then
32377 echo $ECHO_N "(cached) $ECHO_C" >&6
32378else
32379 eval "$as_ac_Header=$ac_header_preproc"
32380fi
32381echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32382echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32383
32384fi
32385if test `eval echo '${'$as_ac_Header'}'` = yes; then
32386 cat >>confdefs.h <<_ACEOF
32387#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32388_ACEOF
32389
32390fi
32391
32392done
32393
32394
32395 if test "$ac_cv_header_ole2_h" = "yes" ; then
32396 if test "$GCC" = yes ; then
32397
32398
32399 ac_ext=cc
32400ac_cpp='$CXXCPP $CPPFLAGS'
32401ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32402ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32403ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32404
32405
32406 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32407echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32408 cat >conftest.$ac_ext <<_ACEOF
32409#line $LINENO "configure"
32410/* confdefs.h. */
32411_ACEOF
32412cat confdefs.h >>conftest.$ac_ext
32413cat >>conftest.$ac_ext <<_ACEOF
32414/* end confdefs.h. */
32415#include <windows.h>
32416 #include <ole2.h>
32417int
32418main ()
32419{
32420
32421 ;
32422 return 0;
32423}
32424_ACEOF
32425rm -f conftest.$ac_objext
32426if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32427 (eval $ac_compile) 2>&5
32428 ac_status=$?
32429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32430 (exit $ac_status); } &&
32431 { ac_try='test -s conftest.$ac_objext'
32432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32433 (eval $ac_try) 2>&5
32434 ac_status=$?
32435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32436 (exit $ac_status); }; }; then
32437 echo "$as_me:$LINENO: result: no" >&5
32438echo "${ECHO_T}no" >&6
32439else
32440 echo "$as_me: failed program was:" >&5
32441sed 's/^/| /' conftest.$ac_ext >&5
32442
32443echo "$as_me:$LINENO: result: yes" >&5
32444echo "${ECHO_T}yes" >&6
32445 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32446fi
32447rm -f conftest.$ac_objext conftest.$ac_ext
32448 ac_ext=c
32449ac_cpp='$CPP $CPPFLAGS'
32450ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32451ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32452ac_compiler_gnu=$ac_cv_c_compiler_gnu
32453
32454 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32455 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32456 cat >>confdefs.h <<\_ACEOF
32457#define wxUSE_OLE 1
32458_ACEOF
32459
32460
32461 fi
32462
32463 cat >>confdefs.h <<\_ACEOF
32464#define wxUSE_DATAOBJ 1
32465_ACEOF
32466
32467 else
32468 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32469echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32470
32471 wxUSE_CLIPBOARD=no
32472 wxUSE_DRAG_AND_DROP=no
32473 wxUSE_DATAOBJ=no
32474 wxUSE_OLE=no
32475 fi
32476
32477 if test "$wxUSE_METAFILE" = "yes"; then
32478 cat >>confdefs.h <<\_ACEOF
32479#define wxUSE_METAFILE 1
32480_ACEOF
32481
32482
32483 cat >>confdefs.h <<\_ACEOF
32484#define wxUSE_ENH_METAFILE 1
32485_ACEOF
32486
32487 fi
32488fi
32489
32490if test "$wxUSE_IPC" = "yes"; then
32491 if test "$wxUSE_SOCKETS" != "yes"; then
32492 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32493echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32494 fi
32495
32496 cat >>confdefs.h <<\_ACEOF
32497#define wxUSE_IPC 1
32498_ACEOF
32499
32500fi
32501
32502if test "$wxUSE_CLIPBOARD" = "yes"; then
32503 if test "$wxUSE_MGL" = 1; then
32504 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32505echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32506 wxUSE_CLIPBOARD=no
32507 fi
32508
32509 if test "$wxUSE_CLIPBOARD" = "yes"; then
32510 cat >>confdefs.h <<\_ACEOF
32511#define wxUSE_CLIPBOARD 1
32512_ACEOF
32513
32514
32515 cat >>confdefs.h <<\_ACEOF
32516#define wxUSE_DATAOBJ 1
32517_ACEOF
32518
32519 fi
32520fi
32521
32522if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32523 if test "$wxUSE_GTK" = 1; then
32524 if test "$WXGTK12" != 1; then
32525 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32526echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32527 wxUSE_DRAG_AND_DROP=no
32528 fi
32529 fi
32530
32531 if test "$wxUSE_MOTIF" = 1; then
32532 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32533echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32534 wxUSE_DRAG_AND_DROP=no
32535 fi
32536
32537 if test "$wxUSE_X11" = 1; then
32538 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32539echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32540 wxUSE_DRAG_AND_DROP=no
32541 fi
32542
32543 if test "$wxUSE_MGL" = 1; then
32544 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32545echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32546 wxUSE_DRAG_AND_DROP=no
32547 fi
32548
32549 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32550 cat >>confdefs.h <<\_ACEOF
32551#define wxUSE_DRAG_AND_DROP 1
32552_ACEOF
32553
32554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32555 fi
32556
32557fi
32558
32559if test "$wxUSE_SPLINES" = "yes" ; then
32560 cat >>confdefs.h <<\_ACEOF
32561#define wxUSE_SPLINES 1
32562_ACEOF
32563
32564fi
32565
32566
32567USES_CONTROLS=0
32568if test "$wxUSE_CONTROLS" = "yes"; then
32569 USES_CONTROLS=1
32570fi
32571
32572if test "$wxUSE_ACCEL" = "yes"; then
32573 cat >>confdefs.h <<\_ACEOF
32574#define wxUSE_ACCEL 1
32575_ACEOF
32576
32577 USES_CONTROLS=1
32578fi
32579
32580if test "$wxUSE_BUTTON" = "yes"; then
32581 cat >>confdefs.h <<\_ACEOF
32582#define wxUSE_BUTTON 1
32583_ACEOF
32584
32585 USES_CONTROLS=1
32586fi
32587
32588if test "$wxUSE_BMPBUTTON" = "yes"; then
32589 cat >>confdefs.h <<\_ACEOF
32590#define wxUSE_BMPBUTTON 1
32591_ACEOF
32592
32593 USES_CONTROLS=1
32594fi
32595
32596if test "$wxUSE_CALCTRL" = "yes"; then
32597 cat >>confdefs.h <<\_ACEOF
32598#define wxUSE_CALENDARCTRL 1
32599_ACEOF
32600
32601 USES_CONTROLS=1
32602 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32603fi
32604
32605if test "$wxUSE_CARET" = "yes"; then
32606 cat >>confdefs.h <<\_ACEOF
32607#define wxUSE_CARET 1
32608_ACEOF
32609
32610 USES_CONTROLS=1
32611 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32612fi
32613
32614if test "$wxUSE_COMBOBOX" = "yes"; then
32615 cat >>confdefs.h <<\_ACEOF
32616#define wxUSE_COMBOBOX 1
32617_ACEOF
32618
32619 USES_CONTROLS=1
32620fi
32621
32622if test "$wxUSE_CHOICE" = "yes"; then
32623 cat >>confdefs.h <<\_ACEOF
32624#define wxUSE_CHOICE 1
32625_ACEOF
32626
32627 USES_CONTROLS=1
32628fi
32629
32630if test "$wxUSE_CHECKBOX" = "yes"; then
32631 cat >>confdefs.h <<\_ACEOF
32632#define wxUSE_CHECKBOX 1
32633_ACEOF
32634
32635 USES_CONTROLS=1
32636fi
32637
32638if test "$wxUSE_CHECKLST" = "yes"; then
32639 cat >>confdefs.h <<\_ACEOF
32640#define wxUSE_CHECKLISTBOX 1
32641_ACEOF
32642
32643 USES_CONTROLS=1
32644 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
32645fi
32646
32647if test "$wxUSE_DISPLAY" = "yes"; then
32648 cat >>confdefs.h <<\_ACEOF
32649#define wxUSE_DISPLAY 1
32650_ACEOF
32651
32652 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
32653fi
32654
32655if test "$wxUSE_GAUGE" = "yes"; then
32656 cat >>confdefs.h <<\_ACEOF
32657#define wxUSE_GAUGE 1
32658_ACEOF
32659
32660 USES_CONTROLS=1
32661fi
32662
32663if test "$wxUSE_GRID" = "yes"; then
32664 cat >>confdefs.h <<\_ACEOF
32665#define wxUSE_GRID 1
32666_ACEOF
32667
32668 USES_CONTROLS=1
32669 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
32670fi
32671
32672if test "$wxUSE_IMAGLIST" = "yes"; then
32673 cat >>confdefs.h <<\_ACEOF
32674#define wxUSE_IMAGLIST 1
32675_ACEOF
32676
32677fi
32678
32679if test "$wxUSE_LISTBOOK" = "yes"; then
32680 cat >>confdefs.h <<\_ACEOF
32681#define wxUSE_LISTBOOK 1
32682_ACEOF
32683
32684 USES_CONTROLS=1
32685fi
32686
32687if test "$wxUSE_LISTBOX" = "yes"; then
32688 cat >>confdefs.h <<\_ACEOF
32689#define wxUSE_LISTBOX 1
32690_ACEOF
32691
32692 USES_CONTROLS=1
32693fi
32694
32695if test "$wxUSE_LISTCTRL" = "yes"; then
32696 if test "$wxUSE_IMAGLIST" = "yes"; then
32697 cat >>confdefs.h <<\_ACEOF
32698#define wxUSE_LISTCTRL 1
32699_ACEOF
32700
32701 USES_CONTROLS=1
32702 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
32703 else
32704 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32705echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32706 fi
32707fi
32708
32709if test "$wxUSE_NOTEBOOK" = "yes"; then
32710 cat >>confdefs.h <<\_ACEOF
32711#define wxUSE_NOTEBOOK 1
32712_ACEOF
32713
32714 USES_CONTROLS=1
32715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
32716fi
32717
32718
32719if test "$wxUSE_RADIOBOX" = "yes"; then
32720 cat >>confdefs.h <<\_ACEOF
32721#define wxUSE_RADIOBOX 1
32722_ACEOF
32723
32724 USES_CONTROLS=1
32725fi
32726
32727if test "$wxUSE_RADIOBTN" = "yes"; then
32728 cat >>confdefs.h <<\_ACEOF
32729#define wxUSE_RADIOBTN 1
32730_ACEOF
32731
32732 USES_CONTROLS=1
32733fi
32734
32735if test "$wxUSE_SASH" = "yes"; then
32736 cat >>confdefs.h <<\_ACEOF
32737#define wxUSE_SASH 1
32738_ACEOF
32739
32740 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
32741fi
32742
32743if test "$wxUSE_SCROLLBAR" = "yes"; then
32744 cat >>confdefs.h <<\_ACEOF
32745#define wxUSE_SCROLLBAR 1
32746_ACEOF
32747
32748 USES_CONTROLS=1
32749 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
32750fi
32751
32752if test "$wxUSE_SLIDER" = "yes"; then
32753 cat >>confdefs.h <<\_ACEOF
32754#define wxUSE_SLIDER 1
32755_ACEOF
32756
32757 USES_CONTROLS=1
32758fi
32759
32760if test "$wxUSE_SPINBTN" = "yes"; then
32761 cat >>confdefs.h <<\_ACEOF
32762#define wxUSE_SPINBTN 1
32763_ACEOF
32764
32765 USES_CONTROLS=1
32766fi
32767
32768if test "$wxUSE_SPINCTRL" = "yes"; then
32769 cat >>confdefs.h <<\_ACEOF
32770#define wxUSE_SPINCTRL 1
32771_ACEOF
32772
32773 USES_CONTROLS=1
32774fi
32775
32776if test "$wxUSE_SPLITTER" = "yes"; then
32777 cat >>confdefs.h <<\_ACEOF
32778#define wxUSE_SPLITTER 1
32779_ACEOF
32780
32781 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
32782fi
32783
32784if test "$wxUSE_STATBMP" = "yes"; then
32785 cat >>confdefs.h <<\_ACEOF
32786#define wxUSE_STATBMP 1
32787_ACEOF
32788
32789 USES_CONTROLS=1
32790fi
32791
32792if test "$wxUSE_STATBOX" = "yes"; then
32793 cat >>confdefs.h <<\_ACEOF
32794#define wxUSE_STATBOX 1
32795_ACEOF
32796
32797 USES_CONTROLS=1
32798fi
32799
32800if test "$wxUSE_STATTEXT" = "yes"; then
32801 cat >>confdefs.h <<\_ACEOF
32802#define wxUSE_STATTEXT 1
32803_ACEOF
32804
32805 USES_CONTROLS=1
32806fi
32807
32808if test "$wxUSE_STATLINE" = "yes"; then
32809 cat >>confdefs.h <<\_ACEOF
32810#define wxUSE_STATLINE 1
32811_ACEOF
32812
32813 USES_CONTROLS=1
32814fi
32815
32816if test "$wxUSE_STATUSBAR" = "yes"; then
32817 cat >>confdefs.h <<\_ACEOF
32818#define wxUSE_STATUSBAR 1
32819_ACEOF
32820
32821 USES_CONTROLS=1
32822
32823 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
32824fi
32825
32826if test "$wxUSE_TABDIALOG" = "yes"; then
32827 cat >>confdefs.h <<\_ACEOF
32828#define wxUSE_TAB_DIALOG 1
32829_ACEOF
32830
32831 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
32832fi
32833
32834if test "$wxUSE_TEXTCTRL" = "yes"; then
32835 cat >>confdefs.h <<\_ACEOF
32836#define wxUSE_TEXTCTRL 1
32837_ACEOF
32838
32839 USES_CONTROLS=1
32840 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
32841fi
32842
32843if test "$wxUSE_TOGGLEBTN" = "yes"; then
32844 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32845 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32846echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32847 wxUSE_TOGGLEBTN=no
32848 fi
32849 if test "$wxUSE_UNIVERSAL" = "yes"; then
32850 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32851echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32852 wxUSE_TOGGLEBTN=no
32853 fi
32854
32855 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32856 cat >>confdefs.h <<\_ACEOF
32857#define wxUSE_TOGGLEBTN 1
32858_ACEOF
32859
32860 USES_CONTROLS=1
32861 fi
32862fi
32863
32864if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32865 cat >>confdefs.h <<\_ACEOF
32866#define wxUSE_TOOLBAR_SIMPLE 1
32867_ACEOF
32868
32869 wxUSE_TOOLBAR="yes"
32870 USES_CONTROLS=1
32871fi
32872
32873if test "$wxUSE_TOOLBAR" = "yes"; then
32874 cat >>confdefs.h <<\_ACEOF
32875#define wxUSE_TOOLBAR 1
32876_ACEOF
32877
32878 USES_CONTROLS=1
32879
32880 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32881 wxUSE_TOOLBAR_NATIVE="yes"
32882 fi
32883
32884 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32885 cat >>confdefs.h <<\_ACEOF
32886#define wxUSE_TOOLBAR_NATIVE 1
32887_ACEOF
32888
32889 USES_CONTROLS=1
32890 fi
32891
32892 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
32893fi
32894
32895if test "$wxUSE_TOOLTIPS" = "yes"; then
32896 if test "$wxUSE_MOTIF" = 1; then
32897 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32898echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32899 else
32900 if test "$wxUSE_UNIVERSAL" = "yes"; then
32901 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32902echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32903 else
32904 cat >>confdefs.h <<\_ACEOF
32905#define wxUSE_TOOLTIPS 1
32906_ACEOF
32907
32908 fi
32909 fi
32910fi
32911
32912if test "$wxUSE_TREECTRL" = "yes"; then
32913 if test "$wxUSE_IMAGLIST" = "yes"; then
32914 cat >>confdefs.h <<\_ACEOF
32915#define wxUSE_TREECTRL 1
32916_ACEOF
32917
32918 USES_CONTROLS=1
32919 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
32920 else
32921 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32922echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32923 fi
32924fi
32925
32926if test "$wxUSE_POPUPWIN" = "yes"; then
32927 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32928 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32929echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32930 else
32931 if test "$wxUSE_MOTIF" = 1; then
32932 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32933echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32934 else
32935 if test "$wxUSE_PM" = 1; then
32936 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32937echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32938 else
32939 cat >>confdefs.h <<\_ACEOF
32940#define wxUSE_POPUPWIN 1
32941_ACEOF
32942
32943
32944 USES_CONTROLS=1
32945 fi
32946 fi
32947 fi
32948fi
32949
32950if test "$wxUSE_TIPWINDOW" = "yes"; then
32951 if test "$wxUSE_PM" = 1; then
32952 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32953echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32954 else
32955 cat >>confdefs.h <<\_ACEOF
32956#define wxUSE_TIPWINDOW 1
32957_ACEOF
32958
32959 fi
32960fi
32961
32962if test "$USES_CONTROLS" = 1; then
32963 cat >>confdefs.h <<\_ACEOF
32964#define wxUSE_CONTROLS 1
32965_ACEOF
32966
32967fi
32968
32969
32970
32971if test "$wxUSE_DRAGIMAGE" = "yes"; then
32972 cat >>confdefs.h <<\_ACEOF
32973#define wxUSE_DRAGIMAGE 1
32974_ACEOF
32975
32976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
32977fi
32978
32979if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32980 cat >>confdefs.h <<\_ACEOF
32981#define wxUSE_ACCESSIBILITY 1
32982_ACEOF
32983
32984 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
32985fi
32986
32987if test "$wxUSE_MENUS" = "yes"; then
32988 cat >>confdefs.h <<\_ACEOF
32989#define wxUSE_MENUS 1
32990_ACEOF
32991
32992 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
32993fi
32994
32995if test "$wxUSE_METAFILE" = "yes"; then
32996 cat >>confdefs.h <<\_ACEOF
32997#define wxUSE_METAFILE 1
32998_ACEOF
32999
33000fi
33001
33002if test "$wxUSE_MIMETYPE" = "yes"; then
33003 cat >>confdefs.h <<\_ACEOF
33004#define wxUSE_MIMETYPE 1
33005_ACEOF
33006
33007fi
33008
33009if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33010 cat >>confdefs.h <<\_ACEOF
33011#define wxUSE_SYSTEM_OPTIONS 1
33012_ACEOF
33013
33014if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33015 "$TOOLKIT" = "MOTIF"; then
33016 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
33017fi
33018
33019fi
33020
33021if test "$wxUSE_MINIFRAME" = "yes"; then
33022 cat >>confdefs.h <<\_ACEOF
33023#define wxUSE_MINIFRAME 1
33024_ACEOF
33025
33026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
33027fi
33028
33029USE_HTML=0
33030if test "$wxUSE_HTML" = "yes"; then
33031 cat >>confdefs.h <<\_ACEOF
33032#define wxUSE_HTML 1
33033_ACEOF
33034
33035 USE_HTML=1
33036 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33037fi
33038
33039if test "$wxUSE_VALIDATORS" = "yes"; then
33040 cat >>confdefs.h <<\_ACEOF
33041#define wxUSE_VALIDATORS 1
33042_ACEOF
33043
33044 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
33045fi
33046
33047if test "$wxUSE_PALETTE" = "yes" ; then
33048 cat >>confdefs.h <<\_ACEOF
33049#define wxUSE_PALETTE 1
33050_ACEOF
33051
33052fi
33053
33054if test "$wxUSE_IMAGE" = "yes" ; then
33055 cat >>confdefs.h <<\_ACEOF
33056#define wxUSE_IMAGE 1
33057_ACEOF
33058
33059fi
33060
33061if test "$wxUSE_GIF" = "yes" ; then
33062 cat >>confdefs.h <<\_ACEOF
33063#define wxUSE_GIF 1
33064_ACEOF
33065
33066fi
33067
33068if test "$wxUSE_PCX" = "yes" ; then
33069 cat >>confdefs.h <<\_ACEOF
33070#define wxUSE_PCX 1
33071_ACEOF
33072
33073fi
33074
33075if test "$wxUSE_IFF" = "yes" ; then
33076 cat >>confdefs.h <<\_ACEOF
33077#define wxUSE_IFF 1
33078_ACEOF
33079
33080fi
33081
33082if test "$wxUSE_PNM" = "yes" ; then
33083 cat >>confdefs.h <<\_ACEOF
33084#define wxUSE_PNM 1
33085_ACEOF
33086
33087fi
33088
33089if test "$wxUSE_XPM" = "yes" ; then
33090 cat >>confdefs.h <<\_ACEOF
33091#define wxUSE_XPM 1
33092_ACEOF
33093
33094fi
33095
33096if test "$wxUSE_ICO_CUR" = "yes" ; then
33097 cat >>confdefs.h <<\_ACEOF
33098#define wxUSE_ICO_CUR 1
33099_ACEOF
33100
33101fi
33102
33103if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33104 LIBS=" -lunicows $LIBS"
33105fi
33106
33107
33108if test "$wxUSE_CHOICEDLG" = "yes"; then
33109 cat >>confdefs.h <<\_ACEOF
33110#define wxUSE_CHOICEDLG 1
33111_ACEOF
33112
33113fi
33114
33115if test "$wxUSE_COLOURDLG" = "yes"; then
33116 cat >>confdefs.h <<\_ACEOF
33117#define wxUSE_COLOURDLG 1
33118_ACEOF
33119
33120fi
33121
33122if test "$wxUSE_FILEDLG" = "yes"; then
33123 cat >>confdefs.h <<\_ACEOF
33124#define wxUSE_FILEDLG 1
33125_ACEOF
33126
33127fi
33128
33129if test "$wxUSE_FINDREPLDLG" = "yes"; then
33130 cat >>confdefs.h <<\_ACEOF
33131#define wxUSE_FINDREPLDLG 1
33132_ACEOF
33133
33134fi
33135
33136if test "$wxUSE_FONTDLG" = "yes"; then
33137 cat >>confdefs.h <<\_ACEOF
33138#define wxUSE_FONTDLG 1
33139_ACEOF
33140
33141fi
33142
33143if test "$wxUSE_DIRDLG" = "yes"; then
33144 if test "$wxUSE_TREECTRL" != "yes"; then
33145 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33146echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33147 else
33148 cat >>confdefs.h <<\_ACEOF
33149#define wxUSE_DIRDLG 1
33150_ACEOF
33151
33152 fi
33153fi
33154
33155if test "$wxUSE_MSGDLG" = "yes"; then
33156 cat >>confdefs.h <<\_ACEOF
33157#define wxUSE_MSGDLG 1
33158_ACEOF
33159
33160fi
33161
33162if test "$wxUSE_NUMBERDLG" = "yes"; then
33163 cat >>confdefs.h <<\_ACEOF
33164#define wxUSE_NUMBERDLG 1
33165_ACEOF
33166
33167fi
33168
33169if test "$wxUSE_PROGRESSDLG" = "yes"; then
33170 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33171 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33172echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33173 else
33174 cat >>confdefs.h <<\_ACEOF
33175#define wxUSE_PROGRESSDLG 1
33176_ACEOF
33177
33178 fi
33179fi
33180
33181if test "$wxUSE_SPLASH" = "yes"; then
33182 cat >>confdefs.h <<\_ACEOF
33183#define wxUSE_SPLASH 1
33184_ACEOF
33185
33186fi
33187
33188if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33189 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33190 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33191echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33192 else
33193 cat >>confdefs.h <<\_ACEOF
33194#define wxUSE_STARTUP_TIPS 1
33195_ACEOF
33196
33197 fi
33198fi
33199
33200if test "$wxUSE_TEXTDLG" = "yes"; then
33201 cat >>confdefs.h <<\_ACEOF
33202#define wxUSE_TEXTDLG 1
33203_ACEOF
33204
33205fi
33206
33207if test "$wxUSE_WIZARDDLG" = "yes"; then
33208 cat >>confdefs.h <<\_ACEOF
33209#define wxUSE_WIZARDDLG 1
33210_ACEOF
33211
33212 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
33213fi
33214
33215
33216if test "$cross_compiling" = "yes"; then
33217 OSINFO="\"$host\""
33218else
33219 OSINFO=`uname -s -r -m`
33220 OSINFO="\"$OSINFO\""
33221fi
33222
33223cat >>confdefs.h <<_ACEOF
33224#define WXWIN_OS_DESCRIPTION $OSINFO
33225_ACEOF
33226
33227
33228
33229if test "x$prefix" != "xNONE"; then
33230 wxPREFIX=$prefix
33231else
33232 wxPREFIX=$ac_default_prefix
33233fi
33234
33235cat >>confdefs.h <<_ACEOF
33236#define wxINSTALL_PREFIX "$wxPREFIX"
33237_ACEOF
33238
33239
33240top_builddir_wxconfig=`pwd`
33241
33242
33243
33244CORE_BASE_LIBS="net base"
33245CORE_GUI_LIBS="adv core"
33246
33247if test "$wxUSE_XML" = "yes" ; then
33248 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
33249fi
33250if test "$wxUSE_ODBC" != "no" ; then
33251 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
33252 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
33253fi
33254if test "$wxUSE_HTML" = "yes" ; then
33255 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
33256fi
33257
33258
33259
33260
33261
33262
33263
33264
33265if test "$wxUSE_MAC" = 1 ; then
33266 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33267fi
33268if test "$wxUSE_COCOA" = 1 ; then
33269 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33270fi
33271
33272
33273LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33274
33275have_cos=0
33276have_floor=0
33277
33278for ac_func in cos
33279do
33280as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33281echo "$as_me:$LINENO: checking for $ac_func" >&5
33282echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33283if eval "test \"\${$as_ac_var+set}\" = set"; then
33284 echo $ECHO_N "(cached) $ECHO_C" >&6
33285else
33286 cat >conftest.$ac_ext <<_ACEOF
33287#line $LINENO "configure"
33288/* confdefs.h. */
33289_ACEOF
33290cat confdefs.h >>conftest.$ac_ext
33291cat >>conftest.$ac_ext <<_ACEOF
33292/* end confdefs.h. */
33293/* System header to define __stub macros and hopefully few prototypes,
33294 which can conflict with char $ac_func (); below.
33295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33296 <limits.h> exists even on freestanding compilers. */
33297#ifdef __STDC__
33298# include <limits.h>
33299#else
33300# include <assert.h>
33301#endif
33302/* Override any gcc2 internal prototype to avoid an error. */
33303#ifdef __cplusplus
33304extern "C"
33305{
33306#endif
33307/* We use char because int might match the return type of a gcc2
33308 builtin and then its argument prototype would still apply. */
33309char $ac_func ();
33310/* The GNU C library defines this for functions which it implements
33311 to always fail with ENOSYS. Some functions are actually named
33312 something starting with __ and the normal name is an alias. */
33313#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33314choke me
33315#else
33316char (*f) () = $ac_func;
33317#endif
33318#ifdef __cplusplus
33319}
33320#endif
33321
33322int
33323main ()
33324{
33325return f != $ac_func;
33326 ;
33327 return 0;
33328}
33329_ACEOF
33330rm -f conftest.$ac_objext conftest$ac_exeext
33331if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33332 (eval $ac_link) 2>&5
33333 ac_status=$?
33334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33335 (exit $ac_status); } &&
33336 { ac_try='test -s conftest$ac_exeext'
33337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33338 (eval $ac_try) 2>&5
33339 ac_status=$?
33340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33341 (exit $ac_status); }; }; then
33342 eval "$as_ac_var=yes"
33343else
33344 echo "$as_me: failed program was:" >&5
33345sed 's/^/| /' conftest.$ac_ext >&5
33346
33347eval "$as_ac_var=no"
33348fi
33349rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33350fi
33351echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33352echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33353if test `eval echo '${'$as_ac_var'}'` = yes; then
33354 cat >>confdefs.h <<_ACEOF
33355#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33356_ACEOF
33357 have_cos=1
33358fi
33359done
33360
33361
33362for ac_func in floor
33363do
33364as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33365echo "$as_me:$LINENO: checking for $ac_func" >&5
33366echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33367if eval "test \"\${$as_ac_var+set}\" = set"; then
33368 echo $ECHO_N "(cached) $ECHO_C" >&6
33369else
33370 cat >conftest.$ac_ext <<_ACEOF
33371#line $LINENO "configure"
33372/* confdefs.h. */
33373_ACEOF
33374cat confdefs.h >>conftest.$ac_ext
33375cat >>conftest.$ac_ext <<_ACEOF
33376/* end confdefs.h. */
33377/* System header to define __stub macros and hopefully few prototypes,
33378 which can conflict with char $ac_func (); below.
33379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33380 <limits.h> exists even on freestanding compilers. */
33381#ifdef __STDC__
33382# include <limits.h>
33383#else
33384# include <assert.h>
33385#endif
33386/* Override any gcc2 internal prototype to avoid an error. */
33387#ifdef __cplusplus
33388extern "C"
33389{
33390#endif
33391/* We use char because int might match the return type of a gcc2
33392 builtin and then its argument prototype would still apply. */
33393char $ac_func ();
33394/* The GNU C library defines this for functions which it implements
33395 to always fail with ENOSYS. Some functions are actually named
33396 something starting with __ and the normal name is an alias. */
33397#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33398choke me
33399#else
33400char (*f) () = $ac_func;
33401#endif
33402#ifdef __cplusplus
33403}
33404#endif
33405
33406int
33407main ()
33408{
33409return f != $ac_func;
33410 ;
33411 return 0;
33412}
33413_ACEOF
33414rm -f conftest.$ac_objext conftest$ac_exeext
33415if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33416 (eval $ac_link) 2>&5
33417 ac_status=$?
33418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33419 (exit $ac_status); } &&
33420 { ac_try='test -s conftest$ac_exeext'
33421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33422 (eval $ac_try) 2>&5
33423 ac_status=$?
33424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33425 (exit $ac_status); }; }; then
33426 eval "$as_ac_var=yes"
33427else
33428 echo "$as_me: failed program was:" >&5
33429sed 's/^/| /' conftest.$ac_ext >&5
33430
33431eval "$as_ac_var=no"
33432fi
33433rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33434fi
33435echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33436echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33437if test `eval echo '${'$as_ac_var'}'` = yes; then
33438 cat >>confdefs.h <<_ACEOF
33439#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33440_ACEOF
33441 have_floor=1
33442fi
33443done
33444
33445echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33446echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33447if test "$have_cos" = 1 -a "$have_floor" = 1; then
33448 echo "$as_me:$LINENO: result: yes" >&5
33449echo "${ECHO_T}yes" >&6
33450else
33451 echo "$as_me:$LINENO: result: no" >&5
33452echo "${ECHO_T}no" >&6
33453 LIBS="$LIBS -lm"
33454 # use different functions to avoid configure caching
33455 have_sin=0
33456 have_ceil=0
33457
33458for ac_func in sin
33459do
33460as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33461echo "$as_me:$LINENO: checking for $ac_func" >&5
33462echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33463if eval "test \"\${$as_ac_var+set}\" = set"; then
33464 echo $ECHO_N "(cached) $ECHO_C" >&6
33465else
33466 cat >conftest.$ac_ext <<_ACEOF
33467#line $LINENO "configure"
33468/* confdefs.h. */
33469_ACEOF
33470cat confdefs.h >>conftest.$ac_ext
33471cat >>conftest.$ac_ext <<_ACEOF
33472/* end confdefs.h. */
33473/* System header to define __stub macros and hopefully few prototypes,
33474 which can conflict with char $ac_func (); below.
33475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33476 <limits.h> exists even on freestanding compilers. */
33477#ifdef __STDC__
33478# include <limits.h>
33479#else
33480# include <assert.h>
33481#endif
33482/* Override any gcc2 internal prototype to avoid an error. */
33483#ifdef __cplusplus
33484extern "C"
33485{
33486#endif
33487/* We use char because int might match the return type of a gcc2
33488 builtin and then its argument prototype would still apply. */
33489char $ac_func ();
33490/* The GNU C library defines this for functions which it implements
33491 to always fail with ENOSYS. Some functions are actually named
33492 something starting with __ and the normal name is an alias. */
33493#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33494choke me
33495#else
33496char (*f) () = $ac_func;
33497#endif
33498#ifdef __cplusplus
33499}
33500#endif
33501
33502int
33503main ()
33504{
33505return f != $ac_func;
33506 ;
33507 return 0;
33508}
33509_ACEOF
33510rm -f conftest.$ac_objext conftest$ac_exeext
33511if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33512 (eval $ac_link) 2>&5
33513 ac_status=$?
33514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33515 (exit $ac_status); } &&
33516 { ac_try='test -s conftest$ac_exeext'
33517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33518 (eval $ac_try) 2>&5
33519 ac_status=$?
33520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33521 (exit $ac_status); }; }; then
33522 eval "$as_ac_var=yes"
33523else
33524 echo "$as_me: failed program was:" >&5
33525sed 's/^/| /' conftest.$ac_ext >&5
33526
33527eval "$as_ac_var=no"
33528fi
33529rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33530fi
33531echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33532echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33533if test `eval echo '${'$as_ac_var'}'` = yes; then
33534 cat >>confdefs.h <<_ACEOF
33535#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33536_ACEOF
33537 have_sin=1
33538fi
33539done
33540
33541
33542for ac_func in ceil
33543do
33544as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33545echo "$as_me:$LINENO: checking for $ac_func" >&5
33546echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33547if eval "test \"\${$as_ac_var+set}\" = set"; then
33548 echo $ECHO_N "(cached) $ECHO_C" >&6
33549else
33550 cat >conftest.$ac_ext <<_ACEOF
33551#line $LINENO "configure"
33552/* confdefs.h. */
33553_ACEOF
33554cat confdefs.h >>conftest.$ac_ext
33555cat >>conftest.$ac_ext <<_ACEOF
33556/* end confdefs.h. */
33557/* System header to define __stub macros and hopefully few prototypes,
33558 which can conflict with char $ac_func (); below.
33559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33560 <limits.h> exists even on freestanding compilers. */
33561#ifdef __STDC__
33562# include <limits.h>
33563#else
33564# include <assert.h>
33565#endif
33566/* Override any gcc2 internal prototype to avoid an error. */
33567#ifdef __cplusplus
33568extern "C"
33569{
33570#endif
33571/* We use char because int might match the return type of a gcc2
33572 builtin and then its argument prototype would still apply. */
33573char $ac_func ();
33574/* The GNU C library defines this for functions which it implements
33575 to always fail with ENOSYS. Some functions are actually named
33576 something starting with __ and the normal name is an alias. */
33577#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33578choke me
33579#else
33580char (*f) () = $ac_func;
33581#endif
33582#ifdef __cplusplus
33583}
33584#endif
33585
33586int
33587main ()
33588{
33589return f != $ac_func;
33590 ;
33591 return 0;
33592}
33593_ACEOF
33594rm -f conftest.$ac_objext conftest$ac_exeext
33595if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33596 (eval $ac_link) 2>&5
33597 ac_status=$?
33598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33599 (exit $ac_status); } &&
33600 { ac_try='test -s conftest$ac_exeext'
33601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33602 (eval $ac_try) 2>&5
33603 ac_status=$?
33604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33605 (exit $ac_status); }; }; then
33606 eval "$as_ac_var=yes"
33607else
33608 echo "$as_me: failed program was:" >&5
33609sed 's/^/| /' conftest.$ac_ext >&5
33610
33611eval "$as_ac_var=no"
33612fi
33613rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33614fi
33615echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33616echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33617if test `eval echo '${'$as_ac_var'}'` = yes; then
33618 cat >>confdefs.h <<_ACEOF
33619#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33620_ACEOF
33621 have_ceil=1
33622fi
33623done
33624
33625 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33626echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33627 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33628 echo "$as_me:$LINENO: result: yes" >&5
33629echo "${ECHO_T}yes" >&6
33630 else
33631 echo "$as_me:$LINENO: result: no" >&5
33632echo "${ECHO_T}no" >&6
33633 # not sure we should warn the user, crash, etc.
33634 fi
33635fi
33636
33637if test "$wxUSE_GUI" = "yes"; then
33638
33639
33640 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
33641 drawing dynamic erase event exec font image \
33642 minimal propsize rotate shaped widgets render"
33643
33644 if test "$wxUSE_MONOLITHIC" != "yes"; then
33645 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
33646 fi
33647else
33648 SAMPLES_SUBDIRS="console"
33649fi
33650
33651
33652INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33653-I\${top_srcdir}/include \
33654$REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33655$TOOLKIT_INCLUDE"
33656
33657if test "$GXX" = yes ; then
33658 CXXWARNINGS="-Wall"
33659 fi
33660
33661EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33662
33663CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33664CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33665CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33666
33667
33668LIBS=`echo $LIBS | sed 's/ \+/ /g'`
33669EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33670EXTRALIBS_XML="$EXPAT_LINK"
33671EXTRALIBS_ODBC="$ODBC_LINK"
33672if test "$wxUSE_GUI" = "yes"; then
33673 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33674fi
33675if test "$wxUSE_OPENGL" = "yes"; then
33676 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
33677fi
33678
33679LDFLAGS="$LDFLAGS $PROFILE"
33680
33681if test "$wxUSE_GTK" = 1; then
33682 WXCONFIG_INCLUDE=
33683else
33684 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
33685fi
33686
33687WXCONFIG_EXTRALIBS="$LIBS"
33688
33689if test "$wxUSE_REGEX" = "builtin" ; then
33690 wxconfig_3rdparty="$wxconfig_3rdparty regex"
33691fi
33692if test "$wxUSE_EXPAT" = "builtin" ; then
33693 wxconfig_3rdparty="$wxconfig_3rdparty expat"
33694fi
33695if test "$wxUSE_ODBC" = "builtin" ; then
33696 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33697fi
33698if test "$wxUSE_LIBTIFF" = "builtin" ; then
33699 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
33700fi
33701if test "$wxUSE_LIBJPEG" = "builtin" ; then
33702 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
33703fi
33704if test "$wxUSE_LIBPNG" = "builtin" ; then
33705 wxconfig_3rdparty="$wxconfig_3rdparty png"
33706fi
33707if test "$wxUSE_ZLIB" = "builtin" ; then
33708 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
33709fi
33710if test "$wxUSE_ODBC" = "builtin" ; then
33711 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33712fi
33713
33714for i in $wxconfig_3rdparty ; do
33715 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33716done
33717
33718
33719if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33720 WXUNIV=1
33721else
33722 WXUNIV=0
33723fi
33724
33725
33726
33727
33728
33729
33730
33731
33732
33733if test $wxUSE_MONOLITHIC = "yes" ; then
33734 MONOLITHIC=1
33735else
33736 MONOLITHIC=0
33737fi
33738
33739if test $wxUSE_ODBC != "no" ; then
33740 USE_ODBC=1
33741else
33742 USE_ODBC=0
33743fi
33744
33745if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
33746 OFFICIAL_BUILD=1
33747else
33748 OFFICIAL_BUILD=0
33749fi
33750
33751
33752
33753
33754
33755
33756
33757
33758
33759
33760
33761
33762
33763
33764
33765
33766
33767TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
33768
33769
33770
33771
33772
33773
33774
33775 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33776
33777 if test -n "$ac_tool_prefix"; then
33778 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33779set dummy ${ac_tool_prefix}ranlib; ac_word=$2
33780echo "$as_me:$LINENO: checking for $ac_word" >&5
33781echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33782if test "${ac_cv_prog_RANLIB+set}" = set; then
33783 echo $ECHO_N "(cached) $ECHO_C" >&6
33784else
33785 if test -n "$RANLIB"; then
33786 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
33787else
33788as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33789for as_dir in $PATH
33790do
33791 IFS=$as_save_IFS
33792 test -z "$as_dir" && as_dir=.
33793 for ac_exec_ext in '' $ac_executable_extensions; do
33794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33795 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
33796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33797 break 2
33798 fi
33799done
33800done
33801
33802fi
33803fi
33804RANLIB=$ac_cv_prog_RANLIB
33805if test -n "$RANLIB"; then
33806 echo "$as_me:$LINENO: result: $RANLIB" >&5
33807echo "${ECHO_T}$RANLIB" >&6
33808else
33809 echo "$as_me:$LINENO: result: no" >&5
33810echo "${ECHO_T}no" >&6
33811fi
33812
33813fi
33814if test -z "$ac_cv_prog_RANLIB"; then
33815 ac_ct_RANLIB=$RANLIB
33816 # Extract the first word of "ranlib", so it can be a program name with args.
33817set dummy ranlib; ac_word=$2
33818echo "$as_me:$LINENO: checking for $ac_word" >&5
33819echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33820if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33821 echo $ECHO_N "(cached) $ECHO_C" >&6
33822else
33823 if test -n "$ac_ct_RANLIB"; then
33824 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
33825else
33826as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33827for as_dir in $PATH
33828do
33829 IFS=$as_save_IFS
33830 test -z "$as_dir" && as_dir=.
33831 for ac_exec_ext in '' $ac_executable_extensions; do
33832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33833 ac_cv_prog_ac_ct_RANLIB="ranlib"
33834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33835 break 2
33836 fi
33837done
33838done
33839
33840 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
33841fi
33842fi
33843ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
33844if test -n "$ac_ct_RANLIB"; then
33845 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33846echo "${ECHO_T}$ac_ct_RANLIB" >&6
33847else
33848 echo "$as_me:$LINENO: result: no" >&5
33849echo "${ECHO_T}no" >&6
33850fi
33851
33852 RANLIB=$ac_ct_RANLIB
33853else
33854 RANLIB="$ac_cv_prog_RANLIB"
33855fi
33856
33857 # Find a good install program. We prefer a C program (faster),
33858# so one script is as good as another. But avoid the broken or
33859# incompatible versions:
33860# SysV /etc/install, /usr/sbin/install
33861# SunOS /usr/etc/install
33862# IRIX /sbin/install
33863# AIX /bin/install
33864# AmigaOS /C/install, which installs bootblocks on floppy discs
33865# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33866# AFS /usr/afsws/bin/install, which mishandles nonexistent args
33867# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33868# ./install, which can be erroneously created by make from ./install.sh.
33869echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33870echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33871if test -z "$INSTALL"; then
33872if test "${ac_cv_path_install+set}" = set; then
33873 echo $ECHO_N "(cached) $ECHO_C" >&6
33874else
33875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33876for as_dir in $PATH
33877do
33878 IFS=$as_save_IFS
33879 test -z "$as_dir" && as_dir=.
33880 # Account for people who put trailing slashes in PATH elements.
33881case $as_dir/ in
33882 ./ | .// | /cC/* | \
33883 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
33884 /usr/ucb/* ) ;;
33885 *)
33886 # OSF1 and SCO ODT 3.0 have their own names for install.
33887 # Don't use installbsd from OSF since it installs stuff as root
33888 # by default.
33889 for ac_prog in ginstall scoinst install; do
33890 for ac_exec_ext in '' $ac_executable_extensions; do
33891 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33892 if test $ac_prog = install &&
33893 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33894 # AIX install. It has an incompatible calling convention.
33895 :
33896 elif test $ac_prog = install &&
33897 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33898 # program-specific install script used by HP pwplus--don't use.
33899 :
33900 else
33901 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
33902 break 3
33903 fi
33904 fi
33905 done
33906 done
33907 ;;
33908esac
33909done
33910
33911
33912fi
33913 if test "${ac_cv_path_install+set}" = set; then
33914 INSTALL=$ac_cv_path_install
33915 else
33916 # As a last resort, use the slow shell script. We don't cache a
33917 # path for INSTALL within a source directory, because that will
33918 # break other packages using the cache if that directory is
33919 # removed, or if the path is relative.
33920 INSTALL=$ac_install_sh
33921 fi
33922fi
33923echo "$as_me:$LINENO: result: $INSTALL" >&5
33924echo "${ECHO_T}$INSTALL" >&6
33925
33926# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33927# It thinks the first close brace ends the variable substitution.
33928test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
33929
33930test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
33931
33932test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
33933
33934 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33935echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33936LN_S=$as_ln_s
33937if test "$LN_S" = "ln -s"; then
33938 echo "$as_me:$LINENO: result: yes" >&5
33939echo "${ECHO_T}yes" >&6
33940else
33941 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33942echo "${ECHO_T}no, using $LN_S" >&6
33943fi
33944
33945
33946 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33947echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33948set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
33949if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33950 echo $ECHO_N "(cached) $ECHO_C" >&6
33951else
33952 cat >conftest.make <<\_ACEOF
33953all:
33954 @echo 'ac_maketemp="$(MAKE)"'
33955_ACEOF
33956# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33957eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33958if test -n "$ac_maketemp"; then
33959 eval ac_cv_prog_make_${ac_make}_set=yes
33960else
33961 eval ac_cv_prog_make_${ac_make}_set=no
33962fi
33963rm -f conftest.make
33964fi
33965if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33966 echo "$as_me:$LINENO: result: yes" >&5
33967echo "${ECHO_T}yes" >&6
33968 SET_MAKE=
33969else
33970 echo "$as_me:$LINENO: result: no" >&5
33971echo "${ECHO_T}no" >&6
33972 SET_MAKE="MAKE=${MAKE-make}"
33973fi
33974
33975
33976
33977 if test "$build" != "$host" ; then
33978 AR=$host_alias-ar
33979 STRIP=$host_alias-strip
33980 else
33981 # Extract the first word of "ar", so it can be a program name with args.
33982set dummy ar; ac_word=$2
33983echo "$as_me:$LINENO: checking for $ac_word" >&5
33984echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33985if test "${ac_cv_prog_AR+set}" = set; then
33986 echo $ECHO_N "(cached) $ECHO_C" >&6
33987else
33988 if test -n "$AR"; then
33989 ac_cv_prog_AR="$AR" # Let the user override the test.
33990else
33991as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33992for as_dir in $PATH
33993do
33994 IFS=$as_save_IFS
33995 test -z "$as_dir" && as_dir=.
33996 for ac_exec_ext in '' $ac_executable_extensions; do
33997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33998 ac_cv_prog_AR="ar"
33999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34000 break 2
34001 fi
34002done
34003done
34004
34005 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
34006fi
34007fi
34008AR=$ac_cv_prog_AR
34009if test -n "$AR"; then
34010 echo "$as_me:$LINENO: result: $AR" >&5
34011echo "${ECHO_T}$AR" >&6
34012else
34013 echo "$as_me:$LINENO: result: no" >&5
34014echo "${ECHO_T}no" >&6
34015fi
34016
34017 # Extract the first word of "strip", so it can be a program name with args.
34018set dummy strip; ac_word=$2
34019echo "$as_me:$LINENO: checking for $ac_word" >&5
34020echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34021if test "${ac_cv_prog_STRIP+set}" = set; then
34022 echo $ECHO_N "(cached) $ECHO_C" >&6
34023else
34024 if test -n "$STRIP"; then
34025 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
34026else
34027as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34028for as_dir in $PATH
34029do
34030 IFS=$as_save_IFS
34031 test -z "$as_dir" && as_dir=.
34032 for ac_exec_ext in '' $ac_executable_extensions; do
34033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34034 ac_cv_prog_STRIP="strip"
34035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34036 break 2
34037 fi
34038done
34039done
34040
34041 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
34042fi
34043fi
34044STRIP=$ac_cv_prog_STRIP
34045if test -n "$STRIP"; then
34046 echo "$as_me:$LINENO: result: $STRIP" >&5
34047echo "${ECHO_T}$STRIP" >&6
34048else
34049 echo "$as_me:$LINENO: result: no" >&5
34050echo "${ECHO_T}no" >&6
34051fi
34052
34053 fi
34054
34055 case ${host} in
34056 *-hp-hpux* )
34057 INSTALL_DIR="mkdir"
34058 ;;
34059 *) INSTALL_DIR="$INSTALL -d"
34060 ;;
34061 esac
34062
34063
34064 LDFLAGS_GUI=
34065 case ${host} in
34066 *-*-cygwin* | *-*-mingw32* )
34067 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
34068 esac
34069
34070
34071 fi
34072
34073 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34074echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34075if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34076 echo $ECHO_N "(cached) $ECHO_C" >&6
34077else
34078
34079 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
34080 egrep -s GNU > /dev/null); then
34081 bakefile_cv_prog_makeisgnu="yes"
34082 else
34083 bakefile_cv_prog_makeisgnu="no"
34084 fi
34085
34086fi
34087echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34088echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34089
34090 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34091 IF_GNU_MAKE=""
34092 else
34093 IF_GNU_MAKE="#"
34094 fi
34095
34096
34097
34098 PLATFORM_UNIX=0
34099 PLATFORM_WIN32=0
34100 PLATFORM_MSDOS=0
34101 PLATFORM_MAC=0
34102 PLATFORM_MACOSX=0
34103 PLATFORM_OS2=0
34104
34105 case "${host}" in
34106 *-*-cygwin* | *-*-mingw32* )
34107 PLATFORM_WIN32=1
34108 ;;
34109 *-pc-msdosdjgpp )
34110 PLATFORM_MSDOS=1
34111 ;;
34112 *-pc-os2_emx | *-pc-os2-emx )
34113 PLATFORM_OS2=1
34114 ;;
34115 powerpc-*-darwin* )
34116 PLATFORM_MAC=1
34117 PLATFORM_MACOSX=1
34118 ;;
34119 * )
34120 PLATFORM_UNIX=1
34121 ;;
34122 esac
34123
34124
34125
34126
34127
34128
34129
34130
34131
34132 SO_SUFFIX="so"
34133 SO_SUFFIX_MODULE="so"
34134 EXEEXT=""
34135 LIBPREFIX=lib
34136 DLLPREFIX=lib
34137 DLLPREFIX_MODULE=
34138
34139 case "${host}" in
34140 *-hp-hpux* )
34141 SO_SUFFIX="sl"
34142 SO_SUFFIX_MODULE="sl"
34143 ;;
34144 *-*-aix* )
34145 SO_SUFFIX="a"
34146 SO_SUFFIX_MODULE="a"
34147 ;;
34148 *-*-cygwin* | *-*-mingw32* )
34149 SO_SUFFIX="dll"
34150 SO_SUFFIX_MODULE="dll"
34151 EXEEXT=".exe"
34152 DLLPREFIX=""
34153 ;;
34154 *-pc-msdosdjgpp )
34155 EXEEXT=".exe"
34156 DLLPREFIX=""
34157 ;;
34158 *-pc-os2_emx | *-pc-os2-emx )
34159 EXEEXT=".exe"
34160 DLLPREFIX=""
34161 LIBPREFIX=""
34162 ;;
34163 powerpc-*-darwin* )
34164 SO_SUFFIX="dylib"
34165 SO_SUFFIX_MODULE="bundle"
34166 ;;
34167 esac
34168
34169
34170
34171
34172
34173
34174
34175
34176
34177 SHARED_LD_CC="\$(CC) -shared -o"
34178 SHARED_LD_CXX="\$(CXX) -shared -o"
34179
34180 if test "x$GCC" = "xyes"; then
34181 PIC_FLAG="-fPIC"
34182 fi
34183
34184 case "${host}" in
34185 *-hp-hpux* )
34186 if test "x$GCC" = "xyes"; then
34187 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
34188 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
34189 else
34190 LDFLAGS="$LDFLAGS -L/usr/lib"
34191
34192 SHARED_LD_CC="${CC} -b -o"
34193 SHARED_LD_CXX="${CXX} -b -o"
34194 PIC_FLAG="+Z"
34195 fi
34196 ;;
34197
34198 *-*-linux* )
34199 if test "x$GCC" != "xyes"; then
34200 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34201echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34202if test "${bakefile_cv_prog_icc+set}" = set; then
34203 echo $ECHO_N "(cached) $ECHO_C" >&6
34204else
34205
34206 cat >conftest.$ac_ext <<_ACEOF
34207#line $LINENO "configure"
34208/* confdefs.h. */
34209_ACEOF
34210cat confdefs.h >>conftest.$ac_ext
34211cat >>conftest.$ac_ext <<_ACEOF
34212/* end confdefs.h. */
34213
34214int
34215main ()
34216{
34217
34218 #ifndef __INTEL_COMPILER
34219 #error Not icc
34220 #endif
34221
34222 ;
34223 return 0;
34224}
34225_ACEOF
34226rm -f conftest.$ac_objext
34227if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34228 (eval $ac_compile) 2>&5
34229 ac_status=$?
34230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34231 (exit $ac_status); } &&
34232 { ac_try='test -s conftest.$ac_objext'
34233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34234 (eval $ac_try) 2>&5
34235 ac_status=$?
34236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34237 (exit $ac_status); }; }; then
34238 bakefile_cv_prog_icc=yes
34239else
34240 echo "$as_me: failed program was:" >&5
34241sed 's/^/| /' conftest.$ac_ext >&5
34242
34243bakefile_cv_prog_icc=no
34244
34245fi
34246rm -f conftest.$ac_objext conftest.$ac_ext
34247
34248fi
34249echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34250echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34251 if test "$bakefile_cv_prog_icc" = "yes"; then
34252 PIC_FLAG="-KPIC"
34253 fi
34254 fi
34255 ;;
34256
34257 *-*-solaris2* )
34258 if test "x$GCC" != xyes ; then
34259 SHARED_LD_CC="${CC} -G -o"
34260 SHARED_LD_CXX="${CXX} -G -o"
34261 PIC_FLAG="-KPIC"
34262 fi
34263 ;;
34264
34265 *-*-darwin* )
34266 CFLAGS="$CFLAGS -fno-common"
34267 CXXFLAGS="$CXXFLAGS -fno-common"
34268
34269
34270 cat <<EOF >shared-ld-sh
34271#!/bin/sh
34272#-----------------------------------------------------------------------------
34273#-- Name: distrib/mac/shared-ld-sh
34274#-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34275#-- Author: Gilles Depeyrot
34276#-- Copyright: (c) 2002 Gilles Depeyrot
34277#-- Licence: any use permitted
34278#-----------------------------------------------------------------------------
34279
34280verbose=0
34281args=""
34282objects=""
34283linking_flag="-dynamiclib"
34284
34285while test \${#} -gt 0; do
34286 case \${1} in
34287
34288 -v)
34289 verbose=1
34290 ;;
34291
34292 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34293 # collect these options and values
34294 args="\${args} \${1} \${2}"
34295 shift
34296 ;;
34297
34298 -l*|-L*|-flat_namespace)
34299 # collect these options
34300 args="\${args} \${1}"
34301 ;;
34302
34303 -dynamiclib|-bundle)
34304 linking_flag="\${1}"
34305 ;;
34306
34307 -*)
34308 echo "shared-ld: unhandled option '\${1}'"
34309 exit 1
34310 ;;
34311
34312 *.o | *.a | *.dylib)
34313 # collect object files
34314 objects="\${objects} \${1}"
34315 ;;
34316
34317 *)
34318 echo "shared-ld: unhandled argument '\${1}'"
34319 exit 1
34320 ;;
34321
34322 esac
34323 shift
34324done
34325
34326#
34327# Link one module containing all the others
34328#
34329if test \${verbose} = 1; then
34330 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34331fi
34332c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34333status=\$?
34334if test \${status} != 0; then
34335 exit \${status}
34336fi
34337
34338#
34339# Link the shared library from the single module created
34340#
34341if test \${verbose} = 1; then
34342 echo "cc \${linking_flag} master.\$\$.o \${args}"
34343fi
34344c++ \${linking_flag} master.\$\$.o \${args}
34345status=\$?
34346if test \${status} != 0; then
34347 exit \${status}
34348fi
34349
34350#
34351# Remove intermediate module
34352#
34353rm -f master.\$\$.o
34354
34355exit 0
34356EOF
34357 chmod +x shared-ld-sh
34358
34359 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -undefined suppress -flat_namespace -o"
34360 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -undefined suppress -flat_namespace -o"
34361 SHARED_LD_CXX="$SHARED_LD_CC"
34362 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
34363 PIC_FLAG="-dynamic -fPIC"
34364 ;;
34365
34366 *-*-aix* )
34367 if test "x$GCC" != "xyes"; then
34368 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34369set dummy makeC++SharedLib; ac_word=$2
34370echo "$as_me:$LINENO: checking for $ac_word" >&5
34371echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34372if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34373 echo $ECHO_N "(cached) $ECHO_C" >&6
34374else
34375 if test -n "$AIX_CXX_LD"; then
34376 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34377else
34378as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34379for as_dir in $PATH
34380do
34381 IFS=$as_save_IFS
34382 test -z "$as_dir" && as_dir=.
34383 for ac_exec_ext in '' $ac_executable_extensions; do
34384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34385 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
34386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34387 break 2
34388 fi
34389done
34390done
34391
34392 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
34393fi
34394fi
34395AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
34396if test -n "$AIX_CXX_LD"; then
34397 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34398echo "${ECHO_T}$AIX_CXX_LD" >&6
34399else
34400 echo "$as_me:$LINENO: result: no" >&5
34401echo "${ECHO_T}no" >&6
34402fi
34403
34404 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
34405 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
34406 fi
34407 ;;
34408
34409 *-*-beos* )
34410 SHARED_LD_CC="${LD} -shared -o"
34411 SHARED_LD_CXX="${LD} -shared -o"
34412 ;;
34413
34414 *-*-irix* )
34415 if test "x$GCC" != "xyes"; then
34416 PIC_FLAG="-KPIC"
34417 fi
34418 ;;
34419
34420 *-*-cygwin* | *-*-mingw32* )
34421 PIC_FLAG=""
34422 ;;
34423
34424 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34425 *-*-sunos4* | \
34426 *-*-osf* | \
34427 *-*-dgux5* | \
34428 *-pc-os2_emx | *-pc-os2-emx | \
34429 *-*-sysv5* )
34430 ;;
34431
34432 *)
34433 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34434echo "$as_me: error: unknown system type $host." >&2;}
34435 { (exit 1); exit 1; }; }
34436 esac
34437
34438 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
34439 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
34440 fi
34441 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
34442 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
34443 fi
34444
34445
34446
34447
34448
34449
34450
34451
34452 USE_SOVERSION=0
34453 USE_SOVERLINUX=0
34454 USE_SOVERSOLARIS=0
34455 USE_SOSYMLINKS=0
34456 USE_MACVERSION=0
34457 SONAME_FLAG=
34458
34459 case "${host}" in
34460 *-*-linux* )
34461 SONAME_FLAG="-Wl,-soname,"
34462 USE_SOVERSION=1
34463 USE_SOVERLINUX=1
34464 USE_SOSYMLINKS=1
34465 ;;
34466
34467 *-*-solaris2* )
34468 SONAME_FLAG="-h "
34469 USE_SOVERSION=1
34470 USE_SOVERSOLARIS=1
34471 USE_SOSYMLINKS=1
34472 ;;
34473
34474 *-*-darwin* )
34475 USE_MACVERSION=1
34476 USE_SOVERSION=1
34477 USE_SOSYMLINKS=1
34478 ;;
34479 esac
34480
34481
34482
34483
34484
34485
34486
34487
34488
34489 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34490echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34491 DEPS_TRACKING=0
34492
34493 if test "x$GCC" = "xyes"; then
34494 DEPSMODE=gcc
34495 DEPS_TRACKING=1
34496 case "${host}" in
34497 powerpc-*-darwin* )
34498 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
34499 ;;
34500 * )
34501 DEPSFLAG_GCC="-MMD"
34502 ;;
34503 esac
34504 echo "$as_me:$LINENO: result: gcc" >&5
34505echo "${ECHO_T}gcc" >&6
34506 else
34507 echo "$as_me:$LINENO: result: none" >&5
34508echo "${ECHO_T}none" >&6
34509 fi
34510
34511 if test $DEPS_TRACKING = 1 ; then
34512 cat <<EOF >bk-deps
34513#!/bin/sh
34514
34515# This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34516# script. It is used to track C/C++ files dependencies in portable way.
34517#
34518# Permission is given to use this file in any way.
34519
34520DEPSMODE=$DEPSMODE
34521DEPSDIR=.deps
34522DEPSFLAG_GCC="$DEPSFLAG_GCC"
34523
34524mkdir -p \$DEPSDIR
34525
34526if test \$DEPSMODE = gcc ; then
34527 \${*} \${DEPSFLAG_GCC}
34528 status=\${?}
34529 if test \${status} != 0 ; then
34530 exit \${status}
34531 fi
34532 # move created file to the location we want it in:
34533 while test \${#} -gt 0; do
34534 case "\${1}" in
34535 -o )
34536 shift
34537 objfile=\${1}
34538 ;;
34539 -* )
34540 ;;
34541 * )
34542 srcfile=\${1}
34543 ;;
34544 esac
34545 shift
34546 done
34547 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34548 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34549 if test -f \$depfile ; then
34550 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34551 rm -f \$depfile
34552 else
34553 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34554 if test -f \$depfile ; then
34555 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34556 rm -f \$depfile
34557 fi
34558 fi
34559 exit 0
34560else
34561 \${*}
34562 exit \${?}
34563fi
34564EOF
34565 chmod +x bk-deps
34566 fi
34567
34568
34569
34570
34571 RESCOMP=
34572 SETFILE=
34573
34574 case ${host} in
34575 *-*-cygwin* | *-*-mingw32* )
34576 if test "$build" != "$host" ; then
34577 RESCOMP=$host_alias-windres
34578 else
34579 # Extract the first word of "windres", so it can be a program name with args.
34580set dummy windres; ac_word=$2
34581echo "$as_me:$LINENO: checking for $ac_word" >&5
34582echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34583if test "${ac_cv_prog_RESCOMP+set}" = set; then
34584 echo $ECHO_N "(cached) $ECHO_C" >&6
34585else
34586 if test -n "$RESCOMP"; then
34587 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34588else
34589as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34590for as_dir in $PATH
34591do
34592 IFS=$as_save_IFS
34593 test -z "$as_dir" && as_dir=.
34594 for ac_exec_ext in '' $ac_executable_extensions; do
34595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34596 ac_cv_prog_RESCOMP="windres"
34597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34598 break 2
34599 fi
34600done
34601done
34602
34603 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
34604fi
34605fi
34606RESCOMP=$ac_cv_prog_RESCOMP
34607if test -n "$RESCOMP"; then
34608 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34609echo "${ECHO_T}$RESCOMP" >&6
34610else
34611 echo "$as_me:$LINENO: result: no" >&5
34612echo "${ECHO_T}no" >&6
34613fi
34614
34615 fi
34616 ;;
34617
34618 *-*-darwin* )
34619 # Extract the first word of "Rez", so it can be a program name with args.
34620set dummy Rez; ac_word=$2
34621echo "$as_me:$LINENO: checking for $ac_word" >&5
34622echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34623if test "${ac_cv_prog_RESCOMP+set}" = set; then
34624 echo $ECHO_N "(cached) $ECHO_C" >&6
34625else
34626 if test -n "$RESCOMP"; then
34627 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34628else
34629as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34630for as_dir in $PATH
34631do
34632 IFS=$as_save_IFS
34633 test -z "$as_dir" && as_dir=.
34634 for ac_exec_ext in '' $ac_executable_extensions; do
34635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34636 ac_cv_prog_RESCOMP="Rez"
34637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34638 break 2
34639 fi
34640done
34641done
34642
34643 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
34644fi
34645fi
34646RESCOMP=$ac_cv_prog_RESCOMP
34647if test -n "$RESCOMP"; then
34648 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34649echo "${ECHO_T}$RESCOMP" >&6
34650else
34651 echo "$as_me:$LINENO: result: no" >&5
34652echo "${ECHO_T}no" >&6
34653fi
34654
34655 # Extract the first word of "SetFile", so it can be a program name with args.
34656set dummy SetFile; ac_word=$2
34657echo "$as_me:$LINENO: checking for $ac_word" >&5
34658echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34659if test "${ac_cv_prog_SETFILE+set}" = set; then
34660 echo $ECHO_N "(cached) $ECHO_C" >&6
34661else
34662 if test -n "$SETFILE"; then
34663 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34664else
34665as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34666for as_dir in $PATH
34667do
34668 IFS=$as_save_IFS
34669 test -z "$as_dir" && as_dir=.
34670 for ac_exec_ext in '' $ac_executable_extensions; do
34671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34672 ac_cv_prog_SETFILE="SetFile"
34673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34674 break 2
34675 fi
34676done
34677done
34678
34679 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34680fi
34681fi
34682SETFILE=$ac_cv_prog_SETFILE
34683if test -n "$SETFILE"; then
34684 echo "$as_me:$LINENO: result: $SETFILE" >&5
34685echo "${ECHO_T}$SETFILE" >&6
34686else
34687 echo "$as_me:$LINENO: result: no" >&5
34688echo "${ECHO_T}no" >&6
34689fi
34690
34691 ;;
34692 esac
34693
34694
34695
34696
34697
34698
34699
34700
34701
34702
34703 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
34704if test "${enable_precomp_headers+set}" = set; then
34705 enableval="$enable_precomp_headers"
34706 bk_use_pch="$enableval"
34707fi;
34708
34709 GCC_PCH=0
34710
34711 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
34712 if test "x$GCC" = "xyes"; then
34713 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
34714echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
34715 cat >conftest.$ac_ext <<_ACEOF
34716#line $LINENO "configure"
34717/* confdefs.h. */
34718_ACEOF
34719cat confdefs.h >>conftest.$ac_ext
34720cat >>conftest.$ac_ext <<_ACEOF
34721/* end confdefs.h. */
34722
34723int
34724main ()
34725{
34726
34727 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
34728 #error "no pch support"
34729 #endif
34730 #if (__GNUC__ < 3)
34731 #error "no pch support"
34732 #endif
34733 #if (__GNUC__ == 3) && \
34734 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
34735 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
34736 #error "no pch support"
34737 #endif
34738
34739 ;
34740 return 0;
34741}
34742_ACEOF
34743rm -f conftest.$ac_objext
34744if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34745 (eval $ac_compile) 2>&5
34746 ac_status=$?
34747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34748 (exit $ac_status); } &&
34749 { ac_try='test -s conftest.$ac_objext'
34750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34751 (eval $ac_try) 2>&5
34752 ac_status=$?
34753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34754 (exit $ac_status); }; }; then
34755
34756 echo "$as_me:$LINENO: result: yes" >&5
34757echo "${ECHO_T}yes" >&6
34758 CPPFLAGS="-fpch-deps $CPPFLAGS"
34759 GCC_PCH=1
34760
34761else
34762 echo "$as_me: failed program was:" >&5
34763sed 's/^/| /' conftest.$ac_ext >&5
34764
34765
34766 echo "$as_me:$LINENO: result: no" >&5
34767echo "${ECHO_T}no" >&6
34768
34769fi
34770rm -f conftest.$ac_objext conftest.$ac_ext
34771 if test $GCC_PCH = 1 ; then
34772 cat <<EOF >bk-make-pch
34773#!/bin/sh
34774
34775# This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34776# script. It is used to generated precompiled headers.
34777#
34778# Permission is given to use this file in any way.
34779
34780outfile="\${1}"
34781header="\${2}"
34782shift
34783shift
34784
34785compiler=
34786headerfile=
34787while test \${#} -gt 0; do
34788 case "\${1}" in
34789 -I* )
34790 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
34791 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
34792 headerfile="\${incdir}/\${header}"
34793 fi
34794 ;;
34795 esac
34796 compiler="\${compiler} \${1}"
34797 shift
34798done
34799
34800if test "x\${headerfile}" = "x" ; then
34801 echo "error: can't find header \${header} in include paths" >2
34802else
34803 if test -f \${outfile} ; then
34804 rm -f \${outfile}
34805 else
34806 mkdir -p \`dirname \${outfile}\`
34807 fi
34808 depsfile=".deps/\`basename \${outfile}\`.d"
34809 mkdir -p .deps
34810 # can do this because gcc is >= 3.4:
34811 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
34812 exit \${?}
34813fi
34814EOF
34815 chmod +x bk-make-pch
34816 fi
34817 fi
34818 fi
34819
34820
34821
34822
34823
34824 COND_BUILD_DEBUG="#"
34825 if test "x$BUILD" = "xdebug" ; then
34826 COND_BUILD_DEBUG=""
34827 fi
34828
34829 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
34830 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
34831 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
34832 fi
34833
34834 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
34835 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
34836 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
34837 fi
34838
34839 COND_BUILD_RELEASE="#"
34840 if test "x$BUILD" = "xrelease" ; then
34841 COND_BUILD_RELEASE=""
34842 fi
34843
34844 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
34845 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
34846 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
34847 fi
34848
34849 COND_DEBUG_FLAG_1="#"
34850 if test "x$DEBUG_FLAG" = "x1" ; then
34851 COND_DEBUG_FLAG_1=""
34852 fi
34853
34854 COND_DEBUG_INFO_0="#"
34855 if test "x$DEBUG_INFO" = "x0" ; then
34856 COND_DEBUG_INFO_0=""
34857 fi
34858
34859 COND_DEBUG_INFO_1="#"
34860 if test "x$DEBUG_INFO" = "x1" ; then
34861 COND_DEBUG_INFO_1=""
34862 fi
34863
34864 COND_DEPS_TRACKING_0="#"
34865 if test "x$DEPS_TRACKING" = "x0" ; then
34866 COND_DEPS_TRACKING_0=""
34867 fi
34868
34869 COND_DEPS_TRACKING_1="#"
34870 if test "x$DEPS_TRACKING" = "x1" ; then
34871 COND_DEPS_TRACKING_1=""
34872 fi
34873
34874 COND_GCC_PCH_1="#"
34875 if test "x$GCC_PCH" = "x1" ; then
34876 COND_GCC_PCH_1=""
34877 fi
34878
34879 COND_MONOLITHIC_0="#"
34880 if test "x$MONOLITHIC" = "x0" ; then
34881 COND_MONOLITHIC_0=""
34882 fi
34883
34884 COND_MONOLITHIC_0_SHARED_0="#"
34885 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
34886 COND_MONOLITHIC_0_SHARED_0=""
34887 fi
34888
34889 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
34890 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
34891 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
34892 fi
34893
34894 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
34895 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
34896 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
34897 fi
34898
34899 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
34900 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
34901 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
34902 fi
34903
34904 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
34905 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
34906 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
34907 fi
34908
34909 COND_MONOLITHIC_0_SHARED_1="#"
34910 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
34911 COND_MONOLITHIC_0_SHARED_1=""
34912 fi
34913
34914 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
34915 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
34916 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
34917 fi
34918
34919 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
34920 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
34921 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
34922 fi
34923
34924 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
34925 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
34926 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
34927 fi
34928
34929 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
34930 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
34931 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
34932 fi
34933
34934 COND_MONOLITHIC_1="#"
34935 if test "x$MONOLITHIC" = "x1" ; then
34936 COND_MONOLITHIC_1=""
34937 fi
34938
34939 COND_MONOLITHIC_1_SHARED_0="#"
34940 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
34941 COND_MONOLITHIC_1_SHARED_0=""
34942 fi
34943
34944 COND_MONOLITHIC_1_SHARED_1="#"
34945 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
34946 COND_MONOLITHIC_1_SHARED_1=""
34947 fi
34948
34949 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
34950 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
34951 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
34952 fi
34953
34954 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
34955 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
34956 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
34957 fi
34958
34959 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
34960 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
34961 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
34962 fi
34963
34964 COND_PLATFORM_MACOSX_1="#"
34965 if test "x$PLATFORM_MACOSX" = "x1" ; then
34966 COND_PLATFORM_MACOSX_1=""
34967 fi
34968
34969 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
34970 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
34971 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
34972 fi
34973
34974 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
34975 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
34976 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
34977 fi
34978
34979 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
34980 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
34981 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
34982 fi
34983
34984 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
34985 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
34986 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
34987 fi
34988
34989 COND_PLATFORM_MAC_1="#"
34990 if test "x$PLATFORM_MAC" = "x1" ; then
34991 COND_PLATFORM_MAC_1=""
34992 fi
34993
34994 COND_PLATFORM_OS2_1="#"
34995 if test "x$PLATFORM_OS2" = "x1" ; then
34996 COND_PLATFORM_OS2_1=""
34997 fi
34998
34999 COND_PLATFORM_UNIX_0="#"
35000 if test "x$PLATFORM_UNIX" = "x0" ; then
35001 COND_PLATFORM_UNIX_0=""
35002 fi
35003
35004 COND_PLATFORM_UNIX_1="#"
35005 if test "x$PLATFORM_UNIX" = "x1" ; then
35006 COND_PLATFORM_UNIX_1=""
35007 fi
35008
35009 COND_PLATFORM_WIN32_0="#"
35010 if test "x$PLATFORM_WIN32" = "x0" ; then
35011 COND_PLATFORM_WIN32_0=""
35012 fi
35013
35014 COND_PLATFORM_WIN32_1="#"
35015 if test "x$PLATFORM_WIN32" = "x1" ; then
35016 COND_PLATFORM_WIN32_1=""
35017 fi
35018
35019 COND_SHARED_0="#"
35020 if test "x$SHARED" = "x0" ; then
35021 COND_SHARED_0=""
35022 fi
35023
35024 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
35025 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35026 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
35027 fi
35028
35029 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35030 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35031 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35032 fi
35033
35034 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35035 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35036 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35037 fi
35038
35039 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35040 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35041 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35042 fi
35043
35044 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
35045 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35046 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
35047 fi
35048
35049 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
35050 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35051 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
35052 fi
35053
35054 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
35055 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35056 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
35057 fi
35058
35059 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
35060 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35061 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
35062 fi
35063
35064 COND_SHARED_1="#"
35065 if test "x$SHARED" = "x1" ; then
35066 COND_SHARED_1=""
35067 fi
35068
35069 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
35070 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35071 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
35072 fi
35073
35074 COND_TOOLKIT_COCOA="#"
35075 if test "x$TOOLKIT" = "xCOCOA" ; then
35076 COND_TOOLKIT_COCOA=""
35077 fi
35078
35079 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
35080 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35081 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
35082 fi
35083
35084 COND_TOOLKIT_GTK="#"
35085 if test "x$TOOLKIT" = "xGTK" ; then
35086 COND_TOOLKIT_GTK=""
35087 fi
35088
35089 COND_TOOLKIT_GTK_USE_GUI_1="#"
35090 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35091 COND_TOOLKIT_GTK_USE_GUI_1=""
35092 fi
35093
35094 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
35095 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35096 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
35097 fi
35098
35099 COND_TOOLKIT_MAC="#"
35100 if test "x$TOOLKIT" = "xMAC" ; then
35101 COND_TOOLKIT_MAC=""
35102 fi
35103
35104 COND_TOOLKIT_MAC_USE_GUI_1="#"
35105 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35106 COND_TOOLKIT_MAC_USE_GUI_1=""
35107 fi
35108
35109 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
35110 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35111 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
35112 fi
35113
35114 COND_TOOLKIT_MGL="#"
35115 if test "x$TOOLKIT" = "xMGL" ; then
35116 COND_TOOLKIT_MGL=""
35117 fi
35118
35119 COND_TOOLKIT_MGL_USE_GUI_1="#"
35120 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35121 COND_TOOLKIT_MGL_USE_GUI_1=""
35122 fi
35123
35124 COND_TOOLKIT_MOTIF="#"
35125 if test "x$TOOLKIT" = "xMOTIF" ; then
35126 COND_TOOLKIT_MOTIF=""
35127 fi
35128
35129 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
35130 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35131 COND_TOOLKIT_MOTIF_USE_GUI_1=""
35132 fi
35133
35134 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
35135 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35136 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
35137 fi
35138
35139 COND_TOOLKIT_MSW="#"
35140 if test "x$TOOLKIT" = "xMSW" ; then
35141 COND_TOOLKIT_MSW=""
35142 fi
35143
35144 COND_TOOLKIT_MSW_USE_GUI_1="#"
35145 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35146 COND_TOOLKIT_MSW_USE_GUI_1=""
35147 fi
35148
35149 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
35150 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35151 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
35152 fi
35153
35154 COND_TOOLKIT_OS2="#"
35155 if test "x$TOOLKIT" = "xOS2" ; then
35156 COND_TOOLKIT_OS2=""
35157 fi
35158
35159 COND_TOOLKIT_OS2_USE_GUI_1="#"
35160 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" ; then
35161 COND_TOOLKIT_OS2_USE_GUI_1=""
35162 fi
35163
35164 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0="#"
35165 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35166 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0=""
35167 fi
35168
35169 COND_TOOLKIT_PM="#"
35170 if test "x$TOOLKIT" = "xPM" ; then
35171 COND_TOOLKIT_PM=""
35172 fi
35173
35174 COND_TOOLKIT_PM_USE_GUI_1="#"
35175 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
35176 COND_TOOLKIT_PM_USE_GUI_1=""
35177 fi
35178
35179 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
35180 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35181 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
35182 fi
35183
35184 COND_TOOLKIT_X11="#"
35185 if test "x$TOOLKIT" = "xX11" ; then
35186 COND_TOOLKIT_X11=""
35187 fi
35188
35189 COND_TOOLKIT_X11_USE_GUI_1="#"
35190 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35191 COND_TOOLKIT_X11_USE_GUI_1=""
35192 fi
35193
35194 COND_UNICODE_1="#"
35195 if test "x$UNICODE" = "x1" ; then
35196 COND_UNICODE_1=""
35197 fi
35198
35199 COND_USE_GUI_0="#"
35200 if test "x$USE_GUI" = "x0" ; then
35201 COND_USE_GUI_0=""
35202 fi
35203
35204 COND_USE_GUI_1="#"
35205 if test "x$USE_GUI" = "x1" ; then
35206 COND_USE_GUI_1=""
35207 fi
35208
35209 COND_USE_GUI_1_WXUNIV_0="#"
35210 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35211 COND_USE_GUI_1_WXUNIV_0=""
35212 fi
35213
35214 COND_USE_GUI_1_WXUNIV_1="#"
35215 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35216 COND_USE_GUI_1_WXUNIV_1=""
35217 fi
35218
35219 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35220 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35221 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35222 fi
35223
35224 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35225 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35226 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35227 fi
35228
35229 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35230 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35231 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35232 fi
35233
35234 COND_USE_SOSYMLINKS_1="#"
35235 if test "x$USE_SOSYMLINKS" = "x1" ; then
35236 COND_USE_SOSYMLINKS_1=""
35237 fi
35238
35239 COND_USE_SOVERLINUX_1="#"
35240 if test "x$USE_SOVERLINUX" = "x1" ; then
35241 COND_USE_SOVERLINUX_1=""
35242 fi
35243
35244 COND_USE_SOVERSION_0="#"
35245 if test "x$USE_SOVERSION" = "x0" ; then
35246 COND_USE_SOVERSION_0=""
35247 fi
35248
35249 COND_USE_SOVERSOLARIS_1="#"
35250 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35251 COND_USE_SOVERSOLARIS_1=""
35252 fi
35253
35254 COND_WXUNIV_1="#"
35255 if test "x$WXUNIV" = "x1" ; then
35256 COND_WXUNIV_1=""
35257 fi
35258
35259 COND_WXUSE_EXPAT_BUILTIN="#"
35260 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35261 COND_WXUSE_EXPAT_BUILTIN=""
35262 fi
35263
35264 COND_WXUSE_LIBJPEG_BUILTIN="#"
35265 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35266 COND_WXUSE_LIBJPEG_BUILTIN=""
35267 fi
35268
35269 COND_WXUSE_LIBPNG_BUILTIN="#"
35270 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35271 COND_WXUSE_LIBPNG_BUILTIN=""
35272 fi
35273
35274 COND_WXUSE_LIBTIFF_BUILTIN="#"
35275 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35276 COND_WXUSE_LIBTIFF_BUILTIN=""
35277 fi
35278
35279 COND_WXUSE_ODBC_BUILTIN="#"
35280 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35281 COND_WXUSE_ODBC_BUILTIN=""
35282 fi
35283
35284 COND_WXUSE_REGEX_BUILTIN="#"
35285 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35286 COND_WXUSE_REGEX_BUILTIN=""
35287 fi
35288
35289 COND_WXUSE_ZLIB_BUILTIN="#"
35290 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35291 COND_WXUSE_ZLIB_BUILTIN=""
35292 fi
35293
35294
35295
35296
35297
35298if test $GCC_PCH = 1 ; then
35299 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35300else
35301 case "${host}" in
35302 powerpc-*-darwin* )
35303 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
35304 ;;
35305 esac
35306fi
35307case "${host}" in
35308 powerpc-*-darwin* )
35309 CODE_GEN_FLAGS_CXX="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
35310 ;;
35311esac
35312
35313
35314SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35315
35316
35317
35318
35319
35320
35321
35322
35323
35324
35325
35326
35327
35328
35329
35330
35331
35332
35333
35334
35335
35336
35337
35338
35339
35340
35341
35342
35343
35344
35345
35346
35347
35348
35349
35350
35351
35352
35353
35354
35355
35356
35357
35358
35359
35360
35361
35362
35363
35364
35365
35366
35367
35368
35369
35370
35371
35372
35373
35374
35375
35376
35377
35378
35379
35380
35381
35382
35383
35384
35385
35386
35387
35388
35389
35390
35391
35392
35393
35394
35395
35396
35397
35398
35399
35400
35401
35402
35403
35404
35405
35406
35407
35408
35409
35410
35411
35412
35413
35414
35415echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35416echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35417set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
35418if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35419 echo $ECHO_N "(cached) $ECHO_C" >&6
35420else
35421 cat >conftest.make <<\_ACEOF
35422all:
35423 @echo 'ac_maketemp="$(MAKE)"'
35424_ACEOF
35425# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35426eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35427if test -n "$ac_maketemp"; then
35428 eval ac_cv_prog_make_${ac_make}_set=yes
35429else
35430 eval ac_cv_prog_make_${ac_make}_set=no
35431fi
35432rm -f conftest.make
35433fi
35434if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35435 echo "$as_me:$LINENO: result: yes" >&5
35436echo "${ECHO_T}yes" >&6
35437 SET_MAKE=
35438else
35439 echo "$as_me:$LINENO: result: no" >&5
35440echo "${ECHO_T}no" >&6
35441 SET_MAKE="MAKE=${MAKE-make}"
35442fi
35443
35444
35445if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
35446 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
35447fi
35448
35449 ac_config_headers="$ac_config_headers setup.h"
35450
35451
35452 ac_config_files="$ac_config_files wx-config version-script Makefile"
35453
35454
35455 ac_config_commands="$ac_config_commands default"
35456
35457
35458
35459if test "$wxUSE_GUI" = "yes"; then
35460 SUBDIRS="samples demos utils contrib"
35461else SUBDIRS="samples utils"
35462fi
35463
35464for subdir in `echo $SUBDIRS`; do
35465 if test -d ${srcdir}/${subdir} ; then
35466 if test "$wxUSE_GUI" = "yes"; then
35467 if test ${subdir} = "samples"; then
35468 makefiles="samples/Makefile.in $makefiles"
35469 for sample in `echo $SAMPLES_SUBDIRS`; do
35470 if test -d $srcdir/samples/$sample; then
35471 makefiles="samples/$sample/Makefile.in $makefiles"
35472 fi
35473 done
35474 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
35475 fi
35476 else if test ${subdir} = "samples"; then
35477 makefiles="samples/Makefile.in samples/console/Makefile.in"
35478 else makefiles="utils/HelpGen/Makefile.in \
35479 utils/HelpGen/src/Makefile.in \
35480 utils/makegen/Makefile.in"
35481 fi
35482 fi
35483
35484 for mkin in $makefiles ; do
35485 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35486 ac_config_files="$ac_config_files $mk"
35487
35488 done
35489 fi
35490done
35491
35492
35493cat >confcache <<\_ACEOF
35494# This file is a shell script that caches the results of configure
35495# tests run on this system so they can be shared between configure
35496# scripts and configure runs, see configure's option --config-cache.
35497# It is not useful on other systems. If it contains results you don't
35498# want to keep, you may remove or edit it.
35499#
35500# config.status only pays attention to the cache file if you give it
35501# the --recheck option to rerun configure.
35502#
35503# `ac_cv_env_foo' variables (set or unset) will be overridden when
35504# loading this file, other *unset* `ac_cv_foo' will be assigned the
35505# following values.
35506
35507_ACEOF
35508
35509# The following way of writing the cache mishandles newlines in values,
35510# but we know of no workaround that is simple, portable, and efficient.
35511# So, don't put newlines in cache variables' values.
35512# Ultrix sh set writes to stderr and can't be redirected directly,
35513# and sets the high bit in the cache file unless we assign to the vars.
35514{
35515 (set) 2>&1 |
35516 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35517 *ac_space=\ *)
35518 # `set' does not quote correctly, so add quotes (double-quote
35519 # substitution turns \\\\ into \\, and sed turns \\ into \).
35520 sed -n \
35521 "s/'/'\\\\''/g;
35522 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35523 ;;
35524 *)
35525 # `set' quotes correctly as required by POSIX, so do not add quotes.
35526 sed -n \
35527 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35528 ;;
35529 esac;
35530} |
35531 sed '
35532 t clear
35533 : clear
35534 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35535 t end
35536 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35537 : end' >>confcache
35538if diff $cache_file confcache >/dev/null 2>&1; then :; else
35539 if test -w $cache_file; then
35540 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35541 cat confcache >$cache_file
35542 else
35543 echo "not updating unwritable cache $cache_file"
35544 fi
35545fi
35546rm -f confcache
35547
35548test "x$prefix" = xNONE && prefix=$ac_default_prefix
35549# Let make expand exec_prefix.
35550test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
35551
35552# VPATH may cause trouble with some makes, so we remove $(srcdir),
35553# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35554# trailing colons and then remove the whole line if VPATH becomes empty
35555# (actually we leave an empty line to preserve line numbers).
35556if test "x$srcdir" = x.; then
35557 ac_vpsub='/^[ ]*VPATH[ ]*=/{
35558s/:*\$(srcdir):*/:/;
35559s/:*\${srcdir}:*/:/;
35560s/:*@srcdir@:*/:/;
35561s/^\([^=]*=[ ]*\):*/\1/;
35562s/:*$//;
35563s/^[^=]*=[ ]*$//;
35564}'
35565fi
35566
35567DEFS=-DHAVE_CONFIG_H
35568
35569ac_libobjs=
35570ac_ltlibobjs=
35571for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
35572 # 1. Remove the extension, and $U if already installed.
35573 ac_i=`echo "$ac_i" |
35574 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35575 # 2. Add them.
35576 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
35577 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
35578done
35579LIBOBJS=$ac_libobjs
35580
35581LTLIBOBJS=$ac_ltlibobjs
35582
35583
35584
35585: ${CONFIG_STATUS=./config.status}
35586ac_clean_files_save=$ac_clean_files
35587ac_clean_files="$ac_clean_files $CONFIG_STATUS"
35588{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35589echo "$as_me: creating $CONFIG_STATUS" >&6;}
35590cat >$CONFIG_STATUS <<_ACEOF
35591#! $SHELL
35592# Generated by $as_me.
35593# Run this file to recreate the current configuration.
35594# Compiler output produced by configure, useful for debugging
35595# configure, is in config.log if it exists.
35596
35597debug=false
35598ac_cs_recheck=false
35599ac_cs_silent=false
35600SHELL=\${CONFIG_SHELL-$SHELL}
35601_ACEOF
35602
35603cat >>$CONFIG_STATUS <<\_ACEOF
35604## --------------------- ##
35605## M4sh Initialization. ##
35606## --------------------- ##
35607
35608# Be Bourne compatible
35609if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
35610 emulate sh
35611 NULLCMD=:
35612 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35613 # is contrary to our usage. Disable this feature.
35614 alias -g '${1+"$@"}'='"$@"'
35615elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
35616 set -o posix
35617fi
35618
35619# Support unset when possible.
35620if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
35621 as_unset=unset
35622else
35623 as_unset=false
35624fi
35625
35626
35627# Work around bugs in pre-3.0 UWIN ksh.
35628$as_unset ENV MAIL MAILPATH
35629PS1='$ '
35630PS2='> '
35631PS4='+ '
35632
35633# NLS nuisances.
35634for as_var in \
35635 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35636 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35637 LC_TELEPHONE LC_TIME
35638do
35639 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35640 eval $as_var=C; export $as_var
35641 else
35642 $as_unset $as_var
35643 fi
35644done
35645
35646# Required to use basename.
35647if expr a : '\(a\)' >/dev/null 2>&1; then
35648 as_expr=expr
35649else
35650 as_expr=false
35651fi
35652
35653if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
35654 as_basename=basename
35655else
35656 as_basename=false
35657fi
35658
35659
35660# Name of the executable.
35661as_me=`$as_basename "$0" ||
35662$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35663 X"$0" : 'X\(//\)$' \| \
35664 X"$0" : 'X\(/\)$' \| \
35665 . : '\(.\)' 2>/dev/null ||
35666echo X/"$0" |
35667 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
35668 /^X\/\(\/\/\)$/{ s//\1/; q; }
35669 /^X\/\(\/\).*/{ s//\1/; q; }
35670 s/.*/./; q'`
35671
35672
35673# PATH needs CR, and LINENO needs CR and PATH.
35674# Avoid depending upon Character Ranges.
35675as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35676as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35677as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35678as_cr_digits='0123456789'
35679as_cr_alnum=$as_cr_Letters$as_cr_digits
35680
35681# The user is always right.
35682if test "${PATH_SEPARATOR+set}" != set; then
35683 echo "#! /bin/sh" >conf$$.sh
35684 echo "exit 0" >>conf$$.sh
35685 chmod +x conf$$.sh
35686 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
35687 PATH_SEPARATOR=';'
35688 else
35689 PATH_SEPARATOR=:
35690 fi
35691 rm -f conf$$.sh
35692fi
35693
35694
35695 as_lineno_1=$LINENO
35696 as_lineno_2=$LINENO
35697 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35698 test "x$as_lineno_1" != "x$as_lineno_2" &&
35699 test "x$as_lineno_3" = "x$as_lineno_2" || {
35700 # Find who we are. Look in the path if we contain no path at all
35701 # relative or not.
35702 case $0 in
35703 *[\\/]* ) as_myself=$0 ;;
35704 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35705for as_dir in $PATH
35706do
35707 IFS=$as_save_IFS
35708 test -z "$as_dir" && as_dir=.
35709 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
35710done
35711
35712 ;;
35713 esac
35714 # We did not find ourselves, most probably we were run as `sh COMMAND'
35715 # in which case we are not to be found in the path.
35716 if test "x$as_myself" = x; then
35717 as_myself=$0
35718 fi
35719 if test ! -f "$as_myself"; then
35720 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35721echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35722 { (exit 1); exit 1; }; }
35723 fi
35724 case $CONFIG_SHELL in
35725 '')
35726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35727for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
35728do
35729 IFS=$as_save_IFS
35730 test -z "$as_dir" && as_dir=.
35731 for as_base in sh bash ksh sh5; do
35732 case $as_dir in
35733 /*)
35734 if ("$as_dir/$as_base" -c '
35735 as_lineno_1=$LINENO
35736 as_lineno_2=$LINENO
35737 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35738 test "x$as_lineno_1" != "x$as_lineno_2" &&
35739 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
35740 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
35741 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
35742 CONFIG_SHELL=$as_dir/$as_base
35743 export CONFIG_SHELL
35744 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35745 fi;;
35746 esac
35747 done
35748done
35749;;
35750 esac
35751
35752 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35753 # uniformly replaced by the line number. The first 'sed' inserts a
35754 # line-number line before each line; the second 'sed' does the real
35755 # work. The second script uses 'N' to pair each line-number line
35756 # with the numbered line, and appends trailing '-' during
35757 # substitution so that $LINENO is not a special case at line end.
35758 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35759 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35760 sed '=' <$as_myself |
35761 sed '
35762 N
35763 s,$,-,
35764 : loop
35765 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35766 t loop
35767 s,-$,,
35768 s,^['$as_cr_digits']*\n,,
35769 ' >$as_me.lineno &&
35770 chmod +x $as_me.lineno ||
35771 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35772echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35773 { (exit 1); exit 1; }; }
35774
35775 # Don't try to exec as it changes $[0], causing all sort of problems
35776 # (the dirname of $[0] is not the place where we might find the
35777 # original and so on. Autoconf is especially sensible to this).
35778 . ./$as_me.lineno
35779 # Exit status is that of the last command.
35780 exit
35781}
35782
35783
35784case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35785 *c*,-n*) ECHO_N= ECHO_C='
35786' ECHO_T=' ' ;;
35787 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
35788 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
35789esac
35790
35791if expr a : '\(a\)' >/dev/null 2>&1; then
35792 as_expr=expr
35793else
35794 as_expr=false
35795fi
35796
35797rm -f conf$$ conf$$.exe conf$$.file
35798echo >conf$$.file
35799if ln -s conf$$.file conf$$ 2>/dev/null; then
35800 # We could just check for DJGPP; but this test a) works b) is more generic
35801 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35802 if test -f conf$$.exe; then
35803 # Don't use ln at all; we don't have any links
35804 as_ln_s='cp -p'
35805 else
35806 as_ln_s='ln -s'
35807 fi
35808elif ln conf$$.file conf$$ 2>/dev/null; then
35809 as_ln_s=ln
35810else
35811 as_ln_s='cp -p'
35812fi
35813rm -f conf$$ conf$$.exe conf$$.file
35814
35815if mkdir -p . 2>/dev/null; then
35816 as_mkdir_p=:
35817else
35818 as_mkdir_p=false
35819fi
35820
35821as_executable_p="test -f"
35822
35823# Sed expression to map a string onto a valid CPP name.
35824as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35825
35826# Sed expression to map a string onto a valid variable name.
35827as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35828
35829
35830# IFS
35831# We need space, tab and new line, in precisely that order.
35832as_nl='
35833'
35834IFS=" $as_nl"
35835
35836# CDPATH.
35837$as_unset CDPATH
35838
35839exec 6>&1
35840
35841# Open the log real soon, to keep \$[0] and so on meaningful, and to
35842# report actual input values of CONFIG_FILES etc. instead of their
35843# values after options handling. Logging --version etc. is OK.
35844exec 5>>config.log
35845{
35846 echo
35847 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35848## Running $as_me. ##
35849_ASBOX
35850} >&5
35851cat >&5 <<_CSEOF
35852
35853This file was extended by wxWindows $as_me 2.5.0, which was
35854generated by GNU Autoconf 2.57. Invocation command line was
35855
35856 CONFIG_FILES = $CONFIG_FILES
35857 CONFIG_HEADERS = $CONFIG_HEADERS
35858 CONFIG_LINKS = $CONFIG_LINKS
35859 CONFIG_COMMANDS = $CONFIG_COMMANDS
35860 $ $0 $@
35861
35862_CSEOF
35863echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35864echo >&5
35865_ACEOF
35866
35867# Files that config.status was made for.
35868if test -n "$ac_config_files"; then
35869 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35870fi
35871
35872if test -n "$ac_config_headers"; then
35873 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35874fi
35875
35876if test -n "$ac_config_links"; then
35877 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35878fi
35879
35880if test -n "$ac_config_commands"; then
35881 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35882fi
35883
35884cat >>$CONFIG_STATUS <<\_ACEOF
35885
35886ac_cs_usage="\
35887\`$as_me' instantiates files from templates according to the
35888current configuration.
35889
35890Usage: $0 [OPTIONS] [FILE]...
35891
35892 -h, --help print this help, then exit
35893 -V, --version print version number, then exit
35894 -q, --quiet do not print progress messages
35895 -d, --debug don't remove temporary files
35896 --recheck update $as_me by reconfiguring in the same conditions
35897 --file=FILE[:TEMPLATE]
35898 instantiate the configuration file FILE
35899 --header=FILE[:TEMPLATE]
35900 instantiate the configuration header FILE
35901
35902Configuration files:
35903$config_files
35904
35905Configuration headers:
35906$config_headers
35907
35908Configuration commands:
35909$config_commands
35910
35911Report bugs to <bug-autoconf@gnu.org>."
35912_ACEOF
35913
35914cat >>$CONFIG_STATUS <<_ACEOF
35915ac_cs_version="\\
35916wxWindows config.status 2.5.0
35917configured by $0, generated by GNU Autoconf 2.57,
35918 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35919
35920Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35921Free Software Foundation, Inc.
35922This config.status script is free software; the Free Software Foundation
35923gives unlimited permission to copy, distribute and modify it."
35924srcdir=$srcdir
35925INSTALL="$INSTALL"
35926_ACEOF
35927
35928cat >>$CONFIG_STATUS <<\_ACEOF
35929# If no file are specified by the user, then we need to provide default
35930# value. By we need to know if files were specified by the user.
35931ac_need_defaults=:
35932while test $# != 0
35933do
35934 case $1 in
35935 --*=*)
35936 ac_option=`expr "x$1" : 'x\([^=]*\)='`
35937 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
35938 ac_shift=:
35939 ;;
35940 -*)
35941 ac_option=$1
35942 ac_optarg=$2
35943 ac_shift=shift
35944 ;;
35945 *) # This is not an option, so the user has probably given explicit
35946 # arguments.
35947 ac_option=$1
35948 ac_need_defaults=false;;
35949 esac
35950
35951 case $ac_option in
35952 # Handling of the options.
35953_ACEOF
35954cat >>$CONFIG_STATUS <<\_ACEOF
35955 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35956 ac_cs_recheck=: ;;
35957 --version | --vers* | -V )
35958 echo "$ac_cs_version"; exit 0 ;;
35959 --he | --h)
35960 # Conflict between --help and --header
35961 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35962Try \`$0 --help' for more information." >&5
35963echo "$as_me: error: ambiguous option: $1
35964Try \`$0 --help' for more information." >&2;}
35965 { (exit 1); exit 1; }; };;
35966 --help | --hel | -h )
35967 echo "$ac_cs_usage"; exit 0 ;;
35968 --debug | --d* | -d )
35969 debug=: ;;
35970 --file | --fil | --fi | --f )
35971 $ac_shift
35972 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
35973 ac_need_defaults=false;;
35974 --header | --heade | --head | --hea )
35975 $ac_shift
35976 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
35977 ac_need_defaults=false;;
35978 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35979 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35980 ac_cs_silent=: ;;
35981
35982 # This is an error.
35983 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35984Try \`$0 --help' for more information." >&5
35985echo "$as_me: error: unrecognized option: $1
35986Try \`$0 --help' for more information." >&2;}
35987 { (exit 1); exit 1; }; } ;;
35988
35989 *) ac_config_targets="$ac_config_targets $1" ;;
35990
35991 esac
35992 shift
35993done
35994
35995ac_configure_extra_args=
35996
35997if $ac_cs_silent; then
35998 exec 6>/dev/null
35999 ac_configure_extra_args="$ac_configure_extra_args --silent"
36000fi
36001
36002_ACEOF
36003cat >>$CONFIG_STATUS <<_ACEOF
36004if \$ac_cs_recheck; then
36005 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
36006 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36007fi
36008
36009_ACEOF
36010
36011cat >>$CONFIG_STATUS <<_ACEOF
36012#
36013# INIT-COMMANDS section.
36014#
36015
36016
36017 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36018 LN_S="${LN_S}"
36019
36020
36021
36022_ACEOF
36023
36024
36025
36026cat >>$CONFIG_STATUS <<\_ACEOF
36027for ac_config_target in $ac_config_targets
36028do
36029 case "$ac_config_target" in
36030 # Handling of arguments.
36031 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
36032 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
36033 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
36034 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
36035 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
36036 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
36037 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36038echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36039 { (exit 1); exit 1; }; };;
36040 esac
36041done
36042
36043# If the user did not use the arguments to specify the items to instantiate,
36044# then the envvar interface is used. Set only those that are not.
36045# We use the long form for the default assignment because of an extremely
36046# bizarre bug on SunOS 4.1.3.
36047if $ac_need_defaults; then
36048 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
36049 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
36050 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
36051fi
36052
36053# Have a temporary directory for convenience. Make it in the build tree
36054# simply because there is no reason to put it here, and in addition,
36055# creating and moving files from /tmp can sometimes cause problems.
36056# Create a temporary directory, and hook for its removal unless debugging.
36057$debug ||
36058{
36059 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36060 trap '{ (exit 1); exit 1; }' 1 2 13 15
36061}
36062
36063# Create a (secure) tmp directory for tmp files.
36064
36065{
36066 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36067 test -n "$tmp" && test -d "$tmp"
36068} ||
36069{
36070 tmp=./confstat$$-$RANDOM
36071 (umask 077 && mkdir $tmp)
36072} ||
36073{
36074 echo "$me: cannot create a temporary directory in ." >&2
36075 { (exit 1); exit 1; }
36076}
36077
36078_ACEOF
36079
36080cat >>$CONFIG_STATUS <<_ACEOF
36081
36082#
36083# CONFIG_FILES section.
36084#
36085
36086# No need to generate the scripts if there are no CONFIG_FILES.
36087# This happens for instance when ./config.status config.h
36088if test -n "\$CONFIG_FILES"; then
36089 # Protect against being on the right side of a sed subst in config.status.
36090 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36091 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36092s,@SHELL@,$SHELL,;t t
36093s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36094s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36095s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36096s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36097s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36098s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36099s,@exec_prefix@,$exec_prefix,;t t
36100s,@prefix@,$prefix,;t t
36101s,@program_transform_name@,$program_transform_name,;t t
36102s,@bindir@,$bindir,;t t
36103s,@sbindir@,$sbindir,;t t
36104s,@libexecdir@,$libexecdir,;t t
36105s,@datadir@,$datadir,;t t
36106s,@sysconfdir@,$sysconfdir,;t t
36107s,@sharedstatedir@,$sharedstatedir,;t t
36108s,@localstatedir@,$localstatedir,;t t
36109s,@libdir@,$libdir,;t t
36110s,@includedir@,$includedir,;t t
36111s,@oldincludedir@,$oldincludedir,;t t
36112s,@infodir@,$infodir,;t t
36113s,@mandir@,$mandir,;t t
36114s,@build_alias@,$build_alias,;t t
36115s,@host_alias@,$host_alias,;t t
36116s,@target_alias@,$target_alias,;t t
36117s,@DEFS@,$DEFS,;t t
36118s,@ECHO_C@,$ECHO_C,;t t
36119s,@ECHO_N@,$ECHO_N,;t t
36120s,@ECHO_T@,$ECHO_T,;t t
36121s,@LIBS@,$LIBS,;t t
36122s,@build@,$build,;t t
36123s,@build_cpu@,$build_cpu,;t t
36124s,@build_vendor@,$build_vendor,;t t
36125s,@build_os@,$build_os,;t t
36126s,@host@,$host,;t t
36127s,@host_cpu@,$host_cpu,;t t
36128s,@host_vendor@,$host_vendor,;t t
36129s,@host_os@,$host_os,;t t
36130s,@target@,$target,;t t
36131s,@target_cpu@,$target_cpu,;t t
36132s,@target_vendor@,$target_vendor,;t t
36133s,@target_os@,$target_os,;t t
36134s,@CC@,$CC,;t t
36135s,@CFLAGS@,$CFLAGS,;t t
36136s,@LDFLAGS@,$LDFLAGS,;t t
36137s,@CPPFLAGS@,$CPPFLAGS,;t t
36138s,@ac_ct_CC@,$ac_ct_CC,;t t
36139s,@EXEEXT@,$EXEEXT,;t t
36140s,@OBJEXT@,$OBJEXT,;t t
36141s,@CPP@,$CPP,;t t
36142s,@EGREP@,$EGREP,;t t
36143s,@CXX@,$CXX,;t t
36144s,@CXXFLAGS@,$CXXFLAGS,;t t
36145s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36146s,@RANLIB@,$RANLIB,;t t
36147s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36148s,@AR@,$AR,;t t
36149s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36150s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36151s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36152s,@STRIP@,$STRIP,;t t
36153s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36154s,@LN_S@,$LN_S,;t t
36155s,@CXXCPP@,$CXXCPP,;t t
36156s,@subdirs@,$subdirs,;t t
36157s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36158s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36159s,@GTK_LIBS@,$GTK_LIBS,;t t
36160s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36161s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36162s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36163s,@X_CFLAGS@,$X_CFLAGS,;t t
36164s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36165s,@X_LIBS@,$X_LIBS,;t t
36166s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36167s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36168s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36169s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36170s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36171s,@RESCOMP@,$RESCOMP,;t t
36172s,@DEREZ@,$DEREZ,;t t
36173s,@SETFILE@,$SETFILE,;t t
36174s,@LIBICONV@,$LIBICONV,;t t
36175s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36176s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36177s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36178s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36179s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36180s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36181s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36182s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36183s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36184s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36185s,@VENDOR@,$VENDOR,;t t
36186s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36187s,@WXUNIV@,$WXUNIV,;t t
36188s,@MONOLITHIC@,$MONOLITHIC,;t t
36189s,@EXTRALIBS@,$EXTRALIBS,;t t
36190s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36191s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36192s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36193s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36194s,@UNICODE@,$UNICODE,;t t
36195s,@BUILD@,$BUILD,;t t
36196s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36197s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36198s,@SHARED@,$SHARED,;t t
36199s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36200s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36201s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36202s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36203s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36204s,@SET_MAKE@,$SET_MAKE,;t t
36205s,@MAKE_SET@,$MAKE_SET,;t t
36206s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36207s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36208s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36209s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36210s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36211s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36212s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36213s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
36214s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36215s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36216s,@LIBPREFIX@,$LIBPREFIX,;t t
36217s,@DLLPREFIX@,$DLLPREFIX,;t t
36218s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36219s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36220s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36221s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36222s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36223s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36224s,@PIC_FLAG@,$PIC_FLAG,;t t
36225s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36226s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36227s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36228s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36229s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36230s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36231s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36232s,@GCC_PCH@,$GCC_PCH,;t t
36233s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36234s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36235s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36236s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36237s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36238s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36239s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36240s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36241s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36242s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36243s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36244s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36245s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36246s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36247s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1,;t t
36248s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36249s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36250s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36251s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36252s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1,;t t
36253s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36254s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36255s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36256s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36257s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36258s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36259s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36260s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36261s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36262s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36263s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36264s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36265s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36266s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36267s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
36268s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36269s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36270s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36271s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36272s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36273s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36274s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36275s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36276s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36277s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36278s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36279s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36280s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36281s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36282s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36283s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36284s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36285s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36286s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36287s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36288s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36289s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36290s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36291s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36292s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36293s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36294s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36295s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36296s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36297s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36298s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36299s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
36300s,@COND_TOOLKIT_OS2_USE_GUI_1@,$COND_TOOLKIT_OS2_USE_GUI_1,;t t
36301s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
36302s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
36303s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
36304s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
36305s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36306s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36307s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36308s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36309s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36310s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36311s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36312s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36313s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36314s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36315s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36316s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36317s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36318s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36319s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36320s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36321s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36322s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36323s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36324s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36325s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36326s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36327s,@PATH_IFS@,$PATH_IFS,;t t
36328s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36329s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36330s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36331s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36332s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36333s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36334s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36335s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36336s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36337s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36338s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36339s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36340s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36341s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36342s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36343s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36344s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36345s,@WX_ALL@,$WX_ALL,;t t
36346s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36347s,@SHARED_LD@,$SHARED_LD,;t t
36348s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36349s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36350s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36351s,@USE_GUI@,$USE_GUI,;t t
36352s,@AFMINSTALL@,$AFMINSTALL,;t t
36353s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36354s,@TOOLKIT@,$TOOLKIT,;t t
36355s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36356s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36357s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36358s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36359s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36360s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36361s,@cross_compiling@,$cross_compiling,;t t
36362s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36363s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36364s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36365s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36366s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36367s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36368s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36369s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36370s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36371s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36372s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36373s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36374s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36375s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36376s,@GUIDIST@,$GUIDIST,;t t
36377s,@PORT_FILES@,$PORT_FILES,;t t
36378s,@DISTDIR@,$DISTDIR,;t t
36379s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36380s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36381s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36382s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36383s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36384s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36385s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36386s,@RESFLAGS@,$RESFLAGS,;t t
36387s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36388s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36389s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36390s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36391s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36392s,@MACRESCOMP@,$MACRESCOMP,;t t
36393s,@MACSETFILE@,$MACSETFILE,;t t
36394s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36395s,@GCC@,$GCC,;t t
36396s,@DLLTOOL@,$DLLTOOL,;t t
36397s,@AS@,$AS,;t t
36398s,@NM@,$NM,;t t
36399s,@LD@,$LD,;t t
36400s,@MAKEINFO@,$MAKEINFO,;t t
36401s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36402s,@LIBOBJS@,$LIBOBJS,;t t
36403s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36404CEOF
36405
36406_ACEOF
36407
36408 cat >>$CONFIG_STATUS <<\_ACEOF
36409 # Split the substitutions into bite-sized pieces for seds with
36410 # small command number limits, like on Digital OSF/1 and HP-UX.
36411 ac_max_sed_lines=48
36412 ac_sed_frag=1 # Number of current file.
36413 ac_beg=1 # First line for current file.
36414 ac_end=$ac_max_sed_lines # Line after last line for current file.
36415 ac_more_lines=:
36416 ac_sed_cmds=
36417 while $ac_more_lines; do
36418 if test $ac_beg -gt 1; then
36419 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36420 else
36421 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36422 fi
36423 if test ! -s $tmp/subs.frag; then
36424 ac_more_lines=false
36425 else
36426 # The purpose of the label and of the branching condition is to
36427 # speed up the sed processing (if there are no `@' at all, there
36428 # is no need to browse any of the substitutions).
36429 # These are the two extra sed commands mentioned above.
36430 (echo ':t
36431 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
36432 if test -z "$ac_sed_cmds"; then
36433 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
36434 else
36435 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36436 fi
36437 ac_sed_frag=`expr $ac_sed_frag + 1`
36438 ac_beg=$ac_end
36439 ac_end=`expr $ac_end + $ac_max_sed_lines`
36440 fi
36441 done
36442 if test -z "$ac_sed_cmds"; then
36443 ac_sed_cmds=cat
36444 fi
36445fi # test -n "$CONFIG_FILES"
36446
36447_ACEOF
36448cat >>$CONFIG_STATUS <<\_ACEOF
36449for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
36450 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36451 case $ac_file in
36452 - | *:- | *:-:* ) # input from stdin
36453 cat >$tmp/stdin
36454 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36455 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36456 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36457 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36458 * ) ac_file_in=$ac_file.in ;;
36459 esac
36460
36461 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36462 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36463$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36464 X"$ac_file" : 'X\(//\)[^/]' \| \
36465 X"$ac_file" : 'X\(//\)$' \| \
36466 X"$ac_file" : 'X\(/\)' \| \
36467 . : '\(.\)' 2>/dev/null ||
36468echo X"$ac_file" |
36469 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36470 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36471 /^X\(\/\/\)$/{ s//\1/; q; }
36472 /^X\(\/\).*/{ s//\1/; q; }
36473 s/.*/./; q'`
36474 { if $as_mkdir_p; then
36475 mkdir -p "$ac_dir"
36476 else
36477 as_dir="$ac_dir"
36478 as_dirs=
36479 while test ! -d "$as_dir"; do
36480 as_dirs="$as_dir $as_dirs"
36481 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36482$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36483 X"$as_dir" : 'X\(//\)[^/]' \| \
36484 X"$as_dir" : 'X\(//\)$' \| \
36485 X"$as_dir" : 'X\(/\)' \| \
36486 . : '\(.\)' 2>/dev/null ||
36487echo X"$as_dir" |
36488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36489 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36490 /^X\(\/\/\)$/{ s//\1/; q; }
36491 /^X\(\/\).*/{ s//\1/; q; }
36492 s/.*/./; q'`
36493 done
36494 test ! -n "$as_dirs" || mkdir $as_dirs
36495 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36496echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36497 { (exit 1); exit 1; }; }; }
36498
36499 ac_builddir=.
36500
36501if test "$ac_dir" != .; then
36502 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36503 # A "../" for each directory in $ac_dir_suffix.
36504 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36505else
36506 ac_dir_suffix= ac_top_builddir=
36507fi
36508
36509case $srcdir in
36510 .) # No --srcdir option. We are building in place.
36511 ac_srcdir=.
36512 if test -z "$ac_top_builddir"; then
36513 ac_top_srcdir=.
36514 else
36515 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36516 fi ;;
36517 [\\/]* | ?:[\\/]* ) # Absolute path.
36518 ac_srcdir=$srcdir$ac_dir_suffix;
36519 ac_top_srcdir=$srcdir ;;
36520 *) # Relative path.
36521 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36522 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36523esac
36524# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36525# absolute.
36526ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36527ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36528ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36529ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36530
36531
36532 case $INSTALL in
36533 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
36534 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
36535 esac
36536
36537 if test x"$ac_file" != x-; then
36538 { echo "$as_me:$LINENO: creating $ac_file" >&5
36539echo "$as_me: creating $ac_file" >&6;}
36540 rm -f "$ac_file"
36541 fi
36542 # Let's still pretend it is `configure' which instantiates (i.e., don't
36543 # use $as_me), people would be surprised to read:
36544 # /* config.h. Generated by config.status. */
36545 if test x"$ac_file" = x-; then
36546 configure_input=
36547 else
36548 configure_input="$ac_file. "
36549 fi
36550 configure_input=$configure_input"Generated from `echo $ac_file_in |
36551 sed 's,.*/,,'` by configure."
36552
36553 # First look for the input files in the build tree, otherwise in the
36554 # src tree.
36555 ac_file_inputs=`IFS=:
36556 for f in $ac_file_in; do
36557 case $f in
36558 -) echo $tmp/stdin ;;
36559 [\\/$]*)
36560 # Absolute (can't be DOS-style, as IFS=:)
36561 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36562echo "$as_me: error: cannot find input file: $f" >&2;}
36563 { (exit 1); exit 1; }; }
36564 echo $f;;
36565 *) # Relative
36566 if test -f "$f"; then
36567 # Build tree
36568 echo $f
36569 elif test -f "$srcdir/$f"; then
36570 # Source tree
36571 echo $srcdir/$f
36572 else
36573 # /dev/null tree
36574 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36575echo "$as_me: error: cannot find input file: $f" >&2;}
36576 { (exit 1); exit 1; }; }
36577 fi;;
36578 esac
36579 done` || { (exit 1); exit 1; }
36580_ACEOF
36581cat >>$CONFIG_STATUS <<_ACEOF
36582 sed "$ac_vpsub
36583$extrasub
36584_ACEOF
36585cat >>$CONFIG_STATUS <<\_ACEOF
36586:t
36587/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
36588s,@configure_input@,$configure_input,;t t
36589s,@srcdir@,$ac_srcdir,;t t
36590s,@abs_srcdir@,$ac_abs_srcdir,;t t
36591s,@top_srcdir@,$ac_top_srcdir,;t t
36592s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
36593s,@builddir@,$ac_builddir,;t t
36594s,@abs_builddir@,$ac_abs_builddir,;t t
36595s,@top_builddir@,$ac_top_builddir,;t t
36596s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
36597s,@INSTALL@,$ac_INSTALL,;t t
36598" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36599 rm -f $tmp/stdin
36600 if test x"$ac_file" != x-; then
36601 mv $tmp/out $ac_file
36602 else
36603 cat $tmp/out
36604 rm -f $tmp/out
36605 fi
36606
36607done
36608_ACEOF
36609cat >>$CONFIG_STATUS <<\_ACEOF
36610
36611#
36612# CONFIG_HEADER section.
36613#
36614
36615# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
36616# NAME is the cpp macro being defined and VALUE is the value it is being given.
36617#
36618# ac_d sets the value in "#define NAME VALUE" lines.
36619ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36620ac_dB='[ ].*$,\1#\2'
36621ac_dC=' '
36622ac_dD=',;t'
36623# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36624ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36625ac_uB='$,\1#\2define\3'
36626ac_uC=' '
36627ac_uD=',;t'
36628
36629for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
36630 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36631 case $ac_file in
36632 - | *:- | *:-:* ) # input from stdin
36633 cat >$tmp/stdin
36634 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36635 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36636 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36637 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36638 * ) ac_file_in=$ac_file.in ;;
36639 esac
36640
36641 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
36642echo "$as_me: creating $ac_file" >&6;}
36643
36644 # First look for the input files in the build tree, otherwise in the
36645 # src tree.
36646 ac_file_inputs=`IFS=:
36647 for f in $ac_file_in; do
36648 case $f in
36649 -) echo $tmp/stdin ;;
36650 [\\/$]*)
36651 # Absolute (can't be DOS-style, as IFS=:)
36652 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36653echo "$as_me: error: cannot find input file: $f" >&2;}
36654 { (exit 1); exit 1; }; }
36655 echo $f;;
36656 *) # Relative
36657 if test -f "$f"; then
36658 # Build tree
36659 echo $f
36660 elif test -f "$srcdir/$f"; then
36661 # Source tree
36662 echo $srcdir/$f
36663 else
36664 # /dev/null tree
36665 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36666echo "$as_me: error: cannot find input file: $f" >&2;}
36667 { (exit 1); exit 1; }; }
36668 fi;;
36669 esac
36670 done` || { (exit 1); exit 1; }
36671 # Remove the trailing spaces.
36672 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
36673
36674_ACEOF
36675
36676# Transform confdefs.h into two sed scripts, `conftest.defines' and
36677# `conftest.undefs', that substitutes the proper values into
36678# config.h.in to produce config.h. The first handles `#define'
36679# templates, and the second `#undef' templates.
36680# And first: Protect against being on the right side of a sed subst in
36681# config.status. Protect against being in an unquoted here document
36682# in config.status.
36683rm -f conftest.defines conftest.undefs
36684# Using a here document instead of a string reduces the quoting nightmare.
36685# Putting comments in sed scripts is not portable.
36686#
36687# `end' is used to avoid that the second main sed command (meant for
36688# 0-ary CPP macros) applies to n-ary macro definitions.
36689# See the Autoconf documentation for `clear'.
36690cat >confdef2sed.sed <<\_ACEOF
36691s/[\\&,]/\\&/g
36692s,[\\$`],\\&,g
36693t clear
36694: clear
36695s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
36696t end
36697s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
36698: end
36699_ACEOF
36700# If some macros were called several times there might be several times
36701# the same #defines, which is useless. Nevertheless, we may not want to
36702# sort them, since we want the *last* AC-DEFINE to be honored.
36703uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
36704sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
36705rm -f confdef2sed.sed
36706
36707# This sed command replaces #undef with comments. This is necessary, for
36708# example, in the case of _POSIX_SOURCE, which is predefined and required
36709# on some systems where configure will not decide to define it.
36710cat >>conftest.undefs <<\_ACEOF
36711s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
36712_ACEOF
36713
36714# Break up conftest.defines because some shells have a limit on the size
36715# of here documents, and old seds have small limits too (100 cmds).
36716echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
36717echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
36718echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
36719echo ' :' >>$CONFIG_STATUS
36720rm -f conftest.tail
36721while grep . conftest.defines >/dev/null
36722do
36723 # Write a limited-size here document to $tmp/defines.sed.
36724 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
36725 # Speed up: don't consider the non `#define' lines.
36726 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
36727 # Work around the forget-to-reset-the-flag bug.
36728 echo 't clr' >>$CONFIG_STATUS
36729 echo ': clr' >>$CONFIG_STATUS
36730 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
36731 echo 'CEOF
36732 sed -f $tmp/defines.sed $tmp/in >$tmp/out
36733 rm -f $tmp/in
36734 mv $tmp/out $tmp/in
36735' >>$CONFIG_STATUS
36736 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
36737 rm -f conftest.defines
36738 mv conftest.tail conftest.defines
36739done
36740rm -f conftest.defines
36741echo ' fi # grep' >>$CONFIG_STATUS
36742echo >>$CONFIG_STATUS
36743
36744# Break up conftest.undefs because some shells have a limit on the size
36745# of here documents, and old seds have small limits too (100 cmds).
36746echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
36747rm -f conftest.tail
36748while grep . conftest.undefs >/dev/null
36749do
36750 # Write a limited-size here document to $tmp/undefs.sed.
36751 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
36752 # Speed up: don't consider the non `#undef'
36753 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
36754 # Work around the forget-to-reset-the-flag bug.
36755 echo 't clr' >>$CONFIG_STATUS
36756 echo ': clr' >>$CONFIG_STATUS
36757 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
36758 echo 'CEOF
36759 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
36760 rm -f $tmp/in
36761 mv $tmp/out $tmp/in
36762' >>$CONFIG_STATUS
36763 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
36764 rm -f conftest.undefs
36765 mv conftest.tail conftest.undefs
36766done
36767rm -f conftest.undefs
36768
36769cat >>$CONFIG_STATUS <<\_ACEOF
36770 # Let's still pretend it is `configure' which instantiates (i.e., don't
36771 # use $as_me), people would be surprised to read:
36772 # /* config.h. Generated by config.status. */
36773 if test x"$ac_file" = x-; then
36774 echo "/* Generated by configure. */" >$tmp/config.h
36775 else
36776 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
36777 fi
36778 cat $tmp/in >>$tmp/config.h
36779 rm -f $tmp/in
36780 if test x"$ac_file" != x-; then
36781 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
36782 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36783echo "$as_me: $ac_file is unchanged" >&6;}
36784 else
36785 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36786$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36787 X"$ac_file" : 'X\(//\)[^/]' \| \
36788 X"$ac_file" : 'X\(//\)$' \| \
36789 X"$ac_file" : 'X\(/\)' \| \
36790 . : '\(.\)' 2>/dev/null ||
36791echo X"$ac_file" |
36792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36793 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36794 /^X\(\/\/\)$/{ s//\1/; q; }
36795 /^X\(\/\).*/{ s//\1/; q; }
36796 s/.*/./; q'`
36797 { if $as_mkdir_p; then
36798 mkdir -p "$ac_dir"
36799 else
36800 as_dir="$ac_dir"
36801 as_dirs=
36802 while test ! -d "$as_dir"; do
36803 as_dirs="$as_dir $as_dirs"
36804 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36805$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36806 X"$as_dir" : 'X\(//\)[^/]' \| \
36807 X"$as_dir" : 'X\(//\)$' \| \
36808 X"$as_dir" : 'X\(/\)' \| \
36809 . : '\(.\)' 2>/dev/null ||
36810echo X"$as_dir" |
36811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36812 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36813 /^X\(\/\/\)$/{ s//\1/; q; }
36814 /^X\(\/\).*/{ s//\1/; q; }
36815 s/.*/./; q'`
36816 done
36817 test ! -n "$as_dirs" || mkdir $as_dirs
36818 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36819echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36820 { (exit 1); exit 1; }; }; }
36821
36822 rm -f $ac_file
36823 mv $tmp/config.h $ac_file
36824 fi
36825 else
36826 cat $tmp/config.h
36827 rm -f $tmp/config.h
36828 fi
36829done
36830_ACEOF
36831cat >>$CONFIG_STATUS <<\_ACEOF
36832
36833#
36834# CONFIG_COMMANDS section.
36835#
36836for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
36837 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
36838 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
36839 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
36840$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36841 X"$ac_dest" : 'X\(//\)[^/]' \| \
36842 X"$ac_dest" : 'X\(//\)$' \| \
36843 X"$ac_dest" : 'X\(/\)' \| \
36844 . : '\(.\)' 2>/dev/null ||
36845echo X"$ac_dest" |
36846 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36847 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36848 /^X\(\/\/\)$/{ s//\1/; q; }
36849 /^X\(\/\).*/{ s//\1/; q; }
36850 s/.*/./; q'`
36851 ac_builddir=.
36852
36853if test "$ac_dir" != .; then
36854 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36855 # A "../" for each directory in $ac_dir_suffix.
36856 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36857else
36858 ac_dir_suffix= ac_top_builddir=
36859fi
36860
36861case $srcdir in
36862 .) # No --srcdir option. We are building in place.
36863 ac_srcdir=.
36864 if test -z "$ac_top_builddir"; then
36865 ac_top_srcdir=.
36866 else
36867 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36868 fi ;;
36869 [\\/]* | ?:[\\/]* ) # Absolute path.
36870 ac_srcdir=$srcdir$ac_dir_suffix;
36871 ac_top_srcdir=$srcdir ;;
36872 *) # Relative path.
36873 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36874 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36875esac
36876# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36877# absolute.
36878ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36879ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36880ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36881ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36882
36883
36884 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36885echo "$as_me: executing $ac_dest commands" >&6;}
36886 case $ac_dest in
36887 default )
36888 if test ! -h wx-config; then
36889 chmod +x wx-config
36890 mv wx-config wx${TOOLCHAIN_NAME}-config
36891 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
36892 fi
36893
36894 if test ! -d lib; then
36895 mkdir lib
36896 fi
36897 if test ! -d lib/wx; then
36898 mkdir lib/wx
36899 fi
36900 if test ! -d lib/wx/include; then
36901 mkdir lib/wx/include
36902 fi
36903 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
36904 mkdir lib/wx/include/${TOOLCHAIN_NAME}
36905 fi
36906 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
36907 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
36908 fi
36909 if test -f setup.h; then
36910 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
36911 fi
36912 ;;
36913 esac
36914done
36915_ACEOF
36916
36917cat >>$CONFIG_STATUS <<\_ACEOF
36918
36919{ (exit 0); exit 0; }
36920_ACEOF
36921chmod +x $CONFIG_STATUS
36922ac_clean_files=$ac_clean_files_save
36923
36924
36925# configure is writing to config.log, and then calls config.status.
36926# config.status does its own redirection, appending to config.log.
36927# Unfortunately, on DOS this fails, as config.log is still kept open
36928# by configure, so config.status won't be able to write to it; its
36929# output is simply discarded. So we exec the FD to /dev/null,
36930# effectively closing config.log, so it can be properly (re)opened and
36931# appended to by config.status. When coming back to configure, we
36932# need to make the FD available again.
36933if test "$no_create" != yes; then
36934 ac_cs_success=:
36935 ac_config_status_args=
36936 test "$silent" = yes &&
36937 ac_config_status_args="$ac_config_status_args --quiet"
36938 exec 5>/dev/null
36939 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36940 exec 5>>config.log
36941 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36942 # would make configure fail if this is the last instruction.
36943 $ac_cs_success || { (exit 1); exit 1; }
36944fi
36945
36946#
36947# CONFIG_SUBDIRS section.
36948#
36949if test "$no_recursion" != yes; then
36950
36951 # Remove --cache-file and --srcdir arguments so they do not pile up.
36952 ac_sub_configure_args=
36953 ac_prev=
36954 for ac_arg in $ac_configure_args; do
36955 if test -n "$ac_prev"; then
36956 ac_prev=
36957 continue
36958 fi
36959 case $ac_arg in
36960 -cache-file | --cache-file | --cache-fil | --cache-fi \
36961 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
36962 ac_prev=cache_file ;;
36963 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
36964 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
36965 | --c=*)
36966 ;;
36967 --config-cache | -C)
36968 ;;
36969 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
36970 ac_prev=srcdir ;;
36971 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
36972 ;;
36973 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
36974 ac_prev=prefix ;;
36975 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
36976 ;;
36977 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
36978 esac
36979 done
36980
36981 # Always prepend --prefix to ensure using the same prefix
36982 # in subdir configurations.
36983 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
36984
36985 ac_popdir=`pwd`
36986 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
36987
36988 # Do not complain, so a configure script can configure whichever
36989 # parts of a large source tree are present.
36990 test -d $srcdir/$ac_dir || continue
36991
36992 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
36993echo "$as_me: configuring in $ac_dir" >&6;}
36994 { if $as_mkdir_p; then
36995 mkdir -p "$ac_dir"
36996 else
36997 as_dir="$ac_dir"
36998 as_dirs=
36999 while test ! -d "$as_dir"; do
37000 as_dirs="$as_dir $as_dirs"
37001 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37002$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37003 X"$as_dir" : 'X\(//\)[^/]' \| \
37004 X"$as_dir" : 'X\(//\)$' \| \
37005 X"$as_dir" : 'X\(/\)' \| \
37006 . : '\(.\)' 2>/dev/null ||
37007echo X"$as_dir" |
37008 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37009 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37010 /^X\(\/\/\)$/{ s//\1/; q; }
37011 /^X\(\/\).*/{ s//\1/; q; }
37012 s/.*/./; q'`
37013 done
37014 test ! -n "$as_dirs" || mkdir $as_dirs
37015 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37016echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37017 { (exit 1); exit 1; }; }; }
37018
37019 ac_builddir=.
37020
37021if test "$ac_dir" != .; then
37022 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37023 # A "../" for each directory in $ac_dir_suffix.
37024 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37025else
37026 ac_dir_suffix= ac_top_builddir=
37027fi
37028
37029case $srcdir in
37030 .) # No --srcdir option. We are building in place.
37031 ac_srcdir=.
37032 if test -z "$ac_top_builddir"; then
37033 ac_top_srcdir=.
37034 else
37035 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37036 fi ;;
37037 [\\/]* | ?:[\\/]* ) # Absolute path.
37038 ac_srcdir=$srcdir$ac_dir_suffix;
37039 ac_top_srcdir=$srcdir ;;
37040 *) # Relative path.
37041 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37042 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37043esac
37044# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37045# absolute.
37046ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37047ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37048ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37049ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37050
37051
37052 cd $ac_dir
37053
37054 # Check for guested configure; otherwise get Cygnus style configure.
37055 if test -f $ac_srcdir/configure.gnu; then
37056 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
37057 elif test -f $ac_srcdir/configure; then
37058 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
37059 elif test -f $ac_srcdir/configure.in; then
37060 ac_sub_configure=$ac_configure
37061 else
37062 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37063echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37064 ac_sub_configure=
37065 fi
37066
37067 # The recursion is here.
37068 if test -n "$ac_sub_configure"; then
37069 # Make the cache file name correct relative to the subdirectory.
37070 case $cache_file in
37071 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
37072 *) # Relative path.
37073 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
37074 esac
37075
37076 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37077echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37078 # The eval makes quoting arguments work.
37079 eval $ac_sub_configure $ac_sub_configure_args \
37080 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37081 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37082echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37083 { (exit 1); exit 1; }; }
37084 fi
37085
37086 cd $ac_popdir
37087 done
37088fi
37089
37090
37091echo
37092echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37093echo ""
37094echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
37095echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37096
37097echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37098echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37099echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37100
37101echo " What level of wxWindows compatibility should be enabled?"
37102echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37103echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37104
37105echo " Which libraries should wxWindows use?"
37106echo " jpeg ${wxUSE_LIBJPEG-none}"
37107echo " png ${wxUSE_LIBPNG-none}"
37108echo " regex ${wxUSE_REGEX}"
37109echo " tiff ${wxUSE_LIBTIFF-none}"
37110echo " zlib ${wxUSE_ZLIB}"
37111echo " odbc ${wxUSE_ODBC}"
37112echo " expat ${wxUSE_EXPAT}"
37113
37114echo ""
37115