]> git.saurik.com Git - wxWidgets.git/blame_incremental - configure
removed virtual from functions which are not; expanded wxWindow description
[wxWidgets.git] / configure
... / ...
CommitLineData
1#! /bin/sh
2# From configure.in Id: configure.in.
3# Guess values for system-dependent variables and create Makefiles.
4# Generated by GNU Autoconf 2.57 for wxWindows 2.5.1.
5#
6# Report bugs to <wx-dev@lists.wxwindows.org>.
7#
8# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9# Free Software Foundation, Inc.
10# This configure script is free software; the Free Software Foundation
11# gives unlimited permission to copy, distribute and modify it.
12## --------------------- ##
13## M4sh Initialization. ##
14## --------------------- ##
15
16# Be Bourne compatible
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 set -o posix
25fi
26
27# Support unset when possible.
28if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
29 as_unset=unset
30else
31 as_unset=false
32fi
33
34
35# Work around bugs in pre-3.0 UWIN ksh.
36$as_unset ENV MAIL MAILPATH
37PS1='$ '
38PS2='> '
39PS4='+ '
40
41# NLS nuisances.
42for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46do
47 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52done
53
54# Required to use basename.
55if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57else
58 as_expr=false
59fi
60
61if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63else
64 as_basename=false
65fi
66
67
68# Name of the executable.
69as_me=`$as_basename "$0" ||
70$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81# PATH needs CR, and LINENO needs CR and PATH.
82# Avoid depending upon Character Ranges.
83as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86as_cr_digits='0123456789'
87as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89# The user is always right.
90if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113for as_dir in $PATH
114do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155done
156;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187}
188
189
190case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195esac
196
197if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199else
200 as_expr=false
201fi
202
203rm -f conf$$ conf$$.exe conf$$.file
204echo >conf$$.file
205if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216else
217 as_ln_s='cp -p'
218fi
219rm -f conf$$ conf$$.exe conf$$.file
220
221if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223else
224 as_mkdir_p=false
225fi
226
227as_executable_p="test -f"
228
229# Sed expression to map a string onto a valid CPP name.
230as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231
232# Sed expression to map a string onto a valid variable name.
233as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234
235
236# IFS
237# We need space, tab and new line, in precisely that order.
238as_nl='
239'
240IFS=" $as_nl"
241
242# CDPATH.
243$as_unset CDPATH
244
245
246# Name of the host.
247# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248# so uname gets run too.
249ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251exec 6>&1
252
253#
254# Initializations.
255#
256ac_default_prefix=/usr/local
257ac_config_libobj_dir=.
258cross_compiling=no
259subdirs=
260MFLAGS=
261MAKEFLAGS=
262SHELL=${CONFIG_SHELL-/bin/sh}
263
264# Maximum number of lines to put in a shell here document.
265# This variable seems obsolete. It should probably be removed, and
266# only ac_max_sed_lines should be used.
267: ${ac_max_here_lines=38}
268
269# Identity of this package.
270PACKAGE_NAME='wxWindows'
271PACKAGE_TARNAME='wxwindows'
272PACKAGE_VERSION='2.5.1'
273PACKAGE_STRING='wxWindows 2.5.1'
274PACKAGE_BUGREPORT='wx-dev@lists.wxwindows.org'
275
276ac_unique_file="wx-config.in"
277# Factoring default headers for most tests.
278ac_includes_default="\
279#include <stdio.h>
280#if HAVE_SYS_TYPES_H
281# include <sys/types.h>
282#endif
283#if HAVE_SYS_STAT_H
284# include <sys/stat.h>
285#endif
286#if STDC_HEADERS
287# include <stdlib.h>
288# include <stddef.h>
289#else
290# if HAVE_STDLIB_H
291# include <stdlib.h>
292# endif
293#endif
294#if HAVE_STRING_H
295# if !STDC_HEADERS && HAVE_MEMORY_H
296# include <memory.h>
297# endif
298# include <string.h>
299#endif
300#if HAVE_STRINGS_H
301# include <strings.h>
302#endif
303#if HAVE_INTTYPES_H
304# include <inttypes.h>
305#else
306# if HAVE_STDINT_H
307# include <stdint.h>
308# endif
309#endif
310#if HAVE_UNISTD_H
311# include <unistd.h>
312#endif"
313
314ac_subdirs_all="$ac_subdirs_all src/expat"
315ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE LIBPREFIX DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY LIBOBJS LTLIBOBJS'
316ac_subst_files=''
317
318# Initialize some variables set by options.
319ac_init_help=
320ac_init_version=false
321# The variables have the same names as the options, with
322# dashes changed to underlines.
323cache_file=/dev/null
324exec_prefix=NONE
325no_create=
326no_recursion=
327prefix=NONE
328program_prefix=NONE
329program_suffix=NONE
330program_transform_name=s,x,x,
331silent=
332site=
333srcdir=
334verbose=
335x_includes=NONE
336x_libraries=NONE
337
338# Installation directory options.
339# These are left unexpanded so users can "make install exec_prefix=/foo"
340# and all the variables that are supposed to be based on exec_prefix
341# by default will actually change.
342# Use braces instead of parens because sh, perl, etc. also accept them.
343bindir='${exec_prefix}/bin'
344sbindir='${exec_prefix}/sbin'
345libexecdir='${exec_prefix}/libexec'
346datadir='${prefix}/share'
347sysconfdir='${prefix}/etc'
348sharedstatedir='${prefix}/com'
349localstatedir='${prefix}/var'
350libdir='${exec_prefix}/lib'
351includedir='${prefix}/include'
352oldincludedir='/usr/include'
353infodir='${prefix}/info'
354mandir='${prefix}/man'
355
356ac_prev=
357for ac_option
358do
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
362 ac_prev=
363 continue
364 fi
365
366 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367
368 # Accept the important Cygnus configure options, so we can diagnose typos.
369
370 case $ac_option in
371
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 ac_prev=bindir ;;
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 bindir=$ac_optarg ;;
376
377 -build | --build | --buil | --bui | --bu)
378 ac_prev=build_alias ;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias=$ac_optarg ;;
381
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev=cache_file ;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file=$ac_optarg ;;
388
389 --config-cache | -C)
390 cache_file=config.cache ;;
391
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393 ac_prev=datadir ;;
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395 | --da=*)
396 datadir=$ac_optarg ;;
397
398 -disable-* | --disable-*)
399 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
406
407 -enable-* | --enable-*)
408 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414 case $ac_option in
415 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 *) ac_optarg=yes ;;
417 esac
418 eval "enable_$ac_feature='$ac_optarg'" ;;
419
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev=exec_prefix ;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix=$ac_optarg ;;
428
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
431 with_gas=yes ;;
432
433 -help | --help | --hel | --he | -h)
434 ac_init_help=long ;;
435 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
436 ac_init_help=recursive ;;
437 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
438 ac_init_help=short ;;
439
440 -host | --host | --hos | --ho)
441 ac_prev=host_alias ;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias=$ac_optarg ;;
444
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev=includedir ;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir=$ac_optarg ;;
451
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
453 ac_prev=infodir ;;
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir=$ac_optarg ;;
456
457 -libdir | --libdir | --libdi | --libd)
458 ac_prev=libdir ;;
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
460 libdir=$ac_optarg ;;
461
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev=libexecdir ;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir=$ac_optarg ;;
468
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev=localstatedir ;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir=$ac_optarg ;;
477
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 ac_prev=mandir ;;
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 mandir=$ac_optarg ;;
482
483 -nfp | --nfp | --nf)
484 # Obsolete; use --without-fp.
485 with_fp=no ;;
486
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
489 no_create=yes ;;
490
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493 no_recursion=yes ;;
494
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev=oldincludedir ;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir=$ac_optarg ;;
503
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505 ac_prev=prefix ;;
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507 prefix=$ac_optarg ;;
508
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev=program_prefix ;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix=$ac_optarg ;;
515
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev=program_suffix ;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix=$ac_optarg ;;
522
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev=program_transform_name ;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name=$ac_optarg ;;
539
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
542 silent=yes ;;
543
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545 ac_prev=sbindir ;;
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547 | --sbi=* | --sb=*)
548 sbindir=$ac_optarg ;;
549
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
553 | --sha | --sh)
554 ac_prev=sharedstatedir ;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558 | --sha=* | --sh=*)
559 sharedstatedir=$ac_optarg ;;
560
561 -site | --site | --sit)
562 ac_prev=site ;;
563 -site=* | --site=* | --sit=*)
564 site=$ac_optarg ;;
565
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567 ac_prev=srcdir ;;
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569 srcdir=$ac_optarg ;;
570
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev=sysconfdir ;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir=$ac_optarg ;;
577
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev=target_alias ;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias=$ac_optarg ;;
582
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
584 verbose=yes ;;
585
586 -version | --version | --versio | --versi | --vers | -V)
587 ac_init_version=: ;;
588
589 -with-* | --with-*)
590 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package=`echo $ac_package| sed 's/-/_/g'`
596 case $ac_option in
597 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 *) ac_optarg=yes ;;
599 esac
600 eval "with_$ac_package='$ac_optarg'" ;;
601
602 -without-* | --without-*)
603 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
610
611 --x)
612 # Obsolete; use --with-x.
613 with_x=yes ;;
614
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev=x_includes ;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes=$ac_optarg ;;
621
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev=x_libraries ;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries=$ac_optarg ;;
628
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
632 ;;
633
634 *=*)
635 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
642 export $ac_envvar ;;
643
644 *)
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
650 ;;
651
652 esac
653done
654
655if test -n "$ac_prev"; then
656 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
659fi
660
661# Be sure to have absolute paths.
662for ac_var in exec_prefix prefix
663do
664 eval ac_val=$`echo $ac_var`
665 case $ac_val in
666 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
669 esac
670done
671
672# Be sure to have absolute paths.
673for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
675do
676 eval ac_val=$`echo $ac_var`
677 case $ac_val in
678 [\\/$]* | ?:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
681 esac
682done
683
684# There might be people who depend on the old broken behavior: `$host'
685# used to hold the argument of --host etc.
686# FIXME: To remove some day.
687build=$build_alias
688host=$host_alias
689target=$target_alias
690
691# FIXME: To remove some day.
692if test "x$host_alias" != x; then
693 if test "x$build_alias" = x; then
694 cross_compiling=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
698 cross_compiling=yes
699 fi
700fi
701
702ac_tool_prefix=
703test -n "$host_alias" && ac_tool_prefix=$host_alias-
704
705test "$silent" = yes && exec 6>/dev/null
706
707
708# Find the source files, if location was not specified.
709if test -z "$srcdir"; then
710 ac_srcdir_defaulted=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir=`(dirname "$0") 2>/dev/null ||
713$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
718echo X"$0" |
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
723 s/.*/./; q'`
724 srcdir=$ac_confdir
725 if test ! -r $srcdir/$ac_unique_file; then
726 srcdir=..
727 fi
728else
729 ac_srcdir_defaulted=no
730fi
731if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
735 else
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
738 fi
739fi
740(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744ac_env_build_alias_set=${build_alias+set}
745ac_env_build_alias_value=$build_alias
746ac_cv_env_build_alias_set=${build_alias+set}
747ac_cv_env_build_alias_value=$build_alias
748ac_env_host_alias_set=${host_alias+set}
749ac_env_host_alias_value=$host_alias
750ac_cv_env_host_alias_set=${host_alias+set}
751ac_cv_env_host_alias_value=$host_alias
752ac_env_target_alias_set=${target_alias+set}
753ac_env_target_alias_value=$target_alias
754ac_cv_env_target_alias_set=${target_alias+set}
755ac_cv_env_target_alias_value=$target_alias
756ac_env_CC_set=${CC+set}
757ac_env_CC_value=$CC
758ac_cv_env_CC_set=${CC+set}
759ac_cv_env_CC_value=$CC
760ac_env_CFLAGS_set=${CFLAGS+set}
761ac_env_CFLAGS_value=$CFLAGS
762ac_cv_env_CFLAGS_set=${CFLAGS+set}
763ac_cv_env_CFLAGS_value=$CFLAGS
764ac_env_LDFLAGS_set=${LDFLAGS+set}
765ac_env_LDFLAGS_value=$LDFLAGS
766ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
767ac_cv_env_LDFLAGS_value=$LDFLAGS
768ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769ac_env_CPPFLAGS_value=$CPPFLAGS
770ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772ac_env_CPP_set=${CPP+set}
773ac_env_CPP_value=$CPP
774ac_cv_env_CPP_set=${CPP+set}
775ac_cv_env_CPP_value=$CPP
776ac_env_CXX_set=${CXX+set}
777ac_env_CXX_value=$CXX
778ac_cv_env_CXX_set=${CXX+set}
779ac_cv_env_CXX_value=$CXX
780ac_env_CXXFLAGS_set=${CXXFLAGS+set}
781ac_env_CXXFLAGS_value=$CXXFLAGS
782ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
783ac_cv_env_CXXFLAGS_value=$CXXFLAGS
784ac_env_CXXCPP_set=${CXXCPP+set}
785ac_env_CXXCPP_value=$CXXCPP
786ac_cv_env_CXXCPP_set=${CXXCPP+set}
787ac_cv_env_CXXCPP_value=$CXXCPP
788
789#
790# Report the --help message.
791#
792if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
795 cat <<_ACEOF
796\`configure' configures wxWindows 2.5.1 to adapt to many kinds of systems.
797
798Usage: $0 [OPTION]... [VAR=VALUE]...
799
800To assign environment variables (e.g., CC, CFLAGS...), specify them as
801VAR=VALUE. See below for descriptions of some of the useful variables.
802
803Defaults for the options are specified in brackets.
804
805Configuration:
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
815
816_ACEOF
817
818 cat <<_ACEOF
819Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
821 [$ac_default_prefix]
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
823 [PREFIX]
824
825By default, \`make install' will install all the files in
826\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828for instance \`--prefix=\$HOME'.
829
830For better control, use the options below.
831
832Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
845_ACEOF
846
847 cat <<\_ACEOF
848
849X features:
850 --x-includes=DIR X include files are in DIR
851 --x-libraries=DIR X library files are in DIR
852
853System types:
854 --build=BUILD configure for building on BUILD [guessed]
855 --host=HOST cross-compile to build programs to run on HOST [BUILD]
856 --target=TARGET configure for building compilers for TARGET [HOST]
857_ACEOF
858fi
859
860if test -n "$ac_init_help"; then
861 case $ac_init_help in
862 short | recursive ) echo "Configuration of wxWindows 2.5.1:";;
863 esac
864 cat <<\_ACEOF
865
866Optional Features:
867 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
868 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
869 --enable-gui use GUI classes
870 --disable-monolithic don't build wxWindows as single library
871 --enable-universal use wxWindows GUI controls instead of native ones
872 --enable-nanox use NanoX
873 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
874 --enable-shared create shared library code
875 --enable-optimise create optimised code
876 --enable-debug same as debug_flag and debug_info
877 --enable-stl use STL for containers
878 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
879 --enable-debug_info create code with debugging information
880 --enable-debug_gdb create code with extra GDB debugging information
881 --enable-debug_cntxt use wxDebugContext
882 --enable-mem_tracing create code with memory tracing
883 --enable-profile create code with profiling information
884 --enable-no_rtti create code without RTTI information
885 --enable-no_exceptions create code without C++ exceptions handling
886 --enable-permissive compile code disregarding strict ANSI
887 --enable-no_deps create code without dependency information
888 --enable-compat22 enable wxWindows 2.2 compatibility
889 --disable-compat24 disable wxWindows 2.4 compatibility
890 --enable-rpath=DIR output the rpath flag from wx-config
891 --enable-intl use internationalization system
892 --enable-config use wxConfig (and derived) classes
893 --enable-protocols use wxProtocol and derived classes
894 --enable-ftp use wxFTP (requires wxProtocol
895 --enable-http use wxHTTP (requires wxProtocol
896 --enable-fileproto use wxFileProto class (requires wxProtocol
897 --enable-sockets use socket/network classes
898 --enable-ole use OLE classes (Win32 only)
899 --enable-dataobj use data object classes
900 --enable-ipc use interprocess communication (wxSocket etc.)
901 --enable-apple_ieee use the Apple IEEE codec
902 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
903 --enable-cmdline use wxCmdLineParser class
904 --enable-datetime use wxDateTime class
905 --enable-dialupman use dialup network classes
906 --enable-dynlib use wxLibrary class for DLL loading
907 --enable-dynamicloader use (new) wxDynamicLibrary class
908 --enable-exceptions build exception-safe library
909 --enable-ffile use wxFFile class
910 --enable-file use wxFile class
911 --enable-filesystem use virtual file systems classes
912 --enable-fontmap use font encodings conversion classes
913 --enable-fs_inet use virtual HTTP/FTP filesystems
914 --enable-fs_zip use virtual ZIP filesystems
915 --enable-geometry use geometry class
916 --enable-log use logging system
917 --enable-longlong use wxLongLong class
918 --enable-mimetype use wxMimeTypesManager
919 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
920 --enable-snglinst use wxSingleInstanceChecker class
921 --enable-streams use wxStream etc classes
922 --enable-std_iostreams use standard C++ stream classes
923 --enable-stopwatch use wxStopWatch class
924 --enable-sysoptions use wxSystemOptions
925 --enable-textbuf use wxTextBuffer class
926 --enable-textfile use wxTextFile class
927 --enable-timer use wxTimer class
928 --enable-unicode compile wxString with Unicode support
929 --enable-wave use wxWave class
930 --enable-wxprintfv use wxWindows implementation of vprintf()
931 --enable-zipstream use wxZipInputStream
932 --enable-gzstream use wxGzipInputStream
933 --enable-url use wxURL class
934 --enable-protocol use wxProtocol class
935 --enable-protocol-http HTTP support in wxProtocol
936 --enable-protocol-ftp FTP support in wxProtocol
937 --enable-protocol-file FILE support in wxProtocol
938 --enable-threads use threads
939 --enable-docview use document view architecture
940 --enable-help use help subsystem
941 --enable-mshtmlhelp use MS HTML Help (win32)
942 --enable-html use wxHTML sub-library
943 --enable-htmlhelp use wxHTML-based help
944 --enable-constraints use layout-constraints system
945 --enable-printarch use printing architecture
946 --enable-mdi use multiple document interface architecture
947 --enable-loggui use standard GUI logger
948 --enable-logwin use wxLogWindow
949 --enable-logdialog use wxLogDialog
950 --enable-postscript use wxPostscriptDC device context (default for gtk+)
951 --enable-prologio not available; see contrib
952 --enable-resources not available; see contrib
953 --enable-clipboard use wxClipboard class
954 --enable-dnd use Drag'n'Drop classes
955 --enable-metafile use win32 metafiles
956 --enable-controls use all usual controls
957 --enable-accel use accelerators
958 --enable-button use wxButton class
959 --enable-bmpbutton use wxBitmapButton class
960 --enable-calendar use wxCalendarCtrl class
961 --enable-caret use wxCaret class
962 --enable-checkbox use wxCheckBox class
963 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
964 --enable-choice use wxChoice class
965 --enable-combobox use wxComboBox class
966 --enable-display use wxDisplay class
967 --enable-gauge use wxGauge class
968 --enable-grid use wxGrid class
969 --enable-imaglist use wxImageList class
970 --enable-listbook use wxListbook class
971 --enable-listbox use wxListBox class
972 --enable-listctrl use wxListCtrl class
973 --enable-notebook use wxNotebook class
974 --enable-radiobox use wxRadioBox class
975 --enable-radiobtn use wxRadioButton class
976 --enable-sash use wxSashWindow class
977 --enable-scrollbar use wxScrollBar class and scrollable windows
978 --enable-slider use wxSlider class
979 --enable-spinbtn use wxSpinButton class
980 --enable-spinctrl use wxSpinCtrl class
981 --enable-splitter use wxSplitterWindow class
982 --enable-statbmp use wxStaticBitmap class
983 --enable-statbox use wxStaticBox class
984 --enable-statline use wxStaticLine class
985 --enable-stattext use wxStaticText class
986 --enable-statusbar use wxStatusBar class
987 --enable-tabdialog use wxTabControl class
988 --enable-textctrl use wxTextCtrl class
989 --enable-togglebtn use wxToggleButton class
990 --enable-toolbar use wxToolBar class
991 --enable-tbarnative use native wxToolBar class
992 --enable-tbarsmpl use wxToolBarSimple class
993 --enable-treectrl use wxTreeCtrl class
994 --enable-tipwindow use wxTipWindow class
995 --enable-popupwin use wxPopUpWindow class
996 --enable-commondlg use all common dialogs
997 --enable-choicedlg use wxChoiceDialog
998 --enable-coldlg use wxColourDialog
999 --enable-filedlg use wxFileDialog
1000 --enable-finddlg use wxFindReplaceDialog
1001 --enable-fontdlg use wxFontDialog
1002 --enable-dirdlg use wxDirDialog
1003 --enable-msgdlg use wxMessageDialog
1004 --enable-numberdlg use wxNumberEntryDialog
1005 --enable-splash use wxSplashScreen
1006 --enable-textdlg use wxTextDialog
1007 --enable-tipdlg use startup tips
1008 --enable-progressdlg use wxProgressDialog
1009 --enable-wizarddlg use wxWizard
1010 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1011 --enable-miniframe use wxMiniFrame class
1012 --enable-tooltips use wxToolTip class
1013 --enable-splines use spline drawing code
1014 --enable-validators use wxValidator and derived classes
1015 --enable-busyinfo use wxBusyInfo
1016 --enable-joystick use wxJoystick (Linux only)
1017 --enable-metafiles use wxMetaFile (Windows only)
1018 --enable-dragimage use wxDragImage
1019 --enable-accessibility enable accessibility support
1020 --enable-palette use wxPalette class
1021 --enable-image use wxImage class
1022 --enable-gif use gif images (GIF file format)
1023 --enable-pcx use pcx images (PCX file format)
1024 --enable-iff use iff images (IFF file format)
1025 --enable-pnm use pnm images (PNM file format)
1026 --enable-xpm use xpm images (XPM file format)
1027 --enable-icocur use Windows ICO and CUR formats
1028 --enable-official_build official build of wxWindows (win32 DLL only)
1029 --enable-vendor=VENDOR vendor name (win32 DLL only)
1030 --disable-largefile omit support for large files
1031 --disable-gtktest do not try to compile and run a test GTK+ program
1032 --disable-gtktest Do not try to compile and run a test GTK program
1033 --disable-precomp-headers don't use precompiled headers even if compiler can
1034
1035Optional Packages:
1036 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1037 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1038 --with-gtk use GTK+
1039 --with-motif use Motif/Lesstif
1040 --with-mac use Mac OS X
1041 --with-cocoa use Cocoa
1042 --with-wine use Wine
1043 --with-msw use MS-Windows
1044 --with-pm use OS/2 Presentation Manager
1045 --with-mgl use SciTech MGL
1046 --with-microwin use MicroWindows
1047 --with-x11 use X11
1048 --with-libpng use libpng (PNG image format)
1049 --with-libjpeg use libjpeg (JPEG file format)
1050 --with-libtiff use libtiff (TIFF file format)
1051 --with-libmspack use libmspack (CHM help files loading)
1052 --with-opengl use OpenGL (or Mesa)
1053 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1054 --with-regex enable support for wxRegEx class
1055 --with-zlib use zlib for LZW compression
1056 --with-odbc use the IODBC and wxODBC classes
1057 --with-expat enable XML support using expat parser
1058 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1059 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1060 --with-x use the X Window System
1061 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1062
1063Some influential environment variables:
1064 CC C compiler command
1065 CFLAGS C compiler flags
1066 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1067 nonstandard directory <lib dir>
1068 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1069 headers in a nonstandard directory <include dir>
1070 CPP C preprocessor
1071 CXX C++ compiler command
1072 CXXFLAGS C++ compiler flags
1073 CXXCPP C++ preprocessor
1074
1075Use these variables to override the choices made by `configure' or to help
1076it to find libraries and programs with nonstandard names/locations.
1077
1078Report bugs to <wx-dev@lists.wxwindows.org>.
1079_ACEOF
1080fi
1081
1082if test "$ac_init_help" = "recursive"; then
1083 # If there are subdirs, report their specific --help.
1084 ac_popdir=`pwd`
1085 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1086 test -d $ac_dir || continue
1087 ac_builddir=.
1088
1089if test "$ac_dir" != .; then
1090 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1091 # A "../" for each directory in $ac_dir_suffix.
1092 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1093else
1094 ac_dir_suffix= ac_top_builddir=
1095fi
1096
1097case $srcdir in
1098 .) # No --srcdir option. We are building in place.
1099 ac_srcdir=.
1100 if test -z "$ac_top_builddir"; then
1101 ac_top_srcdir=.
1102 else
1103 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1104 fi ;;
1105 [\\/]* | ?:[\\/]* ) # Absolute path.
1106 ac_srcdir=$srcdir$ac_dir_suffix;
1107 ac_top_srcdir=$srcdir ;;
1108 *) # Relative path.
1109 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1110 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1111esac
1112# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1113# absolute.
1114ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1115ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1116ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1117ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1118
1119 cd $ac_dir
1120 # Check for guested configure; otherwise get Cygnus style configure.
1121 if test -f $ac_srcdir/configure.gnu; then
1122 echo
1123 $SHELL $ac_srcdir/configure.gnu --help=recursive
1124 elif test -f $ac_srcdir/configure; then
1125 echo
1126 $SHELL $ac_srcdir/configure --help=recursive
1127 elif test -f $ac_srcdir/configure.ac ||
1128 test -f $ac_srcdir/configure.in; then
1129 echo
1130 $ac_configure --help
1131 else
1132 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1133 fi
1134 cd $ac_popdir
1135 done
1136fi
1137
1138test -n "$ac_init_help" && exit 0
1139if $ac_init_version; then
1140 cat <<\_ACEOF
1141wxWindows configure 2.5.1
1142generated by GNU Autoconf 2.57
1143
1144Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1145Free Software Foundation, Inc.
1146This configure script is free software; the Free Software Foundation
1147gives unlimited permission to copy, distribute and modify it.
1148_ACEOF
1149 exit 0
1150fi
1151exec 5>config.log
1152cat >&5 <<_ACEOF
1153This file contains any messages produced by compilers while
1154running configure, to aid debugging if configure makes a mistake.
1155
1156It was created by wxWindows $as_me 2.5.1, which was
1157generated by GNU Autoconf 2.57. Invocation command line was
1158
1159 $ $0 $@
1160
1161_ACEOF
1162{
1163cat <<_ASUNAME
1164## --------- ##
1165## Platform. ##
1166## --------- ##
1167
1168hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1169uname -m = `(uname -m) 2>/dev/null || echo unknown`
1170uname -r = `(uname -r) 2>/dev/null || echo unknown`
1171uname -s = `(uname -s) 2>/dev/null || echo unknown`
1172uname -v = `(uname -v) 2>/dev/null || echo unknown`
1173
1174/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1175/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1176
1177/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1178/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1179/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1180hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1181/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1182/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1183/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1184
1185_ASUNAME
1186
1187as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1188for as_dir in $PATH
1189do
1190 IFS=$as_save_IFS
1191 test -z "$as_dir" && as_dir=.
1192 echo "PATH: $as_dir"
1193done
1194
1195} >&5
1196
1197cat >&5 <<_ACEOF
1198
1199
1200## ----------- ##
1201## Core tests. ##
1202## ----------- ##
1203
1204_ACEOF
1205
1206
1207# Keep a trace of the command line.
1208# Strip out --no-create and --no-recursion so they do not pile up.
1209# Strip out --silent because we don't want to record it for future runs.
1210# Also quote any args containing shell meta-characters.
1211# Make two passes to allow for proper duplicate-argument suppression.
1212ac_configure_args=
1213ac_configure_args0=
1214ac_configure_args1=
1215ac_sep=
1216ac_must_keep_next=false
1217for ac_pass in 1 2
1218do
1219 for ac_arg
1220 do
1221 case $ac_arg in
1222 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1223 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1224 | -silent | --silent | --silen | --sile | --sil)
1225 continue ;;
1226 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1227 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1228 esac
1229 case $ac_pass in
1230 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1231 2)
1232 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1233 if test $ac_must_keep_next = true; then
1234 ac_must_keep_next=false # Got value, back to normal.
1235 else
1236 case $ac_arg in
1237 *=* | --config-cache | -C | -disable-* | --disable-* \
1238 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1239 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1240 | -with-* | --with-* | -without-* | --without-* | --x)
1241 case "$ac_configure_args0 " in
1242 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1243 esac
1244 ;;
1245 -* ) ac_must_keep_next=true ;;
1246 esac
1247 fi
1248 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1249 # Get rid of the leading space.
1250 ac_sep=" "
1251 ;;
1252 esac
1253 done
1254done
1255$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1256$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1257
1258# When interrupted or exit'd, cleanup temporary files, and complete
1259# config.log. We remove comments because anyway the quotes in there
1260# would cause problems or look ugly.
1261# WARNING: Be sure not to use single quotes in there, as some shells,
1262# such as our DU 5.0 friend, will then `close' the trap.
1263trap 'exit_status=$?
1264 # Save into config.log some information that might help in debugging.
1265 {
1266 echo
1267
1268 cat <<\_ASBOX
1269## ---------------- ##
1270## Cache variables. ##
1271## ---------------- ##
1272_ASBOX
1273 echo
1274 # The following way of writing the cache mishandles newlines in values,
1275{
1276 (set) 2>&1 |
1277 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1278 *ac_space=\ *)
1279 sed -n \
1280 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1281 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1282 ;;
1283 *)
1284 sed -n \
1285 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1286 ;;
1287 esac;
1288}
1289 echo
1290
1291 cat <<\_ASBOX
1292## ----------------- ##
1293## Output variables. ##
1294## ----------------- ##
1295_ASBOX
1296 echo
1297 for ac_var in $ac_subst_vars
1298 do
1299 eval ac_val=$`echo $ac_var`
1300 echo "$ac_var='"'"'$ac_val'"'"'"
1301 done | sort
1302 echo
1303
1304 if test -n "$ac_subst_files"; then
1305 cat <<\_ASBOX
1306## ------------- ##
1307## Output files. ##
1308## ------------- ##
1309_ASBOX
1310 echo
1311 for ac_var in $ac_subst_files
1312 do
1313 eval ac_val=$`echo $ac_var`
1314 echo "$ac_var='"'"'$ac_val'"'"'"
1315 done | sort
1316 echo
1317 fi
1318
1319 if test -s confdefs.h; then
1320 cat <<\_ASBOX
1321## ----------- ##
1322## confdefs.h. ##
1323## ----------- ##
1324_ASBOX
1325 echo
1326 sed "/^$/d" confdefs.h | sort
1327 echo
1328 fi
1329 test "$ac_signal" != 0 &&
1330 echo "$as_me: caught signal $ac_signal"
1331 echo "$as_me: exit $exit_status"
1332 } >&5
1333 rm -f core core.* *.core &&
1334 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1335 exit $exit_status
1336 ' 0
1337for ac_signal in 1 2 13 15; do
1338 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1339done
1340ac_signal=0
1341
1342# confdefs.h avoids OS command line length limits that DEFS can exceed.
1343rm -rf conftest* confdefs.h
1344# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1345echo >confdefs.h
1346
1347# Predefined preprocessor variables.
1348
1349cat >>confdefs.h <<_ACEOF
1350#define PACKAGE_NAME "$PACKAGE_NAME"
1351_ACEOF
1352
1353
1354cat >>confdefs.h <<_ACEOF
1355#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1356_ACEOF
1357
1358
1359cat >>confdefs.h <<_ACEOF
1360#define PACKAGE_VERSION "$PACKAGE_VERSION"
1361_ACEOF
1362
1363
1364cat >>confdefs.h <<_ACEOF
1365#define PACKAGE_STRING "$PACKAGE_STRING"
1366_ACEOF
1367
1368
1369cat >>confdefs.h <<_ACEOF
1370#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1371_ACEOF
1372
1373
1374# Let the site file select an alternate cache file if it wants to.
1375# Prefer explicitly selected file to automatically selected ones.
1376if test -z "$CONFIG_SITE"; then
1377 if test "x$prefix" != xNONE; then
1378 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1379 else
1380 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1381 fi
1382fi
1383for ac_site_file in $CONFIG_SITE; do
1384 if test -r "$ac_site_file"; then
1385 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1386echo "$as_me: loading site script $ac_site_file" >&6;}
1387 sed 's/^/| /' "$ac_site_file" >&5
1388 . "$ac_site_file"
1389 fi
1390done
1391
1392if test -r "$cache_file"; then
1393 # Some versions of bash will fail to source /dev/null (special
1394 # files actually), so we avoid doing that.
1395 if test -f "$cache_file"; then
1396 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1397echo "$as_me: loading cache $cache_file" >&6;}
1398 case $cache_file in
1399 [\\/]* | ?:[\\/]* ) . $cache_file;;
1400 *) . ./$cache_file;;
1401 esac
1402 fi
1403else
1404 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1405echo "$as_me: creating cache $cache_file" >&6;}
1406 >$cache_file
1407fi
1408
1409# Check that the precious variables saved in the cache have kept the same
1410# value.
1411ac_cache_corrupted=false
1412for ac_var in `(set) 2>&1 |
1413 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1414 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1415 eval ac_new_set=\$ac_env_${ac_var}_set
1416 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1417 eval ac_new_val="\$ac_env_${ac_var}_value"
1418 case $ac_old_set,$ac_new_set in
1419 set,)
1420 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1421echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1422 ac_cache_corrupted=: ;;
1423 ,set)
1424 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1425echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1426 ac_cache_corrupted=: ;;
1427 ,);;
1428 *)
1429 if test "x$ac_old_val" != "x$ac_new_val"; then
1430 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1431echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1432 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1433echo "$as_me: former value: $ac_old_val" >&2;}
1434 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1435echo "$as_me: current value: $ac_new_val" >&2;}
1436 ac_cache_corrupted=:
1437 fi;;
1438 esac
1439 # Pass precious variables to config.status.
1440 if test "$ac_new_set" = set; then
1441 case $ac_new_val in
1442 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1443 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1444 *) ac_arg=$ac_var=$ac_new_val ;;
1445 esac
1446 case " $ac_configure_args " in
1447 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1448 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1449 esac
1450 fi
1451done
1452if $ac_cache_corrupted; then
1453 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1454echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1455 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1456echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1457 { (exit 1); exit 1; }; }
1458fi
1459
1460ac_ext=c
1461ac_cpp='$CPP $CPPFLAGS'
1462ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1463ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1464ac_compiler_gnu=$ac_cv_c_compiler_gnu
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495ac_aux_dir=
1496for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1497 if test -f $ac_dir/install-sh; then
1498 ac_aux_dir=$ac_dir
1499 ac_install_sh="$ac_aux_dir/install-sh -c"
1500 break
1501 elif test -f $ac_dir/install.sh; then
1502 ac_aux_dir=$ac_dir
1503 ac_install_sh="$ac_aux_dir/install.sh -c"
1504 break
1505 elif test -f $ac_dir/shtool; then
1506 ac_aux_dir=$ac_dir
1507 ac_install_sh="$ac_aux_dir/shtool install -c"
1508 break
1509 fi
1510done
1511if test -z "$ac_aux_dir"; then
1512 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1513echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1514 { (exit 1); exit 1; }; }
1515fi
1516ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1517ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1518ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1519
1520# Make sure we can run config.sub.
1521$ac_config_sub sun4 >/dev/null 2>&1 ||
1522 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1523echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1524 { (exit 1); exit 1; }; }
1525
1526echo "$as_me:$LINENO: checking build system type" >&5
1527echo $ECHO_N "checking build system type... $ECHO_C" >&6
1528if test "${ac_cv_build+set}" = set; then
1529 echo $ECHO_N "(cached) $ECHO_C" >&6
1530else
1531 ac_cv_build_alias=$build_alias
1532test -z "$ac_cv_build_alias" &&
1533 ac_cv_build_alias=`$ac_config_guess`
1534test -z "$ac_cv_build_alias" &&
1535 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1536echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1537 { (exit 1); exit 1; }; }
1538ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1539 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1540echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1541 { (exit 1); exit 1; }; }
1542
1543fi
1544echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1545echo "${ECHO_T}$ac_cv_build" >&6
1546build=$ac_cv_build
1547build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1548build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1549build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1550
1551
1552echo "$as_me:$LINENO: checking host system type" >&5
1553echo $ECHO_N "checking host system type... $ECHO_C" >&6
1554if test "${ac_cv_host+set}" = set; then
1555 echo $ECHO_N "(cached) $ECHO_C" >&6
1556else
1557 ac_cv_host_alias=$host_alias
1558test -z "$ac_cv_host_alias" &&
1559 ac_cv_host_alias=$ac_cv_build_alias
1560ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1561 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1562echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1563 { (exit 1); exit 1; }; }
1564
1565fi
1566echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1567echo "${ECHO_T}$ac_cv_host" >&6
1568host=$ac_cv_host
1569host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1570host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1571host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1572
1573
1574echo "$as_me:$LINENO: checking target system type" >&5
1575echo $ECHO_N "checking target system type... $ECHO_C" >&6
1576if test "${ac_cv_target+set}" = set; then
1577 echo $ECHO_N "(cached) $ECHO_C" >&6
1578else
1579 ac_cv_target_alias=$target_alias
1580test "x$ac_cv_target_alias" = "x" &&
1581 ac_cv_target_alias=$ac_cv_host_alias
1582ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1583 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1584echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1585 { (exit 1); exit 1; }; }
1586
1587fi
1588echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1589echo "${ECHO_T}$ac_cv_target" >&6
1590target=$ac_cv_target
1591target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1592target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1593target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1594
1595
1596# The aliases save the names the user supplied, while $host etc.
1597# will get canonicalized.
1598test -n "$target_alias" &&
1599 test "$program_prefix$program_suffix$program_transform_name" = \
1600 NONENONEs,x,x, &&
1601 program_prefix=${target_alias}-
1602
1603
1604
1605WX_MAJOR_VERSION_NUMBER=2
1606WX_MINOR_VERSION_NUMBER=5
1607WX_RELEASE_NUMBER=1
1608
1609WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1610WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1611
1612WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1613
1614WX_CURRENT=1
1615WX_REVISION=0
1616WX_AGE=0
1617
1618
1619
1620USE_UNIX=1
1621USE_OS2=0
1622USE_WIN32=0
1623USE_DOS=0
1624USE_BEOS=0
1625USE_MAC=0
1626
1627USE_AIX=
1628USE_BSD= USE_DARWIN= USE_FREEBSD=
1629USE_GNU= USE_HPUX=
1630USE_LINUX=
1631USE_NETBSD=
1632USE_OPENBSD=
1633USE_OSF= USE_SGI=
1634USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1635USE_ULTRIX=
1636USE_UNIXWARE=
1637
1638USE_ALPHA=
1639
1640NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1641
1642ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1643
1644DEFAULT_wxUSE_COCOA=0
1645DEFAULT_wxUSE_GTK=0
1646DEFAULT_wxUSE_MAC=0
1647DEFAULT_wxUSE_MGL=0
1648DEFAULT_wxUSE_MICROWIN=0
1649DEFAULT_wxUSE_MOTIF=0
1650DEFAULT_wxUSE_MSW=0
1651DEFAULT_wxUSE_PM=0
1652DEFAULT_wxUSE_X11=0
1653
1654DEFAULT_DEFAULT_wxUSE_COCOA=0
1655DEFAULT_DEFAULT_wxUSE_GTK=0
1656DEFAULT_DEFAULT_wxUSE_MAC=0
1657DEFAULT_DEFAULT_wxUSE_MGL=0
1658DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1659DEFAULT_DEFAULT_wxUSE_MOTIF=0
1660DEFAULT_DEFAULT_wxUSE_MSW=0
1661DEFAULT_DEFAULT_wxUSE_PM=0
1662DEFAULT_DEFAULT_wxUSE_X11=0
1663
1664PROGRAM_EXT=
1665SO_SUFFIX=so
1666SAMPLES_RPATH_FLAG=
1667SAMPLES_RPATH_POSTLINK=
1668
1669case "${host}" in
1670 *-hp-hpux* )
1671 USE_HPUX=1
1672 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1673 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1674 SO_SUFFIX=sl
1675 cat >>confdefs.h <<\_ACEOF
1676#define __HPUX__ 1
1677_ACEOF
1678
1679 ;;
1680 *-*-linux* )
1681 USE_LINUX=1
1682 cat >>confdefs.h <<\_ACEOF
1683#define __LINUX__ 1
1684_ACEOF
1685
1686 TMP=`uname -m`
1687 if test "x$TMP" = "xalpha"; then
1688 USE_ALPHA=1
1689 cat >>confdefs.h <<\_ACEOF
1690#define __ALPHA__ 1
1691_ACEOF
1692
1693 fi
1694 DEFAULT_DEFAULT_wxUSE_GTK=1
1695 ;;
1696 *-*-gnu* )
1697 USE_GNU=1
1698 cat >>confdefs.h <<\_ACEOF
1699#define __GNU__ 1
1700_ACEOF
1701
1702 TMP=`uname -m`
1703 if test "x$TMP" = "xalpha"; then
1704 USE_ALPHA=1
1705 cat >>confdefs.h <<\_ACEOF
1706#define __ALPHA__ 1
1707_ACEOF
1708
1709 fi
1710 DEFAULT_DEFAULT_wxUSE_GTK=1
1711 ;;
1712 *-*-irix5* | *-*-irix6* )
1713 USE_SGI=1
1714 USE_SVR4=1
1715 cat >>confdefs.h <<\_ACEOF
1716#define __SGI__ 1
1717_ACEOF
1718
1719 cat >>confdefs.h <<\_ACEOF
1720#define __SVR4__ 1
1721_ACEOF
1722
1723 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1724 ;;
1725 *-*-solaris2* )
1726 USE_SUN=1
1727 USE_SOLARIS=1
1728 USE_SVR4=1
1729 cat >>confdefs.h <<\_ACEOF
1730#define __SUN__ 1
1731_ACEOF
1732
1733 cat >>confdefs.h <<\_ACEOF
1734#define __SOLARIS__ 1
1735_ACEOF
1736
1737 cat >>confdefs.h <<\_ACEOF
1738#define __SVR4__ 1
1739_ACEOF
1740
1741 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1742 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1743 ;;
1744 *-*-sunos4* )
1745 USE_SUN=1
1746 USE_SUNOS=1
1747 USE_BSD=1
1748 cat >>confdefs.h <<\_ACEOF
1749#define __SUN__ 1
1750_ACEOF
1751
1752 cat >>confdefs.h <<\_ACEOF
1753#define __SUNOS__ 1
1754_ACEOF
1755
1756 cat >>confdefs.h <<\_ACEOF
1757#define __BSD__ 1
1758_ACEOF
1759
1760 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1761 ;;
1762 *-*-freebsd*)
1763 USE_BSD=1
1764 USE_FREEBSD=1
1765 cat >>confdefs.h <<\_ACEOF
1766#define __FREEBSD__ 1
1767_ACEOF
1768
1769 cat >>confdefs.h <<\_ACEOF
1770#define __BSD__ 1
1771_ACEOF
1772
1773 DEFAULT_DEFAULT_wxUSE_GTK=1
1774 ;;
1775 *-*-openbsd*)
1776 USE_BSD=1
1777 USE_OPENBSD=1
1778 cat >>confdefs.h <<\_ACEOF
1779#define __OPENBSD__ 1
1780_ACEOF
1781
1782 cat >>confdefs.h <<\_ACEOF
1783#define __BSD__ 1
1784_ACEOF
1785
1786 DEFAULT_DEFAULT_wxUSE_GTK=1
1787 ;;
1788 *-*-netbsd*)
1789 USE_BSD=1
1790 USE_NETBSD=1
1791 cat >>confdefs.h <<\_ACEOF
1792#define __NETBSD__ 1
1793_ACEOF
1794
1795 cat >>confdefs.h <<\_ACEOF
1796#define __BSD__ 1
1797_ACEOF
1798
1799 DEFAULT_DEFAULT_wxUSE_GTK=1
1800 ;;
1801 *-*-osf* )
1802 USE_ALPHA=1
1803 USE_OSF=1
1804 cat >>confdefs.h <<\_ACEOF
1805#define __ALPHA__ 1
1806_ACEOF
1807
1808 cat >>confdefs.h <<\_ACEOF
1809#define __OSF__ 1
1810_ACEOF
1811
1812 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1813 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1814 ;;
1815 *-*-dgux5* )
1816 USE_ALPHA=1
1817 USE_SVR4=1
1818 cat >>confdefs.h <<\_ACEOF
1819#define __ALPHA__ 1
1820_ACEOF
1821
1822 cat >>confdefs.h <<\_ACEOF
1823#define __SVR4__ 1
1824_ACEOF
1825
1826 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1827 ;;
1828 *-*-sysv5* )
1829 USE_SYSV=1
1830 USE_SVR4=1
1831 cat >>confdefs.h <<\_ACEOF
1832#define __SYSV__ 1
1833_ACEOF
1834
1835 cat >>confdefs.h <<\_ACEOF
1836#define __SVR4__ 1
1837_ACEOF
1838
1839 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1840 ;;
1841 *-*-aix* )
1842 USE_AIX=1
1843 USE_SYSV=1
1844 USE_SVR4=1
1845 SO_SUFFIX=a
1846 cat >>confdefs.h <<\_ACEOF
1847#define __AIX__ 1
1848_ACEOF
1849
1850 cat >>confdefs.h <<\_ACEOF
1851#define __SYSV__ 1
1852_ACEOF
1853
1854 cat >>confdefs.h <<\_ACEOF
1855#define __SVR4__ 1
1856_ACEOF
1857
1858 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1859 ;;
1860
1861 *-*-*UnixWare*)
1862 USE_SYSV=1
1863 USE_SVR4=1
1864 USE_UNIXWARE=1
1865 cat >>confdefs.h <<\_ACEOF
1866#define __UNIXWARE__ 1
1867_ACEOF
1868
1869 ;;
1870
1871 *-*-cygwin* | *-*-mingw32* )
1872 SO_SUFFIX=dll
1873 PROGRAM_EXT=".exe"
1874 RESCOMP=windres
1875 DEFAULT_DEFAULT_wxUSE_MSW=1
1876 ;;
1877
1878 *-pc-msdosdjgpp )
1879 USE_UNIX=0
1880 USE_DOS=1
1881 cat >>confdefs.h <<\_ACEOF
1882#define __DOS__ 1
1883_ACEOF
1884
1885 PROGRAM_EXT=".exe"
1886 DEFAULT_DEFAULT_wxUSE_MGL=1
1887 LIBS="$LIBS -lstdc++"
1888 ;;
1889
1890 *-pc-os2_emx | *-pc-os2-emx )
1891 cat >>confdefs.h <<\_ACEOF
1892#define __EMX__ 1
1893_ACEOF
1894
1895 USE_OS2=1
1896 cat >>confdefs.h <<\_ACEOF
1897#define __OS2__ 1
1898_ACEOF
1899
1900 PROGRAM_EXT=".exe"
1901 DEFAULT_DEFAULT_wxUSE_PM=1
1902 CXX=gcc
1903 LDFLAGS="$LDFLAGS -Zcrtdll -Zsysv-signals"
1904 ac_executable_extensions=".exe"
1905 export ac_executable_extensions
1906 ac_save_IFS="$IFS"
1907 IFS='\\'
1908 ac_TEMP_PATH=
1909 for ac_dir in $PATH; do
1910 IFS=$ac_save_IFS
1911 if test -z "$ac_TEMP_PATH"; then
1912 ac_TEMP_PATH="$ac_dir"
1913 else
1914 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1915 fi
1916 done
1917 export PATH="$ac_TEMP_PATH"
1918 unset ac_TEMP_PATH
1919 ;;
1920
1921 powerpc-*-darwin* )
1922 USE_BSD=1
1923 USE_DARWIN=1
1924 SO_SUFFIX=dylib
1925 cat >>confdefs.h <<\_ACEOF
1926#define __BSD__ 1
1927_ACEOF
1928
1929 cat >>confdefs.h <<\_ACEOF
1930#define __DARWIN__ 1
1931_ACEOF
1932
1933 cat >>confdefs.h <<\_ACEOF
1934#define __POWERPC__ 1
1935_ACEOF
1936
1937 cat >>confdefs.h <<\_ACEOF
1938#define TARGET_CARBON 1
1939_ACEOF
1940
1941 DEFAULT_DEFAULT_wxUSE_MAC=1
1942 ;;
1943
1944 *-*-beos* )
1945 USE_BEOS=1
1946 cat >>confdefs.h <<\_ACEOF
1947#define __BEOS__ 1
1948_ACEOF
1949
1950 ;;
1951
1952 *)
1953 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1954echo "$as_me: error: unknown system type ${host}." >&2;}
1955 { (exit 1); exit 1; }; }
1956esac
1957
1958
1959
1960
1961 wx_arg_cache_file="configarg.cache"
1962 echo "loading argument cache $wx_arg_cache_file"
1963 rm -f ${wx_arg_cache_file}.tmp
1964 touch ${wx_arg_cache_file}.tmp
1965 touch ${wx_arg_cache_file}
1966
1967
1968DEBUG_CONFIGURE=0
1969if test $DEBUG_CONFIGURE = 1; then
1970 DEFAULT_wxUSE_UNIVERSAL=no
1971 DEFAULT_wxUSE_STL=no
1972
1973 DEFAULT_wxUSE_NANOX=no
1974
1975 DEFAULT_wxUSE_THREADS=yes
1976
1977 DEFAULT_wxUSE_SHARED=yes
1978 DEFAULT_wxUSE_OPTIMISE=no
1979 DEFAULT_wxUSE_PROFILE=no
1980 DEFAULT_wxUSE_NO_DEPS=no
1981 DEFAULT_wxUSE_NO_RTTI=no
1982 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1983 DEFAULT_wxUSE_PERMISSIVE=no
1984 DEFAULT_wxUSE_DEBUG_FLAG=yes
1985 DEFAULT_wxUSE_DEBUG_INFO=yes
1986 DEFAULT_wxUSE_DEBUG_GDB=yes
1987 DEFAULT_wxUSE_MEM_TRACING=no
1988 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1989 DEFAULT_wxUSE_DMALLOC=no
1990 DEFAULT_wxUSE_APPLE_IEEE=no
1991
1992 DEFAULT_wxUSE_EXCEPTIONS=no
1993 DEFAULT_wxUSE_LOG=yes
1994 DEFAULT_wxUSE_LOGWINDOW=no
1995 DEFAULT_wxUSE_LOGGUI=no
1996 DEFAULT_wxUSE_LOGDIALOG=no
1997
1998 DEFAULT_wxUSE_GUI=yes
1999 DEFAULT_wxUSE_CONTROLS=no
2000
2001 DEFAULT_wxUSE_REGEX=no
2002 DEFAULT_wxUSE_XML=no
2003 DEFAULT_wxUSE_EXPAT=no
2004 DEFAULT_wxUSE_ZLIB=no
2005 DEFAULT_wxUSE_LIBPNG=no
2006 DEFAULT_wxUSE_LIBJPEG=no
2007 DEFAULT_wxUSE_LIBTIFF=no
2008 DEFAULT_wxUSE_ODBC=no
2009 DEFAULT_wxUSE_OPENGL=no
2010
2011 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2012 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2013 DEFAULT_wxUSE_STD_IOSTREAM=no
2014 DEFAULT_wxUSE_CMDLINE_PARSER=no
2015 DEFAULT_wxUSE_DATETIME=no
2016 DEFAULT_wxUSE_TIMER=no
2017 DEFAULT_wxUSE_STOPWATCH=no
2018 DEFAULT_wxUSE_FILE=no
2019 DEFAULT_wxUSE_FFILE=no
2020 DEFAULT_wxUSE_TEXTBUFFER=no
2021 DEFAULT_wxUSE_TEXTFILE=no
2022 DEFAULT_wxUSE_WAVE=no
2023 DEFAULT_wxUSE_INTL=no
2024 DEFAULT_wxUSE_CONFIG=no
2025 DEFAULT_wxUSE_FONTMAP=no
2026 DEFAULT_wxUSE_STREAMS=no
2027 DEFAULT_wxUSE_SOCKETS=no
2028 DEFAULT_wxUSE_OLE=no
2029 DEFAULT_wxUSE_DATAOBJ=no
2030 DEFAULT_wxUSE_DIALUP_MANAGER=no
2031 DEFAULT_wxUSE_JOYSTICK=no
2032 DEFAULT_wxUSE_DYNLIB_CLASS=no
2033 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2034 DEFAULT_wxUSE_LONGLONG=no
2035 DEFAULT_wxUSE_GEOMETRY=no
2036
2037 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2038 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2039 DEFAULT_wxUSE_POSTSCRIPT=no
2040
2041 DEFAULT_wxUSE_CLIPBOARD=no
2042 DEFAULT_wxUSE_TOOLTIPS=no
2043 DEFAULT_wxUSE_DRAG_AND_DROP=no
2044 DEFAULT_wxUSE_DRAGIMAGE=no
2045 DEFAULT_wxUSE_SPLINES=no
2046
2047 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2048 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2049 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2050
2051 DEFAULT_wxUSE_RESOURCES=no
2052 DEFAULT_wxUSE_CONSTRAINTS=no
2053 DEFAULT_wxUSE_IPC=no
2054 DEFAULT_wxUSE_HELP=no
2055 DEFAULT_wxUSE_MS_HTML_HELP=no
2056 DEFAULT_wxUSE_WXHTML_HELP=no
2057 DEFAULT_wxUSE_TREELAYOUT=no
2058 DEFAULT_wxUSE_METAFILE=no
2059 DEFAULT_wxUSE_MIMETYPE=no
2060 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2061 DEFAULT_wxUSE_PROTOCOL=no
2062 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2063 DEFAULT_wxUSE_PROTOCOL_FTP=no
2064 DEFAULT_wxUSE_PROTOCOL_FILE=no
2065 DEFAULT_wxUSE_URL=no
2066
2067 DEFAULT_wxUSE_COMMONDLGS=no
2068 DEFAULT_wxUSE_CHOICEDLG=no
2069 DEFAULT_wxUSE_COLOURDLG=no
2070 DEFAULT_wxUSE_DIRDLG=no
2071 DEFAULT_wxUSE_FILEDLG=no
2072 DEFAULT_wxUSE_FINDREPLDLG=no
2073 DEFAULT_wxUSE_FONTDLG=no
2074 DEFAULT_wxUSE_MSGDLG=no
2075 DEFAULT_wxUSE_NUMBERDLG=no
2076 DEFAULT_wxUSE_TEXTDLG=no
2077 DEFAULT_wxUSE_SPLASH=no
2078 DEFAULT_wxUSE_STARTUP_TIPS=no
2079 DEFAULT_wxUSE_PROGRESSDLG=no
2080 DEFAULT_wxUSE_WIZARDDLG=no
2081
2082 DEFAULT_wxUSE_MENUS=no
2083 DEFAULT_wxUSE_MINIFRAME=no
2084 DEFAULT_wxUSE_HTML=no
2085 DEFAULT_wxUSE_FILESYSTEM=no
2086 DEFAULT_wxUSE_FS_INET=no
2087 DEFAULT_wxUSE_FS_ZIP=no
2088 DEFAULT_wxUSE_BUSYINFO=no
2089 DEFAULT_wxUSE_ZIPSTREAM=no
2090 DEFAULT_wxUSE_GZSTREAM=no
2091 DEFAULT_wxUSE_VALIDATORS=no
2092
2093 DEFAULT_wxUSE_ACCEL=no
2094 DEFAULT_wxUSE_BUTTON=no
2095 DEFAULT_wxUSE_BMPBUTTON=no
2096 DEFAULT_wxUSE_CALCTRL=no
2097 DEFAULT_wxUSE_CARET=no
2098 DEFAULT_wxUSE_CHECKBOX=no
2099 DEFAULT_wxUSE_CHECKLST=no
2100 DEFAULT_wxUSE_CHOICE=no
2101 DEFAULT_wxUSE_COMBOBOX=no
2102 DEFAULT_wxUSE_DISPLAY=no
2103 DEFAULT_wxUSE_GAUGE=no
2104 DEFAULT_wxUSE_GRID=no
2105 DEFAULT_wxUSE_IMAGLIST=no
2106 DEFAULT_wxUSE_LISTBOOK=no
2107 DEFAULT_wxUSE_LISTBOX=no
2108 DEFAULT_wxUSE_LISTCTRL=no
2109 DEFAULT_wxUSE_NOTEBOOK=no
2110 DEFAULT_wxUSE_RADIOBOX=no
2111 DEFAULT_wxUSE_RADIOBTN=no
2112 DEFAULT_wxUSE_SASH=no
2113 DEFAULT_wxUSE_SCROLLBAR=no
2114 DEFAULT_wxUSE_SLIDER=no
2115 DEFAULT_wxUSE_SPINBTN=no
2116 DEFAULT_wxUSE_SPINCTRL=no
2117 DEFAULT_wxUSE_SPLITTER=no
2118 DEFAULT_wxUSE_STATBMP=no
2119 DEFAULT_wxUSE_STATBOX=no
2120 DEFAULT_wxUSE_STATLINE=no
2121 DEFAULT_wxUSE_STATTEXT=no
2122 DEFAULT_wxUSE_STATUSBAR=yes
2123 DEFAULT_wxUSE_TABDIALOG=no
2124 DEFAULT_wxUSE_TEXTCTRL=no
2125 DEFAULT_wxUSE_TOGGLEBTN=no
2126 DEFAULT_wxUSE_TOOLBAR=no
2127 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2128 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2129 DEFAULT_wxUSE_TREECTRL=no
2130 DEFAULT_wxUSE_POPUPWIN=no
2131 DEFAULT_wxUSE_TIPWINDOW=no
2132
2133 DEFAULT_wxUSE_UNICODE=no
2134 DEFAULT_wxUSE_UNICODE_MSLU=no
2135 DEFAULT_wxUSE_WCSRTOMBS=no
2136
2137 DEFAULT_wxUSE_PALETTE=no
2138 DEFAULT_wxUSE_IMAGE=no
2139 DEFAULT_wxUSE_GIF=no
2140 DEFAULT_wxUSE_PCX=no
2141 DEFAULT_wxUSE_PNM=no
2142 DEFAULT_wxUSE_IFF=no
2143 DEFAULT_wxUSE_XPM=no
2144 DEFAULT_wxUSE_ICO_CUR=no
2145 DEFAULT_wxUSE_ACCESSIBILITY=no
2146
2147 DEFAULT_wxUSE_MONOLITHIC=no
2148 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2149else
2150 DEFAULT_wxUSE_UNIVERSAL=no
2151 DEFAULT_wxUSE_STL=no
2152
2153 DEFAULT_wxUSE_NANOX=no
2154
2155 DEFAULT_wxUSE_THREADS=yes
2156
2157 DEFAULT_wxUSE_SHARED=yes
2158 DEFAULT_wxUSE_OPTIMISE=yes
2159 DEFAULT_wxUSE_PROFILE=no
2160 DEFAULT_wxUSE_NO_DEPS=no
2161 DEFAULT_wxUSE_NO_RTTI=no
2162 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2163 DEFAULT_wxUSE_PERMISSIVE=no
2164 DEFAULT_wxUSE_DEBUG_FLAG=no
2165 DEFAULT_wxUSE_DEBUG_INFO=no
2166 DEFAULT_wxUSE_DEBUG_GDB=no
2167 DEFAULT_wxUSE_MEM_TRACING=no
2168 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2169 DEFAULT_wxUSE_DMALLOC=no
2170 DEFAULT_wxUSE_APPLE_IEEE=yes
2171
2172 DEFAULT_wxUSE_EXCEPTIONS=yes
2173 DEFAULT_wxUSE_LOG=yes
2174 DEFAULT_wxUSE_LOGWINDOW=yes
2175 DEFAULT_wxUSE_LOGGUI=yes
2176 DEFAULT_wxUSE_LOGDIALOG=yes
2177
2178 DEFAULT_wxUSE_GUI=yes
2179
2180 DEFAULT_wxUSE_REGEX=yes
2181 DEFAULT_wxUSE_XML=yes
2182 DEFAULT_wxUSE_EXPAT=yes
2183 DEFAULT_wxUSE_ZLIB=yes
2184 DEFAULT_wxUSE_LIBPNG=yes
2185 DEFAULT_wxUSE_LIBJPEG=yes
2186 DEFAULT_wxUSE_LIBTIFF=yes
2187 DEFAULT_wxUSE_LIBMSPACK=yes
2188 DEFAULT_wxUSE_ODBC=no
2189 DEFAULT_wxUSE_OPENGL=no
2190
2191 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2192 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2193 DEFAULT_wxUSE_STD_IOSTREAM=no
2194 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2195 DEFAULT_wxUSE_DATETIME=yes
2196 DEFAULT_wxUSE_TIMER=yes
2197 DEFAULT_wxUSE_STOPWATCH=yes
2198 DEFAULT_wxUSE_FILE=yes
2199 DEFAULT_wxUSE_FFILE=yes
2200 DEFAULT_wxUSE_TEXTBUFFER=yes
2201 DEFAULT_wxUSE_TEXTFILE=yes
2202 DEFAULT_wxUSE_WAVE=no
2203 DEFAULT_wxUSE_INTL=yes
2204 DEFAULT_wxUSE_CONFIG=yes
2205 DEFAULT_wxUSE_FONTMAP=yes
2206 DEFAULT_wxUSE_STREAMS=yes
2207 DEFAULT_wxUSE_SOCKETS=yes
2208 DEFAULT_wxUSE_OLE=yes
2209 DEFAULT_wxUSE_DATAOBJ=yes
2210 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2211 DEFAULT_wxUSE_JOYSTICK=yes
2212 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2213 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2214 DEFAULT_wxUSE_LONGLONG=yes
2215 DEFAULT_wxUSE_GEOMETRY=yes
2216
2217 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2218 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2219 DEFAULT_wxUSE_POSTSCRIPT=yes
2220
2221 DEFAULT_wxUSE_CLIPBOARD=yes
2222 DEFAULT_wxUSE_TOOLTIPS=yes
2223 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2224 DEFAULT_wxUSE_DRAGIMAGE=yes
2225 DEFAULT_wxUSE_SPLINES=yes
2226
2227 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2228 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2229 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2230
2231 DEFAULT_wxUSE_RESOURCES=no
2232 DEFAULT_wxUSE_CONSTRAINTS=yes
2233 DEFAULT_wxUSE_IPC=yes
2234 DEFAULT_wxUSE_HELP=yes
2235 DEFAULT_wxUSE_MS_HTML_HELP=yes
2236 DEFAULT_wxUSE_WXHTML_HELP=yes
2237 DEFAULT_wxUSE_TREELAYOUT=yes
2238 DEFAULT_wxUSE_METAFILE=yes
2239 DEFAULT_wxUSE_MIMETYPE=yes
2240 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2241 DEFAULT_wxUSE_PROTOCOL=yes
2242 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2243 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2244 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2245 DEFAULT_wxUSE_URL=yes
2246
2247 DEFAULT_wxUSE_COMMONDLGS=yes
2248 DEFAULT_wxUSE_CHOICEDLG=yes
2249 DEFAULT_wxUSE_COLOURDLG=yes
2250 DEFAULT_wxUSE_DIRDLG=yes
2251 DEFAULT_wxUSE_FILEDLG=yes
2252 DEFAULT_wxUSE_FINDREPLDLG=yes
2253 DEFAULT_wxUSE_FONTDLG=yes
2254 DEFAULT_wxUSE_MSGDLG=yes
2255 DEFAULT_wxUSE_NUMBERDLG=yes
2256 DEFAULT_wxUSE_TEXTDLG=yes
2257 DEFAULT_wxUSE_SPLASH=yes
2258 DEFAULT_wxUSE_STARTUP_TIPS=yes
2259 DEFAULT_wxUSE_PROGRESSDLG=yes
2260 DEFAULT_wxUSE_WIZARDDLG=yes
2261
2262 DEFAULT_wxUSE_MENUS=yes
2263 DEFAULT_wxUSE_MINIFRAME=yes
2264 DEFAULT_wxUSE_HTML=yes
2265 DEFAULT_wxUSE_FILESYSTEM=yes
2266 DEFAULT_wxUSE_FS_INET=yes
2267 DEFAULT_wxUSE_FS_ZIP=yes
2268 DEFAULT_wxUSE_BUSYINFO=yes
2269 DEFAULT_wxUSE_ZIPSTREAM=yes
2270 DEFAULT_wxUSE_GZSTREAM=yes
2271 DEFAULT_wxUSE_VALIDATORS=yes
2272
2273 DEFAULT_wxUSE_ACCEL=yes
2274 DEFAULT_wxUSE_BUTTON=yes
2275 DEFAULT_wxUSE_BMPBUTTON=yes
2276 DEFAULT_wxUSE_CALCTRL=yes
2277 DEFAULT_wxUSE_CARET=yes
2278 DEFAULT_wxUSE_CHECKBOX=yes
2279 DEFAULT_wxUSE_CHECKLST=yes
2280 DEFAULT_wxUSE_CHOICE=yes
2281 DEFAULT_wxUSE_COMBOBOX=yes
2282 DEFAULT_wxUSE_DISPLAY=no
2283 DEFAULT_wxUSE_GAUGE=yes
2284 DEFAULT_wxUSE_GRID=yes
2285 DEFAULT_wxUSE_IMAGLIST=yes
2286 DEFAULT_wxUSE_LISTBOOK=yes
2287 DEFAULT_wxUSE_LISTBOX=yes
2288 DEFAULT_wxUSE_LISTCTRL=yes
2289 DEFAULT_wxUSE_NOTEBOOK=yes
2290 DEFAULT_wxUSE_RADIOBOX=yes
2291 DEFAULT_wxUSE_RADIOBTN=yes
2292 DEFAULT_wxUSE_SASH=yes
2293 DEFAULT_wxUSE_SCROLLBAR=yes
2294 DEFAULT_wxUSE_SLIDER=yes
2295 DEFAULT_wxUSE_SPINBTN=yes
2296 DEFAULT_wxUSE_SPINCTRL=yes
2297 DEFAULT_wxUSE_SPLITTER=yes
2298 DEFAULT_wxUSE_STATBMP=yes
2299 DEFAULT_wxUSE_STATBOX=yes
2300 DEFAULT_wxUSE_STATLINE=yes
2301 DEFAULT_wxUSE_STATTEXT=yes
2302 DEFAULT_wxUSE_STATUSBAR=yes
2303 DEFAULT_wxUSE_TABDIALOG=no
2304 DEFAULT_wxUSE_TEXTCTRL=yes
2305 DEFAULT_wxUSE_TOGGLEBTN=yes
2306 DEFAULT_wxUSE_TOOLBAR=yes
2307 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2308 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2309 DEFAULT_wxUSE_TREECTRL=yes
2310 DEFAULT_wxUSE_POPUPWIN=yes
2311 DEFAULT_wxUSE_TIPWINDOW=yes
2312
2313 DEFAULT_wxUSE_UNICODE=no
2314 DEFAULT_wxUSE_UNICODE_MSLU=yes
2315 DEFAULT_wxUSE_WCSRTOMBS=no
2316
2317 DEFAULT_wxUSE_PALETTE=yes
2318 DEFAULT_wxUSE_IMAGE=yes
2319 DEFAULT_wxUSE_GIF=yes
2320 DEFAULT_wxUSE_PCX=yes
2321 DEFAULT_wxUSE_IFF=no
2322 DEFAULT_wxUSE_PNM=yes
2323 DEFAULT_wxUSE_XPM=yes
2324 DEFAULT_wxUSE_ICO_CUR=yes
2325 DEFAULT_wxUSE_ACCESSIBILITY=no
2326
2327 DEFAULT_wxUSE_MONOLITHIC=no
2328 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2329fi
2330
2331
2332
2333for toolkit in `echo $ALL_TOOLKITS`; do
2334 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2335 if test "x$LINE" != "x" ; then
2336 has_toolkit_in_cache=1
2337 eval "DEFAULT_$LINE"
2338 eval "CACHE_$toolkit=1"
2339 fi
2340done
2341
2342
2343
2344 enablestring=
2345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2346echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2347 no_cache=0
2348 # Check whether --enable-gui or --disable-gui was given.
2349if test "${enable_gui+set}" = set; then
2350 enableval="$enable_gui"
2351
2352 if test "$enableval" = yes; then
2353 ac_cv_use_gui='wxUSE_GUI=yes'
2354 else
2355 ac_cv_use_gui='wxUSE_GUI=no'
2356 fi
2357
2358else
2359
2360 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2361 if test "x$LINE" != x ; then
2362 eval "DEFAULT_$LINE"
2363 else
2364 no_cache=1
2365 fi
2366
2367 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2368
2369fi;
2370
2371 eval "$ac_cv_use_gui"
2372 if test "$no_cache" != 1; then
2373 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2374 fi
2375
2376 if test "$wxUSE_GUI" = yes; then
2377 echo "$as_me:$LINENO: result: yes" >&5
2378echo "${ECHO_T}yes" >&6
2379 else
2380 echo "$as_me:$LINENO: result: no" >&5
2381echo "${ECHO_T}no" >&6
2382 fi
2383
2384
2385 enablestring=
2386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2387echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2388 no_cache=0
2389 # Check whether --enable-monolithic or --disable-monolithic was given.
2390if test "${enable_monolithic+set}" = set; then
2391 enableval="$enable_monolithic"
2392
2393 if test "$enableval" = yes; then
2394 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2395 else
2396 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2397 fi
2398
2399else
2400
2401 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2402 if test "x$LINE" != x ; then
2403 eval "DEFAULT_$LINE"
2404 else
2405 no_cache=1
2406 fi
2407
2408 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2409
2410fi;
2411
2412 eval "$ac_cv_use_monolithic"
2413 if test "$no_cache" != 1; then
2414 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2415 fi
2416
2417 if test "$wxUSE_MONOLITHIC" = yes; then
2418 echo "$as_me:$LINENO: result: yes" >&5
2419echo "${ECHO_T}yes" >&6
2420 else
2421 echo "$as_me:$LINENO: result: no" >&5
2422echo "${ECHO_T}no" >&6
2423 fi
2424
2425
2426if test "$wxUSE_GUI" = "yes"; then
2427
2428
2429 enablestring=
2430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2431echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2432 no_cache=0
2433 # Check whether --enable-universal or --disable-universal was given.
2434if test "${enable_universal+set}" = set; then
2435 enableval="$enable_universal"
2436
2437 if test "$enableval" = yes; then
2438 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2439 else
2440 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2441 fi
2442
2443else
2444
2445 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2446 if test "x$LINE" != x ; then
2447 eval "DEFAULT_$LINE"
2448 else
2449 no_cache=1
2450 fi
2451
2452 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2453
2454fi;
2455
2456 eval "$ac_cv_use_universal"
2457 if test "$no_cache" != 1; then
2458 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2459 fi
2460
2461 if test "$wxUSE_UNIVERSAL" = yes; then
2462 echo "$as_me:$LINENO: result: yes" >&5
2463echo "${ECHO_T}yes" >&6
2464 else
2465 echo "$as_me:$LINENO: result: no" >&5
2466echo "${ECHO_T}no" >&6
2467 fi
2468
2469
2470# Check whether --with-gtk or --without-gtk was given.
2471if test "${with_gtk+set}" = set; then
2472 withval="$with_gtk"
2473 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2474fi;
2475
2476# Check whether --with-motif or --without-motif was given.
2477if test "${with_motif+set}" = set; then
2478 withval="$with_motif"
2479 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2480fi;
2481
2482# Check whether --with-mac or --without-mac was given.
2483if test "${with_mac+set}" = set; then
2484 withval="$with_mac"
2485 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2486fi;
2487
2488# Check whether --with-cocoa or --without-cocoa was given.
2489if test "${with_cocoa+set}" = set; then
2490 withval="$with_cocoa"
2491 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2492fi;
2493
2494# Check whether --with-wine or --without-wine was given.
2495if test "${with_wine+set}" = set; then
2496 withval="$with_wine"
2497 wxUSE_WINE="$withval" CACHE_WINE=1
2498fi;
2499
2500# Check whether --with-msw or --without-msw was given.
2501if test "${with_msw+set}" = set; then
2502 withval="$with_msw"
2503 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2504fi;
2505
2506# Check whether --with-pm or --without-pm was given.
2507if test "${with_pm+set}" = set; then
2508 withval="$with_pm"
2509 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2510fi;
2511
2512# Check whether --with-mgl or --without-mgl was given.
2513if test "${with_mgl+set}" = set; then
2514 withval="$with_mgl"
2515 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2516fi;
2517
2518# Check whether --with-microwin or --without-microwin was given.
2519if test "${with_microwin+set}" = set; then
2520 withval="$with_microwin"
2521 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2522fi;
2523
2524# Check whether --with-x11 or --without-x11 was given.
2525if test "${with_x11+set}" = set; then
2526 withval="$with_x11"
2527 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2528fi;
2529
2530 enablestring=
2531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2532echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2533 no_cache=0
2534 # Check whether --enable-nanox or --disable-nanox was given.
2535if test "${enable_nanox+set}" = set; then
2536 enableval="$enable_nanox"
2537
2538 if test "$enableval" = yes; then
2539 ac_cv_use_nanox='wxUSE_NANOX=yes'
2540 else
2541 ac_cv_use_nanox='wxUSE_NANOX=no'
2542 fi
2543
2544else
2545
2546 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2547 if test "x$LINE" != x ; then
2548 eval "DEFAULT_$LINE"
2549 else
2550 no_cache=1
2551 fi
2552
2553 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2554
2555fi;
2556
2557 eval "$ac_cv_use_nanox"
2558 if test "$no_cache" != 1; then
2559 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2560 fi
2561
2562 if test "$wxUSE_NANOX" = yes; then
2563 echo "$as_me:$LINENO: result: yes" >&5
2564echo "${ECHO_T}yes" >&6
2565 else
2566 echo "$as_me:$LINENO: result: no" >&5
2567echo "${ECHO_T}no" >&6
2568 fi
2569
2570
2571
2572 enablestring=
2573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2574echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2575 no_cache=0
2576 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2577if test "${enable_gtk2+set}" = set; then
2578 enableval="$enable_gtk2"
2579
2580 if test "$enableval" = yes; then
2581 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2582 else
2583 ac_cv_use_gtk2='wxUSE_GTK2=no'
2584 fi
2585
2586else
2587
2588 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2589 if test "x$LINE" != x ; then
2590 eval "DEFAULT_$LINE"
2591 else
2592 no_cache=1
2593 fi
2594
2595 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2596
2597fi;
2598
2599 eval "$ac_cv_use_gtk2"
2600 if test "$no_cache" != 1; then
2601 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2602 fi
2603
2604 if test "$wxUSE_GTK2" = yes; then
2605 echo "$as_me:$LINENO: result: yes" >&5
2606echo "${ECHO_T}yes" >&6
2607 else
2608 echo "$as_me:$LINENO: result: no" >&5
2609echo "${ECHO_T}no" >&6
2610 fi
2611
2612
2613
2614 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2615echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2616 no_cache=0
2617
2618# Check whether --with-libpng or --without-libpng was given.
2619if test "${with_libpng+set}" = set; then
2620 withval="$with_libpng"
2621
2622 if test "$withval" = yes; then
2623 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2624 elif test "$withval" = no; then
2625 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2626 elif test "$withval" = sys; then
2627 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2628 elif test "$withval" = builtin; then
2629 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2630 else
2631 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2632echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2633 { (exit 1); exit 1; }; }
2634 fi
2635
2636else
2637
2638 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2639 if test "x$LINE" != x ; then
2640 eval "DEFAULT_$LINE"
2641 else
2642 no_cache=1
2643 fi
2644
2645 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2646
2647fi;
2648
2649 eval "$ac_cv_use_libpng"
2650 if test "$no_cache" != 1; then
2651 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2652 fi
2653
2654 if test "$wxUSE_LIBPNG" = yes; then
2655 echo "$as_me:$LINENO: result: yes" >&5
2656echo "${ECHO_T}yes" >&6
2657 elif test "$wxUSE_LIBPNG" = no; then
2658 echo "$as_me:$LINENO: result: no" >&5
2659echo "${ECHO_T}no" >&6
2660 elif test "$wxUSE_LIBPNG" = sys; then
2661 echo "$as_me:$LINENO: result: system version" >&5
2662echo "${ECHO_T}system version" >&6
2663 elif test "$wxUSE_LIBPNG" = builtin; then
2664 echo "$as_me:$LINENO: result: builtin version" >&5
2665echo "${ECHO_T}builtin version" >&6
2666 else
2667 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2668echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2669 { (exit 1); exit 1; }; }
2670 fi
2671
2672
2673 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2674echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2675 no_cache=0
2676
2677# Check whether --with-libjpeg or --without-libjpeg was given.
2678if test "${with_libjpeg+set}" = set; then
2679 withval="$with_libjpeg"
2680
2681 if test "$withval" = yes; then
2682 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2683 elif test "$withval" = no; then
2684 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2685 elif test "$withval" = sys; then
2686 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2687 elif test "$withval" = builtin; then
2688 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2689 else
2690 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2691echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2692 { (exit 1); exit 1; }; }
2693 fi
2694
2695else
2696
2697 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2698 if test "x$LINE" != x ; then
2699 eval "DEFAULT_$LINE"
2700 else
2701 no_cache=1
2702 fi
2703
2704 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2705
2706fi;
2707
2708 eval "$ac_cv_use_libjpeg"
2709 if test "$no_cache" != 1; then
2710 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2711 fi
2712
2713 if test "$wxUSE_LIBJPEG" = yes; then
2714 echo "$as_me:$LINENO: result: yes" >&5
2715echo "${ECHO_T}yes" >&6
2716 elif test "$wxUSE_LIBJPEG" = no; then
2717 echo "$as_me:$LINENO: result: no" >&5
2718echo "${ECHO_T}no" >&6
2719 elif test "$wxUSE_LIBJPEG" = sys; then
2720 echo "$as_me:$LINENO: result: system version" >&5
2721echo "${ECHO_T}system version" >&6
2722 elif test "$wxUSE_LIBJPEG" = builtin; then
2723 echo "$as_me:$LINENO: result: builtin version" >&5
2724echo "${ECHO_T}builtin version" >&6
2725 else
2726 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2727echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2728 { (exit 1); exit 1; }; }
2729 fi
2730
2731
2732 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2733echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2734 no_cache=0
2735
2736# Check whether --with-libtiff or --without-libtiff was given.
2737if test "${with_libtiff+set}" = set; then
2738 withval="$with_libtiff"
2739
2740 if test "$withval" = yes; then
2741 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2742 elif test "$withval" = no; then
2743 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2744 elif test "$withval" = sys; then
2745 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2746 elif test "$withval" = builtin; then
2747 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2748 else
2749 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2750echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2751 { (exit 1); exit 1; }; }
2752 fi
2753
2754else
2755
2756 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2757 if test "x$LINE" != x ; then
2758 eval "DEFAULT_$LINE"
2759 else
2760 no_cache=1
2761 fi
2762
2763 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2764
2765fi;
2766
2767 eval "$ac_cv_use_libtiff"
2768 if test "$no_cache" != 1; then
2769 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2770 fi
2771
2772 if test "$wxUSE_LIBTIFF" = yes; then
2773 echo "$as_me:$LINENO: result: yes" >&5
2774echo "${ECHO_T}yes" >&6
2775 elif test "$wxUSE_LIBTIFF" = no; then
2776 echo "$as_me:$LINENO: result: no" >&5
2777echo "${ECHO_T}no" >&6
2778 elif test "$wxUSE_LIBTIFF" = sys; then
2779 echo "$as_me:$LINENO: result: system version" >&5
2780echo "${ECHO_T}system version" >&6
2781 elif test "$wxUSE_LIBTIFF" = builtin; then
2782 echo "$as_me:$LINENO: result: builtin version" >&5
2783echo "${ECHO_T}builtin version" >&6
2784 else
2785 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2786echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2787 { (exit 1); exit 1; }; }
2788 fi
2789
2790
2791 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2792echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2793 no_cache=0
2794
2795# Check whether --with-libmspack or --without-libmspack was given.
2796if test "${with_libmspack+set}" = set; then
2797 withval="$with_libmspack"
2798
2799 if test "$withval" = yes; then
2800 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
2801 else
2802 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
2803 fi
2804
2805else
2806
2807 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2808 if test "x$LINE" != x ; then
2809 eval "DEFAULT_$LINE"
2810 else
2811 no_cache=1
2812 fi
2813
2814 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
2815
2816fi;
2817
2818 eval "$ac_cv_use_libmspack"
2819 if test "$no_cache" != 1; then
2820 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
2821 fi
2822
2823 if test "$wxUSE_LIBMSPACK" = yes; then
2824 echo "$as_me:$LINENO: result: yes" >&5
2825echo "${ECHO_T}yes" >&6
2826 else
2827 echo "$as_me:$LINENO: result: no" >&5
2828echo "${ECHO_T}no" >&6
2829 fi
2830
2831
2832 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2833echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2834 no_cache=0
2835
2836# Check whether --with-opengl or --without-opengl was given.
2837if test "${with_opengl+set}" = set; then
2838 withval="$with_opengl"
2839
2840 if test "$withval" = yes; then
2841 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2842 else
2843 ac_cv_use_opengl='wxUSE_OPENGL=no'
2844 fi
2845
2846else
2847
2848 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2849 if test "x$LINE" != x ; then
2850 eval "DEFAULT_$LINE"
2851 else
2852 no_cache=1
2853 fi
2854
2855 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2856
2857fi;
2858
2859 eval "$ac_cv_use_opengl"
2860 if test "$no_cache" != 1; then
2861 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2862 fi
2863
2864 if test "$wxUSE_OPENGL" = yes; then
2865 echo "$as_me:$LINENO: result: yes" >&5
2866echo "${ECHO_T}yes" >&6
2867 else
2868 echo "$as_me:$LINENO: result: no" >&5
2869echo "${ECHO_T}no" >&6
2870 fi
2871
2872
2873fi
2874
2875
2876 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2877echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2878 no_cache=0
2879
2880# Check whether --with-dmalloc or --without-dmalloc was given.
2881if test "${with_dmalloc+set}" = set; then
2882 withval="$with_dmalloc"
2883
2884 if test "$withval" = yes; then
2885 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2886 else
2887 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2888 fi
2889
2890else
2891
2892 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2893 if test "x$LINE" != x ; then
2894 eval "DEFAULT_$LINE"
2895 else
2896 no_cache=1
2897 fi
2898
2899 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2900
2901fi;
2902
2903 eval "$ac_cv_use_dmalloc"
2904 if test "$no_cache" != 1; then
2905 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2906 fi
2907
2908 if test "$wxUSE_DMALLOC" = yes; then
2909 echo "$as_me:$LINENO: result: yes" >&5
2910echo "${ECHO_T}yes" >&6
2911 else
2912 echo "$as_me:$LINENO: result: no" >&5
2913echo "${ECHO_T}no" >&6
2914 fi
2915
2916
2917 echo "$as_me:$LINENO: checking for --with-regex" >&5
2918echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2919 no_cache=0
2920
2921# Check whether --with-regex or --without-regex was given.
2922if test "${with_regex+set}" = set; then
2923 withval="$with_regex"
2924
2925 if test "$withval" = yes; then
2926 ac_cv_use_regex='wxUSE_REGEX=yes'
2927 elif test "$withval" = no; then
2928 ac_cv_use_regex='wxUSE_REGEX=no'
2929 elif test "$withval" = sys; then
2930 ac_cv_use_regex='wxUSE_REGEX=sys'
2931 elif test "$withval" = builtin; then
2932 ac_cv_use_regex='wxUSE_REGEX=builtin'
2933 else
2934 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2935echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2936 { (exit 1); exit 1; }; }
2937 fi
2938
2939else
2940
2941 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2942 if test "x$LINE" != x ; then
2943 eval "DEFAULT_$LINE"
2944 else
2945 no_cache=1
2946 fi
2947
2948 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2949
2950fi;
2951
2952 eval "$ac_cv_use_regex"
2953 if test "$no_cache" != 1; then
2954 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2955 fi
2956
2957 if test "$wxUSE_REGEX" = yes; then
2958 echo "$as_me:$LINENO: result: yes" >&5
2959echo "${ECHO_T}yes" >&6
2960 elif test "$wxUSE_REGEX" = no; then
2961 echo "$as_me:$LINENO: result: no" >&5
2962echo "${ECHO_T}no" >&6
2963 elif test "$wxUSE_REGEX" = sys; then
2964 echo "$as_me:$LINENO: result: system version" >&5
2965echo "${ECHO_T}system version" >&6
2966 elif test "$wxUSE_REGEX" = builtin; then
2967 echo "$as_me:$LINENO: result: builtin version" >&5
2968echo "${ECHO_T}builtin version" >&6
2969 else
2970 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2971echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2972 { (exit 1); exit 1; }; }
2973 fi
2974
2975
2976 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2977echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2978 no_cache=0
2979
2980# Check whether --with-zlib or --without-zlib was given.
2981if test "${with_zlib+set}" = set; then
2982 withval="$with_zlib"
2983
2984 if test "$withval" = yes; then
2985 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2986 elif test "$withval" = no; then
2987 ac_cv_use_zlib='wxUSE_ZLIB=no'
2988 elif test "$withval" = sys; then
2989 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2990 elif test "$withval" = builtin; then
2991 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2992 else
2993 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2994echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2995 { (exit 1); exit 1; }; }
2996 fi
2997
2998else
2999
3000 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3001 if test "x$LINE" != x ; then
3002 eval "DEFAULT_$LINE"
3003 else
3004 no_cache=1
3005 fi
3006
3007 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3008
3009fi;
3010
3011 eval "$ac_cv_use_zlib"
3012 if test "$no_cache" != 1; then
3013 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3014 fi
3015
3016 if test "$wxUSE_ZLIB" = yes; then
3017 echo "$as_me:$LINENO: result: yes" >&5
3018echo "${ECHO_T}yes" >&6
3019 elif test "$wxUSE_ZLIB" = no; then
3020 echo "$as_me:$LINENO: result: no" >&5
3021echo "${ECHO_T}no" >&6
3022 elif test "$wxUSE_ZLIB" = sys; then
3023 echo "$as_me:$LINENO: result: system version" >&5
3024echo "${ECHO_T}system version" >&6
3025 elif test "$wxUSE_ZLIB" = builtin; then
3026 echo "$as_me:$LINENO: result: builtin version" >&5
3027echo "${ECHO_T}builtin version" >&6
3028 else
3029 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3030echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3031 { (exit 1); exit 1; }; }
3032 fi
3033
3034
3035 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3036echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3037 no_cache=0
3038
3039# Check whether --with-odbc or --without-odbc was given.
3040if test "${with_odbc+set}" = set; then
3041 withval="$with_odbc"
3042
3043 if test "$withval" = yes; then
3044 ac_cv_use_odbc='wxUSE_ODBC=yes'
3045 elif test "$withval" = no; then
3046 ac_cv_use_odbc='wxUSE_ODBC=no'
3047 elif test "$withval" = sys; then
3048 ac_cv_use_odbc='wxUSE_ODBC=sys'
3049 elif test "$withval" = builtin; then
3050 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3051 else
3052 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3053echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3054 { (exit 1); exit 1; }; }
3055 fi
3056
3057else
3058
3059 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3060 if test "x$LINE" != x ; then
3061 eval "DEFAULT_$LINE"
3062 else
3063 no_cache=1
3064 fi
3065
3066 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3067
3068fi;
3069
3070 eval "$ac_cv_use_odbc"
3071 if test "$no_cache" != 1; then
3072 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3073 fi
3074
3075 if test "$wxUSE_ODBC" = yes; then
3076 echo "$as_me:$LINENO: result: yes" >&5
3077echo "${ECHO_T}yes" >&6
3078 elif test "$wxUSE_ODBC" = no; then
3079 echo "$as_me:$LINENO: result: no" >&5
3080echo "${ECHO_T}no" >&6
3081 elif test "$wxUSE_ODBC" = sys; then
3082 echo "$as_me:$LINENO: result: system version" >&5
3083echo "${ECHO_T}system version" >&6
3084 elif test "$wxUSE_ODBC" = builtin; then
3085 echo "$as_me:$LINENO: result: builtin version" >&5
3086echo "${ECHO_T}builtin version" >&6
3087 else
3088 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3089echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3090 { (exit 1); exit 1; }; }
3091 fi
3092
3093
3094 echo "$as_me:$LINENO: checking for --with-expat" >&5
3095echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3096 no_cache=0
3097
3098# Check whether --with-expat or --without-expat was given.
3099if test "${with_expat+set}" = set; then
3100 withval="$with_expat"
3101
3102 if test "$withval" = yes; then
3103 ac_cv_use_expat='wxUSE_EXPAT=yes'
3104 elif test "$withval" = no; then
3105 ac_cv_use_expat='wxUSE_EXPAT=no'
3106 elif test "$withval" = sys; then
3107 ac_cv_use_expat='wxUSE_EXPAT=sys'
3108 elif test "$withval" = builtin; then
3109 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3110 else
3111 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3112echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3113 { (exit 1); exit 1; }; }
3114 fi
3115
3116else
3117
3118 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3119 if test "x$LINE" != x ; then
3120 eval "DEFAULT_$LINE"
3121 else
3122 no_cache=1
3123 fi
3124
3125 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3126
3127fi;
3128
3129 eval "$ac_cv_use_expat"
3130 if test "$no_cache" != 1; then
3131 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3132 fi
3133
3134 if test "$wxUSE_EXPAT" = yes; then
3135 echo "$as_me:$LINENO: result: yes" >&5
3136echo "${ECHO_T}yes" >&6
3137 elif test "$wxUSE_EXPAT" = no; then
3138 echo "$as_me:$LINENO: result: no" >&5
3139echo "${ECHO_T}no" >&6
3140 elif test "$wxUSE_EXPAT" = sys; then
3141 echo "$as_me:$LINENO: result: system version" >&5
3142echo "${ECHO_T}system version" >&6
3143 elif test "$wxUSE_EXPAT" = builtin; then
3144 echo "$as_me:$LINENO: result: builtin version" >&5
3145echo "${ECHO_T}builtin version" >&6
3146 else
3147 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3148echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3149 { (exit 1); exit 1; }; }
3150 fi
3151
3152
3153
3154
3155 enablestring=
3156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3157echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3158 no_cache=0
3159 # Check whether --enable-shared or --disable-shared was given.
3160if test "${enable_shared+set}" = set; then
3161 enableval="$enable_shared"
3162
3163 if test "$enableval" = yes; then
3164 ac_cv_use_shared='wxUSE_SHARED=yes'
3165 else
3166 ac_cv_use_shared='wxUSE_SHARED=no'
3167 fi
3168
3169else
3170
3171 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3172 if test "x$LINE" != x ; then
3173 eval "DEFAULT_$LINE"
3174 else
3175 no_cache=1
3176 fi
3177
3178 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3179
3180fi;
3181
3182 eval "$ac_cv_use_shared"
3183 if test "$no_cache" != 1; then
3184 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3185 fi
3186
3187 if test "$wxUSE_SHARED" = yes; then
3188 echo "$as_me:$LINENO: result: yes" >&5
3189echo "${ECHO_T}yes" >&6
3190 else
3191 echo "$as_me:$LINENO: result: no" >&5
3192echo "${ECHO_T}no" >&6
3193 fi
3194
3195
3196 enablestring=
3197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3198echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3199 no_cache=0
3200 # Check whether --enable-optimise or --disable-optimise was given.
3201if test "${enable_optimise+set}" = set; then
3202 enableval="$enable_optimise"
3203
3204 if test "$enableval" = yes; then
3205 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3206 else
3207 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3208 fi
3209
3210else
3211
3212 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3213 if test "x$LINE" != x ; then
3214 eval "DEFAULT_$LINE"
3215 else
3216 no_cache=1
3217 fi
3218
3219 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3220
3221fi;
3222
3223 eval "$ac_cv_use_optimise"
3224 if test "$no_cache" != 1; then
3225 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3226 fi
3227
3228 if test "$wxUSE_OPTIMISE" = yes; then
3229 echo "$as_me:$LINENO: result: yes" >&5
3230echo "${ECHO_T}yes" >&6
3231 else
3232 echo "$as_me:$LINENO: result: no" >&5
3233echo "${ECHO_T}no" >&6
3234 fi
3235
3236
3237 enablestring=
3238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3239echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3240 no_cache=0
3241 # Check whether --enable-debug or --disable-debug was given.
3242if test "${enable_debug+set}" = set; then
3243 enableval="$enable_debug"
3244
3245 if test "$enableval" = yes; then
3246 ac_cv_use_debug='wxUSE_DEBUG=yes'
3247 else
3248 ac_cv_use_debug='wxUSE_DEBUG=no'
3249 fi
3250
3251else
3252
3253 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3254 if test "x$LINE" != x ; then
3255 eval "DEFAULT_$LINE"
3256 else
3257 no_cache=1
3258 fi
3259
3260 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3261
3262fi;
3263
3264 eval "$ac_cv_use_debug"
3265 if test "$no_cache" != 1; then
3266 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3267 fi
3268
3269 if test "$wxUSE_DEBUG" = yes; then
3270 echo "$as_me:$LINENO: result: yes" >&5
3271echo "${ECHO_T}yes" >&6
3272 else
3273 echo "$as_me:$LINENO: result: no" >&5
3274echo "${ECHO_T}no" >&6
3275 fi
3276
3277
3278 enablestring=
3279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3280echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3281 no_cache=0
3282 # Check whether --enable-stl or --disable-stl was given.
3283if test "${enable_stl+set}" = set; then
3284 enableval="$enable_stl"
3285
3286 if test "$enableval" = yes; then
3287 ac_cv_use_stl='wxUSE_STL=yes'
3288 else
3289 ac_cv_use_stl='wxUSE_STL=no'
3290 fi
3291
3292else
3293
3294 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3295 if test "x$LINE" != x ; then
3296 eval "DEFAULT_$LINE"
3297 else
3298 no_cache=1
3299 fi
3300
3301 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3302
3303fi;
3304
3305 eval "$ac_cv_use_stl"
3306 if test "$no_cache" != 1; then
3307 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3308 fi
3309
3310 if test "$wxUSE_STL" = yes; then
3311 echo "$as_me:$LINENO: result: yes" >&5
3312echo "${ECHO_T}yes" >&6
3313 else
3314 echo "$as_me:$LINENO: result: no" >&5
3315echo "${ECHO_T}no" >&6
3316 fi
3317
3318
3319if test "$wxUSE_DEBUG" = "yes"; then
3320 DEFAULT_wxUSE_DEBUG_FLAG=yes
3321 DEFAULT_wxUSE_DEBUG_INFO=yes
3322 BUILD=debug
3323elif test "$wxUSE_DEBUG" = "no"; then
3324 DEFAULT_wxUSE_DEBUG_FLAG=no
3325 DEFAULT_wxUSE_DEBUG_INFO=no
3326 BUILD=release
3327fi
3328
3329
3330 enablestring=
3331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3332echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3333 no_cache=0
3334 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3335if test "${enable_debug_flag+set}" = set; then
3336 enableval="$enable_debug_flag"
3337
3338 if test "$enableval" = yes; then
3339 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3340 else
3341 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3342 fi
3343
3344else
3345
3346 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3347 if test "x$LINE" != x ; then
3348 eval "DEFAULT_$LINE"
3349 else
3350 no_cache=1
3351 fi
3352
3353 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3354
3355fi;
3356
3357 eval "$ac_cv_use_debug_flag"
3358 if test "$no_cache" != 1; then
3359 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3360 fi
3361
3362 if test "$wxUSE_DEBUG_FLAG" = yes; then
3363 echo "$as_me:$LINENO: result: yes" >&5
3364echo "${ECHO_T}yes" >&6
3365 else
3366 echo "$as_me:$LINENO: result: no" >&5
3367echo "${ECHO_T}no" >&6
3368 fi
3369
3370
3371 enablestring=
3372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3373echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3374 no_cache=0
3375 # Check whether --enable-debug_info or --disable-debug_info was given.
3376if test "${enable_debug_info+set}" = set; then
3377 enableval="$enable_debug_info"
3378
3379 if test "$enableval" = yes; then
3380 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3381 else
3382 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3383 fi
3384
3385else
3386
3387 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3388 if test "x$LINE" != x ; then
3389 eval "DEFAULT_$LINE"
3390 else
3391 no_cache=1
3392 fi
3393
3394 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3395
3396fi;
3397
3398 eval "$ac_cv_use_debug_info"
3399 if test "$no_cache" != 1; then
3400 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3401 fi
3402
3403 if test "$wxUSE_DEBUG_INFO" = yes; then
3404 echo "$as_me:$LINENO: result: yes" >&5
3405echo "${ECHO_T}yes" >&6
3406 else
3407 echo "$as_me:$LINENO: result: no" >&5
3408echo "${ECHO_T}no" >&6
3409 fi
3410
3411
3412 enablestring=
3413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3414echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3415 no_cache=0
3416 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3417if test "${enable_debug_gdb+set}" = set; then
3418 enableval="$enable_debug_gdb"
3419
3420 if test "$enableval" = yes; then
3421 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3422 else
3423 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3424 fi
3425
3426else
3427
3428 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3429 if test "x$LINE" != x ; then
3430 eval "DEFAULT_$LINE"
3431 else
3432 no_cache=1
3433 fi
3434
3435 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3436
3437fi;
3438
3439 eval "$ac_cv_use_debug_gdb"
3440 if test "$no_cache" != 1; then
3441 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3442 fi
3443
3444 if test "$wxUSE_DEBUG_GDB" = yes; then
3445 echo "$as_me:$LINENO: result: yes" >&5
3446echo "${ECHO_T}yes" >&6
3447 else
3448 echo "$as_me:$LINENO: result: no" >&5
3449echo "${ECHO_T}no" >&6
3450 fi
3451
3452
3453 enablestring=
3454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3455echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3456 no_cache=0
3457 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3458if test "${enable_debug_cntxt+set}" = set; then
3459 enableval="$enable_debug_cntxt"
3460
3461 if test "$enableval" = yes; then
3462 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3463 else
3464 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3465 fi
3466
3467else
3468
3469 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3470 if test "x$LINE" != x ; then
3471 eval "DEFAULT_$LINE"
3472 else
3473 no_cache=1
3474 fi
3475
3476 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3477
3478fi;
3479
3480 eval "$ac_cv_use_debug_cntxt"
3481 if test "$no_cache" != 1; then
3482 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3483 fi
3484
3485 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3486 echo "$as_me:$LINENO: result: yes" >&5
3487echo "${ECHO_T}yes" >&6
3488 else
3489 echo "$as_me:$LINENO: result: no" >&5
3490echo "${ECHO_T}no" >&6
3491 fi
3492
3493
3494 enablestring=
3495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3496echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3497 no_cache=0
3498 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3499if test "${enable_mem_tracing+set}" = set; then
3500 enableval="$enable_mem_tracing"
3501
3502 if test "$enableval" = yes; then
3503 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3504 else
3505 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3506 fi
3507
3508else
3509
3510 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3511 if test "x$LINE" != x ; then
3512 eval "DEFAULT_$LINE"
3513 else
3514 no_cache=1
3515 fi
3516
3517 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3518
3519fi;
3520
3521 eval "$ac_cv_use_mem_tracing"
3522 if test "$no_cache" != 1; then
3523 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3524 fi
3525
3526 if test "$wxUSE_MEM_TRACING" = yes; then
3527 echo "$as_me:$LINENO: result: yes" >&5
3528echo "${ECHO_T}yes" >&6
3529 else
3530 echo "$as_me:$LINENO: result: no" >&5
3531echo "${ECHO_T}no" >&6
3532 fi
3533
3534
3535 enablestring=
3536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3537echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3538 no_cache=0
3539 # Check whether --enable-profile or --disable-profile was given.
3540if test "${enable_profile+set}" = set; then
3541 enableval="$enable_profile"
3542
3543 if test "$enableval" = yes; then
3544 ac_cv_use_profile='wxUSE_PROFILE=yes'
3545 else
3546 ac_cv_use_profile='wxUSE_PROFILE=no'
3547 fi
3548
3549else
3550
3551 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3552 if test "x$LINE" != x ; then
3553 eval "DEFAULT_$LINE"
3554 else
3555 no_cache=1
3556 fi
3557
3558 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3559
3560fi;
3561
3562 eval "$ac_cv_use_profile"
3563 if test "$no_cache" != 1; then
3564 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3565 fi
3566
3567 if test "$wxUSE_PROFILE" = yes; then
3568 echo "$as_me:$LINENO: result: yes" >&5
3569echo "${ECHO_T}yes" >&6
3570 else
3571 echo "$as_me:$LINENO: result: no" >&5
3572echo "${ECHO_T}no" >&6
3573 fi
3574
3575
3576 enablestring=
3577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3578echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3579 no_cache=0
3580 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3581if test "${enable_no_rtti+set}" = set; then
3582 enableval="$enable_no_rtti"
3583
3584 if test "$enableval" = yes; then
3585 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3586 else
3587 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3588 fi
3589
3590else
3591
3592 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3593 if test "x$LINE" != x ; then
3594 eval "DEFAULT_$LINE"
3595 else
3596 no_cache=1
3597 fi
3598
3599 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3600
3601fi;
3602
3603 eval "$ac_cv_use_no_rtti"
3604 if test "$no_cache" != 1; then
3605 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3606 fi
3607
3608 if test "$wxUSE_NO_RTTI" = yes; then
3609 echo "$as_me:$LINENO: result: yes" >&5
3610echo "${ECHO_T}yes" >&6
3611 else
3612 echo "$as_me:$LINENO: result: no" >&5
3613echo "${ECHO_T}no" >&6
3614 fi
3615
3616
3617 enablestring=
3618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3619echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3620 no_cache=0
3621 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3622if test "${enable_no_exceptions+set}" = set; then
3623 enableval="$enable_no_exceptions"
3624
3625 if test "$enableval" = yes; then
3626 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3627 else
3628 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3629 fi
3630
3631else
3632
3633 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3634 if test "x$LINE" != x ; then
3635 eval "DEFAULT_$LINE"
3636 else
3637 no_cache=1
3638 fi
3639
3640 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3641
3642fi;
3643
3644 eval "$ac_cv_use_no_exceptions"
3645 if test "$no_cache" != 1; then
3646 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3647 fi
3648
3649 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3650 echo "$as_me:$LINENO: result: yes" >&5
3651echo "${ECHO_T}yes" >&6
3652 else
3653 echo "$as_me:$LINENO: result: no" >&5
3654echo "${ECHO_T}no" >&6
3655 fi
3656
3657
3658 enablestring=
3659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3660echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3661 no_cache=0
3662 # Check whether --enable-permissive or --disable-permissive was given.
3663if test "${enable_permissive+set}" = set; then
3664 enableval="$enable_permissive"
3665
3666 if test "$enableval" = yes; then
3667 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3668 else
3669 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3670 fi
3671
3672else
3673
3674 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3675 if test "x$LINE" != x ; then
3676 eval "DEFAULT_$LINE"
3677 else
3678 no_cache=1
3679 fi
3680
3681 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3682
3683fi;
3684
3685 eval "$ac_cv_use_permissive"
3686 if test "$no_cache" != 1; then
3687 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3688 fi
3689
3690 if test "$wxUSE_PERMISSIVE" = yes; then
3691 echo "$as_me:$LINENO: result: yes" >&5
3692echo "${ECHO_T}yes" >&6
3693 else
3694 echo "$as_me:$LINENO: result: no" >&5
3695echo "${ECHO_T}no" >&6
3696 fi
3697
3698
3699 enablestring=
3700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3701echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3702 no_cache=0
3703 # Check whether --enable-no_deps or --disable-no_deps was given.
3704if test "${enable_no_deps+set}" = set; then
3705 enableval="$enable_no_deps"
3706
3707 if test "$enableval" = yes; then
3708 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3709 else
3710 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3711 fi
3712
3713else
3714
3715 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3716 if test "x$LINE" != x ; then
3717 eval "DEFAULT_$LINE"
3718 else
3719 no_cache=1
3720 fi
3721
3722 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3723
3724fi;
3725
3726 eval "$ac_cv_use_no_deps"
3727 if test "$no_cache" != 1; then
3728 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3729 fi
3730
3731 if test "$wxUSE_NO_DEPS" = yes; then
3732 echo "$as_me:$LINENO: result: yes" >&5
3733echo "${ECHO_T}yes" >&6
3734 else
3735 echo "$as_me:$LINENO: result: no" >&5
3736echo "${ECHO_T}no" >&6
3737 fi
3738
3739
3740
3741 enablestring=
3742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3743echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3744 no_cache=0
3745 # Check whether --enable-compat22 or --disable-compat22 was given.
3746if test "${enable_compat22+set}" = set; then
3747 enableval="$enable_compat22"
3748
3749 if test "$enableval" = yes; then
3750 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3751 else
3752 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3753 fi
3754
3755else
3756
3757 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3758 if test "x$LINE" != x ; then
3759 eval "DEFAULT_$LINE"
3760 else
3761 no_cache=1
3762 fi
3763
3764 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3765
3766fi;
3767
3768 eval "$ac_cv_use_compat22"
3769 if test "$no_cache" != 1; then
3770 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3771 fi
3772
3773 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3774 echo "$as_me:$LINENO: result: yes" >&5
3775echo "${ECHO_T}yes" >&6
3776 else
3777 echo "$as_me:$LINENO: result: no" >&5
3778echo "${ECHO_T}no" >&6
3779 fi
3780
3781
3782 enablestring=disable
3783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3784echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3785 no_cache=0
3786 # Check whether --enable-compat24 or --disable-compat24 was given.
3787if test "${enable_compat24+set}" = set; then
3788 enableval="$enable_compat24"
3789
3790 if test "$enableval" = yes; then
3791 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3792 else
3793 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3794 fi
3795
3796else
3797
3798 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${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_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3806
3807fi;
3808
3809 eval "$ac_cv_use_compat24"
3810 if test "$no_cache" != 1; then
3811 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3812 fi
3813
3814 if test "$WXWIN_COMPATIBILITY_2_4" = 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# Check whether --enable-rpath or --disable-rpath was given.
3824if test "${enable_rpath+set}" = set; then
3825 enableval="$enable_rpath"
3826 wxRPATH_DIR="$enableval"
3827fi;
3828
3829if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3830 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3831fi
3832
3833
3834
3835
3836 enablestring=
3837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3838echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3839 no_cache=0
3840 # Check whether --enable-intl or --disable-intl was given.
3841if test "${enable_intl+set}" = set; then
3842 enableval="$enable_intl"
3843
3844 if test "$enableval" = yes; then
3845 ac_cv_use_intl='wxUSE_INTL=yes'
3846 else
3847 ac_cv_use_intl='wxUSE_INTL=no'
3848 fi
3849
3850else
3851
3852 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3853 if test "x$LINE" != x ; then
3854 eval "DEFAULT_$LINE"
3855 else
3856 no_cache=1
3857 fi
3858
3859 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3860
3861fi;
3862
3863 eval "$ac_cv_use_intl"
3864 if test "$no_cache" != 1; then
3865 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3866 fi
3867
3868 if test "$wxUSE_INTL" = yes; then
3869 echo "$as_me:$LINENO: result: yes" >&5
3870echo "${ECHO_T}yes" >&6
3871 else
3872 echo "$as_me:$LINENO: result: no" >&5
3873echo "${ECHO_T}no" >&6
3874 fi
3875
3876
3877 enablestring=
3878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3879echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3880 no_cache=0
3881 # Check whether --enable-config or --disable-config was given.
3882if test "${enable_config+set}" = set; then
3883 enableval="$enable_config"
3884
3885 if test "$enableval" = yes; then
3886 ac_cv_use_config='wxUSE_CONFIG=yes'
3887 else
3888 ac_cv_use_config='wxUSE_CONFIG=no'
3889 fi
3890
3891else
3892
3893 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3894 if test "x$LINE" != x ; then
3895 eval "DEFAULT_$LINE"
3896 else
3897 no_cache=1
3898 fi
3899
3900 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3901
3902fi;
3903
3904 eval "$ac_cv_use_config"
3905 if test "$no_cache" != 1; then
3906 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3907 fi
3908
3909 if test "$wxUSE_CONFIG" = yes; then
3910 echo "$as_me:$LINENO: result: yes" >&5
3911echo "${ECHO_T}yes" >&6
3912 else
3913 echo "$as_me:$LINENO: result: no" >&5
3914echo "${ECHO_T}no" >&6
3915 fi
3916
3917
3918
3919 enablestring=
3920 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3921echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3922 no_cache=0
3923 # Check whether --enable-protocols or --disable-protocols was given.
3924if test "${enable_protocols+set}" = set; then
3925 enableval="$enable_protocols"
3926
3927 if test "$enableval" = yes; then
3928 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3929 else
3930 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3931 fi
3932
3933else
3934
3935 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3936 if test "x$LINE" != x ; then
3937 eval "DEFAULT_$LINE"
3938 else
3939 no_cache=1
3940 fi
3941
3942 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3943
3944fi;
3945
3946 eval "$ac_cv_use_protocols"
3947 if test "$no_cache" != 1; then
3948 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3949 fi
3950
3951 if test "$wxUSE_PROTOCOL" = yes; then
3952 echo "$as_me:$LINENO: result: yes" >&5
3953echo "${ECHO_T}yes" >&6
3954 else
3955 echo "$as_me:$LINENO: result: no" >&5
3956echo "${ECHO_T}no" >&6
3957 fi
3958
3959
3960 enablestring=
3961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3962echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3963 no_cache=0
3964 # Check whether --enable-ftp or --disable-ftp was given.
3965if test "${enable_ftp+set}" = set; then
3966 enableval="$enable_ftp"
3967
3968 if test "$enableval" = yes; then
3969 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3970 else
3971 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3972 fi
3973
3974else
3975
3976 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3977 if test "x$LINE" != x ; then
3978 eval "DEFAULT_$LINE"
3979 else
3980 no_cache=1
3981 fi
3982
3983 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3984
3985fi;
3986
3987 eval "$ac_cv_use_ftp"
3988 if test "$no_cache" != 1; then
3989 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3990 fi
3991
3992 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3993 echo "$as_me:$LINENO: result: yes" >&5
3994echo "${ECHO_T}yes" >&6
3995 else
3996 echo "$as_me:$LINENO: result: no" >&5
3997echo "${ECHO_T}no" >&6
3998 fi
3999
4000
4001 enablestring=
4002 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4003echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4004 no_cache=0
4005 # Check whether --enable-http or --disable-http was given.
4006if test "${enable_http+set}" = set; then
4007 enableval="$enable_http"
4008
4009 if test "$enableval" = yes; then
4010 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4011 else
4012 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4013 fi
4014
4015else
4016
4017 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4018 if test "x$LINE" != x ; then
4019 eval "DEFAULT_$LINE"
4020 else
4021 no_cache=1
4022 fi
4023
4024 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4025
4026fi;
4027
4028 eval "$ac_cv_use_http"
4029 if test "$no_cache" != 1; then
4030 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4031 fi
4032
4033 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4034 echo "$as_me:$LINENO: result: yes" >&5
4035echo "${ECHO_T}yes" >&6
4036 else
4037 echo "$as_me:$LINENO: result: no" >&5
4038echo "${ECHO_T}no" >&6
4039 fi
4040
4041
4042 enablestring=
4043 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4044echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4045 no_cache=0
4046 # Check whether --enable-fileproto or --disable-fileproto was given.
4047if test "${enable_fileproto+set}" = set; then
4048 enableval="$enable_fileproto"
4049
4050 if test "$enableval" = yes; then
4051 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4052 else
4053 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4054 fi
4055
4056else
4057
4058 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4059 if test "x$LINE" != x ; then
4060 eval "DEFAULT_$LINE"
4061 else
4062 no_cache=1
4063 fi
4064
4065 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4066
4067fi;
4068
4069 eval "$ac_cv_use_fileproto"
4070 if test "$no_cache" != 1; then
4071 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4072 fi
4073
4074 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4075 echo "$as_me:$LINENO: result: yes" >&5
4076echo "${ECHO_T}yes" >&6
4077 else
4078 echo "$as_me:$LINENO: result: no" >&5
4079echo "${ECHO_T}no" >&6
4080 fi
4081
4082
4083 enablestring=
4084 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4085echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4086 no_cache=0
4087 # Check whether --enable-sockets or --disable-sockets was given.
4088if test "${enable_sockets+set}" = set; then
4089 enableval="$enable_sockets"
4090
4091 if test "$enableval" = yes; then
4092 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4093 else
4094 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4095 fi
4096
4097else
4098
4099 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4100 if test "x$LINE" != x ; then
4101 eval "DEFAULT_$LINE"
4102 else
4103 no_cache=1
4104 fi
4105
4106 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4107
4108fi;
4109
4110 eval "$ac_cv_use_sockets"
4111 if test "$no_cache" != 1; then
4112 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4113 fi
4114
4115 if test "$wxUSE_SOCKETS" = yes; then
4116 echo "$as_me:$LINENO: result: yes" >&5
4117echo "${ECHO_T}yes" >&6
4118 else
4119 echo "$as_me:$LINENO: result: no" >&5
4120echo "${ECHO_T}no" >&6
4121 fi
4122
4123
4124 enablestring=
4125 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4126echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4127 no_cache=0
4128 # Check whether --enable-ole or --disable-ole was given.
4129if test "${enable_ole+set}" = set; then
4130 enableval="$enable_ole"
4131
4132 if test "$enableval" = yes; then
4133 ac_cv_use_ole='wxUSE_OLE=yes'
4134 else
4135 ac_cv_use_ole='wxUSE_OLE=no'
4136 fi
4137
4138else
4139
4140 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4141 if test "x$LINE" != x ; then
4142 eval "DEFAULT_$LINE"
4143 else
4144 no_cache=1
4145 fi
4146
4147 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4148
4149fi;
4150
4151 eval "$ac_cv_use_ole"
4152 if test "$no_cache" != 1; then
4153 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4154 fi
4155
4156 if test "$wxUSE_OLE" = yes; then
4157 echo "$as_me:$LINENO: result: yes" >&5
4158echo "${ECHO_T}yes" >&6
4159 else
4160 echo "$as_me:$LINENO: result: no" >&5
4161echo "${ECHO_T}no" >&6
4162 fi
4163
4164
4165 enablestring=
4166 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4167echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4168 no_cache=0
4169 # Check whether --enable-dataobj or --disable-dataobj was given.
4170if test "${enable_dataobj+set}" = set; then
4171 enableval="$enable_dataobj"
4172
4173 if test "$enableval" = yes; then
4174 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4175 else
4176 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4177 fi
4178
4179else
4180
4181 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4182 if test "x$LINE" != x ; then
4183 eval "DEFAULT_$LINE"
4184 else
4185 no_cache=1
4186 fi
4187
4188 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4189
4190fi;
4191
4192 eval "$ac_cv_use_dataobj"
4193 if test "$no_cache" != 1; then
4194 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4195 fi
4196
4197 if test "$wxUSE_DATAOBJ" = yes; then
4198 echo "$as_me:$LINENO: result: yes" >&5
4199echo "${ECHO_T}yes" >&6
4200 else
4201 echo "$as_me:$LINENO: result: no" >&5
4202echo "${ECHO_T}no" >&6
4203 fi
4204
4205
4206
4207 enablestring=
4208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4209echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4210 no_cache=0
4211 # Check whether --enable-ipc or --disable-ipc was given.
4212if test "${enable_ipc+set}" = set; then
4213 enableval="$enable_ipc"
4214
4215 if test "$enableval" = yes; then
4216 ac_cv_use_ipc='wxUSE_IPC=yes'
4217 else
4218 ac_cv_use_ipc='wxUSE_IPC=no'
4219 fi
4220
4221else
4222
4223 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4224 if test "x$LINE" != x ; then
4225 eval "DEFAULT_$LINE"
4226 else
4227 no_cache=1
4228 fi
4229
4230 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4231
4232fi;
4233
4234 eval "$ac_cv_use_ipc"
4235 if test "$no_cache" != 1; then
4236 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4237 fi
4238
4239 if test "$wxUSE_IPC" = yes; then
4240 echo "$as_me:$LINENO: result: yes" >&5
4241echo "${ECHO_T}yes" >&6
4242 else
4243 echo "$as_me:$LINENO: result: no" >&5
4244echo "${ECHO_T}no" >&6
4245 fi
4246
4247
4248
4249 enablestring=
4250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4251echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4252 no_cache=0
4253 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4254if test "${enable_apple_ieee+set}" = set; then
4255 enableval="$enable_apple_ieee"
4256
4257 if test "$enableval" = yes; then
4258 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4259 else
4260 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4261 fi
4262
4263else
4264
4265 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4266 if test "x$LINE" != x ; then
4267 eval "DEFAULT_$LINE"
4268 else
4269 no_cache=1
4270 fi
4271
4272 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4273
4274fi;
4275
4276 eval "$ac_cv_use_apple_ieee"
4277 if test "$no_cache" != 1; then
4278 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4279 fi
4280
4281 if test "$wxUSE_APPLE_IEEE" = yes; then
4282 echo "$as_me:$LINENO: result: yes" >&5
4283echo "${ECHO_T}yes" >&6
4284 else
4285 echo "$as_me:$LINENO: result: no" >&5
4286echo "${ECHO_T}no" >&6
4287 fi
4288
4289
4290 enablestring=
4291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4292echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4293 no_cache=0
4294 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4295if test "${enable_catch_segvs+set}" = set; then
4296 enableval="$enable_catch_segvs"
4297
4298 if test "$enableval" = yes; then
4299 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4300 else
4301 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4302 fi
4303
4304else
4305
4306 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4307 if test "x$LINE" != x ; then
4308 eval "DEFAULT_$LINE"
4309 else
4310 no_cache=1
4311 fi
4312
4313 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4314
4315fi;
4316
4317 eval "$ac_cv_use_catch_segvs"
4318 if test "$no_cache" != 1; then
4319 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4320 fi
4321
4322 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4323 echo "$as_me:$LINENO: result: yes" >&5
4324echo "${ECHO_T}yes" >&6
4325 else
4326 echo "$as_me:$LINENO: result: no" >&5
4327echo "${ECHO_T}no" >&6
4328 fi
4329
4330
4331 enablestring=
4332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4333echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4334 no_cache=0
4335 # Check whether --enable-cmdline or --disable-cmdline was given.
4336if test "${enable_cmdline+set}" = set; then
4337 enableval="$enable_cmdline"
4338
4339 if test "$enableval" = yes; then
4340 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4341 else
4342 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4343 fi
4344
4345else
4346
4347 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4348 if test "x$LINE" != x ; then
4349 eval "DEFAULT_$LINE"
4350 else
4351 no_cache=1
4352 fi
4353
4354 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4355
4356fi;
4357
4358 eval "$ac_cv_use_cmdline"
4359 if test "$no_cache" != 1; then
4360 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4361 fi
4362
4363 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4364 echo "$as_me:$LINENO: result: yes" >&5
4365echo "${ECHO_T}yes" >&6
4366 else
4367 echo "$as_me:$LINENO: result: no" >&5
4368echo "${ECHO_T}no" >&6
4369 fi
4370
4371
4372 enablestring=
4373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4374echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4375 no_cache=0
4376 # Check whether --enable-datetime or --disable-datetime was given.
4377if test "${enable_datetime+set}" = set; then
4378 enableval="$enable_datetime"
4379
4380 if test "$enableval" = yes; then
4381 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4382 else
4383 ac_cv_use_datetime='wxUSE_DATETIME=no'
4384 fi
4385
4386else
4387
4388 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4389 if test "x$LINE" != x ; then
4390 eval "DEFAULT_$LINE"
4391 else
4392 no_cache=1
4393 fi
4394
4395 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4396
4397fi;
4398
4399 eval "$ac_cv_use_datetime"
4400 if test "$no_cache" != 1; then
4401 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4402 fi
4403
4404 if test "$wxUSE_DATETIME" = yes; then
4405 echo "$as_me:$LINENO: result: yes" >&5
4406echo "${ECHO_T}yes" >&6
4407 else
4408 echo "$as_me:$LINENO: result: no" >&5
4409echo "${ECHO_T}no" >&6
4410 fi
4411
4412
4413 enablestring=
4414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4415echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4416 no_cache=0
4417 # Check whether --enable-dialupman or --disable-dialupman was given.
4418if test "${enable_dialupman+set}" = set; then
4419 enableval="$enable_dialupman"
4420
4421 if test "$enableval" = yes; then
4422 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4423 else
4424 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4425 fi
4426
4427else
4428
4429 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4430 if test "x$LINE" != x ; then
4431 eval "DEFAULT_$LINE"
4432 else
4433 no_cache=1
4434 fi
4435
4436 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4437
4438fi;
4439
4440 eval "$ac_cv_use_dialupman"
4441 if test "$no_cache" != 1; then
4442 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4443 fi
4444
4445 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4446 echo "$as_me:$LINENO: result: yes" >&5
4447echo "${ECHO_T}yes" >&6
4448 else
4449 echo "$as_me:$LINENO: result: no" >&5
4450echo "${ECHO_T}no" >&6
4451 fi
4452
4453
4454 enablestring=
4455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4456echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4457 no_cache=0
4458 # Check whether --enable-dynlib or --disable-dynlib was given.
4459if test "${enable_dynlib+set}" = set; then
4460 enableval="$enable_dynlib"
4461
4462 if test "$enableval" = yes; then
4463 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4464 else
4465 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4466 fi
4467
4468else
4469
4470 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4471 if test "x$LINE" != x ; then
4472 eval "DEFAULT_$LINE"
4473 else
4474 no_cache=1
4475 fi
4476
4477 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4478
4479fi;
4480
4481 eval "$ac_cv_use_dynlib"
4482 if test "$no_cache" != 1; then
4483 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4484 fi
4485
4486 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4487 echo "$as_me:$LINENO: result: yes" >&5
4488echo "${ECHO_T}yes" >&6
4489 else
4490 echo "$as_me:$LINENO: result: no" >&5
4491echo "${ECHO_T}no" >&6
4492 fi
4493
4494
4495 enablestring=
4496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4497echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4498 no_cache=0
4499 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4500if test "${enable_dynamicloader+set}" = set; then
4501 enableval="$enable_dynamicloader"
4502
4503 if test "$enableval" = yes; then
4504 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4505 else
4506 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4507 fi
4508
4509else
4510
4511 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4512 if test "x$LINE" != x ; then
4513 eval "DEFAULT_$LINE"
4514 else
4515 no_cache=1
4516 fi
4517
4518 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4519
4520fi;
4521
4522 eval "$ac_cv_use_dynamicloader"
4523 if test "$no_cache" != 1; then
4524 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4525 fi
4526
4527 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4528 echo "$as_me:$LINENO: result: yes" >&5
4529echo "${ECHO_T}yes" >&6
4530 else
4531 echo "$as_me:$LINENO: result: no" >&5
4532echo "${ECHO_T}no" >&6
4533 fi
4534
4535
4536 enablestring=
4537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4538echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4539 no_cache=0
4540 # Check whether --enable-exceptions or --disable-exceptions was given.
4541if test "${enable_exceptions+set}" = set; then
4542 enableval="$enable_exceptions"
4543
4544 if test "$enableval" = yes; then
4545 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4546 else
4547 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4548 fi
4549
4550else
4551
4552 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4553 if test "x$LINE" != x ; then
4554 eval "DEFAULT_$LINE"
4555 else
4556 no_cache=1
4557 fi
4558
4559 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4560
4561fi;
4562
4563 eval "$ac_cv_use_exceptions"
4564 if test "$no_cache" != 1; then
4565 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4566 fi
4567
4568 if test "$wxUSE_EXCEPTIONS" = yes; then
4569 echo "$as_me:$LINENO: result: yes" >&5
4570echo "${ECHO_T}yes" >&6
4571 else
4572 echo "$as_me:$LINENO: result: no" >&5
4573echo "${ECHO_T}no" >&6
4574 fi
4575
4576
4577 enablestring=
4578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4579echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4580 no_cache=0
4581 # Check whether --enable-ffile or --disable-ffile was given.
4582if test "${enable_ffile+set}" = set; then
4583 enableval="$enable_ffile"
4584
4585 if test "$enableval" = yes; then
4586 ac_cv_use_ffile='wxUSE_FFILE=yes'
4587 else
4588 ac_cv_use_ffile='wxUSE_FFILE=no'
4589 fi
4590
4591else
4592
4593 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4594 if test "x$LINE" != x ; then
4595 eval "DEFAULT_$LINE"
4596 else
4597 no_cache=1
4598 fi
4599
4600 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4601
4602fi;
4603
4604 eval "$ac_cv_use_ffile"
4605 if test "$no_cache" != 1; then
4606 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4607 fi
4608
4609 if test "$wxUSE_FFILE" = yes; then
4610 echo "$as_me:$LINENO: result: yes" >&5
4611echo "${ECHO_T}yes" >&6
4612 else
4613 echo "$as_me:$LINENO: result: no" >&5
4614echo "${ECHO_T}no" >&6
4615 fi
4616
4617
4618 enablestring=
4619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4620echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4621 no_cache=0
4622 # Check whether --enable-file or --disable-file was given.
4623if test "${enable_file+set}" = set; then
4624 enableval="$enable_file"
4625
4626 if test "$enableval" = yes; then
4627 ac_cv_use_file='wxUSE_FILE=yes'
4628 else
4629 ac_cv_use_file='wxUSE_FILE=no'
4630 fi
4631
4632else
4633
4634 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4635 if test "x$LINE" != x ; then
4636 eval "DEFAULT_$LINE"
4637 else
4638 no_cache=1
4639 fi
4640
4641 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4642
4643fi;
4644
4645 eval "$ac_cv_use_file"
4646 if test "$no_cache" != 1; then
4647 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4648 fi
4649
4650 if test "$wxUSE_FILE" = yes; then
4651 echo "$as_me:$LINENO: result: yes" >&5
4652echo "${ECHO_T}yes" >&6
4653 else
4654 echo "$as_me:$LINENO: result: no" >&5
4655echo "${ECHO_T}no" >&6
4656 fi
4657
4658
4659 enablestring=
4660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4661echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4662 no_cache=0
4663 # Check whether --enable-filesystem or --disable-filesystem was given.
4664if test "${enable_filesystem+set}" = set; then
4665 enableval="$enable_filesystem"
4666
4667 if test "$enableval" = yes; then
4668 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4669 else
4670 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4671 fi
4672
4673else
4674
4675 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4676 if test "x$LINE" != x ; then
4677 eval "DEFAULT_$LINE"
4678 else
4679 no_cache=1
4680 fi
4681
4682 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4683
4684fi;
4685
4686 eval "$ac_cv_use_filesystem"
4687 if test "$no_cache" != 1; then
4688 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4689 fi
4690
4691 if test "$wxUSE_FILESYSTEM" = yes; then
4692 echo "$as_me:$LINENO: result: yes" >&5
4693echo "${ECHO_T}yes" >&6
4694 else
4695 echo "$as_me:$LINENO: result: no" >&5
4696echo "${ECHO_T}no" >&6
4697 fi
4698
4699
4700 enablestring=
4701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4702echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4703 no_cache=0
4704 # Check whether --enable-fontmap or --disable-fontmap was given.
4705if test "${enable_fontmap+set}" = set; then
4706 enableval="$enable_fontmap"
4707
4708 if test "$enableval" = yes; then
4709 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4710 else
4711 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4712 fi
4713
4714else
4715
4716 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4717 if test "x$LINE" != x ; then
4718 eval "DEFAULT_$LINE"
4719 else
4720 no_cache=1
4721 fi
4722
4723 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4724
4725fi;
4726
4727 eval "$ac_cv_use_fontmap"
4728 if test "$no_cache" != 1; then
4729 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4730 fi
4731
4732 if test "$wxUSE_FONTMAP" = yes; then
4733 echo "$as_me:$LINENO: result: yes" >&5
4734echo "${ECHO_T}yes" >&6
4735 else
4736 echo "$as_me:$LINENO: result: no" >&5
4737echo "${ECHO_T}no" >&6
4738 fi
4739
4740
4741 enablestring=
4742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4743echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4744 no_cache=0
4745 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4746if test "${enable_fs_inet+set}" = set; then
4747 enableval="$enable_fs_inet"
4748
4749 if test "$enableval" = yes; then
4750 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4751 else
4752 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4753 fi
4754
4755else
4756
4757 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4758 if test "x$LINE" != x ; then
4759 eval "DEFAULT_$LINE"
4760 else
4761 no_cache=1
4762 fi
4763
4764 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4765
4766fi;
4767
4768 eval "$ac_cv_use_fs_inet"
4769 if test "$no_cache" != 1; then
4770 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4771 fi
4772
4773 if test "$wxUSE_FS_INET" = yes; then
4774 echo "$as_me:$LINENO: result: yes" >&5
4775echo "${ECHO_T}yes" >&6
4776 else
4777 echo "$as_me:$LINENO: result: no" >&5
4778echo "${ECHO_T}no" >&6
4779 fi
4780
4781
4782 enablestring=
4783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
4784echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
4785 no_cache=0
4786 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4787if test "${enable_fs_zip+set}" = set; then
4788 enableval="$enable_fs_zip"
4789
4790 if test "$enableval" = yes; then
4791 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4792 else
4793 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4794 fi
4795
4796else
4797
4798 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4799 if test "x$LINE" != x ; then
4800 eval "DEFAULT_$LINE"
4801 else
4802 no_cache=1
4803 fi
4804
4805 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4806
4807fi;
4808
4809 eval "$ac_cv_use_fs_zip"
4810 if test "$no_cache" != 1; then
4811 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4812 fi
4813
4814 if test "$wxUSE_FS_ZIP" = yes; then
4815 echo "$as_me:$LINENO: result: yes" >&5
4816echo "${ECHO_T}yes" >&6
4817 else
4818 echo "$as_me:$LINENO: result: no" >&5
4819echo "${ECHO_T}no" >&6
4820 fi
4821
4822
4823 enablestring=
4824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4825echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4826 no_cache=0
4827 # Check whether --enable-geometry or --disable-geometry was given.
4828if test "${enable_geometry+set}" = set; then
4829 enableval="$enable_geometry"
4830
4831 if test "$enableval" = yes; then
4832 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4833 else
4834 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4835 fi
4836
4837else
4838
4839 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4840 if test "x$LINE" != x ; then
4841 eval "DEFAULT_$LINE"
4842 else
4843 no_cache=1
4844 fi
4845
4846 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4847
4848fi;
4849
4850 eval "$ac_cv_use_geometry"
4851 if test "$no_cache" != 1; then
4852 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4853 fi
4854
4855 if test "$wxUSE_GEOMETRY" = yes; then
4856 echo "$as_me:$LINENO: result: yes" >&5
4857echo "${ECHO_T}yes" >&6
4858 else
4859 echo "$as_me:$LINENO: result: no" >&5
4860echo "${ECHO_T}no" >&6
4861 fi
4862
4863
4864 enablestring=
4865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4866echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4867 no_cache=0
4868 # Check whether --enable-log or --disable-log was given.
4869if test "${enable_log+set}" = set; then
4870 enableval="$enable_log"
4871
4872 if test "$enableval" = yes; then
4873 ac_cv_use_log='wxUSE_LOG=yes'
4874 else
4875 ac_cv_use_log='wxUSE_LOG=no'
4876 fi
4877
4878else
4879
4880 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4881 if test "x$LINE" != x ; then
4882 eval "DEFAULT_$LINE"
4883 else
4884 no_cache=1
4885 fi
4886
4887 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4888
4889fi;
4890
4891 eval "$ac_cv_use_log"
4892 if test "$no_cache" != 1; then
4893 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4894 fi
4895
4896 if test "$wxUSE_LOG" = yes; then
4897 echo "$as_me:$LINENO: result: yes" >&5
4898echo "${ECHO_T}yes" >&6
4899 else
4900 echo "$as_me:$LINENO: result: no" >&5
4901echo "${ECHO_T}no" >&6
4902 fi
4903
4904
4905 enablestring=
4906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4907echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4908 no_cache=0
4909 # Check whether --enable-longlong or --disable-longlong was given.
4910if test "${enable_longlong+set}" = set; then
4911 enableval="$enable_longlong"
4912
4913 if test "$enableval" = yes; then
4914 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4915 else
4916 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4917 fi
4918
4919else
4920
4921 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4922 if test "x$LINE" != x ; then
4923 eval "DEFAULT_$LINE"
4924 else
4925 no_cache=1
4926 fi
4927
4928 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4929
4930fi;
4931
4932 eval "$ac_cv_use_longlong"
4933 if test "$no_cache" != 1; then
4934 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4935 fi
4936
4937 if test "$wxUSE_LONGLONG" = yes; then
4938 echo "$as_me:$LINENO: result: yes" >&5
4939echo "${ECHO_T}yes" >&6
4940 else
4941 echo "$as_me:$LINENO: result: no" >&5
4942echo "${ECHO_T}no" >&6
4943 fi
4944
4945
4946 enablestring=
4947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
4948echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
4949 no_cache=0
4950 # Check whether --enable-mimetype or --disable-mimetype was given.
4951if test "${enable_mimetype+set}" = set; then
4952 enableval="$enable_mimetype"
4953
4954 if test "$enableval" = yes; then
4955 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
4956 else
4957 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
4958 fi
4959
4960else
4961
4962 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4963 if test "x$LINE" != x ; then
4964 eval "DEFAULT_$LINE"
4965 else
4966 no_cache=1
4967 fi
4968
4969 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4970
4971fi;
4972
4973 eval "$ac_cv_use_mimetype"
4974 if test "$no_cache" != 1; then
4975 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4976 fi
4977
4978 if test "$wxUSE_MIMETYPE" = yes; then
4979 echo "$as_me:$LINENO: result: yes" >&5
4980echo "${ECHO_T}yes" >&6
4981 else
4982 echo "$as_me:$LINENO: result: no" >&5
4983echo "${ECHO_T}no" >&6
4984 fi
4985
4986
4987 enablestring=
4988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4989echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
4990 no_cache=0
4991 # Check whether --enable-mslu or --disable-mslu was given.
4992if test "${enable_mslu+set}" = set; then
4993 enableval="$enable_mslu"
4994
4995 if test "$enableval" = yes; then
4996 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4997 else
4998 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4999 fi
5000
5001else
5002
5003 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5004 if test "x$LINE" != x ; then
5005 eval "DEFAULT_$LINE"
5006 else
5007 no_cache=1
5008 fi
5009
5010 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5011
5012fi;
5013
5014 eval "$ac_cv_use_mslu"
5015 if test "$no_cache" != 1; then
5016 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5017 fi
5018
5019 if test "$wxUSE_UNICODE_MSLU" = yes; then
5020 echo "$as_me:$LINENO: result: yes" >&5
5021echo "${ECHO_T}yes" >&6
5022 else
5023 echo "$as_me:$LINENO: result: no" >&5
5024echo "${ECHO_T}no" >&6
5025 fi
5026
5027
5028 enablestring=
5029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5030echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5031 no_cache=0
5032 # Check whether --enable-snglinst or --disable-snglinst was given.
5033if test "${enable_snglinst+set}" = set; then
5034 enableval="$enable_snglinst"
5035
5036 if test "$enableval" = yes; then
5037 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5038 else
5039 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5040 fi
5041
5042else
5043
5044 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5045 if test "x$LINE" != x ; then
5046 eval "DEFAULT_$LINE"
5047 else
5048 no_cache=1
5049 fi
5050
5051 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5052
5053fi;
5054
5055 eval "$ac_cv_use_snglinst"
5056 if test "$no_cache" != 1; then
5057 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5058 fi
5059
5060 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5061 echo "$as_me:$LINENO: result: yes" >&5
5062echo "${ECHO_T}yes" >&6
5063 else
5064 echo "$as_me:$LINENO: result: no" >&5
5065echo "${ECHO_T}no" >&6
5066 fi
5067
5068
5069 enablestring=
5070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5071echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5072 no_cache=0
5073 # Check whether --enable-streams or --disable-streams was given.
5074if test "${enable_streams+set}" = set; then
5075 enableval="$enable_streams"
5076
5077 if test "$enableval" = yes; then
5078 ac_cv_use_streams='wxUSE_STREAMS=yes'
5079 else
5080 ac_cv_use_streams='wxUSE_STREAMS=no'
5081 fi
5082
5083else
5084
5085 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5086 if test "x$LINE" != x ; then
5087 eval "DEFAULT_$LINE"
5088 else
5089 no_cache=1
5090 fi
5091
5092 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5093
5094fi;
5095
5096 eval "$ac_cv_use_streams"
5097 if test "$no_cache" != 1; then
5098 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5099 fi
5100
5101 if test "$wxUSE_STREAMS" = yes; then
5102 echo "$as_me:$LINENO: result: yes" >&5
5103echo "${ECHO_T}yes" >&6
5104 else
5105 echo "$as_me:$LINENO: result: no" >&5
5106echo "${ECHO_T}no" >&6
5107 fi
5108
5109
5110 enablestring=
5111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5112echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5113 no_cache=0
5114 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5115if test "${enable_std_iostreams+set}" = set; then
5116 enableval="$enable_std_iostreams"
5117
5118 if test "$enableval" = yes; then
5119 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5120 else
5121 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5122 fi
5123
5124else
5125
5126 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5127 if test "x$LINE" != x ; then
5128 eval "DEFAULT_$LINE"
5129 else
5130 no_cache=1
5131 fi
5132
5133 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5134
5135fi;
5136
5137 eval "$ac_cv_use_std_iostreams"
5138 if test "$no_cache" != 1; then
5139 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5140 fi
5141
5142 if test "$wxUSE_STD_IOSTREAM" = yes; then
5143 echo "$as_me:$LINENO: result: yes" >&5
5144echo "${ECHO_T}yes" >&6
5145 else
5146 echo "$as_me:$LINENO: result: no" >&5
5147echo "${ECHO_T}no" >&6
5148 fi
5149
5150
5151 enablestring=
5152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5153echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5154 no_cache=0
5155 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5156if test "${enable_stopwatch+set}" = set; then
5157 enableval="$enable_stopwatch"
5158
5159 if test "$enableval" = yes; then
5160 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5161 else
5162 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5163 fi
5164
5165else
5166
5167 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5168 if test "x$LINE" != x ; then
5169 eval "DEFAULT_$LINE"
5170 else
5171 no_cache=1
5172 fi
5173
5174 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5175
5176fi;
5177
5178 eval "$ac_cv_use_stopwatch"
5179 if test "$no_cache" != 1; then
5180 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5181 fi
5182
5183 if test "$wxUSE_STOPWATCH" = yes; then
5184 echo "$as_me:$LINENO: result: yes" >&5
5185echo "${ECHO_T}yes" >&6
5186 else
5187 echo "$as_me:$LINENO: result: no" >&5
5188echo "${ECHO_T}no" >&6
5189 fi
5190
5191
5192 enablestring=
5193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5194echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5195 no_cache=0
5196 # Check whether --enable-system_options or --disable-system_options was given.
5197if test "${enable_system_options+set}" = set; then
5198 enableval="$enable_system_options"
5199
5200 if test "$enableval" = yes; then
5201 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5202 else
5203 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5204 fi
5205
5206else
5207
5208 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5209 if test "x$LINE" != x ; then
5210 eval "DEFAULT_$LINE"
5211 else
5212 no_cache=1
5213 fi
5214
5215 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5216
5217fi;
5218
5219 eval "$ac_cv_use_system_options"
5220 if test "$no_cache" != 1; then
5221 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5222 fi
5223
5224 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5225 echo "$as_me:$LINENO: result: yes" >&5
5226echo "${ECHO_T}yes" >&6
5227 else
5228 echo "$as_me:$LINENO: result: no" >&5
5229echo "${ECHO_T}no" >&6
5230 fi
5231
5232
5233 enablestring=
5234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5235echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5236 no_cache=0
5237 # Check whether --enable-textbuf or --disable-textbuf was given.
5238if test "${enable_textbuf+set}" = set; then
5239 enableval="$enable_textbuf"
5240
5241 if test "$enableval" = yes; then
5242 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5243 else
5244 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5245 fi
5246
5247else
5248
5249 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5250 if test "x$LINE" != x ; then
5251 eval "DEFAULT_$LINE"
5252 else
5253 no_cache=1
5254 fi
5255
5256 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5257
5258fi;
5259
5260 eval "$ac_cv_use_textbuf"
5261 if test "$no_cache" != 1; then
5262 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5263 fi
5264
5265 if test "$wxUSE_TEXTBUFFER" = yes; then
5266 echo "$as_me:$LINENO: result: yes" >&5
5267echo "${ECHO_T}yes" >&6
5268 else
5269 echo "$as_me:$LINENO: result: no" >&5
5270echo "${ECHO_T}no" >&6
5271 fi
5272
5273
5274 enablestring=
5275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5276echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5277 no_cache=0
5278 # Check whether --enable-textfile or --disable-textfile was given.
5279if test "${enable_textfile+set}" = set; then
5280 enableval="$enable_textfile"
5281
5282 if test "$enableval" = yes; then
5283 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5284 else
5285 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5286 fi
5287
5288else
5289
5290 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5291 if test "x$LINE" != x ; then
5292 eval "DEFAULT_$LINE"
5293 else
5294 no_cache=1
5295 fi
5296
5297 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5298
5299fi;
5300
5301 eval "$ac_cv_use_textfile"
5302 if test "$no_cache" != 1; then
5303 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5304 fi
5305
5306 if test "$wxUSE_TEXTFILE" = yes; then
5307 echo "$as_me:$LINENO: result: yes" >&5
5308echo "${ECHO_T}yes" >&6
5309 else
5310 echo "$as_me:$LINENO: result: no" >&5
5311echo "${ECHO_T}no" >&6
5312 fi
5313
5314
5315 enablestring=
5316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5317echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5318 no_cache=0
5319 # Check whether --enable-timer or --disable-timer was given.
5320if test "${enable_timer+set}" = set; then
5321 enableval="$enable_timer"
5322
5323 if test "$enableval" = yes; then
5324 ac_cv_use_timer='wxUSE_TIMER=yes'
5325 else
5326 ac_cv_use_timer='wxUSE_TIMER=no'
5327 fi
5328
5329else
5330
5331 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5332 if test "x$LINE" != x ; then
5333 eval "DEFAULT_$LINE"
5334 else
5335 no_cache=1
5336 fi
5337
5338 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5339
5340fi;
5341
5342 eval "$ac_cv_use_timer"
5343 if test "$no_cache" != 1; then
5344 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5345 fi
5346
5347 if test "$wxUSE_TIMER" = yes; then
5348 echo "$as_me:$LINENO: result: yes" >&5
5349echo "${ECHO_T}yes" >&6
5350 else
5351 echo "$as_me:$LINENO: result: no" >&5
5352echo "${ECHO_T}no" >&6
5353 fi
5354
5355
5356 enablestring=
5357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5358echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5359 no_cache=0
5360 # Check whether --enable-unicode or --disable-unicode was given.
5361if test "${enable_unicode+set}" = set; then
5362 enableval="$enable_unicode"
5363
5364 if test "$enableval" = yes; then
5365 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5366 else
5367 ac_cv_use_unicode='wxUSE_UNICODE=no'
5368 fi
5369
5370else
5371
5372 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5373 if test "x$LINE" != x ; then
5374 eval "DEFAULT_$LINE"
5375 else
5376 no_cache=1
5377 fi
5378
5379 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5380
5381fi;
5382
5383 eval "$ac_cv_use_unicode"
5384 if test "$no_cache" != 1; then
5385 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5386 fi
5387
5388 if test "$wxUSE_UNICODE" = yes; then
5389 echo "$as_me:$LINENO: result: yes" >&5
5390echo "${ECHO_T}yes" >&6
5391 else
5392 echo "$as_me:$LINENO: result: no" >&5
5393echo "${ECHO_T}no" >&6
5394 fi
5395
5396
5397 enablestring=
5398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
5399echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
5400 no_cache=0
5401 # Check whether --enable-wave or --disable-wave was given.
5402if test "${enable_wave+set}" = set; then
5403 enableval="$enable_wave"
5404
5405 if test "$enableval" = yes; then
5406 ac_cv_use_wave='wxUSE_WAVE=yes'
5407 else
5408 ac_cv_use_wave='wxUSE_WAVE=no'
5409 fi
5410
5411else
5412
5413 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
5414 if test "x$LINE" != x ; then
5415 eval "DEFAULT_$LINE"
5416 else
5417 no_cache=1
5418 fi
5419
5420 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
5421
5422fi;
5423
5424 eval "$ac_cv_use_wave"
5425 if test "$no_cache" != 1; then
5426 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
5427 fi
5428
5429 if test "$wxUSE_WAVE" = yes; then
5430 echo "$as_me:$LINENO: result: yes" >&5
5431echo "${ECHO_T}yes" >&6
5432 else
5433 echo "$as_me:$LINENO: result: no" >&5
5434echo "${ECHO_T}no" >&6
5435 fi
5436
5437
5438 enablestring=
5439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5440echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5441 no_cache=0
5442 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5443if test "${enable_wxprintfv+set}" = set; then
5444 enableval="$enable_wxprintfv"
5445
5446 if test "$enableval" = yes; then
5447 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5448 else
5449 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5450 fi
5451
5452else
5453
5454 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5455 if test "x$LINE" != x ; then
5456 eval "DEFAULT_$LINE"
5457 else
5458 no_cache=1
5459 fi
5460
5461 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5462
5463fi;
5464
5465 eval "$ac_cv_use_wxprintfv"
5466 if test "$no_cache" != 1; then
5467 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5468 fi
5469
5470 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5471 echo "$as_me:$LINENO: result: yes" >&5
5472echo "${ECHO_T}yes" >&6
5473 else
5474 echo "$as_me:$LINENO: result: no" >&5
5475echo "${ECHO_T}no" >&6
5476 fi
5477
5478
5479 enablestring=
5480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5481echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5482 no_cache=0
5483 # Check whether --enable-zipstream or --disable-zipstream was given.
5484if test "${enable_zipstream+set}" = set; then
5485 enableval="$enable_zipstream"
5486
5487 if test "$enableval" = yes; then
5488 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5489 else
5490 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5491 fi
5492
5493else
5494
5495 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5496 if test "x$LINE" != x ; then
5497 eval "DEFAULT_$LINE"
5498 else
5499 no_cache=1
5500 fi
5501
5502 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5503
5504fi;
5505
5506 eval "$ac_cv_use_zipstream"
5507 if test "$no_cache" != 1; then
5508 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5509 fi
5510
5511 if test "$wxUSE_ZIPSTREAM" = yes; then
5512 echo "$as_me:$LINENO: result: yes" >&5
5513echo "${ECHO_T}yes" >&6
5514 else
5515 echo "$as_me:$LINENO: result: no" >&5
5516echo "${ECHO_T}no" >&6
5517 fi
5518
5519
5520 enablestring=
5521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5522echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5523 no_cache=0
5524 # Check whether --enable-gzstream or --disable-gzstream was given.
5525if test "${enable_gzstream+set}" = set; then
5526 enableval="$enable_gzstream"
5527
5528 if test "$enableval" = yes; then
5529 ac_cv_use_gzstream='wxUSE_GZSTREAM=yes'
5530 else
5531 ac_cv_use_gzstream='wxUSE_GZSTREAM=no'
5532 fi
5533
5534else
5535
5536 LINE=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5537 if test "x$LINE" != x ; then
5538 eval "DEFAULT_$LINE"
5539 else
5540 no_cache=1
5541 fi
5542
5543 ac_cv_use_gzstream='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5544
5545fi;
5546
5547 eval "$ac_cv_use_gzstream"
5548 if test "$no_cache" != 1; then
5549 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5550 fi
5551
5552 if test "$wxUSE_GZSTREAM" = yes; then
5553 echo "$as_me:$LINENO: result: yes" >&5
5554echo "${ECHO_T}yes" >&6
5555 else
5556 echo "$as_me:$LINENO: result: no" >&5
5557echo "${ECHO_T}no" >&6
5558 fi
5559
5560
5561
5562 enablestring=
5563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5564echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5565 no_cache=0
5566 # Check whether --enable-url or --disable-url was given.
5567if test "${enable_url+set}" = set; then
5568 enableval="$enable_url"
5569
5570 if test "$enableval" = yes; then
5571 ac_cv_use_url='wxUSE_URL=yes'
5572 else
5573 ac_cv_use_url='wxUSE_URL=no'
5574 fi
5575
5576else
5577
5578 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5579 if test "x$LINE" != x ; then
5580 eval "DEFAULT_$LINE"
5581 else
5582 no_cache=1
5583 fi
5584
5585 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5586
5587fi;
5588
5589 eval "$ac_cv_use_url"
5590 if test "$no_cache" != 1; then
5591 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5592 fi
5593
5594 if test "$wxUSE_URL" = yes; then
5595 echo "$as_me:$LINENO: result: yes" >&5
5596echo "${ECHO_T}yes" >&6
5597 else
5598 echo "$as_me:$LINENO: result: no" >&5
5599echo "${ECHO_T}no" >&6
5600 fi
5601
5602
5603 enablestring=
5604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5605echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5606 no_cache=0
5607 # Check whether --enable-protocol or --disable-protocol was given.
5608if test "${enable_protocol+set}" = set; then
5609 enableval="$enable_protocol"
5610
5611 if test "$enableval" = yes; then
5612 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5613 else
5614 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5615 fi
5616
5617else
5618
5619 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5620 if test "x$LINE" != x ; then
5621 eval "DEFAULT_$LINE"
5622 else
5623 no_cache=1
5624 fi
5625
5626 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5627
5628fi;
5629
5630 eval "$ac_cv_use_protocol"
5631 if test "$no_cache" != 1; then
5632 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5633 fi
5634
5635 if test "$wxUSE_PROTOCOL" = yes; then
5636 echo "$as_me:$LINENO: result: yes" >&5
5637echo "${ECHO_T}yes" >&6
5638 else
5639 echo "$as_me:$LINENO: result: no" >&5
5640echo "${ECHO_T}no" >&6
5641 fi
5642
5643
5644 enablestring=
5645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5646echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5647 no_cache=0
5648 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5649if test "${enable_protocol_http+set}" = set; then
5650 enableval="$enable_protocol_http"
5651
5652 if test "$enableval" = yes; then
5653 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5654 else
5655 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5656 fi
5657
5658else
5659
5660 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5661 if test "x$LINE" != x ; then
5662 eval "DEFAULT_$LINE"
5663 else
5664 no_cache=1
5665 fi
5666
5667 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5668
5669fi;
5670
5671 eval "$ac_cv_use_protocol_http"
5672 if test "$no_cache" != 1; then
5673 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5674 fi
5675
5676 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5677 echo "$as_me:$LINENO: result: yes" >&5
5678echo "${ECHO_T}yes" >&6
5679 else
5680 echo "$as_me:$LINENO: result: no" >&5
5681echo "${ECHO_T}no" >&6
5682 fi
5683
5684
5685 enablestring=
5686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5687echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5688 no_cache=0
5689 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5690if test "${enable_protocol_ftp+set}" = set; then
5691 enableval="$enable_protocol_ftp"
5692
5693 if test "$enableval" = yes; then
5694 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5695 else
5696 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5697 fi
5698
5699else
5700
5701 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5702 if test "x$LINE" != x ; then
5703 eval "DEFAULT_$LINE"
5704 else
5705 no_cache=1
5706 fi
5707
5708 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5709
5710fi;
5711
5712 eval "$ac_cv_use_protocol_ftp"
5713 if test "$no_cache" != 1; then
5714 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5715 fi
5716
5717 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5718 echo "$as_me:$LINENO: result: yes" >&5
5719echo "${ECHO_T}yes" >&6
5720 else
5721 echo "$as_me:$LINENO: result: no" >&5
5722echo "${ECHO_T}no" >&6
5723 fi
5724
5725
5726 enablestring=
5727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5728echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5729 no_cache=0
5730 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5731if test "${enable_protocol_file+set}" = set; then
5732 enableval="$enable_protocol_file"
5733
5734 if test "$enableval" = yes; then
5735 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5736 else
5737 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5738 fi
5739
5740else
5741
5742 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5743 if test "x$LINE" != x ; then
5744 eval "DEFAULT_$LINE"
5745 else
5746 no_cache=1
5747 fi
5748
5749 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5750
5751fi;
5752
5753 eval "$ac_cv_use_protocol_file"
5754 if test "$no_cache" != 1; then
5755 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5756 fi
5757
5758 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5759 echo "$as_me:$LINENO: result: yes" >&5
5760echo "${ECHO_T}yes" >&6
5761 else
5762 echo "$as_me:$LINENO: result: no" >&5
5763echo "${ECHO_T}no" >&6
5764 fi
5765
5766
5767
5768
5769
5770 enablestring=
5771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5772echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5773 no_cache=0
5774 # Check whether --enable-threads or --disable-threads was given.
5775if test "${enable_threads+set}" = set; then
5776 enableval="$enable_threads"
5777
5778 if test "$enableval" = yes; then
5779 ac_cv_use_threads='wxUSE_THREADS=yes'
5780 else
5781 ac_cv_use_threads='wxUSE_THREADS=no'
5782 fi
5783
5784else
5785
5786 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5787 if test "x$LINE" != x ; then
5788 eval "DEFAULT_$LINE"
5789 else
5790 no_cache=1
5791 fi
5792
5793 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5794
5795fi;
5796
5797 eval "$ac_cv_use_threads"
5798 if test "$no_cache" != 1; then
5799 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5800 fi
5801
5802 if test "$wxUSE_THREADS" = yes; then
5803 echo "$as_me:$LINENO: result: yes" >&5
5804echo "${ECHO_T}yes" >&6
5805 else
5806 echo "$as_me:$LINENO: result: no" >&5
5807echo "${ECHO_T}no" >&6
5808 fi
5809
5810
5811if test "$wxUSE_GUI" = "yes"; then
5812
5813
5814
5815 enablestring=
5816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5817echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5818 no_cache=0
5819 # Check whether --enable-docview or --disable-docview was given.
5820if test "${enable_docview+set}" = set; then
5821 enableval="$enable_docview"
5822
5823 if test "$enableval" = yes; then
5824 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5825 else
5826 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5827 fi
5828
5829else
5830
5831 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5832 if test "x$LINE" != x ; then
5833 eval "DEFAULT_$LINE"
5834 else
5835 no_cache=1
5836 fi
5837
5838 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5839
5840fi;
5841
5842 eval "$ac_cv_use_docview"
5843 if test "$no_cache" != 1; then
5844 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5845 fi
5846
5847 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5848 echo "$as_me:$LINENO: result: yes" >&5
5849echo "${ECHO_T}yes" >&6
5850 else
5851 echo "$as_me:$LINENO: result: no" >&5
5852echo "${ECHO_T}no" >&6
5853 fi
5854
5855
5856 enablestring=
5857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5858echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5859 no_cache=0
5860 # Check whether --enable-help or --disable-help was given.
5861if test "${enable_help+set}" = set; then
5862 enableval="$enable_help"
5863
5864 if test "$enableval" = yes; then
5865 ac_cv_use_help='wxUSE_HELP=yes'
5866 else
5867 ac_cv_use_help='wxUSE_HELP=no'
5868 fi
5869
5870else
5871
5872 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5873 if test "x$LINE" != x ; then
5874 eval "DEFAULT_$LINE"
5875 else
5876 no_cache=1
5877 fi
5878
5879 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5880
5881fi;
5882
5883 eval "$ac_cv_use_help"
5884 if test "$no_cache" != 1; then
5885 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5886 fi
5887
5888 if test "$wxUSE_HELP" = yes; then
5889 echo "$as_me:$LINENO: result: yes" >&5
5890echo "${ECHO_T}yes" >&6
5891 else
5892 echo "$as_me:$LINENO: result: no" >&5
5893echo "${ECHO_T}no" >&6
5894 fi
5895
5896
5897 enablestring=
5898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5899echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5900 no_cache=0
5901 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5902if test "${enable_mshtmlhelp+set}" = set; then
5903 enableval="$enable_mshtmlhelp"
5904
5905 if test "$enableval" = yes; then
5906 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5907 else
5908 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5909 fi
5910
5911else
5912
5913 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5914 if test "x$LINE" != x ; then
5915 eval "DEFAULT_$LINE"
5916 else
5917 no_cache=1
5918 fi
5919
5920 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5921
5922fi;
5923
5924 eval "$ac_cv_use_mshtmlhelp"
5925 if test "$no_cache" != 1; then
5926 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5927 fi
5928
5929 if test "$wxUSE_MS_HTML_HELP" = yes; then
5930 echo "$as_me:$LINENO: result: yes" >&5
5931echo "${ECHO_T}yes" >&6
5932 else
5933 echo "$as_me:$LINENO: result: no" >&5
5934echo "${ECHO_T}no" >&6
5935 fi
5936
5937
5938 enablestring=
5939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5940echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5941 no_cache=0
5942 # Check whether --enable-html or --disable-html was given.
5943if test "${enable_html+set}" = set; then
5944 enableval="$enable_html"
5945
5946 if test "$enableval" = yes; then
5947 ac_cv_use_html='wxUSE_HTML=yes'
5948 else
5949 ac_cv_use_html='wxUSE_HTML=no'
5950 fi
5951
5952else
5953
5954 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5955 if test "x$LINE" != x ; then
5956 eval "DEFAULT_$LINE"
5957 else
5958 no_cache=1
5959 fi
5960
5961 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5962
5963fi;
5964
5965 eval "$ac_cv_use_html"
5966 if test "$no_cache" != 1; then
5967 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5968 fi
5969
5970 if test "$wxUSE_HTML" = yes; then
5971 echo "$as_me:$LINENO: result: yes" >&5
5972echo "${ECHO_T}yes" >&6
5973 else
5974 echo "$as_me:$LINENO: result: no" >&5
5975echo "${ECHO_T}no" >&6
5976 fi
5977
5978
5979 enablestring=
5980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5981echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5982 no_cache=0
5983 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5984if test "${enable_htmlhelp+set}" = set; then
5985 enableval="$enable_htmlhelp"
5986
5987 if test "$enableval" = yes; then
5988 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5989 else
5990 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5991 fi
5992
5993else
5994
5995 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5996 if test "x$LINE" != x ; then
5997 eval "DEFAULT_$LINE"
5998 else
5999 no_cache=1
6000 fi
6001
6002 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6003
6004fi;
6005
6006 eval "$ac_cv_use_htmlhelp"
6007 if test "$no_cache" != 1; then
6008 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6009 fi
6010
6011 if test "$wxUSE_WXHTML_HELP" = yes; then
6012 echo "$as_me:$LINENO: result: yes" >&5
6013echo "${ECHO_T}yes" >&6
6014 else
6015 echo "$as_me:$LINENO: result: no" >&5
6016echo "${ECHO_T}no" >&6
6017 fi
6018
6019
6020 enablestring=
6021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6022echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6023 no_cache=0
6024 # Check whether --enable-constraints or --disable-constraints was given.
6025if test "${enable_constraints+set}" = set; then
6026 enableval="$enable_constraints"
6027
6028 if test "$enableval" = yes; then
6029 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6030 else
6031 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6032 fi
6033
6034else
6035
6036 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6037 if test "x$LINE" != x ; then
6038 eval "DEFAULT_$LINE"
6039 else
6040 no_cache=1
6041 fi
6042
6043 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6044
6045fi;
6046
6047 eval "$ac_cv_use_constraints"
6048 if test "$no_cache" != 1; then
6049 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6050 fi
6051
6052 if test "$wxUSE_CONSTRAINTS" = yes; then
6053 echo "$as_me:$LINENO: result: yes" >&5
6054echo "${ECHO_T}yes" >&6
6055 else
6056 echo "$as_me:$LINENO: result: no" >&5
6057echo "${ECHO_T}no" >&6
6058 fi
6059
6060
6061 enablestring=
6062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6063echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6064 no_cache=0
6065 # Check whether --enable-printarch or --disable-printarch was given.
6066if test "${enable_printarch+set}" = set; then
6067 enableval="$enable_printarch"
6068
6069 if test "$enableval" = yes; then
6070 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6071 else
6072 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6073 fi
6074
6075else
6076
6077 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6078 if test "x$LINE" != x ; then
6079 eval "DEFAULT_$LINE"
6080 else
6081 no_cache=1
6082 fi
6083
6084 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6085
6086fi;
6087
6088 eval "$ac_cv_use_printarch"
6089 if test "$no_cache" != 1; then
6090 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6091 fi
6092
6093 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6094 echo "$as_me:$LINENO: result: yes" >&5
6095echo "${ECHO_T}yes" >&6
6096 else
6097 echo "$as_me:$LINENO: result: no" >&5
6098echo "${ECHO_T}no" >&6
6099 fi
6100
6101
6102 enablestring=
6103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6104echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6105 no_cache=0
6106 # Check whether --enable-mdi or --disable-mdi was given.
6107if test "${enable_mdi+set}" = set; then
6108 enableval="$enable_mdi"
6109
6110 if test "$enableval" = yes; then
6111 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6112 else
6113 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6114 fi
6115
6116else
6117
6118 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6119 if test "x$LINE" != x ; then
6120 eval "DEFAULT_$LINE"
6121 else
6122 no_cache=1
6123 fi
6124
6125 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6126
6127fi;
6128
6129 eval "$ac_cv_use_mdi"
6130 if test "$no_cache" != 1; then
6131 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6132 fi
6133
6134 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6135 echo "$as_me:$LINENO: result: yes" >&5
6136echo "${ECHO_T}yes" >&6
6137 else
6138 echo "$as_me:$LINENO: result: no" >&5
6139echo "${ECHO_T}no" >&6
6140 fi
6141
6142
6143 enablestring=
6144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6145echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6146 no_cache=0
6147 # Check whether --enable-loggui or --disable-loggui was given.
6148if test "${enable_loggui+set}" = set; then
6149 enableval="$enable_loggui"
6150
6151 if test "$enableval" = yes; then
6152 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6153 else
6154 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6155 fi
6156
6157else
6158
6159 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6160 if test "x$LINE" != x ; then
6161 eval "DEFAULT_$LINE"
6162 else
6163 no_cache=1
6164 fi
6165
6166 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6167
6168fi;
6169
6170 eval "$ac_cv_use_loggui"
6171 if test "$no_cache" != 1; then
6172 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6173 fi
6174
6175 if test "$wxUSE_LOGGUI" = yes; then
6176 echo "$as_me:$LINENO: result: yes" >&5
6177echo "${ECHO_T}yes" >&6
6178 else
6179 echo "$as_me:$LINENO: result: no" >&5
6180echo "${ECHO_T}no" >&6
6181 fi
6182
6183
6184 enablestring=
6185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6186echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6187 no_cache=0
6188 # Check whether --enable-logwin or --disable-logwin was given.
6189if test "${enable_logwin+set}" = set; then
6190 enableval="$enable_logwin"
6191
6192 if test "$enableval" = yes; then
6193 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6194 else
6195 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6196 fi
6197
6198else
6199
6200 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6201 if test "x$LINE" != x ; then
6202 eval "DEFAULT_$LINE"
6203 else
6204 no_cache=1
6205 fi
6206
6207 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6208
6209fi;
6210
6211 eval "$ac_cv_use_logwin"
6212 if test "$no_cache" != 1; then
6213 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6214 fi
6215
6216 if test "$wxUSE_LOGWINDOW" = yes; then
6217 echo "$as_me:$LINENO: result: yes" >&5
6218echo "${ECHO_T}yes" >&6
6219 else
6220 echo "$as_me:$LINENO: result: no" >&5
6221echo "${ECHO_T}no" >&6
6222 fi
6223
6224
6225 enablestring=
6226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6227echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6228 no_cache=0
6229 # Check whether --enable-logdialog or --disable-logdialog was given.
6230if test "${enable_logdialog+set}" = set; then
6231 enableval="$enable_logdialog"
6232
6233 if test "$enableval" = yes; then
6234 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6235 else
6236 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6237 fi
6238
6239else
6240
6241 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6242 if test "x$LINE" != x ; then
6243 eval "DEFAULT_$LINE"
6244 else
6245 no_cache=1
6246 fi
6247
6248 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6249
6250fi;
6251
6252 eval "$ac_cv_use_logdialog"
6253 if test "$no_cache" != 1; then
6254 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6255 fi
6256
6257 if test "$wxUSE_LOGDIALOG" = yes; then
6258 echo "$as_me:$LINENO: result: yes" >&5
6259echo "${ECHO_T}yes" >&6
6260 else
6261 echo "$as_me:$LINENO: result: no" >&5
6262echo "${ECHO_T}no" >&6
6263 fi
6264
6265
6266
6267 enablestring=
6268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6269echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6270 no_cache=0
6271 # Check whether --enable-postscript or --disable-postscript was given.
6272if test "${enable_postscript+set}" = set; then
6273 enableval="$enable_postscript"
6274
6275 if test "$enableval" = yes; then
6276 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6277 else
6278 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6279 fi
6280
6281else
6282
6283 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6284 if test "x$LINE" != x ; then
6285 eval "DEFAULT_$LINE"
6286 else
6287 no_cache=1
6288 fi
6289
6290 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6291
6292fi;
6293
6294 eval "$ac_cv_use_postscript"
6295 if test "$no_cache" != 1; then
6296 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6297 fi
6298
6299 if test "$wxUSE_POSTSCRIPT" = yes; then
6300 echo "$as_me:$LINENO: result: yes" >&5
6301echo "${ECHO_T}yes" >&6
6302 else
6303 echo "$as_me:$LINENO: result: no" >&5
6304echo "${ECHO_T}no" >&6
6305 fi
6306
6307
6308
6309
6310
6311 enablestring=
6312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6313echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6314 no_cache=0
6315 # Check whether --enable-prologio or --disable-prologio was given.
6316if test "${enable_prologio+set}" = set; then
6317 enableval="$enable_prologio"
6318
6319 if test "$enableval" = yes; then
6320 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6321 else
6322 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6323 fi
6324
6325else
6326
6327 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6328 if test "x$LINE" != x ; then
6329 eval "DEFAULT_$LINE"
6330 else
6331 no_cache=1
6332 fi
6333
6334 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6335
6336fi;
6337
6338 eval "$ac_cv_use_prologio"
6339 if test "$no_cache" != 1; then
6340 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6341 fi
6342
6343 if test "$wxUSE_PROLOGIO" = yes; then
6344 echo "$as_me:$LINENO: result: yes" >&5
6345echo "${ECHO_T}yes" >&6
6346 else
6347 echo "$as_me:$LINENO: result: no" >&5
6348echo "${ECHO_T}no" >&6
6349 fi
6350
6351
6352 enablestring=
6353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6354echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6355 no_cache=0
6356 # Check whether --enable-resources or --disable-resources was given.
6357if test "${enable_resources+set}" = set; then
6358 enableval="$enable_resources"
6359
6360 if test "$enableval" = yes; then
6361 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6362 else
6363 ac_cv_use_resources='wxUSE_RESOURCES=no'
6364 fi
6365
6366else
6367
6368 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6369 if test "x$LINE" != x ; then
6370 eval "DEFAULT_$LINE"
6371 else
6372 no_cache=1
6373 fi
6374
6375 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6376
6377fi;
6378
6379 eval "$ac_cv_use_resources"
6380 if test "$no_cache" != 1; then
6381 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6382 fi
6383
6384 if test "$wxUSE_RESOURCES" = yes; then
6385 echo "$as_me:$LINENO: result: yes" >&5
6386echo "${ECHO_T}yes" >&6
6387 else
6388 echo "$as_me:$LINENO: result: no" >&5
6389echo "${ECHO_T}no" >&6
6390 fi
6391
6392
6393
6394
6395 enablestring=
6396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6397echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6398 no_cache=0
6399 # Check whether --enable-clipboard or --disable-clipboard was given.
6400if test "${enable_clipboard+set}" = set; then
6401 enableval="$enable_clipboard"
6402
6403 if test "$enableval" = yes; then
6404 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6405 else
6406 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6407 fi
6408
6409else
6410
6411 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6412 if test "x$LINE" != x ; then
6413 eval "DEFAULT_$LINE"
6414 else
6415 no_cache=1
6416 fi
6417
6418 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6419
6420fi;
6421
6422 eval "$ac_cv_use_clipboard"
6423 if test "$no_cache" != 1; then
6424 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6425 fi
6426
6427 if test "$wxUSE_CLIPBOARD" = yes; then
6428 echo "$as_me:$LINENO: result: yes" >&5
6429echo "${ECHO_T}yes" >&6
6430 else
6431 echo "$as_me:$LINENO: result: no" >&5
6432echo "${ECHO_T}no" >&6
6433 fi
6434
6435
6436 enablestring=
6437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6438echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6439 no_cache=0
6440 # Check whether --enable-dnd or --disable-dnd was given.
6441if test "${enable_dnd+set}" = set; then
6442 enableval="$enable_dnd"
6443
6444 if test "$enableval" = yes; then
6445 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6446 else
6447 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6448 fi
6449
6450else
6451
6452 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6453 if test "x$LINE" != x ; then
6454 eval "DEFAULT_$LINE"
6455 else
6456 no_cache=1
6457 fi
6458
6459 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6460
6461fi;
6462
6463 eval "$ac_cv_use_dnd"
6464 if test "$no_cache" != 1; then
6465 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6466 fi
6467
6468 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6469 echo "$as_me:$LINENO: result: yes" >&5
6470echo "${ECHO_T}yes" >&6
6471 else
6472 echo "$as_me:$LINENO: result: no" >&5
6473echo "${ECHO_T}no" >&6
6474 fi
6475
6476
6477 enablestring=
6478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6479echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6480 no_cache=0
6481 # Check whether --enable-metafile or --disable-metafile was given.
6482if test "${enable_metafile+set}" = set; then
6483 enableval="$enable_metafile"
6484
6485 if test "$enableval" = yes; then
6486 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6487 else
6488 ac_cv_use_metafile='wxUSE_METAFILE=no'
6489 fi
6490
6491else
6492
6493 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6494 if test "x$LINE" != x ; then
6495 eval "DEFAULT_$LINE"
6496 else
6497 no_cache=1
6498 fi
6499
6500 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6501
6502fi;
6503
6504 eval "$ac_cv_use_metafile"
6505 if test "$no_cache" != 1; then
6506 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6507 fi
6508
6509 if test "$wxUSE_METAFILE" = yes; then
6510 echo "$as_me:$LINENO: result: yes" >&5
6511echo "${ECHO_T}yes" >&6
6512 else
6513 echo "$as_me:$LINENO: result: no" >&5
6514echo "${ECHO_T}no" >&6
6515 fi
6516
6517
6518
6519
6520
6521 enablestring=
6522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6523echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6524 no_cache=0
6525 # Check whether --enable-controls or --disable-controls was given.
6526if test "${enable_controls+set}" = set; then
6527 enableval="$enable_controls"
6528
6529 if test "$enableval" = yes; then
6530 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6531 else
6532 ac_cv_use_controls='wxUSE_CONTROLS=no'
6533 fi
6534
6535else
6536
6537 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6538 if test "x$LINE" != x ; then
6539 eval "DEFAULT_$LINE"
6540 else
6541 no_cache=1
6542 fi
6543
6544 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6545
6546fi;
6547
6548 eval "$ac_cv_use_controls"
6549 if test "$no_cache" != 1; then
6550 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6551 fi
6552
6553 if test "$wxUSE_CONTROLS" = yes; then
6554 echo "$as_me:$LINENO: result: yes" >&5
6555echo "${ECHO_T}yes" >&6
6556 else
6557 echo "$as_me:$LINENO: result: no" >&5
6558echo "${ECHO_T}no" >&6
6559 fi
6560
6561
6562if test "$wxUSE_CONTROLS" = "yes"; then
6563 DEFAULT_wxUSE_ACCEL=yes
6564 DEFAULT_wxUSE_BMPBUTTON=yes
6565 DEFAULT_wxUSE_BUTTON=yes
6566 DEFAULT_wxUSE_CALCTRL=no
6567 DEFAULT_wxUSE_CARET=yes
6568 DEFAULT_wxUSE_COMBOBOX=yes
6569 DEFAULT_wxUSE_CHECKBOX=yes
6570 DEFAULT_wxUSE_CHECKLISTBOX=yes
6571 DEFAULT_wxUSE_CHOICE=yes
6572 DEFAULT_wxUSE_GAUGE=yes
6573 DEFAULT_wxUSE_GRID=yes
6574 DEFAULT_wxUSE_IMAGLIST=yes
6575 DEFAULT_wxUSE_LISTBOOK=yes
6576 DEFAULT_wxUSE_LISTBOX=yes
6577 DEFAULT_wxUSE_LISTCTRL=yes
6578 DEFAULT_wxUSE_NOTEBOOK=yes
6579 DEFAULT_wxUSE_RADIOBOX=yes
6580 DEFAULT_wxUSE_RADIOBTN=yes
6581 DEFAULT_wxUSE_SASH=yes
6582 DEFAULT_wxUSE_SCROLLBAR=yes
6583 DEFAULT_wxUSE_SLIDER=yes
6584 DEFAULT_wxUSE_SPINBTN=yes
6585 DEFAULT_wxUSE_SPINCTRL=yes
6586 DEFAULT_wxUSE_SPLITTER=yes
6587 DEFAULT_wxUSE_STATBMP=yes
6588 DEFAULT_wxUSE_STATBOX=yes
6589 DEFAULT_wxUSE_STATLINE=yes
6590 DEFAULT_wxUSE_STATUSBAR=yes
6591 DEFAULT_wxUSE_TAB_DIALOG=yes
6592 DEFAULT_wxUSE_TOGGLEBTN=yes
6593 DEFAULT_wxUSE_TOOLBAR=yes
6594 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6595 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6596 DEFAULT_wxUSE_TOOLTIPS=yes
6597 DEFAULT_wxUSE_TREECTRL=yes
6598 DEFAULT_wxUSE_POPUPWIN=yes
6599 DEFAULT_wxUSE_TIPWINDOW=yes
6600elif test "$wxUSE_CONTROLS" = "no"; then
6601 DEFAULT_wxUSE_ACCEL=no
6602 DEFAULT_wxUSE_BMPBUTTON=no
6603 DEFAULT_wxUSE_BUTTON=no
6604 DEFAULT_wxUSE_CALCTRL=no
6605 DEFAULT_wxUSE_CARET=no
6606 DEFAULT_wxUSE_COMBOBOX=no
6607 DEFAULT_wxUSE_CHECKBOX=no
6608 DEFAULT_wxUSE_CHECKLISTBOX=no
6609 DEFAULT_wxUSE_CHOICE=no
6610 DEFAULT_wxUSE_GAUGE=no
6611 DEFAULT_wxUSE_GRID=no
6612 DEFAULT_wxUSE_IMAGLIST=no
6613 DEFAULT_wxUSE_LISTBOOK=no
6614 DEFAULT_wxUSE_LISTBOX=no
6615 DEFAULT_wxUSE_LISTCTRL=no
6616 DEFAULT_wxUSE_NOTEBOOK=no
6617 DEFAULT_wxUSE_RADIOBOX=no
6618 DEFAULT_wxUSE_RADIOBTN=no
6619 DEFAULT_wxUSE_SASH=no
6620 DEFAULT_wxUSE_SCROLLBAR=no
6621 DEFAULT_wxUSE_SLIDER=no
6622 DEFAULT_wxUSE_SPINBTN=no
6623 DEFAULT_wxUSE_SPINCTRL=no
6624 DEFAULT_wxUSE_SPLITTER=no
6625 DEFAULT_wxUSE_STATBMP=no
6626 DEFAULT_wxUSE_STATBOX=no
6627 DEFAULT_wxUSE_STATLINE=no
6628 DEFAULT_wxUSE_STATUSBAR=no
6629 DEFAULT_wxUSE_TAB_DIALOG=no
6630 DEFAULT_wxUSE_TOGGLEBTN=no
6631 DEFAULT_wxUSE_TOOLBAR=no
6632 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6633 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6634 DEFAULT_wxUSE_TOOLTIPS=no
6635 DEFAULT_wxUSE_TREECTRL=no
6636 DEFAULT_wxUSE_POPUPWIN=no
6637 DEFAULT_wxUSE_TIPWINDOW=no
6638fi
6639
6640## FIXME: This is a blatant hack
6641if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6642 wxUSE_PRINTING_ARCHITECTURE=no
6643 wxUSE_DRAG_AND_DROP=no
6644 # Generic notebook requires tab dialog
6645 DEFAULT_wxUSE_TABDIALOG=yes
6646 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6647 DEFAULT_wxUSE_SCROLLBAR=no
6648 DEFAULT_wxUSE_TOOLTIPS=no
6649 DEFAULT_wxUSE_DRAGIMAGE=no
6650fi
6651
6652
6653 enablestring=
6654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6655echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6656 no_cache=0
6657 # Check whether --enable-accel or --disable-accel was given.
6658if test "${enable_accel+set}" = set; then
6659 enableval="$enable_accel"
6660
6661 if test "$enableval" = yes; then
6662 ac_cv_use_accel='wxUSE_ACCEL=yes'
6663 else
6664 ac_cv_use_accel='wxUSE_ACCEL=no'
6665 fi
6666
6667else
6668
6669 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6670 if test "x$LINE" != x ; then
6671 eval "DEFAULT_$LINE"
6672 else
6673 no_cache=1
6674 fi
6675
6676 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6677
6678fi;
6679
6680 eval "$ac_cv_use_accel"
6681 if test "$no_cache" != 1; then
6682 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6683 fi
6684
6685 if test "$wxUSE_ACCEL" = yes; then
6686 echo "$as_me:$LINENO: result: yes" >&5
6687echo "${ECHO_T}yes" >&6
6688 else
6689 echo "$as_me:$LINENO: result: no" >&5
6690echo "${ECHO_T}no" >&6
6691 fi
6692
6693
6694 enablestring=
6695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6696echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6697 no_cache=0
6698 # Check whether --enable-button or --disable-button was given.
6699if test "${enable_button+set}" = set; then
6700 enableval="$enable_button"
6701
6702 if test "$enableval" = yes; then
6703 ac_cv_use_button='wxUSE_BUTTON=yes'
6704 else
6705 ac_cv_use_button='wxUSE_BUTTON=no'
6706 fi
6707
6708else
6709
6710 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6711 if test "x$LINE" != x ; then
6712 eval "DEFAULT_$LINE"
6713 else
6714 no_cache=1
6715 fi
6716
6717 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6718
6719fi;
6720
6721 eval "$ac_cv_use_button"
6722 if test "$no_cache" != 1; then
6723 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6724 fi
6725
6726 if test "$wxUSE_BUTTON" = yes; then
6727 echo "$as_me:$LINENO: result: yes" >&5
6728echo "${ECHO_T}yes" >&6
6729 else
6730 echo "$as_me:$LINENO: result: no" >&5
6731echo "${ECHO_T}no" >&6
6732 fi
6733
6734
6735 enablestring=
6736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6737echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6738 no_cache=0
6739 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6740if test "${enable_bmpbutton+set}" = set; then
6741 enableval="$enable_bmpbutton"
6742
6743 if test "$enableval" = yes; then
6744 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6745 else
6746 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6747 fi
6748
6749else
6750
6751 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6752 if test "x$LINE" != x ; then
6753 eval "DEFAULT_$LINE"
6754 else
6755 no_cache=1
6756 fi
6757
6758 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6759
6760fi;
6761
6762 eval "$ac_cv_use_bmpbutton"
6763 if test "$no_cache" != 1; then
6764 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6765 fi
6766
6767 if test "$wxUSE_BMPBUTTON" = yes; then
6768 echo "$as_me:$LINENO: result: yes" >&5
6769echo "${ECHO_T}yes" >&6
6770 else
6771 echo "$as_me:$LINENO: result: no" >&5
6772echo "${ECHO_T}no" >&6
6773 fi
6774
6775
6776 enablestring=
6777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6778echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6779 no_cache=0
6780 # Check whether --enable-calendar or --disable-calendar was given.
6781if test "${enable_calendar+set}" = set; then
6782 enableval="$enable_calendar"
6783
6784 if test "$enableval" = yes; then
6785 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6786 else
6787 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6788 fi
6789
6790else
6791
6792 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6793 if test "x$LINE" != x ; then
6794 eval "DEFAULT_$LINE"
6795 else
6796 no_cache=1
6797 fi
6798
6799 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6800
6801fi;
6802
6803 eval "$ac_cv_use_calendar"
6804 if test "$no_cache" != 1; then
6805 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6806 fi
6807
6808 if test "$wxUSE_CALCTRL" = yes; then
6809 echo "$as_me:$LINENO: result: yes" >&5
6810echo "${ECHO_T}yes" >&6
6811 else
6812 echo "$as_me:$LINENO: result: no" >&5
6813echo "${ECHO_T}no" >&6
6814 fi
6815
6816
6817 enablestring=
6818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6819echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6820 no_cache=0
6821 # Check whether --enable-caret or --disable-caret was given.
6822if test "${enable_caret+set}" = set; then
6823 enableval="$enable_caret"
6824
6825 if test "$enableval" = yes; then
6826 ac_cv_use_caret='wxUSE_CARET=yes'
6827 else
6828 ac_cv_use_caret='wxUSE_CARET=no'
6829 fi
6830
6831else
6832
6833 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6834 if test "x$LINE" != x ; then
6835 eval "DEFAULT_$LINE"
6836 else
6837 no_cache=1
6838 fi
6839
6840 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6841
6842fi;
6843
6844 eval "$ac_cv_use_caret"
6845 if test "$no_cache" != 1; then
6846 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6847 fi
6848
6849 if test "$wxUSE_CARET" = yes; then
6850 echo "$as_me:$LINENO: result: yes" >&5
6851echo "${ECHO_T}yes" >&6
6852 else
6853 echo "$as_me:$LINENO: result: no" >&5
6854echo "${ECHO_T}no" >&6
6855 fi
6856
6857
6858 enablestring=
6859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6860echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6861 no_cache=0
6862 # Check whether --enable-checkbox or --disable-checkbox was given.
6863if test "${enable_checkbox+set}" = set; then
6864 enableval="$enable_checkbox"
6865
6866 if test "$enableval" = yes; then
6867 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6868 else
6869 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6870 fi
6871
6872else
6873
6874 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6875 if test "x$LINE" != x ; then
6876 eval "DEFAULT_$LINE"
6877 else
6878 no_cache=1
6879 fi
6880
6881 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6882
6883fi;
6884
6885 eval "$ac_cv_use_checkbox"
6886 if test "$no_cache" != 1; then
6887 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6888 fi
6889
6890 if test "$wxUSE_CHECKBOX" = yes; then
6891 echo "$as_me:$LINENO: result: yes" >&5
6892echo "${ECHO_T}yes" >&6
6893 else
6894 echo "$as_me:$LINENO: result: no" >&5
6895echo "${ECHO_T}no" >&6
6896 fi
6897
6898
6899 enablestring=
6900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6901echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6902 no_cache=0
6903 # Check whether --enable-checklst or --disable-checklst was given.
6904if test "${enable_checklst+set}" = set; then
6905 enableval="$enable_checklst"
6906
6907 if test "$enableval" = yes; then
6908 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6909 else
6910 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6911 fi
6912
6913else
6914
6915 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6916 if test "x$LINE" != x ; then
6917 eval "DEFAULT_$LINE"
6918 else
6919 no_cache=1
6920 fi
6921
6922 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6923
6924fi;
6925
6926 eval "$ac_cv_use_checklst"
6927 if test "$no_cache" != 1; then
6928 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6929 fi
6930
6931 if test "$wxUSE_CHECKLST" = yes; then
6932 echo "$as_me:$LINENO: result: yes" >&5
6933echo "${ECHO_T}yes" >&6
6934 else
6935 echo "$as_me:$LINENO: result: no" >&5
6936echo "${ECHO_T}no" >&6
6937 fi
6938
6939
6940 enablestring=
6941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6942echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6943 no_cache=0
6944 # Check whether --enable-choice or --disable-choice was given.
6945if test "${enable_choice+set}" = set; then
6946 enableval="$enable_choice"
6947
6948 if test "$enableval" = yes; then
6949 ac_cv_use_choice='wxUSE_CHOICE=yes'
6950 else
6951 ac_cv_use_choice='wxUSE_CHOICE=no'
6952 fi
6953
6954else
6955
6956 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6957 if test "x$LINE" != x ; then
6958 eval "DEFAULT_$LINE"
6959 else
6960 no_cache=1
6961 fi
6962
6963 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6964
6965fi;
6966
6967 eval "$ac_cv_use_choice"
6968 if test "$no_cache" != 1; then
6969 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6970 fi
6971
6972 if test "$wxUSE_CHOICE" = yes; then
6973 echo "$as_me:$LINENO: result: yes" >&5
6974echo "${ECHO_T}yes" >&6
6975 else
6976 echo "$as_me:$LINENO: result: no" >&5
6977echo "${ECHO_T}no" >&6
6978 fi
6979
6980
6981 enablestring=
6982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6983echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6984 no_cache=0
6985 # Check whether --enable-combobox or --disable-combobox was given.
6986if test "${enable_combobox+set}" = set; then
6987 enableval="$enable_combobox"
6988
6989 if test "$enableval" = yes; then
6990 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6991 else
6992 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6993 fi
6994
6995else
6996
6997 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6998 if test "x$LINE" != x ; then
6999 eval "DEFAULT_$LINE"
7000 else
7001 no_cache=1
7002 fi
7003
7004 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7005
7006fi;
7007
7008 eval "$ac_cv_use_combobox"
7009 if test "$no_cache" != 1; then
7010 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7011 fi
7012
7013 if test "$wxUSE_COMBOBOX" = yes; then
7014 echo "$as_me:$LINENO: result: yes" >&5
7015echo "${ECHO_T}yes" >&6
7016 else
7017 echo "$as_me:$LINENO: result: no" >&5
7018echo "${ECHO_T}no" >&6
7019 fi
7020
7021
7022 enablestring=
7023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7024echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7025 no_cache=0
7026 # Check whether --enable-display or --disable-display was given.
7027if test "${enable_display+set}" = set; then
7028 enableval="$enable_display"
7029
7030 if test "$enableval" = yes; then
7031 ac_cv_use_display='wxUSE_DISPLAY=yes'
7032 else
7033 ac_cv_use_display='wxUSE_DISPLAY=no'
7034 fi
7035
7036else
7037
7038 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7039 if test "x$LINE" != x ; then
7040 eval "DEFAULT_$LINE"
7041 else
7042 no_cache=1
7043 fi
7044
7045 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7046
7047fi;
7048
7049 eval "$ac_cv_use_display"
7050 if test "$no_cache" != 1; then
7051 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7052 fi
7053
7054 if test "$wxUSE_DISPLAY" = yes; then
7055 echo "$as_me:$LINENO: result: yes" >&5
7056echo "${ECHO_T}yes" >&6
7057 else
7058 echo "$as_me:$LINENO: result: no" >&5
7059echo "${ECHO_T}no" >&6
7060 fi
7061
7062
7063 enablestring=
7064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7065echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7066 no_cache=0
7067 # Check whether --enable-gauge or --disable-gauge was given.
7068if test "${enable_gauge+set}" = set; then
7069 enableval="$enable_gauge"
7070
7071 if test "$enableval" = yes; then
7072 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7073 else
7074 ac_cv_use_gauge='wxUSE_GAUGE=no'
7075 fi
7076
7077else
7078
7079 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7080 if test "x$LINE" != x ; then
7081 eval "DEFAULT_$LINE"
7082 else
7083 no_cache=1
7084 fi
7085
7086 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7087
7088fi;
7089
7090 eval "$ac_cv_use_gauge"
7091 if test "$no_cache" != 1; then
7092 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7093 fi
7094
7095 if test "$wxUSE_GAUGE" = yes; then
7096 echo "$as_me:$LINENO: result: yes" >&5
7097echo "${ECHO_T}yes" >&6
7098 else
7099 echo "$as_me:$LINENO: result: no" >&5
7100echo "${ECHO_T}no" >&6
7101 fi
7102
7103
7104 enablestring=
7105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7106echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7107 no_cache=0
7108 # Check whether --enable-grid or --disable-grid was given.
7109if test "${enable_grid+set}" = set; then
7110 enableval="$enable_grid"
7111
7112 if test "$enableval" = yes; then
7113 ac_cv_use_grid='wxUSE_GRID=yes'
7114 else
7115 ac_cv_use_grid='wxUSE_GRID=no'
7116 fi
7117
7118else
7119
7120 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7121 if test "x$LINE" != x ; then
7122 eval "DEFAULT_$LINE"
7123 else
7124 no_cache=1
7125 fi
7126
7127 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7128
7129fi;
7130
7131 eval "$ac_cv_use_grid"
7132 if test "$no_cache" != 1; then
7133 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7134 fi
7135
7136 if test "$wxUSE_GRID" = yes; then
7137 echo "$as_me:$LINENO: result: yes" >&5
7138echo "${ECHO_T}yes" >&6
7139 else
7140 echo "$as_me:$LINENO: result: no" >&5
7141echo "${ECHO_T}no" >&6
7142 fi
7143
7144
7145 enablestring=
7146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7147echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7148 no_cache=0
7149 # Check whether --enable-imaglist or --disable-imaglist was given.
7150if test "${enable_imaglist+set}" = set; then
7151 enableval="$enable_imaglist"
7152
7153 if test "$enableval" = yes; then
7154 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7155 else
7156 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7157 fi
7158
7159else
7160
7161 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7162 if test "x$LINE" != x ; then
7163 eval "DEFAULT_$LINE"
7164 else
7165 no_cache=1
7166 fi
7167
7168 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7169
7170fi;
7171
7172 eval "$ac_cv_use_imaglist"
7173 if test "$no_cache" != 1; then
7174 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7175 fi
7176
7177 if test "$wxUSE_IMAGLIST" = yes; then
7178 echo "$as_me:$LINENO: result: yes" >&5
7179echo "${ECHO_T}yes" >&6
7180 else
7181 echo "$as_me:$LINENO: result: no" >&5
7182echo "${ECHO_T}no" >&6
7183 fi
7184
7185
7186 enablestring=
7187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7188echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7189 no_cache=0
7190 # Check whether --enable-listbook or --disable-listbook was given.
7191if test "${enable_listbook+set}" = set; then
7192 enableval="$enable_listbook"
7193
7194 if test "$enableval" = yes; then
7195 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7196 else
7197 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7198 fi
7199
7200else
7201
7202 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7203 if test "x$LINE" != x ; then
7204 eval "DEFAULT_$LINE"
7205 else
7206 no_cache=1
7207 fi
7208
7209 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7210
7211fi;
7212
7213 eval "$ac_cv_use_listbook"
7214 if test "$no_cache" != 1; then
7215 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7216 fi
7217
7218 if test "$wxUSE_LISTBOOK" = yes; then
7219 echo "$as_me:$LINENO: result: yes" >&5
7220echo "${ECHO_T}yes" >&6
7221 else
7222 echo "$as_me:$LINENO: result: no" >&5
7223echo "${ECHO_T}no" >&6
7224 fi
7225
7226
7227 enablestring=
7228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7229echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7230 no_cache=0
7231 # Check whether --enable-listbox or --disable-listbox was given.
7232if test "${enable_listbox+set}" = set; then
7233 enableval="$enable_listbox"
7234
7235 if test "$enableval" = yes; then
7236 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7237 else
7238 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7239 fi
7240
7241else
7242
7243 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7244 if test "x$LINE" != x ; then
7245 eval "DEFAULT_$LINE"
7246 else
7247 no_cache=1
7248 fi
7249
7250 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7251
7252fi;
7253
7254 eval "$ac_cv_use_listbox"
7255 if test "$no_cache" != 1; then
7256 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7257 fi
7258
7259 if test "$wxUSE_LISTBOX" = yes; then
7260 echo "$as_me:$LINENO: result: yes" >&5
7261echo "${ECHO_T}yes" >&6
7262 else
7263 echo "$as_me:$LINENO: result: no" >&5
7264echo "${ECHO_T}no" >&6
7265 fi
7266
7267
7268 enablestring=
7269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7270echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7271 no_cache=0
7272 # Check whether --enable-listctrl or --disable-listctrl was given.
7273if test "${enable_listctrl+set}" = set; then
7274 enableval="$enable_listctrl"
7275
7276 if test "$enableval" = yes; then
7277 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7278 else
7279 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7280 fi
7281
7282else
7283
7284 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7285 if test "x$LINE" != x ; then
7286 eval "DEFAULT_$LINE"
7287 else
7288 no_cache=1
7289 fi
7290
7291 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7292
7293fi;
7294
7295 eval "$ac_cv_use_listctrl"
7296 if test "$no_cache" != 1; then
7297 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7298 fi
7299
7300 if test "$wxUSE_LISTCTRL" = yes; then
7301 echo "$as_me:$LINENO: result: yes" >&5
7302echo "${ECHO_T}yes" >&6
7303 else
7304 echo "$as_me:$LINENO: result: no" >&5
7305echo "${ECHO_T}no" >&6
7306 fi
7307
7308
7309 enablestring=
7310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7311echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7312 no_cache=0
7313 # Check whether --enable-notebook or --disable-notebook was given.
7314if test "${enable_notebook+set}" = set; then
7315 enableval="$enable_notebook"
7316
7317 if test "$enableval" = yes; then
7318 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7319 else
7320 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7321 fi
7322
7323else
7324
7325 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7326 if test "x$LINE" != x ; then
7327 eval "DEFAULT_$LINE"
7328 else
7329 no_cache=1
7330 fi
7331
7332 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7333
7334fi;
7335
7336 eval "$ac_cv_use_notebook"
7337 if test "$no_cache" != 1; then
7338 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7339 fi
7340
7341 if test "$wxUSE_NOTEBOOK" = yes; then
7342 echo "$as_me:$LINENO: result: yes" >&5
7343echo "${ECHO_T}yes" >&6
7344 else
7345 echo "$as_me:$LINENO: result: no" >&5
7346echo "${ECHO_T}no" >&6
7347 fi
7348
7349
7350 enablestring=
7351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7352echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7353 no_cache=0
7354 # Check whether --enable-radiobox or --disable-radiobox was given.
7355if test "${enable_radiobox+set}" = set; then
7356 enableval="$enable_radiobox"
7357
7358 if test "$enableval" = yes; then
7359 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7360 else
7361 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7362 fi
7363
7364else
7365
7366 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7367 if test "x$LINE" != x ; then
7368 eval "DEFAULT_$LINE"
7369 else
7370 no_cache=1
7371 fi
7372
7373 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7374
7375fi;
7376
7377 eval "$ac_cv_use_radiobox"
7378 if test "$no_cache" != 1; then
7379 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7380 fi
7381
7382 if test "$wxUSE_RADIOBOX" = yes; then
7383 echo "$as_me:$LINENO: result: yes" >&5
7384echo "${ECHO_T}yes" >&6
7385 else
7386 echo "$as_me:$LINENO: result: no" >&5
7387echo "${ECHO_T}no" >&6
7388 fi
7389
7390
7391 enablestring=
7392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7393echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7394 no_cache=0
7395 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7396if test "${enable_radiobtn+set}" = set; then
7397 enableval="$enable_radiobtn"
7398
7399 if test "$enableval" = yes; then
7400 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7401 else
7402 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7403 fi
7404
7405else
7406
7407 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7408 if test "x$LINE" != x ; then
7409 eval "DEFAULT_$LINE"
7410 else
7411 no_cache=1
7412 fi
7413
7414 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7415
7416fi;
7417
7418 eval "$ac_cv_use_radiobtn"
7419 if test "$no_cache" != 1; then
7420 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7421 fi
7422
7423 if test "$wxUSE_RADIOBTN" = yes; then
7424 echo "$as_me:$LINENO: result: yes" >&5
7425echo "${ECHO_T}yes" >&6
7426 else
7427 echo "$as_me:$LINENO: result: no" >&5
7428echo "${ECHO_T}no" >&6
7429 fi
7430
7431
7432 enablestring=
7433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7434echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7435 no_cache=0
7436 # Check whether --enable-sash or --disable-sash was given.
7437if test "${enable_sash+set}" = set; then
7438 enableval="$enable_sash"
7439
7440 if test "$enableval" = yes; then
7441 ac_cv_use_sash='wxUSE_SASH=yes'
7442 else
7443 ac_cv_use_sash='wxUSE_SASH=no'
7444 fi
7445
7446else
7447
7448 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7449 if test "x$LINE" != x ; then
7450 eval "DEFAULT_$LINE"
7451 else
7452 no_cache=1
7453 fi
7454
7455 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7456
7457fi;
7458
7459 eval "$ac_cv_use_sash"
7460 if test "$no_cache" != 1; then
7461 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7462 fi
7463
7464 if test "$wxUSE_SASH" = yes; then
7465 echo "$as_me:$LINENO: result: yes" >&5
7466echo "${ECHO_T}yes" >&6
7467 else
7468 echo "$as_me:$LINENO: result: no" >&5
7469echo "${ECHO_T}no" >&6
7470 fi
7471
7472
7473 enablestring=
7474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7475echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7476 no_cache=0
7477 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7478if test "${enable_scrollbar+set}" = set; then
7479 enableval="$enable_scrollbar"
7480
7481 if test "$enableval" = yes; then
7482 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7483 else
7484 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7485 fi
7486
7487else
7488
7489 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7490 if test "x$LINE" != x ; then
7491 eval "DEFAULT_$LINE"
7492 else
7493 no_cache=1
7494 fi
7495
7496 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7497
7498fi;
7499
7500 eval "$ac_cv_use_scrollbar"
7501 if test "$no_cache" != 1; then
7502 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7503 fi
7504
7505 if test "$wxUSE_SCROLLBAR" = yes; then
7506 echo "$as_me:$LINENO: result: yes" >&5
7507echo "${ECHO_T}yes" >&6
7508 else
7509 echo "$as_me:$LINENO: result: no" >&5
7510echo "${ECHO_T}no" >&6
7511 fi
7512
7513
7514 enablestring=
7515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7516echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7517 no_cache=0
7518 # Check whether --enable-slider or --disable-slider was given.
7519if test "${enable_slider+set}" = set; then
7520 enableval="$enable_slider"
7521
7522 if test "$enableval" = yes; then
7523 ac_cv_use_slider='wxUSE_SLIDER=yes'
7524 else
7525 ac_cv_use_slider='wxUSE_SLIDER=no'
7526 fi
7527
7528else
7529
7530 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7531 if test "x$LINE" != x ; then
7532 eval "DEFAULT_$LINE"
7533 else
7534 no_cache=1
7535 fi
7536
7537 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7538
7539fi;
7540
7541 eval "$ac_cv_use_slider"
7542 if test "$no_cache" != 1; then
7543 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7544 fi
7545
7546 if test "$wxUSE_SLIDER" = yes; then
7547 echo "$as_me:$LINENO: result: yes" >&5
7548echo "${ECHO_T}yes" >&6
7549 else
7550 echo "$as_me:$LINENO: result: no" >&5
7551echo "${ECHO_T}no" >&6
7552 fi
7553
7554
7555 enablestring=
7556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7557echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7558 no_cache=0
7559 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7560if test "${enable_spinbtn+set}" = set; then
7561 enableval="$enable_spinbtn"
7562
7563 if test "$enableval" = yes; then
7564 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7565 else
7566 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7567 fi
7568
7569else
7570
7571 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7572 if test "x$LINE" != x ; then
7573 eval "DEFAULT_$LINE"
7574 else
7575 no_cache=1
7576 fi
7577
7578 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7579
7580fi;
7581
7582 eval "$ac_cv_use_spinbtn"
7583 if test "$no_cache" != 1; then
7584 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7585 fi
7586
7587 if test "$wxUSE_SPINBTN" = yes; then
7588 echo "$as_me:$LINENO: result: yes" >&5
7589echo "${ECHO_T}yes" >&6
7590 else
7591 echo "$as_me:$LINENO: result: no" >&5
7592echo "${ECHO_T}no" >&6
7593 fi
7594
7595
7596 enablestring=
7597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7598echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7599 no_cache=0
7600 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7601if test "${enable_spinctrl+set}" = set; then
7602 enableval="$enable_spinctrl"
7603
7604 if test "$enableval" = yes; then
7605 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7606 else
7607 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7608 fi
7609
7610else
7611
7612 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7613 if test "x$LINE" != x ; then
7614 eval "DEFAULT_$LINE"
7615 else
7616 no_cache=1
7617 fi
7618
7619 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7620
7621fi;
7622
7623 eval "$ac_cv_use_spinctrl"
7624 if test "$no_cache" != 1; then
7625 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7626 fi
7627
7628 if test "$wxUSE_SPINCTRL" = yes; then
7629 echo "$as_me:$LINENO: result: yes" >&5
7630echo "${ECHO_T}yes" >&6
7631 else
7632 echo "$as_me:$LINENO: result: no" >&5
7633echo "${ECHO_T}no" >&6
7634 fi
7635
7636
7637 enablestring=
7638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7639echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7640 no_cache=0
7641 # Check whether --enable-splitter or --disable-splitter was given.
7642if test "${enable_splitter+set}" = set; then
7643 enableval="$enable_splitter"
7644
7645 if test "$enableval" = yes; then
7646 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7647 else
7648 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7649 fi
7650
7651else
7652
7653 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7654 if test "x$LINE" != x ; then
7655 eval "DEFAULT_$LINE"
7656 else
7657 no_cache=1
7658 fi
7659
7660 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7661
7662fi;
7663
7664 eval "$ac_cv_use_splitter"
7665 if test "$no_cache" != 1; then
7666 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7667 fi
7668
7669 if test "$wxUSE_SPLITTER" = yes; then
7670 echo "$as_me:$LINENO: result: yes" >&5
7671echo "${ECHO_T}yes" >&6
7672 else
7673 echo "$as_me:$LINENO: result: no" >&5
7674echo "${ECHO_T}no" >&6
7675 fi
7676
7677
7678 enablestring=
7679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7680echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7681 no_cache=0
7682 # Check whether --enable-statbmp or --disable-statbmp was given.
7683if test "${enable_statbmp+set}" = set; then
7684 enableval="$enable_statbmp"
7685
7686 if test "$enableval" = yes; then
7687 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7688 else
7689 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7690 fi
7691
7692else
7693
7694 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7695 if test "x$LINE" != x ; then
7696 eval "DEFAULT_$LINE"
7697 else
7698 no_cache=1
7699 fi
7700
7701 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7702
7703fi;
7704
7705 eval "$ac_cv_use_statbmp"
7706 if test "$no_cache" != 1; then
7707 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7708 fi
7709
7710 if test "$wxUSE_STATBMP" = yes; then
7711 echo "$as_me:$LINENO: result: yes" >&5
7712echo "${ECHO_T}yes" >&6
7713 else
7714 echo "$as_me:$LINENO: result: no" >&5
7715echo "${ECHO_T}no" >&6
7716 fi
7717
7718
7719 enablestring=
7720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7721echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7722 no_cache=0
7723 # Check whether --enable-statbox or --disable-statbox was given.
7724if test "${enable_statbox+set}" = set; then
7725 enableval="$enable_statbox"
7726
7727 if test "$enableval" = yes; then
7728 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7729 else
7730 ac_cv_use_statbox='wxUSE_STATBOX=no'
7731 fi
7732
7733else
7734
7735 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7736 if test "x$LINE" != x ; then
7737 eval "DEFAULT_$LINE"
7738 else
7739 no_cache=1
7740 fi
7741
7742 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7743
7744fi;
7745
7746 eval "$ac_cv_use_statbox"
7747 if test "$no_cache" != 1; then
7748 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7749 fi
7750
7751 if test "$wxUSE_STATBOX" = yes; then
7752 echo "$as_me:$LINENO: result: yes" >&5
7753echo "${ECHO_T}yes" >&6
7754 else
7755 echo "$as_me:$LINENO: result: no" >&5
7756echo "${ECHO_T}no" >&6
7757 fi
7758
7759
7760 enablestring=
7761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7762echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7763 no_cache=0
7764 # Check whether --enable-statline or --disable-statline was given.
7765if test "${enable_statline+set}" = set; then
7766 enableval="$enable_statline"
7767
7768 if test "$enableval" = yes; then
7769 ac_cv_use_statline='wxUSE_STATLINE=yes'
7770 else
7771 ac_cv_use_statline='wxUSE_STATLINE=no'
7772 fi
7773
7774else
7775
7776 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7777 if test "x$LINE" != x ; then
7778 eval "DEFAULT_$LINE"
7779 else
7780 no_cache=1
7781 fi
7782
7783 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7784
7785fi;
7786
7787 eval "$ac_cv_use_statline"
7788 if test "$no_cache" != 1; then
7789 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7790 fi
7791
7792 if test "$wxUSE_STATLINE" = yes; then
7793 echo "$as_me:$LINENO: result: yes" >&5
7794echo "${ECHO_T}yes" >&6
7795 else
7796 echo "$as_me:$LINENO: result: no" >&5
7797echo "${ECHO_T}no" >&6
7798 fi
7799
7800
7801 enablestring=
7802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7803echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7804 no_cache=0
7805 # Check whether --enable-stattext or --disable-stattext was given.
7806if test "${enable_stattext+set}" = set; then
7807 enableval="$enable_stattext"
7808
7809 if test "$enableval" = yes; then
7810 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7811 else
7812 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7813 fi
7814
7815else
7816
7817 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7818 if test "x$LINE" != x ; then
7819 eval "DEFAULT_$LINE"
7820 else
7821 no_cache=1
7822 fi
7823
7824 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7825
7826fi;
7827
7828 eval "$ac_cv_use_stattext"
7829 if test "$no_cache" != 1; then
7830 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7831 fi
7832
7833 if test "$wxUSE_STATTEXT" = yes; then
7834 echo "$as_me:$LINENO: result: yes" >&5
7835echo "${ECHO_T}yes" >&6
7836 else
7837 echo "$as_me:$LINENO: result: no" >&5
7838echo "${ECHO_T}no" >&6
7839 fi
7840
7841
7842 enablestring=
7843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7844echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7845 no_cache=0
7846 # Check whether --enable-statusbar or --disable-statusbar was given.
7847if test "${enable_statusbar+set}" = set; then
7848 enableval="$enable_statusbar"
7849
7850 if test "$enableval" = yes; then
7851 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7852 else
7853 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7854 fi
7855
7856else
7857
7858 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7859 if test "x$LINE" != x ; then
7860 eval "DEFAULT_$LINE"
7861 else
7862 no_cache=1
7863 fi
7864
7865 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7866
7867fi;
7868
7869 eval "$ac_cv_use_statusbar"
7870 if test "$no_cache" != 1; then
7871 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7872 fi
7873
7874 if test "$wxUSE_STATUSBAR" = yes; then
7875 echo "$as_me:$LINENO: result: yes" >&5
7876echo "${ECHO_T}yes" >&6
7877 else
7878 echo "$as_me:$LINENO: result: no" >&5
7879echo "${ECHO_T}no" >&6
7880 fi
7881
7882
7883 enablestring=
7884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7885echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7886 no_cache=0
7887 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7888if test "${enable_tabdialog+set}" = set; then
7889 enableval="$enable_tabdialog"
7890
7891 if test "$enableval" = yes; then
7892 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7893 else
7894 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7895 fi
7896
7897else
7898
7899 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7900 if test "x$LINE" != x ; then
7901 eval "DEFAULT_$LINE"
7902 else
7903 no_cache=1
7904 fi
7905
7906 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7907
7908fi;
7909
7910 eval "$ac_cv_use_tabdialog"
7911 if test "$no_cache" != 1; then
7912 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7913 fi
7914
7915 if test "$wxUSE_TABDIALOG" = yes; then
7916 echo "$as_me:$LINENO: result: yes" >&5
7917echo "${ECHO_T}yes" >&6
7918 else
7919 echo "$as_me:$LINENO: result: no" >&5
7920echo "${ECHO_T}no" >&6
7921 fi
7922
7923
7924 enablestring=
7925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7926echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7927 no_cache=0
7928 # Check whether --enable-textctrl or --disable-textctrl was given.
7929if test "${enable_textctrl+set}" = set; then
7930 enableval="$enable_textctrl"
7931
7932 if test "$enableval" = yes; then
7933 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7934 else
7935 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7936 fi
7937
7938else
7939
7940 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7941 if test "x$LINE" != x ; then
7942 eval "DEFAULT_$LINE"
7943 else
7944 no_cache=1
7945 fi
7946
7947 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7948
7949fi;
7950
7951 eval "$ac_cv_use_textctrl"
7952 if test "$no_cache" != 1; then
7953 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7954 fi
7955
7956 if test "$wxUSE_TEXTCTRL" = yes; then
7957 echo "$as_me:$LINENO: result: yes" >&5
7958echo "${ECHO_T}yes" >&6
7959 else
7960 echo "$as_me:$LINENO: result: no" >&5
7961echo "${ECHO_T}no" >&6
7962 fi
7963
7964
7965 enablestring=
7966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7967echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7968 no_cache=0
7969 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7970if test "${enable_togglebtn+set}" = set; then
7971 enableval="$enable_togglebtn"
7972
7973 if test "$enableval" = yes; then
7974 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7975 else
7976 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7977 fi
7978
7979else
7980
7981 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7982 if test "x$LINE" != x ; then
7983 eval "DEFAULT_$LINE"
7984 else
7985 no_cache=1
7986 fi
7987
7988 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7989
7990fi;
7991
7992 eval "$ac_cv_use_togglebtn"
7993 if test "$no_cache" != 1; then
7994 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7995 fi
7996
7997 if test "$wxUSE_TOGGLEBTN" = yes; then
7998 echo "$as_me:$LINENO: result: yes" >&5
7999echo "${ECHO_T}yes" >&6
8000 else
8001 echo "$as_me:$LINENO: result: no" >&5
8002echo "${ECHO_T}no" >&6
8003 fi
8004
8005
8006 enablestring=
8007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8008echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8009 no_cache=0
8010 # Check whether --enable-toolbar or --disable-toolbar was given.
8011if test "${enable_toolbar+set}" = set; then
8012 enableval="$enable_toolbar"
8013
8014 if test "$enableval" = yes; then
8015 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8016 else
8017 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8018 fi
8019
8020else
8021
8022 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8023 if test "x$LINE" != x ; then
8024 eval "DEFAULT_$LINE"
8025 else
8026 no_cache=1
8027 fi
8028
8029 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8030
8031fi;
8032
8033 eval "$ac_cv_use_toolbar"
8034 if test "$no_cache" != 1; then
8035 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8036 fi
8037
8038 if test "$wxUSE_TOOLBAR" = yes; then
8039 echo "$as_me:$LINENO: result: yes" >&5
8040echo "${ECHO_T}yes" >&6
8041 else
8042 echo "$as_me:$LINENO: result: no" >&5
8043echo "${ECHO_T}no" >&6
8044 fi
8045
8046
8047 enablestring=
8048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8049echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8050 no_cache=0
8051 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8052if test "${enable_tbarnative+set}" = set; then
8053 enableval="$enable_tbarnative"
8054
8055 if test "$enableval" = yes; then
8056 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8057 else
8058 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8059 fi
8060
8061else
8062
8063 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8064 if test "x$LINE" != x ; then
8065 eval "DEFAULT_$LINE"
8066 else
8067 no_cache=1
8068 fi
8069
8070 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8071
8072fi;
8073
8074 eval "$ac_cv_use_tbarnative"
8075 if test "$no_cache" != 1; then
8076 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8077 fi
8078
8079 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8080 echo "$as_me:$LINENO: result: yes" >&5
8081echo "${ECHO_T}yes" >&6
8082 else
8083 echo "$as_me:$LINENO: result: no" >&5
8084echo "${ECHO_T}no" >&6
8085 fi
8086
8087
8088 enablestring=
8089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8090echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8091 no_cache=0
8092 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8093if test "${enable_tbarsmpl+set}" = set; then
8094 enableval="$enable_tbarsmpl"
8095
8096 if test "$enableval" = yes; then
8097 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8098 else
8099 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8100 fi
8101
8102else
8103
8104 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8105 if test "x$LINE" != x ; then
8106 eval "DEFAULT_$LINE"
8107 else
8108 no_cache=1
8109 fi
8110
8111 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8112
8113fi;
8114
8115 eval "$ac_cv_use_tbarsmpl"
8116 if test "$no_cache" != 1; then
8117 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8118 fi
8119
8120 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8121 echo "$as_me:$LINENO: result: yes" >&5
8122echo "${ECHO_T}yes" >&6
8123 else
8124 echo "$as_me:$LINENO: result: no" >&5
8125echo "${ECHO_T}no" >&6
8126 fi
8127
8128
8129 enablestring=
8130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8131echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8132 no_cache=0
8133 # Check whether --enable-treectrl or --disable-treectrl was given.
8134if test "${enable_treectrl+set}" = set; then
8135 enableval="$enable_treectrl"
8136
8137 if test "$enableval" = yes; then
8138 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8139 else
8140 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8141 fi
8142
8143else
8144
8145 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8146 if test "x$LINE" != x ; then
8147 eval "DEFAULT_$LINE"
8148 else
8149 no_cache=1
8150 fi
8151
8152 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8153
8154fi;
8155
8156 eval "$ac_cv_use_treectrl"
8157 if test "$no_cache" != 1; then
8158 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8159 fi
8160
8161 if test "$wxUSE_TREECTRL" = yes; then
8162 echo "$as_me:$LINENO: result: yes" >&5
8163echo "${ECHO_T}yes" >&6
8164 else
8165 echo "$as_me:$LINENO: result: no" >&5
8166echo "${ECHO_T}no" >&6
8167 fi
8168
8169
8170 enablestring=
8171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8172echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8173 no_cache=0
8174 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8175if test "${enable_tipwindow+set}" = set; then
8176 enableval="$enable_tipwindow"
8177
8178 if test "$enableval" = yes; then
8179 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8180 else
8181 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8182 fi
8183
8184else
8185
8186 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8187 if test "x$LINE" != x ; then
8188 eval "DEFAULT_$LINE"
8189 else
8190 no_cache=1
8191 fi
8192
8193 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8194
8195fi;
8196
8197 eval "$ac_cv_use_tipwindow"
8198 if test "$no_cache" != 1; then
8199 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8200 fi
8201
8202 if test "$wxUSE_TIPWINDOW" = yes; then
8203 echo "$as_me:$LINENO: result: yes" >&5
8204echo "${ECHO_T}yes" >&6
8205 else
8206 echo "$as_me:$LINENO: result: no" >&5
8207echo "${ECHO_T}no" >&6
8208 fi
8209
8210
8211 enablestring=
8212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8213echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8214 no_cache=0
8215 # Check whether --enable-popupwin or --disable-popupwin was given.
8216if test "${enable_popupwin+set}" = set; then
8217 enableval="$enable_popupwin"
8218
8219 if test "$enableval" = yes; then
8220 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8221 else
8222 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8223 fi
8224
8225else
8226
8227 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8228 if test "x$LINE" != x ; then
8229 eval "DEFAULT_$LINE"
8230 else
8231 no_cache=1
8232 fi
8233
8234 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8235
8236fi;
8237
8238 eval "$ac_cv_use_popupwin"
8239 if test "$no_cache" != 1; then
8240 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8241 fi
8242
8243 if test "$wxUSE_POPUPWIN" = yes; then
8244 echo "$as_me:$LINENO: result: yes" >&5
8245echo "${ECHO_T}yes" >&6
8246 else
8247 echo "$as_me:$LINENO: result: no" >&5
8248echo "${ECHO_T}no" >&6
8249 fi
8250
8251
8252
8253
8254 enablestring=
8255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8256echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8257 no_cache=0
8258 # Check whether --enable-commondlg or --disable-commondlg was given.
8259if test "${enable_commondlg+set}" = set; then
8260 enableval="$enable_commondlg"
8261
8262 if test "$enableval" = yes; then
8263 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8264 else
8265 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8266 fi
8267
8268else
8269
8270 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8271 if test "x$LINE" != x ; then
8272 eval "DEFAULT_$LINE"
8273 else
8274 no_cache=1
8275 fi
8276
8277 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8278
8279fi;
8280
8281 eval "$ac_cv_use_commondlg"
8282 if test "$no_cache" != 1; then
8283 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8284 fi
8285
8286 if test "$wxUSE_COMMONDLGS" = yes; then
8287 echo "$as_me:$LINENO: result: yes" >&5
8288echo "${ECHO_T}yes" >&6
8289 else
8290 echo "$as_me:$LINENO: result: no" >&5
8291echo "${ECHO_T}no" >&6
8292 fi
8293
8294
8295 enablestring=
8296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8297echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8298 no_cache=0
8299 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8300if test "${enable_choicedlg+set}" = set; then
8301 enableval="$enable_choicedlg"
8302
8303 if test "$enableval" = yes; then
8304 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8305 else
8306 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8307 fi
8308
8309else
8310
8311 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8312 if test "x$LINE" != x ; then
8313 eval "DEFAULT_$LINE"
8314 else
8315 no_cache=1
8316 fi
8317
8318 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8319
8320fi;
8321
8322 eval "$ac_cv_use_choicedlg"
8323 if test "$no_cache" != 1; then
8324 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8325 fi
8326
8327 if test "$wxUSE_CHOICEDLG" = yes; then
8328 echo "$as_me:$LINENO: result: yes" >&5
8329echo "${ECHO_T}yes" >&6
8330 else
8331 echo "$as_me:$LINENO: result: no" >&5
8332echo "${ECHO_T}no" >&6
8333 fi
8334
8335
8336 enablestring=
8337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8338echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8339 no_cache=0
8340 # Check whether --enable-coldlg or --disable-coldlg was given.
8341if test "${enable_coldlg+set}" = set; then
8342 enableval="$enable_coldlg"
8343
8344 if test "$enableval" = yes; then
8345 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8346 else
8347 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8348 fi
8349
8350else
8351
8352 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8353 if test "x$LINE" != x ; then
8354 eval "DEFAULT_$LINE"
8355 else
8356 no_cache=1
8357 fi
8358
8359 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8360
8361fi;
8362
8363 eval "$ac_cv_use_coldlg"
8364 if test "$no_cache" != 1; then
8365 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8366 fi
8367
8368 if test "$wxUSE_COLOURDLG" = yes; then
8369 echo "$as_me:$LINENO: result: yes" >&5
8370echo "${ECHO_T}yes" >&6
8371 else
8372 echo "$as_me:$LINENO: result: no" >&5
8373echo "${ECHO_T}no" >&6
8374 fi
8375
8376
8377 enablestring=
8378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8379echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8380 no_cache=0
8381 # Check whether --enable-filedlg or --disable-filedlg was given.
8382if test "${enable_filedlg+set}" = set; then
8383 enableval="$enable_filedlg"
8384
8385 if test "$enableval" = yes; then
8386 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8387 else
8388 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8389 fi
8390
8391else
8392
8393 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8394 if test "x$LINE" != x ; then
8395 eval "DEFAULT_$LINE"
8396 else
8397 no_cache=1
8398 fi
8399
8400 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8401
8402fi;
8403
8404 eval "$ac_cv_use_filedlg"
8405 if test "$no_cache" != 1; then
8406 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8407 fi
8408
8409 if test "$wxUSE_FILEDLG" = yes; then
8410 echo "$as_me:$LINENO: result: yes" >&5
8411echo "${ECHO_T}yes" >&6
8412 else
8413 echo "$as_me:$LINENO: result: no" >&5
8414echo "${ECHO_T}no" >&6
8415 fi
8416
8417
8418 enablestring=
8419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8420echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8421 no_cache=0
8422 # Check whether --enable-finddlg or --disable-finddlg was given.
8423if test "${enable_finddlg+set}" = set; then
8424 enableval="$enable_finddlg"
8425
8426 if test "$enableval" = yes; then
8427 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8428 else
8429 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8430 fi
8431
8432else
8433
8434 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8435 if test "x$LINE" != x ; then
8436 eval "DEFAULT_$LINE"
8437 else
8438 no_cache=1
8439 fi
8440
8441 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8442
8443fi;
8444
8445 eval "$ac_cv_use_finddlg"
8446 if test "$no_cache" != 1; then
8447 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8448 fi
8449
8450 if test "$wxUSE_FINDREPLDLG" = yes; then
8451 echo "$as_me:$LINENO: result: yes" >&5
8452echo "${ECHO_T}yes" >&6
8453 else
8454 echo "$as_me:$LINENO: result: no" >&5
8455echo "${ECHO_T}no" >&6
8456 fi
8457
8458
8459 enablestring=
8460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8461echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8462 no_cache=0
8463 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8464if test "${enable_fontdlg+set}" = set; then
8465 enableval="$enable_fontdlg"
8466
8467 if test "$enableval" = yes; then
8468 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8469 else
8470 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8471 fi
8472
8473else
8474
8475 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8476 if test "x$LINE" != x ; then
8477 eval "DEFAULT_$LINE"
8478 else
8479 no_cache=1
8480 fi
8481
8482 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8483
8484fi;
8485
8486 eval "$ac_cv_use_fontdlg"
8487 if test "$no_cache" != 1; then
8488 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8489 fi
8490
8491 if test "$wxUSE_FONTDLG" = yes; then
8492 echo "$as_me:$LINENO: result: yes" >&5
8493echo "${ECHO_T}yes" >&6
8494 else
8495 echo "$as_me:$LINENO: result: no" >&5
8496echo "${ECHO_T}no" >&6
8497 fi
8498
8499
8500 enablestring=
8501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8502echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8503 no_cache=0
8504 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8505if test "${enable_dirdlg+set}" = set; then
8506 enableval="$enable_dirdlg"
8507
8508 if test "$enableval" = yes; then
8509 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8510 else
8511 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8512 fi
8513
8514else
8515
8516 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8517 if test "x$LINE" != x ; then
8518 eval "DEFAULT_$LINE"
8519 else
8520 no_cache=1
8521 fi
8522
8523 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8524
8525fi;
8526
8527 eval "$ac_cv_use_dirdlg"
8528 if test "$no_cache" != 1; then
8529 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8530 fi
8531
8532 if test "$wxUSE_DIRDLG" = yes; then
8533 echo "$as_me:$LINENO: result: yes" >&5
8534echo "${ECHO_T}yes" >&6
8535 else
8536 echo "$as_me:$LINENO: result: no" >&5
8537echo "${ECHO_T}no" >&6
8538 fi
8539
8540
8541 enablestring=
8542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8543echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8544 no_cache=0
8545 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8546if test "${enable_msgdlg+set}" = set; then
8547 enableval="$enable_msgdlg"
8548
8549 if test "$enableval" = yes; then
8550 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8551 else
8552 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8553 fi
8554
8555else
8556
8557 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8558 if test "x$LINE" != x ; then
8559 eval "DEFAULT_$LINE"
8560 else
8561 no_cache=1
8562 fi
8563
8564 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8565
8566fi;
8567
8568 eval "$ac_cv_use_msgdlg"
8569 if test "$no_cache" != 1; then
8570 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8571 fi
8572
8573 if test "$wxUSE_MSGDLG" = yes; then
8574 echo "$as_me:$LINENO: result: yes" >&5
8575echo "${ECHO_T}yes" >&6
8576 else
8577 echo "$as_me:$LINENO: result: no" >&5
8578echo "${ECHO_T}no" >&6
8579 fi
8580
8581
8582 enablestring=
8583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8584echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8585 no_cache=0
8586 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8587if test "${enable_numberdlg+set}" = set; then
8588 enableval="$enable_numberdlg"
8589
8590 if test "$enableval" = yes; then
8591 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8592 else
8593 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8594 fi
8595
8596else
8597
8598 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8599 if test "x$LINE" != x ; then
8600 eval "DEFAULT_$LINE"
8601 else
8602 no_cache=1
8603 fi
8604
8605 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8606
8607fi;
8608
8609 eval "$ac_cv_use_numberdlg"
8610 if test "$no_cache" != 1; then
8611 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8612 fi
8613
8614 if test "$wxUSE_NUMBERDLG" = yes; then
8615 echo "$as_me:$LINENO: result: yes" >&5
8616echo "${ECHO_T}yes" >&6
8617 else
8618 echo "$as_me:$LINENO: result: no" >&5
8619echo "${ECHO_T}no" >&6
8620 fi
8621
8622
8623 enablestring=
8624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8625echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8626 no_cache=0
8627 # Check whether --enable-splash or --disable-splash was given.
8628if test "${enable_splash+set}" = set; then
8629 enableval="$enable_splash"
8630
8631 if test "$enableval" = yes; then
8632 ac_cv_use_splash='wxUSE_SPLASH=yes'
8633 else
8634 ac_cv_use_splash='wxUSE_SPLASH=no'
8635 fi
8636
8637else
8638
8639 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8640 if test "x$LINE" != x ; then
8641 eval "DEFAULT_$LINE"
8642 else
8643 no_cache=1
8644 fi
8645
8646 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8647
8648fi;
8649
8650 eval "$ac_cv_use_splash"
8651 if test "$no_cache" != 1; then
8652 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8653 fi
8654
8655 if test "$wxUSE_SPLASH" = yes; then
8656 echo "$as_me:$LINENO: result: yes" >&5
8657echo "${ECHO_T}yes" >&6
8658 else
8659 echo "$as_me:$LINENO: result: no" >&5
8660echo "${ECHO_T}no" >&6
8661 fi
8662
8663
8664 enablestring=
8665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8666echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8667 no_cache=0
8668 # Check whether --enable-textdlg or --disable-textdlg was given.
8669if test "${enable_textdlg+set}" = set; then
8670 enableval="$enable_textdlg"
8671
8672 if test "$enableval" = yes; then
8673 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8674 else
8675 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8676 fi
8677
8678else
8679
8680 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8681 if test "x$LINE" != x ; then
8682 eval "DEFAULT_$LINE"
8683 else
8684 no_cache=1
8685 fi
8686
8687 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8688
8689fi;
8690
8691 eval "$ac_cv_use_textdlg"
8692 if test "$no_cache" != 1; then
8693 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8694 fi
8695
8696 if test "$wxUSE_TEXTDLG" = yes; then
8697 echo "$as_me:$LINENO: result: yes" >&5
8698echo "${ECHO_T}yes" >&6
8699 else
8700 echo "$as_me:$LINENO: result: no" >&5
8701echo "${ECHO_T}no" >&6
8702 fi
8703
8704
8705 enablestring=
8706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8707echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8708 no_cache=0
8709 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8710if test "${enable_tipdlg+set}" = set; then
8711 enableval="$enable_tipdlg"
8712
8713 if test "$enableval" = yes; then
8714 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8715 else
8716 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8717 fi
8718
8719else
8720
8721 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8722 if test "x$LINE" != x ; then
8723 eval "DEFAULT_$LINE"
8724 else
8725 no_cache=1
8726 fi
8727
8728 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8729
8730fi;
8731
8732 eval "$ac_cv_use_tipdlg"
8733 if test "$no_cache" != 1; then
8734 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8735 fi
8736
8737 if test "$wxUSE_STARTUP_TIPS" = yes; then
8738 echo "$as_me:$LINENO: result: yes" >&5
8739echo "${ECHO_T}yes" >&6
8740 else
8741 echo "$as_me:$LINENO: result: no" >&5
8742echo "${ECHO_T}no" >&6
8743 fi
8744
8745
8746 enablestring=
8747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8748echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8749 no_cache=0
8750 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8751if test "${enable_progressdlg+set}" = set; then
8752 enableval="$enable_progressdlg"
8753
8754 if test "$enableval" = yes; then
8755 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8756 else
8757 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8758 fi
8759
8760else
8761
8762 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8763 if test "x$LINE" != x ; then
8764 eval "DEFAULT_$LINE"
8765 else
8766 no_cache=1
8767 fi
8768
8769 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8770
8771fi;
8772
8773 eval "$ac_cv_use_progressdlg"
8774 if test "$no_cache" != 1; then
8775 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8776 fi
8777
8778 if test "$wxUSE_PROGRESSDLG" = yes; then
8779 echo "$as_me:$LINENO: result: yes" >&5
8780echo "${ECHO_T}yes" >&6
8781 else
8782 echo "$as_me:$LINENO: result: no" >&5
8783echo "${ECHO_T}no" >&6
8784 fi
8785
8786
8787 enablestring=
8788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8789echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8790 no_cache=0
8791 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8792if test "${enable_wizarddlg+set}" = set; then
8793 enableval="$enable_wizarddlg"
8794
8795 if test "$enableval" = yes; then
8796 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8797 else
8798 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8799 fi
8800
8801else
8802
8803 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8804 if test "x$LINE" != x ; then
8805 eval "DEFAULT_$LINE"
8806 else
8807 no_cache=1
8808 fi
8809
8810 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8811
8812fi;
8813
8814 eval "$ac_cv_use_wizarddlg"
8815 if test "$no_cache" != 1; then
8816 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8817 fi
8818
8819 if test "$wxUSE_WIZARDDLG" = yes; then
8820 echo "$as_me:$LINENO: result: yes" >&5
8821echo "${ECHO_T}yes" >&6
8822 else
8823 echo "$as_me:$LINENO: result: no" >&5
8824echo "${ECHO_T}no" >&6
8825 fi
8826
8827
8828
8829
8830 enablestring=
8831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8832echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8833 no_cache=0
8834 # Check whether --enable-menus or --disable-menus was given.
8835if test "${enable_menus+set}" = set; then
8836 enableval="$enable_menus"
8837
8838 if test "$enableval" = yes; then
8839 ac_cv_use_menus='wxUSE_MENUS=yes'
8840 else
8841 ac_cv_use_menus='wxUSE_MENUS=no'
8842 fi
8843
8844else
8845
8846 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8847 if test "x$LINE" != x ; then
8848 eval "DEFAULT_$LINE"
8849 else
8850 no_cache=1
8851 fi
8852
8853 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8854
8855fi;
8856
8857 eval "$ac_cv_use_menus"
8858 if test "$no_cache" != 1; then
8859 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8860 fi
8861
8862 if test "$wxUSE_MENUS" = yes; then
8863 echo "$as_me:$LINENO: result: yes" >&5
8864echo "${ECHO_T}yes" >&6
8865 else
8866 echo "$as_me:$LINENO: result: no" >&5
8867echo "${ECHO_T}no" >&6
8868 fi
8869
8870
8871 enablestring=
8872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8873echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8874 no_cache=0
8875 # Check whether --enable-miniframe or --disable-miniframe was given.
8876if test "${enable_miniframe+set}" = set; then
8877 enableval="$enable_miniframe"
8878
8879 if test "$enableval" = yes; then
8880 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8881 else
8882 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8883 fi
8884
8885else
8886
8887 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8888 if test "x$LINE" != x ; then
8889 eval "DEFAULT_$LINE"
8890 else
8891 no_cache=1
8892 fi
8893
8894 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8895
8896fi;
8897
8898 eval "$ac_cv_use_miniframe"
8899 if test "$no_cache" != 1; then
8900 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8901 fi
8902
8903 if test "$wxUSE_MINIFRAME" = yes; then
8904 echo "$as_me:$LINENO: result: yes" >&5
8905echo "${ECHO_T}yes" >&6
8906 else
8907 echo "$as_me:$LINENO: result: no" >&5
8908echo "${ECHO_T}no" >&6
8909 fi
8910
8911
8912 enablestring=
8913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8914echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8915 no_cache=0
8916 # Check whether --enable-tooltips or --disable-tooltips was given.
8917if test "${enable_tooltips+set}" = set; then
8918 enableval="$enable_tooltips"
8919
8920 if test "$enableval" = yes; then
8921 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8922 else
8923 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8924 fi
8925
8926else
8927
8928 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8929 if test "x$LINE" != x ; then
8930 eval "DEFAULT_$LINE"
8931 else
8932 no_cache=1
8933 fi
8934
8935 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8936
8937fi;
8938
8939 eval "$ac_cv_use_tooltips"
8940 if test "$no_cache" != 1; then
8941 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8942 fi
8943
8944 if test "$wxUSE_TOOLTIPS" = yes; then
8945 echo "$as_me:$LINENO: result: yes" >&5
8946echo "${ECHO_T}yes" >&6
8947 else
8948 echo "$as_me:$LINENO: result: no" >&5
8949echo "${ECHO_T}no" >&6
8950 fi
8951
8952
8953 enablestring=
8954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8955echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8956 no_cache=0
8957 # Check whether --enable-splines or --disable-splines was given.
8958if test "${enable_splines+set}" = set; then
8959 enableval="$enable_splines"
8960
8961 if test "$enableval" = yes; then
8962 ac_cv_use_splines='wxUSE_SPLINES=yes'
8963 else
8964 ac_cv_use_splines='wxUSE_SPLINES=no'
8965 fi
8966
8967else
8968
8969 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8970 if test "x$LINE" != x ; then
8971 eval "DEFAULT_$LINE"
8972 else
8973 no_cache=1
8974 fi
8975
8976 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8977
8978fi;
8979
8980 eval "$ac_cv_use_splines"
8981 if test "$no_cache" != 1; then
8982 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8983 fi
8984
8985 if test "$wxUSE_SPLINES" = yes; then
8986 echo "$as_me:$LINENO: result: yes" >&5
8987echo "${ECHO_T}yes" >&6
8988 else
8989 echo "$as_me:$LINENO: result: no" >&5
8990echo "${ECHO_T}no" >&6
8991 fi
8992
8993
8994 enablestring=
8995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8996echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8997 no_cache=0
8998 # Check whether --enable-validators or --disable-validators was given.
8999if test "${enable_validators+set}" = set; then
9000 enableval="$enable_validators"
9001
9002 if test "$enableval" = yes; then
9003 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9004 else
9005 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9006 fi
9007
9008else
9009
9010 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9011 if test "x$LINE" != x ; then
9012 eval "DEFAULT_$LINE"
9013 else
9014 no_cache=1
9015 fi
9016
9017 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9018
9019fi;
9020
9021 eval "$ac_cv_use_validators"
9022 if test "$no_cache" != 1; then
9023 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9024 fi
9025
9026 if test "$wxUSE_VALIDATORS" = yes; then
9027 echo "$as_me:$LINENO: result: yes" >&5
9028echo "${ECHO_T}yes" >&6
9029 else
9030 echo "$as_me:$LINENO: result: no" >&5
9031echo "${ECHO_T}no" >&6
9032 fi
9033
9034
9035 enablestring=
9036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9037echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9038 no_cache=0
9039 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9040if test "${enable_busyinfo+set}" = set; then
9041 enableval="$enable_busyinfo"
9042
9043 if test "$enableval" = yes; then
9044 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9045 else
9046 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9047 fi
9048
9049else
9050
9051 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9052 if test "x$LINE" != x ; then
9053 eval "DEFAULT_$LINE"
9054 else
9055 no_cache=1
9056 fi
9057
9058 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9059
9060fi;
9061
9062 eval "$ac_cv_use_busyinfo"
9063 if test "$no_cache" != 1; then
9064 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9065 fi
9066
9067 if test "$wxUSE_BUSYINFO" = yes; then
9068 echo "$as_me:$LINENO: result: yes" >&5
9069echo "${ECHO_T}yes" >&6
9070 else
9071 echo "$as_me:$LINENO: result: no" >&5
9072echo "${ECHO_T}no" >&6
9073 fi
9074
9075
9076 enablestring=
9077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9078echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9079 no_cache=0
9080 # Check whether --enable-joystick or --disable-joystick was given.
9081if test "${enable_joystick+set}" = set; then
9082 enableval="$enable_joystick"
9083
9084 if test "$enableval" = yes; then
9085 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9086 else
9087 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9088 fi
9089
9090else
9091
9092 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9093 if test "x$LINE" != x ; then
9094 eval "DEFAULT_$LINE"
9095 else
9096 no_cache=1
9097 fi
9098
9099 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9100
9101fi;
9102
9103 eval "$ac_cv_use_joystick"
9104 if test "$no_cache" != 1; then
9105 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9106 fi
9107
9108 if test "$wxUSE_JOYSTICK" = yes; then
9109 echo "$as_me:$LINENO: result: yes" >&5
9110echo "${ECHO_T}yes" >&6
9111 else
9112 echo "$as_me:$LINENO: result: no" >&5
9113echo "${ECHO_T}no" >&6
9114 fi
9115
9116
9117 enablestring=
9118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9119echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9120 no_cache=0
9121 # Check whether --enable-metafile or --disable-metafile was given.
9122if test "${enable_metafile+set}" = set; then
9123 enableval="$enable_metafile"
9124
9125 if test "$enableval" = yes; then
9126 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9127 else
9128 ac_cv_use_metafile='wxUSE_METAFILE=no'
9129 fi
9130
9131else
9132
9133 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9134 if test "x$LINE" != x ; then
9135 eval "DEFAULT_$LINE"
9136 else
9137 no_cache=1
9138 fi
9139
9140 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9141
9142fi;
9143
9144 eval "$ac_cv_use_metafile"
9145 if test "$no_cache" != 1; then
9146 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9147 fi
9148
9149 if test "$wxUSE_METAFILE" = yes; then
9150 echo "$as_me:$LINENO: result: yes" >&5
9151echo "${ECHO_T}yes" >&6
9152 else
9153 echo "$as_me:$LINENO: result: no" >&5
9154echo "${ECHO_T}no" >&6
9155 fi
9156
9157
9158 enablestring=
9159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9160echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9161 no_cache=0
9162 # Check whether --enable-dragimage or --disable-dragimage was given.
9163if test "${enable_dragimage+set}" = set; then
9164 enableval="$enable_dragimage"
9165
9166 if test "$enableval" = yes; then
9167 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9168 else
9169 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9170 fi
9171
9172else
9173
9174 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9175 if test "x$LINE" != x ; then
9176 eval "DEFAULT_$LINE"
9177 else
9178 no_cache=1
9179 fi
9180
9181 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9182
9183fi;
9184
9185 eval "$ac_cv_use_dragimage"
9186 if test "$no_cache" != 1; then
9187 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9188 fi
9189
9190 if test "$wxUSE_DRAGIMAGE" = yes; then
9191 echo "$as_me:$LINENO: result: yes" >&5
9192echo "${ECHO_T}yes" >&6
9193 else
9194 echo "$as_me:$LINENO: result: no" >&5
9195echo "${ECHO_T}no" >&6
9196 fi
9197
9198
9199 enablestring=
9200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9201echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9202 no_cache=0
9203 # Check whether --enable-accessibility or --disable-accessibility was given.
9204if test "${enable_accessibility+set}" = set; then
9205 enableval="$enable_accessibility"
9206
9207 if test "$enableval" = yes; then
9208 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9209 else
9210 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9211 fi
9212
9213else
9214
9215 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9216 if test "x$LINE" != x ; then
9217 eval "DEFAULT_$LINE"
9218 else
9219 no_cache=1
9220 fi
9221
9222 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9223
9224fi;
9225
9226 eval "$ac_cv_use_accessibility"
9227 if test "$no_cache" != 1; then
9228 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9229 fi
9230
9231 if test "$wxUSE_ACCESSIBILITY" = yes; then
9232 echo "$as_me:$LINENO: result: yes" >&5
9233echo "${ECHO_T}yes" >&6
9234 else
9235 echo "$as_me:$LINENO: result: no" >&5
9236echo "${ECHO_T}no" >&6
9237 fi
9238
9239
9240
9241
9242 enablestring=
9243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9244echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9245 no_cache=0
9246 # Check whether --enable-palette or --disable-palette was given.
9247if test "${enable_palette+set}" = set; then
9248 enableval="$enable_palette"
9249
9250 if test "$enableval" = yes; then
9251 ac_cv_use_palette='wxUSE_PALETTE=yes'
9252 else
9253 ac_cv_use_palette='wxUSE_PALETTE=no'
9254 fi
9255
9256else
9257
9258 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9259 if test "x$LINE" != x ; then
9260 eval "DEFAULT_$LINE"
9261 else
9262 no_cache=1
9263 fi
9264
9265 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9266
9267fi;
9268
9269 eval "$ac_cv_use_palette"
9270 if test "$no_cache" != 1; then
9271 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9272 fi
9273
9274 if test "$wxUSE_PALETTE" = yes; then
9275 echo "$as_me:$LINENO: result: yes" >&5
9276echo "${ECHO_T}yes" >&6
9277 else
9278 echo "$as_me:$LINENO: result: no" >&5
9279echo "${ECHO_T}no" >&6
9280 fi
9281
9282
9283 enablestring=
9284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9285echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9286 no_cache=0
9287 # Check whether --enable-image or --disable-image was given.
9288if test "${enable_image+set}" = set; then
9289 enableval="$enable_image"
9290
9291 if test "$enableval" = yes; then
9292 ac_cv_use_image='wxUSE_IMAGE=yes'
9293 else
9294 ac_cv_use_image='wxUSE_IMAGE=no'
9295 fi
9296
9297else
9298
9299 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9300 if test "x$LINE" != x ; then
9301 eval "DEFAULT_$LINE"
9302 else
9303 no_cache=1
9304 fi
9305
9306 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9307
9308fi;
9309
9310 eval "$ac_cv_use_image"
9311 if test "$no_cache" != 1; then
9312 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9313 fi
9314
9315 if test "$wxUSE_IMAGE" = yes; then
9316 echo "$as_me:$LINENO: result: yes" >&5
9317echo "${ECHO_T}yes" >&6
9318 else
9319 echo "$as_me:$LINENO: result: no" >&5
9320echo "${ECHO_T}no" >&6
9321 fi
9322
9323
9324 enablestring=
9325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9326echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9327 no_cache=0
9328 # Check whether --enable-gif or --disable-gif was given.
9329if test "${enable_gif+set}" = set; then
9330 enableval="$enable_gif"
9331
9332 if test "$enableval" = yes; then
9333 ac_cv_use_gif='wxUSE_GIF=yes'
9334 else
9335 ac_cv_use_gif='wxUSE_GIF=no'
9336 fi
9337
9338else
9339
9340 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9341 if test "x$LINE" != x ; then
9342 eval "DEFAULT_$LINE"
9343 else
9344 no_cache=1
9345 fi
9346
9347 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9348
9349fi;
9350
9351 eval "$ac_cv_use_gif"
9352 if test "$no_cache" != 1; then
9353 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9354 fi
9355
9356 if test "$wxUSE_GIF" = yes; then
9357 echo "$as_me:$LINENO: result: yes" >&5
9358echo "${ECHO_T}yes" >&6
9359 else
9360 echo "$as_me:$LINENO: result: no" >&5
9361echo "${ECHO_T}no" >&6
9362 fi
9363
9364
9365 enablestring=
9366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9367echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9368 no_cache=0
9369 # Check whether --enable-pcx or --disable-pcx was given.
9370if test "${enable_pcx+set}" = set; then
9371 enableval="$enable_pcx"
9372
9373 if test "$enableval" = yes; then
9374 ac_cv_use_pcx='wxUSE_PCX=yes'
9375 else
9376 ac_cv_use_pcx='wxUSE_PCX=no'
9377 fi
9378
9379else
9380
9381 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9382 if test "x$LINE" != x ; then
9383 eval "DEFAULT_$LINE"
9384 else
9385 no_cache=1
9386 fi
9387
9388 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9389
9390fi;
9391
9392 eval "$ac_cv_use_pcx"
9393 if test "$no_cache" != 1; then
9394 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9395 fi
9396
9397 if test "$wxUSE_PCX" = yes; then
9398 echo "$as_me:$LINENO: result: yes" >&5
9399echo "${ECHO_T}yes" >&6
9400 else
9401 echo "$as_me:$LINENO: result: no" >&5
9402echo "${ECHO_T}no" >&6
9403 fi
9404
9405
9406 enablestring=
9407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9408echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9409 no_cache=0
9410 # Check whether --enable-iff or --disable-iff was given.
9411if test "${enable_iff+set}" = set; then
9412 enableval="$enable_iff"
9413
9414 if test "$enableval" = yes; then
9415 ac_cv_use_iff='wxUSE_IFF=yes'
9416 else
9417 ac_cv_use_iff='wxUSE_IFF=no'
9418 fi
9419
9420else
9421
9422 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9423 if test "x$LINE" != x ; then
9424 eval "DEFAULT_$LINE"
9425 else
9426 no_cache=1
9427 fi
9428
9429 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9430
9431fi;
9432
9433 eval "$ac_cv_use_iff"
9434 if test "$no_cache" != 1; then
9435 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9436 fi
9437
9438 if test "$wxUSE_IFF" = yes; then
9439 echo "$as_me:$LINENO: result: yes" >&5
9440echo "${ECHO_T}yes" >&6
9441 else
9442 echo "$as_me:$LINENO: result: no" >&5
9443echo "${ECHO_T}no" >&6
9444 fi
9445
9446
9447 enablestring=
9448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9449echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9450 no_cache=0
9451 # Check whether --enable-pnm or --disable-pnm was given.
9452if test "${enable_pnm+set}" = set; then
9453 enableval="$enable_pnm"
9454
9455 if test "$enableval" = yes; then
9456 ac_cv_use_pnm='wxUSE_PNM=yes'
9457 else
9458 ac_cv_use_pnm='wxUSE_PNM=no'
9459 fi
9460
9461else
9462
9463 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9464 if test "x$LINE" != x ; then
9465 eval "DEFAULT_$LINE"
9466 else
9467 no_cache=1
9468 fi
9469
9470 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9471
9472fi;
9473
9474 eval "$ac_cv_use_pnm"
9475 if test "$no_cache" != 1; then
9476 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9477 fi
9478
9479 if test "$wxUSE_PNM" = yes; then
9480 echo "$as_me:$LINENO: result: yes" >&5
9481echo "${ECHO_T}yes" >&6
9482 else
9483 echo "$as_me:$LINENO: result: no" >&5
9484echo "${ECHO_T}no" >&6
9485 fi
9486
9487
9488 enablestring=
9489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9490echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9491 no_cache=0
9492 # Check whether --enable-xpm or --disable-xpm was given.
9493if test "${enable_xpm+set}" = set; then
9494 enableval="$enable_xpm"
9495
9496 if test "$enableval" = yes; then
9497 ac_cv_use_xpm='wxUSE_XPM=yes'
9498 else
9499 ac_cv_use_xpm='wxUSE_XPM=no'
9500 fi
9501
9502else
9503
9504 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9505 if test "x$LINE" != x ; then
9506 eval "DEFAULT_$LINE"
9507 else
9508 no_cache=1
9509 fi
9510
9511 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9512
9513fi;
9514
9515 eval "$ac_cv_use_xpm"
9516 if test "$no_cache" != 1; then
9517 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9518 fi
9519
9520 if test "$wxUSE_XPM" = yes; then
9521 echo "$as_me:$LINENO: result: yes" >&5
9522echo "${ECHO_T}yes" >&6
9523 else
9524 echo "$as_me:$LINENO: result: no" >&5
9525echo "${ECHO_T}no" >&6
9526 fi
9527
9528
9529 enablestring=
9530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9531echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9532 no_cache=0
9533 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9534if test "${enable_ico_cur+set}" = set; then
9535 enableval="$enable_ico_cur"
9536
9537 if test "$enableval" = yes; then
9538 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9539 else
9540 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9541 fi
9542
9543else
9544
9545 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9546 if test "x$LINE" != x ; then
9547 eval "DEFAULT_$LINE"
9548 else
9549 no_cache=1
9550 fi
9551
9552 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9553
9554fi;
9555
9556 eval "$ac_cv_use_ico_cur"
9557 if test "$no_cache" != 1; then
9558 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9559 fi
9560
9561 if test "$wxUSE_ICO_CUR" = yes; then
9562 echo "$as_me:$LINENO: result: yes" >&5
9563echo "${ECHO_T}yes" >&6
9564 else
9565 echo "$as_me:$LINENO: result: no" >&5
9566echo "${ECHO_T}no" >&6
9567 fi
9568
9569
9570fi
9571
9572
9573
9574 enablestring=
9575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9576echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9577 no_cache=0
9578 # Check whether --enable-official_build or --disable-official_build was given.
9579if test "${enable_official_build+set}" = set; then
9580 enableval="$enable_official_build"
9581
9582 if test "$enableval" = yes; then
9583 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9584 else
9585 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9586 fi
9587
9588else
9589
9590 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9591 if test "x$LINE" != x ; then
9592 eval "DEFAULT_$LINE"
9593 else
9594 no_cache=1
9595 fi
9596
9597 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9598
9599fi;
9600
9601 eval "$ac_cv_use_official_build"
9602 if test "$no_cache" != 1; then
9603 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9604 fi
9605
9606 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9607 echo "$as_me:$LINENO: result: yes" >&5
9608echo "${ECHO_T}yes" >&6
9609 else
9610 echo "$as_me:$LINENO: result: no" >&5
9611echo "${ECHO_T}no" >&6
9612 fi
9613
9614# Check whether --enable-vendor or --disable-vendor was given.
9615if test "${enable_vendor+set}" = set; then
9616 enableval="$enable_vendor"
9617 VENDOR="$enableval"
9618fi;
9619if test "x$VENDOR" = "x"; then
9620 VENDOR="custom"
9621fi
9622
9623case "${host}" in
9624 *-pc-os2_emx | *-pc-os2-emx )
9625 PATH_IFS=';'
9626 ;;
9627 *)
9628 PATH_IFS=':'
9629 ;;
9630esac
9631
9632
9633
9634 echo "saving argument cache $wx_arg_cache_file"
9635 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9636
9637
9638
9639echo "$as_me:$LINENO: checking for toolkit" >&5
9640echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9641
9642# In Wine, we need to default to MSW, not GTK or MOTIF
9643if test "$wxUSE_WINE" = "yes"; then
9644 DEFAULT_DEFAULT_wxUSE_GTK=0
9645 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9646 DEFAULT_DEFAULT_wxUSE_MSW=1
9647fi
9648
9649if test "$wxUSE_GUI" = "yes"; then
9650
9651 if test "$USE_BEOS" = 1; then
9652 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9653echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9654 { (exit 1); exit 1; }; }
9655 fi
9656
9657 if test "$TOOLKIT_GIVEN" = 1; then
9658 for toolkit in `echo $ALL_TOOLKITS`; do
9659 var=wxUSE_$toolkit
9660 eval "value=\$${var}"
9661 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9662 done
9663 else
9664 for toolkit in `echo $ALL_TOOLKITS`; do
9665 if test "$has_toolkit_in_cache" != 1; then
9666 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9667 else
9668 var=DEFAULT_wxUSE_$toolkit
9669 fi
9670 eval "wxUSE_$toolkit=\$${var}"
9671 done
9672 fi
9673
9674 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9675 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9676 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9677
9678 case "${host}" in
9679 *-pc-os2_emx | *-pc-os2-emx )
9680 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9681 esac
9682
9683 case "$NUM_TOOLKITS" in
9684 1)
9685 ;;
9686 0)
9687 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9688echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9689 { (exit 1); exit 1; }; }
9690 ;;
9691 *)
9692 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9693echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9694 { (exit 1); exit 1; }; }
9695 esac
9696
9697 for toolkit in `echo $ALL_TOOLKITS`; do
9698 var=wxUSE_$toolkit
9699 eval "value=\$${var}"
9700 if test "x$value" != x; then
9701 cache_var=CACHE_$toolkit
9702 eval "cache=\$${cache_var}"
9703 if test "$cache" = 1; then
9704 echo "$var=$value" >> ${wx_arg_cache_file}
9705 fi
9706 if test "$value" = 1; then
9707 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9708 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9709echo "${ECHO_T}$toolkit_echo" >&6
9710 fi
9711 fi
9712 done
9713else
9714 if test "x$host_alias" != "x"; then
9715 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9716echo "${ECHO_T}base ($host_alias hosted) only" >&6
9717 else
9718 echo "$as_me:$LINENO: result: base only" >&5
9719echo "${ECHO_T}base only" >&6
9720 fi
9721fi
9722
9723wants_win32=0
9724doesnt_want_win32=0
9725case "${host}" in
9726 *-*-cygwin*)
9727 if test "$wxUSE_MSW" = 1 ; then
9728 wants_win32=1
9729 else
9730 doesnt_want_win32=1
9731 fi
9732 ;;
9733 *-*-mingw*)
9734 wants_win32=1
9735 ;;
9736esac
9737
9738if test "$wxUSE_WINE" = "yes"; then
9739 wants_win32=1
9740 CC=winegcc
9741 CXX=wineg++
9742 RESCOMP=wrc
9743fi
9744
9745if test "$wants_win32" = 1 ; then
9746 USE_UNIX=0
9747 USE_WIN32=1
9748 cat >>confdefs.h <<\_ACEOF
9749#define __WIN32__ 1
9750_ACEOF
9751
9752 cat >>confdefs.h <<\_ACEOF
9753#define __WIN95__ 1
9754_ACEOF
9755
9756 cat >>confdefs.h <<\_ACEOF
9757#define __WINDOWS__ 1
9758_ACEOF
9759
9760 cat >>confdefs.h <<\_ACEOF
9761#define __GNUWIN32__ 1
9762_ACEOF
9763
9764 cat >>confdefs.h <<\_ACEOF
9765#define STRICT 1
9766_ACEOF
9767
9768 cat >>confdefs.h <<\_ACEOF
9769#define WINVER 0x0400
9770_ACEOF
9771
9772fi
9773if test "$doesnt_want_win32" = 1 ; then
9774 USE_UNIX=1
9775 USE_WIN32=0
9776fi
9777
9778if test "$USE_UNIX" = 1 ; then
9779 wxUSE_UNIX=yes
9780 cat >>confdefs.h <<\_ACEOF
9781#define __UNIX__ 1
9782_ACEOF
9783
9784fi
9785
9786
9787cat >confcache <<\_ACEOF
9788# This file is a shell script that caches the results of configure
9789# tests run on this system so they can be shared between configure
9790# scripts and configure runs, see configure's option --config-cache.
9791# It is not useful on other systems. If it contains results you don't
9792# want to keep, you may remove or edit it.
9793#
9794# config.status only pays attention to the cache file if you give it
9795# the --recheck option to rerun configure.
9796#
9797# `ac_cv_env_foo' variables (set or unset) will be overridden when
9798# loading this file, other *unset* `ac_cv_foo' will be assigned the
9799# following values.
9800
9801_ACEOF
9802
9803# The following way of writing the cache mishandles newlines in values,
9804# but we know of no workaround that is simple, portable, and efficient.
9805# So, don't put newlines in cache variables' values.
9806# Ultrix sh set writes to stderr and can't be redirected directly,
9807# and sets the high bit in the cache file unless we assign to the vars.
9808{
9809 (set) 2>&1 |
9810 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9811 *ac_space=\ *)
9812 # `set' does not quote correctly, so add quotes (double-quote
9813 # substitution turns \\\\ into \\, and sed turns \\ into \).
9814 sed -n \
9815 "s/'/'\\\\''/g;
9816 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9817 ;;
9818 *)
9819 # `set' quotes correctly as required by POSIX, so do not add quotes.
9820 sed -n \
9821 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9822 ;;
9823 esac;
9824} |
9825 sed '
9826 t clear
9827 : clear
9828 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9829 t end
9830 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9831 : end' >>confcache
9832if diff $cache_file confcache >/dev/null 2>&1; then :; else
9833 if test -w $cache_file; then
9834 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9835 cat confcache >$cache_file
9836 else
9837 echo "not updating unwritable cache $cache_file"
9838 fi
9839fi
9840rm -f confcache
9841
9842if test "$build" != "$host" ; then
9843 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9844 CC=$host_alias-gcc
9845 CXX=$host_alias-c++
9846 AR=$host_alias-ar
9847 RANLIB=$host_alias-ranlib
9848 DLLTOOL=$host_alias-dlltool
9849 RESCOMP=$host_alias-windres
9850 LD=$host_alias-ld
9851 NM=$host_alias-nm
9852 STRIP=$host_alias-strip
9853 else
9854 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9855echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9856 { (exit 1); exit 1; }; }
9857 fi
9858fi
9859
9860CFLAGS=${CFLAGS:=}
9861ac_ext=c
9862ac_cpp='$CPP $CPPFLAGS'
9863ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9864ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9865ac_compiler_gnu=$ac_cv_c_compiler_gnu
9866if test -n "$ac_tool_prefix"; then
9867 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9868set dummy ${ac_tool_prefix}gcc; ac_word=$2
9869echo "$as_me:$LINENO: checking for $ac_word" >&5
9870echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9871if test "${ac_cv_prog_CC+set}" = set; then
9872 echo $ECHO_N "(cached) $ECHO_C" >&6
9873else
9874 if test -n "$CC"; then
9875 ac_cv_prog_CC="$CC" # Let the user override the test.
9876else
9877as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9878for as_dir in $PATH
9879do
9880 IFS=$as_save_IFS
9881 test -z "$as_dir" && as_dir=.
9882 for ac_exec_ext in '' $ac_executable_extensions; do
9883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9884 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9886 break 2
9887 fi
9888done
9889done
9890
9891fi
9892fi
9893CC=$ac_cv_prog_CC
9894if test -n "$CC"; then
9895 echo "$as_me:$LINENO: result: $CC" >&5
9896echo "${ECHO_T}$CC" >&6
9897else
9898 echo "$as_me:$LINENO: result: no" >&5
9899echo "${ECHO_T}no" >&6
9900fi
9901
9902fi
9903if test -z "$ac_cv_prog_CC"; then
9904 ac_ct_CC=$CC
9905 # Extract the first word of "gcc", so it can be a program name with args.
9906set dummy gcc; ac_word=$2
9907echo "$as_me:$LINENO: checking for $ac_word" >&5
9908echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9909if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9910 echo $ECHO_N "(cached) $ECHO_C" >&6
9911else
9912 if test -n "$ac_ct_CC"; then
9913 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9914else
9915as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9916for as_dir in $PATH
9917do
9918 IFS=$as_save_IFS
9919 test -z "$as_dir" && as_dir=.
9920 for ac_exec_ext in '' $ac_executable_extensions; do
9921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9922 ac_cv_prog_ac_ct_CC="gcc"
9923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9924 break 2
9925 fi
9926done
9927done
9928
9929fi
9930fi
9931ac_ct_CC=$ac_cv_prog_ac_ct_CC
9932if test -n "$ac_ct_CC"; then
9933 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9934echo "${ECHO_T}$ac_ct_CC" >&6
9935else
9936 echo "$as_me:$LINENO: result: no" >&5
9937echo "${ECHO_T}no" >&6
9938fi
9939
9940 CC=$ac_ct_CC
9941else
9942 CC="$ac_cv_prog_CC"
9943fi
9944
9945if test -z "$CC"; then
9946 if test -n "$ac_tool_prefix"; then
9947 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9948set dummy ${ac_tool_prefix}cc; ac_word=$2
9949echo "$as_me:$LINENO: checking for $ac_word" >&5
9950echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9951if test "${ac_cv_prog_CC+set}" = set; then
9952 echo $ECHO_N "(cached) $ECHO_C" >&6
9953else
9954 if test -n "$CC"; then
9955 ac_cv_prog_CC="$CC" # Let the user override the test.
9956else
9957as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9958for as_dir in $PATH
9959do
9960 IFS=$as_save_IFS
9961 test -z "$as_dir" && as_dir=.
9962 for ac_exec_ext in '' $ac_executable_extensions; do
9963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9964 ac_cv_prog_CC="${ac_tool_prefix}cc"
9965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9966 break 2
9967 fi
9968done
9969done
9970
9971fi
9972fi
9973CC=$ac_cv_prog_CC
9974if test -n "$CC"; then
9975 echo "$as_me:$LINENO: result: $CC" >&5
9976echo "${ECHO_T}$CC" >&6
9977else
9978 echo "$as_me:$LINENO: result: no" >&5
9979echo "${ECHO_T}no" >&6
9980fi
9981
9982fi
9983if test -z "$ac_cv_prog_CC"; then
9984 ac_ct_CC=$CC
9985 # Extract the first word of "cc", so it can be a program name with args.
9986set dummy cc; ac_word=$2
9987echo "$as_me:$LINENO: checking for $ac_word" >&5
9988echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9989if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9990 echo $ECHO_N "(cached) $ECHO_C" >&6
9991else
9992 if test -n "$ac_ct_CC"; then
9993 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9994else
9995as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9996for as_dir in $PATH
9997do
9998 IFS=$as_save_IFS
9999 test -z "$as_dir" && as_dir=.
10000 for ac_exec_ext in '' $ac_executable_extensions; do
10001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10002 ac_cv_prog_ac_ct_CC="cc"
10003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10004 break 2
10005 fi
10006done
10007done
10008
10009fi
10010fi
10011ac_ct_CC=$ac_cv_prog_ac_ct_CC
10012if test -n "$ac_ct_CC"; then
10013 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10014echo "${ECHO_T}$ac_ct_CC" >&6
10015else
10016 echo "$as_me:$LINENO: result: no" >&5
10017echo "${ECHO_T}no" >&6
10018fi
10019
10020 CC=$ac_ct_CC
10021else
10022 CC="$ac_cv_prog_CC"
10023fi
10024
10025fi
10026if test -z "$CC"; then
10027 # Extract the first word of "cc", so it can be a program name with args.
10028set dummy cc; ac_word=$2
10029echo "$as_me:$LINENO: checking for $ac_word" >&5
10030echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10031if test "${ac_cv_prog_CC+set}" = set; then
10032 echo $ECHO_N "(cached) $ECHO_C" >&6
10033else
10034 if test -n "$CC"; then
10035 ac_cv_prog_CC="$CC" # Let the user override the test.
10036else
10037 ac_prog_rejected=no
10038as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10039for as_dir in $PATH
10040do
10041 IFS=$as_save_IFS
10042 test -z "$as_dir" && as_dir=.
10043 for ac_exec_ext in '' $ac_executable_extensions; do
10044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10045 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10046 ac_prog_rejected=yes
10047 continue
10048 fi
10049 ac_cv_prog_CC="cc"
10050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10051 break 2
10052 fi
10053done
10054done
10055
10056if test $ac_prog_rejected = yes; then
10057 # We found a bogon in the path, so make sure we never use it.
10058 set dummy $ac_cv_prog_CC
10059 shift
10060 if test $# != 0; then
10061 # We chose a different compiler from the bogus one.
10062 # However, it has the same basename, so the bogon will be chosen
10063 # first if we set CC to just the basename; use the full file name.
10064 shift
10065 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10066 fi
10067fi
10068fi
10069fi
10070CC=$ac_cv_prog_CC
10071if test -n "$CC"; then
10072 echo "$as_me:$LINENO: result: $CC" >&5
10073echo "${ECHO_T}$CC" >&6
10074else
10075 echo "$as_me:$LINENO: result: no" >&5
10076echo "${ECHO_T}no" >&6
10077fi
10078
10079fi
10080if test -z "$CC"; then
10081 if test -n "$ac_tool_prefix"; then
10082 for ac_prog in cl
10083 do
10084 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10085set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10086echo "$as_me:$LINENO: checking for $ac_word" >&5
10087echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10088if test "${ac_cv_prog_CC+set}" = set; then
10089 echo $ECHO_N "(cached) $ECHO_C" >&6
10090else
10091 if test -n "$CC"; then
10092 ac_cv_prog_CC="$CC" # Let the user override the test.
10093else
10094as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10095for as_dir in $PATH
10096do
10097 IFS=$as_save_IFS
10098 test -z "$as_dir" && as_dir=.
10099 for ac_exec_ext in '' $ac_executable_extensions; do
10100 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10101 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10103 break 2
10104 fi
10105done
10106done
10107
10108fi
10109fi
10110CC=$ac_cv_prog_CC
10111if test -n "$CC"; then
10112 echo "$as_me:$LINENO: result: $CC" >&5
10113echo "${ECHO_T}$CC" >&6
10114else
10115 echo "$as_me:$LINENO: result: no" >&5
10116echo "${ECHO_T}no" >&6
10117fi
10118
10119 test -n "$CC" && break
10120 done
10121fi
10122if test -z "$CC"; then
10123 ac_ct_CC=$CC
10124 for ac_prog in cl
10125do
10126 # Extract the first word of "$ac_prog", so it can be a program name with args.
10127set dummy $ac_prog; ac_word=$2
10128echo "$as_me:$LINENO: checking for $ac_word" >&5
10129echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10130if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10131 echo $ECHO_N "(cached) $ECHO_C" >&6
10132else
10133 if test -n "$ac_ct_CC"; then
10134 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10135else
10136as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10137for as_dir in $PATH
10138do
10139 IFS=$as_save_IFS
10140 test -z "$as_dir" && as_dir=.
10141 for ac_exec_ext in '' $ac_executable_extensions; do
10142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10143 ac_cv_prog_ac_ct_CC="$ac_prog"
10144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10145 break 2
10146 fi
10147done
10148done
10149
10150fi
10151fi
10152ac_ct_CC=$ac_cv_prog_ac_ct_CC
10153if test -n "$ac_ct_CC"; then
10154 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10155echo "${ECHO_T}$ac_ct_CC" >&6
10156else
10157 echo "$as_me:$LINENO: result: no" >&5
10158echo "${ECHO_T}no" >&6
10159fi
10160
10161 test -n "$ac_ct_CC" && break
10162done
10163
10164 CC=$ac_ct_CC
10165fi
10166
10167fi
10168
10169
10170test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10171See \`config.log' for more details." >&5
10172echo "$as_me: error: no acceptable C compiler found in \$PATH
10173See \`config.log' for more details." >&2;}
10174 { (exit 1); exit 1; }; }
10175
10176# Provide some information about the compiler.
10177echo "$as_me:$LINENO:" \
10178 "checking for C compiler version" >&5
10179ac_compiler=`set X $ac_compile; echo $2`
10180{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10181 (eval $ac_compiler --version </dev/null >&5) 2>&5
10182 ac_status=$?
10183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10184 (exit $ac_status); }
10185{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10186 (eval $ac_compiler -v </dev/null >&5) 2>&5
10187 ac_status=$?
10188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10189 (exit $ac_status); }
10190{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10191 (eval $ac_compiler -V </dev/null >&5) 2>&5
10192 ac_status=$?
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); }
10195
10196cat >conftest.$ac_ext <<_ACEOF
10197#line $LINENO "configure"
10198/* confdefs.h. */
10199_ACEOF
10200cat confdefs.h >>conftest.$ac_ext
10201cat >>conftest.$ac_ext <<_ACEOF
10202/* end confdefs.h. */
10203
10204int
10205main ()
10206{
10207
10208 ;
10209 return 0;
10210}
10211_ACEOF
10212ac_clean_files_save=$ac_clean_files
10213ac_clean_files="$ac_clean_files a.out a.exe b.out"
10214# Try to create an executable without -o first, disregard a.out.
10215# It will help us diagnose broken compilers, and finding out an intuition
10216# of exeext.
10217echo "$as_me:$LINENO: checking for C compiler default output" >&5
10218echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10219ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10220if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10221 (eval $ac_link_default) 2>&5
10222 ac_status=$?
10223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224 (exit $ac_status); }; then
10225 # Find the output, starting from the most likely. This scheme is
10226# not robust to junk in `.', hence go to wildcards (a.*) only as a last
10227# resort.
10228
10229# Be careful to initialize this variable, since it used to be cached.
10230# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10231ac_cv_exeext=
10232# b.out is created by i960 compilers.
10233for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10234do
10235 test -f "$ac_file" || continue
10236 case $ac_file in
10237 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10238 ;;
10239 conftest.$ac_ext )
10240 # This is the source file.
10241 ;;
10242 [ab].out )
10243 # We found the default executable, but exeext='' is most
10244 # certainly right.
10245 break;;
10246 *.* )
10247 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10248 # FIXME: I believe we export ac_cv_exeext for Libtool,
10249 # but it would be cool to find out if it's true. Does anybody
10250 # maintain Libtool? --akim.
10251 export ac_cv_exeext
10252 break;;
10253 * )
10254 break;;
10255 esac
10256done
10257else
10258 echo "$as_me: failed program was:" >&5
10259sed 's/^/| /' conftest.$ac_ext >&5
10260
10261{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
10262See \`config.log' for more details." >&5
10263echo "$as_me: error: C compiler cannot create executables
10264See \`config.log' for more details." >&2;}
10265 { (exit 77); exit 77; }; }
10266fi
10267
10268ac_exeext=$ac_cv_exeext
10269echo "$as_me:$LINENO: result: $ac_file" >&5
10270echo "${ECHO_T}$ac_file" >&6
10271
10272# Check the compiler produces executables we can run. If not, either
10273# the compiler is broken, or we cross compile.
10274echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10275echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10276# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10277# If not cross compiling, check that we can run a simple program.
10278if test "$cross_compiling" != yes; then
10279 if { ac_try='./$ac_file'
10280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10281 (eval $ac_try) 2>&5
10282 ac_status=$?
10283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10284 (exit $ac_status); }; }; then
10285 cross_compiling=no
10286 else
10287 if test "$cross_compiling" = maybe; then
10288 cross_compiling=yes
10289 else
10290 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10291If you meant to cross compile, use \`--host'.
10292See \`config.log' for more details." >&5
10293echo "$as_me: error: cannot run C compiled programs.
10294If you meant to cross compile, use \`--host'.
10295See \`config.log' for more details." >&2;}
10296 { (exit 1); exit 1; }; }
10297 fi
10298 fi
10299fi
10300echo "$as_me:$LINENO: result: yes" >&5
10301echo "${ECHO_T}yes" >&6
10302
10303rm -f a.out a.exe conftest$ac_cv_exeext b.out
10304ac_clean_files=$ac_clean_files_save
10305# Check the compiler produces executables we can run. If not, either
10306# the compiler is broken, or we cross compile.
10307echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10308echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10309echo "$as_me:$LINENO: result: $cross_compiling" >&5
10310echo "${ECHO_T}$cross_compiling" >&6
10311
10312echo "$as_me:$LINENO: checking for suffix of executables" >&5
10313echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10314if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10315 (eval $ac_link) 2>&5
10316 ac_status=$?
10317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10318 (exit $ac_status); }; then
10319 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10320# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10321# work properly (i.e., refer to `conftest.exe'), while it won't with
10322# `rm'.
10323for ac_file in conftest.exe conftest conftest.*; do
10324 test -f "$ac_file" || continue
10325 case $ac_file in
10326 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10327 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10328 export ac_cv_exeext
10329 break;;
10330 * ) break;;
10331 esac
10332done
10333else
10334 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10335See \`config.log' for more details." >&5
10336echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10337See \`config.log' for more details." >&2;}
10338 { (exit 1); exit 1; }; }
10339fi
10340
10341rm -f conftest$ac_cv_exeext
10342echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10343echo "${ECHO_T}$ac_cv_exeext" >&6
10344
10345rm -f conftest.$ac_ext
10346EXEEXT=$ac_cv_exeext
10347ac_exeext=$EXEEXT
10348echo "$as_me:$LINENO: checking for suffix of object files" >&5
10349echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10350if test "${ac_cv_objext+set}" = set; then
10351 echo $ECHO_N "(cached) $ECHO_C" >&6
10352else
10353 cat >conftest.$ac_ext <<_ACEOF
10354#line $LINENO "configure"
10355/* confdefs.h. */
10356_ACEOF
10357cat confdefs.h >>conftest.$ac_ext
10358cat >>conftest.$ac_ext <<_ACEOF
10359/* end confdefs.h. */
10360
10361int
10362main ()
10363{
10364
10365 ;
10366 return 0;
10367}
10368_ACEOF
10369rm -f conftest.o conftest.obj
10370if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10371 (eval $ac_compile) 2>&5
10372 ac_status=$?
10373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10374 (exit $ac_status); }; then
10375 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10376 case $ac_file in
10377 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10378 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10379 break;;
10380 esac
10381done
10382else
10383 echo "$as_me: failed program was:" >&5
10384sed 's/^/| /' conftest.$ac_ext >&5
10385
10386{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10387See \`config.log' for more details." >&5
10388echo "$as_me: error: cannot compute suffix of object files: cannot compile
10389See \`config.log' for more details." >&2;}
10390 { (exit 1); exit 1; }; }
10391fi
10392
10393rm -f conftest.$ac_cv_objext conftest.$ac_ext
10394fi
10395echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10396echo "${ECHO_T}$ac_cv_objext" >&6
10397OBJEXT=$ac_cv_objext
10398ac_objext=$OBJEXT
10399echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10400echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10401if test "${ac_cv_c_compiler_gnu+set}" = set; then
10402 echo $ECHO_N "(cached) $ECHO_C" >&6
10403else
10404 cat >conftest.$ac_ext <<_ACEOF
10405#line $LINENO "configure"
10406/* confdefs.h. */
10407_ACEOF
10408cat confdefs.h >>conftest.$ac_ext
10409cat >>conftest.$ac_ext <<_ACEOF
10410/* end confdefs.h. */
10411
10412int
10413main ()
10414{
10415#ifndef __GNUC__
10416 choke me
10417#endif
10418
10419 ;
10420 return 0;
10421}
10422_ACEOF
10423rm -f conftest.$ac_objext
10424if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10425 (eval $ac_compile) 2>&5
10426 ac_status=$?
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); } &&
10429 { ac_try='test -s conftest.$ac_objext'
10430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10431 (eval $ac_try) 2>&5
10432 ac_status=$?
10433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434 (exit $ac_status); }; }; then
10435 ac_compiler_gnu=yes
10436else
10437 echo "$as_me: failed program was:" >&5
10438sed 's/^/| /' conftest.$ac_ext >&5
10439
10440ac_compiler_gnu=no
10441fi
10442rm -f conftest.$ac_objext conftest.$ac_ext
10443ac_cv_c_compiler_gnu=$ac_compiler_gnu
10444
10445fi
10446echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10447echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10448GCC=`test $ac_compiler_gnu = yes && echo yes`
10449ac_test_CFLAGS=${CFLAGS+set}
10450ac_save_CFLAGS=$CFLAGS
10451CFLAGS="-g"
10452echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10453echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10454if test "${ac_cv_prog_cc_g+set}" = set; then
10455 echo $ECHO_N "(cached) $ECHO_C" >&6
10456else
10457 cat >conftest.$ac_ext <<_ACEOF
10458#line $LINENO "configure"
10459/* confdefs.h. */
10460_ACEOF
10461cat confdefs.h >>conftest.$ac_ext
10462cat >>conftest.$ac_ext <<_ACEOF
10463/* end confdefs.h. */
10464
10465int
10466main ()
10467{
10468
10469 ;
10470 return 0;
10471}
10472_ACEOF
10473rm -f conftest.$ac_objext
10474if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10475 (eval $ac_compile) 2>&5
10476 ac_status=$?
10477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10478 (exit $ac_status); } &&
10479 { ac_try='test -s conftest.$ac_objext'
10480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10481 (eval $ac_try) 2>&5
10482 ac_status=$?
10483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10484 (exit $ac_status); }; }; then
10485 ac_cv_prog_cc_g=yes
10486else
10487 echo "$as_me: failed program was:" >&5
10488sed 's/^/| /' conftest.$ac_ext >&5
10489
10490ac_cv_prog_cc_g=no
10491fi
10492rm -f conftest.$ac_objext conftest.$ac_ext
10493fi
10494echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10495echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10496if test "$ac_test_CFLAGS" = set; then
10497 CFLAGS=$ac_save_CFLAGS
10498elif test $ac_cv_prog_cc_g = yes; then
10499 if test "$GCC" = yes; then
10500 CFLAGS="-g -O2"
10501 else
10502 CFLAGS="-g"
10503 fi
10504else
10505 if test "$GCC" = yes; then
10506 CFLAGS="-O2"
10507 else
10508 CFLAGS=
10509 fi
10510fi
10511echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10512echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10513if test "${ac_cv_prog_cc_stdc+set}" = set; then
10514 echo $ECHO_N "(cached) $ECHO_C" >&6
10515else
10516 ac_cv_prog_cc_stdc=no
10517ac_save_CC=$CC
10518cat >conftest.$ac_ext <<_ACEOF
10519#line $LINENO "configure"
10520/* confdefs.h. */
10521_ACEOF
10522cat confdefs.h >>conftest.$ac_ext
10523cat >>conftest.$ac_ext <<_ACEOF
10524/* end confdefs.h. */
10525#include <stdarg.h>
10526#include <stdio.h>
10527#include <sys/types.h>
10528#include <sys/stat.h>
10529/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10530struct buf { int x; };
10531FILE * (*rcsopen) (struct buf *, struct stat *, int);
10532static char *e (p, i)
10533 char **p;
10534 int i;
10535{
10536 return p[i];
10537}
10538static char *f (char * (*g) (char **, int), char **p, ...)
10539{
10540 char *s;
10541 va_list v;
10542 va_start (v,p);
10543 s = g (p, va_arg (v,int));
10544 va_end (v);
10545 return s;
10546}
10547int test (int i, double x);
10548struct s1 {int (*f) (int a);};
10549struct s2 {int (*f) (double a);};
10550int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10551int argc;
10552char **argv;
10553int
10554main ()
10555{
10556return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10557 ;
10558 return 0;
10559}
10560_ACEOF
10561# Don't try gcc -ansi; that turns off useful extensions and
10562# breaks some systems' header files.
10563# AIX -qlanglvl=ansi
10564# Ultrix and OSF/1 -std1
10565# HP-UX 10.20 and later -Ae
10566# HP-UX older versions -Aa -D_HPUX_SOURCE
10567# SVR4 -Xc -D__EXTENSIONS__
10568for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10569do
10570 CC="$ac_save_CC $ac_arg"
10571 rm -f conftest.$ac_objext
10572if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10573 (eval $ac_compile) 2>&5
10574 ac_status=$?
10575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10576 (exit $ac_status); } &&
10577 { ac_try='test -s conftest.$ac_objext'
10578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10579 (eval $ac_try) 2>&5
10580 ac_status=$?
10581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10582 (exit $ac_status); }; }; then
10583 ac_cv_prog_cc_stdc=$ac_arg
10584break
10585else
10586 echo "$as_me: failed program was:" >&5
10587sed 's/^/| /' conftest.$ac_ext >&5
10588
10589fi
10590rm -f conftest.$ac_objext
10591done
10592rm -f conftest.$ac_ext conftest.$ac_objext
10593CC=$ac_save_CC
10594
10595fi
10596
10597case "x$ac_cv_prog_cc_stdc" in
10598 x|xno)
10599 echo "$as_me:$LINENO: result: none needed" >&5
10600echo "${ECHO_T}none needed" >&6 ;;
10601 *)
10602 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10603echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10604 CC="$CC $ac_cv_prog_cc_stdc" ;;
10605esac
10606
10607# Some people use a C++ compiler to compile C. Since we use `exit',
10608# in C++ we need to declare it. In case someone uses the same compiler
10609# for both compiling C and C++ we need to have the C++ compiler decide
10610# the declaration of exit, since it's the most demanding environment.
10611cat >conftest.$ac_ext <<_ACEOF
10612#ifndef __cplusplus
10613 choke me
10614#endif
10615_ACEOF
10616rm -f conftest.$ac_objext
10617if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10618 (eval $ac_compile) 2>&5
10619 ac_status=$?
10620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10621 (exit $ac_status); } &&
10622 { ac_try='test -s conftest.$ac_objext'
10623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10624 (eval $ac_try) 2>&5
10625 ac_status=$?
10626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10627 (exit $ac_status); }; }; then
10628 for ac_declaration in \
10629 ''\
10630 '#include <stdlib.h>' \
10631 'extern "C" void std::exit (int) throw (); using std::exit;' \
10632 'extern "C" void std::exit (int); using std::exit;' \
10633 'extern "C" void exit (int) throw ();' \
10634 'extern "C" void exit (int);' \
10635 'void exit (int);'
10636do
10637 cat >conftest.$ac_ext <<_ACEOF
10638#line $LINENO "configure"
10639/* confdefs.h. */
10640_ACEOF
10641cat confdefs.h >>conftest.$ac_ext
10642cat >>conftest.$ac_ext <<_ACEOF
10643/* end confdefs.h. */
10644#include <stdlib.h>
10645$ac_declaration
10646int
10647main ()
10648{
10649exit (42);
10650 ;
10651 return 0;
10652}
10653_ACEOF
10654rm -f conftest.$ac_objext
10655if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10656 (eval $ac_compile) 2>&5
10657 ac_status=$?
10658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10659 (exit $ac_status); } &&
10660 { ac_try='test -s conftest.$ac_objext'
10661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10662 (eval $ac_try) 2>&5
10663 ac_status=$?
10664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665 (exit $ac_status); }; }; then
10666 :
10667else
10668 echo "$as_me: failed program was:" >&5
10669sed 's/^/| /' conftest.$ac_ext >&5
10670
10671continue
10672fi
10673rm -f conftest.$ac_objext conftest.$ac_ext
10674 cat >conftest.$ac_ext <<_ACEOF
10675#line $LINENO "configure"
10676/* confdefs.h. */
10677_ACEOF
10678cat confdefs.h >>conftest.$ac_ext
10679cat >>conftest.$ac_ext <<_ACEOF
10680/* end confdefs.h. */
10681$ac_declaration
10682int
10683main ()
10684{
10685exit (42);
10686 ;
10687 return 0;
10688}
10689_ACEOF
10690rm -f conftest.$ac_objext
10691if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10692 (eval $ac_compile) 2>&5
10693 ac_status=$?
10694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10695 (exit $ac_status); } &&
10696 { ac_try='test -s conftest.$ac_objext'
10697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10698 (eval $ac_try) 2>&5
10699 ac_status=$?
10700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10701 (exit $ac_status); }; }; then
10702 break
10703else
10704 echo "$as_me: failed program was:" >&5
10705sed 's/^/| /' conftest.$ac_ext >&5
10706
10707fi
10708rm -f conftest.$ac_objext conftest.$ac_ext
10709done
10710rm -f conftest*
10711if test -n "$ac_declaration"; then
10712 echo '#ifdef __cplusplus' >>confdefs.h
10713 echo $ac_declaration >>confdefs.h
10714 echo '#endif' >>confdefs.h
10715fi
10716
10717else
10718 echo "$as_me: failed program was:" >&5
10719sed 's/^/| /' conftest.$ac_ext >&5
10720
10721fi
10722rm -f conftest.$ac_objext conftest.$ac_ext
10723ac_ext=c
10724ac_cpp='$CPP $CPPFLAGS'
10725ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10726ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10727ac_compiler_gnu=$ac_cv_c_compiler_gnu
10728
10729
10730
10731ac_ext=c
10732ac_cpp='$CPP $CPPFLAGS'
10733ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10734ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10735ac_compiler_gnu=$ac_cv_c_compiler_gnu
10736echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10737echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10738# On Suns, sometimes $CPP names a directory.
10739if test -n "$CPP" && test -d "$CPP"; then
10740 CPP=
10741fi
10742if test -z "$CPP"; then
10743 if test "${ac_cv_prog_CPP+set}" = set; then
10744 echo $ECHO_N "(cached) $ECHO_C" >&6
10745else
10746 # Double quotes because CPP needs to be expanded
10747 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10748 do
10749 ac_preproc_ok=false
10750for ac_c_preproc_warn_flag in '' yes
10751do
10752 # Use a header file that comes with gcc, so configuring glibc
10753 # with a fresh cross-compiler works.
10754 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10755 # <limits.h> exists even on freestanding compilers.
10756 # On the NeXT, cc -E runs the code through the compiler's parser,
10757 # not just through cpp. "Syntax error" is here to catch this case.
10758 cat >conftest.$ac_ext <<_ACEOF
10759#line $LINENO "configure"
10760/* confdefs.h. */
10761_ACEOF
10762cat confdefs.h >>conftest.$ac_ext
10763cat >>conftest.$ac_ext <<_ACEOF
10764/* end confdefs.h. */
10765#ifdef __STDC__
10766# include <limits.h>
10767#else
10768# include <assert.h>
10769#endif
10770 Syntax error
10771_ACEOF
10772if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10773 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10774 ac_status=$?
10775 grep -v '^ *+' conftest.er1 >conftest.err
10776 rm -f conftest.er1
10777 cat conftest.err >&5
10778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10779 (exit $ac_status); } >/dev/null; then
10780 if test -s conftest.err; then
10781 ac_cpp_err=$ac_c_preproc_warn_flag
10782 else
10783 ac_cpp_err=
10784 fi
10785else
10786 ac_cpp_err=yes
10787fi
10788if test -z "$ac_cpp_err"; then
10789 :
10790else
10791 echo "$as_me: failed program was:" >&5
10792sed 's/^/| /' conftest.$ac_ext >&5
10793
10794 # Broken: fails on valid input.
10795continue
10796fi
10797rm -f conftest.err conftest.$ac_ext
10798
10799 # OK, works on sane cases. Now check whether non-existent headers
10800 # can be detected and how.
10801 cat >conftest.$ac_ext <<_ACEOF
10802#line $LINENO "configure"
10803/* confdefs.h. */
10804_ACEOF
10805cat confdefs.h >>conftest.$ac_ext
10806cat >>conftest.$ac_ext <<_ACEOF
10807/* end confdefs.h. */
10808#include <ac_nonexistent.h>
10809_ACEOF
10810if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10811 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10812 ac_status=$?
10813 grep -v '^ *+' conftest.er1 >conftest.err
10814 rm -f conftest.er1
10815 cat conftest.err >&5
10816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10817 (exit $ac_status); } >/dev/null; then
10818 if test -s conftest.err; then
10819 ac_cpp_err=$ac_c_preproc_warn_flag
10820 else
10821 ac_cpp_err=
10822 fi
10823else
10824 ac_cpp_err=yes
10825fi
10826if test -z "$ac_cpp_err"; then
10827 # Broken: success on invalid input.
10828continue
10829else
10830 echo "$as_me: failed program was:" >&5
10831sed 's/^/| /' conftest.$ac_ext >&5
10832
10833 # Passes both tests.
10834ac_preproc_ok=:
10835break
10836fi
10837rm -f conftest.err conftest.$ac_ext
10838
10839done
10840# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10841rm -f conftest.err conftest.$ac_ext
10842if $ac_preproc_ok; then
10843 break
10844fi
10845
10846 done
10847 ac_cv_prog_CPP=$CPP
10848
10849fi
10850 CPP=$ac_cv_prog_CPP
10851else
10852 ac_cv_prog_CPP=$CPP
10853fi
10854echo "$as_me:$LINENO: result: $CPP" >&5
10855echo "${ECHO_T}$CPP" >&6
10856ac_preproc_ok=false
10857for ac_c_preproc_warn_flag in '' yes
10858do
10859 # Use a header file that comes with gcc, so configuring glibc
10860 # with a fresh cross-compiler works.
10861 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10862 # <limits.h> exists even on freestanding compilers.
10863 # On the NeXT, cc -E runs the code through the compiler's parser,
10864 # not just through cpp. "Syntax error" is here to catch this case.
10865 cat >conftest.$ac_ext <<_ACEOF
10866#line $LINENO "configure"
10867/* confdefs.h. */
10868_ACEOF
10869cat confdefs.h >>conftest.$ac_ext
10870cat >>conftest.$ac_ext <<_ACEOF
10871/* end confdefs.h. */
10872#ifdef __STDC__
10873# include <limits.h>
10874#else
10875# include <assert.h>
10876#endif
10877 Syntax error
10878_ACEOF
10879if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10880 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10881 ac_status=$?
10882 grep -v '^ *+' conftest.er1 >conftest.err
10883 rm -f conftest.er1
10884 cat conftest.err >&5
10885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10886 (exit $ac_status); } >/dev/null; then
10887 if test -s conftest.err; then
10888 ac_cpp_err=$ac_c_preproc_warn_flag
10889 else
10890 ac_cpp_err=
10891 fi
10892else
10893 ac_cpp_err=yes
10894fi
10895if test -z "$ac_cpp_err"; then
10896 :
10897else
10898 echo "$as_me: failed program was:" >&5
10899sed 's/^/| /' conftest.$ac_ext >&5
10900
10901 # Broken: fails on valid input.
10902continue
10903fi
10904rm -f conftest.err conftest.$ac_ext
10905
10906 # OK, works on sane cases. Now check whether non-existent headers
10907 # can be detected and how.
10908 cat >conftest.$ac_ext <<_ACEOF
10909#line $LINENO "configure"
10910/* confdefs.h. */
10911_ACEOF
10912cat confdefs.h >>conftest.$ac_ext
10913cat >>conftest.$ac_ext <<_ACEOF
10914/* end confdefs.h. */
10915#include <ac_nonexistent.h>
10916_ACEOF
10917if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10918 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10919 ac_status=$?
10920 grep -v '^ *+' conftest.er1 >conftest.err
10921 rm -f conftest.er1
10922 cat conftest.err >&5
10923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10924 (exit $ac_status); } >/dev/null; then
10925 if test -s conftest.err; then
10926 ac_cpp_err=$ac_c_preproc_warn_flag
10927 else
10928 ac_cpp_err=
10929 fi
10930else
10931 ac_cpp_err=yes
10932fi
10933if test -z "$ac_cpp_err"; then
10934 # Broken: success on invalid input.
10935continue
10936else
10937 echo "$as_me: failed program was:" >&5
10938sed 's/^/| /' conftest.$ac_ext >&5
10939
10940 # Passes both tests.
10941ac_preproc_ok=:
10942break
10943fi
10944rm -f conftest.err conftest.$ac_ext
10945
10946done
10947# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10948rm -f conftest.err conftest.$ac_ext
10949if $ac_preproc_ok; then
10950 :
10951else
10952 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10953See \`config.log' for more details." >&5
10954echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10955See \`config.log' for more details." >&2;}
10956 { (exit 1); exit 1; }; }
10957fi
10958
10959ac_ext=c
10960ac_cpp='$CPP $CPPFLAGS'
10961ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10962ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10963ac_compiler_gnu=$ac_cv_c_compiler_gnu
10964
10965
10966echo "$as_me:$LINENO: checking for egrep" >&5
10967echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10968if test "${ac_cv_prog_egrep+set}" = set; then
10969 echo $ECHO_N "(cached) $ECHO_C" >&6
10970else
10971 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10972 then ac_cv_prog_egrep='grep -E'
10973 else ac_cv_prog_egrep='egrep'
10974 fi
10975fi
10976echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10977echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10978 EGREP=$ac_cv_prog_egrep
10979
10980
10981if test $ac_cv_c_compiler_gnu = yes; then
10982 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10983echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10984if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10985 echo $ECHO_N "(cached) $ECHO_C" >&6
10986else
10987 ac_pattern="Autoconf.*'x'"
10988 cat >conftest.$ac_ext <<_ACEOF
10989#line $LINENO "configure"
10990/* confdefs.h. */
10991_ACEOF
10992cat confdefs.h >>conftest.$ac_ext
10993cat >>conftest.$ac_ext <<_ACEOF
10994/* end confdefs.h. */
10995#include <sgtty.h>
10996Autoconf TIOCGETP
10997_ACEOF
10998if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10999 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11000 ac_cv_prog_gcc_traditional=yes
11001else
11002 ac_cv_prog_gcc_traditional=no
11003fi
11004rm -f conftest*
11005
11006
11007 if test $ac_cv_prog_gcc_traditional = no; then
11008 cat >conftest.$ac_ext <<_ACEOF
11009#line $LINENO "configure"
11010/* confdefs.h. */
11011_ACEOF
11012cat confdefs.h >>conftest.$ac_ext
11013cat >>conftest.$ac_ext <<_ACEOF
11014/* end confdefs.h. */
11015#include <termio.h>
11016Autoconf TCGETA
11017_ACEOF
11018if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11019 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11020 ac_cv_prog_gcc_traditional=yes
11021fi
11022rm -f conftest*
11023
11024 fi
11025fi
11026echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11027echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11028 if test $ac_cv_prog_gcc_traditional = yes; then
11029 CC="$CC -traditional"
11030 fi
11031fi
11032
11033
11034
11035
11036ac_ext=cc
11037ac_cpp='$CXXCPP $CPPFLAGS'
11038ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11039ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11040ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11041
11042
11043CXXFLAGS=${CXXFLAGS:=}
11044ac_ext=cc
11045ac_cpp='$CXXCPP $CPPFLAGS'
11046ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11047ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11048ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11049if test -n "$ac_tool_prefix"; then
11050 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11051 do
11052 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11053set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11054echo "$as_me:$LINENO: checking for $ac_word" >&5
11055echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11056if test "${ac_cv_prog_CXX+set}" = set; then
11057 echo $ECHO_N "(cached) $ECHO_C" >&6
11058else
11059 if test -n "$CXX"; then
11060 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11061else
11062as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11063for as_dir in $PATH
11064do
11065 IFS=$as_save_IFS
11066 test -z "$as_dir" && as_dir=.
11067 for ac_exec_ext in '' $ac_executable_extensions; do
11068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11069 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11071 break 2
11072 fi
11073done
11074done
11075
11076fi
11077fi
11078CXX=$ac_cv_prog_CXX
11079if test -n "$CXX"; then
11080 echo "$as_me:$LINENO: result: $CXX" >&5
11081echo "${ECHO_T}$CXX" >&6
11082else
11083 echo "$as_me:$LINENO: result: no" >&5
11084echo "${ECHO_T}no" >&6
11085fi
11086
11087 test -n "$CXX" && break
11088 done
11089fi
11090if test -z "$CXX"; then
11091 ac_ct_CXX=$CXX
11092 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11093do
11094 # Extract the first word of "$ac_prog", so it can be a program name with args.
11095set dummy $ac_prog; ac_word=$2
11096echo "$as_me:$LINENO: checking for $ac_word" >&5
11097echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11098if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11099 echo $ECHO_N "(cached) $ECHO_C" >&6
11100else
11101 if test -n "$ac_ct_CXX"; then
11102 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11103else
11104as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11105for as_dir in $PATH
11106do
11107 IFS=$as_save_IFS
11108 test -z "$as_dir" && as_dir=.
11109 for ac_exec_ext in '' $ac_executable_extensions; do
11110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11111 ac_cv_prog_ac_ct_CXX="$ac_prog"
11112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11113 break 2
11114 fi
11115done
11116done
11117
11118fi
11119fi
11120ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11121if test -n "$ac_ct_CXX"; then
11122 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11123echo "${ECHO_T}$ac_ct_CXX" >&6
11124else
11125 echo "$as_me:$LINENO: result: no" >&5
11126echo "${ECHO_T}no" >&6
11127fi
11128
11129 test -n "$ac_ct_CXX" && break
11130done
11131test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11132
11133 CXX=$ac_ct_CXX
11134fi
11135
11136
11137# Provide some information about the compiler.
11138echo "$as_me:$LINENO:" \
11139 "checking for C++ compiler version" >&5
11140ac_compiler=`set X $ac_compile; echo $2`
11141{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11142 (eval $ac_compiler --version </dev/null >&5) 2>&5
11143 ac_status=$?
11144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11145 (exit $ac_status); }
11146{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11147 (eval $ac_compiler -v </dev/null >&5) 2>&5
11148 ac_status=$?
11149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11150 (exit $ac_status); }
11151{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11152 (eval $ac_compiler -V </dev/null >&5) 2>&5
11153 ac_status=$?
11154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11155 (exit $ac_status); }
11156
11157echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11158echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11159if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11160 echo $ECHO_N "(cached) $ECHO_C" >&6
11161else
11162 cat >conftest.$ac_ext <<_ACEOF
11163#line $LINENO "configure"
11164/* confdefs.h. */
11165_ACEOF
11166cat confdefs.h >>conftest.$ac_ext
11167cat >>conftest.$ac_ext <<_ACEOF
11168/* end confdefs.h. */
11169
11170int
11171main ()
11172{
11173#ifndef __GNUC__
11174 choke me
11175#endif
11176
11177 ;
11178 return 0;
11179}
11180_ACEOF
11181rm -f conftest.$ac_objext
11182if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11183 (eval $ac_compile) 2>&5
11184 ac_status=$?
11185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186 (exit $ac_status); } &&
11187 { ac_try='test -s conftest.$ac_objext'
11188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11189 (eval $ac_try) 2>&5
11190 ac_status=$?
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); }; }; then
11193 ac_compiler_gnu=yes
11194else
11195 echo "$as_me: failed program was:" >&5
11196sed 's/^/| /' conftest.$ac_ext >&5
11197
11198ac_compiler_gnu=no
11199fi
11200rm -f conftest.$ac_objext conftest.$ac_ext
11201ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11202
11203fi
11204echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11205echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11206GXX=`test $ac_compiler_gnu = yes && echo yes`
11207ac_test_CXXFLAGS=${CXXFLAGS+set}
11208ac_save_CXXFLAGS=$CXXFLAGS
11209CXXFLAGS="-g"
11210echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11211echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11212if test "${ac_cv_prog_cxx_g+set}" = set; then
11213 echo $ECHO_N "(cached) $ECHO_C" >&6
11214else
11215 cat >conftest.$ac_ext <<_ACEOF
11216#line $LINENO "configure"
11217/* confdefs.h. */
11218_ACEOF
11219cat confdefs.h >>conftest.$ac_ext
11220cat >>conftest.$ac_ext <<_ACEOF
11221/* end confdefs.h. */
11222
11223int
11224main ()
11225{
11226
11227 ;
11228 return 0;
11229}
11230_ACEOF
11231rm -f conftest.$ac_objext
11232if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11233 (eval $ac_compile) 2>&5
11234 ac_status=$?
11235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11236 (exit $ac_status); } &&
11237 { ac_try='test -s conftest.$ac_objext'
11238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11239 (eval $ac_try) 2>&5
11240 ac_status=$?
11241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242 (exit $ac_status); }; }; then
11243 ac_cv_prog_cxx_g=yes
11244else
11245 echo "$as_me: failed program was:" >&5
11246sed 's/^/| /' conftest.$ac_ext >&5
11247
11248ac_cv_prog_cxx_g=no
11249fi
11250rm -f conftest.$ac_objext conftest.$ac_ext
11251fi
11252echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11253echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11254if test "$ac_test_CXXFLAGS" = set; then
11255 CXXFLAGS=$ac_save_CXXFLAGS
11256elif test $ac_cv_prog_cxx_g = yes; then
11257 if test "$GXX" = yes; then
11258 CXXFLAGS="-g -O2"
11259 else
11260 CXXFLAGS="-g"
11261 fi
11262else
11263 if test "$GXX" = yes; then
11264 CXXFLAGS="-O2"
11265 else
11266 CXXFLAGS=
11267 fi
11268fi
11269for ac_declaration in \
11270 ''\
11271 '#include <stdlib.h>' \
11272 'extern "C" void std::exit (int) throw (); using std::exit;' \
11273 'extern "C" void std::exit (int); using std::exit;' \
11274 'extern "C" void exit (int) throw ();' \
11275 'extern "C" void exit (int);' \
11276 'void exit (int);'
11277do
11278 cat >conftest.$ac_ext <<_ACEOF
11279#line $LINENO "configure"
11280/* confdefs.h. */
11281_ACEOF
11282cat confdefs.h >>conftest.$ac_ext
11283cat >>conftest.$ac_ext <<_ACEOF
11284/* end confdefs.h. */
11285#include <stdlib.h>
11286$ac_declaration
11287int
11288main ()
11289{
11290exit (42);
11291 ;
11292 return 0;
11293}
11294_ACEOF
11295rm -f conftest.$ac_objext
11296if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11297 (eval $ac_compile) 2>&5
11298 ac_status=$?
11299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11300 (exit $ac_status); } &&
11301 { ac_try='test -s conftest.$ac_objext'
11302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11303 (eval $ac_try) 2>&5
11304 ac_status=$?
11305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11306 (exit $ac_status); }; }; then
11307 :
11308else
11309 echo "$as_me: failed program was:" >&5
11310sed 's/^/| /' conftest.$ac_ext >&5
11311
11312continue
11313fi
11314rm -f conftest.$ac_objext conftest.$ac_ext
11315 cat >conftest.$ac_ext <<_ACEOF
11316#line $LINENO "configure"
11317/* confdefs.h. */
11318_ACEOF
11319cat confdefs.h >>conftest.$ac_ext
11320cat >>conftest.$ac_ext <<_ACEOF
11321/* end confdefs.h. */
11322$ac_declaration
11323int
11324main ()
11325{
11326exit (42);
11327 ;
11328 return 0;
11329}
11330_ACEOF
11331rm -f conftest.$ac_objext
11332if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11333 (eval $ac_compile) 2>&5
11334 ac_status=$?
11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 (exit $ac_status); } &&
11337 { ac_try='test -s conftest.$ac_objext'
11338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11339 (eval $ac_try) 2>&5
11340 ac_status=$?
11341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11342 (exit $ac_status); }; }; then
11343 break
11344else
11345 echo "$as_me: failed program was:" >&5
11346sed 's/^/| /' conftest.$ac_ext >&5
11347
11348fi
11349rm -f conftest.$ac_objext conftest.$ac_ext
11350done
11351rm -f conftest*
11352if test -n "$ac_declaration"; then
11353 echo '#ifdef __cplusplus' >>confdefs.h
11354 echo $ac_declaration >>confdefs.h
11355 echo '#endif' >>confdefs.h
11356fi
11357
11358ac_ext=cc
11359ac_cpp='$CXXCPP $CPPFLAGS'
11360ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11361ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11362ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11363
11364
11365ac_ext=c
11366ac_cpp='$CPP $CPPFLAGS'
11367ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11368ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11369ac_compiler_gnu=$ac_cv_c_compiler_gnu
11370
11371
11372if test -n "$ac_tool_prefix"; then
11373 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11374set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11375echo "$as_me:$LINENO: checking for $ac_word" >&5
11376echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11377if test "${ac_cv_prog_RANLIB+set}" = set; then
11378 echo $ECHO_N "(cached) $ECHO_C" >&6
11379else
11380 if test -n "$RANLIB"; then
11381 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11382else
11383as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11384for as_dir in $PATH
11385do
11386 IFS=$as_save_IFS
11387 test -z "$as_dir" && as_dir=.
11388 for ac_exec_ext in '' $ac_executable_extensions; do
11389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11390 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11392 break 2
11393 fi
11394done
11395done
11396
11397fi
11398fi
11399RANLIB=$ac_cv_prog_RANLIB
11400if test -n "$RANLIB"; then
11401 echo "$as_me:$LINENO: result: $RANLIB" >&5
11402echo "${ECHO_T}$RANLIB" >&6
11403else
11404 echo "$as_me:$LINENO: result: no" >&5
11405echo "${ECHO_T}no" >&6
11406fi
11407
11408fi
11409if test -z "$ac_cv_prog_RANLIB"; then
11410 ac_ct_RANLIB=$RANLIB
11411 # Extract the first word of "ranlib", so it can be a program name with args.
11412set dummy ranlib; ac_word=$2
11413echo "$as_me:$LINENO: checking for $ac_word" >&5
11414echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11415if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11416 echo $ECHO_N "(cached) $ECHO_C" >&6
11417else
11418 if test -n "$ac_ct_RANLIB"; then
11419 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11420else
11421as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11422for as_dir in $PATH
11423do
11424 IFS=$as_save_IFS
11425 test -z "$as_dir" && as_dir=.
11426 for ac_exec_ext in '' $ac_executable_extensions; do
11427 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11428 ac_cv_prog_ac_ct_RANLIB="ranlib"
11429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11430 break 2
11431 fi
11432done
11433done
11434
11435 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11436fi
11437fi
11438ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11439if test -n "$ac_ct_RANLIB"; then
11440 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11441echo "${ECHO_T}$ac_ct_RANLIB" >&6
11442else
11443 echo "$as_me:$LINENO: result: no" >&5
11444echo "${ECHO_T}no" >&6
11445fi
11446
11447 RANLIB=$ac_ct_RANLIB
11448else
11449 RANLIB="$ac_cv_prog_RANLIB"
11450fi
11451
11452
11453# Extract the first word of "ar", so it can be a program name with args.
11454set dummy ar; ac_word=$2
11455echo "$as_me:$LINENO: checking for $ac_word" >&5
11456echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11457if test "${ac_cv_prog_AR+set}" = set; then
11458 echo $ECHO_N "(cached) $ECHO_C" >&6
11459else
11460 if test -n "$AR"; then
11461 ac_cv_prog_AR="$AR" # Let the user override the test.
11462else
11463as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11464for as_dir in $PATH
11465do
11466 IFS=$as_save_IFS
11467 test -z "$as_dir" && as_dir=.
11468 for ac_exec_ext in '' $ac_executable_extensions; do
11469 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11470 ac_cv_prog_AR="ar"
11471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11472 break 2
11473 fi
11474done
11475done
11476
11477fi
11478fi
11479AR=$ac_cv_prog_AR
11480if test -n "$AR"; then
11481 echo "$as_me:$LINENO: result: $AR" >&5
11482echo "${ECHO_T}$AR" >&6
11483else
11484 echo "$as_me:$LINENO: result: no" >&5
11485echo "${ECHO_T}no" >&6
11486fi
11487
11488if test "x$AR" = "x" ; then
11489 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11490echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11491 { (exit 1); exit 1; }; }
11492fi
11493
11494# Find a good install program. We prefer a C program (faster),
11495# so one script is as good as another. But avoid the broken or
11496# incompatible versions:
11497# SysV /etc/install, /usr/sbin/install
11498# SunOS /usr/etc/install
11499# IRIX /sbin/install
11500# AIX /bin/install
11501# AmigaOS /C/install, which installs bootblocks on floppy discs
11502# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11503# AFS /usr/afsws/bin/install, which mishandles nonexistent args
11504# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11505# ./install, which can be erroneously created by make from ./install.sh.
11506echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11507echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11508if test -z "$INSTALL"; then
11509if test "${ac_cv_path_install+set}" = set; then
11510 echo $ECHO_N "(cached) $ECHO_C" >&6
11511else
11512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11513for as_dir in $PATH
11514do
11515 IFS=$as_save_IFS
11516 test -z "$as_dir" && as_dir=.
11517 # Account for people who put trailing slashes in PATH elements.
11518case $as_dir/ in
11519 ./ | .// | /cC/* | \
11520 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11521 /usr/ucb/* ) ;;
11522 *)
11523 # OSF1 and SCO ODT 3.0 have their own names for install.
11524 # Don't use installbsd from OSF since it installs stuff as root
11525 # by default.
11526 for ac_prog in ginstall scoinst install; do
11527 for ac_exec_ext in '' $ac_executable_extensions; do
11528 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11529 if test $ac_prog = install &&
11530 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11531 # AIX install. It has an incompatible calling convention.
11532 :
11533 elif test $ac_prog = install &&
11534 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11535 # program-specific install script used by HP pwplus--don't use.
11536 :
11537 else
11538 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11539 break 3
11540 fi
11541 fi
11542 done
11543 done
11544 ;;
11545esac
11546done
11547
11548
11549fi
11550 if test "${ac_cv_path_install+set}" = set; then
11551 INSTALL=$ac_cv_path_install
11552 else
11553 # As a last resort, use the slow shell script. We don't cache a
11554 # path for INSTALL within a source directory, because that will
11555 # break other packages using the cache if that directory is
11556 # removed, or if the path is relative.
11557 INSTALL=$ac_install_sh
11558 fi
11559fi
11560echo "$as_me:$LINENO: result: $INSTALL" >&5
11561echo "${ECHO_T}$INSTALL" >&6
11562
11563# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11564# It thinks the first close brace ends the variable substitution.
11565test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11566
11567test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11568
11569test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11570
11571
11572case ${INSTALL} in
11573 /* ) # Absolute
11574 ;;
11575 ?:* ) # Drive letter, considered as absolute.
11576 ;;
11577 *)
11578 INSTALL=`pwd`/${INSTALL} ;;
11579esac
11580
11581case ${host} in
11582 *-hp-hpux* )
11583 INSTALL_DIR="mkdir"
11584 ;;
11585
11586 *) INSTALL_DIR="$INSTALL -d"
11587 ;;
11588esac
11589
11590
11591case "${host}" in
11592
11593 powerpc-*-darwin* )
11594 INSTALL_PROGRAM="cp -fp"
11595 INSTALL_DATA="cp -fp"
11596 ;;
11597 *)
11598 ;;
11599esac
11600
11601# Extract the first word of "strip", so it can be a program name with args.
11602set dummy strip; ac_word=$2
11603echo "$as_me:$LINENO: checking for $ac_word" >&5
11604echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11605if test "${ac_cv_prog_STRIP+set}" = set; then
11606 echo $ECHO_N "(cached) $ECHO_C" >&6
11607else
11608 if test -n "$STRIP"; then
11609 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11610else
11611as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11612for as_dir in $PATH
11613do
11614 IFS=$as_save_IFS
11615 test -z "$as_dir" && as_dir=.
11616 for ac_exec_ext in '' $ac_executable_extensions; do
11617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11618 ac_cv_prog_STRIP="strip"
11619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11620 break 2
11621 fi
11622done
11623done
11624
11625 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11626fi
11627fi
11628STRIP=$ac_cv_prog_STRIP
11629if test -n "$STRIP"; then
11630 echo "$as_me:$LINENO: result: $STRIP" >&5
11631echo "${ECHO_T}$STRIP" >&6
11632else
11633 echo "$as_me:$LINENO: result: no" >&5
11634echo "${ECHO_T}no" >&6
11635fi
11636
11637
11638echo "$as_me:$LINENO: checking if make is GNU make" >&5
11639echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11640if test "${wx_cv_prog_makeisgnu+set}" = set; then
11641 echo $ECHO_N "(cached) $ECHO_C" >&6
11642else
11643
11644 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11645 egrep -s GNU > /dev/null); then
11646 wx_cv_prog_makeisgnu="yes"
11647 else
11648 wx_cv_prog_makeisgnu="no"
11649 fi
11650
11651fi
11652echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11653echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11654
11655if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11656 IF_GNU_MAKE=""
11657else
11658 IF_GNU_MAKE="#"
11659fi
11660
11661
11662
11663if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11664echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11665echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11666if test "${wx_cv_prog_makevpath+set}" = set; then
11667 echo $ECHO_N "(cached) $ECHO_C" >&6
11668else
11669
11670cat - << EOF > confMake
11671check : file
11672 cp \$? \$@
11673 cp \$? final_file
11674EOF
11675
11676if test ! -d sub ; then
11677 mkdir sub
11678fi
11679echo dummy > sub/file
11680${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11681RESULT=$?
11682rm -f sub/file check final_file confMake
11683rmdir sub
11684if test "$RESULT" = 0; then
11685 wx_cv_prog_makevpath="yes"
11686else
11687 wx_cv_prog_makevpath="no"
11688fi
11689
11690fi
11691echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11692echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11693
11694if test "x$wx_cv_prog_makevpath" != "xyes"; then
11695{ { echo "$as_me:$LINENO: error:
11696You need a make-utility that is able to use the variable
11697VPATH correctly.
11698If your version of make does not support VPATH correctly,
11699please install GNU-make (possibly as gmake), and start
11700configure with the following command:
11701export MAKE=gmake; ./configure for sh-type shells
11702setenv MAKE gmake; ./configure for csh-type shells
11703Also please do remember to use gmake in this case every time
11704you are trying to compile.
11705" >&5
11706echo "$as_me: error:
11707You need a make-utility that is able to use the variable
11708VPATH correctly.
11709If your version of make does not support VPATH correctly,
11710please install GNU-make (possibly as gmake), and start
11711configure with the following command:
11712export MAKE=gmake; ./configure for sh-type shells
11713setenv MAKE gmake; ./configure for csh-type shells
11714Also please do remember to use gmake in this case every time
11715you are trying to compile.
11716" >&2;}
11717 { (exit 1); exit 1; }; }
11718fi fi
11719echo "$as_me:$LINENO: checking whether ln -s works" >&5
11720echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11721LN_S=$as_ln_s
11722if test "$LN_S" = "ln -s"; then
11723 echo "$as_me:$LINENO: result: yes" >&5
11724echo "${ECHO_T}yes" >&6
11725else
11726 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11727echo "${ECHO_T}no, using $LN_S" >&6
11728fi
11729
11730
11731case "${host}" in
11732 *-pc-os2_emx | *-pc-os2-emx )
11733 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11734 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11735echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11736if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11737 echo $ECHO_N "(cached) $ECHO_C" >&6
11738else
11739 ac_check_lib_save_LIBS=$LIBS
11740LIBS="-lcExt $LIBS"
11741cat >conftest.$ac_ext <<_ACEOF
11742#line $LINENO "configure"
11743/* confdefs.h. */
11744_ACEOF
11745cat confdefs.h >>conftest.$ac_ext
11746cat >>conftest.$ac_ext <<_ACEOF
11747/* end confdefs.h. */
11748
11749/* Override any gcc2 internal prototype to avoid an error. */
11750#ifdef __cplusplus
11751extern "C"
11752#endif
11753/* We use char because int might match the return type of a gcc2
11754 builtin and then its argument prototype would still apply. */
11755char drand48 ();
11756int
11757main ()
11758{
11759drand48 ();
11760 ;
11761 return 0;
11762}
11763_ACEOF
11764rm -f conftest.$ac_objext conftest$ac_exeext
11765if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11766 (eval $ac_link) 2>&5
11767 ac_status=$?
11768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769 (exit $ac_status); } &&
11770 { ac_try='test -s conftest$ac_exeext'
11771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11772 (eval $ac_try) 2>&5
11773 ac_status=$?
11774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11775 (exit $ac_status); }; }; then
11776 ac_cv_lib_cExt_drand48=yes
11777else
11778 echo "$as_me: failed program was:" >&5
11779sed 's/^/| /' conftest.$ac_ext >&5
11780
11781ac_cv_lib_cExt_drand48=no
11782fi
11783rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11784LIBS=$ac_check_lib_save_LIBS
11785fi
11786echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11787echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11788if test $ac_cv_lib_cExt_drand48 = yes; then
11789 LIBS="$LIBS -lcExt"
11790fi
11791
11792 else
11793 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11794 fi
11795 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
11796echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
11797if test "${wx_cv_gcc3+set}" = set; then
11798 echo $ECHO_N "(cached) $ECHO_C" >&6
11799else
11800
11801 cat >conftest.$ac_ext <<_ACEOF
11802#line $LINENO "configure"
11803/* confdefs.h. */
11804_ACEOF
11805cat confdefs.h >>conftest.$ac_ext
11806cat >>conftest.$ac_ext <<_ACEOF
11807/* end confdefs.h. */
11808
11809int
11810main ()
11811{
11812
11813 #if (__GNUC__ < 3)
11814 #error old gcc
11815 #endif
11816
11817 ;
11818 return 0;
11819}
11820_ACEOF
11821rm -f conftest.$ac_objext
11822if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11823 (eval $ac_compile) 2>&5
11824 ac_status=$?
11825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11826 (exit $ac_status); } &&
11827 { ac_try='test -s conftest.$ac_objext'
11828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11829 (eval $ac_try) 2>&5
11830 ac_status=$?
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); }; }; then
11833
11834 wx_cv_gcc3=yes
11835
11836else
11837 echo "$as_me: failed program was:" >&5
11838sed 's/^/| /' conftest.$ac_ext >&5
11839
11840
11841 wx_cv_gcc3=no
11842
11843
11844fi
11845rm -f conftest.$ac_objext conftest.$ac_ext
11846
11847fi
11848echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
11849echo "${ECHO_T}$wx_cv_gcc3" >&6
11850 if test "$wx_cv_gcc3" = "no"; then
11851 LIBS="$LIBS -lstdcpp"
11852 else
11853 LIBS="$LIBS -lstdcxx"
11854 fi
11855 ;;
11856esac
11857
11858
11859if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11860 echo "$as_me:$LINENO: checking for strings.h" >&5
11861echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11862if test "${ac_cv_header_strings_h+set}" = set; then
11863 echo $ECHO_N "(cached) $ECHO_C" >&6
11864else
11865 ac_cv_header_strings_h=no
11866fi
11867echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11868echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11869 if test "$ac_cv_header_strings_h" = "no"; then
11870 echo "$as_me:$LINENO: result: forced no into cache" >&5
11871echo "${ECHO_T}forced no into cache" >&6
11872 else
11873 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11874echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11875 fi
11876fi
11877echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11878echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11879if test "${ac_cv_header_stdc+set}" = set; then
11880 echo $ECHO_N "(cached) $ECHO_C" >&6
11881else
11882 cat >conftest.$ac_ext <<_ACEOF
11883#line $LINENO "configure"
11884/* confdefs.h. */
11885_ACEOF
11886cat confdefs.h >>conftest.$ac_ext
11887cat >>conftest.$ac_ext <<_ACEOF
11888/* end confdefs.h. */
11889#include <stdlib.h>
11890#include <stdarg.h>
11891#include <string.h>
11892#include <float.h>
11893
11894int
11895main ()
11896{
11897
11898 ;
11899 return 0;
11900}
11901_ACEOF
11902rm -f conftest.$ac_objext
11903if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11904 (eval $ac_compile) 2>&5
11905 ac_status=$?
11906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11907 (exit $ac_status); } &&
11908 { ac_try='test -s conftest.$ac_objext'
11909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11910 (eval $ac_try) 2>&5
11911 ac_status=$?
11912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11913 (exit $ac_status); }; }; then
11914 ac_cv_header_stdc=yes
11915else
11916 echo "$as_me: failed program was:" >&5
11917sed 's/^/| /' conftest.$ac_ext >&5
11918
11919ac_cv_header_stdc=no
11920fi
11921rm -f conftest.$ac_objext conftest.$ac_ext
11922
11923if test $ac_cv_header_stdc = yes; then
11924 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11925 cat >conftest.$ac_ext <<_ACEOF
11926#line $LINENO "configure"
11927/* confdefs.h. */
11928_ACEOF
11929cat confdefs.h >>conftest.$ac_ext
11930cat >>conftest.$ac_ext <<_ACEOF
11931/* end confdefs.h. */
11932#include <string.h>
11933
11934_ACEOF
11935if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11936 $EGREP "memchr" >/dev/null 2>&1; then
11937 :
11938else
11939 ac_cv_header_stdc=no
11940fi
11941rm -f conftest*
11942
11943fi
11944
11945if test $ac_cv_header_stdc = yes; then
11946 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11947 cat >conftest.$ac_ext <<_ACEOF
11948#line $LINENO "configure"
11949/* confdefs.h. */
11950_ACEOF
11951cat confdefs.h >>conftest.$ac_ext
11952cat >>conftest.$ac_ext <<_ACEOF
11953/* end confdefs.h. */
11954#include <stdlib.h>
11955
11956_ACEOF
11957if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11958 $EGREP "free" >/dev/null 2>&1; then
11959 :
11960else
11961 ac_cv_header_stdc=no
11962fi
11963rm -f conftest*
11964
11965fi
11966
11967if test $ac_cv_header_stdc = yes; then
11968 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11969 if test "$cross_compiling" = yes; then
11970 :
11971else
11972 cat >conftest.$ac_ext <<_ACEOF
11973#line $LINENO "configure"
11974/* confdefs.h. */
11975_ACEOF
11976cat confdefs.h >>conftest.$ac_ext
11977cat >>conftest.$ac_ext <<_ACEOF
11978/* end confdefs.h. */
11979#include <ctype.h>
11980#if ((' ' & 0x0FF) == 0x020)
11981# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11982# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11983#else
11984# define ISLOWER(c) \
11985 (('a' <= (c) && (c) <= 'i') \
11986 || ('j' <= (c) && (c) <= 'r') \
11987 || ('s' <= (c) && (c) <= 'z'))
11988# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11989#endif
11990
11991#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11992int
11993main ()
11994{
11995 int i;
11996 for (i = 0; i < 256; i++)
11997 if (XOR (islower (i), ISLOWER (i))
11998 || toupper (i) != TOUPPER (i))
11999 exit(2);
12000 exit (0);
12001}
12002_ACEOF
12003rm -f conftest$ac_exeext
12004if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12005 (eval $ac_link) 2>&5
12006 ac_status=$?
12007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12008 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12010 (eval $ac_try) 2>&5
12011 ac_status=$?
12012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12013 (exit $ac_status); }; }; then
12014 :
12015else
12016 echo "$as_me: program exited with status $ac_status" >&5
12017echo "$as_me: failed program was:" >&5
12018sed 's/^/| /' conftest.$ac_ext >&5
12019
12020( exit $ac_status )
12021ac_cv_header_stdc=no
12022fi
12023rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12024fi
12025fi
12026fi
12027echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12028echo "${ECHO_T}$ac_cv_header_stdc" >&6
12029if test $ac_cv_header_stdc = yes; then
12030
12031cat >>confdefs.h <<\_ACEOF
12032#define STDC_HEADERS 1
12033_ACEOF
12034
12035fi
12036
12037# On IRIX 5.3, sys/types and inttypes.h are conflicting.
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12048 inttypes.h stdint.h unistd.h
12049do
12050as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12051echo "$as_me:$LINENO: checking for $ac_header" >&5
12052echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12053if eval "test \"\${$as_ac_Header+set}\" = set"; then
12054 echo $ECHO_N "(cached) $ECHO_C" >&6
12055else
12056 cat >conftest.$ac_ext <<_ACEOF
12057#line $LINENO "configure"
12058/* confdefs.h. */
12059_ACEOF
12060cat confdefs.h >>conftest.$ac_ext
12061cat >>conftest.$ac_ext <<_ACEOF
12062/* end confdefs.h. */
12063$ac_includes_default
12064
12065#include <$ac_header>
12066_ACEOF
12067rm -f conftest.$ac_objext
12068if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12069 (eval $ac_compile) 2>&5
12070 ac_status=$?
12071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072 (exit $ac_status); } &&
12073 { ac_try='test -s conftest.$ac_objext'
12074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12075 (eval $ac_try) 2>&5
12076 ac_status=$?
12077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12078 (exit $ac_status); }; }; then
12079 eval "$as_ac_Header=yes"
12080else
12081 echo "$as_me: failed program was:" >&5
12082sed 's/^/| /' conftest.$ac_ext >&5
12083
12084eval "$as_ac_Header=no"
12085fi
12086rm -f conftest.$ac_objext conftest.$ac_ext
12087fi
12088echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12089echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12090if test `eval echo '${'$as_ac_Header'}'` = yes; then
12091 cat >>confdefs.h <<_ACEOF
12092#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12093_ACEOF
12094
12095fi
12096
12097done
12098
12099
12100
12101for ac_header in strings.h
12102do
12103as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12104if eval "test \"\${$as_ac_Header+set}\" = set"; then
12105 echo "$as_me:$LINENO: checking for $ac_header" >&5
12106echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12107if eval "test \"\${$as_ac_Header+set}\" = set"; then
12108 echo $ECHO_N "(cached) $ECHO_C" >&6
12109fi
12110echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12111echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12112else
12113 # Is the header compilable?
12114echo "$as_me:$LINENO: checking $ac_header usability" >&5
12115echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12116cat >conftest.$ac_ext <<_ACEOF
12117#line $LINENO "configure"
12118/* confdefs.h. */
12119_ACEOF
12120cat confdefs.h >>conftest.$ac_ext
12121cat >>conftest.$ac_ext <<_ACEOF
12122/* end confdefs.h. */
12123$ac_includes_default
12124#include <$ac_header>
12125_ACEOF
12126rm -f conftest.$ac_objext
12127if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12128 (eval $ac_compile) 2>&5
12129 ac_status=$?
12130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12131 (exit $ac_status); } &&
12132 { ac_try='test -s conftest.$ac_objext'
12133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12134 (eval $ac_try) 2>&5
12135 ac_status=$?
12136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12137 (exit $ac_status); }; }; then
12138 ac_header_compiler=yes
12139else
12140 echo "$as_me: failed program was:" >&5
12141sed 's/^/| /' conftest.$ac_ext >&5
12142
12143ac_header_compiler=no
12144fi
12145rm -f conftest.$ac_objext conftest.$ac_ext
12146echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12147echo "${ECHO_T}$ac_header_compiler" >&6
12148
12149# Is the header present?
12150echo "$as_me:$LINENO: checking $ac_header presence" >&5
12151echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12152cat >conftest.$ac_ext <<_ACEOF
12153#line $LINENO "configure"
12154/* confdefs.h. */
12155_ACEOF
12156cat confdefs.h >>conftest.$ac_ext
12157cat >>conftest.$ac_ext <<_ACEOF
12158/* end confdefs.h. */
12159#include <$ac_header>
12160_ACEOF
12161if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12162 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12163 ac_status=$?
12164 grep -v '^ *+' conftest.er1 >conftest.err
12165 rm -f conftest.er1
12166 cat conftest.err >&5
12167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12168 (exit $ac_status); } >/dev/null; then
12169 if test -s conftest.err; then
12170 ac_cpp_err=$ac_c_preproc_warn_flag
12171 else
12172 ac_cpp_err=
12173 fi
12174else
12175 ac_cpp_err=yes
12176fi
12177if test -z "$ac_cpp_err"; then
12178 ac_header_preproc=yes
12179else
12180 echo "$as_me: failed program was:" >&5
12181sed 's/^/| /' conftest.$ac_ext >&5
12182
12183 ac_header_preproc=no
12184fi
12185rm -f conftest.err conftest.$ac_ext
12186echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12187echo "${ECHO_T}$ac_header_preproc" >&6
12188
12189# So? What about this header?
12190case $ac_header_compiler:$ac_header_preproc in
12191 yes:no )
12192 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12193echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12195echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12196 (
12197 cat <<\_ASBOX
12198## ------------------------------------ ##
12199## Report this to bug-autoconf@gnu.org. ##
12200## ------------------------------------ ##
12201_ASBOX
12202 ) |
12203 sed "s/^/$as_me: WARNING: /" >&2
12204 ;;
12205 no:yes )
12206 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12207echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12208 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12209echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12210 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12211echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12212 (
12213 cat <<\_ASBOX
12214## ------------------------------------ ##
12215## Report this to bug-autoconf@gnu.org. ##
12216## ------------------------------------ ##
12217_ASBOX
12218 ) |
12219 sed "s/^/$as_me: WARNING: /" >&2
12220 ;;
12221esac
12222echo "$as_me:$LINENO: checking for $ac_header" >&5
12223echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12224if eval "test \"\${$as_ac_Header+set}\" = set"; then
12225 echo $ECHO_N "(cached) $ECHO_C" >&6
12226else
12227 eval "$as_ac_Header=$ac_header_preproc"
12228fi
12229echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12230echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12231
12232fi
12233if test `eval echo '${'$as_ac_Header'}'` = yes; then
12234 cat >>confdefs.h <<_ACEOF
12235#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12236_ACEOF
12237
12238fi
12239
12240done
12241
12242
12243
12244for ac_header in stdlib.h
12245do
12246as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12247if eval "test \"\${$as_ac_Header+set}\" = set"; then
12248 echo "$as_me:$LINENO: checking for $ac_header" >&5
12249echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12250if eval "test \"\${$as_ac_Header+set}\" = set"; then
12251 echo $ECHO_N "(cached) $ECHO_C" >&6
12252fi
12253echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12254echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12255else
12256 # Is the header compilable?
12257echo "$as_me:$LINENO: checking $ac_header usability" >&5
12258echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12259cat >conftest.$ac_ext <<_ACEOF
12260#line $LINENO "configure"
12261/* confdefs.h. */
12262_ACEOF
12263cat confdefs.h >>conftest.$ac_ext
12264cat >>conftest.$ac_ext <<_ACEOF
12265/* end confdefs.h. */
12266$ac_includes_default
12267#include <$ac_header>
12268_ACEOF
12269rm -f conftest.$ac_objext
12270if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12271 (eval $ac_compile) 2>&5
12272 ac_status=$?
12273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12274 (exit $ac_status); } &&
12275 { ac_try='test -s conftest.$ac_objext'
12276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12277 (eval $ac_try) 2>&5
12278 ac_status=$?
12279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12280 (exit $ac_status); }; }; then
12281 ac_header_compiler=yes
12282else
12283 echo "$as_me: failed program was:" >&5
12284sed 's/^/| /' conftest.$ac_ext >&5
12285
12286ac_header_compiler=no
12287fi
12288rm -f conftest.$ac_objext conftest.$ac_ext
12289echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12290echo "${ECHO_T}$ac_header_compiler" >&6
12291
12292# Is the header present?
12293echo "$as_me:$LINENO: checking $ac_header presence" >&5
12294echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12295cat >conftest.$ac_ext <<_ACEOF
12296#line $LINENO "configure"
12297/* confdefs.h. */
12298_ACEOF
12299cat confdefs.h >>conftest.$ac_ext
12300cat >>conftest.$ac_ext <<_ACEOF
12301/* end confdefs.h. */
12302#include <$ac_header>
12303_ACEOF
12304if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12306 ac_status=$?
12307 grep -v '^ *+' conftest.er1 >conftest.err
12308 rm -f conftest.er1
12309 cat conftest.err >&5
12310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311 (exit $ac_status); } >/dev/null; then
12312 if test -s conftest.err; then
12313 ac_cpp_err=$ac_c_preproc_warn_flag
12314 else
12315 ac_cpp_err=
12316 fi
12317else
12318 ac_cpp_err=yes
12319fi
12320if test -z "$ac_cpp_err"; then
12321 ac_header_preproc=yes
12322else
12323 echo "$as_me: failed program was:" >&5
12324sed 's/^/| /' conftest.$ac_ext >&5
12325
12326 ac_header_preproc=no
12327fi
12328rm -f conftest.err conftest.$ac_ext
12329echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12330echo "${ECHO_T}$ac_header_preproc" >&6
12331
12332# So? What about this header?
12333case $ac_header_compiler:$ac_header_preproc in
12334 yes:no )
12335 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12336echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12338echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12339 (
12340 cat <<\_ASBOX
12341## ------------------------------------ ##
12342## Report this to bug-autoconf@gnu.org. ##
12343## ------------------------------------ ##
12344_ASBOX
12345 ) |
12346 sed "s/^/$as_me: WARNING: /" >&2
12347 ;;
12348 no:yes )
12349 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12350echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12351 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12352echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12353 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12354echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12355 (
12356 cat <<\_ASBOX
12357## ------------------------------------ ##
12358## Report this to bug-autoconf@gnu.org. ##
12359## ------------------------------------ ##
12360_ASBOX
12361 ) |
12362 sed "s/^/$as_me: WARNING: /" >&2
12363 ;;
12364esac
12365echo "$as_me:$LINENO: checking for $ac_header" >&5
12366echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12367if eval "test \"\${$as_ac_Header+set}\" = set"; then
12368 echo $ECHO_N "(cached) $ECHO_C" >&6
12369else
12370 eval "$as_ac_Header=$ac_header_preproc"
12371fi
12372echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12373echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12374
12375fi
12376if test `eval echo '${'$as_ac_Header'}'` = yes; then
12377 cat >>confdefs.h <<_ACEOF
12378#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12379_ACEOF
12380
12381fi
12382
12383done
12384
12385
12386for ac_header in malloc.h
12387do
12388as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12389if eval "test \"\${$as_ac_Header+set}\" = set"; then
12390 echo "$as_me:$LINENO: checking for $ac_header" >&5
12391echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12392if eval "test \"\${$as_ac_Header+set}\" = set"; then
12393 echo $ECHO_N "(cached) $ECHO_C" >&6
12394fi
12395echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12396echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12397else
12398 # Is the header compilable?
12399echo "$as_me:$LINENO: checking $ac_header usability" >&5
12400echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12401cat >conftest.$ac_ext <<_ACEOF
12402#line $LINENO "configure"
12403/* confdefs.h. */
12404_ACEOF
12405cat confdefs.h >>conftest.$ac_ext
12406cat >>conftest.$ac_ext <<_ACEOF
12407/* end confdefs.h. */
12408$ac_includes_default
12409#include <$ac_header>
12410_ACEOF
12411rm -f conftest.$ac_objext
12412if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12413 (eval $ac_compile) 2>&5
12414 ac_status=$?
12415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12416 (exit $ac_status); } &&
12417 { ac_try='test -s conftest.$ac_objext'
12418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12419 (eval $ac_try) 2>&5
12420 ac_status=$?
12421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12422 (exit $ac_status); }; }; then
12423 ac_header_compiler=yes
12424else
12425 echo "$as_me: failed program was:" >&5
12426sed 's/^/| /' conftest.$ac_ext >&5
12427
12428ac_header_compiler=no
12429fi
12430rm -f conftest.$ac_objext conftest.$ac_ext
12431echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12432echo "${ECHO_T}$ac_header_compiler" >&6
12433
12434# Is the header present?
12435echo "$as_me:$LINENO: checking $ac_header presence" >&5
12436echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12437cat >conftest.$ac_ext <<_ACEOF
12438#line $LINENO "configure"
12439/* confdefs.h. */
12440_ACEOF
12441cat confdefs.h >>conftest.$ac_ext
12442cat >>conftest.$ac_ext <<_ACEOF
12443/* end confdefs.h. */
12444#include <$ac_header>
12445_ACEOF
12446if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12447 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12448 ac_status=$?
12449 grep -v '^ *+' conftest.er1 >conftest.err
12450 rm -f conftest.er1
12451 cat conftest.err >&5
12452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12453 (exit $ac_status); } >/dev/null; then
12454 if test -s conftest.err; then
12455 ac_cpp_err=$ac_c_preproc_warn_flag
12456 else
12457 ac_cpp_err=
12458 fi
12459else
12460 ac_cpp_err=yes
12461fi
12462if test -z "$ac_cpp_err"; then
12463 ac_header_preproc=yes
12464else
12465 echo "$as_me: failed program was:" >&5
12466sed 's/^/| /' conftest.$ac_ext >&5
12467
12468 ac_header_preproc=no
12469fi
12470rm -f conftest.err conftest.$ac_ext
12471echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12472echo "${ECHO_T}$ac_header_preproc" >&6
12473
12474# So? What about this header?
12475case $ac_header_compiler:$ac_header_preproc in
12476 yes:no )
12477 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12478echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12480echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12481 (
12482 cat <<\_ASBOX
12483## ------------------------------------ ##
12484## Report this to bug-autoconf@gnu.org. ##
12485## ------------------------------------ ##
12486_ASBOX
12487 ) |
12488 sed "s/^/$as_me: WARNING: /" >&2
12489 ;;
12490 no:yes )
12491 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12492echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12493 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12494echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12496echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12497 (
12498 cat <<\_ASBOX
12499## ------------------------------------ ##
12500## Report this to bug-autoconf@gnu.org. ##
12501## ------------------------------------ ##
12502_ASBOX
12503 ) |
12504 sed "s/^/$as_me: WARNING: /" >&2
12505 ;;
12506esac
12507echo "$as_me:$LINENO: checking for $ac_header" >&5
12508echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12509if eval "test \"\${$as_ac_Header+set}\" = set"; then
12510 echo $ECHO_N "(cached) $ECHO_C" >&6
12511else
12512 eval "$as_ac_Header=$ac_header_preproc"
12513fi
12514echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12515echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12516
12517fi
12518if test `eval echo '${'$as_ac_Header'}'` = yes; then
12519 cat >>confdefs.h <<_ACEOF
12520#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12521_ACEOF
12522
12523fi
12524
12525done
12526
12527
12528for ac_header in unistd.h
12529do
12530as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12531if eval "test \"\${$as_ac_Header+set}\" = set"; then
12532 echo "$as_me:$LINENO: checking for $ac_header" >&5
12533echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12534if eval "test \"\${$as_ac_Header+set}\" = set"; then
12535 echo $ECHO_N "(cached) $ECHO_C" >&6
12536fi
12537echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12538echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12539else
12540 # Is the header compilable?
12541echo "$as_me:$LINENO: checking $ac_header usability" >&5
12542echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12543cat >conftest.$ac_ext <<_ACEOF
12544#line $LINENO "configure"
12545/* confdefs.h. */
12546_ACEOF
12547cat confdefs.h >>conftest.$ac_ext
12548cat >>conftest.$ac_ext <<_ACEOF
12549/* end confdefs.h. */
12550$ac_includes_default
12551#include <$ac_header>
12552_ACEOF
12553rm -f conftest.$ac_objext
12554if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12555 (eval $ac_compile) 2>&5
12556 ac_status=$?
12557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12558 (exit $ac_status); } &&
12559 { ac_try='test -s conftest.$ac_objext'
12560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12561 (eval $ac_try) 2>&5
12562 ac_status=$?
12563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12564 (exit $ac_status); }; }; then
12565 ac_header_compiler=yes
12566else
12567 echo "$as_me: failed program was:" >&5
12568sed 's/^/| /' conftest.$ac_ext >&5
12569
12570ac_header_compiler=no
12571fi
12572rm -f conftest.$ac_objext conftest.$ac_ext
12573echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12574echo "${ECHO_T}$ac_header_compiler" >&6
12575
12576# Is the header present?
12577echo "$as_me:$LINENO: checking $ac_header presence" >&5
12578echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12579cat >conftest.$ac_ext <<_ACEOF
12580#line $LINENO "configure"
12581/* confdefs.h. */
12582_ACEOF
12583cat confdefs.h >>conftest.$ac_ext
12584cat >>conftest.$ac_ext <<_ACEOF
12585/* end confdefs.h. */
12586#include <$ac_header>
12587_ACEOF
12588if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12589 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12590 ac_status=$?
12591 grep -v '^ *+' conftest.er1 >conftest.err
12592 rm -f conftest.er1
12593 cat conftest.err >&5
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); } >/dev/null; then
12596 if test -s conftest.err; then
12597 ac_cpp_err=$ac_c_preproc_warn_flag
12598 else
12599 ac_cpp_err=
12600 fi
12601else
12602 ac_cpp_err=yes
12603fi
12604if test -z "$ac_cpp_err"; then
12605 ac_header_preproc=yes
12606else
12607 echo "$as_me: failed program was:" >&5
12608sed 's/^/| /' conftest.$ac_ext >&5
12609
12610 ac_header_preproc=no
12611fi
12612rm -f conftest.err conftest.$ac_ext
12613echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12614echo "${ECHO_T}$ac_header_preproc" >&6
12615
12616# So? What about this header?
12617case $ac_header_compiler:$ac_header_preproc in
12618 yes:no )
12619 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12620echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12621 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12622echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12623 (
12624 cat <<\_ASBOX
12625## ------------------------------------ ##
12626## Report this to bug-autoconf@gnu.org. ##
12627## ------------------------------------ ##
12628_ASBOX
12629 ) |
12630 sed "s/^/$as_me: WARNING: /" >&2
12631 ;;
12632 no:yes )
12633 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12634echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12635 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12636echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12637 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12638echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12639 (
12640 cat <<\_ASBOX
12641## ------------------------------------ ##
12642## Report this to bug-autoconf@gnu.org. ##
12643## ------------------------------------ ##
12644_ASBOX
12645 ) |
12646 sed "s/^/$as_me: WARNING: /" >&2
12647 ;;
12648esac
12649echo "$as_me:$LINENO: checking for $ac_header" >&5
12650echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12651if eval "test \"\${$as_ac_Header+set}\" = set"; then
12652 echo $ECHO_N "(cached) $ECHO_C" >&6
12653else
12654 eval "$as_ac_Header=$ac_header_preproc"
12655fi
12656echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12657echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12658
12659fi
12660if test `eval echo '${'$as_ac_Header'}'` = yes; then
12661 cat >>confdefs.h <<_ACEOF
12662#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12663_ACEOF
12664
12665fi
12666
12667done
12668
12669
12670for ac_header in wchar.h
12671do
12672as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12673if eval "test \"\${$as_ac_Header+set}\" = set"; then
12674 echo "$as_me:$LINENO: checking for $ac_header" >&5
12675echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12676if eval "test \"\${$as_ac_Header+set}\" = set"; then
12677 echo $ECHO_N "(cached) $ECHO_C" >&6
12678fi
12679echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12680echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12681else
12682 # Is the header compilable?
12683echo "$as_me:$LINENO: checking $ac_header usability" >&5
12684echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12685cat >conftest.$ac_ext <<_ACEOF
12686#line $LINENO "configure"
12687/* confdefs.h. */
12688_ACEOF
12689cat confdefs.h >>conftest.$ac_ext
12690cat >>conftest.$ac_ext <<_ACEOF
12691/* end confdefs.h. */
12692$ac_includes_default
12693#include <$ac_header>
12694_ACEOF
12695rm -f conftest.$ac_objext
12696if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12697 (eval $ac_compile) 2>&5
12698 ac_status=$?
12699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12700 (exit $ac_status); } &&
12701 { ac_try='test -s conftest.$ac_objext'
12702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12703 (eval $ac_try) 2>&5
12704 ac_status=$?
12705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12706 (exit $ac_status); }; }; then
12707 ac_header_compiler=yes
12708else
12709 echo "$as_me: failed program was:" >&5
12710sed 's/^/| /' conftest.$ac_ext >&5
12711
12712ac_header_compiler=no
12713fi
12714rm -f conftest.$ac_objext conftest.$ac_ext
12715echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12716echo "${ECHO_T}$ac_header_compiler" >&6
12717
12718# Is the header present?
12719echo "$as_me:$LINENO: checking $ac_header presence" >&5
12720echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12721cat >conftest.$ac_ext <<_ACEOF
12722#line $LINENO "configure"
12723/* confdefs.h. */
12724_ACEOF
12725cat confdefs.h >>conftest.$ac_ext
12726cat >>conftest.$ac_ext <<_ACEOF
12727/* end confdefs.h. */
12728#include <$ac_header>
12729_ACEOF
12730if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12731 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12732 ac_status=$?
12733 grep -v '^ *+' conftest.er1 >conftest.err
12734 rm -f conftest.er1
12735 cat conftest.err >&5
12736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12737 (exit $ac_status); } >/dev/null; then
12738 if test -s conftest.err; then
12739 ac_cpp_err=$ac_c_preproc_warn_flag
12740 else
12741 ac_cpp_err=
12742 fi
12743else
12744 ac_cpp_err=yes
12745fi
12746if test -z "$ac_cpp_err"; then
12747 ac_header_preproc=yes
12748else
12749 echo "$as_me: failed program was:" >&5
12750sed 's/^/| /' conftest.$ac_ext >&5
12751
12752 ac_header_preproc=no
12753fi
12754rm -f conftest.err conftest.$ac_ext
12755echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12756echo "${ECHO_T}$ac_header_preproc" >&6
12757
12758# So? What about this header?
12759case $ac_header_compiler:$ac_header_preproc in
12760 yes:no )
12761 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12762echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12763 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12764echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12765 (
12766 cat <<\_ASBOX
12767## ------------------------------------ ##
12768## Report this to bug-autoconf@gnu.org. ##
12769## ------------------------------------ ##
12770_ASBOX
12771 ) |
12772 sed "s/^/$as_me: WARNING: /" >&2
12773 ;;
12774 no:yes )
12775 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12776echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12777 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12778echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12779 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12780echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12781 (
12782 cat <<\_ASBOX
12783## ------------------------------------ ##
12784## Report this to bug-autoconf@gnu.org. ##
12785## ------------------------------------ ##
12786_ASBOX
12787 ) |
12788 sed "s/^/$as_me: WARNING: /" >&2
12789 ;;
12790esac
12791echo "$as_me:$LINENO: checking for $ac_header" >&5
12792echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12793if eval "test \"\${$as_ac_Header+set}\" = set"; then
12794 echo $ECHO_N "(cached) $ECHO_C" >&6
12795else
12796 eval "$as_ac_Header=$ac_header_preproc"
12797fi
12798echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12799echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12800
12801fi
12802if test `eval echo '${'$as_ac_Header'}'` = yes; then
12803 cat >>confdefs.h <<_ACEOF
12804#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12805_ACEOF
12806
12807fi
12808
12809done
12810
12811
12812if test "$ac_cv_header_wchar_h" != "yes"; then
12813
12814for ac_header in wcstr.h
12815do
12816as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12817if eval "test \"\${$as_ac_Header+set}\" = set"; then
12818 echo "$as_me:$LINENO: checking for $ac_header" >&5
12819echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12820if eval "test \"\${$as_ac_Header+set}\" = set"; then
12821 echo $ECHO_N "(cached) $ECHO_C" >&6
12822fi
12823echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12824echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12825else
12826 # Is the header compilable?
12827echo "$as_me:$LINENO: checking $ac_header usability" >&5
12828echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12829cat >conftest.$ac_ext <<_ACEOF
12830#line $LINENO "configure"
12831/* confdefs.h. */
12832_ACEOF
12833cat confdefs.h >>conftest.$ac_ext
12834cat >>conftest.$ac_ext <<_ACEOF
12835/* end confdefs.h. */
12836$ac_includes_default
12837#include <$ac_header>
12838_ACEOF
12839rm -f conftest.$ac_objext
12840if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12841 (eval $ac_compile) 2>&5
12842 ac_status=$?
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); } &&
12845 { ac_try='test -s conftest.$ac_objext'
12846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12847 (eval $ac_try) 2>&5
12848 ac_status=$?
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); }; }; then
12851 ac_header_compiler=yes
12852else
12853 echo "$as_me: failed program was:" >&5
12854sed 's/^/| /' conftest.$ac_ext >&5
12855
12856ac_header_compiler=no
12857fi
12858rm -f conftest.$ac_objext conftest.$ac_ext
12859echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12860echo "${ECHO_T}$ac_header_compiler" >&6
12861
12862# Is the header present?
12863echo "$as_me:$LINENO: checking $ac_header presence" >&5
12864echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12865cat >conftest.$ac_ext <<_ACEOF
12866#line $LINENO "configure"
12867/* confdefs.h. */
12868_ACEOF
12869cat confdefs.h >>conftest.$ac_ext
12870cat >>conftest.$ac_ext <<_ACEOF
12871/* end confdefs.h. */
12872#include <$ac_header>
12873_ACEOF
12874if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12876 ac_status=$?
12877 grep -v '^ *+' conftest.er1 >conftest.err
12878 rm -f conftest.er1
12879 cat conftest.err >&5
12880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12881 (exit $ac_status); } >/dev/null; then
12882 if test -s conftest.err; then
12883 ac_cpp_err=$ac_c_preproc_warn_flag
12884 else
12885 ac_cpp_err=
12886 fi
12887else
12888 ac_cpp_err=yes
12889fi
12890if test -z "$ac_cpp_err"; then
12891 ac_header_preproc=yes
12892else
12893 echo "$as_me: failed program was:" >&5
12894sed 's/^/| /' conftest.$ac_ext >&5
12895
12896 ac_header_preproc=no
12897fi
12898rm -f conftest.err conftest.$ac_ext
12899echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12900echo "${ECHO_T}$ac_header_preproc" >&6
12901
12902# So? What about this header?
12903case $ac_header_compiler:$ac_header_preproc in
12904 yes:no )
12905 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12906echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12908echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12909 (
12910 cat <<\_ASBOX
12911## ------------------------------------ ##
12912## Report this to bug-autoconf@gnu.org. ##
12913## ------------------------------------ ##
12914_ASBOX
12915 ) |
12916 sed "s/^/$as_me: WARNING: /" >&2
12917 ;;
12918 no:yes )
12919 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12920echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12921 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12922echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12924echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12925 (
12926 cat <<\_ASBOX
12927## ------------------------------------ ##
12928## Report this to bug-autoconf@gnu.org. ##
12929## ------------------------------------ ##
12930_ASBOX
12931 ) |
12932 sed "s/^/$as_me: WARNING: /" >&2
12933 ;;
12934esac
12935echo "$as_me:$LINENO: checking for $ac_header" >&5
12936echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12937if eval "test \"\${$as_ac_Header+set}\" = set"; then
12938 echo $ECHO_N "(cached) $ECHO_C" >&6
12939else
12940 eval "$as_ac_Header=$ac_header_preproc"
12941fi
12942echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12943echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12944
12945fi
12946if test `eval echo '${'$as_ac_Header'}'` = yes; then
12947 cat >>confdefs.h <<_ACEOF
12948#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12949_ACEOF
12950
12951fi
12952
12953done
12954
12955fi
12956
12957
12958for ac_header in fnmatch.h
12959do
12960as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12961if eval "test \"\${$as_ac_Header+set}\" = set"; then
12962 echo "$as_me:$LINENO: checking for $ac_header" >&5
12963echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12964if eval "test \"\${$as_ac_Header+set}\" = set"; then
12965 echo $ECHO_N "(cached) $ECHO_C" >&6
12966fi
12967echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12968echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12969else
12970 # Is the header compilable?
12971echo "$as_me:$LINENO: checking $ac_header usability" >&5
12972echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12973cat >conftest.$ac_ext <<_ACEOF
12974#line $LINENO "configure"
12975/* confdefs.h. */
12976_ACEOF
12977cat confdefs.h >>conftest.$ac_ext
12978cat >>conftest.$ac_ext <<_ACEOF
12979/* end confdefs.h. */
12980$ac_includes_default
12981#include <$ac_header>
12982_ACEOF
12983rm -f conftest.$ac_objext
12984if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12985 (eval $ac_compile) 2>&5
12986 ac_status=$?
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); } &&
12989 { ac_try='test -s conftest.$ac_objext'
12990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12991 (eval $ac_try) 2>&5
12992 ac_status=$?
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); }; }; then
12995 ac_header_compiler=yes
12996else
12997 echo "$as_me: failed program was:" >&5
12998sed 's/^/| /' conftest.$ac_ext >&5
12999
13000ac_header_compiler=no
13001fi
13002rm -f conftest.$ac_objext conftest.$ac_ext
13003echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13004echo "${ECHO_T}$ac_header_compiler" >&6
13005
13006# Is the header present?
13007echo "$as_me:$LINENO: checking $ac_header presence" >&5
13008echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13009cat >conftest.$ac_ext <<_ACEOF
13010#line $LINENO "configure"
13011/* confdefs.h. */
13012_ACEOF
13013cat confdefs.h >>conftest.$ac_ext
13014cat >>conftest.$ac_ext <<_ACEOF
13015/* end confdefs.h. */
13016#include <$ac_header>
13017_ACEOF
13018if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13019 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13020 ac_status=$?
13021 grep -v '^ *+' conftest.er1 >conftest.err
13022 rm -f conftest.er1
13023 cat conftest.err >&5
13024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13025 (exit $ac_status); } >/dev/null; then
13026 if test -s conftest.err; then
13027 ac_cpp_err=$ac_c_preproc_warn_flag
13028 else
13029 ac_cpp_err=
13030 fi
13031else
13032 ac_cpp_err=yes
13033fi
13034if test -z "$ac_cpp_err"; then
13035 ac_header_preproc=yes
13036else
13037 echo "$as_me: failed program was:" >&5
13038sed 's/^/| /' conftest.$ac_ext >&5
13039
13040 ac_header_preproc=no
13041fi
13042rm -f conftest.err conftest.$ac_ext
13043echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13044echo "${ECHO_T}$ac_header_preproc" >&6
13045
13046# So? What about this header?
13047case $ac_header_compiler:$ac_header_preproc in
13048 yes:no )
13049 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13050echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13052echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13053 (
13054 cat <<\_ASBOX
13055## ------------------------------------ ##
13056## Report this to bug-autoconf@gnu.org. ##
13057## ------------------------------------ ##
13058_ASBOX
13059 ) |
13060 sed "s/^/$as_me: WARNING: /" >&2
13061 ;;
13062 no:yes )
13063 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13064echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13065 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13066echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13067 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13068echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13069 (
13070 cat <<\_ASBOX
13071## ------------------------------------ ##
13072## Report this to bug-autoconf@gnu.org. ##
13073## ------------------------------------ ##
13074_ASBOX
13075 ) |
13076 sed "s/^/$as_me: WARNING: /" >&2
13077 ;;
13078esac
13079echo "$as_me:$LINENO: checking for $ac_header" >&5
13080echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13081if eval "test \"\${$as_ac_Header+set}\" = set"; then
13082 echo $ECHO_N "(cached) $ECHO_C" >&6
13083else
13084 eval "$as_ac_Header=$ac_header_preproc"
13085fi
13086echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13087echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13088
13089fi
13090if test `eval echo '${'$as_ac_Header'}'` = yes; then
13091 cat >>confdefs.h <<_ACEOF
13092#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13093_ACEOF
13094
13095fi
13096
13097done
13098
13099
13100if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13101
13102for ac_func in fnmatch
13103do
13104as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13105echo "$as_me:$LINENO: checking for $ac_func" >&5
13106echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13107if eval "test \"\${$as_ac_var+set}\" = set"; then
13108 echo $ECHO_N "(cached) $ECHO_C" >&6
13109else
13110 cat >conftest.$ac_ext <<_ACEOF
13111#line $LINENO "configure"
13112/* confdefs.h. */
13113_ACEOF
13114cat confdefs.h >>conftest.$ac_ext
13115cat >>conftest.$ac_ext <<_ACEOF
13116/* end confdefs.h. */
13117/* System header to define __stub macros and hopefully few prototypes,
13118 which can conflict with char $ac_func (); below.
13119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13120 <limits.h> exists even on freestanding compilers. */
13121#ifdef __STDC__
13122# include <limits.h>
13123#else
13124# include <assert.h>
13125#endif
13126/* Override any gcc2 internal prototype to avoid an error. */
13127#ifdef __cplusplus
13128extern "C"
13129{
13130#endif
13131/* We use char because int might match the return type of a gcc2
13132 builtin and then its argument prototype would still apply. */
13133char $ac_func ();
13134/* The GNU C library defines this for functions which it implements
13135 to always fail with ENOSYS. Some functions are actually named
13136 something starting with __ and the normal name is an alias. */
13137#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13138choke me
13139#else
13140char (*f) () = $ac_func;
13141#endif
13142#ifdef __cplusplus
13143}
13144#endif
13145
13146int
13147main ()
13148{
13149return f != $ac_func;
13150 ;
13151 return 0;
13152}
13153_ACEOF
13154rm -f conftest.$ac_objext conftest$ac_exeext
13155if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13156 (eval $ac_link) 2>&5
13157 ac_status=$?
13158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13159 (exit $ac_status); } &&
13160 { ac_try='test -s conftest$ac_exeext'
13161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13162 (eval $ac_try) 2>&5
13163 ac_status=$?
13164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13165 (exit $ac_status); }; }; then
13166 eval "$as_ac_var=yes"
13167else
13168 echo "$as_me: failed program was:" >&5
13169sed 's/^/| /' conftest.$ac_ext >&5
13170
13171eval "$as_ac_var=no"
13172fi
13173rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13174fi
13175echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13176echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13177if test `eval echo '${'$as_ac_var'}'` = yes; then
13178 cat >>confdefs.h <<_ACEOF
13179#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13180_ACEOF
13181
13182fi
13183done
13184
13185fi
13186
13187
13188for ac_header in langinfo.h
13189do
13190as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13191if eval "test \"\${$as_ac_Header+set}\" = set"; then
13192 echo "$as_me:$LINENO: checking for $ac_header" >&5
13193echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13194if eval "test \"\${$as_ac_Header+set}\" = set"; then
13195 echo $ECHO_N "(cached) $ECHO_C" >&6
13196fi
13197echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13198echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13199else
13200 # Is the header compilable?
13201echo "$as_me:$LINENO: checking $ac_header usability" >&5
13202echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13203cat >conftest.$ac_ext <<_ACEOF
13204#line $LINENO "configure"
13205/* confdefs.h. */
13206_ACEOF
13207cat confdefs.h >>conftest.$ac_ext
13208cat >>conftest.$ac_ext <<_ACEOF
13209/* end confdefs.h. */
13210$ac_includes_default
13211#include <$ac_header>
13212_ACEOF
13213rm -f conftest.$ac_objext
13214if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13215 (eval $ac_compile) 2>&5
13216 ac_status=$?
13217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13218 (exit $ac_status); } &&
13219 { ac_try='test -s conftest.$ac_objext'
13220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13221 (eval $ac_try) 2>&5
13222 ac_status=$?
13223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 (exit $ac_status); }; }; then
13225 ac_header_compiler=yes
13226else
13227 echo "$as_me: failed program was:" >&5
13228sed 's/^/| /' conftest.$ac_ext >&5
13229
13230ac_header_compiler=no
13231fi
13232rm -f conftest.$ac_objext conftest.$ac_ext
13233echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13234echo "${ECHO_T}$ac_header_compiler" >&6
13235
13236# Is the header present?
13237echo "$as_me:$LINENO: checking $ac_header presence" >&5
13238echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13239cat >conftest.$ac_ext <<_ACEOF
13240#line $LINENO "configure"
13241/* confdefs.h. */
13242_ACEOF
13243cat confdefs.h >>conftest.$ac_ext
13244cat >>conftest.$ac_ext <<_ACEOF
13245/* end confdefs.h. */
13246#include <$ac_header>
13247_ACEOF
13248if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13249 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13250 ac_status=$?
13251 grep -v '^ *+' conftest.er1 >conftest.err
13252 rm -f conftest.er1
13253 cat conftest.err >&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); } >/dev/null; then
13256 if test -s conftest.err; then
13257 ac_cpp_err=$ac_c_preproc_warn_flag
13258 else
13259 ac_cpp_err=
13260 fi
13261else
13262 ac_cpp_err=yes
13263fi
13264if test -z "$ac_cpp_err"; then
13265 ac_header_preproc=yes
13266else
13267 echo "$as_me: failed program was:" >&5
13268sed 's/^/| /' conftest.$ac_ext >&5
13269
13270 ac_header_preproc=no
13271fi
13272rm -f conftest.err conftest.$ac_ext
13273echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13274echo "${ECHO_T}$ac_header_preproc" >&6
13275
13276# So? What about this header?
13277case $ac_header_compiler:$ac_header_preproc in
13278 yes:no )
13279 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13280echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13281 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13282echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13283 (
13284 cat <<\_ASBOX
13285## ------------------------------------ ##
13286## Report this to bug-autoconf@gnu.org. ##
13287## ------------------------------------ ##
13288_ASBOX
13289 ) |
13290 sed "s/^/$as_me: WARNING: /" >&2
13291 ;;
13292 no:yes )
13293 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13294echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13295 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13296echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13298echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13299 (
13300 cat <<\_ASBOX
13301## ------------------------------------ ##
13302## Report this to bug-autoconf@gnu.org. ##
13303## ------------------------------------ ##
13304_ASBOX
13305 ) |
13306 sed "s/^/$as_me: WARNING: /" >&2
13307 ;;
13308esac
13309echo "$as_me:$LINENO: checking for $ac_header" >&5
13310echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13311if eval "test \"\${$as_ac_Header+set}\" = set"; then
13312 echo $ECHO_N "(cached) $ECHO_C" >&6
13313else
13314 eval "$as_ac_Header=$ac_header_preproc"
13315fi
13316echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13317echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13318
13319fi
13320if test `eval echo '${'$as_ac_Header'}'` = yes; then
13321 cat >>confdefs.h <<_ACEOF
13322#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13323_ACEOF
13324
13325fi
13326
13327done
13328
13329
13330case "${host}" in
13331 *-pc-os2_emx | *-pc-os2-emx )
13332 if test $ac_cv_header_langinfo_h = "yes"; then
13333 LIBS="$LIBS -lintl"
13334 fi
13335 ;;
13336esac
13337
13338if test "$wxUSE_GUI" = "yes"; then
13339 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13340
13341for ac_header in X11/Xlib.h
13342do
13343as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13344if eval "test \"\${$as_ac_Header+set}\" = set"; then
13345 echo "$as_me:$LINENO: checking for $ac_header" >&5
13346echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13347if eval "test \"\${$as_ac_Header+set}\" = set"; then
13348 echo $ECHO_N "(cached) $ECHO_C" >&6
13349fi
13350echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13351echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13352else
13353 # Is the header compilable?
13354echo "$as_me:$LINENO: checking $ac_header usability" >&5
13355echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13356cat >conftest.$ac_ext <<_ACEOF
13357#line $LINENO "configure"
13358/* confdefs.h. */
13359_ACEOF
13360cat confdefs.h >>conftest.$ac_ext
13361cat >>conftest.$ac_ext <<_ACEOF
13362/* end confdefs.h. */
13363$ac_includes_default
13364#include <$ac_header>
13365_ACEOF
13366rm -f conftest.$ac_objext
13367if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13368 (eval $ac_compile) 2>&5
13369 ac_status=$?
13370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13371 (exit $ac_status); } &&
13372 { ac_try='test -s conftest.$ac_objext'
13373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13374 (eval $ac_try) 2>&5
13375 ac_status=$?
13376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13377 (exit $ac_status); }; }; then
13378 ac_header_compiler=yes
13379else
13380 echo "$as_me: failed program was:" >&5
13381sed 's/^/| /' conftest.$ac_ext >&5
13382
13383ac_header_compiler=no
13384fi
13385rm -f conftest.$ac_objext conftest.$ac_ext
13386echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13387echo "${ECHO_T}$ac_header_compiler" >&6
13388
13389# Is the header present?
13390echo "$as_me:$LINENO: checking $ac_header presence" >&5
13391echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13392cat >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#include <$ac_header>
13400_ACEOF
13401if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13402 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13403 ac_status=$?
13404 grep -v '^ *+' conftest.er1 >conftest.err
13405 rm -f conftest.er1
13406 cat conftest.err >&5
13407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408 (exit $ac_status); } >/dev/null; then
13409 if test -s conftest.err; then
13410 ac_cpp_err=$ac_c_preproc_warn_flag
13411 else
13412 ac_cpp_err=
13413 fi
13414else
13415 ac_cpp_err=yes
13416fi
13417if test -z "$ac_cpp_err"; then
13418 ac_header_preproc=yes
13419else
13420 echo "$as_me: failed program was:" >&5
13421sed 's/^/| /' conftest.$ac_ext >&5
13422
13423 ac_header_preproc=no
13424fi
13425rm -f conftest.err conftest.$ac_ext
13426echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13427echo "${ECHO_T}$ac_header_preproc" >&6
13428
13429# So? What about this header?
13430case $ac_header_compiler:$ac_header_preproc in
13431 yes:no )
13432 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13433echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13435echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13436 (
13437 cat <<\_ASBOX
13438## ------------------------------------ ##
13439## Report this to bug-autoconf@gnu.org. ##
13440## ------------------------------------ ##
13441_ASBOX
13442 ) |
13443 sed "s/^/$as_me: WARNING: /" >&2
13444 ;;
13445 no:yes )
13446 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13447echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13448 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13449echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13451echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13452 (
13453 cat <<\_ASBOX
13454## ------------------------------------ ##
13455## Report this to bug-autoconf@gnu.org. ##
13456## ------------------------------------ ##
13457_ASBOX
13458 ) |
13459 sed "s/^/$as_me: WARNING: /" >&2
13460 ;;
13461esac
13462echo "$as_me:$LINENO: checking for $ac_header" >&5
13463echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13464if eval "test \"\${$as_ac_Header+set}\" = set"; then
13465 echo $ECHO_N "(cached) $ECHO_C" >&6
13466else
13467 eval "$as_ac_Header=$ac_header_preproc"
13468fi
13469echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13470echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13471
13472fi
13473if test `eval echo '${'$as_ac_Header'}'` = yes; then
13474 cat >>confdefs.h <<_ACEOF
13475#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13476_ACEOF
13477
13478fi
13479
13480done
13481
13482
13483for ac_header in X11/XKBlib.h
13484do
13485as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13486echo "$as_me:$LINENO: checking for $ac_header" >&5
13487echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13488if eval "test \"\${$as_ac_Header+set}\" = set"; then
13489 echo $ECHO_N "(cached) $ECHO_C" >&6
13490else
13491 cat >conftest.$ac_ext <<_ACEOF
13492#line $LINENO "configure"
13493/* confdefs.h. */
13494_ACEOF
13495cat confdefs.h >>conftest.$ac_ext
13496cat >>conftest.$ac_ext <<_ACEOF
13497/* end confdefs.h. */
13498
13499 #if HAVE_X11_XLIB_H
13500 #include <X11/Xlib.h>
13501 #endif
13502
13503
13504#include <$ac_header>
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 eval "$as_ac_Header=yes"
13519else
13520 echo "$as_me: failed program was:" >&5
13521sed 's/^/| /' conftest.$ac_ext >&5
13522
13523eval "$as_ac_Header=no"
13524fi
13525rm -f conftest.$ac_objext conftest.$ac_ext
13526fi
13527echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13528echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13529if test `eval echo '${'$as_ac_Header'}'` = yes; then
13530 cat >>confdefs.h <<_ACEOF
13531#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13532_ACEOF
13533
13534fi
13535
13536done
13537
13538 fi
13539fi
13540
13541
13542echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13543echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13544if test "${ac_cv_c_const+set}" = set; then
13545 echo $ECHO_N "(cached) $ECHO_C" >&6
13546else
13547 cat >conftest.$ac_ext <<_ACEOF
13548#line $LINENO "configure"
13549/* confdefs.h. */
13550_ACEOF
13551cat confdefs.h >>conftest.$ac_ext
13552cat >>conftest.$ac_ext <<_ACEOF
13553/* end confdefs.h. */
13554
13555int
13556main ()
13557{
13558/* FIXME: Include the comments suggested by Paul. */
13559#ifndef __cplusplus
13560 /* Ultrix mips cc rejects this. */
13561 typedef int charset[2];
13562 const charset x;
13563 /* SunOS 4.1.1 cc rejects this. */
13564 char const *const *ccp;
13565 char **p;
13566 /* NEC SVR4.0.2 mips cc rejects this. */
13567 struct point {int x, y;};
13568 static struct point const zero = {0,0};
13569 /* AIX XL C 1.02.0.0 rejects this.
13570 It does not let you subtract one const X* pointer from another in
13571 an arm of an if-expression whose if-part is not a constant
13572 expression */
13573 const char *g = "string";
13574 ccp = &g + (g ? g-g : 0);
13575 /* HPUX 7.0 cc rejects these. */
13576 ++ccp;
13577 p = (char**) ccp;
13578 ccp = (char const *const *) p;
13579 { /* SCO 3.2v4 cc rejects this. */
13580 char *t;
13581 char const *s = 0 ? (char *) 0 : (char const *) 0;
13582
13583 *t++ = 0;
13584 }
13585 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13586 int x[] = {25, 17};
13587 const int *foo = &x[0];
13588 ++foo;
13589 }
13590 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13591 typedef const int *iptr;
13592 iptr p = 0;
13593 ++p;
13594 }
13595 { /* AIX XL C 1.02.0.0 rejects this saying
13596 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13597 struct s { int j; const int *ap[3]; };
13598 struct s *b; b->j = 5;
13599 }
13600 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13601 const int foo = 10;
13602 }
13603#endif
13604
13605 ;
13606 return 0;
13607}
13608_ACEOF
13609rm -f conftest.$ac_objext
13610if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13611 (eval $ac_compile) 2>&5
13612 ac_status=$?
13613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13614 (exit $ac_status); } &&
13615 { ac_try='test -s conftest.$ac_objext'
13616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13617 (eval $ac_try) 2>&5
13618 ac_status=$?
13619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13620 (exit $ac_status); }; }; then
13621 ac_cv_c_const=yes
13622else
13623 echo "$as_me: failed program was:" >&5
13624sed 's/^/| /' conftest.$ac_ext >&5
13625
13626ac_cv_c_const=no
13627fi
13628rm -f conftest.$ac_objext conftest.$ac_ext
13629fi
13630echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13631echo "${ECHO_T}$ac_cv_c_const" >&6
13632if test $ac_cv_c_const = no; then
13633
13634cat >>confdefs.h <<\_ACEOF
13635#define const
13636_ACEOF
13637
13638fi
13639
13640echo "$as_me:$LINENO: checking for inline" >&5
13641echo $ECHO_N "checking for inline... $ECHO_C" >&6
13642if test "${ac_cv_c_inline+set}" = set; then
13643 echo $ECHO_N "(cached) $ECHO_C" >&6
13644else
13645 ac_cv_c_inline=no
13646for ac_kw in inline __inline__ __inline; do
13647 cat >conftest.$ac_ext <<_ACEOF
13648#line $LINENO "configure"
13649/* confdefs.h. */
13650_ACEOF
13651cat confdefs.h >>conftest.$ac_ext
13652cat >>conftest.$ac_ext <<_ACEOF
13653/* end confdefs.h. */
13654#ifndef __cplusplus
13655typedef int foo_t;
13656static $ac_kw foo_t static_foo () {return 0; }
13657$ac_kw foo_t foo () {return 0; }
13658#endif
13659
13660_ACEOF
13661rm -f conftest.$ac_objext
13662if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13663 (eval $ac_compile) 2>&5
13664 ac_status=$?
13665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13666 (exit $ac_status); } &&
13667 { ac_try='test -s conftest.$ac_objext'
13668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13669 (eval $ac_try) 2>&5
13670 ac_status=$?
13671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13672 (exit $ac_status); }; }; then
13673 ac_cv_c_inline=$ac_kw; break
13674else
13675 echo "$as_me: failed program was:" >&5
13676sed 's/^/| /' conftest.$ac_ext >&5
13677
13678fi
13679rm -f conftest.$ac_objext conftest.$ac_ext
13680done
13681
13682fi
13683echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13684echo "${ECHO_T}$ac_cv_c_inline" >&6
13685case $ac_cv_c_inline in
13686 inline | yes) ;;
13687 no)
13688cat >>confdefs.h <<\_ACEOF
13689#define inline
13690_ACEOF
13691 ;;
13692 *) cat >>confdefs.h <<_ACEOF
13693#define inline $ac_cv_c_inline
13694_ACEOF
13695 ;;
13696esac
13697
13698
13699echo "$as_me:$LINENO: checking for char" >&5
13700echo $ECHO_N "checking for char... $ECHO_C" >&6
13701if test "${ac_cv_type_char+set}" = set; then
13702 echo $ECHO_N "(cached) $ECHO_C" >&6
13703else
13704 cat >conftest.$ac_ext <<_ACEOF
13705#line $LINENO "configure"
13706/* confdefs.h. */
13707_ACEOF
13708cat confdefs.h >>conftest.$ac_ext
13709cat >>conftest.$ac_ext <<_ACEOF
13710/* end confdefs.h. */
13711$ac_includes_default
13712int
13713main ()
13714{
13715if ((char *) 0)
13716 return 0;
13717if (sizeof (char))
13718 return 0;
13719 ;
13720 return 0;
13721}
13722_ACEOF
13723rm -f conftest.$ac_objext
13724if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13725 (eval $ac_compile) 2>&5
13726 ac_status=$?
13727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13728 (exit $ac_status); } &&
13729 { ac_try='test -s conftest.$ac_objext'
13730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13731 (eval $ac_try) 2>&5
13732 ac_status=$?
13733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13734 (exit $ac_status); }; }; then
13735 ac_cv_type_char=yes
13736else
13737 echo "$as_me: failed program was:" >&5
13738sed 's/^/| /' conftest.$ac_ext >&5
13739
13740ac_cv_type_char=no
13741fi
13742rm -f conftest.$ac_objext conftest.$ac_ext
13743fi
13744echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13745echo "${ECHO_T}$ac_cv_type_char" >&6
13746
13747echo "$as_me:$LINENO: checking size of char" >&5
13748echo $ECHO_N "checking size of char... $ECHO_C" >&6
13749if test "${ac_cv_sizeof_char+set}" = set; then
13750 echo $ECHO_N "(cached) $ECHO_C" >&6
13751else
13752 if test "$ac_cv_type_char" = yes; then
13753 # The cast to unsigned long works around a bug in the HP C Compiler
13754 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13755 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13756 # This bug is HP SR number 8606223364.
13757 if test "$cross_compiling" = yes; then
13758 # Depending upon the size, compute the lo and hi bounds.
13759cat >conftest.$ac_ext <<_ACEOF
13760#line $LINENO "configure"
13761/* confdefs.h. */
13762_ACEOF
13763cat confdefs.h >>conftest.$ac_ext
13764cat >>conftest.$ac_ext <<_ACEOF
13765/* end confdefs.h. */
13766$ac_includes_default
13767int
13768main ()
13769{
13770static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13771test_array [0] = 0
13772
13773 ;
13774 return 0;
13775}
13776_ACEOF
13777rm -f conftest.$ac_objext
13778if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13779 (eval $ac_compile) 2>&5
13780 ac_status=$?
13781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13782 (exit $ac_status); } &&
13783 { ac_try='test -s conftest.$ac_objext'
13784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13785 (eval $ac_try) 2>&5
13786 ac_status=$?
13787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13788 (exit $ac_status); }; }; then
13789 ac_lo=0 ac_mid=0
13790 while :; do
13791 cat >conftest.$ac_ext <<_ACEOF
13792#line $LINENO "configure"
13793/* confdefs.h. */
13794_ACEOF
13795cat confdefs.h >>conftest.$ac_ext
13796cat >>conftest.$ac_ext <<_ACEOF
13797/* end confdefs.h. */
13798$ac_includes_default
13799int
13800main ()
13801{
13802static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13803test_array [0] = 0
13804
13805 ;
13806 return 0;
13807}
13808_ACEOF
13809rm -f conftest.$ac_objext
13810if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13811 (eval $ac_compile) 2>&5
13812 ac_status=$?
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); } &&
13815 { ac_try='test -s conftest.$ac_objext'
13816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13817 (eval $ac_try) 2>&5
13818 ac_status=$?
13819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13820 (exit $ac_status); }; }; then
13821 ac_hi=$ac_mid; break
13822else
13823 echo "$as_me: failed program was:" >&5
13824sed 's/^/| /' conftest.$ac_ext >&5
13825
13826ac_lo=`expr $ac_mid + 1`
13827 if test $ac_lo -le $ac_mid; then
13828 ac_lo= ac_hi=
13829 break
13830 fi
13831 ac_mid=`expr 2 '*' $ac_mid + 1`
13832fi
13833rm -f conftest.$ac_objext conftest.$ac_ext
13834 done
13835else
13836 echo "$as_me: failed program was:" >&5
13837sed 's/^/| /' conftest.$ac_ext >&5
13838
13839cat >conftest.$ac_ext <<_ACEOF
13840#line $LINENO "configure"
13841/* confdefs.h. */
13842_ACEOF
13843cat confdefs.h >>conftest.$ac_ext
13844cat >>conftest.$ac_ext <<_ACEOF
13845/* end confdefs.h. */
13846$ac_includes_default
13847int
13848main ()
13849{
13850static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13851test_array [0] = 0
13852
13853 ;
13854 return 0;
13855}
13856_ACEOF
13857rm -f conftest.$ac_objext
13858if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13859 (eval $ac_compile) 2>&5
13860 ac_status=$?
13861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13862 (exit $ac_status); } &&
13863 { ac_try='test -s conftest.$ac_objext'
13864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13865 (eval $ac_try) 2>&5
13866 ac_status=$?
13867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13868 (exit $ac_status); }; }; then
13869 ac_hi=-1 ac_mid=-1
13870 while :; do
13871 cat >conftest.$ac_ext <<_ACEOF
13872#line $LINENO "configure"
13873/* confdefs.h. */
13874_ACEOF
13875cat confdefs.h >>conftest.$ac_ext
13876cat >>conftest.$ac_ext <<_ACEOF
13877/* end confdefs.h. */
13878$ac_includes_default
13879int
13880main ()
13881{
13882static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13883test_array [0] = 0
13884
13885 ;
13886 return 0;
13887}
13888_ACEOF
13889rm -f conftest.$ac_objext
13890if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13891 (eval $ac_compile) 2>&5
13892 ac_status=$?
13893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13894 (exit $ac_status); } &&
13895 { ac_try='test -s conftest.$ac_objext'
13896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13897 (eval $ac_try) 2>&5
13898 ac_status=$?
13899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13900 (exit $ac_status); }; }; then
13901 ac_lo=$ac_mid; break
13902else
13903 echo "$as_me: failed program was:" >&5
13904sed 's/^/| /' conftest.$ac_ext >&5
13905
13906ac_hi=`expr '(' $ac_mid ')' - 1`
13907 if test $ac_mid -le $ac_hi; then
13908 ac_lo= ac_hi=
13909 break
13910 fi
13911 ac_mid=`expr 2 '*' $ac_mid`
13912fi
13913rm -f conftest.$ac_objext conftest.$ac_ext
13914 done
13915else
13916 echo "$as_me: failed program was:" >&5
13917sed 's/^/| /' conftest.$ac_ext >&5
13918
13919ac_lo= ac_hi=
13920fi
13921rm -f conftest.$ac_objext conftest.$ac_ext
13922fi
13923rm -f conftest.$ac_objext conftest.$ac_ext
13924# Binary search between lo and hi bounds.
13925while test "x$ac_lo" != "x$ac_hi"; do
13926 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13927 cat >conftest.$ac_ext <<_ACEOF
13928#line $LINENO "configure"
13929/* confdefs.h. */
13930_ACEOF
13931cat confdefs.h >>conftest.$ac_ext
13932cat >>conftest.$ac_ext <<_ACEOF
13933/* end confdefs.h. */
13934$ac_includes_default
13935int
13936main ()
13937{
13938static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13939test_array [0] = 0
13940
13941 ;
13942 return 0;
13943}
13944_ACEOF
13945rm -f conftest.$ac_objext
13946if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13947 (eval $ac_compile) 2>&5
13948 ac_status=$?
13949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13950 (exit $ac_status); } &&
13951 { ac_try='test -s conftest.$ac_objext'
13952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13953 (eval $ac_try) 2>&5
13954 ac_status=$?
13955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 (exit $ac_status); }; }; then
13957 ac_hi=$ac_mid
13958else
13959 echo "$as_me: failed program was:" >&5
13960sed 's/^/| /' conftest.$ac_ext >&5
13961
13962ac_lo=`expr '(' $ac_mid ')' + 1`
13963fi
13964rm -f conftest.$ac_objext conftest.$ac_ext
13965done
13966case $ac_lo in
13967?*) ac_cv_sizeof_char=$ac_lo;;
13968'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13969See \`config.log' for more details." >&5
13970echo "$as_me: error: cannot compute sizeof (char), 77
13971See \`config.log' for more details." >&2;}
13972 { (exit 1); exit 1; }; } ;;
13973esac
13974else
13975 if test "$cross_compiling" = yes; then
13976 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13977See \`config.log' for more details." >&5
13978echo "$as_me: error: cannot run test program while cross compiling
13979See \`config.log' for more details." >&2;}
13980 { (exit 1); exit 1; }; }
13981else
13982 cat >conftest.$ac_ext <<_ACEOF
13983#line $LINENO "configure"
13984/* confdefs.h. */
13985_ACEOF
13986cat confdefs.h >>conftest.$ac_ext
13987cat >>conftest.$ac_ext <<_ACEOF
13988/* end confdefs.h. */
13989$ac_includes_default
13990long longval () { return (long) (sizeof (char)); }
13991unsigned long ulongval () { return (long) (sizeof (char)); }
13992#include <stdio.h>
13993#include <stdlib.h>
13994int
13995main ()
13996{
13997
13998 FILE *f = fopen ("conftest.val", "w");
13999 if (! f)
14000 exit (1);
14001 if (((long) (sizeof (char))) < 0)
14002 {
14003 long i = longval ();
14004 if (i != ((long) (sizeof (char))))
14005 exit (1);
14006 fprintf (f, "%ld\n", i);
14007 }
14008 else
14009 {
14010 unsigned long i = ulongval ();
14011 if (i != ((long) (sizeof (char))))
14012 exit (1);
14013 fprintf (f, "%lu\n", i);
14014 }
14015 exit (ferror (f) || fclose (f) != 0);
14016
14017 ;
14018 return 0;
14019}
14020_ACEOF
14021rm -f conftest$ac_exeext
14022if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14023 (eval $ac_link) 2>&5
14024 ac_status=$?
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14028 (eval $ac_try) 2>&5
14029 ac_status=$?
14030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14031 (exit $ac_status); }; }; then
14032 ac_cv_sizeof_char=`cat conftest.val`
14033else
14034 echo "$as_me: program exited with status $ac_status" >&5
14035echo "$as_me: failed program was:" >&5
14036sed 's/^/| /' conftest.$ac_ext >&5
14037
14038( exit $ac_status )
14039{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14040See \`config.log' for more details." >&5
14041echo "$as_me: error: cannot compute sizeof (char), 77
14042See \`config.log' for more details." >&2;}
14043 { (exit 1); exit 1; }; }
14044fi
14045rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14046fi
14047fi
14048rm -f conftest.val
14049else
14050 ac_cv_sizeof_char=0
14051fi
14052fi
14053echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14054echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14055cat >>confdefs.h <<_ACEOF
14056#define SIZEOF_CHAR $ac_cv_sizeof_char
14057_ACEOF
14058
14059
14060echo "$as_me:$LINENO: checking for short" >&5
14061echo $ECHO_N "checking for short... $ECHO_C" >&6
14062if test "${ac_cv_type_short+set}" = set; then
14063 echo $ECHO_N "(cached) $ECHO_C" >&6
14064else
14065 cat >conftest.$ac_ext <<_ACEOF
14066#line $LINENO "configure"
14067/* confdefs.h. */
14068_ACEOF
14069cat confdefs.h >>conftest.$ac_ext
14070cat >>conftest.$ac_ext <<_ACEOF
14071/* end confdefs.h. */
14072$ac_includes_default
14073int
14074main ()
14075{
14076if ((short *) 0)
14077 return 0;
14078if (sizeof (short))
14079 return 0;
14080 ;
14081 return 0;
14082}
14083_ACEOF
14084rm -f conftest.$ac_objext
14085if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14086 (eval $ac_compile) 2>&5
14087 ac_status=$?
14088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 (exit $ac_status); } &&
14090 { ac_try='test -s conftest.$ac_objext'
14091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14092 (eval $ac_try) 2>&5
14093 ac_status=$?
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); }; }; then
14096 ac_cv_type_short=yes
14097else
14098 echo "$as_me: failed program was:" >&5
14099sed 's/^/| /' conftest.$ac_ext >&5
14100
14101ac_cv_type_short=no
14102fi
14103rm -f conftest.$ac_objext conftest.$ac_ext
14104fi
14105echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14106echo "${ECHO_T}$ac_cv_type_short" >&6
14107
14108echo "$as_me:$LINENO: checking size of short" >&5
14109echo $ECHO_N "checking size of short... $ECHO_C" >&6
14110if test "${ac_cv_sizeof_short+set}" = set; then
14111 echo $ECHO_N "(cached) $ECHO_C" >&6
14112else
14113 if test "$ac_cv_type_short" = yes; then
14114 # The cast to unsigned long works around a bug in the HP C Compiler
14115 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14116 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14117 # This bug is HP SR number 8606223364.
14118 if test "$cross_compiling" = yes; then
14119 # Depending upon the size, compute the lo and hi bounds.
14120cat >conftest.$ac_ext <<_ACEOF
14121#line $LINENO "configure"
14122/* confdefs.h. */
14123_ACEOF
14124cat confdefs.h >>conftest.$ac_ext
14125cat >>conftest.$ac_ext <<_ACEOF
14126/* end confdefs.h. */
14127$ac_includes_default
14128int
14129main ()
14130{
14131static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14132test_array [0] = 0
14133
14134 ;
14135 return 0;
14136}
14137_ACEOF
14138rm -f conftest.$ac_objext
14139if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14140 (eval $ac_compile) 2>&5
14141 ac_status=$?
14142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143 (exit $ac_status); } &&
14144 { ac_try='test -s conftest.$ac_objext'
14145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14146 (eval $ac_try) 2>&5
14147 ac_status=$?
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); }; }; then
14150 ac_lo=0 ac_mid=0
14151 while :; do
14152 cat >conftest.$ac_ext <<_ACEOF
14153#line $LINENO "configure"
14154/* confdefs.h. */
14155_ACEOF
14156cat confdefs.h >>conftest.$ac_ext
14157cat >>conftest.$ac_ext <<_ACEOF
14158/* end confdefs.h. */
14159$ac_includes_default
14160int
14161main ()
14162{
14163static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14164test_array [0] = 0
14165
14166 ;
14167 return 0;
14168}
14169_ACEOF
14170rm -f conftest.$ac_objext
14171if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14172 (eval $ac_compile) 2>&5
14173 ac_status=$?
14174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14175 (exit $ac_status); } &&
14176 { ac_try='test -s conftest.$ac_objext'
14177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14178 (eval $ac_try) 2>&5
14179 ac_status=$?
14180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14181 (exit $ac_status); }; }; then
14182 ac_hi=$ac_mid; break
14183else
14184 echo "$as_me: failed program was:" >&5
14185sed 's/^/| /' conftest.$ac_ext >&5
14186
14187ac_lo=`expr $ac_mid + 1`
14188 if test $ac_lo -le $ac_mid; then
14189 ac_lo= ac_hi=
14190 break
14191 fi
14192 ac_mid=`expr 2 '*' $ac_mid + 1`
14193fi
14194rm -f conftest.$ac_objext conftest.$ac_ext
14195 done
14196else
14197 echo "$as_me: failed program was:" >&5
14198sed 's/^/| /' conftest.$ac_ext >&5
14199
14200cat >conftest.$ac_ext <<_ACEOF
14201#line $LINENO "configure"
14202/* confdefs.h. */
14203_ACEOF
14204cat confdefs.h >>conftest.$ac_ext
14205cat >>conftest.$ac_ext <<_ACEOF
14206/* end confdefs.h. */
14207$ac_includes_default
14208int
14209main ()
14210{
14211static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14212test_array [0] = 0
14213
14214 ;
14215 return 0;
14216}
14217_ACEOF
14218rm -f conftest.$ac_objext
14219if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14220 (eval $ac_compile) 2>&5
14221 ac_status=$?
14222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14223 (exit $ac_status); } &&
14224 { ac_try='test -s conftest.$ac_objext'
14225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14226 (eval $ac_try) 2>&5
14227 ac_status=$?
14228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229 (exit $ac_status); }; }; then
14230 ac_hi=-1 ac_mid=-1
14231 while :; do
14232 cat >conftest.$ac_ext <<_ACEOF
14233#line $LINENO "configure"
14234/* confdefs.h. */
14235_ACEOF
14236cat confdefs.h >>conftest.$ac_ext
14237cat >>conftest.$ac_ext <<_ACEOF
14238/* end confdefs.h. */
14239$ac_includes_default
14240int
14241main ()
14242{
14243static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14244test_array [0] = 0
14245
14246 ;
14247 return 0;
14248}
14249_ACEOF
14250rm -f conftest.$ac_objext
14251if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14252 (eval $ac_compile) 2>&5
14253 ac_status=$?
14254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14255 (exit $ac_status); } &&
14256 { ac_try='test -s conftest.$ac_objext'
14257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14258 (eval $ac_try) 2>&5
14259 ac_status=$?
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 (exit $ac_status); }; }; then
14262 ac_lo=$ac_mid; break
14263else
14264 echo "$as_me: failed program was:" >&5
14265sed 's/^/| /' conftest.$ac_ext >&5
14266
14267ac_hi=`expr '(' $ac_mid ')' - 1`
14268 if test $ac_mid -le $ac_hi; then
14269 ac_lo= ac_hi=
14270 break
14271 fi
14272 ac_mid=`expr 2 '*' $ac_mid`
14273fi
14274rm -f conftest.$ac_objext conftest.$ac_ext
14275 done
14276else
14277 echo "$as_me: failed program was:" >&5
14278sed 's/^/| /' conftest.$ac_ext >&5
14279
14280ac_lo= ac_hi=
14281fi
14282rm -f conftest.$ac_objext conftest.$ac_ext
14283fi
14284rm -f conftest.$ac_objext conftest.$ac_ext
14285# Binary search between lo and hi bounds.
14286while test "x$ac_lo" != "x$ac_hi"; do
14287 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14288 cat >conftest.$ac_ext <<_ACEOF
14289#line $LINENO "configure"
14290/* confdefs.h. */
14291_ACEOF
14292cat confdefs.h >>conftest.$ac_ext
14293cat >>conftest.$ac_ext <<_ACEOF
14294/* end confdefs.h. */
14295$ac_includes_default
14296int
14297main ()
14298{
14299static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14300test_array [0] = 0
14301
14302 ;
14303 return 0;
14304}
14305_ACEOF
14306rm -f conftest.$ac_objext
14307if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14308 (eval $ac_compile) 2>&5
14309 ac_status=$?
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); } &&
14312 { ac_try='test -s conftest.$ac_objext'
14313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14314 (eval $ac_try) 2>&5
14315 ac_status=$?
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); }; }; then
14318 ac_hi=$ac_mid
14319else
14320 echo "$as_me: failed program was:" >&5
14321sed 's/^/| /' conftest.$ac_ext >&5
14322
14323ac_lo=`expr '(' $ac_mid ')' + 1`
14324fi
14325rm -f conftest.$ac_objext conftest.$ac_ext
14326done
14327case $ac_lo in
14328?*) ac_cv_sizeof_short=$ac_lo;;
14329'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14330See \`config.log' for more details." >&5
14331echo "$as_me: error: cannot compute sizeof (short), 77
14332See \`config.log' for more details." >&2;}
14333 { (exit 1); exit 1; }; } ;;
14334esac
14335else
14336 if test "$cross_compiling" = yes; then
14337 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14338See \`config.log' for more details." >&5
14339echo "$as_me: error: cannot run test program while cross compiling
14340See \`config.log' for more details." >&2;}
14341 { (exit 1); exit 1; }; }
14342else
14343 cat >conftest.$ac_ext <<_ACEOF
14344#line $LINENO "configure"
14345/* confdefs.h. */
14346_ACEOF
14347cat confdefs.h >>conftest.$ac_ext
14348cat >>conftest.$ac_ext <<_ACEOF
14349/* end confdefs.h. */
14350$ac_includes_default
14351long longval () { return (long) (sizeof (short)); }
14352unsigned long ulongval () { return (long) (sizeof (short)); }
14353#include <stdio.h>
14354#include <stdlib.h>
14355int
14356main ()
14357{
14358
14359 FILE *f = fopen ("conftest.val", "w");
14360 if (! f)
14361 exit (1);
14362 if (((long) (sizeof (short))) < 0)
14363 {
14364 long i = longval ();
14365 if (i != ((long) (sizeof (short))))
14366 exit (1);
14367 fprintf (f, "%ld\n", i);
14368 }
14369 else
14370 {
14371 unsigned long i = ulongval ();
14372 if (i != ((long) (sizeof (short))))
14373 exit (1);
14374 fprintf (f, "%lu\n", i);
14375 }
14376 exit (ferror (f) || fclose (f) != 0);
14377
14378 ;
14379 return 0;
14380}
14381_ACEOF
14382rm -f conftest$ac_exeext
14383if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14384 (eval $ac_link) 2>&5
14385 ac_status=$?
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14389 (eval $ac_try) 2>&5
14390 ac_status=$?
14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); }; }; then
14393 ac_cv_sizeof_short=`cat conftest.val`
14394else
14395 echo "$as_me: program exited with status $ac_status" >&5
14396echo "$as_me: failed program was:" >&5
14397sed 's/^/| /' conftest.$ac_ext >&5
14398
14399( exit $ac_status )
14400{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14401See \`config.log' for more details." >&5
14402echo "$as_me: error: cannot compute sizeof (short), 77
14403See \`config.log' for more details." >&2;}
14404 { (exit 1); exit 1; }; }
14405fi
14406rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14407fi
14408fi
14409rm -f conftest.val
14410else
14411 ac_cv_sizeof_short=0
14412fi
14413fi
14414echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14415echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14416cat >>confdefs.h <<_ACEOF
14417#define SIZEOF_SHORT $ac_cv_sizeof_short
14418_ACEOF
14419
14420
14421echo "$as_me:$LINENO: checking for void *" >&5
14422echo $ECHO_N "checking for void *... $ECHO_C" >&6
14423if test "${ac_cv_type_void_p+set}" = set; then
14424 echo $ECHO_N "(cached) $ECHO_C" >&6
14425else
14426 cat >conftest.$ac_ext <<_ACEOF
14427#line $LINENO "configure"
14428/* confdefs.h. */
14429_ACEOF
14430cat confdefs.h >>conftest.$ac_ext
14431cat >>conftest.$ac_ext <<_ACEOF
14432/* end confdefs.h. */
14433$ac_includes_default
14434int
14435main ()
14436{
14437if ((void * *) 0)
14438 return 0;
14439if (sizeof (void *))
14440 return 0;
14441 ;
14442 return 0;
14443}
14444_ACEOF
14445rm -f conftest.$ac_objext
14446if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14447 (eval $ac_compile) 2>&5
14448 ac_status=$?
14449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450 (exit $ac_status); } &&
14451 { ac_try='test -s conftest.$ac_objext'
14452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14453 (eval $ac_try) 2>&5
14454 ac_status=$?
14455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14456 (exit $ac_status); }; }; then
14457 ac_cv_type_void_p=yes
14458else
14459 echo "$as_me: failed program was:" >&5
14460sed 's/^/| /' conftest.$ac_ext >&5
14461
14462ac_cv_type_void_p=no
14463fi
14464rm -f conftest.$ac_objext conftest.$ac_ext
14465fi
14466echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14467echo "${ECHO_T}$ac_cv_type_void_p" >&6
14468
14469echo "$as_me:$LINENO: checking size of void *" >&5
14470echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14471if test "${ac_cv_sizeof_void_p+set}" = set; then
14472 echo $ECHO_N "(cached) $ECHO_C" >&6
14473else
14474 if test "$ac_cv_type_void_p" = yes; then
14475 # The cast to unsigned long works around a bug in the HP C Compiler
14476 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14477 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14478 # This bug is HP SR number 8606223364.
14479 if test "$cross_compiling" = yes; then
14480 # Depending upon the size, compute the lo and hi bounds.
14481cat >conftest.$ac_ext <<_ACEOF
14482#line $LINENO "configure"
14483/* confdefs.h. */
14484_ACEOF
14485cat confdefs.h >>conftest.$ac_ext
14486cat >>conftest.$ac_ext <<_ACEOF
14487/* end confdefs.h. */
14488$ac_includes_default
14489int
14490main ()
14491{
14492static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14493test_array [0] = 0
14494
14495 ;
14496 return 0;
14497}
14498_ACEOF
14499rm -f conftest.$ac_objext
14500if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14501 (eval $ac_compile) 2>&5
14502 ac_status=$?
14503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14504 (exit $ac_status); } &&
14505 { ac_try='test -s conftest.$ac_objext'
14506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14507 (eval $ac_try) 2>&5
14508 ac_status=$?
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); }; }; then
14511 ac_lo=0 ac_mid=0
14512 while :; do
14513 cat >conftest.$ac_ext <<_ACEOF
14514#line $LINENO "configure"
14515/* confdefs.h. */
14516_ACEOF
14517cat confdefs.h >>conftest.$ac_ext
14518cat >>conftest.$ac_ext <<_ACEOF
14519/* end confdefs.h. */
14520$ac_includes_default
14521int
14522main ()
14523{
14524static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14525test_array [0] = 0
14526
14527 ;
14528 return 0;
14529}
14530_ACEOF
14531rm -f conftest.$ac_objext
14532if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14533 (eval $ac_compile) 2>&5
14534 ac_status=$?
14535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14536 (exit $ac_status); } &&
14537 { ac_try='test -s conftest.$ac_objext'
14538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14539 (eval $ac_try) 2>&5
14540 ac_status=$?
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 (exit $ac_status); }; }; then
14543 ac_hi=$ac_mid; break
14544else
14545 echo "$as_me: failed program was:" >&5
14546sed 's/^/| /' conftest.$ac_ext >&5
14547
14548ac_lo=`expr $ac_mid + 1`
14549 if test $ac_lo -le $ac_mid; then
14550 ac_lo= ac_hi=
14551 break
14552 fi
14553 ac_mid=`expr 2 '*' $ac_mid + 1`
14554fi
14555rm -f conftest.$ac_objext conftest.$ac_ext
14556 done
14557else
14558 echo "$as_me: failed program was:" >&5
14559sed 's/^/| /' conftest.$ac_ext >&5
14560
14561cat >conftest.$ac_ext <<_ACEOF
14562#line $LINENO "configure"
14563/* confdefs.h. */
14564_ACEOF
14565cat confdefs.h >>conftest.$ac_ext
14566cat >>conftest.$ac_ext <<_ACEOF
14567/* end confdefs.h. */
14568$ac_includes_default
14569int
14570main ()
14571{
14572static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14573test_array [0] = 0
14574
14575 ;
14576 return 0;
14577}
14578_ACEOF
14579rm -f conftest.$ac_objext
14580if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14581 (eval $ac_compile) 2>&5
14582 ac_status=$?
14583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14584 (exit $ac_status); } &&
14585 { ac_try='test -s conftest.$ac_objext'
14586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14587 (eval $ac_try) 2>&5
14588 ac_status=$?
14589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590 (exit $ac_status); }; }; then
14591 ac_hi=-1 ac_mid=-1
14592 while :; do
14593 cat >conftest.$ac_ext <<_ACEOF
14594#line $LINENO "configure"
14595/* confdefs.h. */
14596_ACEOF
14597cat confdefs.h >>conftest.$ac_ext
14598cat >>conftest.$ac_ext <<_ACEOF
14599/* end confdefs.h. */
14600$ac_includes_default
14601int
14602main ()
14603{
14604static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14605test_array [0] = 0
14606
14607 ;
14608 return 0;
14609}
14610_ACEOF
14611rm -f conftest.$ac_objext
14612if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14613 (eval $ac_compile) 2>&5
14614 ac_status=$?
14615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14616 (exit $ac_status); } &&
14617 { ac_try='test -s conftest.$ac_objext'
14618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14619 (eval $ac_try) 2>&5
14620 ac_status=$?
14621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14622 (exit $ac_status); }; }; then
14623 ac_lo=$ac_mid; break
14624else
14625 echo "$as_me: failed program was:" >&5
14626sed 's/^/| /' conftest.$ac_ext >&5
14627
14628ac_hi=`expr '(' $ac_mid ')' - 1`
14629 if test $ac_mid -le $ac_hi; then
14630 ac_lo= ac_hi=
14631 break
14632 fi
14633 ac_mid=`expr 2 '*' $ac_mid`
14634fi
14635rm -f conftest.$ac_objext conftest.$ac_ext
14636 done
14637else
14638 echo "$as_me: failed program was:" >&5
14639sed 's/^/| /' conftest.$ac_ext >&5
14640
14641ac_lo= ac_hi=
14642fi
14643rm -f conftest.$ac_objext conftest.$ac_ext
14644fi
14645rm -f conftest.$ac_objext conftest.$ac_ext
14646# Binary search between lo and hi bounds.
14647while test "x$ac_lo" != "x$ac_hi"; do
14648 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14649 cat >conftest.$ac_ext <<_ACEOF
14650#line $LINENO "configure"
14651/* confdefs.h. */
14652_ACEOF
14653cat confdefs.h >>conftest.$ac_ext
14654cat >>conftest.$ac_ext <<_ACEOF
14655/* end confdefs.h. */
14656$ac_includes_default
14657int
14658main ()
14659{
14660static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14661test_array [0] = 0
14662
14663 ;
14664 return 0;
14665}
14666_ACEOF
14667rm -f conftest.$ac_objext
14668if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14669 (eval $ac_compile) 2>&5
14670 ac_status=$?
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); } &&
14673 { ac_try='test -s conftest.$ac_objext'
14674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14675 (eval $ac_try) 2>&5
14676 ac_status=$?
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); }; }; then
14679 ac_hi=$ac_mid
14680else
14681 echo "$as_me: failed program was:" >&5
14682sed 's/^/| /' conftest.$ac_ext >&5
14683
14684ac_lo=`expr '(' $ac_mid ')' + 1`
14685fi
14686rm -f conftest.$ac_objext conftest.$ac_ext
14687done
14688case $ac_lo in
14689?*) ac_cv_sizeof_void_p=$ac_lo;;
14690'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14691See \`config.log' for more details." >&5
14692echo "$as_me: error: cannot compute sizeof (void *), 77
14693See \`config.log' for more details." >&2;}
14694 { (exit 1); exit 1; }; } ;;
14695esac
14696else
14697 if test "$cross_compiling" = yes; then
14698 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14699See \`config.log' for more details." >&5
14700echo "$as_me: error: cannot run test program while cross compiling
14701See \`config.log' for more details." >&2;}
14702 { (exit 1); exit 1; }; }
14703else
14704 cat >conftest.$ac_ext <<_ACEOF
14705#line $LINENO "configure"
14706/* confdefs.h. */
14707_ACEOF
14708cat confdefs.h >>conftest.$ac_ext
14709cat >>conftest.$ac_ext <<_ACEOF
14710/* end confdefs.h. */
14711$ac_includes_default
14712long longval () { return (long) (sizeof (void *)); }
14713unsigned long ulongval () { return (long) (sizeof (void *)); }
14714#include <stdio.h>
14715#include <stdlib.h>
14716int
14717main ()
14718{
14719
14720 FILE *f = fopen ("conftest.val", "w");
14721 if (! f)
14722 exit (1);
14723 if (((long) (sizeof (void *))) < 0)
14724 {
14725 long i = longval ();
14726 if (i != ((long) (sizeof (void *))))
14727 exit (1);
14728 fprintf (f, "%ld\n", i);
14729 }
14730 else
14731 {
14732 unsigned long i = ulongval ();
14733 if (i != ((long) (sizeof (void *))))
14734 exit (1);
14735 fprintf (f, "%lu\n", i);
14736 }
14737 exit (ferror (f) || fclose (f) != 0);
14738
14739 ;
14740 return 0;
14741}
14742_ACEOF
14743rm -f conftest$ac_exeext
14744if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14745 (eval $ac_link) 2>&5
14746 ac_status=$?
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14750 (eval $ac_try) 2>&5
14751 ac_status=$?
14752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14753 (exit $ac_status); }; }; then
14754 ac_cv_sizeof_void_p=`cat conftest.val`
14755else
14756 echo "$as_me: program exited with status $ac_status" >&5
14757echo "$as_me: failed program was:" >&5
14758sed 's/^/| /' conftest.$ac_ext >&5
14759
14760( exit $ac_status )
14761{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14762See \`config.log' for more details." >&5
14763echo "$as_me: error: cannot compute sizeof (void *), 77
14764See \`config.log' for more details." >&2;}
14765 { (exit 1); exit 1; }; }
14766fi
14767rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14768fi
14769fi
14770rm -f conftest.val
14771else
14772 ac_cv_sizeof_void_p=0
14773fi
14774fi
14775echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14776echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14777cat >>confdefs.h <<_ACEOF
14778#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14779_ACEOF
14780
14781
14782echo "$as_me:$LINENO: checking for int" >&5
14783echo $ECHO_N "checking for int... $ECHO_C" >&6
14784if test "${ac_cv_type_int+set}" = set; then
14785 echo $ECHO_N "(cached) $ECHO_C" >&6
14786else
14787 cat >conftest.$ac_ext <<_ACEOF
14788#line $LINENO "configure"
14789/* confdefs.h. */
14790_ACEOF
14791cat confdefs.h >>conftest.$ac_ext
14792cat >>conftest.$ac_ext <<_ACEOF
14793/* end confdefs.h. */
14794$ac_includes_default
14795int
14796main ()
14797{
14798if ((int *) 0)
14799 return 0;
14800if (sizeof (int))
14801 return 0;
14802 ;
14803 return 0;
14804}
14805_ACEOF
14806rm -f conftest.$ac_objext
14807if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14808 (eval $ac_compile) 2>&5
14809 ac_status=$?
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); } &&
14812 { ac_try='test -s conftest.$ac_objext'
14813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14814 (eval $ac_try) 2>&5
14815 ac_status=$?
14816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14817 (exit $ac_status); }; }; then
14818 ac_cv_type_int=yes
14819else
14820 echo "$as_me: failed program was:" >&5
14821sed 's/^/| /' conftest.$ac_ext >&5
14822
14823ac_cv_type_int=no
14824fi
14825rm -f conftest.$ac_objext conftest.$ac_ext
14826fi
14827echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14828echo "${ECHO_T}$ac_cv_type_int" >&6
14829
14830echo "$as_me:$LINENO: checking size of int" >&5
14831echo $ECHO_N "checking size of int... $ECHO_C" >&6
14832if test "${ac_cv_sizeof_int+set}" = set; then
14833 echo $ECHO_N "(cached) $ECHO_C" >&6
14834else
14835 if test "$ac_cv_type_int" = yes; then
14836 # The cast to unsigned long works around a bug in the HP C Compiler
14837 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14838 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14839 # This bug is HP SR number 8606223364.
14840 if test "$cross_compiling" = yes; then
14841 # Depending upon the size, compute the lo and hi bounds.
14842cat >conftest.$ac_ext <<_ACEOF
14843#line $LINENO "configure"
14844/* confdefs.h. */
14845_ACEOF
14846cat confdefs.h >>conftest.$ac_ext
14847cat >>conftest.$ac_ext <<_ACEOF
14848/* end confdefs.h. */
14849$ac_includes_default
14850int
14851main ()
14852{
14853static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14854test_array [0] = 0
14855
14856 ;
14857 return 0;
14858}
14859_ACEOF
14860rm -f conftest.$ac_objext
14861if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14862 (eval $ac_compile) 2>&5
14863 ac_status=$?
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); } &&
14866 { ac_try='test -s conftest.$ac_objext'
14867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14868 (eval $ac_try) 2>&5
14869 ac_status=$?
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); }; }; then
14872 ac_lo=0 ac_mid=0
14873 while :; do
14874 cat >conftest.$ac_ext <<_ACEOF
14875#line $LINENO "configure"
14876/* confdefs.h. */
14877_ACEOF
14878cat confdefs.h >>conftest.$ac_ext
14879cat >>conftest.$ac_ext <<_ACEOF
14880/* end confdefs.h. */
14881$ac_includes_default
14882int
14883main ()
14884{
14885static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14886test_array [0] = 0
14887
14888 ;
14889 return 0;
14890}
14891_ACEOF
14892rm -f conftest.$ac_objext
14893if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14894 (eval $ac_compile) 2>&5
14895 ac_status=$?
14896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14897 (exit $ac_status); } &&
14898 { ac_try='test -s conftest.$ac_objext'
14899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14900 (eval $ac_try) 2>&5
14901 ac_status=$?
14902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14903 (exit $ac_status); }; }; then
14904 ac_hi=$ac_mid; break
14905else
14906 echo "$as_me: failed program was:" >&5
14907sed 's/^/| /' conftest.$ac_ext >&5
14908
14909ac_lo=`expr $ac_mid + 1`
14910 if test $ac_lo -le $ac_mid; then
14911 ac_lo= ac_hi=
14912 break
14913 fi
14914 ac_mid=`expr 2 '*' $ac_mid + 1`
14915fi
14916rm -f conftest.$ac_objext conftest.$ac_ext
14917 done
14918else
14919 echo "$as_me: failed program was:" >&5
14920sed 's/^/| /' conftest.$ac_ext >&5
14921
14922cat >conftest.$ac_ext <<_ACEOF
14923#line $LINENO "configure"
14924/* confdefs.h. */
14925_ACEOF
14926cat confdefs.h >>conftest.$ac_ext
14927cat >>conftest.$ac_ext <<_ACEOF
14928/* end confdefs.h. */
14929$ac_includes_default
14930int
14931main ()
14932{
14933static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14934test_array [0] = 0
14935
14936 ;
14937 return 0;
14938}
14939_ACEOF
14940rm -f conftest.$ac_objext
14941if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14942 (eval $ac_compile) 2>&5
14943 ac_status=$?
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); } &&
14946 { ac_try='test -s conftest.$ac_objext'
14947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14948 (eval $ac_try) 2>&5
14949 ac_status=$?
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); }; }; then
14952 ac_hi=-1 ac_mid=-1
14953 while :; do
14954 cat >conftest.$ac_ext <<_ACEOF
14955#line $LINENO "configure"
14956/* confdefs.h. */
14957_ACEOF
14958cat confdefs.h >>conftest.$ac_ext
14959cat >>conftest.$ac_ext <<_ACEOF
14960/* end confdefs.h. */
14961$ac_includes_default
14962int
14963main ()
14964{
14965static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14966test_array [0] = 0
14967
14968 ;
14969 return 0;
14970}
14971_ACEOF
14972rm -f conftest.$ac_objext
14973if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14974 (eval $ac_compile) 2>&5
14975 ac_status=$?
14976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14977 (exit $ac_status); } &&
14978 { ac_try='test -s conftest.$ac_objext'
14979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14980 (eval $ac_try) 2>&5
14981 ac_status=$?
14982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14983 (exit $ac_status); }; }; then
14984 ac_lo=$ac_mid; break
14985else
14986 echo "$as_me: failed program was:" >&5
14987sed 's/^/| /' conftest.$ac_ext >&5
14988
14989ac_hi=`expr '(' $ac_mid ')' - 1`
14990 if test $ac_mid -le $ac_hi; then
14991 ac_lo= ac_hi=
14992 break
14993 fi
14994 ac_mid=`expr 2 '*' $ac_mid`
14995fi
14996rm -f conftest.$ac_objext conftest.$ac_ext
14997 done
14998else
14999 echo "$as_me: failed program was:" >&5
15000sed 's/^/| /' conftest.$ac_ext >&5
15001
15002ac_lo= ac_hi=
15003fi
15004rm -f conftest.$ac_objext conftest.$ac_ext
15005fi
15006rm -f conftest.$ac_objext conftest.$ac_ext
15007# Binary search between lo and hi bounds.
15008while test "x$ac_lo" != "x$ac_hi"; do
15009 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15010 cat >conftest.$ac_ext <<_ACEOF
15011#line $LINENO "configure"
15012/* confdefs.h. */
15013_ACEOF
15014cat confdefs.h >>conftest.$ac_ext
15015cat >>conftest.$ac_ext <<_ACEOF
15016/* end confdefs.h. */
15017$ac_includes_default
15018int
15019main ()
15020{
15021static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15022test_array [0] = 0
15023
15024 ;
15025 return 0;
15026}
15027_ACEOF
15028rm -f conftest.$ac_objext
15029if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15030 (eval $ac_compile) 2>&5
15031 ac_status=$?
15032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15033 (exit $ac_status); } &&
15034 { ac_try='test -s conftest.$ac_objext'
15035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15036 (eval $ac_try) 2>&5
15037 ac_status=$?
15038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15039 (exit $ac_status); }; }; then
15040 ac_hi=$ac_mid
15041else
15042 echo "$as_me: failed program was:" >&5
15043sed 's/^/| /' conftest.$ac_ext >&5
15044
15045ac_lo=`expr '(' $ac_mid ')' + 1`
15046fi
15047rm -f conftest.$ac_objext conftest.$ac_ext
15048done
15049case $ac_lo in
15050?*) ac_cv_sizeof_int=$ac_lo;;
15051'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15052See \`config.log' for more details." >&5
15053echo "$as_me: error: cannot compute sizeof (int), 77
15054See \`config.log' for more details." >&2;}
15055 { (exit 1); exit 1; }; } ;;
15056esac
15057else
15058 if test "$cross_compiling" = yes; then
15059 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15060See \`config.log' for more details." >&5
15061echo "$as_me: error: cannot run test program while cross compiling
15062See \`config.log' for more details." >&2;}
15063 { (exit 1); exit 1; }; }
15064else
15065 cat >conftest.$ac_ext <<_ACEOF
15066#line $LINENO "configure"
15067/* confdefs.h. */
15068_ACEOF
15069cat confdefs.h >>conftest.$ac_ext
15070cat >>conftest.$ac_ext <<_ACEOF
15071/* end confdefs.h. */
15072$ac_includes_default
15073long longval () { return (long) (sizeof (int)); }
15074unsigned long ulongval () { return (long) (sizeof (int)); }
15075#include <stdio.h>
15076#include <stdlib.h>
15077int
15078main ()
15079{
15080
15081 FILE *f = fopen ("conftest.val", "w");
15082 if (! f)
15083 exit (1);
15084 if (((long) (sizeof (int))) < 0)
15085 {
15086 long i = longval ();
15087 if (i != ((long) (sizeof (int))))
15088 exit (1);
15089 fprintf (f, "%ld\n", i);
15090 }
15091 else
15092 {
15093 unsigned long i = ulongval ();
15094 if (i != ((long) (sizeof (int))))
15095 exit (1);
15096 fprintf (f, "%lu\n", i);
15097 }
15098 exit (ferror (f) || fclose (f) != 0);
15099
15100 ;
15101 return 0;
15102}
15103_ACEOF
15104rm -f conftest$ac_exeext
15105if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15106 (eval $ac_link) 2>&5
15107 ac_status=$?
15108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15111 (eval $ac_try) 2>&5
15112 ac_status=$?
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); }; }; then
15115 ac_cv_sizeof_int=`cat conftest.val`
15116else
15117 echo "$as_me: program exited with status $ac_status" >&5
15118echo "$as_me: failed program was:" >&5
15119sed 's/^/| /' conftest.$ac_ext >&5
15120
15121( exit $ac_status )
15122{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15123See \`config.log' for more details." >&5
15124echo "$as_me: error: cannot compute sizeof (int), 77
15125See \`config.log' for more details." >&2;}
15126 { (exit 1); exit 1; }; }
15127fi
15128rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15129fi
15130fi
15131rm -f conftest.val
15132else
15133 ac_cv_sizeof_int=0
15134fi
15135fi
15136echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15137echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15138cat >>confdefs.h <<_ACEOF
15139#define SIZEOF_INT $ac_cv_sizeof_int
15140_ACEOF
15141
15142
15143echo "$as_me:$LINENO: checking for long" >&5
15144echo $ECHO_N "checking for long... $ECHO_C" >&6
15145if test "${ac_cv_type_long+set}" = set; then
15146 echo $ECHO_N "(cached) $ECHO_C" >&6
15147else
15148 cat >conftest.$ac_ext <<_ACEOF
15149#line $LINENO "configure"
15150/* confdefs.h. */
15151_ACEOF
15152cat confdefs.h >>conftest.$ac_ext
15153cat >>conftest.$ac_ext <<_ACEOF
15154/* end confdefs.h. */
15155$ac_includes_default
15156int
15157main ()
15158{
15159if ((long *) 0)
15160 return 0;
15161if (sizeof (long))
15162 return 0;
15163 ;
15164 return 0;
15165}
15166_ACEOF
15167rm -f conftest.$ac_objext
15168if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15169 (eval $ac_compile) 2>&5
15170 ac_status=$?
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); } &&
15173 { ac_try='test -s conftest.$ac_objext'
15174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15175 (eval $ac_try) 2>&5
15176 ac_status=$?
15177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15178 (exit $ac_status); }; }; then
15179 ac_cv_type_long=yes
15180else
15181 echo "$as_me: failed program was:" >&5
15182sed 's/^/| /' conftest.$ac_ext >&5
15183
15184ac_cv_type_long=no
15185fi
15186rm -f conftest.$ac_objext conftest.$ac_ext
15187fi
15188echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15189echo "${ECHO_T}$ac_cv_type_long" >&6
15190
15191echo "$as_me:$LINENO: checking size of long" >&5
15192echo $ECHO_N "checking size of long... $ECHO_C" >&6
15193if test "${ac_cv_sizeof_long+set}" = set; then
15194 echo $ECHO_N "(cached) $ECHO_C" >&6
15195else
15196 if test "$ac_cv_type_long" = yes; then
15197 # The cast to unsigned long works around a bug in the HP C Compiler
15198 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15199 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15200 # This bug is HP SR number 8606223364.
15201 if test "$cross_compiling" = yes; then
15202 # Depending upon the size, compute the lo and hi bounds.
15203cat >conftest.$ac_ext <<_ACEOF
15204#line $LINENO "configure"
15205/* confdefs.h. */
15206_ACEOF
15207cat confdefs.h >>conftest.$ac_ext
15208cat >>conftest.$ac_ext <<_ACEOF
15209/* end confdefs.h. */
15210$ac_includes_default
15211int
15212main ()
15213{
15214static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15215test_array [0] = 0
15216
15217 ;
15218 return 0;
15219}
15220_ACEOF
15221rm -f conftest.$ac_objext
15222if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15223 (eval $ac_compile) 2>&5
15224 ac_status=$?
15225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226 (exit $ac_status); } &&
15227 { ac_try='test -s conftest.$ac_objext'
15228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15229 (eval $ac_try) 2>&5
15230 ac_status=$?
15231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232 (exit $ac_status); }; }; then
15233 ac_lo=0 ac_mid=0
15234 while :; do
15235 cat >conftest.$ac_ext <<_ACEOF
15236#line $LINENO "configure"
15237/* confdefs.h. */
15238_ACEOF
15239cat confdefs.h >>conftest.$ac_ext
15240cat >>conftest.$ac_ext <<_ACEOF
15241/* end confdefs.h. */
15242$ac_includes_default
15243int
15244main ()
15245{
15246static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15247test_array [0] = 0
15248
15249 ;
15250 return 0;
15251}
15252_ACEOF
15253rm -f conftest.$ac_objext
15254if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15255 (eval $ac_compile) 2>&5
15256 ac_status=$?
15257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15258 (exit $ac_status); } &&
15259 { ac_try='test -s conftest.$ac_objext'
15260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15261 (eval $ac_try) 2>&5
15262 ac_status=$?
15263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264 (exit $ac_status); }; }; then
15265 ac_hi=$ac_mid; break
15266else
15267 echo "$as_me: failed program was:" >&5
15268sed 's/^/| /' conftest.$ac_ext >&5
15269
15270ac_lo=`expr $ac_mid + 1`
15271 if test $ac_lo -le $ac_mid; then
15272 ac_lo= ac_hi=
15273 break
15274 fi
15275 ac_mid=`expr 2 '*' $ac_mid + 1`
15276fi
15277rm -f conftest.$ac_objext conftest.$ac_ext
15278 done
15279else
15280 echo "$as_me: failed program was:" >&5
15281sed 's/^/| /' conftest.$ac_ext >&5
15282
15283cat >conftest.$ac_ext <<_ACEOF
15284#line $LINENO "configure"
15285/* confdefs.h. */
15286_ACEOF
15287cat confdefs.h >>conftest.$ac_ext
15288cat >>conftest.$ac_ext <<_ACEOF
15289/* end confdefs.h. */
15290$ac_includes_default
15291int
15292main ()
15293{
15294static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15295test_array [0] = 0
15296
15297 ;
15298 return 0;
15299}
15300_ACEOF
15301rm -f conftest.$ac_objext
15302if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15303 (eval $ac_compile) 2>&5
15304 ac_status=$?
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); } &&
15307 { ac_try='test -s conftest.$ac_objext'
15308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15309 (eval $ac_try) 2>&5
15310 ac_status=$?
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); }; }; then
15313 ac_hi=-1 ac_mid=-1
15314 while :; do
15315 cat >conftest.$ac_ext <<_ACEOF
15316#line $LINENO "configure"
15317/* confdefs.h. */
15318_ACEOF
15319cat confdefs.h >>conftest.$ac_ext
15320cat >>conftest.$ac_ext <<_ACEOF
15321/* end confdefs.h. */
15322$ac_includes_default
15323int
15324main ()
15325{
15326static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15327test_array [0] = 0
15328
15329 ;
15330 return 0;
15331}
15332_ACEOF
15333rm -f conftest.$ac_objext
15334if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15335 (eval $ac_compile) 2>&5
15336 ac_status=$?
15337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15338 (exit $ac_status); } &&
15339 { ac_try='test -s conftest.$ac_objext'
15340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15341 (eval $ac_try) 2>&5
15342 ac_status=$?
15343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15344 (exit $ac_status); }; }; then
15345 ac_lo=$ac_mid; break
15346else
15347 echo "$as_me: failed program was:" >&5
15348sed 's/^/| /' conftest.$ac_ext >&5
15349
15350ac_hi=`expr '(' $ac_mid ')' - 1`
15351 if test $ac_mid -le $ac_hi; then
15352 ac_lo= ac_hi=
15353 break
15354 fi
15355 ac_mid=`expr 2 '*' $ac_mid`
15356fi
15357rm -f conftest.$ac_objext conftest.$ac_ext
15358 done
15359else
15360 echo "$as_me: failed program was:" >&5
15361sed 's/^/| /' conftest.$ac_ext >&5
15362
15363ac_lo= ac_hi=
15364fi
15365rm -f conftest.$ac_objext conftest.$ac_ext
15366fi
15367rm -f conftest.$ac_objext conftest.$ac_ext
15368# Binary search between lo and hi bounds.
15369while test "x$ac_lo" != "x$ac_hi"; do
15370 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15371 cat >conftest.$ac_ext <<_ACEOF
15372#line $LINENO "configure"
15373/* confdefs.h. */
15374_ACEOF
15375cat confdefs.h >>conftest.$ac_ext
15376cat >>conftest.$ac_ext <<_ACEOF
15377/* end confdefs.h. */
15378$ac_includes_default
15379int
15380main ()
15381{
15382static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15383test_array [0] = 0
15384
15385 ;
15386 return 0;
15387}
15388_ACEOF
15389rm -f conftest.$ac_objext
15390if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15391 (eval $ac_compile) 2>&5
15392 ac_status=$?
15393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15394 (exit $ac_status); } &&
15395 { ac_try='test -s conftest.$ac_objext'
15396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15397 (eval $ac_try) 2>&5
15398 ac_status=$?
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); }; }; then
15401 ac_hi=$ac_mid
15402else
15403 echo "$as_me: failed program was:" >&5
15404sed 's/^/| /' conftest.$ac_ext >&5
15405
15406ac_lo=`expr '(' $ac_mid ')' + 1`
15407fi
15408rm -f conftest.$ac_objext conftest.$ac_ext
15409done
15410case $ac_lo in
15411?*) ac_cv_sizeof_long=$ac_lo;;
15412'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15413See \`config.log' for more details." >&5
15414echo "$as_me: error: cannot compute sizeof (long), 77
15415See \`config.log' for more details." >&2;}
15416 { (exit 1); exit 1; }; } ;;
15417esac
15418else
15419 if test "$cross_compiling" = yes; then
15420 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15421See \`config.log' for more details." >&5
15422echo "$as_me: error: cannot run test program while cross compiling
15423See \`config.log' for more details." >&2;}
15424 { (exit 1); exit 1; }; }
15425else
15426 cat >conftest.$ac_ext <<_ACEOF
15427#line $LINENO "configure"
15428/* confdefs.h. */
15429_ACEOF
15430cat confdefs.h >>conftest.$ac_ext
15431cat >>conftest.$ac_ext <<_ACEOF
15432/* end confdefs.h. */
15433$ac_includes_default
15434long longval () { return (long) (sizeof (long)); }
15435unsigned long ulongval () { return (long) (sizeof (long)); }
15436#include <stdio.h>
15437#include <stdlib.h>
15438int
15439main ()
15440{
15441
15442 FILE *f = fopen ("conftest.val", "w");
15443 if (! f)
15444 exit (1);
15445 if (((long) (sizeof (long))) < 0)
15446 {
15447 long i = longval ();
15448 if (i != ((long) (sizeof (long))))
15449 exit (1);
15450 fprintf (f, "%ld\n", i);
15451 }
15452 else
15453 {
15454 unsigned long i = ulongval ();
15455 if (i != ((long) (sizeof (long))))
15456 exit (1);
15457 fprintf (f, "%lu\n", i);
15458 }
15459 exit (ferror (f) || fclose (f) != 0);
15460
15461 ;
15462 return 0;
15463}
15464_ACEOF
15465rm -f conftest$ac_exeext
15466if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15467 (eval $ac_link) 2>&5
15468 ac_status=$?
15469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15470 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15472 (eval $ac_try) 2>&5
15473 ac_status=$?
15474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475 (exit $ac_status); }; }; then
15476 ac_cv_sizeof_long=`cat conftest.val`
15477else
15478 echo "$as_me: program exited with status $ac_status" >&5
15479echo "$as_me: failed program was:" >&5
15480sed 's/^/| /' conftest.$ac_ext >&5
15481
15482( exit $ac_status )
15483{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15484See \`config.log' for more details." >&5
15485echo "$as_me: error: cannot compute sizeof (long), 77
15486See \`config.log' for more details." >&2;}
15487 { (exit 1); exit 1; }; }
15488fi
15489rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15490fi
15491fi
15492rm -f conftest.val
15493else
15494 ac_cv_sizeof_long=0
15495fi
15496fi
15497echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15498echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15499cat >>confdefs.h <<_ACEOF
15500#define SIZEOF_LONG $ac_cv_sizeof_long
15501_ACEOF
15502
15503
15504
15505case "${host}" in
15506 arm-*-linux* )
15507 echo "$as_me:$LINENO: checking for long long" >&5
15508echo $ECHO_N "checking for long long... $ECHO_C" >&6
15509if test "${ac_cv_type_long_long+set}" = set; then
15510 echo $ECHO_N "(cached) $ECHO_C" >&6
15511else
15512 cat >conftest.$ac_ext <<_ACEOF
15513#line $LINENO "configure"
15514/* confdefs.h. */
15515_ACEOF
15516cat confdefs.h >>conftest.$ac_ext
15517cat >>conftest.$ac_ext <<_ACEOF
15518/* end confdefs.h. */
15519$ac_includes_default
15520int
15521main ()
15522{
15523if ((long long *) 0)
15524 return 0;
15525if (sizeof (long long))
15526 return 0;
15527 ;
15528 return 0;
15529}
15530_ACEOF
15531rm -f conftest.$ac_objext
15532if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15533 (eval $ac_compile) 2>&5
15534 ac_status=$?
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); } &&
15537 { ac_try='test -s conftest.$ac_objext'
15538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15539 (eval $ac_try) 2>&5
15540 ac_status=$?
15541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542 (exit $ac_status); }; }; then
15543 ac_cv_type_long_long=yes
15544else
15545 echo "$as_me: failed program was:" >&5
15546sed 's/^/| /' conftest.$ac_ext >&5
15547
15548ac_cv_type_long_long=no
15549fi
15550rm -f conftest.$ac_objext conftest.$ac_ext
15551fi
15552echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15553echo "${ECHO_T}$ac_cv_type_long_long" >&6
15554
15555echo "$as_me:$LINENO: checking size of long long" >&5
15556echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15557if test "${ac_cv_sizeof_long_long+set}" = set; then
15558 echo $ECHO_N "(cached) $ECHO_C" >&6
15559else
15560 if test "$ac_cv_type_long_long" = yes; then
15561 # The cast to unsigned long works around a bug in the HP C Compiler
15562 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15563 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15564 # This bug is HP SR number 8606223364.
15565 if test "$cross_compiling" = yes; then
15566 # Depending upon the size, compute the lo and hi bounds.
15567cat >conftest.$ac_ext <<_ACEOF
15568#line $LINENO "configure"
15569/* confdefs.h. */
15570_ACEOF
15571cat confdefs.h >>conftest.$ac_ext
15572cat >>conftest.$ac_ext <<_ACEOF
15573/* end confdefs.h. */
15574$ac_includes_default
15575int
15576main ()
15577{
15578static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15579test_array [0] = 0
15580
15581 ;
15582 return 0;
15583}
15584_ACEOF
15585rm -f conftest.$ac_objext
15586if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15587 (eval $ac_compile) 2>&5
15588 ac_status=$?
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); } &&
15591 { ac_try='test -s conftest.$ac_objext'
15592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15593 (eval $ac_try) 2>&5
15594 ac_status=$?
15595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596 (exit $ac_status); }; }; then
15597 ac_lo=0 ac_mid=0
15598 while :; do
15599 cat >conftest.$ac_ext <<_ACEOF
15600#line $LINENO "configure"
15601/* confdefs.h. */
15602_ACEOF
15603cat confdefs.h >>conftest.$ac_ext
15604cat >>conftest.$ac_ext <<_ACEOF
15605/* end confdefs.h. */
15606$ac_includes_default
15607int
15608main ()
15609{
15610static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15611test_array [0] = 0
15612
15613 ;
15614 return 0;
15615}
15616_ACEOF
15617rm -f conftest.$ac_objext
15618if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15619 (eval $ac_compile) 2>&5
15620 ac_status=$?
15621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15622 (exit $ac_status); } &&
15623 { ac_try='test -s conftest.$ac_objext'
15624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15625 (eval $ac_try) 2>&5
15626 ac_status=$?
15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); }; }; then
15629 ac_hi=$ac_mid; break
15630else
15631 echo "$as_me: failed program was:" >&5
15632sed 's/^/| /' conftest.$ac_ext >&5
15633
15634ac_lo=`expr $ac_mid + 1`
15635 if test $ac_lo -le $ac_mid; then
15636 ac_lo= ac_hi=
15637 break
15638 fi
15639 ac_mid=`expr 2 '*' $ac_mid + 1`
15640fi
15641rm -f conftest.$ac_objext conftest.$ac_ext
15642 done
15643else
15644 echo "$as_me: failed program was:" >&5
15645sed 's/^/| /' conftest.$ac_ext >&5
15646
15647cat >conftest.$ac_ext <<_ACEOF
15648#line $LINENO "configure"
15649/* confdefs.h. */
15650_ACEOF
15651cat confdefs.h >>conftest.$ac_ext
15652cat >>conftest.$ac_ext <<_ACEOF
15653/* end confdefs.h. */
15654$ac_includes_default
15655int
15656main ()
15657{
15658static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15659test_array [0] = 0
15660
15661 ;
15662 return 0;
15663}
15664_ACEOF
15665rm -f conftest.$ac_objext
15666if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15667 (eval $ac_compile) 2>&5
15668 ac_status=$?
15669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15670 (exit $ac_status); } &&
15671 { ac_try='test -s conftest.$ac_objext'
15672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15673 (eval $ac_try) 2>&5
15674 ac_status=$?
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); }; }; then
15677 ac_hi=-1 ac_mid=-1
15678 while :; do
15679 cat >conftest.$ac_ext <<_ACEOF
15680#line $LINENO "configure"
15681/* confdefs.h. */
15682_ACEOF
15683cat confdefs.h >>conftest.$ac_ext
15684cat >>conftest.$ac_ext <<_ACEOF
15685/* end confdefs.h. */
15686$ac_includes_default
15687int
15688main ()
15689{
15690static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15691test_array [0] = 0
15692
15693 ;
15694 return 0;
15695}
15696_ACEOF
15697rm -f conftest.$ac_objext
15698if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15699 (eval $ac_compile) 2>&5
15700 ac_status=$?
15701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702 (exit $ac_status); } &&
15703 { ac_try='test -s conftest.$ac_objext'
15704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15705 (eval $ac_try) 2>&5
15706 ac_status=$?
15707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708 (exit $ac_status); }; }; then
15709 ac_lo=$ac_mid; break
15710else
15711 echo "$as_me: failed program was:" >&5
15712sed 's/^/| /' conftest.$ac_ext >&5
15713
15714ac_hi=`expr '(' $ac_mid ')' - 1`
15715 if test $ac_mid -le $ac_hi; then
15716 ac_lo= ac_hi=
15717 break
15718 fi
15719 ac_mid=`expr 2 '*' $ac_mid`
15720fi
15721rm -f conftest.$ac_objext conftest.$ac_ext
15722 done
15723else
15724 echo "$as_me: failed program was:" >&5
15725sed 's/^/| /' conftest.$ac_ext >&5
15726
15727ac_lo= ac_hi=
15728fi
15729rm -f conftest.$ac_objext conftest.$ac_ext
15730fi
15731rm -f conftest.$ac_objext conftest.$ac_ext
15732# Binary search between lo and hi bounds.
15733while test "x$ac_lo" != "x$ac_hi"; do
15734 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15735 cat >conftest.$ac_ext <<_ACEOF
15736#line $LINENO "configure"
15737/* confdefs.h. */
15738_ACEOF
15739cat confdefs.h >>conftest.$ac_ext
15740cat >>conftest.$ac_ext <<_ACEOF
15741/* end confdefs.h. */
15742$ac_includes_default
15743int
15744main ()
15745{
15746static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15747test_array [0] = 0
15748
15749 ;
15750 return 0;
15751}
15752_ACEOF
15753rm -f conftest.$ac_objext
15754if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15755 (eval $ac_compile) 2>&5
15756 ac_status=$?
15757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15758 (exit $ac_status); } &&
15759 { ac_try='test -s conftest.$ac_objext'
15760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15761 (eval $ac_try) 2>&5
15762 ac_status=$?
15763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15764 (exit $ac_status); }; }; then
15765 ac_hi=$ac_mid
15766else
15767 echo "$as_me: failed program was:" >&5
15768sed 's/^/| /' conftest.$ac_ext >&5
15769
15770ac_lo=`expr '(' $ac_mid ')' + 1`
15771fi
15772rm -f conftest.$ac_objext conftest.$ac_ext
15773done
15774case $ac_lo in
15775?*) ac_cv_sizeof_long_long=$ac_lo;;
15776'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15777See \`config.log' for more details." >&5
15778echo "$as_me: error: cannot compute sizeof (long long), 77
15779See \`config.log' for more details." >&2;}
15780 { (exit 1); exit 1; }; } ;;
15781esac
15782else
15783 if test "$cross_compiling" = yes; then
15784 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15785See \`config.log' for more details." >&5
15786echo "$as_me: error: cannot run test program while cross compiling
15787See \`config.log' for more details." >&2;}
15788 { (exit 1); exit 1; }; }
15789else
15790 cat >conftest.$ac_ext <<_ACEOF
15791#line $LINENO "configure"
15792/* confdefs.h. */
15793_ACEOF
15794cat confdefs.h >>conftest.$ac_ext
15795cat >>conftest.$ac_ext <<_ACEOF
15796/* end confdefs.h. */
15797$ac_includes_default
15798long longval () { return (long) (sizeof (long long)); }
15799unsigned long ulongval () { return (long) (sizeof (long long)); }
15800#include <stdio.h>
15801#include <stdlib.h>
15802int
15803main ()
15804{
15805
15806 FILE *f = fopen ("conftest.val", "w");
15807 if (! f)
15808 exit (1);
15809 if (((long) (sizeof (long long))) < 0)
15810 {
15811 long i = longval ();
15812 if (i != ((long) (sizeof (long long))))
15813 exit (1);
15814 fprintf (f, "%ld\n", i);
15815 }
15816 else
15817 {
15818 unsigned long i = ulongval ();
15819 if (i != ((long) (sizeof (long long))))
15820 exit (1);
15821 fprintf (f, "%lu\n", i);
15822 }
15823 exit (ferror (f) || fclose (f) != 0);
15824
15825 ;
15826 return 0;
15827}
15828_ACEOF
15829rm -f conftest$ac_exeext
15830if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15831 (eval $ac_link) 2>&5
15832 ac_status=$?
15833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15834 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15836 (eval $ac_try) 2>&5
15837 ac_status=$?
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); }; }; then
15840 ac_cv_sizeof_long_long=`cat conftest.val`
15841else
15842 echo "$as_me: program exited with status $ac_status" >&5
15843echo "$as_me: failed program was:" >&5
15844sed 's/^/| /' conftest.$ac_ext >&5
15845
15846( exit $ac_status )
15847{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15848See \`config.log' for more details." >&5
15849echo "$as_me: error: cannot compute sizeof (long long), 77
15850See \`config.log' for more details." >&2;}
15851 { (exit 1); exit 1; }; }
15852fi
15853rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15854fi
15855fi
15856rm -f conftest.val
15857else
15858 ac_cv_sizeof_long_long=0
15859fi
15860fi
15861echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15862echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15863cat >>confdefs.h <<_ACEOF
15864#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15865_ACEOF
15866
15867
15868 ;;
15869 *-hp-hpux* )
15870 echo "$as_me:$LINENO: checking for long long" >&5
15871echo $ECHO_N "checking for long long... $ECHO_C" >&6
15872if test "${ac_cv_type_long_long+set}" = set; then
15873 echo $ECHO_N "(cached) $ECHO_C" >&6
15874else
15875 cat >conftest.$ac_ext <<_ACEOF
15876#line $LINENO "configure"
15877/* confdefs.h. */
15878_ACEOF
15879cat confdefs.h >>conftest.$ac_ext
15880cat >>conftest.$ac_ext <<_ACEOF
15881/* end confdefs.h. */
15882$ac_includes_default
15883int
15884main ()
15885{
15886if ((long long *) 0)
15887 return 0;
15888if (sizeof (long long))
15889 return 0;
15890 ;
15891 return 0;
15892}
15893_ACEOF
15894rm -f conftest.$ac_objext
15895if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15896 (eval $ac_compile) 2>&5
15897 ac_status=$?
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); } &&
15900 { ac_try='test -s conftest.$ac_objext'
15901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15902 (eval $ac_try) 2>&5
15903 ac_status=$?
15904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15905 (exit $ac_status); }; }; then
15906 ac_cv_type_long_long=yes
15907else
15908 echo "$as_me: failed program was:" >&5
15909sed 's/^/| /' conftest.$ac_ext >&5
15910
15911ac_cv_type_long_long=no
15912fi
15913rm -f conftest.$ac_objext conftest.$ac_ext
15914fi
15915echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15916echo "${ECHO_T}$ac_cv_type_long_long" >&6
15917
15918echo "$as_me:$LINENO: checking size of long long" >&5
15919echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15920if test "${ac_cv_sizeof_long_long+set}" = set; then
15921 echo $ECHO_N "(cached) $ECHO_C" >&6
15922else
15923 if test "$ac_cv_type_long_long" = yes; then
15924 # The cast to unsigned long works around a bug in the HP C Compiler
15925 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15926 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15927 # This bug is HP SR number 8606223364.
15928 if test "$cross_compiling" = yes; then
15929 # Depending upon the size, compute the lo and hi bounds.
15930cat >conftest.$ac_ext <<_ACEOF
15931#line $LINENO "configure"
15932/* confdefs.h. */
15933_ACEOF
15934cat confdefs.h >>conftest.$ac_ext
15935cat >>conftest.$ac_ext <<_ACEOF
15936/* end confdefs.h. */
15937$ac_includes_default
15938int
15939main ()
15940{
15941static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15942test_array [0] = 0
15943
15944 ;
15945 return 0;
15946}
15947_ACEOF
15948rm -f conftest.$ac_objext
15949if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15950 (eval $ac_compile) 2>&5
15951 ac_status=$?
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); } &&
15954 { ac_try='test -s conftest.$ac_objext'
15955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15956 (eval $ac_try) 2>&5
15957 ac_status=$?
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); }; }; then
15960 ac_lo=0 ac_mid=0
15961 while :; do
15962 cat >conftest.$ac_ext <<_ACEOF
15963#line $LINENO "configure"
15964/* confdefs.h. */
15965_ACEOF
15966cat confdefs.h >>conftest.$ac_ext
15967cat >>conftest.$ac_ext <<_ACEOF
15968/* end confdefs.h. */
15969$ac_includes_default
15970int
15971main ()
15972{
15973static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15974test_array [0] = 0
15975
15976 ;
15977 return 0;
15978}
15979_ACEOF
15980rm -f conftest.$ac_objext
15981if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15982 (eval $ac_compile) 2>&5
15983 ac_status=$?
15984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15985 (exit $ac_status); } &&
15986 { ac_try='test -s conftest.$ac_objext'
15987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15988 (eval $ac_try) 2>&5
15989 ac_status=$?
15990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991 (exit $ac_status); }; }; then
15992 ac_hi=$ac_mid; break
15993else
15994 echo "$as_me: failed program was:" >&5
15995sed 's/^/| /' conftest.$ac_ext >&5
15996
15997ac_lo=`expr $ac_mid + 1`
15998 if test $ac_lo -le $ac_mid; then
15999 ac_lo= ac_hi=
16000 break
16001 fi
16002 ac_mid=`expr 2 '*' $ac_mid + 1`
16003fi
16004rm -f conftest.$ac_objext conftest.$ac_ext
16005 done
16006else
16007 echo "$as_me: failed program was:" >&5
16008sed 's/^/| /' conftest.$ac_ext >&5
16009
16010cat >conftest.$ac_ext <<_ACEOF
16011#line $LINENO "configure"
16012/* confdefs.h. */
16013_ACEOF
16014cat confdefs.h >>conftest.$ac_ext
16015cat >>conftest.$ac_ext <<_ACEOF
16016/* end confdefs.h. */
16017$ac_includes_default
16018int
16019main ()
16020{
16021static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16022test_array [0] = 0
16023
16024 ;
16025 return 0;
16026}
16027_ACEOF
16028rm -f conftest.$ac_objext
16029if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16030 (eval $ac_compile) 2>&5
16031 ac_status=$?
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); } &&
16034 { ac_try='test -s conftest.$ac_objext'
16035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16036 (eval $ac_try) 2>&5
16037 ac_status=$?
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); }; }; then
16040 ac_hi=-1 ac_mid=-1
16041 while :; do
16042 cat >conftest.$ac_ext <<_ACEOF
16043#line $LINENO "configure"
16044/* confdefs.h. */
16045_ACEOF
16046cat confdefs.h >>conftest.$ac_ext
16047cat >>conftest.$ac_ext <<_ACEOF
16048/* end confdefs.h. */
16049$ac_includes_default
16050int
16051main ()
16052{
16053static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16054test_array [0] = 0
16055
16056 ;
16057 return 0;
16058}
16059_ACEOF
16060rm -f conftest.$ac_objext
16061if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16062 (eval $ac_compile) 2>&5
16063 ac_status=$?
16064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); } &&
16066 { ac_try='test -s conftest.$ac_objext'
16067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16068 (eval $ac_try) 2>&5
16069 ac_status=$?
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); }; }; then
16072 ac_lo=$ac_mid; break
16073else
16074 echo "$as_me: failed program was:" >&5
16075sed 's/^/| /' conftest.$ac_ext >&5
16076
16077ac_hi=`expr '(' $ac_mid ')' - 1`
16078 if test $ac_mid -le $ac_hi; then
16079 ac_lo= ac_hi=
16080 break
16081 fi
16082 ac_mid=`expr 2 '*' $ac_mid`
16083fi
16084rm -f conftest.$ac_objext conftest.$ac_ext
16085 done
16086else
16087 echo "$as_me: failed program was:" >&5
16088sed 's/^/| /' conftest.$ac_ext >&5
16089
16090ac_lo= ac_hi=
16091fi
16092rm -f conftest.$ac_objext conftest.$ac_ext
16093fi
16094rm -f conftest.$ac_objext conftest.$ac_ext
16095# Binary search between lo and hi bounds.
16096while test "x$ac_lo" != "x$ac_hi"; do
16097 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16098 cat >conftest.$ac_ext <<_ACEOF
16099#line $LINENO "configure"
16100/* confdefs.h. */
16101_ACEOF
16102cat confdefs.h >>conftest.$ac_ext
16103cat >>conftest.$ac_ext <<_ACEOF
16104/* end confdefs.h. */
16105$ac_includes_default
16106int
16107main ()
16108{
16109static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16110test_array [0] = 0
16111
16112 ;
16113 return 0;
16114}
16115_ACEOF
16116rm -f conftest.$ac_objext
16117if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16118 (eval $ac_compile) 2>&5
16119 ac_status=$?
16120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121 (exit $ac_status); } &&
16122 { ac_try='test -s conftest.$ac_objext'
16123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16124 (eval $ac_try) 2>&5
16125 ac_status=$?
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); }; }; then
16128 ac_hi=$ac_mid
16129else
16130 echo "$as_me: failed program was:" >&5
16131sed 's/^/| /' conftest.$ac_ext >&5
16132
16133ac_lo=`expr '(' $ac_mid ')' + 1`
16134fi
16135rm -f conftest.$ac_objext conftest.$ac_ext
16136done
16137case $ac_lo in
16138?*) ac_cv_sizeof_long_long=$ac_lo;;
16139'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16140See \`config.log' for more details." >&5
16141echo "$as_me: error: cannot compute sizeof (long long), 77
16142See \`config.log' for more details." >&2;}
16143 { (exit 1); exit 1; }; } ;;
16144esac
16145else
16146 if test "$cross_compiling" = yes; then
16147 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16148See \`config.log' for more details." >&5
16149echo "$as_me: error: cannot run test program while cross compiling
16150See \`config.log' for more details." >&2;}
16151 { (exit 1); exit 1; }; }
16152else
16153 cat >conftest.$ac_ext <<_ACEOF
16154#line $LINENO "configure"
16155/* confdefs.h. */
16156_ACEOF
16157cat confdefs.h >>conftest.$ac_ext
16158cat >>conftest.$ac_ext <<_ACEOF
16159/* end confdefs.h. */
16160$ac_includes_default
16161long longval () { return (long) (sizeof (long long)); }
16162unsigned long ulongval () { return (long) (sizeof (long long)); }
16163#include <stdio.h>
16164#include <stdlib.h>
16165int
16166main ()
16167{
16168
16169 FILE *f = fopen ("conftest.val", "w");
16170 if (! f)
16171 exit (1);
16172 if (((long) (sizeof (long long))) < 0)
16173 {
16174 long i = longval ();
16175 if (i != ((long) (sizeof (long long))))
16176 exit (1);
16177 fprintf (f, "%ld\n", i);
16178 }
16179 else
16180 {
16181 unsigned long i = ulongval ();
16182 if (i != ((long) (sizeof (long long))))
16183 exit (1);
16184 fprintf (f, "%lu\n", i);
16185 }
16186 exit (ferror (f) || fclose (f) != 0);
16187
16188 ;
16189 return 0;
16190}
16191_ACEOF
16192rm -f conftest$ac_exeext
16193if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16194 (eval $ac_link) 2>&5
16195 ac_status=$?
16196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16197 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_cv_sizeof_long_long=`cat conftest.val`
16204else
16205 echo "$as_me: program exited with status $ac_status" >&5
16206echo "$as_me: failed program was:" >&5
16207sed 's/^/| /' conftest.$ac_ext >&5
16208
16209( exit $ac_status )
16210{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16211See \`config.log' for more details." >&5
16212echo "$as_me: error: cannot compute sizeof (long long), 77
16213See \`config.log' for more details." >&2;}
16214 { (exit 1); exit 1; }; }
16215fi
16216rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16217fi
16218fi
16219rm -f conftest.val
16220else
16221 ac_cv_sizeof_long_long=0
16222fi
16223fi
16224echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16225echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16226cat >>confdefs.h <<_ACEOF
16227#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16228_ACEOF
16229
16230
16231 if test "$ac_cv_sizeof_long_long" != "0"; then
16232 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16233 fi
16234 ;;
16235 * )
16236 echo "$as_me:$LINENO: checking for long long" >&5
16237echo $ECHO_N "checking for long long... $ECHO_C" >&6
16238if test "${ac_cv_type_long_long+set}" = set; then
16239 echo $ECHO_N "(cached) $ECHO_C" >&6
16240else
16241 cat >conftest.$ac_ext <<_ACEOF
16242#line $LINENO "configure"
16243/* confdefs.h. */
16244_ACEOF
16245cat confdefs.h >>conftest.$ac_ext
16246cat >>conftest.$ac_ext <<_ACEOF
16247/* end confdefs.h. */
16248$ac_includes_default
16249int
16250main ()
16251{
16252if ((long long *) 0)
16253 return 0;
16254if (sizeof (long long))
16255 return 0;
16256 ;
16257 return 0;
16258}
16259_ACEOF
16260rm -f conftest.$ac_objext
16261if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16262 (eval $ac_compile) 2>&5
16263 ac_status=$?
16264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265 (exit $ac_status); } &&
16266 { ac_try='test -s conftest.$ac_objext'
16267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16268 (eval $ac_try) 2>&5
16269 ac_status=$?
16270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16271 (exit $ac_status); }; }; then
16272 ac_cv_type_long_long=yes
16273else
16274 echo "$as_me: failed program was:" >&5
16275sed 's/^/| /' conftest.$ac_ext >&5
16276
16277ac_cv_type_long_long=no
16278fi
16279rm -f conftest.$ac_objext conftest.$ac_ext
16280fi
16281echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16282echo "${ECHO_T}$ac_cv_type_long_long" >&6
16283
16284echo "$as_me:$LINENO: checking size of long long" >&5
16285echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16286if test "${ac_cv_sizeof_long_long+set}" = set; then
16287 echo $ECHO_N "(cached) $ECHO_C" >&6
16288else
16289 if test "$ac_cv_type_long_long" = yes; then
16290 # The cast to unsigned long works around a bug in the HP C Compiler
16291 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16292 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16293 # This bug is HP SR number 8606223364.
16294 if test "$cross_compiling" = yes; then
16295 # Depending upon the size, compute the lo and hi bounds.
16296cat >conftest.$ac_ext <<_ACEOF
16297#line $LINENO "configure"
16298/* confdefs.h. */
16299_ACEOF
16300cat confdefs.h >>conftest.$ac_ext
16301cat >>conftest.$ac_ext <<_ACEOF
16302/* end confdefs.h. */
16303$ac_includes_default
16304int
16305main ()
16306{
16307static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16308test_array [0] = 0
16309
16310 ;
16311 return 0;
16312}
16313_ACEOF
16314rm -f conftest.$ac_objext
16315if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16316 (eval $ac_compile) 2>&5
16317 ac_status=$?
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); } &&
16320 { ac_try='test -s conftest.$ac_objext'
16321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16322 (eval $ac_try) 2>&5
16323 ac_status=$?
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); }; }; then
16326 ac_lo=0 ac_mid=0
16327 while :; do
16328 cat >conftest.$ac_ext <<_ACEOF
16329#line $LINENO "configure"
16330/* confdefs.h. */
16331_ACEOF
16332cat confdefs.h >>conftest.$ac_ext
16333cat >>conftest.$ac_ext <<_ACEOF
16334/* end confdefs.h. */
16335$ac_includes_default
16336int
16337main ()
16338{
16339static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16340test_array [0] = 0
16341
16342 ;
16343 return 0;
16344}
16345_ACEOF
16346rm -f conftest.$ac_objext
16347if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16348 (eval $ac_compile) 2>&5
16349 ac_status=$?
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); } &&
16352 { ac_try='test -s conftest.$ac_objext'
16353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16354 (eval $ac_try) 2>&5
16355 ac_status=$?
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); }; }; then
16358 ac_hi=$ac_mid; break
16359else
16360 echo "$as_me: failed program was:" >&5
16361sed 's/^/| /' conftest.$ac_ext >&5
16362
16363ac_lo=`expr $ac_mid + 1`
16364 if test $ac_lo -le $ac_mid; then
16365 ac_lo= ac_hi=
16366 break
16367 fi
16368 ac_mid=`expr 2 '*' $ac_mid + 1`
16369fi
16370rm -f conftest.$ac_objext conftest.$ac_ext
16371 done
16372else
16373 echo "$as_me: failed program was:" >&5
16374sed 's/^/| /' conftest.$ac_ext >&5
16375
16376cat >conftest.$ac_ext <<_ACEOF
16377#line $LINENO "configure"
16378/* confdefs.h. */
16379_ACEOF
16380cat confdefs.h >>conftest.$ac_ext
16381cat >>conftest.$ac_ext <<_ACEOF
16382/* end confdefs.h. */
16383$ac_includes_default
16384int
16385main ()
16386{
16387static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16388test_array [0] = 0
16389
16390 ;
16391 return 0;
16392}
16393_ACEOF
16394rm -f conftest.$ac_objext
16395if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16396 (eval $ac_compile) 2>&5
16397 ac_status=$?
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); } &&
16400 { ac_try='test -s conftest.$ac_objext'
16401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16402 (eval $ac_try) 2>&5
16403 ac_status=$?
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); }; }; then
16406 ac_hi=-1 ac_mid=-1
16407 while :; do
16408 cat >conftest.$ac_ext <<_ACEOF
16409#line $LINENO "configure"
16410/* confdefs.h. */
16411_ACEOF
16412cat confdefs.h >>conftest.$ac_ext
16413cat >>conftest.$ac_ext <<_ACEOF
16414/* end confdefs.h. */
16415$ac_includes_default
16416int
16417main ()
16418{
16419static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16420test_array [0] = 0
16421
16422 ;
16423 return 0;
16424}
16425_ACEOF
16426rm -f conftest.$ac_objext
16427if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16428 (eval $ac_compile) 2>&5
16429 ac_status=$?
16430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16431 (exit $ac_status); } &&
16432 { ac_try='test -s conftest.$ac_objext'
16433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16434 (eval $ac_try) 2>&5
16435 ac_status=$?
16436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16437 (exit $ac_status); }; }; then
16438 ac_lo=$ac_mid; break
16439else
16440 echo "$as_me: failed program was:" >&5
16441sed 's/^/| /' conftest.$ac_ext >&5
16442
16443ac_hi=`expr '(' $ac_mid ')' - 1`
16444 if test $ac_mid -le $ac_hi; then
16445 ac_lo= ac_hi=
16446 break
16447 fi
16448 ac_mid=`expr 2 '*' $ac_mid`
16449fi
16450rm -f conftest.$ac_objext conftest.$ac_ext
16451 done
16452else
16453 echo "$as_me: failed program was:" >&5
16454sed 's/^/| /' conftest.$ac_ext >&5
16455
16456ac_lo= ac_hi=
16457fi
16458rm -f conftest.$ac_objext conftest.$ac_ext
16459fi
16460rm -f conftest.$ac_objext conftest.$ac_ext
16461# Binary search between lo and hi bounds.
16462while test "x$ac_lo" != "x$ac_hi"; do
16463 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16464 cat >conftest.$ac_ext <<_ACEOF
16465#line $LINENO "configure"
16466/* confdefs.h. */
16467_ACEOF
16468cat confdefs.h >>conftest.$ac_ext
16469cat >>conftest.$ac_ext <<_ACEOF
16470/* end confdefs.h. */
16471$ac_includes_default
16472int
16473main ()
16474{
16475static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16476test_array [0] = 0
16477
16478 ;
16479 return 0;
16480}
16481_ACEOF
16482rm -f conftest.$ac_objext
16483if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16484 (eval $ac_compile) 2>&5
16485 ac_status=$?
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); } &&
16488 { ac_try='test -s conftest.$ac_objext'
16489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16490 (eval $ac_try) 2>&5
16491 ac_status=$?
16492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16493 (exit $ac_status); }; }; then
16494 ac_hi=$ac_mid
16495else
16496 echo "$as_me: failed program was:" >&5
16497sed 's/^/| /' conftest.$ac_ext >&5
16498
16499ac_lo=`expr '(' $ac_mid ')' + 1`
16500fi
16501rm -f conftest.$ac_objext conftest.$ac_ext
16502done
16503case $ac_lo in
16504?*) ac_cv_sizeof_long_long=$ac_lo;;
16505'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16506See \`config.log' for more details." >&5
16507echo "$as_me: error: cannot compute sizeof (long long), 77
16508See \`config.log' for more details." >&2;}
16509 { (exit 1); exit 1; }; } ;;
16510esac
16511else
16512 if test "$cross_compiling" = yes; then
16513 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16514See \`config.log' for more details." >&5
16515echo "$as_me: error: cannot run test program while cross compiling
16516See \`config.log' for more details." >&2;}
16517 { (exit 1); exit 1; }; }
16518else
16519 cat >conftest.$ac_ext <<_ACEOF
16520#line $LINENO "configure"
16521/* confdefs.h. */
16522_ACEOF
16523cat confdefs.h >>conftest.$ac_ext
16524cat >>conftest.$ac_ext <<_ACEOF
16525/* end confdefs.h. */
16526$ac_includes_default
16527long longval () { return (long) (sizeof (long long)); }
16528unsigned long ulongval () { return (long) (sizeof (long long)); }
16529#include <stdio.h>
16530#include <stdlib.h>
16531int
16532main ()
16533{
16534
16535 FILE *f = fopen ("conftest.val", "w");
16536 if (! f)
16537 exit (1);
16538 if (((long) (sizeof (long long))) < 0)
16539 {
16540 long i = longval ();
16541 if (i != ((long) (sizeof (long long))))
16542 exit (1);
16543 fprintf (f, "%ld\n", i);
16544 }
16545 else
16546 {
16547 unsigned long i = ulongval ();
16548 if (i != ((long) (sizeof (long long))))
16549 exit (1);
16550 fprintf (f, "%lu\n", i);
16551 }
16552 exit (ferror (f) || fclose (f) != 0);
16553
16554 ;
16555 return 0;
16556}
16557_ACEOF
16558rm -f conftest$ac_exeext
16559if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16560 (eval $ac_link) 2>&5
16561 ac_status=$?
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16565 (eval $ac_try) 2>&5
16566 ac_status=$?
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); }; }; then
16569 ac_cv_sizeof_long_long=`cat conftest.val`
16570else
16571 echo "$as_me: program exited with status $ac_status" >&5
16572echo "$as_me: failed program was:" >&5
16573sed 's/^/| /' conftest.$ac_ext >&5
16574
16575( exit $ac_status )
16576{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16577See \`config.log' for more details." >&5
16578echo "$as_me: error: cannot compute sizeof (long long), 77
16579See \`config.log' for more details." >&2;}
16580 { (exit 1); exit 1; }; }
16581fi
16582rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16583fi
16584fi
16585rm -f conftest.val
16586else
16587 ac_cv_sizeof_long_long=0
16588fi
16589fi
16590echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16591echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16592cat >>confdefs.h <<_ACEOF
16593#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16594_ACEOF
16595
16596
16597esac
16598
16599echo "$as_me:$LINENO: checking size of wchar_t" >&5
16600echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16601if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16602 echo $ECHO_N "(cached) $ECHO_C" >&6
16603else
16604
16605 if test "$cross_compiling" = yes; then
16606
16607 case "${host}" in
16608 *-pc-msdosdjgpp )
16609 wx_cv_sizeof_wchar_t=0
16610 ;;
16611 * )
16612 wx_cv_sizeof_wchar_t=4
16613 ;;
16614 esac
16615
16616
16617else
16618 cat >conftest.$ac_ext <<_ACEOF
16619#line $LINENO "configure"
16620/* confdefs.h. */
16621_ACEOF
16622cat confdefs.h >>conftest.$ac_ext
16623cat >>conftest.$ac_ext <<_ACEOF
16624/* end confdefs.h. */
16625
16626 /* DJGPP only has fake wchar_t: */
16627 #ifdef __DJGPP__
16628 # error "fake wchar_t"
16629 #endif
16630 #ifdef HAVE_WCHAR_H
16631 # ifdef __CYGWIN__
16632 # include <stddef.h>
16633 # endif
16634 # include <wchar.h>
16635 #endif
16636 #ifdef HAVE_STDLIB_H
16637 # include <stdlib.h>
16638 #endif
16639 #include <stdio.h>
16640 int main()
16641 {
16642 FILE *f=fopen("conftestval", "w");
16643 if (!f) exit(1);
16644 fprintf(f, "%i", sizeof(wchar_t));
16645 exit(0);
16646 }
16647
16648_ACEOF
16649rm -f conftest$ac_exeext
16650if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16651 (eval $ac_link) 2>&5
16652 ac_status=$?
16653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16654 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16656 (eval $ac_try) 2>&5
16657 ac_status=$?
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); }; }; then
16660 wx_cv_sizeof_wchar_t=`cat conftestval`
16661else
16662 echo "$as_me: program exited with status $ac_status" >&5
16663echo "$as_me: failed program was:" >&5
16664sed 's/^/| /' conftest.$ac_ext >&5
16665
16666( exit $ac_status )
16667wx_cv_sizeof_wchar_t=0
16668fi
16669rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16670fi
16671
16672fi
16673echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16674echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16675
16676cat >>confdefs.h <<_ACEOF
16677#define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16678_ACEOF
16679
16680
16681# Check whether --enable-largefile or --disable-largefile was given.
16682if test "${enable_largefile+set}" = set; then
16683 enableval="$enable_largefile"
16684
16685fi;
16686if test "$enable_largefile" != no; then
16687 wx_largefile=no
16688
16689 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16690echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16691if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16692 echo $ECHO_N "(cached) $ECHO_C" >&6
16693else
16694
16695 cat >conftest.$ac_ext <<_ACEOF
16696#line $LINENO "configure"
16697/* confdefs.h. */
16698_ACEOF
16699cat confdefs.h >>conftest.$ac_ext
16700cat >>conftest.$ac_ext <<_ACEOF
16701/* end confdefs.h. */
16702#define _FILE_OFFSET_BITS 64
16703 #include <sys/types.h>
16704int
16705main ()
16706{
16707typedef struct {
16708 unsigned int field: sizeof(off_t) == 8;
16709} wxlf;
16710
16711 ;
16712 return 0;
16713}
16714_ACEOF
16715rm -f conftest.$ac_objext
16716if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16717 (eval $ac_compile) 2>&5
16718 ac_status=$?
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); } &&
16721 { ac_try='test -s conftest.$ac_objext'
16722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16723 (eval $ac_try) 2>&5
16724 ac_status=$?
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726 (exit $ac_status); }; }; then
16727 ac_cv_sys_file_offset_bits=64
16728else
16729 echo "$as_me: failed program was:" >&5
16730sed 's/^/| /' conftest.$ac_ext >&5
16731
16732ac_cv_sys_file_offset_bits=no
16733fi
16734rm -f conftest.$ac_objext conftest.$ac_ext
16735
16736
16737fi
16738echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16739echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16740
16741 if test "$ac_cv_sys_file_offset_bits" != no; then
16742 wx_largefile=yes
16743 cat >>confdefs.h <<_ACEOF
16744#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16745_ACEOF
16746
16747 fi
16748
16749 if test "x$wx_largefile" != "xyes"; then
16750
16751 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16752echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16753if test "${ac_cv_sys_large_files+set}" = set; then
16754 echo $ECHO_N "(cached) $ECHO_C" >&6
16755else
16756
16757 cat >conftest.$ac_ext <<_ACEOF
16758#line $LINENO "configure"
16759/* confdefs.h. */
16760_ACEOF
16761cat confdefs.h >>conftest.$ac_ext
16762cat >>conftest.$ac_ext <<_ACEOF
16763/* end confdefs.h. */
16764#define _LARGE_FILES 1
16765 #include <sys/types.h>
16766int
16767main ()
16768{
16769typedef struct {
16770 unsigned int field: sizeof(off_t) == 8;
16771} wxlf;
16772
16773 ;
16774 return 0;
16775}
16776_ACEOF
16777rm -f conftest.$ac_objext
16778if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16779 (eval $ac_compile) 2>&5
16780 ac_status=$?
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); } &&
16783 { ac_try='test -s conftest.$ac_objext'
16784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16785 (eval $ac_try) 2>&5
16786 ac_status=$?
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); }; }; then
16789 ac_cv_sys_large_files=1
16790else
16791 echo "$as_me: failed program was:" >&5
16792sed 's/^/| /' conftest.$ac_ext >&5
16793
16794ac_cv_sys_large_files=no
16795fi
16796rm -f conftest.$ac_objext conftest.$ac_ext
16797
16798
16799fi
16800echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16801echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16802
16803 if test "$ac_cv_sys_large_files" != no; then
16804 wx_largefile=yes
16805 cat >>confdefs.h <<_ACEOF
16806#define _LARGE_FILES $ac_cv_sys_large_files
16807_ACEOF
16808
16809 fi
16810
16811 fi
16812
16813 echo "$as_me:$LINENO: checking if large file support is available" >&5
16814echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16815 if test "x$wx_largefile" = "xyes"; then
16816 cat >>confdefs.h <<\_ACEOF
16817#define HAVE_LARGEFILE_SUPPORT 1
16818_ACEOF
16819
16820 fi
16821 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16822echo "${ECHO_T}$wx_largefile" >&6
16823fi
16824
16825
16826if test "x$wx_largefile" = "xyes"; then
16827 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16828 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16829 else
16830 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16831 fi
16832 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16833fi
16834
16835echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16836echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16837if test "${ac_cv_c_bigendian+set}" = set; then
16838 echo $ECHO_N "(cached) $ECHO_C" >&6
16839else
16840 ac_cv_c_bigendian=unknown
16841# See if sys/param.h defines the BYTE_ORDER macro.
16842cat >conftest.$ac_ext <<_ACEOF
16843#line $LINENO "configure"
16844/* confdefs.h. */
16845_ACEOF
16846cat confdefs.h >>conftest.$ac_ext
16847cat >>conftest.$ac_ext <<_ACEOF
16848/* end confdefs.h. */
16849#include <sys/types.h>
16850#include <sys/param.h>
16851int
16852main ()
16853{
16854
16855#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16856 bogus endian macros
16857#endif
16858 ;
16859 return 0;
16860}
16861_ACEOF
16862rm -f conftest.$ac_objext
16863if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16864 (eval $ac_compile) 2>&5
16865 ac_status=$?
16866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867 (exit $ac_status); } &&
16868 { ac_try='test -s conftest.$ac_objext'
16869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16870 (eval $ac_try) 2>&5
16871 ac_status=$?
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); }; }; then
16874 # It does; now see whether it defined to BIG_ENDIAN or not.
16875cat >conftest.$ac_ext <<_ACEOF
16876#line $LINENO "configure"
16877/* confdefs.h. */
16878_ACEOF
16879cat confdefs.h >>conftest.$ac_ext
16880cat >>conftest.$ac_ext <<_ACEOF
16881/* end confdefs.h. */
16882#include <sys/types.h>
16883#include <sys/param.h>
16884int
16885main ()
16886{
16887
16888#if BYTE_ORDER != BIG_ENDIAN
16889 not big endian
16890#endif
16891 ;
16892 return 0;
16893}
16894_ACEOF
16895rm -f conftest.$ac_objext
16896if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16897 (eval $ac_compile) 2>&5
16898 ac_status=$?
16899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16900 (exit $ac_status); } &&
16901 { ac_try='test -s conftest.$ac_objext'
16902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16903 (eval $ac_try) 2>&5
16904 ac_status=$?
16905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16906 (exit $ac_status); }; }; then
16907 ac_cv_c_bigendian=yes
16908else
16909 echo "$as_me: failed program was:" >&5
16910sed 's/^/| /' conftest.$ac_ext >&5
16911
16912ac_cv_c_bigendian=no
16913fi
16914rm -f conftest.$ac_objext conftest.$ac_ext
16915else
16916 echo "$as_me: failed program was:" >&5
16917sed 's/^/| /' conftest.$ac_ext >&5
16918
16919fi
16920rm -f conftest.$ac_objext conftest.$ac_ext
16921if test $ac_cv_c_bigendian = unknown; then
16922if test "$cross_compiling" = yes; then
16923 ac_cv_c_bigendian=unknown
16924else
16925 cat >conftest.$ac_ext <<_ACEOF
16926#line $LINENO "configure"
16927/* confdefs.h. */
16928_ACEOF
16929cat confdefs.h >>conftest.$ac_ext
16930cat >>conftest.$ac_ext <<_ACEOF
16931/* end confdefs.h. */
16932main () {
16933 /* Are we little or big endian? From Harbison&Steele. */
16934 union
16935 {
16936 long l;
16937 char c[sizeof (long)];
16938 } u;
16939 u.l = 1;
16940 exit (u.c[sizeof (long) - 1] == 1);
16941}
16942_ACEOF
16943rm -f conftest$ac_exeext
16944if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16945 (eval $ac_link) 2>&5
16946 ac_status=$?
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16950 (eval $ac_try) 2>&5
16951 ac_status=$?
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); }; }; then
16954 ac_cv_c_bigendian=no
16955else
16956 echo "$as_me: program exited with status $ac_status" >&5
16957echo "$as_me: failed program was:" >&5
16958sed 's/^/| /' conftest.$ac_ext >&5
16959
16960( exit $ac_status )
16961ac_cv_c_bigendian=yes
16962fi
16963rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16964fi
16965fi
16966fi
16967echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16968echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16969if test $ac_cv_c_bigendian = unknown; then
16970 { 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
16971echo "$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;}
16972fi
16973if test $ac_cv_c_bigendian = yes; then
16974 cat >>confdefs.h <<\_ACEOF
16975#define WORDS_BIGENDIAN 1
16976_ACEOF
16977
16978fi
16979
16980
16981
16982ac_ext=cc
16983ac_cpp='$CXXCPP $CPPFLAGS'
16984ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16985ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16986ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16987echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16988echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16989if test -z "$CXXCPP"; then
16990 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16991 echo $ECHO_N "(cached) $ECHO_C" >&6
16992else
16993 # Double quotes because CXXCPP needs to be expanded
16994 for CXXCPP in "$CXX -E" "/lib/cpp"
16995 do
16996 ac_preproc_ok=false
16997for ac_cxx_preproc_warn_flag in '' yes
16998do
16999 # Use a header file that comes with gcc, so configuring glibc
17000 # with a fresh cross-compiler works.
17001 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17002 # <limits.h> exists even on freestanding compilers.
17003 # On the NeXT, cc -E runs the code through the compiler's parser,
17004 # not just through cpp. "Syntax error" is here to catch this case.
17005 cat >conftest.$ac_ext <<_ACEOF
17006#line $LINENO "configure"
17007/* confdefs.h. */
17008_ACEOF
17009cat confdefs.h >>conftest.$ac_ext
17010cat >>conftest.$ac_ext <<_ACEOF
17011/* end confdefs.h. */
17012#ifdef __STDC__
17013# include <limits.h>
17014#else
17015# include <assert.h>
17016#endif
17017 Syntax error
17018_ACEOF
17019if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17020 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17021 ac_status=$?
17022 grep -v '^ *+' conftest.er1 >conftest.err
17023 rm -f conftest.er1
17024 cat conftest.err >&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); } >/dev/null; then
17027 if test -s conftest.err; then
17028 ac_cpp_err=$ac_cxx_preproc_warn_flag
17029 else
17030 ac_cpp_err=
17031 fi
17032else
17033 ac_cpp_err=yes
17034fi
17035if test -z "$ac_cpp_err"; then
17036 :
17037else
17038 echo "$as_me: failed program was:" >&5
17039sed 's/^/| /' conftest.$ac_ext >&5
17040
17041 # Broken: fails on valid input.
17042continue
17043fi
17044rm -f conftest.err conftest.$ac_ext
17045
17046 # OK, works on sane cases. Now check whether non-existent headers
17047 # can be detected and how.
17048 cat >conftest.$ac_ext <<_ACEOF
17049#line $LINENO "configure"
17050/* confdefs.h. */
17051_ACEOF
17052cat confdefs.h >>conftest.$ac_ext
17053cat >>conftest.$ac_ext <<_ACEOF
17054/* end confdefs.h. */
17055#include <ac_nonexistent.h>
17056_ACEOF
17057if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17058 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17059 ac_status=$?
17060 grep -v '^ *+' conftest.er1 >conftest.err
17061 rm -f conftest.er1
17062 cat conftest.err >&5
17063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 (exit $ac_status); } >/dev/null; then
17065 if test -s conftest.err; then
17066 ac_cpp_err=$ac_cxx_preproc_warn_flag
17067 else
17068 ac_cpp_err=
17069 fi
17070else
17071 ac_cpp_err=yes
17072fi
17073if test -z "$ac_cpp_err"; then
17074 # Broken: success on invalid input.
17075continue
17076else
17077 echo "$as_me: failed program was:" >&5
17078sed 's/^/| /' conftest.$ac_ext >&5
17079
17080 # Passes both tests.
17081ac_preproc_ok=:
17082break
17083fi
17084rm -f conftest.err conftest.$ac_ext
17085
17086done
17087# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17088rm -f conftest.err conftest.$ac_ext
17089if $ac_preproc_ok; then
17090 break
17091fi
17092
17093 done
17094 ac_cv_prog_CXXCPP=$CXXCPP
17095
17096fi
17097 CXXCPP=$ac_cv_prog_CXXCPP
17098else
17099 ac_cv_prog_CXXCPP=$CXXCPP
17100fi
17101echo "$as_me:$LINENO: result: $CXXCPP" >&5
17102echo "${ECHO_T}$CXXCPP" >&6
17103ac_preproc_ok=false
17104for ac_cxx_preproc_warn_flag in '' yes
17105do
17106 # Use a header file that comes with gcc, so configuring glibc
17107 # with a fresh cross-compiler works.
17108 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17109 # <limits.h> exists even on freestanding compilers.
17110 # On the NeXT, cc -E runs the code through the compiler's parser,
17111 # not just through cpp. "Syntax error" is here to catch this case.
17112 cat >conftest.$ac_ext <<_ACEOF
17113#line $LINENO "configure"
17114/* confdefs.h. */
17115_ACEOF
17116cat confdefs.h >>conftest.$ac_ext
17117cat >>conftest.$ac_ext <<_ACEOF
17118/* end confdefs.h. */
17119#ifdef __STDC__
17120# include <limits.h>
17121#else
17122# include <assert.h>
17123#endif
17124 Syntax error
17125_ACEOF
17126if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17127 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17128 ac_status=$?
17129 grep -v '^ *+' conftest.er1 >conftest.err
17130 rm -f conftest.er1
17131 cat conftest.err >&5
17132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17133 (exit $ac_status); } >/dev/null; then
17134 if test -s conftest.err; then
17135 ac_cpp_err=$ac_cxx_preproc_warn_flag
17136 else
17137 ac_cpp_err=
17138 fi
17139else
17140 ac_cpp_err=yes
17141fi
17142if test -z "$ac_cpp_err"; then
17143 :
17144else
17145 echo "$as_me: failed program was:" >&5
17146sed 's/^/| /' conftest.$ac_ext >&5
17147
17148 # Broken: fails on valid input.
17149continue
17150fi
17151rm -f conftest.err conftest.$ac_ext
17152
17153 # OK, works on sane cases. Now check whether non-existent headers
17154 # can be detected and how.
17155 cat >conftest.$ac_ext <<_ACEOF
17156#line $LINENO "configure"
17157/* confdefs.h. */
17158_ACEOF
17159cat confdefs.h >>conftest.$ac_ext
17160cat >>conftest.$ac_ext <<_ACEOF
17161/* end confdefs.h. */
17162#include <ac_nonexistent.h>
17163_ACEOF
17164if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17165 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17166 ac_status=$?
17167 grep -v '^ *+' conftest.er1 >conftest.err
17168 rm -f conftest.er1
17169 cat conftest.err >&5
17170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17171 (exit $ac_status); } >/dev/null; then
17172 if test -s conftest.err; then
17173 ac_cpp_err=$ac_cxx_preproc_warn_flag
17174 else
17175 ac_cpp_err=
17176 fi
17177else
17178 ac_cpp_err=yes
17179fi
17180if test -z "$ac_cpp_err"; then
17181 # Broken: success on invalid input.
17182continue
17183else
17184 echo "$as_me: failed program was:" >&5
17185sed 's/^/| /' conftest.$ac_ext >&5
17186
17187 # Passes both tests.
17188ac_preproc_ok=:
17189break
17190fi
17191rm -f conftest.err conftest.$ac_ext
17192
17193done
17194# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17195rm -f conftest.err conftest.$ac_ext
17196if $ac_preproc_ok; then
17197 :
17198else
17199 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17200See \`config.log' for more details." >&5
17201echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17202See \`config.log' for more details." >&2;}
17203 { (exit 1); exit 1; }; }
17204fi
17205
17206ac_ext=cc
17207ac_cpp='$CXXCPP $CPPFLAGS'
17208ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17209ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17210ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17211
17212
17213
17214 if test "$cross_compiling" = "yes"; then
17215 cat >>confdefs.h <<\_ACEOF
17216#define wxUSE_IOSTREAMH 1
17217_ACEOF
17218
17219 else
17220
17221
17222 ac_ext=cc
17223ac_cpp='$CXXCPP $CPPFLAGS'
17224ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17225ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17226ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17227
17228
17229
17230for ac_header in iostream
17231do
17232as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17233if eval "test \"\${$as_ac_Header+set}\" = set"; then
17234 echo "$as_me:$LINENO: checking for $ac_header" >&5
17235echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17236if eval "test \"\${$as_ac_Header+set}\" = set"; then
17237 echo $ECHO_N "(cached) $ECHO_C" >&6
17238fi
17239echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17240echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17241else
17242 # Is the header compilable?
17243echo "$as_me:$LINENO: checking $ac_header usability" >&5
17244echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17245cat >conftest.$ac_ext <<_ACEOF
17246#line $LINENO "configure"
17247/* confdefs.h. */
17248_ACEOF
17249cat confdefs.h >>conftest.$ac_ext
17250cat >>conftest.$ac_ext <<_ACEOF
17251/* end confdefs.h. */
17252$ac_includes_default
17253#include <$ac_header>
17254_ACEOF
17255rm -f conftest.$ac_objext
17256if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17257 (eval $ac_compile) 2>&5
17258 ac_status=$?
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); } &&
17261 { ac_try='test -s conftest.$ac_objext'
17262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17263 (eval $ac_try) 2>&5
17264 ac_status=$?
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); }; }; then
17267 ac_header_compiler=yes
17268else
17269 echo "$as_me: failed program was:" >&5
17270sed 's/^/| /' conftest.$ac_ext >&5
17271
17272ac_header_compiler=no
17273fi
17274rm -f conftest.$ac_objext conftest.$ac_ext
17275echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17276echo "${ECHO_T}$ac_header_compiler" >&6
17277
17278# Is the header present?
17279echo "$as_me:$LINENO: checking $ac_header presence" >&5
17280echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17281cat >conftest.$ac_ext <<_ACEOF
17282#line $LINENO "configure"
17283/* confdefs.h. */
17284_ACEOF
17285cat confdefs.h >>conftest.$ac_ext
17286cat >>conftest.$ac_ext <<_ACEOF
17287/* end confdefs.h. */
17288#include <$ac_header>
17289_ACEOF
17290if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17291 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17292 ac_status=$?
17293 grep -v '^ *+' conftest.er1 >conftest.err
17294 rm -f conftest.er1
17295 cat conftest.err >&5
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); } >/dev/null; then
17298 if test -s conftest.err; then
17299 ac_cpp_err=$ac_cxx_preproc_warn_flag
17300 else
17301 ac_cpp_err=
17302 fi
17303else
17304 ac_cpp_err=yes
17305fi
17306if test -z "$ac_cpp_err"; then
17307 ac_header_preproc=yes
17308else
17309 echo "$as_me: failed program was:" >&5
17310sed 's/^/| /' conftest.$ac_ext >&5
17311
17312 ac_header_preproc=no
17313fi
17314rm -f conftest.err conftest.$ac_ext
17315echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17316echo "${ECHO_T}$ac_header_preproc" >&6
17317
17318# So? What about this header?
17319case $ac_header_compiler:$ac_header_preproc in
17320 yes:no )
17321 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17322echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17323 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17324echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17325 (
17326 cat <<\_ASBOX
17327## ------------------------------------ ##
17328## Report this to bug-autoconf@gnu.org. ##
17329## ------------------------------------ ##
17330_ASBOX
17331 ) |
17332 sed "s/^/$as_me: WARNING: /" >&2
17333 ;;
17334 no:yes )
17335 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17336echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17337 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17338echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17339 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17340echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17341 (
17342 cat <<\_ASBOX
17343## ------------------------------------ ##
17344## Report this to bug-autoconf@gnu.org. ##
17345## ------------------------------------ ##
17346_ASBOX
17347 ) |
17348 sed "s/^/$as_me: WARNING: /" >&2
17349 ;;
17350esac
17351echo "$as_me:$LINENO: checking for $ac_header" >&5
17352echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17353if eval "test \"\${$as_ac_Header+set}\" = set"; then
17354 echo $ECHO_N "(cached) $ECHO_C" >&6
17355else
17356 eval "$as_ac_Header=$ac_header_preproc"
17357fi
17358echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17359echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17360
17361fi
17362if test `eval echo '${'$as_ac_Header'}'` = yes; then
17363 cat >>confdefs.h <<_ACEOF
17364#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17365_ACEOF
17366
17367fi
17368
17369done
17370
17371
17372 if test "$ac_cv_header_iostream" = "yes" ; then
17373 :
17374 else
17375 cat >>confdefs.h <<\_ACEOF
17376#define wxUSE_IOSTREAMH 1
17377_ACEOF
17378
17379 fi
17380
17381 ac_ext=c
17382ac_cpp='$CPP $CPPFLAGS'
17383ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17384ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17385ac_compiler_gnu=$ac_cv_c_compiler_gnu
17386
17387 fi
17388
17389
17390
17391 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17392echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17393if test "${wx_cv_cpp_bool+set}" = set; then
17394 echo $ECHO_N "(cached) $ECHO_C" >&6
17395else
17396
17397
17398
17399 ac_ext=cc
17400ac_cpp='$CXXCPP $CPPFLAGS'
17401ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17402ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17403ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17404
17405
17406 cat >conftest.$ac_ext <<_ACEOF
17407#line $LINENO "configure"
17408/* confdefs.h. */
17409_ACEOF
17410cat confdefs.h >>conftest.$ac_ext
17411cat >>conftest.$ac_ext <<_ACEOF
17412/* end confdefs.h. */
17413
17414
17415int
17416main ()
17417{
17418
17419 bool b = true;
17420
17421 return 0;
17422
17423 ;
17424 return 0;
17425}
17426_ACEOF
17427rm -f conftest.$ac_objext
17428if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17429 (eval $ac_compile) 2>&5
17430 ac_status=$?
17431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432 (exit $ac_status); } &&
17433 { ac_try='test -s conftest.$ac_objext'
17434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17435 (eval $ac_try) 2>&5
17436 ac_status=$?
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); }; }; then
17439
17440 wx_cv_cpp_bool=yes
17441
17442else
17443 echo "$as_me: failed program was:" >&5
17444sed 's/^/| /' conftest.$ac_ext >&5
17445
17446
17447 wx_cv_cpp_bool=no
17448
17449
17450fi
17451rm -f conftest.$ac_objext conftest.$ac_ext
17452
17453 ac_ext=c
17454ac_cpp='$CPP $CPPFLAGS'
17455ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17456ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17457ac_compiler_gnu=$ac_cv_c_compiler_gnu
17458
17459
17460fi
17461echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17462echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17463
17464 if test "$wx_cv_cpp_bool" = "yes"; then
17465 cat >>confdefs.h <<\_ACEOF
17466#define HAVE_BOOL 1
17467_ACEOF
17468
17469 fi
17470
17471
17472
17473 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17474echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17475if test "${wx_cv_explicit+set}" = set; then
17476 echo $ECHO_N "(cached) $ECHO_C" >&6
17477else
17478
17479
17480
17481 ac_ext=cc
17482ac_cpp='$CXXCPP $CPPFLAGS'
17483ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17484ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17485ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17486
17487
17488 cat >conftest.$ac_ext <<_ACEOF
17489#line $LINENO "configure"
17490/* confdefs.h. */
17491_ACEOF
17492cat confdefs.h >>conftest.$ac_ext
17493cat >>conftest.$ac_ext <<_ACEOF
17494/* end confdefs.h. */
17495
17496 class Foo { public: explicit Foo(int) {} };
17497
17498int
17499main ()
17500{
17501
17502 return 0;
17503
17504 ;
17505 return 0;
17506}
17507_ACEOF
17508rm -f conftest.$ac_objext
17509if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17510 (eval $ac_compile) 2>&5
17511 ac_status=$?
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); } &&
17514 { ac_try='test -s conftest.$ac_objext'
17515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17516 (eval $ac_try) 2>&5
17517 ac_status=$?
17518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17519 (exit $ac_status); }; }; then
17520
17521 cat >conftest.$ac_ext <<_ACEOF
17522#line $LINENO "configure"
17523/* confdefs.h. */
17524_ACEOF
17525cat confdefs.h >>conftest.$ac_ext
17526cat >>conftest.$ac_ext <<_ACEOF
17527/* end confdefs.h. */
17528
17529 class Foo { public: explicit Foo(int) {} };
17530 static void TakeFoo(const Foo& foo) { }
17531
17532int
17533main ()
17534{
17535
17536 TakeFoo(17);
17537 return 0;
17538
17539 ;
17540 return 0;
17541}
17542_ACEOF
17543rm -f conftest.$ac_objext
17544if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17545 (eval $ac_compile) 2>&5
17546 ac_status=$?
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); } &&
17549 { ac_try='test -s conftest.$ac_objext'
17550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17551 (eval $ac_try) 2>&5
17552 ac_status=$?
17553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17554 (exit $ac_status); }; }; then
17555 wx_cv_explicit=no
17556else
17557 echo "$as_me: failed program was:" >&5
17558sed 's/^/| /' conftest.$ac_ext >&5
17559
17560wx_cv_explicit=yes
17561
17562fi
17563rm -f conftest.$ac_objext conftest.$ac_ext
17564
17565else
17566 echo "$as_me: failed program was:" >&5
17567sed 's/^/| /' conftest.$ac_ext >&5
17568
17569wx_cv_explicit=no
17570
17571fi
17572rm -f conftest.$ac_objext conftest.$ac_ext
17573
17574 ac_ext=c
17575ac_cpp='$CPP $CPPFLAGS'
17576ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17577ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17578ac_compiler_gnu=$ac_cv_c_compiler_gnu
17579
17580
17581fi
17582echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17583echo "${ECHO_T}$wx_cv_explicit" >&6
17584
17585 if test "$wx_cv_explicit" = "yes"; then
17586 cat >>confdefs.h <<\_ACEOF
17587#define HAVE_EXPLICIT 1
17588_ACEOF
17589
17590 fi
17591
17592
17593echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17594echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17595if test "${ac_cv_cxx_const_cast+set}" = set; then
17596 echo $ECHO_N "(cached) $ECHO_C" >&6
17597else
17598
17599
17600 ac_ext=cc
17601ac_cpp='$CXXCPP $CPPFLAGS'
17602ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17603ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17604ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17605
17606 cat >conftest.$ac_ext <<_ACEOF
17607#line $LINENO "configure"
17608/* confdefs.h. */
17609_ACEOF
17610cat confdefs.h >>conftest.$ac_ext
17611cat >>conftest.$ac_ext <<_ACEOF
17612/* end confdefs.h. */
17613
17614int
17615main ()
17616{
17617int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17618 ;
17619 return 0;
17620}
17621_ACEOF
17622rm -f conftest.$ac_objext
17623if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17624 (eval $ac_compile) 2>&5
17625 ac_status=$?
17626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17627 (exit $ac_status); } &&
17628 { ac_try='test -s conftest.$ac_objext'
17629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17630 (eval $ac_try) 2>&5
17631 ac_status=$?
17632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17633 (exit $ac_status); }; }; then
17634 ac_cv_cxx_const_cast=yes
17635else
17636 echo "$as_me: failed program was:" >&5
17637sed 's/^/| /' conftest.$ac_ext >&5
17638
17639ac_cv_cxx_const_cast=no
17640fi
17641rm -f conftest.$ac_objext conftest.$ac_ext
17642 ac_ext=c
17643ac_cpp='$CPP $CPPFLAGS'
17644ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17645ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17646ac_compiler_gnu=$ac_cv_c_compiler_gnu
17647
17648
17649fi
17650echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17651echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17652if test "$ac_cv_cxx_const_cast" = yes; then
17653
17654cat >>confdefs.h <<\_ACEOF
17655#define HAVE_CONST_CAST
17656_ACEOF
17657
17658fi
17659
17660
17661if test "$wxUSE_STL" = "yes"; then
17662 ac_ext=cc
17663ac_cpp='$CXXCPP $CPPFLAGS'
17664ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17665ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17666ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17667
17668
17669 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17670echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17671 cat >conftest.$ac_ext <<_ACEOF
17672#line $LINENO "configure"
17673/* confdefs.h. */
17674_ACEOF
17675cat confdefs.h >>conftest.$ac_ext
17676cat >>conftest.$ac_ext <<_ACEOF
17677/* end confdefs.h. */
17678#include <string>
17679 #include <functional>
17680 #include <algorithm>
17681 #include <vector>
17682 #include <list>
17683int
17684main ()
17685{
17686std::vector<int> moo;
17687 std::list<int> foo;
17688 std::vector<int>::iterator it =
17689 std::find_if(moo.begin(), moo.end(),
17690 std::bind2nd(std::less<int>(), 3));
17691 ;
17692 return 0;
17693}
17694_ACEOF
17695rm -f conftest.$ac_objext
17696if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17697 (eval $ac_compile) 2>&5
17698 ac_status=$?
17699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17700 (exit $ac_status); } &&
17701 { ac_try='test -s conftest.$ac_objext'
17702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17703 (eval $ac_try) 2>&5
17704 ac_status=$?
17705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17706 (exit $ac_status); }; }; then
17707 echo "$as_me:$LINENO: result: yes" >&5
17708echo "${ECHO_T}yes" >&6
17709else
17710 echo "$as_me: failed program was:" >&5
17711sed 's/^/| /' conftest.$ac_ext >&5
17712
17713echo "$as_me:$LINENO: result: no" >&5
17714echo "${ECHO_T}no" >&6
17715 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17716echo "$as_me: error: Basic STL functionality missing" >&2;}
17717 { (exit 1); exit 1; }; }
17718fi
17719rm -f conftest.$ac_objext conftest.$ac_ext
17720
17721 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17722echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17723 cat >conftest.$ac_ext <<_ACEOF
17724#line $LINENO "configure"
17725/* confdefs.h. */
17726_ACEOF
17727cat confdefs.h >>conftest.$ac_ext
17728cat >>conftest.$ac_ext <<_ACEOF
17729/* end confdefs.h. */
17730#include <string>
17731int
17732main ()
17733{
17734std::wstring foo;
17735 ;
17736 return 0;
17737}
17738_ACEOF
17739rm -f conftest.$ac_objext
17740if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17741 (eval $ac_compile) 2>&5
17742 ac_status=$?
17743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17744 (exit $ac_status); } &&
17745 { ac_try='test -s conftest.$ac_objext'
17746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17747 (eval $ac_try) 2>&5
17748 ac_status=$?
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); }; }; then
17751 echo "$as_me:$LINENO: result: yes" >&5
17752echo "${ECHO_T}yes" >&6
17753 cat >>confdefs.h <<\_ACEOF
17754#define HAVE_STD_WSTRING 1
17755_ACEOF
17756
17757else
17758 echo "$as_me: failed program was:" >&5
17759sed 's/^/| /' conftest.$ac_ext >&5
17760
17761echo "$as_me:$LINENO: result: no" >&5
17762echo "${ECHO_T}no" >&6
17763fi
17764rm -f conftest.$ac_objext conftest.$ac_ext
17765
17766 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17767echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17768 cat >conftest.$ac_ext <<_ACEOF
17769#line $LINENO "configure"
17770/* confdefs.h. */
17771_ACEOF
17772cat confdefs.h >>conftest.$ac_ext
17773cat >>conftest.$ac_ext <<_ACEOF
17774/* end confdefs.h. */
17775#include <string>
17776int
17777main ()
17778{
17779std::string foo, bar;
17780 foo.compare(bar);
17781 foo.compare(1, 1, bar);
17782 foo.compare(1, 1, bar, 1, 1);
17783 foo.compare("");
17784 foo.compare(1, 1, "");
17785 foo.compare(1, 1, "", 2);
17786 ;
17787 return 0;
17788}
17789_ACEOF
17790rm -f conftest.$ac_objext
17791if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17792 (eval $ac_compile) 2>&5
17793 ac_status=$?
17794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17795 (exit $ac_status); } &&
17796 { ac_try='test -s conftest.$ac_objext'
17797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17798 (eval $ac_try) 2>&5
17799 ac_status=$?
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801 (exit $ac_status); }; }; then
17802 echo "$as_me:$LINENO: result: yes" >&5
17803echo "${ECHO_T}yes" >&6
17804 cat >>confdefs.h <<\_ACEOF
17805#define HAVE_STD_STRING_COMPARE 1
17806_ACEOF
17807
17808else
17809 echo "$as_me: failed program was:" >&5
17810sed 's/^/| /' conftest.$ac_ext >&5
17811
17812echo "$as_me:$LINENO: result: no" >&5
17813echo "${ECHO_T}no" >&6
17814fi
17815rm -f conftest.$ac_objext conftest.$ac_ext
17816
17817 ac_ext=c
17818ac_cpp='$CPP $CPPFLAGS'
17819ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17820ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17821ac_compiler_gnu=$ac_cv_c_compiler_gnu
17822
17823fi
17824
17825
17826SEARCH_INCLUDE="\
17827 /usr/local/include \
17828 \
17829 /usr/Motif-1.2/include \
17830 /usr/Motif-2.1/include \
17831 \
17832 /usr/include/Motif1.2 \
17833 /opt/xpm/include/X11 \
17834 /opt/GBxpm/include/ \
17835 /opt/GBxpm/X11/include/ \
17836 \
17837 /usr/Motif1.2/include \
17838 /usr/dt/include \
17839 /usr/openwin/include \
17840 \
17841 /usr/include/Xm \
17842 \
17843 /usr/X11R6/include \
17844 /usr/X11R6.4/include \
17845 /usr/X11R5/include \
17846 /usr/X11R4/include \
17847 \
17848 /usr/include/X11R6 \
17849 /usr/include/X11R5 \
17850 /usr/include/X11R4 \
17851 \
17852 /usr/local/X11R6/include \
17853 /usr/local/X11R5/include \
17854 /usr/local/X11R4/include \
17855 \
17856 /usr/local/include/X11R6 \
17857 /usr/local/include/X11R5 \
17858 /usr/local/include/X11R4 \
17859 \
17860 /usr/X11/include \
17861 /usr/include/X11 \
17862 /usr/local/X11/include \
17863 /usr/local/include/X11 \
17864 \
17865 /usr/X386/include \
17866 /usr/x386/include \
17867 /usr/XFree86/include/X11 \
17868 \
17869 X:/XFree86/include \
17870 X:/XFree86/include/X11 \
17871 \
17872 /usr/include/gtk \
17873 /usr/local/include/gtk \
17874 /usr/include/glib \
17875 /usr/local/include/glib \
17876 \
17877 /usr/include/qt \
17878 /usr/local/include/qt \
17879 \
17880 /usr/include/windows \
17881 /usr/include/wine \
17882 /usr/local/include/wine \
17883 \
17884 /usr/unsupported/include \
17885 /usr/athena/include \
17886 /usr/local/x11r5/include \
17887 /usr/lpp/Xamples/include \
17888 \
17889 /usr/openwin/share/include"
17890
17891SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17892
17893
17894cat >confcache <<\_ACEOF
17895# This file is a shell script that caches the results of configure
17896# tests run on this system so they can be shared between configure
17897# scripts and configure runs, see configure's option --config-cache.
17898# It is not useful on other systems. If it contains results you don't
17899# want to keep, you may remove or edit it.
17900#
17901# config.status only pays attention to the cache file if you give it
17902# the --recheck option to rerun configure.
17903#
17904# `ac_cv_env_foo' variables (set or unset) will be overridden when
17905# loading this file, other *unset* `ac_cv_foo' will be assigned the
17906# following values.
17907
17908_ACEOF
17909
17910# The following way of writing the cache mishandles newlines in values,
17911# but we know of no workaround that is simple, portable, and efficient.
17912# So, don't put newlines in cache variables' values.
17913# Ultrix sh set writes to stderr and can't be redirected directly,
17914# and sets the high bit in the cache file unless we assign to the vars.
17915{
17916 (set) 2>&1 |
17917 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17918 *ac_space=\ *)
17919 # `set' does not quote correctly, so add quotes (double-quote
17920 # substitution turns \\\\ into \\, and sed turns \\ into \).
17921 sed -n \
17922 "s/'/'\\\\''/g;
17923 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17924 ;;
17925 *)
17926 # `set' quotes correctly as required by POSIX, so do not add quotes.
17927 sed -n \
17928 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17929 ;;
17930 esac;
17931} |
17932 sed '
17933 t clear
17934 : clear
17935 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17936 t end
17937 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17938 : end' >>confcache
17939if diff $cache_file confcache >/dev/null 2>&1; then :; else
17940 if test -w $cache_file; then
17941 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17942 cat confcache >$cache_file
17943 else
17944 echo "not updating unwritable cache $cache_file"
17945 fi
17946fi
17947rm -f confcache
17948
17949if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17950 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17951echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17952if test "${wx_cv_lib_glibc21+set}" = set; then
17953 echo $ECHO_N "(cached) $ECHO_C" >&6
17954else
17955
17956 cat >conftest.$ac_ext <<_ACEOF
17957#line $LINENO "configure"
17958/* confdefs.h. */
17959_ACEOF
17960cat confdefs.h >>conftest.$ac_ext
17961cat >>conftest.$ac_ext <<_ACEOF
17962/* end confdefs.h. */
17963#include <features.h>
17964int
17965main ()
17966{
17967
17968 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17969 #error not glibc2.1
17970 #endif
17971
17972 ;
17973 return 0;
17974}
17975_ACEOF
17976rm -f conftest.$ac_objext
17977if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17978 (eval $ac_compile) 2>&5
17979 ac_status=$?
17980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17981 (exit $ac_status); } &&
17982 { ac_try='test -s conftest.$ac_objext'
17983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17984 (eval $ac_try) 2>&5
17985 ac_status=$?
17986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17987 (exit $ac_status); }; }; then
17988
17989 wx_cv_lib_glibc21=yes
17990
17991else
17992 echo "$as_me: failed program was:" >&5
17993sed 's/^/| /' conftest.$ac_ext >&5
17994
17995
17996 wx_cv_lib_glibc21=no
17997
17998
17999fi
18000rm -f conftest.$ac_objext conftest.$ac_ext
18001
18002fi
18003echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18004echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18005 if test "$wx_cv_lib_glibc21" = "yes"; then
18006 cat >>confdefs.h <<\_ACEOF
18007#define wxHAVE_GLIBC2 1
18008_ACEOF
18009
18010 fi
18011fi
18012
18013if test "x$wx_cv_lib_glibc21" = "xyes"; then
18014 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18015 cat >>confdefs.h <<\_ACEOF
18016#define _GNU_SOURCE 1
18017_ACEOF
18018
18019 fi
18020fi
18021
18022
18023
18024REGEX_INCLUDE=
18025if test "$wxUSE_REGEX" != "no"; then
18026 cat >>confdefs.h <<\_ACEOF
18027#define wxUSE_REGEX 1
18028_ACEOF
18029
18030
18031 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18032 if test "${ac_cv_header_regex_h+set}" = set; then
18033 echo "$as_me:$LINENO: checking for regex.h" >&5
18034echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18035if test "${ac_cv_header_regex_h+set}" = set; then
18036 echo $ECHO_N "(cached) $ECHO_C" >&6
18037fi
18038echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18039echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18040else
18041 # Is the header compilable?
18042echo "$as_me:$LINENO: checking regex.h usability" >&5
18043echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18044cat >conftest.$ac_ext <<_ACEOF
18045#line $LINENO "configure"
18046/* confdefs.h. */
18047_ACEOF
18048cat confdefs.h >>conftest.$ac_ext
18049cat >>conftest.$ac_ext <<_ACEOF
18050/* end confdefs.h. */
18051$ac_includes_default
18052#include <regex.h>
18053_ACEOF
18054rm -f conftest.$ac_objext
18055if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18056 (eval $ac_compile) 2>&5
18057 ac_status=$?
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); } &&
18060 { ac_try='test -s conftest.$ac_objext'
18061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18062 (eval $ac_try) 2>&5
18063 ac_status=$?
18064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18065 (exit $ac_status); }; }; then
18066 ac_header_compiler=yes
18067else
18068 echo "$as_me: failed program was:" >&5
18069sed 's/^/| /' conftest.$ac_ext >&5
18070
18071ac_header_compiler=no
18072fi
18073rm -f conftest.$ac_objext conftest.$ac_ext
18074echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18075echo "${ECHO_T}$ac_header_compiler" >&6
18076
18077# Is the header present?
18078echo "$as_me:$LINENO: checking regex.h presence" >&5
18079echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18080cat >conftest.$ac_ext <<_ACEOF
18081#line $LINENO "configure"
18082/* confdefs.h. */
18083_ACEOF
18084cat confdefs.h >>conftest.$ac_ext
18085cat >>conftest.$ac_ext <<_ACEOF
18086/* end confdefs.h. */
18087#include <regex.h>
18088_ACEOF
18089if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18090 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18091 ac_status=$?
18092 grep -v '^ *+' conftest.er1 >conftest.err
18093 rm -f conftest.er1
18094 cat conftest.err >&5
18095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096 (exit $ac_status); } >/dev/null; then
18097 if test -s conftest.err; then
18098 ac_cpp_err=$ac_c_preproc_warn_flag
18099 else
18100 ac_cpp_err=
18101 fi
18102else
18103 ac_cpp_err=yes
18104fi
18105if test -z "$ac_cpp_err"; then
18106 ac_header_preproc=yes
18107else
18108 echo "$as_me: failed program was:" >&5
18109sed 's/^/| /' conftest.$ac_ext >&5
18110
18111 ac_header_preproc=no
18112fi
18113rm -f conftest.err conftest.$ac_ext
18114echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18115echo "${ECHO_T}$ac_header_preproc" >&6
18116
18117# So? What about this header?
18118case $ac_header_compiler:$ac_header_preproc in
18119 yes:no )
18120 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18121echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18122 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18123echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18124 (
18125 cat <<\_ASBOX
18126## ------------------------------------ ##
18127## Report this to bug-autoconf@gnu.org. ##
18128## ------------------------------------ ##
18129_ASBOX
18130 ) |
18131 sed "s/^/$as_me: WARNING: /" >&2
18132 ;;
18133 no:yes )
18134 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18135echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18136 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18137echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18138 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18139echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18140 (
18141 cat <<\_ASBOX
18142## ------------------------------------ ##
18143## Report this to bug-autoconf@gnu.org. ##
18144## ------------------------------------ ##
18145_ASBOX
18146 ) |
18147 sed "s/^/$as_me: WARNING: /" >&2
18148 ;;
18149esac
18150echo "$as_me:$LINENO: checking for regex.h" >&5
18151echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18152if test "${ac_cv_header_regex_h+set}" = set; then
18153 echo $ECHO_N "(cached) $ECHO_C" >&6
18154else
18155 ac_cv_header_regex_h=$ac_header_preproc
18156fi
18157echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18158echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18159
18160fi
18161if test $ac_cv_header_regex_h = yes; then
18162
18163for ac_func in regcomp
18164do
18165as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18166echo "$as_me:$LINENO: checking for $ac_func" >&5
18167echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18168if eval "test \"\${$as_ac_var+set}\" = set"; then
18169 echo $ECHO_N "(cached) $ECHO_C" >&6
18170else
18171 cat >conftest.$ac_ext <<_ACEOF
18172#line $LINENO "configure"
18173/* confdefs.h. */
18174_ACEOF
18175cat confdefs.h >>conftest.$ac_ext
18176cat >>conftest.$ac_ext <<_ACEOF
18177/* end confdefs.h. */
18178/* System header to define __stub macros and hopefully few prototypes,
18179 which can conflict with char $ac_func (); below.
18180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18181 <limits.h> exists even on freestanding compilers. */
18182#ifdef __STDC__
18183# include <limits.h>
18184#else
18185# include <assert.h>
18186#endif
18187/* Override any gcc2 internal prototype to avoid an error. */
18188#ifdef __cplusplus
18189extern "C"
18190{
18191#endif
18192/* We use char because int might match the return type of a gcc2
18193 builtin and then its argument prototype would still apply. */
18194char $ac_func ();
18195/* The GNU C library defines this for functions which it implements
18196 to always fail with ENOSYS. Some functions are actually named
18197 something starting with __ and the normal name is an alias. */
18198#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18199choke me
18200#else
18201char (*f) () = $ac_func;
18202#endif
18203#ifdef __cplusplus
18204}
18205#endif
18206
18207int
18208main ()
18209{
18210return f != $ac_func;
18211 ;
18212 return 0;
18213}
18214_ACEOF
18215rm -f conftest.$ac_objext conftest$ac_exeext
18216if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18217 (eval $ac_link) 2>&5
18218 ac_status=$?
18219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); } &&
18221 { ac_try='test -s conftest$ac_exeext'
18222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18223 (eval $ac_try) 2>&5
18224 ac_status=$?
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); }; }; then
18227 eval "$as_ac_var=yes"
18228else
18229 echo "$as_me: failed program was:" >&5
18230sed 's/^/| /' conftest.$ac_ext >&5
18231
18232eval "$as_ac_var=no"
18233fi
18234rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18235fi
18236echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18237echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18238if test `eval echo '${'$as_ac_var'}'` = yes; then
18239 cat >>confdefs.h <<_ACEOF
18240#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18241_ACEOF
18242
18243fi
18244done
18245
18246fi
18247
18248
18249
18250 if test "x$ac_cv_func_regcomp" != "xyes"; then
18251 if test "$wxUSE_REGEX" = "sys" ; then
18252 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18253echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18254 { (exit 1); exit 1; }; }
18255 else
18256 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18257echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18258 wxUSE_REGEX=builtin
18259 fi
18260 else
18261 wxUSE_REGEX=sys
18262 fi
18263 fi
18264
18265 if test "$wxUSE_REGEX" = "builtin" ; then
18266 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18267 fi
18268fi
18269
18270
18271ZLIB_INCLUDE=
18272ZLIB_LINK=
18273if test "$wxUSE_ZLIB" != "no" ; then
18274 cat >>confdefs.h <<\_ACEOF
18275#define wxUSE_ZLIB 1
18276_ACEOF
18277
18278
18279 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18280 if test "$USE_DARWIN" = 1; then
18281 system_zlib_h_ok="yes"
18282 else
18283 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18284echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18285if test "${ac_cv_header_zlib_h+set}" = set; then
18286 echo $ECHO_N "(cached) $ECHO_C" >&6
18287else
18288 if test "$cross_compiling" = yes; then
18289 unset ac_cv_header_zlib_h
18290
18291else
18292 cat >conftest.$ac_ext <<_ACEOF
18293#line $LINENO "configure"
18294/* confdefs.h. */
18295_ACEOF
18296cat confdefs.h >>conftest.$ac_ext
18297cat >>conftest.$ac_ext <<_ACEOF
18298/* end confdefs.h. */
18299
18300 #include <zlib.h>
18301 #include <stdio.h>
18302
18303 int main()
18304 {
18305 FILE *f=fopen("conftestval", "w");
18306 if (!f) exit(1);
18307 fprintf(f, "%s",
18308 ZLIB_VERSION[0] == '1' &&
18309 (ZLIB_VERSION[2] > '1' ||
18310 (ZLIB_VERSION[2] == '1' &&
18311 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18312 exit(0);
18313 }
18314
18315_ACEOF
18316rm -f conftest$ac_exeext
18317if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18318 (eval $ac_link) 2>&5
18319 ac_status=$?
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18323 (eval $ac_try) 2>&5
18324 ac_status=$?
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); }; }; then
18327 ac_cv_header_zlib_h=`cat conftestval`
18328else
18329 echo "$as_me: program exited with status $ac_status" >&5
18330echo "$as_me: failed program was:" >&5
18331sed 's/^/| /' conftest.$ac_ext >&5
18332
18333( exit $ac_status )
18334ac_cv_header_zlib_h=no
18335fi
18336rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18337fi
18338
18339fi
18340echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18341echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18342 if test "${ac_cv_header_zlib_h+set}" = set; then
18343 echo "$as_me:$LINENO: checking for zlib.h" >&5
18344echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18345if test "${ac_cv_header_zlib_h+set}" = set; then
18346 echo $ECHO_N "(cached) $ECHO_C" >&6
18347fi
18348echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18349echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18350else
18351 # Is the header compilable?
18352echo "$as_me:$LINENO: checking zlib.h usability" >&5
18353echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18354cat >conftest.$ac_ext <<_ACEOF
18355#line $LINENO "configure"
18356/* confdefs.h. */
18357_ACEOF
18358cat confdefs.h >>conftest.$ac_ext
18359cat >>conftest.$ac_ext <<_ACEOF
18360/* end confdefs.h. */
18361$ac_includes_default
18362#include <zlib.h>
18363_ACEOF
18364rm -f conftest.$ac_objext
18365if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18366 (eval $ac_compile) 2>&5
18367 ac_status=$?
18368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18369 (exit $ac_status); } &&
18370 { ac_try='test -s conftest.$ac_objext'
18371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18372 (eval $ac_try) 2>&5
18373 ac_status=$?
18374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18375 (exit $ac_status); }; }; then
18376 ac_header_compiler=yes
18377else
18378 echo "$as_me: failed program was:" >&5
18379sed 's/^/| /' conftest.$ac_ext >&5
18380
18381ac_header_compiler=no
18382fi
18383rm -f conftest.$ac_objext conftest.$ac_ext
18384echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18385echo "${ECHO_T}$ac_header_compiler" >&6
18386
18387# Is the header present?
18388echo "$as_me:$LINENO: checking zlib.h presence" >&5
18389echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18390cat >conftest.$ac_ext <<_ACEOF
18391#line $LINENO "configure"
18392/* confdefs.h. */
18393_ACEOF
18394cat confdefs.h >>conftest.$ac_ext
18395cat >>conftest.$ac_ext <<_ACEOF
18396/* end confdefs.h. */
18397#include <zlib.h>
18398_ACEOF
18399if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18400 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18401 ac_status=$?
18402 grep -v '^ *+' conftest.er1 >conftest.err
18403 rm -f conftest.er1
18404 cat conftest.err >&5
18405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 (exit $ac_status); } >/dev/null; then
18407 if test -s conftest.err; then
18408 ac_cpp_err=$ac_c_preproc_warn_flag
18409 else
18410 ac_cpp_err=
18411 fi
18412else
18413 ac_cpp_err=yes
18414fi
18415if test -z "$ac_cpp_err"; then
18416 ac_header_preproc=yes
18417else
18418 echo "$as_me: failed program was:" >&5
18419sed 's/^/| /' conftest.$ac_ext >&5
18420
18421 ac_header_preproc=no
18422fi
18423rm -f conftest.err conftest.$ac_ext
18424echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18425echo "${ECHO_T}$ac_header_preproc" >&6
18426
18427# So? What about this header?
18428case $ac_header_compiler:$ac_header_preproc in
18429 yes:no )
18430 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18431echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18432 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18433echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18434 (
18435 cat <<\_ASBOX
18436## ------------------------------------ ##
18437## Report this to bug-autoconf@gnu.org. ##
18438## ------------------------------------ ##
18439_ASBOX
18440 ) |
18441 sed "s/^/$as_me: WARNING: /" >&2
18442 ;;
18443 no:yes )
18444 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18445echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18446 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18447echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18448 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18449echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18450 (
18451 cat <<\_ASBOX
18452## ------------------------------------ ##
18453## Report this to bug-autoconf@gnu.org. ##
18454## ------------------------------------ ##
18455_ASBOX
18456 ) |
18457 sed "s/^/$as_me: WARNING: /" >&2
18458 ;;
18459esac
18460echo "$as_me:$LINENO: checking for zlib.h" >&5
18461echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18462if test "${ac_cv_header_zlib_h+set}" = set; then
18463 echo $ECHO_N "(cached) $ECHO_C" >&6
18464else
18465 ac_cv_header_zlib_h=$ac_header_preproc
18466fi
18467echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18468echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18469
18470fi
18471
18472
18473
18474 system_zlib_h_ok=$ac_cv_header_zlib_h
18475 fi
18476
18477 if test "$system_zlib_h_ok" = "yes"; then
18478 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18479echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18480if test "${ac_cv_lib_z_deflate+set}" = set; then
18481 echo $ECHO_N "(cached) $ECHO_C" >&6
18482else
18483 ac_check_lib_save_LIBS=$LIBS
18484LIBS="-lz $LIBS"
18485cat >conftest.$ac_ext <<_ACEOF
18486#line $LINENO "configure"
18487/* confdefs.h. */
18488_ACEOF
18489cat confdefs.h >>conftest.$ac_ext
18490cat >>conftest.$ac_ext <<_ACEOF
18491/* end confdefs.h. */
18492
18493/* Override any gcc2 internal prototype to avoid an error. */
18494#ifdef __cplusplus
18495extern "C"
18496#endif
18497/* We use char because int might match the return type of a gcc2
18498 builtin and then its argument prototype would still apply. */
18499char deflate ();
18500int
18501main ()
18502{
18503deflate ();
18504 ;
18505 return 0;
18506}
18507_ACEOF
18508rm -f conftest.$ac_objext conftest$ac_exeext
18509if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18510 (eval $ac_link) 2>&5
18511 ac_status=$?
18512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18513 (exit $ac_status); } &&
18514 { ac_try='test -s conftest$ac_exeext'
18515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18516 (eval $ac_try) 2>&5
18517 ac_status=$?
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); }; }; then
18520 ac_cv_lib_z_deflate=yes
18521else
18522 echo "$as_me: failed program was:" >&5
18523sed 's/^/| /' conftest.$ac_ext >&5
18524
18525ac_cv_lib_z_deflate=no
18526fi
18527rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18528LIBS=$ac_check_lib_save_LIBS
18529fi
18530echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18531echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18532if test $ac_cv_lib_z_deflate = yes; then
18533 ZLIB_LINK=" -lz"
18534fi
18535
18536 fi
18537
18538 if test "x$ZLIB_LINK" = "x" ; then
18539 if test "$wxUSE_ZLIB" = "sys" ; then
18540 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18541echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18542 { (exit 1); exit 1; }; }
18543 else
18544 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18545echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18546 wxUSE_ZLIB=builtin
18547 fi
18548 else
18549 wxUSE_ZLIB=sys
18550 fi
18551 fi
18552
18553 if test "$wxUSE_ZLIB" = "builtin" ; then
18554 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18555 fi
18556fi
18557
18558
18559PNG_INCLUDE=
18560PNG_LINK=
18561if test "$wxUSE_LIBPNG" != "no" ; then
18562 cat >>confdefs.h <<\_ACEOF
18563#define wxUSE_LIBPNG 1
18564_ACEOF
18565
18566
18567 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18568 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18569echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18570 wxUSE_LIBPNG=sys
18571 fi
18572
18573 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18574 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18575echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18576 wxUSE_LIBPNG=builtin
18577 fi
18578
18579 if test "$wxUSE_MGL" != 1 ; then
18580 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18581 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18582echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18583if test "${ac_cv_header_png_h+set}" = set; then
18584 echo $ECHO_N "(cached) $ECHO_C" >&6
18585else
18586 if test "$cross_compiling" = yes; then
18587 unset ac_cv_header_png_h
18588
18589else
18590 cat >conftest.$ac_ext <<_ACEOF
18591#line $LINENO "configure"
18592/* confdefs.h. */
18593_ACEOF
18594cat confdefs.h >>conftest.$ac_ext
18595cat >>conftest.$ac_ext <<_ACEOF
18596/* end confdefs.h. */
18597
18598 #include <png.h>
18599 #include <stdio.h>
18600
18601 int main()
18602 {
18603 FILE *f=fopen("conftestval", "w");
18604 if (!f) exit(1);
18605 fprintf(f, "%s",
18606 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18607 exit(0);
18608 }
18609
18610_ACEOF
18611rm -f conftest$ac_exeext
18612if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18613 (eval $ac_link) 2>&5
18614 ac_status=$?
18615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18618 (eval $ac_try) 2>&5
18619 ac_status=$?
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); }; }; then
18622 ac_cv_header_png_h=`cat conftestval`
18623else
18624 echo "$as_me: program exited with status $ac_status" >&5
18625echo "$as_me: failed program was:" >&5
18626sed 's/^/| /' conftest.$ac_ext >&5
18627
18628( exit $ac_status )
18629ac_cv_header_png_h=no
18630fi
18631rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18632fi
18633
18634fi
18635echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18636echo "${ECHO_T}$ac_cv_header_png_h" >&6
18637 if test "${ac_cv_header_png_h+set}" = set; then
18638 echo "$as_me:$LINENO: checking for png.h" >&5
18639echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18640if test "${ac_cv_header_png_h+set}" = set; then
18641 echo $ECHO_N "(cached) $ECHO_C" >&6
18642fi
18643echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18644echo "${ECHO_T}$ac_cv_header_png_h" >&6
18645else
18646 # Is the header compilable?
18647echo "$as_me:$LINENO: checking png.h usability" >&5
18648echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18649cat >conftest.$ac_ext <<_ACEOF
18650#line $LINENO "configure"
18651/* confdefs.h. */
18652_ACEOF
18653cat confdefs.h >>conftest.$ac_ext
18654cat >>conftest.$ac_ext <<_ACEOF
18655/* end confdefs.h. */
18656$ac_includes_default
18657#include <png.h>
18658_ACEOF
18659rm -f conftest.$ac_objext
18660if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18661 (eval $ac_compile) 2>&5
18662 ac_status=$?
18663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664 (exit $ac_status); } &&
18665 { ac_try='test -s conftest.$ac_objext'
18666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18667 (eval $ac_try) 2>&5
18668 ac_status=$?
18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); }; }; then
18671 ac_header_compiler=yes
18672else
18673 echo "$as_me: failed program was:" >&5
18674sed 's/^/| /' conftest.$ac_ext >&5
18675
18676ac_header_compiler=no
18677fi
18678rm -f conftest.$ac_objext conftest.$ac_ext
18679echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18680echo "${ECHO_T}$ac_header_compiler" >&6
18681
18682# Is the header present?
18683echo "$as_me:$LINENO: checking png.h presence" >&5
18684echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18685cat >conftest.$ac_ext <<_ACEOF
18686#line $LINENO "configure"
18687/* confdefs.h. */
18688_ACEOF
18689cat confdefs.h >>conftest.$ac_ext
18690cat >>conftest.$ac_ext <<_ACEOF
18691/* end confdefs.h. */
18692#include <png.h>
18693_ACEOF
18694if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18695 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18696 ac_status=$?
18697 grep -v '^ *+' conftest.er1 >conftest.err
18698 rm -f conftest.er1
18699 cat conftest.err >&5
18700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18701 (exit $ac_status); } >/dev/null; then
18702 if test -s conftest.err; then
18703 ac_cpp_err=$ac_c_preproc_warn_flag
18704 else
18705 ac_cpp_err=
18706 fi
18707else
18708 ac_cpp_err=yes
18709fi
18710if test -z "$ac_cpp_err"; then
18711 ac_header_preproc=yes
18712else
18713 echo "$as_me: failed program was:" >&5
18714sed 's/^/| /' conftest.$ac_ext >&5
18715
18716 ac_header_preproc=no
18717fi
18718rm -f conftest.err conftest.$ac_ext
18719echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18720echo "${ECHO_T}$ac_header_preproc" >&6
18721
18722# So? What about this header?
18723case $ac_header_compiler:$ac_header_preproc in
18724 yes:no )
18725 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18726echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18727 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18728echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18729 (
18730 cat <<\_ASBOX
18731## ------------------------------------ ##
18732## Report this to bug-autoconf@gnu.org. ##
18733## ------------------------------------ ##
18734_ASBOX
18735 ) |
18736 sed "s/^/$as_me: WARNING: /" >&2
18737 ;;
18738 no:yes )
18739 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18740echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18741 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18742echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18743 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18744echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18745 (
18746 cat <<\_ASBOX
18747## ------------------------------------ ##
18748## Report this to bug-autoconf@gnu.org. ##
18749## ------------------------------------ ##
18750_ASBOX
18751 ) |
18752 sed "s/^/$as_me: WARNING: /" >&2
18753 ;;
18754esac
18755echo "$as_me:$LINENO: checking for png.h" >&5
18756echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18757if test "${ac_cv_header_png_h+set}" = set; then
18758 echo $ECHO_N "(cached) $ECHO_C" >&6
18759else
18760 ac_cv_header_png_h=$ac_header_preproc
18761fi
18762echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18763echo "${ECHO_T}$ac_cv_header_png_h" >&6
18764
18765fi
18766
18767
18768
18769 if test "$ac_cv_header_png_h" = "yes"; then
18770 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18771echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18772if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18773 echo $ECHO_N "(cached) $ECHO_C" >&6
18774else
18775 ac_check_lib_save_LIBS=$LIBS
18776LIBS="-lpng -lz -lm $LIBS"
18777cat >conftest.$ac_ext <<_ACEOF
18778#line $LINENO "configure"
18779/* confdefs.h. */
18780_ACEOF
18781cat confdefs.h >>conftest.$ac_ext
18782cat >>conftest.$ac_ext <<_ACEOF
18783/* end confdefs.h. */
18784
18785/* Override any gcc2 internal prototype to avoid an error. */
18786#ifdef __cplusplus
18787extern "C"
18788#endif
18789/* We use char because int might match the return type of a gcc2
18790 builtin and then its argument prototype would still apply. */
18791char png_check_sig ();
18792int
18793main ()
18794{
18795png_check_sig ();
18796 ;
18797 return 0;
18798}
18799_ACEOF
18800rm -f conftest.$ac_objext conftest$ac_exeext
18801if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18802 (eval $ac_link) 2>&5
18803 ac_status=$?
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); } &&
18806 { ac_try='test -s conftest$ac_exeext'
18807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18808 (eval $ac_try) 2>&5
18809 ac_status=$?
18810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18811 (exit $ac_status); }; }; then
18812 ac_cv_lib_png_png_check_sig=yes
18813else
18814 echo "$as_me: failed program was:" >&5
18815sed 's/^/| /' conftest.$ac_ext >&5
18816
18817ac_cv_lib_png_png_check_sig=no
18818fi
18819rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18820LIBS=$ac_check_lib_save_LIBS
18821fi
18822echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18823echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18824if test $ac_cv_lib_png_png_check_sig = yes; then
18825 PNG_LINK=" -lpng"
18826fi
18827
18828 fi
18829
18830 if test "x$PNG_LINK" = "x" ; then
18831 if test "$wxUSE_LIBPNG" = "sys" ; then
18832 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18833echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18834 { (exit 1); exit 1; }; }
18835 else
18836 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18837echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18838 wxUSE_LIBPNG=builtin
18839 fi
18840 else
18841 wxUSE_LIBPNG=sys
18842 fi
18843 fi
18844 fi
18845
18846 if test "$wxUSE_LIBPNG" = "builtin" ; then
18847 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18848 fi
18849
18850 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18851fi
18852
18853
18854JPEG_INCLUDE=
18855JPEG_LINK=
18856if test "$wxUSE_LIBJPEG" != "no" ; then
18857 cat >>confdefs.h <<\_ACEOF
18858#define wxUSE_LIBJPEG 1
18859_ACEOF
18860
18861
18862 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18863 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18864echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18865 wxUSE_LIBJPEG=sys
18866 fi
18867
18868 if test "$wxUSE_MGL" != 1 ; then
18869 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18870 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18871echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18872 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18873 echo $ECHO_N "(cached) $ECHO_C" >&6
18874else
18875 cat >conftest.$ac_ext <<_ACEOF
18876#line $LINENO "configure"
18877/* confdefs.h. */
18878_ACEOF
18879cat confdefs.h >>conftest.$ac_ext
18880cat >>conftest.$ac_ext <<_ACEOF
18881/* end confdefs.h. */
18882
18883 #undef HAVE_STDLIB_H
18884 #include <stdio.h>
18885 #include <jpeglib.h>
18886
18887int
18888main ()
18889{
18890
18891
18892 ;
18893 return 0;
18894}
18895_ACEOF
18896rm -f conftest.$ac_objext
18897if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18898 (eval $ac_compile) 2>&5
18899 ac_status=$?
18900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18901 (exit $ac_status); } &&
18902 { ac_try='test -s conftest.$ac_objext'
18903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18904 (eval $ac_try) 2>&5
18905 ac_status=$?
18906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18907 (exit $ac_status); }; }; then
18908 ac_cv_header_jpeglib_h=yes
18909else
18910 echo "$as_me: failed program was:" >&5
18911sed 's/^/| /' conftest.$ac_ext >&5
18912
18913ac_cv_header_jpeglib_h=no
18914
18915fi
18916rm -f conftest.$ac_objext conftest.$ac_ext
18917
18918fi
18919
18920 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18921echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18922
18923 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18924 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18925echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18926if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18927 echo $ECHO_N "(cached) $ECHO_C" >&6
18928else
18929 ac_check_lib_save_LIBS=$LIBS
18930LIBS="-ljpeg $LIBS"
18931cat >conftest.$ac_ext <<_ACEOF
18932#line $LINENO "configure"
18933/* confdefs.h. */
18934_ACEOF
18935cat confdefs.h >>conftest.$ac_ext
18936cat >>conftest.$ac_ext <<_ACEOF
18937/* end confdefs.h. */
18938
18939/* Override any gcc2 internal prototype to avoid an error. */
18940#ifdef __cplusplus
18941extern "C"
18942#endif
18943/* We use char because int might match the return type of a gcc2
18944 builtin and then its argument prototype would still apply. */
18945char jpeg_read_header ();
18946int
18947main ()
18948{
18949jpeg_read_header ();
18950 ;
18951 return 0;
18952}
18953_ACEOF
18954rm -f conftest.$ac_objext conftest$ac_exeext
18955if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18956 (eval $ac_link) 2>&5
18957 ac_status=$?
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); } &&
18960 { ac_try='test -s conftest$ac_exeext'
18961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18962 (eval $ac_try) 2>&5
18963 ac_status=$?
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); }; }; then
18966 ac_cv_lib_jpeg_jpeg_read_header=yes
18967else
18968 echo "$as_me: failed program was:" >&5
18969sed 's/^/| /' conftest.$ac_ext >&5
18970
18971ac_cv_lib_jpeg_jpeg_read_header=no
18972fi
18973rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18974LIBS=$ac_check_lib_save_LIBS
18975fi
18976echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18977echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18978if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18979 JPEG_LINK=" -ljpeg"
18980fi
18981
18982 fi
18983
18984 if test "x$JPEG_LINK" = "x" ; then
18985 if test "$wxUSE_LIBJPEG" = "sys" ; then
18986 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18987echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18988 { (exit 1); exit 1; }; }
18989 else
18990 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18991echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18992 wxUSE_LIBJPEG=builtin
18993 fi
18994 else
18995 wxUSE_LIBJPEG=sys
18996 fi
18997 fi
18998 fi
18999
19000 if test "$wxUSE_LIBJPEG" = "builtin" ; then
19001 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
19002 fi
19003fi
19004
19005
19006TIFF_INCLUDE=
19007TIFF_LINK=
19008TIFF_PREREQ_LINKS=-lm
19009if test "$wxUSE_LIBTIFF" != "no" ; then
19010 cat >>confdefs.h <<\_ACEOF
19011#define wxUSE_LIBTIFF 1
19012_ACEOF
19013
19014
19015 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19016 if test "$wxUSE_LIBJPEG" = "sys"; then
19017 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
19018 fi
19019 if test "$wxUSE_ZLIB" = "sys"; then
19020 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19021 fi
19022 if test "${ac_cv_header_tiffio_h+set}" = set; then
19023 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19024echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19025if test "${ac_cv_header_tiffio_h+set}" = set; then
19026 echo $ECHO_N "(cached) $ECHO_C" >&6
19027fi
19028echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19029echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19030else
19031 # Is the header compilable?
19032echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19033echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19034cat >conftest.$ac_ext <<_ACEOF
19035#line $LINENO "configure"
19036/* confdefs.h. */
19037_ACEOF
19038cat confdefs.h >>conftest.$ac_ext
19039cat >>conftest.$ac_ext <<_ACEOF
19040/* end confdefs.h. */
19041$ac_includes_default
19042#include <tiffio.h>
19043_ACEOF
19044rm -f conftest.$ac_objext
19045if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19046 (eval $ac_compile) 2>&5
19047 ac_status=$?
19048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19049 (exit $ac_status); } &&
19050 { ac_try='test -s conftest.$ac_objext'
19051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19052 (eval $ac_try) 2>&5
19053 ac_status=$?
19054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055 (exit $ac_status); }; }; then
19056 ac_header_compiler=yes
19057else
19058 echo "$as_me: failed program was:" >&5
19059sed 's/^/| /' conftest.$ac_ext >&5
19060
19061ac_header_compiler=no
19062fi
19063rm -f conftest.$ac_objext conftest.$ac_ext
19064echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19065echo "${ECHO_T}$ac_header_compiler" >&6
19066
19067# Is the header present?
19068echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19069echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19070cat >conftest.$ac_ext <<_ACEOF
19071#line $LINENO "configure"
19072/* confdefs.h. */
19073_ACEOF
19074cat confdefs.h >>conftest.$ac_ext
19075cat >>conftest.$ac_ext <<_ACEOF
19076/* end confdefs.h. */
19077#include <tiffio.h>
19078_ACEOF
19079if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19080 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19081 ac_status=$?
19082 grep -v '^ *+' conftest.er1 >conftest.err
19083 rm -f conftest.er1
19084 cat conftest.err >&5
19085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19086 (exit $ac_status); } >/dev/null; then
19087 if test -s conftest.err; then
19088 ac_cpp_err=$ac_c_preproc_warn_flag
19089 else
19090 ac_cpp_err=
19091 fi
19092else
19093 ac_cpp_err=yes
19094fi
19095if test -z "$ac_cpp_err"; then
19096 ac_header_preproc=yes
19097else
19098 echo "$as_me: failed program was:" >&5
19099sed 's/^/| /' conftest.$ac_ext >&5
19100
19101 ac_header_preproc=no
19102fi
19103rm -f conftest.err conftest.$ac_ext
19104echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19105echo "${ECHO_T}$ac_header_preproc" >&6
19106
19107# So? What about this header?
19108case $ac_header_compiler:$ac_header_preproc in
19109 yes:no )
19110 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19111echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19112 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19113echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19114 (
19115 cat <<\_ASBOX
19116## ------------------------------------ ##
19117## Report this to bug-autoconf@gnu.org. ##
19118## ------------------------------------ ##
19119_ASBOX
19120 ) |
19121 sed "s/^/$as_me: WARNING: /" >&2
19122 ;;
19123 no:yes )
19124 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19125echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19126 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19127echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19128 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19129echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19130 (
19131 cat <<\_ASBOX
19132## ------------------------------------ ##
19133## Report this to bug-autoconf@gnu.org. ##
19134## ------------------------------------ ##
19135_ASBOX
19136 ) |
19137 sed "s/^/$as_me: WARNING: /" >&2
19138 ;;
19139esac
19140echo "$as_me:$LINENO: checking for tiffio.h" >&5
19141echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19142if test "${ac_cv_header_tiffio_h+set}" = set; then
19143 echo $ECHO_N "(cached) $ECHO_C" >&6
19144else
19145 ac_cv_header_tiffio_h=$ac_header_preproc
19146fi
19147echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19148echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19149
19150fi
19151if test $ac_cv_header_tiffio_h = yes; then
19152
19153 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19154echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19155if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19156 echo $ECHO_N "(cached) $ECHO_C" >&6
19157else
19158 ac_check_lib_save_LIBS=$LIBS
19159LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19160cat >conftest.$ac_ext <<_ACEOF
19161#line $LINENO "configure"
19162/* confdefs.h. */
19163_ACEOF
19164cat confdefs.h >>conftest.$ac_ext
19165cat >>conftest.$ac_ext <<_ACEOF
19166/* end confdefs.h. */
19167
19168/* Override any gcc2 internal prototype to avoid an error. */
19169#ifdef __cplusplus
19170extern "C"
19171#endif
19172/* We use char because int might match the return type of a gcc2
19173 builtin and then its argument prototype would still apply. */
19174char TIFFError ();
19175int
19176main ()
19177{
19178TIFFError ();
19179 ;
19180 return 0;
19181}
19182_ACEOF
19183rm -f conftest.$ac_objext conftest$ac_exeext
19184if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19185 (eval $ac_link) 2>&5
19186 ac_status=$?
19187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19188 (exit $ac_status); } &&
19189 { ac_try='test -s conftest$ac_exeext'
19190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19191 (eval $ac_try) 2>&5
19192 ac_status=$?
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); }; }; then
19195 ac_cv_lib_tiff_TIFFError=yes
19196else
19197 echo "$as_me: failed program was:" >&5
19198sed 's/^/| /' conftest.$ac_ext >&5
19199
19200ac_cv_lib_tiff_TIFFError=no
19201fi
19202rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19203LIBS=$ac_check_lib_save_LIBS
19204fi
19205echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19206echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19207if test $ac_cv_lib_tiff_TIFFError = yes; then
19208 TIFF_LINK=" -ltiff"
19209fi
19210
19211
19212
19213fi
19214
19215
19216
19217 if test "x$TIFF_LINK" = "x" ; then
19218 if test "$wxUSE_LIBTIFF" = "sys" ; then
19219 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19220echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19221 { (exit 1); exit 1; }; }
19222 else
19223 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19224echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19225 wxUSE_LIBTIFF=builtin
19226 fi
19227 else
19228 wxUSE_LIBTIFF=sys
19229 fi
19230 fi
19231
19232 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19233 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19234 fi
19235fi
19236
19237
19238if test "$wxUSE_EXPAT" != "no"; then
19239 wxUSE_XML=yes
19240 cat >>confdefs.h <<\_ACEOF
19241#define wxUSE_EXPAT 1
19242_ACEOF
19243
19244 cat >>confdefs.h <<\_ACEOF
19245#define wxUSE_XML 1
19246_ACEOF
19247
19248
19249 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19250 if test "${ac_cv_header_expat_h+set}" = set; then
19251 echo "$as_me:$LINENO: checking for expat.h" >&5
19252echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19253if test "${ac_cv_header_expat_h+set}" = set; then
19254 echo $ECHO_N "(cached) $ECHO_C" >&6
19255fi
19256echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19257echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19258else
19259 # Is the header compilable?
19260echo "$as_me:$LINENO: checking expat.h usability" >&5
19261echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19262cat >conftest.$ac_ext <<_ACEOF
19263#line $LINENO "configure"
19264/* confdefs.h. */
19265_ACEOF
19266cat confdefs.h >>conftest.$ac_ext
19267cat >>conftest.$ac_ext <<_ACEOF
19268/* end confdefs.h. */
19269$ac_includes_default
19270#include <expat.h>
19271_ACEOF
19272rm -f conftest.$ac_objext
19273if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19274 (eval $ac_compile) 2>&5
19275 ac_status=$?
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); } &&
19278 { ac_try='test -s conftest.$ac_objext'
19279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19280 (eval $ac_try) 2>&5
19281 ac_status=$?
19282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19283 (exit $ac_status); }; }; then
19284 ac_header_compiler=yes
19285else
19286 echo "$as_me: failed program was:" >&5
19287sed 's/^/| /' conftest.$ac_ext >&5
19288
19289ac_header_compiler=no
19290fi
19291rm -f conftest.$ac_objext conftest.$ac_ext
19292echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19293echo "${ECHO_T}$ac_header_compiler" >&6
19294
19295# Is the header present?
19296echo "$as_me:$LINENO: checking expat.h presence" >&5
19297echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19298cat >conftest.$ac_ext <<_ACEOF
19299#line $LINENO "configure"
19300/* confdefs.h. */
19301_ACEOF
19302cat confdefs.h >>conftest.$ac_ext
19303cat >>conftest.$ac_ext <<_ACEOF
19304/* end confdefs.h. */
19305#include <expat.h>
19306_ACEOF
19307if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19308 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19309 ac_status=$?
19310 grep -v '^ *+' conftest.er1 >conftest.err
19311 rm -f conftest.er1
19312 cat conftest.err >&5
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); } >/dev/null; then
19315 if test -s conftest.err; then
19316 ac_cpp_err=$ac_c_preproc_warn_flag
19317 else
19318 ac_cpp_err=
19319 fi
19320else
19321 ac_cpp_err=yes
19322fi
19323if test -z "$ac_cpp_err"; then
19324 ac_header_preproc=yes
19325else
19326 echo "$as_me: failed program was:" >&5
19327sed 's/^/| /' conftest.$ac_ext >&5
19328
19329 ac_header_preproc=no
19330fi
19331rm -f conftest.err conftest.$ac_ext
19332echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19333echo "${ECHO_T}$ac_header_preproc" >&6
19334
19335# So? What about this header?
19336case $ac_header_compiler:$ac_header_preproc in
19337 yes:no )
19338 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19339echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19340 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19341echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19342 (
19343 cat <<\_ASBOX
19344## ------------------------------------ ##
19345## Report this to bug-autoconf@gnu.org. ##
19346## ------------------------------------ ##
19347_ASBOX
19348 ) |
19349 sed "s/^/$as_me: WARNING: /" >&2
19350 ;;
19351 no:yes )
19352 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19353echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19354 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19355echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19356 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19357echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19358 (
19359 cat <<\_ASBOX
19360## ------------------------------------ ##
19361## Report this to bug-autoconf@gnu.org. ##
19362## ------------------------------------ ##
19363_ASBOX
19364 ) |
19365 sed "s/^/$as_me: WARNING: /" >&2
19366 ;;
19367esac
19368echo "$as_me:$LINENO: checking for expat.h" >&5
19369echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19370if test "${ac_cv_header_expat_h+set}" = set; then
19371 echo $ECHO_N "(cached) $ECHO_C" >&6
19372else
19373 ac_cv_header_expat_h=$ac_header_preproc
19374fi
19375echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19376echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19377
19378fi
19379if test $ac_cv_header_expat_h = yes; then
19380 found_expat_h=1
19381fi
19382
19383
19384 if test "x$found_expat_h" = "x1"; then
19385 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19386echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19387if test "${wx_cv_expat_is_not_broken+set}" = set; then
19388 echo $ECHO_N "(cached) $ECHO_C" >&6
19389else
19390
19391
19392
19393 ac_ext=cc
19394ac_cpp='$CXXCPP $CPPFLAGS'
19395ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19396ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19397ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19398
19399 cat >conftest.$ac_ext <<_ACEOF
19400#line $LINENO "configure"
19401/* confdefs.h. */
19402_ACEOF
19403cat confdefs.h >>conftest.$ac_ext
19404cat >>conftest.$ac_ext <<_ACEOF
19405/* end confdefs.h. */
19406#include <expat.h>
19407int
19408main ()
19409{
19410
19411 ;
19412 return 0;
19413}
19414_ACEOF
19415rm -f conftest.$ac_objext
19416if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19417 (eval $ac_compile) 2>&5
19418 ac_status=$?
19419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19420 (exit $ac_status); } &&
19421 { ac_try='test -s conftest.$ac_objext'
19422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19423 (eval $ac_try) 2>&5
19424 ac_status=$?
19425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19426 (exit $ac_status); }; }; then
19427 wx_cv_expat_is_not_broken=yes
19428else
19429 echo "$as_me: failed program was:" >&5
19430sed 's/^/| /' conftest.$ac_ext >&5
19431
19432wx_cv_expat_is_not_broken=no
19433
19434fi
19435rm -f conftest.$ac_objext conftest.$ac_ext
19436 ac_ext=c
19437ac_cpp='$CPP $CPPFLAGS'
19438ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19439ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19440ac_compiler_gnu=$ac_cv_c_compiler_gnu
19441
19442
19443
19444fi
19445echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19446echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19447 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19448 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19449echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19450if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19451 echo $ECHO_N "(cached) $ECHO_C" >&6
19452else
19453 ac_check_lib_save_LIBS=$LIBS
19454LIBS="-lexpat $LIBS"
19455cat >conftest.$ac_ext <<_ACEOF
19456#line $LINENO "configure"
19457/* confdefs.h. */
19458_ACEOF
19459cat confdefs.h >>conftest.$ac_ext
19460cat >>conftest.$ac_ext <<_ACEOF
19461/* end confdefs.h. */
19462
19463/* Override any gcc2 internal prototype to avoid an error. */
19464#ifdef __cplusplus
19465extern "C"
19466#endif
19467/* We use char because int might match the return type of a gcc2
19468 builtin and then its argument prototype would still apply. */
19469char XML_ParserCreate ();
19470int
19471main ()
19472{
19473XML_ParserCreate ();
19474 ;
19475 return 0;
19476}
19477_ACEOF
19478rm -f conftest.$ac_objext conftest$ac_exeext
19479if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19480 (eval $ac_link) 2>&5
19481 ac_status=$?
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); } &&
19484 { ac_try='test -s conftest$ac_exeext'
19485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19486 (eval $ac_try) 2>&5
19487 ac_status=$?
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); }; }; then
19490 ac_cv_lib_expat_XML_ParserCreate=yes
19491else
19492 echo "$as_me: failed program was:" >&5
19493sed 's/^/| /' conftest.$ac_ext >&5
19494
19495ac_cv_lib_expat_XML_ParserCreate=no
19496fi
19497rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19498LIBS=$ac_check_lib_save_LIBS
19499fi
19500echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19501echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19502if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19503 EXPAT_LINK=" -lexpat"
19504fi
19505
19506 fi
19507 fi
19508 if test "x$EXPAT_LINK" = "x" ; then
19509 if test "$wxUSE_EXPAT" = "sys" ; then
19510 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19511echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19512 { (exit 1); exit 1; }; }
19513 else
19514 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19515echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19516 wxUSE_EXPAT=builtin
19517 fi
19518 else
19519 wxUSE_EXPAT=sys
19520 fi
19521 fi
19522 if test "$wxUSE_EXPAT" = "builtin" ; then
19523
19524
19525subdirs="$subdirs src/expat"
19526
19527 fi
19528fi
19529
19530
19531
19532if test "$wxUSE_LIBMSPACK" != "no"; then
19533
19534 if test "${ac_cv_header_mspack_h+set}" = set; then
19535 echo "$as_me:$LINENO: checking for mspack.h" >&5
19536echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
19537if test "${ac_cv_header_mspack_h+set}" = set; then
19538 echo $ECHO_N "(cached) $ECHO_C" >&6
19539fi
19540echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
19541echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
19542else
19543 # Is the header compilable?
19544echo "$as_me:$LINENO: checking mspack.h usability" >&5
19545echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
19546cat >conftest.$ac_ext <<_ACEOF
19547#line $LINENO "configure"
19548/* confdefs.h. */
19549_ACEOF
19550cat confdefs.h >>conftest.$ac_ext
19551cat >>conftest.$ac_ext <<_ACEOF
19552/* end confdefs.h. */
19553$ac_includes_default
19554#include <mspack.h>
19555_ACEOF
19556rm -f conftest.$ac_objext
19557if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19558 (eval $ac_compile) 2>&5
19559 ac_status=$?
19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561 (exit $ac_status); } &&
19562 { ac_try='test -s conftest.$ac_objext'
19563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19564 (eval $ac_try) 2>&5
19565 ac_status=$?
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); }; }; then
19568 ac_header_compiler=yes
19569else
19570 echo "$as_me: failed program was:" >&5
19571sed 's/^/| /' conftest.$ac_ext >&5
19572
19573ac_header_compiler=no
19574fi
19575rm -f conftest.$ac_objext conftest.$ac_ext
19576echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19577echo "${ECHO_T}$ac_header_compiler" >&6
19578
19579# Is the header present?
19580echo "$as_me:$LINENO: checking mspack.h presence" >&5
19581echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
19582cat >conftest.$ac_ext <<_ACEOF
19583#line $LINENO "configure"
19584/* confdefs.h. */
19585_ACEOF
19586cat confdefs.h >>conftest.$ac_ext
19587cat >>conftest.$ac_ext <<_ACEOF
19588/* end confdefs.h. */
19589#include <mspack.h>
19590_ACEOF
19591if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19592 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19593 ac_status=$?
19594 grep -v '^ *+' conftest.er1 >conftest.err
19595 rm -f conftest.er1
19596 cat conftest.err >&5
19597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19598 (exit $ac_status); } >/dev/null; then
19599 if test -s conftest.err; then
19600 ac_cpp_err=$ac_c_preproc_warn_flag
19601 else
19602 ac_cpp_err=
19603 fi
19604else
19605 ac_cpp_err=yes
19606fi
19607if test -z "$ac_cpp_err"; then
19608 ac_header_preproc=yes
19609else
19610 echo "$as_me: failed program was:" >&5
19611sed 's/^/| /' conftest.$ac_ext >&5
19612
19613 ac_header_preproc=no
19614fi
19615rm -f conftest.err conftest.$ac_ext
19616echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19617echo "${ECHO_T}$ac_header_preproc" >&6
19618
19619# So? What about this header?
19620case $ac_header_compiler:$ac_header_preproc in
19621 yes:no )
19622 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
19623echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19624 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
19625echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
19626 (
19627 cat <<\_ASBOX
19628## ------------------------------------ ##
19629## Report this to bug-autoconf@gnu.org. ##
19630## ------------------------------------ ##
19631_ASBOX
19632 ) |
19633 sed "s/^/$as_me: WARNING: /" >&2
19634 ;;
19635 no:yes )
19636 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
19637echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
19638 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
19639echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
19640 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
19641echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
19642 (
19643 cat <<\_ASBOX
19644## ------------------------------------ ##
19645## Report this to bug-autoconf@gnu.org. ##
19646## ------------------------------------ ##
19647_ASBOX
19648 ) |
19649 sed "s/^/$as_me: WARNING: /" >&2
19650 ;;
19651esac
19652echo "$as_me:$LINENO: checking for mspack.h" >&5
19653echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
19654if test "${ac_cv_header_mspack_h+set}" = set; then
19655 echo $ECHO_N "(cached) $ECHO_C" >&6
19656else
19657 ac_cv_header_mspack_h=$ac_header_preproc
19658fi
19659echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
19660echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
19661
19662fi
19663if test $ac_cv_header_mspack_h = yes; then
19664 found_mspack_h=1
19665fi
19666
19667
19668 if test "x$found_mspack_h" = "x1"; then
19669 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
19670echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
19671if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
19672 echo $ECHO_N "(cached) $ECHO_C" >&6
19673else
19674 ac_check_lib_save_LIBS=$LIBS
19675LIBS="-lmspack $LIBS"
19676cat >conftest.$ac_ext <<_ACEOF
19677#line $LINENO "configure"
19678/* confdefs.h. */
19679_ACEOF
19680cat confdefs.h >>conftest.$ac_ext
19681cat >>conftest.$ac_ext <<_ACEOF
19682/* end confdefs.h. */
19683
19684/* Override any gcc2 internal prototype to avoid an error. */
19685#ifdef __cplusplus
19686extern "C"
19687#endif
19688/* We use char because int might match the return type of a gcc2
19689 builtin and then its argument prototype would still apply. */
19690char mspack_create_chm_decompressor ();
19691int
19692main ()
19693{
19694mspack_create_chm_decompressor ();
19695 ;
19696 return 0;
19697}
19698_ACEOF
19699rm -f conftest.$ac_objext conftest$ac_exeext
19700if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19701 (eval $ac_link) 2>&5
19702 ac_status=$?
19703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19704 (exit $ac_status); } &&
19705 { ac_try='test -s conftest$ac_exeext'
19706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19707 (eval $ac_try) 2>&5
19708 ac_status=$?
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19710 (exit $ac_status); }; }; then
19711 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
19712else
19713 echo "$as_me: failed program was:" >&5
19714sed 's/^/| /' conftest.$ac_ext >&5
19715
19716ac_cv_lib_mspack_mspack_create_chm_decompressor=no
19717fi
19718rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19719LIBS=$ac_check_lib_save_LIBS
19720fi
19721echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
19722echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
19723if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
19724 MSPACK_LINK=" -lmspack"
19725fi
19726
19727 fi
19728 if test "x$MSPACK_LINK" = "x" ; then
19729 wxUSE_LIBMSPACK=no
19730 else
19731 cat >>confdefs.h <<\_ACEOF
19732#define wxUSE_LIBMSPACK 1
19733_ACEOF
19734
19735 fi
19736fi
19737
19738
19739
19740AFMINSTALL=
19741WIN32INSTALL=
19742
19743TOOLKIT=
19744TOOLKIT_INCLUDE=
19745WIDGET_SET=
19746
19747if test "$USE_WIN32" = 1 ; then
19748
19749for ac_header in w32api.h
19750do
19751as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19752if eval "test \"\${$as_ac_Header+set}\" = set"; then
19753 echo "$as_me:$LINENO: checking for $ac_header" >&5
19754echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19755if eval "test \"\${$as_ac_Header+set}\" = set"; then
19756 echo $ECHO_N "(cached) $ECHO_C" >&6
19757fi
19758echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19759echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19760else
19761 # Is the header compilable?
19762echo "$as_me:$LINENO: checking $ac_header usability" >&5
19763echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19764cat >conftest.$ac_ext <<_ACEOF
19765#line $LINENO "configure"
19766/* confdefs.h. */
19767_ACEOF
19768cat confdefs.h >>conftest.$ac_ext
19769cat >>conftest.$ac_ext <<_ACEOF
19770/* end confdefs.h. */
19771$ac_includes_default
19772#include <$ac_header>
19773_ACEOF
19774rm -f conftest.$ac_objext
19775if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19776 (eval $ac_compile) 2>&5
19777 ac_status=$?
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); } &&
19780 { ac_try='test -s conftest.$ac_objext'
19781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19782 (eval $ac_try) 2>&5
19783 ac_status=$?
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); }; }; then
19786 ac_header_compiler=yes
19787else
19788 echo "$as_me: failed program was:" >&5
19789sed 's/^/| /' conftest.$ac_ext >&5
19790
19791ac_header_compiler=no
19792fi
19793rm -f conftest.$ac_objext conftest.$ac_ext
19794echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19795echo "${ECHO_T}$ac_header_compiler" >&6
19796
19797# Is the header present?
19798echo "$as_me:$LINENO: checking $ac_header presence" >&5
19799echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19800cat >conftest.$ac_ext <<_ACEOF
19801#line $LINENO "configure"
19802/* confdefs.h. */
19803_ACEOF
19804cat confdefs.h >>conftest.$ac_ext
19805cat >>conftest.$ac_ext <<_ACEOF
19806/* end confdefs.h. */
19807#include <$ac_header>
19808_ACEOF
19809if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19810 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19811 ac_status=$?
19812 grep -v '^ *+' conftest.er1 >conftest.err
19813 rm -f conftest.er1
19814 cat conftest.err >&5
19815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); } >/dev/null; then
19817 if test -s conftest.err; then
19818 ac_cpp_err=$ac_c_preproc_warn_flag
19819 else
19820 ac_cpp_err=
19821 fi
19822else
19823 ac_cpp_err=yes
19824fi
19825if test -z "$ac_cpp_err"; then
19826 ac_header_preproc=yes
19827else
19828 echo "$as_me: failed program was:" >&5
19829sed 's/^/| /' conftest.$ac_ext >&5
19830
19831 ac_header_preproc=no
19832fi
19833rm -f conftest.err conftest.$ac_ext
19834echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19835echo "${ECHO_T}$ac_header_preproc" >&6
19836
19837# So? What about this header?
19838case $ac_header_compiler:$ac_header_preproc in
19839 yes:no )
19840 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19841echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19842 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19843echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19844 (
19845 cat <<\_ASBOX
19846## ------------------------------------ ##
19847## Report this to bug-autoconf@gnu.org. ##
19848## ------------------------------------ ##
19849_ASBOX
19850 ) |
19851 sed "s/^/$as_me: WARNING: /" >&2
19852 ;;
19853 no:yes )
19854 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19855echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19856 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19857echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19858 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19859echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19860 (
19861 cat <<\_ASBOX
19862## ------------------------------------ ##
19863## Report this to bug-autoconf@gnu.org. ##
19864## ------------------------------------ ##
19865_ASBOX
19866 ) |
19867 sed "s/^/$as_me: WARNING: /" >&2
19868 ;;
19869esac
19870echo "$as_me:$LINENO: checking for $ac_header" >&5
19871echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19872if eval "test \"\${$as_ac_Header+set}\" = set"; then
19873 echo $ECHO_N "(cached) $ECHO_C" >&6
19874else
19875 eval "$as_ac_Header=$ac_header_preproc"
19876fi
19877echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19878echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19879
19880fi
19881if test `eval echo '${'$as_ac_Header'}'` = yes; then
19882 cat >>confdefs.h <<_ACEOF
19883#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19884_ACEOF
19885
19886fi
19887
19888done
19889
19890 if test "${ac_cv_header_windows_h+set}" = set; then
19891 echo "$as_me:$LINENO: checking for windows.h" >&5
19892echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19893if test "${ac_cv_header_windows_h+set}" = set; then
19894 echo $ECHO_N "(cached) $ECHO_C" >&6
19895fi
19896echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19897echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19898else
19899 # Is the header compilable?
19900echo "$as_me:$LINENO: checking windows.h usability" >&5
19901echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19902cat >conftest.$ac_ext <<_ACEOF
19903#line $LINENO "configure"
19904/* confdefs.h. */
19905_ACEOF
19906cat confdefs.h >>conftest.$ac_ext
19907cat >>conftest.$ac_ext <<_ACEOF
19908/* end confdefs.h. */
19909$ac_includes_default
19910#include <windows.h>
19911_ACEOF
19912rm -f conftest.$ac_objext
19913if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19914 (eval $ac_compile) 2>&5
19915 ac_status=$?
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); } &&
19918 { ac_try='test -s conftest.$ac_objext'
19919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19920 (eval $ac_try) 2>&5
19921 ac_status=$?
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); }; }; then
19924 ac_header_compiler=yes
19925else
19926 echo "$as_me: failed program was:" >&5
19927sed 's/^/| /' conftest.$ac_ext >&5
19928
19929ac_header_compiler=no
19930fi
19931rm -f conftest.$ac_objext conftest.$ac_ext
19932echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19933echo "${ECHO_T}$ac_header_compiler" >&6
19934
19935# Is the header present?
19936echo "$as_me:$LINENO: checking windows.h presence" >&5
19937echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19938cat >conftest.$ac_ext <<_ACEOF
19939#line $LINENO "configure"
19940/* confdefs.h. */
19941_ACEOF
19942cat confdefs.h >>conftest.$ac_ext
19943cat >>conftest.$ac_ext <<_ACEOF
19944/* end confdefs.h. */
19945#include <windows.h>
19946_ACEOF
19947if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19948 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19949 ac_status=$?
19950 grep -v '^ *+' conftest.er1 >conftest.err
19951 rm -f conftest.er1
19952 cat conftest.err >&5
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); } >/dev/null; then
19955 if test -s conftest.err; then
19956 ac_cpp_err=$ac_c_preproc_warn_flag
19957 else
19958 ac_cpp_err=
19959 fi
19960else
19961 ac_cpp_err=yes
19962fi
19963if test -z "$ac_cpp_err"; then
19964 ac_header_preproc=yes
19965else
19966 echo "$as_me: failed program was:" >&5
19967sed 's/^/| /' conftest.$ac_ext >&5
19968
19969 ac_header_preproc=no
19970fi
19971rm -f conftest.err conftest.$ac_ext
19972echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19973echo "${ECHO_T}$ac_header_preproc" >&6
19974
19975# So? What about this header?
19976case $ac_header_compiler:$ac_header_preproc in
19977 yes:no )
19978 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19979echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19980 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19981echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19982 (
19983 cat <<\_ASBOX
19984## ------------------------------------ ##
19985## Report this to bug-autoconf@gnu.org. ##
19986## ------------------------------------ ##
19987_ASBOX
19988 ) |
19989 sed "s/^/$as_me: WARNING: /" >&2
19990 ;;
19991 no:yes )
19992 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19993echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19994 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19995echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19996 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19997echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19998 (
19999 cat <<\_ASBOX
20000## ------------------------------------ ##
20001## Report this to bug-autoconf@gnu.org. ##
20002## ------------------------------------ ##
20003_ASBOX
20004 ) |
20005 sed "s/^/$as_me: WARNING: /" >&2
20006 ;;
20007esac
20008echo "$as_me:$LINENO: checking for windows.h" >&5
20009echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20010if test "${ac_cv_header_windows_h+set}" = set; then
20011 echo $ECHO_N "(cached) $ECHO_C" >&6
20012else
20013 ac_cv_header_windows_h=$ac_header_preproc
20014fi
20015echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20016echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20017
20018fi
20019if test $ac_cv_header_windows_h = yes; then
20020 :
20021else
20022
20023 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
20024echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
20025 { (exit 1); exit 1; }; }
20026
20027fi
20028
20029
20030
20031 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
20032
20033 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
20034 LIBS="$LIBS -loleacc"
20035 fi
20036
20037 case "${host}" in
20038 *-*-cygwin* )
20039 LIBS="$LIBS -lkernel32 -luser32"
20040 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
20041 esac
20042
20043 if test "$wxUSE_ODBC" = "sys" ; then
20044 wxUSE_ODBC = "yes"
20045 fi
20046 if test "$wxUSE_ODBC" = "yes" ; then
20047 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
20048 cat >>confdefs.h <<\_ACEOF
20049#define wxUSE_ODBC 1
20050_ACEOF
20051
20052 fi
20053
20054 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
20055 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
20056
20057 WIN32INSTALL=win32install
20058fi
20059
20060if test "$wxUSE_GUI" = "yes"; then
20061 USE_GUI=1
20062
20063 GUI_TK_LIBRARY=
20064
20065 WXGTK12=
20066 WXGTK127=
20067 WXGTK20=
20068
20069 if test "$wxUSE_MSW" = 1 ; then
20070 TOOLKIT=MSW
20071 GUIDIST=MSW_DIST
20072
20073 case "${host}" in
20074 *-*-mingw32* )
20075 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
20076 esac
20077 fi
20078
20079 if test "$wxUSE_GTK" = 1; then
20080 echo "$as_me:$LINENO: checking for GTK+ version" >&5
20081echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
20082
20083 gtk_version_cached=1
20084 if test "${wx_cv_lib_gtk+set}" = set; then
20085 echo $ECHO_N "(cached) $ECHO_C" >&6
20086else
20087
20088 gtk_version_cached=0
20089 echo "$as_me:$LINENO: result: " >&5
20090echo "${ECHO_T}" >&6
20091
20092 GTK_MODULES=
20093 if test "$wxUSE_THREADS" = "yes"; then
20094 GTK_MODULES=gthread
20095 fi
20096
20097 wx_cv_lib_gtk=
20098 if test "x$wxUSE_GTK2" = "xyes"; then
20099 # Check whether --enable-gtktest or --disable-gtktest was given.
20100if test "${enable_gtktest+set}" = set; then
20101 enableval="$enable_gtktest"
20102
20103else
20104 enable_gtktest=yes
20105fi;
20106
20107 pkg_config_args=gtk+-2.0
20108 for module in . $GTK_MODULES
20109 do
20110 case "$module" in
20111 gthread)
20112 pkg_config_args="$pkg_config_args gthread-2.0"
20113 ;;
20114 esac
20115 done
20116
20117 no_gtk=""
20118
20119 # Extract the first word of "pkg-config", so it can be a program name with args.
20120set dummy pkg-config; ac_word=$2
20121echo "$as_me:$LINENO: checking for $ac_word" >&5
20122echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20123if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20124 echo $ECHO_N "(cached) $ECHO_C" >&6
20125else
20126 case $PKG_CONFIG in
20127 [\\/]* | ?:[\\/]*)
20128 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20129 ;;
20130 *)
20131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20132for as_dir in $PATH
20133do
20134 IFS=$as_save_IFS
20135 test -z "$as_dir" && as_dir=.
20136 for ac_exec_ext in '' $ac_executable_extensions; do
20137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20138 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20140 break 2
20141 fi
20142done
20143done
20144
20145 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20146 ;;
20147esac
20148fi
20149PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20150
20151if test -n "$PKG_CONFIG"; then
20152 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20153echo "${ECHO_T}$PKG_CONFIG" >&6
20154else
20155 echo "$as_me:$LINENO: result: no" >&5
20156echo "${ECHO_T}no" >&6
20157fi
20158
20159
20160 if test x$PKG_CONFIG != xno ; then
20161 if pkg-config --atleast-pkgconfig-version 0.7 ; then
20162 :
20163 else
20164 echo *** pkg-config too old; version 0.7 or better required.
20165 no_gtk=yes
20166 PKG_CONFIG=no
20167 fi
20168 else
20169 no_gtk=yes
20170 fi
20171
20172 min_gtk_version=2.0.0
20173 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20174echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20175
20176 if test x$PKG_CONFIG != xno ; then
20177 ## don't try to run the test against uninstalled libtool libs
20178 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20179 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20180 enable_gtktest=no
20181 fi
20182
20183 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20184 :
20185 else
20186 no_gtk=yes
20187 fi
20188 fi
20189
20190 if test x"$no_gtk" = x ; then
20191 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
20192 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
20193 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20194 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20195 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20196 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20197 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20198 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20199 if test "x$enable_gtktest" = "xyes" ; then
20200 ac_save_CFLAGS="$CFLAGS"
20201 ac_save_LIBS="$LIBS"
20202 CFLAGS="$CFLAGS $GTK_CFLAGS"
20203 LIBS="$GTK_LIBS $LIBS"
20204 rm -f conf.gtktest
20205 if test "$cross_compiling" = yes; then
20206 echo $ac_n "cross compiling; assumed OK... $ac_c"
20207else
20208 cat >conftest.$ac_ext <<_ACEOF
20209#line $LINENO "configure"
20210/* confdefs.h. */
20211_ACEOF
20212cat confdefs.h >>conftest.$ac_ext
20213cat >>conftest.$ac_ext <<_ACEOF
20214/* end confdefs.h. */
20215
20216#include <gtk/gtk.h>
20217#include <stdio.h>
20218#include <stdlib.h>
20219
20220int
20221main ()
20222{
20223 int major, minor, micro;
20224 char *tmp_version;
20225
20226 system ("touch conf.gtktest");
20227
20228 /* HP/UX 9 (%@#!) writes to sscanf strings */
20229 tmp_version = g_strdup("$min_gtk_version");
20230 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20231 printf("%s, bad version string\n", "$min_gtk_version");
20232 exit(1);
20233 }
20234
20235 if ((gtk_major_version != $gtk_config_major_version) ||
20236 (gtk_minor_version != $gtk_config_minor_version) ||
20237 (gtk_micro_version != $gtk_config_micro_version))
20238 {
20239 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20240 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20241 gtk_major_version, gtk_minor_version, gtk_micro_version);
20242 printf ("*** was found! If pkg-config was correct, then it is best\n");
20243 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20244 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20245 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20246 printf("*** required on your system.\n");
20247 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20248 printf("*** to point to the correct configuration files\n");
20249 }
20250 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20251 (gtk_minor_version != GTK_MINOR_VERSION) ||
20252 (gtk_micro_version != GTK_MICRO_VERSION))
20253 {
20254 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20255 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20256 printf("*** library (version %d.%d.%d)\n",
20257 gtk_major_version, gtk_minor_version, gtk_micro_version);
20258 }
20259 else
20260 {
20261 if ((gtk_major_version > major) ||
20262 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20263 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20264 {
20265 return 0;
20266 }
20267 else
20268 {
20269 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20270 gtk_major_version, gtk_minor_version, gtk_micro_version);
20271 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20272 major, minor, micro);
20273 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20274 printf("***\n");
20275 printf("*** If you have already installed a sufficiently new version, this error\n");
20276 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20277 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20278 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20279 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20280 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20281 printf("*** so that the correct libraries are found at run-time))\n");
20282 }
20283 }
20284 return 1;
20285}
20286
20287_ACEOF
20288rm -f 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); } && { ac_try='./conftest$ac_exeext'
20294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20295 (eval $ac_try) 2>&5
20296 ac_status=$?
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); }; }; then
20299 :
20300else
20301 echo "$as_me: program exited with status $ac_status" >&5
20302echo "$as_me: failed program was:" >&5
20303sed 's/^/| /' conftest.$ac_ext >&5
20304
20305( exit $ac_status )
20306no_gtk=yes
20307fi
20308rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20309fi
20310 CFLAGS="$ac_save_CFLAGS"
20311 LIBS="$ac_save_LIBS"
20312 fi
20313 fi
20314 if test "x$no_gtk" = x ; then
20315 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20316echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20317 wx_cv_lib_gtk=2.0
20318 else
20319 echo "$as_me:$LINENO: result: no" >&5
20320echo "${ECHO_T}no" >&6
20321 if test "$PKG_CONFIG" = "no" ; then
20322 echo "*** A new enough version of pkg-config was not found."
20323 echo "*** See http://pkgconfig.sourceforge.net"
20324 else
20325 if test -f conf.gtktest ; then
20326 :
20327 else
20328 echo "*** Could not run GTK+ test program, checking why..."
20329 ac_save_CFLAGS="$CFLAGS"
20330 ac_save_LIBS="$LIBS"
20331 CFLAGS="$CFLAGS $GTK_CFLAGS"
20332 LIBS="$LIBS $GTK_LIBS"
20333 cat >conftest.$ac_ext <<_ACEOF
20334#line $LINENO "configure"
20335/* confdefs.h. */
20336_ACEOF
20337cat confdefs.h >>conftest.$ac_ext
20338cat >>conftest.$ac_ext <<_ACEOF
20339/* end confdefs.h. */
20340
20341#include <gtk/gtk.h>
20342#include <stdio.h>
20343
20344int
20345main ()
20346{
20347 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20348 ;
20349 return 0;
20350}
20351_ACEOF
20352rm -f conftest.$ac_objext conftest$ac_exeext
20353if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20354 (eval $ac_link) 2>&5
20355 ac_status=$?
20356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357 (exit $ac_status); } &&
20358 { ac_try='test -s conftest$ac_exeext'
20359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20360 (eval $ac_try) 2>&5
20361 ac_status=$?
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); }; }; then
20364 echo "*** The test program compiled, but did not run. This usually means"
20365 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20366 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20367 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20368 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20369 echo "*** is required on your system"
20370 echo "***"
20371 echo "*** If you have an old version installed, it is best to remove it, although"
20372 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20373else
20374 echo "$as_me: failed program was:" >&5
20375sed 's/^/| /' conftest.$ac_ext >&5
20376
20377 echo "*** The test program failed to compile or link. See the file config.log for the"
20378 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20379fi
20380rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20381 CFLAGS="$ac_save_CFLAGS"
20382 LIBS="$ac_save_LIBS"
20383 fi
20384 fi
20385 GTK_CFLAGS=""
20386 GTK_LIBS=""
20387 :
20388 fi
20389
20390
20391 rm -f conf.gtktest
20392
20393 else
20394
20395# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20396if test "${with_gtk_prefix+set}" = set; then
20397 withval="$with_gtk_prefix"
20398 gtk_config_prefix="$withval"
20399else
20400 gtk_config_prefix=""
20401fi;
20402
20403# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20404if test "${with_gtk_exec_prefix+set}" = set; then
20405 withval="$with_gtk_exec_prefix"
20406 gtk_config_exec_prefix="$withval"
20407else
20408 gtk_config_exec_prefix=""
20409fi;
20410# Check whether --enable-gtktest or --disable-gtktest was given.
20411if test "${enable_gtktest+set}" = set; then
20412 enableval="$enable_gtktest"
20413
20414else
20415 enable_gtktest=yes
20416fi;
20417
20418 for module in . $GTK_MODULES
20419 do
20420 case "$module" in
20421 gthread)
20422 gtk_config_args="$gtk_config_args gthread"
20423 ;;
20424 esac
20425 done
20426
20427 if test x$gtk_config_exec_prefix != x ; then
20428 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20429 if test x${GTK_CONFIG+set} != xset ; then
20430 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20431 fi
20432 fi
20433 if test x$gtk_config_prefix != x ; then
20434 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20435 if test x${GTK_CONFIG+set} != xset ; then
20436 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20437 fi
20438 fi
20439
20440 # Extract the first word of "gtk-config", so it can be a program name with args.
20441set dummy gtk-config; ac_word=$2
20442echo "$as_me:$LINENO: checking for $ac_word" >&5
20443echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20444if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20445 echo $ECHO_N "(cached) $ECHO_C" >&6
20446else
20447 case $GTK_CONFIG in
20448 [\\/]* | ?:[\\/]*)
20449 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20450 ;;
20451 *)
20452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20453for as_dir in $PATH
20454do
20455 IFS=$as_save_IFS
20456 test -z "$as_dir" && as_dir=.
20457 for ac_exec_ext in '' $ac_executable_extensions; do
20458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20459 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20461 break 2
20462 fi
20463done
20464done
20465
20466 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20467 ;;
20468esac
20469fi
20470GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20471
20472if test -n "$GTK_CONFIG"; then
20473 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20474echo "${ECHO_T}$GTK_CONFIG" >&6
20475else
20476 echo "$as_me:$LINENO: result: no" >&5
20477echo "${ECHO_T}no" >&6
20478fi
20479
20480 min_gtk_version=1.2.7
20481 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20482echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20483 no_gtk=""
20484 if test "$GTK_CONFIG" = "no" ; then
20485 no_gtk=yes
20486 else
20487 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20488 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20489 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20490 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20491 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20492 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20493 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20494 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20495 if test "x$enable_gtktest" = "xyes" ; then
20496 ac_save_CFLAGS="$CFLAGS"
20497 ac_save_LIBS="$LIBS"
20498 CFLAGS="$CFLAGS $GTK_CFLAGS"
20499 LIBS="$GTK_LIBS $LIBS"
20500 rm -f conf.gtktest
20501 if test "$cross_compiling" = yes; then
20502 echo $ac_n "cross compiling; assumed OK... $ac_c"
20503else
20504 cat >conftest.$ac_ext <<_ACEOF
20505#line $LINENO "configure"
20506/* confdefs.h. */
20507_ACEOF
20508cat confdefs.h >>conftest.$ac_ext
20509cat >>conftest.$ac_ext <<_ACEOF
20510/* end confdefs.h. */
20511
20512#include <gtk/gtk.h>
20513#include <stdio.h>
20514#include <stdlib.h>
20515
20516int
20517main ()
20518{
20519 int major, minor, micro;
20520 char *tmp_version;
20521
20522 system ("touch conf.gtktest");
20523
20524 /* HP/UX 9 (%@#!) writes to sscanf strings */
20525 tmp_version = g_strdup("$min_gtk_version");
20526 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20527 printf("%s, bad version string\n", "$min_gtk_version");
20528 exit(1);
20529 }
20530
20531 if ((gtk_major_version != $gtk_config_major_version) ||
20532 (gtk_minor_version != $gtk_config_minor_version) ||
20533 (gtk_micro_version != $gtk_config_micro_version))
20534 {
20535 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20536 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20537 gtk_major_version, gtk_minor_version, gtk_micro_version);
20538 printf ("*** was found! If gtk-config was correct, then it is best\n");
20539 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20540 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20541 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20542 printf("*** required on your system.\n");
20543 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20544 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20545 printf("*** before re-running configure\n");
20546 }
20547#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20548 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20549 (gtk_minor_version != GTK_MINOR_VERSION) ||
20550 (gtk_micro_version != GTK_MICRO_VERSION))
20551 {
20552 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20553 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20554 printf("*** library (version %d.%d.%d)\n",
20555 gtk_major_version, gtk_minor_version, gtk_micro_version);
20556 }
20557#endif /* defined (GTK_MAJOR_VERSION) ... */
20558 else
20559 {
20560 if ((gtk_major_version > major) ||
20561 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20562 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20563 {
20564 return 0;
20565 }
20566 else
20567 {
20568 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20569 gtk_major_version, gtk_minor_version, gtk_micro_version);
20570 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20571 major, minor, micro);
20572 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20573 printf("***\n");
20574 printf("*** If you have already installed a sufficiently new version, this error\n");
20575 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20576 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20577 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20578 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20579 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20580 printf("*** so that the correct libraries are found at run-time))\n");
20581 }
20582 }
20583 return 1;
20584}
20585
20586_ACEOF
20587rm -f conftest$ac_exeext
20588if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20589 (eval $ac_link) 2>&5
20590 ac_status=$?
20591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20592 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20594 (eval $ac_try) 2>&5
20595 ac_status=$?
20596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20597 (exit $ac_status); }; }; then
20598 :
20599else
20600 echo "$as_me: program exited with status $ac_status" >&5
20601echo "$as_me: failed program was:" >&5
20602sed 's/^/| /' conftest.$ac_ext >&5
20603
20604( exit $ac_status )
20605no_gtk=yes
20606fi
20607rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20608fi
20609 CFLAGS="$ac_save_CFLAGS"
20610 LIBS="$ac_save_LIBS"
20611 fi
20612 fi
20613 if test "x$no_gtk" = x ; then
20614 echo "$as_me:$LINENO: result: yes" >&5
20615echo "${ECHO_T}yes" >&6
20616 wx_cv_lib_gtk=1.2.7
20617 else
20618 echo "$as_me:$LINENO: result: no" >&5
20619echo "${ECHO_T}no" >&6
20620 if test "$GTK_CONFIG" = "no" ; then
20621 echo "*** The gtk-config script installed by GTK could not be found"
20622 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20623 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20624 echo "*** full path to gtk-config."
20625 else
20626 if test -f conf.gtktest ; then
20627 :
20628 else
20629 echo "*** Could not run GTK test program, checking why..."
20630 CFLAGS="$CFLAGS $GTK_CFLAGS"
20631 LIBS="$LIBS $GTK_LIBS"
20632 cat >conftest.$ac_ext <<_ACEOF
20633#line $LINENO "configure"
20634/* confdefs.h. */
20635_ACEOF
20636cat confdefs.h >>conftest.$ac_ext
20637cat >>conftest.$ac_ext <<_ACEOF
20638/* end confdefs.h. */
20639
20640#include <gtk/gtk.h>
20641#include <stdio.h>
20642
20643int
20644main ()
20645{
20646 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20647 ;
20648 return 0;
20649}
20650_ACEOF
20651rm -f conftest.$ac_objext conftest$ac_exeext
20652if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20653 (eval $ac_link) 2>&5
20654 ac_status=$?
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); } &&
20657 { ac_try='test -s conftest$ac_exeext'
20658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20659 (eval $ac_try) 2>&5
20660 ac_status=$?
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); }; }; then
20663 echo "*** The test program compiled, but did not run. This usually means"
20664 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20665 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20666 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20667 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20668 echo "*** is required on your system"
20669 echo "***"
20670 echo "*** If you have an old version installed, it is best to remove it, although"
20671 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20672 echo "***"
20673 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20674 echo "*** came with the system with the command"
20675 echo "***"
20676 echo "*** rpm --erase --nodeps gtk gtk-devel"
20677else
20678 echo "$as_me: failed program was:" >&5
20679sed 's/^/| /' conftest.$ac_ext >&5
20680
20681 echo "*** The test program failed to compile or link. See the file config.log for the"
20682 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20683 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20684 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20685fi
20686rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20687 CFLAGS="$ac_save_CFLAGS"
20688 LIBS="$ac_save_LIBS"
20689 fi
20690 fi
20691 GTK_CFLAGS=""
20692 GTK_LIBS=""
20693 :
20694 fi
20695
20696
20697 rm -f conf.gtktest
20698
20699
20700 if test -z "$wx_cv_lib_gtk"; then
20701
20702# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20703if test "${with_gtk_prefix+set}" = set; then
20704 withval="$with_gtk_prefix"
20705 gtk_config_prefix="$withval"
20706else
20707 gtk_config_prefix=""
20708fi;
20709
20710# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20711if test "${with_gtk_exec_prefix+set}" = set; then
20712 withval="$with_gtk_exec_prefix"
20713 gtk_config_exec_prefix="$withval"
20714else
20715 gtk_config_exec_prefix=""
20716fi;
20717# Check whether --enable-gtktest or --disable-gtktest was given.
20718if test "${enable_gtktest+set}" = set; then
20719 enableval="$enable_gtktest"
20720
20721else
20722 enable_gtktest=yes
20723fi;
20724
20725 for module in . $GTK_MODULES
20726 do
20727 case "$module" in
20728 gthread)
20729 gtk_config_args="$gtk_config_args gthread"
20730 ;;
20731 esac
20732 done
20733
20734 if test x$gtk_config_exec_prefix != x ; then
20735 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20736 if test x${GTK_CONFIG+set} != xset ; then
20737 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20738 fi
20739 fi
20740 if test x$gtk_config_prefix != x ; then
20741 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20742 if test x${GTK_CONFIG+set} != xset ; then
20743 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20744 fi
20745 fi
20746
20747 # Extract the first word of "gtk-config", so it can be a program name with args.
20748set dummy gtk-config; ac_word=$2
20749echo "$as_me:$LINENO: checking for $ac_word" >&5
20750echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20751if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20752 echo $ECHO_N "(cached) $ECHO_C" >&6
20753else
20754 case $GTK_CONFIG in
20755 [\\/]* | ?:[\\/]*)
20756 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20757 ;;
20758 *)
20759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20760for as_dir in $PATH
20761do
20762 IFS=$as_save_IFS
20763 test -z "$as_dir" && as_dir=.
20764 for ac_exec_ext in '' $ac_executable_extensions; do
20765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20766 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20768 break 2
20769 fi
20770done
20771done
20772
20773 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20774 ;;
20775esac
20776fi
20777GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20778
20779if test -n "$GTK_CONFIG"; then
20780 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20781echo "${ECHO_T}$GTK_CONFIG" >&6
20782else
20783 echo "$as_me:$LINENO: result: no" >&5
20784echo "${ECHO_T}no" >&6
20785fi
20786
20787 min_gtk_version=1.2.3
20788 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20789echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20790 no_gtk=""
20791 if test "$GTK_CONFIG" = "no" ; then
20792 no_gtk=yes
20793 else
20794 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20795 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20796 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20797 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20798 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20799 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20800 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20801 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20802 if test "x$enable_gtktest" = "xyes" ; then
20803 ac_save_CFLAGS="$CFLAGS"
20804 ac_save_LIBS="$LIBS"
20805 CFLAGS="$CFLAGS $GTK_CFLAGS"
20806 LIBS="$GTK_LIBS $LIBS"
20807 rm -f conf.gtktest
20808 if test "$cross_compiling" = yes; then
20809 echo $ac_n "cross compiling; assumed OK... $ac_c"
20810else
20811 cat >conftest.$ac_ext <<_ACEOF
20812#line $LINENO "configure"
20813/* confdefs.h. */
20814_ACEOF
20815cat confdefs.h >>conftest.$ac_ext
20816cat >>conftest.$ac_ext <<_ACEOF
20817/* end confdefs.h. */
20818
20819#include <gtk/gtk.h>
20820#include <stdio.h>
20821#include <stdlib.h>
20822
20823int
20824main ()
20825{
20826 int major, minor, micro;
20827 char *tmp_version;
20828
20829 system ("touch conf.gtktest");
20830
20831 /* HP/UX 9 (%@#!) writes to sscanf strings */
20832 tmp_version = g_strdup("$min_gtk_version");
20833 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20834 printf("%s, bad version string\n", "$min_gtk_version");
20835 exit(1);
20836 }
20837
20838 if ((gtk_major_version != $gtk_config_major_version) ||
20839 (gtk_minor_version != $gtk_config_minor_version) ||
20840 (gtk_micro_version != $gtk_config_micro_version))
20841 {
20842 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20843 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20844 gtk_major_version, gtk_minor_version, gtk_micro_version);
20845 printf ("*** was found! If gtk-config was correct, then it is best\n");
20846 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20847 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20848 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20849 printf("*** required on your system.\n");
20850 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20851 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20852 printf("*** before re-running configure\n");
20853 }
20854#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20855 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20856 (gtk_minor_version != GTK_MINOR_VERSION) ||
20857 (gtk_micro_version != GTK_MICRO_VERSION))
20858 {
20859 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20860 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20861 printf("*** library (version %d.%d.%d)\n",
20862 gtk_major_version, gtk_minor_version, gtk_micro_version);
20863 }
20864#endif /* defined (GTK_MAJOR_VERSION) ... */
20865 else
20866 {
20867 if ((gtk_major_version > major) ||
20868 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20869 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20870 {
20871 return 0;
20872 }
20873 else
20874 {
20875 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20876 gtk_major_version, gtk_minor_version, gtk_micro_version);
20877 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20878 major, minor, micro);
20879 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20880 printf("***\n");
20881 printf("*** If you have already installed a sufficiently new version, this error\n");
20882 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20883 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20884 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20885 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20886 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20887 printf("*** so that the correct libraries are found at run-time))\n");
20888 }
20889 }
20890 return 1;
20891}
20892
20893_ACEOF
20894rm -f conftest$ac_exeext
20895if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20896 (eval $ac_link) 2>&5
20897 ac_status=$?
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20901 (eval $ac_try) 2>&5
20902 ac_status=$?
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); }; }; then
20905 :
20906else
20907 echo "$as_me: program exited with status $ac_status" >&5
20908echo "$as_me: failed program was:" >&5
20909sed 's/^/| /' conftest.$ac_ext >&5
20910
20911( exit $ac_status )
20912no_gtk=yes
20913fi
20914rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20915fi
20916 CFLAGS="$ac_save_CFLAGS"
20917 LIBS="$ac_save_LIBS"
20918 fi
20919 fi
20920 if test "x$no_gtk" = x ; then
20921 echo "$as_me:$LINENO: result: yes" >&5
20922echo "${ECHO_T}yes" >&6
20923 wx_cv_lib_gtk=1.2.3
20924 else
20925 echo "$as_me:$LINENO: result: no" >&5
20926echo "${ECHO_T}no" >&6
20927 if test "$GTK_CONFIG" = "no" ; then
20928 echo "*** The gtk-config script installed by GTK could not be found"
20929 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20930 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20931 echo "*** full path to gtk-config."
20932 else
20933 if test -f conf.gtktest ; then
20934 :
20935 else
20936 echo "*** Could not run GTK test program, checking why..."
20937 CFLAGS="$CFLAGS $GTK_CFLAGS"
20938 LIBS="$LIBS $GTK_LIBS"
20939 cat >conftest.$ac_ext <<_ACEOF
20940#line $LINENO "configure"
20941/* confdefs.h. */
20942_ACEOF
20943cat confdefs.h >>conftest.$ac_ext
20944cat >>conftest.$ac_ext <<_ACEOF
20945/* end confdefs.h. */
20946
20947#include <gtk/gtk.h>
20948#include <stdio.h>
20949
20950int
20951main ()
20952{
20953 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20954 ;
20955 return 0;
20956}
20957_ACEOF
20958rm -f conftest.$ac_objext conftest$ac_exeext
20959if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20960 (eval $ac_link) 2>&5
20961 ac_status=$?
20962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20963 (exit $ac_status); } &&
20964 { ac_try='test -s conftest$ac_exeext'
20965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20966 (eval $ac_try) 2>&5
20967 ac_status=$?
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); }; }; then
20970 echo "*** The test program compiled, but did not run. This usually means"
20971 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20972 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20973 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20974 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20975 echo "*** is required on your system"
20976 echo "***"
20977 echo "*** If you have an old version installed, it is best to remove it, although"
20978 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20979 echo "***"
20980 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20981 echo "*** came with the system with the command"
20982 echo "***"
20983 echo "*** rpm --erase --nodeps gtk gtk-devel"
20984else
20985 echo "$as_me: failed program was:" >&5
20986sed 's/^/| /' conftest.$ac_ext >&5
20987
20988 echo "*** The test program failed to compile or link. See the file config.log for the"
20989 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20990 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20991 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20992fi
20993rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20994 CFLAGS="$ac_save_CFLAGS"
20995 LIBS="$ac_save_LIBS"
20996 fi
20997 fi
20998 GTK_CFLAGS=""
20999 GTK_LIBS=""
21000 :
21001 fi
21002
21003
21004 rm -f conf.gtktest
21005
21006 fi
21007 fi
21008
21009 if test -z "$wx_cv_lib_gtk"; then
21010 wx_cv_lib_gtk=none
21011 else
21012 wx_cv_cflags_gtk=$GTK_CFLAGS
21013 wx_cv_libs_gtk=$GTK_LIBS
21014 fi
21015
21016
21017fi
21018
21019
21020 if test "$gtk_version_cached" = 1; then
21021 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
21022echo "${ECHO_T}$wx_cv_lib_gtk" >&6
21023 fi
21024
21025 case "$wx_cv_lib_gtk" in
21026 2.0) WXGTK20=1
21027 TOOLKIT_VERSION=2
21028 ;;
21029 1.2.7) WXGTK127=1
21030 WXGTK12=1
21031 ;;
21032 1.2.3) WXGTK12=1
21033 ;;
21034 *) { { echo "$as_me:$LINENO: error:
21035Please check that gtk-config is in path, the directory
21036where GTK+ libraries are installed (returned by
21037'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21038equivalent variable and GTK+ is version 1.2.3 or above.
21039 " >&5
21040echo "$as_me: error:
21041Please check that gtk-config is in path, the directory
21042where GTK+ libraries are installed (returned by
21043'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21044equivalent variable and GTK+ is version 1.2.3 or above.
21045 " >&2;}
21046 { (exit 1); exit 1; }; }
21047 ;;
21048 esac
21049
21050 if test "$WXGTK20" = 1; then
21051 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21052
21053 succeeded=no
21054
21055 if test -z "$PKG_CONFIG"; then
21056 # Extract the first word of "pkg-config", so it can be a program name with args.
21057set dummy pkg-config; ac_word=$2
21058echo "$as_me:$LINENO: checking for $ac_word" >&5
21059echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21060if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21061 echo $ECHO_N "(cached) $ECHO_C" >&6
21062else
21063 case $PKG_CONFIG in
21064 [\\/]* | ?:[\\/]*)
21065 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21066 ;;
21067 *)
21068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21069for as_dir in $PATH
21070do
21071 IFS=$as_save_IFS
21072 test -z "$as_dir" && as_dir=.
21073 for ac_exec_ext in '' $ac_executable_extensions; do
21074 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21075 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21077 break 2
21078 fi
21079done
21080done
21081
21082 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21083 ;;
21084esac
21085fi
21086PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21087
21088if test -n "$PKG_CONFIG"; then
21089 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21090echo "${ECHO_T}$PKG_CONFIG" >&6
21091else
21092 echo "$as_me:$LINENO: result: no" >&5
21093echo "${ECHO_T}no" >&6
21094fi
21095
21096 fi
21097
21098 if test "$PKG_CONFIG" = "no" ; then
21099 echo "*** The pkg-config script could not be found. Make sure it is"
21100 echo "*** in your path, or set the PKG_CONFIG environment variable"
21101 echo "*** to the full path to pkg-config."
21102 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21103 else
21104 PKG_CONFIG_MIN_VERSION=0.9.0
21105 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21106 echo "$as_me:$LINENO: checking for pangoft2" >&5
21107echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
21108
21109 if $PKG_CONFIG --exists "pangoft2" ; then
21110 echo "$as_me:$LINENO: result: yes" >&5
21111echo "${ECHO_T}yes" >&6
21112 succeeded=yes
21113
21114 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
21115echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
21116 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
21117 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
21118echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
21119
21120 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
21121echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
21122 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
21123 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
21124echo "${ECHO_T}$PANGOFT2_LIBS" >&6
21125 else
21126 PANGOFT2_CFLAGS=""
21127 PANGOFT2_LIBS=""
21128 ## If we have a custom action on failure, don't print errors, but
21129 ## do set a variable so people can do so.
21130 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
21131
21132 fi
21133
21134
21135
21136 else
21137 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21138 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21139 fi
21140 fi
21141
21142 if test $succeeded = yes; then
21143
21144 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
21145 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
21146
21147 else
21148
21149 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
21150echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
21151 wxUSE_PRINTING_ARCHITECTURE="no"
21152
21153
21154 fi
21155
21156 fi
21157 else
21158 if test "$wxUSE_UNICODE" = "yes"; then
21159 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
21160echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
21161 wxUSE_UNICODE=no
21162 fi
21163 fi
21164
21165 if test "$USE_DARWIN" != 1; then
21166
21167for ac_func in poll
21168do
21169as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21170echo "$as_me:$LINENO: checking for $ac_func" >&5
21171echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21172if eval "test \"\${$as_ac_var+set}\" = set"; then
21173 echo $ECHO_N "(cached) $ECHO_C" >&6
21174else
21175 cat >conftest.$ac_ext <<_ACEOF
21176#line $LINENO "configure"
21177/* confdefs.h. */
21178_ACEOF
21179cat confdefs.h >>conftest.$ac_ext
21180cat >>conftest.$ac_ext <<_ACEOF
21181/* end confdefs.h. */
21182/* System header to define __stub macros and hopefully few prototypes,
21183 which can conflict with char $ac_func (); below.
21184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21185 <limits.h> exists even on freestanding compilers. */
21186#ifdef __STDC__
21187# include <limits.h>
21188#else
21189# include <assert.h>
21190#endif
21191/* Override any gcc2 internal prototype to avoid an error. */
21192#ifdef __cplusplus
21193extern "C"
21194{
21195#endif
21196/* We use char because int might match the return type of a gcc2
21197 builtin and then its argument prototype would still apply. */
21198char $ac_func ();
21199/* The GNU C library defines this for functions which it implements
21200 to always fail with ENOSYS. Some functions are actually named
21201 something starting with __ and the normal name is an alias. */
21202#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21203choke me
21204#else
21205char (*f) () = $ac_func;
21206#endif
21207#ifdef __cplusplus
21208}
21209#endif
21210
21211int
21212main ()
21213{
21214return f != $ac_func;
21215 ;
21216 return 0;
21217}
21218_ACEOF
21219rm -f conftest.$ac_objext conftest$ac_exeext
21220if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21221 (eval $ac_link) 2>&5
21222 ac_status=$?
21223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21224 (exit $ac_status); } &&
21225 { ac_try='test -s conftest$ac_exeext'
21226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21227 (eval $ac_try) 2>&5
21228 ac_status=$?
21229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21230 (exit $ac_status); }; }; then
21231 eval "$as_ac_var=yes"
21232else
21233 echo "$as_me: failed program was:" >&5
21234sed 's/^/| /' conftest.$ac_ext >&5
21235
21236eval "$as_ac_var=no"
21237fi
21238rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21239fi
21240echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21241echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21242if test `eval echo '${'$as_ac_var'}'` = yes; then
21243 cat >>confdefs.h <<_ACEOF
21244#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21245_ACEOF
21246
21247fi
21248done
21249
21250 fi
21251
21252 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
21253 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21254
21255 AFMINSTALL=afminstall
21256 TOOLKIT=GTK
21257 GUIDIST=GTK_DIST
21258
21259 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21260echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21261if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21262 echo $ECHO_N "(cached) $ECHO_C" >&6
21263else
21264 ac_check_lib_save_LIBS=$LIBS
21265LIBS="-lgdk $LIBS"
21266cat >conftest.$ac_ext <<_ACEOF
21267#line $LINENO "configure"
21268/* confdefs.h. */
21269_ACEOF
21270cat confdefs.h >>conftest.$ac_ext
21271cat >>conftest.$ac_ext <<_ACEOF
21272/* end confdefs.h. */
21273
21274/* Override any gcc2 internal prototype to avoid an error. */
21275#ifdef __cplusplus
21276extern "C"
21277#endif
21278/* We use char because int might match the return type of a gcc2
21279 builtin and then its argument prototype would still apply. */
21280char gdk_im_open ();
21281int
21282main ()
21283{
21284gdk_im_open ();
21285 ;
21286 return 0;
21287}
21288_ACEOF
21289rm -f conftest.$ac_objext conftest$ac_exeext
21290if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21291 (eval $ac_link) 2>&5
21292 ac_status=$?
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); } &&
21295 { ac_try='test -s conftest$ac_exeext'
21296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21297 (eval $ac_try) 2>&5
21298 ac_status=$?
21299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21300 (exit $ac_status); }; }; then
21301 ac_cv_lib_gdk_gdk_im_open=yes
21302else
21303 echo "$as_me: failed program was:" >&5
21304sed 's/^/| /' conftest.$ac_ext >&5
21305
21306ac_cv_lib_gdk_gdk_im_open=no
21307fi
21308rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21309LIBS=$ac_check_lib_save_LIBS
21310fi
21311echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21312echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21313if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21314 cat >>confdefs.h <<\_ACEOF
21315#define HAVE_XIM 1
21316_ACEOF
21317
21318fi
21319
21320 fi
21321
21322 if test "$wxUSE_MGL" = 1; then
21323 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21324echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21325 if test "x$MGL_ROOT" = x ; then
21326 echo "$as_me:$LINENO: result: not found" >&5
21327echo "${ECHO_T}not found" >&6
21328 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21329echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21330 { (exit 1); exit 1; }; }
21331 else
21332 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21333echo "${ECHO_T}$MGL_ROOT" >&6
21334 fi
21335
21336 echo "$as_me:$LINENO: checking for libmgl location" >&5
21337echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21338 case "${host}" in
21339 *-*-linux* )
21340 if test "x$wxUSE_SHARED" = xyes ; then
21341 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
21342 else
21343 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
21344 fi
21345 ;;
21346 *-pc-msdosdjgpp )
21347 mgl_os_candidates="dos32/dj2"
21348 ;;
21349 *)
21350 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21351echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21352 { (exit 1); exit 1; }; }
21353 esac
21354
21355 mgl_lib_type=""
21356 mgl_os=""
21357
21358 for mgl_os_i in $mgl_os_candidates ; do
21359 if test "x$mgl_os" = x ; then
21360 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21361 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
21362 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
21363 mgl_lib_type=debug
21364 mgl_os=$mgl_os_i
21365 fi
21366 fi
21367 if test "x$mgl_lib_type" = x ; then
21368 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
21369 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
21370 mgl_lib_type=release
21371 mgl_os=$mgl_os_i
21372 fi
21373 fi
21374 fi
21375 done
21376
21377 if test "x$mgl_os" = x ; then
21378 echo "$as_me:$LINENO: result: not found" >&5
21379echo "${ECHO_T}not found" >&6
21380 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21381echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21382 { (exit 1); exit 1; }; }
21383 fi
21384 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21385echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21386
21387 wxUSE_UNIVERSAL="yes"
21388
21389 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
21390 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21391
21392 AFMINSTALL=afminstall
21393 TOOLKIT=MGL
21394 GUIDIST=MGL_DIST
21395 fi
21396
21397 if test "$wxUSE_MICROWIN" = 1; then
21398 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21399echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21400 if test "x$MICROWINDOWS" = x ; then
21401 echo "$as_me:$LINENO: result: not found" >&5
21402echo "${ECHO_T}not found" >&6
21403 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21404echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21405 { (exit 1); exit 1; }; }
21406 else
21407 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21408echo "${ECHO_T}$MICROWINDOWS" >&6
21409 fi
21410
21411 if test -f $MICROWINDOWS/lib/libmwin.a; then
21412 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21413echo "${ECHO_T}MicroWindows' libraries found." >&6
21414 else
21415 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21416echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21417 { (exit 1); exit 1; }; }
21418 fi
21419
21420 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
21421 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21422
21423 wxUSE_UNIVERSAL="yes"
21424
21425 AFMINSTALL=afminstall
21426 TOOLKIT=MICROWIN
21427 GUIDIST=MICROWIN_DIST
21428
21429 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21430 fi
21431
21432 if test "$wxUSE_X11" = 1; then
21433 echo "$as_me:$LINENO: checking for X" >&5
21434echo $ECHO_N "checking for X... $ECHO_C" >&6
21435
21436
21437# Check whether --with-x or --without-x was given.
21438if test "${with_x+set}" = set; then
21439 withval="$with_x"
21440
21441fi;
21442# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21443if test "x$with_x" = xno; then
21444 # The user explicitly disabled X.
21445 have_x=disabled
21446else
21447 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
21448 # Both variables are already set.
21449 have_x=yes
21450 else
21451 if test "${ac_cv_have_x+set}" = set; then
21452 echo $ECHO_N "(cached) $ECHO_C" >&6
21453else
21454 # One or both of the vars are not set, and there is no cached value.
21455ac_x_includes=no ac_x_libraries=no
21456rm -fr conftest.dir
21457if mkdir conftest.dir; then
21458 cd conftest.dir
21459 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21460 cat >Imakefile <<'_ACEOF'
21461acfindx:
21462 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21463_ACEOF
21464 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
21465 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21466 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21467 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21468 for ac_extension in a so sl; do
21469 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
21470 test -f $ac_im_libdir/libX11.$ac_extension; then
21471 ac_im_usrlibdir=$ac_im_libdir; break
21472 fi
21473 done
21474 # Screen out bogus values from the imake configuration. They are
21475 # bogus both because they are the default anyway, and because
21476 # using them would break gcc on systems where it needs fixed includes.
21477 case $ac_im_incroot in
21478 /usr/include) ;;
21479 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
21480 esac
21481 case $ac_im_usrlibdir in
21482 /usr/lib | /lib) ;;
21483 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21484 esac
21485 fi
21486 cd ..
21487 rm -fr conftest.dir
21488fi
21489
21490# Standard set of common directories for X headers.
21491# Check X11 before X11Rn because it is often a symlink to the current release.
21492ac_x_header_dirs='
21493/usr/X11/include
21494/usr/X11R6/include
21495/usr/X11R5/include
21496/usr/X11R4/include
21497
21498/usr/include/X11
21499/usr/include/X11R6
21500/usr/include/X11R5
21501/usr/include/X11R4
21502
21503/usr/local/X11/include
21504/usr/local/X11R6/include
21505/usr/local/X11R5/include
21506/usr/local/X11R4/include
21507
21508/usr/local/include/X11
21509/usr/local/include/X11R6
21510/usr/local/include/X11R5
21511/usr/local/include/X11R4
21512
21513/usr/X386/include
21514/usr/x386/include
21515/usr/XFree86/include/X11
21516
21517/usr/include
21518/usr/local/include
21519/usr/unsupported/include
21520/usr/athena/include
21521/usr/local/x11r5/include
21522/usr/lpp/Xamples/include
21523
21524/usr/openwin/include
21525/usr/openwin/share/include'
21526
21527if test "$ac_x_includes" = no; then
21528 # Guess where to find include files, by looking for Intrinsic.h.
21529 # First, try using that file with no special directory specified.
21530 cat >conftest.$ac_ext <<_ACEOF
21531#line $LINENO "configure"
21532/* confdefs.h. */
21533_ACEOF
21534cat confdefs.h >>conftest.$ac_ext
21535cat >>conftest.$ac_ext <<_ACEOF
21536/* end confdefs.h. */
21537#include <X11/Intrinsic.h>
21538_ACEOF
21539if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21540 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21541 ac_status=$?
21542 grep -v '^ *+' conftest.er1 >conftest.err
21543 rm -f conftest.er1
21544 cat conftest.err >&5
21545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21546 (exit $ac_status); } >/dev/null; then
21547 if test -s conftest.err; then
21548 ac_cpp_err=$ac_c_preproc_warn_flag
21549 else
21550 ac_cpp_err=
21551 fi
21552else
21553 ac_cpp_err=yes
21554fi
21555if test -z "$ac_cpp_err"; then
21556 # We can compile using X headers with no special include directory.
21557ac_x_includes=
21558else
21559 echo "$as_me: failed program was:" >&5
21560sed 's/^/| /' conftest.$ac_ext >&5
21561
21562 for ac_dir in $ac_x_header_dirs; do
21563 if test -r "$ac_dir/X11/Intrinsic.h"; then
21564 ac_x_includes=$ac_dir
21565 break
21566 fi
21567done
21568fi
21569rm -f conftest.err conftest.$ac_ext
21570fi # $ac_x_includes = no
21571
21572if test "$ac_x_libraries" = no; then
21573 # Check for the libraries.
21574 # See if we find them without any special options.
21575 # Don't add to $LIBS permanently.
21576 ac_save_LIBS=$LIBS
21577 LIBS="-lXt $LIBS"
21578 cat >conftest.$ac_ext <<_ACEOF
21579#line $LINENO "configure"
21580/* confdefs.h. */
21581_ACEOF
21582cat confdefs.h >>conftest.$ac_ext
21583cat >>conftest.$ac_ext <<_ACEOF
21584/* end confdefs.h. */
21585#include <X11/Intrinsic.h>
21586int
21587main ()
21588{
21589XtMalloc (0)
21590 ;
21591 return 0;
21592}
21593_ACEOF
21594rm -f conftest.$ac_objext conftest$ac_exeext
21595if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21596 (eval $ac_link) 2>&5
21597 ac_status=$?
21598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); } &&
21600 { ac_try='test -s conftest$ac_exeext'
21601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21602 (eval $ac_try) 2>&5
21603 ac_status=$?
21604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21605 (exit $ac_status); }; }; then
21606 LIBS=$ac_save_LIBS
21607# We can link X programs with no special library path.
21608ac_x_libraries=
21609else
21610 echo "$as_me: failed program was:" >&5
21611sed 's/^/| /' conftest.$ac_ext >&5
21612
21613LIBS=$ac_save_LIBS
21614for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21615do
21616 # Don't even attempt the hair of trying to link an X program!
21617 for ac_extension in a so sl; do
21618 if test -r $ac_dir/libXt.$ac_extension; then
21619 ac_x_libraries=$ac_dir
21620 break 2
21621 fi
21622 done
21623done
21624fi
21625rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21626fi # $ac_x_libraries = no
21627
21628if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21629 # Didn't find X anywhere. Cache the known absence of X.
21630 ac_cv_have_x="have_x=no"
21631else
21632 # Record where we found X for the cache.
21633 ac_cv_have_x="have_x=yes \
21634 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21635fi
21636fi
21637
21638 fi
21639 eval "$ac_cv_have_x"
21640fi # $with_x != no
21641
21642if test "$have_x" != yes; then
21643 echo "$as_me:$LINENO: result: $have_x" >&5
21644echo "${ECHO_T}$have_x" >&6
21645 no_x=yes
21646else
21647 # If each of the values was on the command line, it overrides each guess.
21648 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21649 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21650 # Update the cache value to reflect the command line values.
21651 ac_cv_have_x="have_x=yes \
21652 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21653 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21654echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21655fi
21656
21657if test "$no_x" = yes; then
21658 # Not all programs may use this symbol, but it does not hurt to define it.
21659
21660cat >>confdefs.h <<\_ACEOF
21661#define X_DISPLAY_MISSING 1
21662_ACEOF
21663
21664 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21665else
21666 if test -n "$x_includes"; then
21667 X_CFLAGS="$X_CFLAGS -I$x_includes"
21668 fi
21669
21670 # It would also be nice to do this for all -L options, not just this one.
21671 if test -n "$x_libraries"; then
21672 X_LIBS="$X_LIBS -L$x_libraries"
21673 # For Solaris; some versions of Sun CC require a space after -R and
21674 # others require no space. Words are not sufficient . . . .
21675 case `(uname -sr) 2>/dev/null` in
21676 "SunOS 5"*)
21677 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21678echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21679 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21680 cat >conftest.$ac_ext <<_ACEOF
21681#line $LINENO "configure"
21682/* confdefs.h. */
21683_ACEOF
21684cat confdefs.h >>conftest.$ac_ext
21685cat >>conftest.$ac_ext <<_ACEOF
21686/* end confdefs.h. */
21687
21688int
21689main ()
21690{
21691
21692 ;
21693 return 0;
21694}
21695_ACEOF
21696rm -f conftest.$ac_objext conftest$ac_exeext
21697if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21698 (eval $ac_link) 2>&5
21699 ac_status=$?
21700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21701 (exit $ac_status); } &&
21702 { ac_try='test -s conftest$ac_exeext'
21703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21704 (eval $ac_try) 2>&5
21705 ac_status=$?
21706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707 (exit $ac_status); }; }; then
21708 ac_R_nospace=yes
21709else
21710 echo "$as_me: failed program was:" >&5
21711sed 's/^/| /' conftest.$ac_ext >&5
21712
21713ac_R_nospace=no
21714fi
21715rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21716 if test $ac_R_nospace = yes; then
21717 echo "$as_me:$LINENO: result: no" >&5
21718echo "${ECHO_T}no" >&6
21719 X_LIBS="$X_LIBS -R$x_libraries"
21720 else
21721 LIBS="$ac_xsave_LIBS -R $x_libraries"
21722 cat >conftest.$ac_ext <<_ACEOF
21723#line $LINENO "configure"
21724/* confdefs.h. */
21725_ACEOF
21726cat confdefs.h >>conftest.$ac_ext
21727cat >>conftest.$ac_ext <<_ACEOF
21728/* end confdefs.h. */
21729
21730int
21731main ()
21732{
21733
21734 ;
21735 return 0;
21736}
21737_ACEOF
21738rm -f conftest.$ac_objext conftest$ac_exeext
21739if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21740 (eval $ac_link) 2>&5
21741 ac_status=$?
21742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21743 (exit $ac_status); } &&
21744 { ac_try='test -s conftest$ac_exeext'
21745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21746 (eval $ac_try) 2>&5
21747 ac_status=$?
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); }; }; then
21750 ac_R_space=yes
21751else
21752 echo "$as_me: failed program was:" >&5
21753sed 's/^/| /' conftest.$ac_ext >&5
21754
21755ac_R_space=no
21756fi
21757rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21758 if test $ac_R_space = yes; then
21759 echo "$as_me:$LINENO: result: yes" >&5
21760echo "${ECHO_T}yes" >&6
21761 X_LIBS="$X_LIBS -R $x_libraries"
21762 else
21763 echo "$as_me:$LINENO: result: neither works" >&5
21764echo "${ECHO_T}neither works" >&6
21765 fi
21766 fi
21767 LIBS=$ac_xsave_LIBS
21768 esac
21769 fi
21770
21771 # Check for system-dependent libraries X programs must link with.
21772 # Do this before checking for the system-independent R6 libraries
21773 # (-lICE), since we may need -lsocket or whatever for X linking.
21774
21775 if test "$ISC" = yes; then
21776 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21777 else
21778 # Martyn Johnson says this is needed for Ultrix, if the X
21779 # libraries were built with DECnet support. And Karl Berry says
21780 # the Alpha needs dnet_stub (dnet does not exist).
21781 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21782 cat >conftest.$ac_ext <<_ACEOF
21783#line $LINENO "configure"
21784/* confdefs.h. */
21785_ACEOF
21786cat confdefs.h >>conftest.$ac_ext
21787cat >>conftest.$ac_ext <<_ACEOF
21788/* end confdefs.h. */
21789
21790/* Override any gcc2 internal prototype to avoid an error. */
21791#ifdef __cplusplus
21792extern "C"
21793#endif
21794/* We use char because int might match the return type of a gcc2
21795 builtin and then its argument prototype would still apply. */
21796char XOpenDisplay ();
21797int
21798main ()
21799{
21800XOpenDisplay ();
21801 ;
21802 return 0;
21803}
21804_ACEOF
21805rm -f conftest.$ac_objext conftest$ac_exeext
21806if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21807 (eval $ac_link) 2>&5
21808 ac_status=$?
21809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810 (exit $ac_status); } &&
21811 { ac_try='test -s conftest$ac_exeext'
21812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21813 (eval $ac_try) 2>&5
21814 ac_status=$?
21815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21816 (exit $ac_status); }; }; then
21817 :
21818else
21819 echo "$as_me: failed program was:" >&5
21820sed 's/^/| /' conftest.$ac_ext >&5
21821
21822echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21823echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21824if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21825 echo $ECHO_N "(cached) $ECHO_C" >&6
21826else
21827 ac_check_lib_save_LIBS=$LIBS
21828LIBS="-ldnet $LIBS"
21829cat >conftest.$ac_ext <<_ACEOF
21830#line $LINENO "configure"
21831/* confdefs.h. */
21832_ACEOF
21833cat confdefs.h >>conftest.$ac_ext
21834cat >>conftest.$ac_ext <<_ACEOF
21835/* end confdefs.h. */
21836
21837/* Override any gcc2 internal prototype to avoid an error. */
21838#ifdef __cplusplus
21839extern "C"
21840#endif
21841/* We use char because int might match the return type of a gcc2
21842 builtin and then its argument prototype would still apply. */
21843char dnet_ntoa ();
21844int
21845main ()
21846{
21847dnet_ntoa ();
21848 ;
21849 return 0;
21850}
21851_ACEOF
21852rm -f conftest.$ac_objext conftest$ac_exeext
21853if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21854 (eval $ac_link) 2>&5
21855 ac_status=$?
21856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21857 (exit $ac_status); } &&
21858 { ac_try='test -s conftest$ac_exeext'
21859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21860 (eval $ac_try) 2>&5
21861 ac_status=$?
21862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21863 (exit $ac_status); }; }; then
21864 ac_cv_lib_dnet_dnet_ntoa=yes
21865else
21866 echo "$as_me: failed program was:" >&5
21867sed 's/^/| /' conftest.$ac_ext >&5
21868
21869ac_cv_lib_dnet_dnet_ntoa=no
21870fi
21871rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21872LIBS=$ac_check_lib_save_LIBS
21873fi
21874echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21875echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21876if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21877 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21878fi
21879
21880 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21881 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21882echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21883if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21884 echo $ECHO_N "(cached) $ECHO_C" >&6
21885else
21886 ac_check_lib_save_LIBS=$LIBS
21887LIBS="-ldnet_stub $LIBS"
21888cat >conftest.$ac_ext <<_ACEOF
21889#line $LINENO "configure"
21890/* confdefs.h. */
21891_ACEOF
21892cat confdefs.h >>conftest.$ac_ext
21893cat >>conftest.$ac_ext <<_ACEOF
21894/* end confdefs.h. */
21895
21896/* Override any gcc2 internal prototype to avoid an error. */
21897#ifdef __cplusplus
21898extern "C"
21899#endif
21900/* We use char because int might match the return type of a gcc2
21901 builtin and then its argument prototype would still apply. */
21902char dnet_ntoa ();
21903int
21904main ()
21905{
21906dnet_ntoa ();
21907 ;
21908 return 0;
21909}
21910_ACEOF
21911rm -f conftest.$ac_objext conftest$ac_exeext
21912if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21913 (eval $ac_link) 2>&5
21914 ac_status=$?
21915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916 (exit $ac_status); } &&
21917 { ac_try='test -s conftest$ac_exeext'
21918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21919 (eval $ac_try) 2>&5
21920 ac_status=$?
21921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922 (exit $ac_status); }; }; then
21923 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21924else
21925 echo "$as_me: failed program was:" >&5
21926sed 's/^/| /' conftest.$ac_ext >&5
21927
21928ac_cv_lib_dnet_stub_dnet_ntoa=no
21929fi
21930rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21931LIBS=$ac_check_lib_save_LIBS
21932fi
21933echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21934echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21935if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21936 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21937fi
21938
21939 fi
21940fi
21941rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21942 LIBS="$ac_xsave_LIBS"
21943
21944 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21945 # to get the SysV transport functions.
21946 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21947 # needs -lnsl.
21948 # The nsl library prevents programs from opening the X display
21949 # on Irix 5.2, according to T.E. Dickey.
21950 # The functions gethostbyname, getservbyname, and inet_addr are
21951 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21952 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21953echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21954if test "${ac_cv_func_gethostbyname+set}" = set; then
21955 echo $ECHO_N "(cached) $ECHO_C" >&6
21956else
21957 cat >conftest.$ac_ext <<_ACEOF
21958#line $LINENO "configure"
21959/* confdefs.h. */
21960_ACEOF
21961cat confdefs.h >>conftest.$ac_ext
21962cat >>conftest.$ac_ext <<_ACEOF
21963/* end confdefs.h. */
21964/* System header to define __stub macros and hopefully few prototypes,
21965 which can conflict with char gethostbyname (); below.
21966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21967 <limits.h> exists even on freestanding compilers. */
21968#ifdef __STDC__
21969# include <limits.h>
21970#else
21971# include <assert.h>
21972#endif
21973/* Override any gcc2 internal prototype to avoid an error. */
21974#ifdef __cplusplus
21975extern "C"
21976{
21977#endif
21978/* We use char because int might match the return type of a gcc2
21979 builtin and then its argument prototype would still apply. */
21980char gethostbyname ();
21981/* The GNU C library defines this for functions which it implements
21982 to always fail with ENOSYS. Some functions are actually named
21983 something starting with __ and the normal name is an alias. */
21984#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21985choke me
21986#else
21987char (*f) () = gethostbyname;
21988#endif
21989#ifdef __cplusplus
21990}
21991#endif
21992
21993int
21994main ()
21995{
21996return f != gethostbyname;
21997 ;
21998 return 0;
21999}
22000_ACEOF
22001rm -f conftest.$ac_objext conftest$ac_exeext
22002if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22003 (eval $ac_link) 2>&5
22004 ac_status=$?
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); } &&
22007 { ac_try='test -s conftest$ac_exeext'
22008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22009 (eval $ac_try) 2>&5
22010 ac_status=$?
22011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22012 (exit $ac_status); }; }; then
22013 ac_cv_func_gethostbyname=yes
22014else
22015 echo "$as_me: failed program was:" >&5
22016sed 's/^/| /' conftest.$ac_ext >&5
22017
22018ac_cv_func_gethostbyname=no
22019fi
22020rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22021fi
22022echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22023echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22024
22025 if test $ac_cv_func_gethostbyname = no; then
22026 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22027echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22028if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22029 echo $ECHO_N "(cached) $ECHO_C" >&6
22030else
22031 ac_check_lib_save_LIBS=$LIBS
22032LIBS="-lnsl $LIBS"
22033cat >conftest.$ac_ext <<_ACEOF
22034#line $LINENO "configure"
22035/* confdefs.h. */
22036_ACEOF
22037cat confdefs.h >>conftest.$ac_ext
22038cat >>conftest.$ac_ext <<_ACEOF
22039/* end confdefs.h. */
22040
22041/* Override any gcc2 internal prototype to avoid an error. */
22042#ifdef __cplusplus
22043extern "C"
22044#endif
22045/* We use char because int might match the return type of a gcc2
22046 builtin and then its argument prototype would still apply. */
22047char gethostbyname ();
22048int
22049main ()
22050{
22051gethostbyname ();
22052 ;
22053 return 0;
22054}
22055_ACEOF
22056rm -f conftest.$ac_objext conftest$ac_exeext
22057if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22058 (eval $ac_link) 2>&5
22059 ac_status=$?
22060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22061 (exit $ac_status); } &&
22062 { ac_try='test -s conftest$ac_exeext'
22063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22064 (eval $ac_try) 2>&5
22065 ac_status=$?
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); }; }; then
22068 ac_cv_lib_nsl_gethostbyname=yes
22069else
22070 echo "$as_me: failed program was:" >&5
22071sed 's/^/| /' conftest.$ac_ext >&5
22072
22073ac_cv_lib_nsl_gethostbyname=no
22074fi
22075rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22076LIBS=$ac_check_lib_save_LIBS
22077fi
22078echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22079echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22080if test $ac_cv_lib_nsl_gethostbyname = yes; then
22081 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22082fi
22083
22084 if test $ac_cv_lib_nsl_gethostbyname = no; then
22085 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22086echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22087if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22088 echo $ECHO_N "(cached) $ECHO_C" >&6
22089else
22090 ac_check_lib_save_LIBS=$LIBS
22091LIBS="-lbsd $LIBS"
22092cat >conftest.$ac_ext <<_ACEOF
22093#line $LINENO "configure"
22094/* confdefs.h. */
22095_ACEOF
22096cat confdefs.h >>conftest.$ac_ext
22097cat >>conftest.$ac_ext <<_ACEOF
22098/* end confdefs.h. */
22099
22100/* Override any gcc2 internal prototype to avoid an error. */
22101#ifdef __cplusplus
22102extern "C"
22103#endif
22104/* We use char because int might match the return type of a gcc2
22105 builtin and then its argument prototype would still apply. */
22106char gethostbyname ();
22107int
22108main ()
22109{
22110gethostbyname ();
22111 ;
22112 return 0;
22113}
22114_ACEOF
22115rm -f conftest.$ac_objext conftest$ac_exeext
22116if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22117 (eval $ac_link) 2>&5
22118 ac_status=$?
22119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120 (exit $ac_status); } &&
22121 { ac_try='test -s conftest$ac_exeext'
22122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22123 (eval $ac_try) 2>&5
22124 ac_status=$?
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); }; }; then
22127 ac_cv_lib_bsd_gethostbyname=yes
22128else
22129 echo "$as_me: failed program was:" >&5
22130sed 's/^/| /' conftest.$ac_ext >&5
22131
22132ac_cv_lib_bsd_gethostbyname=no
22133fi
22134rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22135LIBS=$ac_check_lib_save_LIBS
22136fi
22137echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22138echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22139if test $ac_cv_lib_bsd_gethostbyname = yes; then
22140 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
22141fi
22142
22143 fi
22144 fi
22145
22146 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22147 # socket/setsockopt and other routines are undefined under SCO ODT
22148 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22149 # on later versions), says Simon Leinen: it contains gethostby*
22150 # variants that don't use the name server (or something). -lsocket
22151 # must be given before -lnsl if both are needed. We assume that
22152 # if connect needs -lnsl, so does gethostbyname.
22153 echo "$as_me:$LINENO: checking for connect" >&5
22154echo $ECHO_N "checking for connect... $ECHO_C" >&6
22155if test "${ac_cv_func_connect+set}" = set; then
22156 echo $ECHO_N "(cached) $ECHO_C" >&6
22157else
22158 cat >conftest.$ac_ext <<_ACEOF
22159#line $LINENO "configure"
22160/* confdefs.h. */
22161_ACEOF
22162cat confdefs.h >>conftest.$ac_ext
22163cat >>conftest.$ac_ext <<_ACEOF
22164/* end confdefs.h. */
22165/* System header to define __stub macros and hopefully few prototypes,
22166 which can conflict with char connect (); below.
22167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22168 <limits.h> exists even on freestanding compilers. */
22169#ifdef __STDC__
22170# include <limits.h>
22171#else
22172# include <assert.h>
22173#endif
22174/* Override any gcc2 internal prototype to avoid an error. */
22175#ifdef __cplusplus
22176extern "C"
22177{
22178#endif
22179/* We use char because int might match the return type of a gcc2
22180 builtin and then its argument prototype would still apply. */
22181char connect ();
22182/* The GNU C library defines this for functions which it implements
22183 to always fail with ENOSYS. Some functions are actually named
22184 something starting with __ and the normal name is an alias. */
22185#if defined (__stub_connect) || defined (__stub___connect)
22186choke me
22187#else
22188char (*f) () = connect;
22189#endif
22190#ifdef __cplusplus
22191}
22192#endif
22193
22194int
22195main ()
22196{
22197return f != connect;
22198 ;
22199 return 0;
22200}
22201_ACEOF
22202rm -f conftest.$ac_objext conftest$ac_exeext
22203if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22204 (eval $ac_link) 2>&5
22205 ac_status=$?
22206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22207 (exit $ac_status); } &&
22208 { ac_try='test -s conftest$ac_exeext'
22209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22210 (eval $ac_try) 2>&5
22211 ac_status=$?
22212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22213 (exit $ac_status); }; }; then
22214 ac_cv_func_connect=yes
22215else
22216 echo "$as_me: failed program was:" >&5
22217sed 's/^/| /' conftest.$ac_ext >&5
22218
22219ac_cv_func_connect=no
22220fi
22221rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22222fi
22223echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22224echo "${ECHO_T}$ac_cv_func_connect" >&6
22225
22226 if test $ac_cv_func_connect = no; then
22227 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22228echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22229if test "${ac_cv_lib_socket_connect+set}" = set; then
22230 echo $ECHO_N "(cached) $ECHO_C" >&6
22231else
22232 ac_check_lib_save_LIBS=$LIBS
22233LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
22234cat >conftest.$ac_ext <<_ACEOF
22235#line $LINENO "configure"
22236/* confdefs.h. */
22237_ACEOF
22238cat confdefs.h >>conftest.$ac_ext
22239cat >>conftest.$ac_ext <<_ACEOF
22240/* end confdefs.h. */
22241
22242/* Override any gcc2 internal prototype to avoid an error. */
22243#ifdef __cplusplus
22244extern "C"
22245#endif
22246/* We use char because int might match the return type of a gcc2
22247 builtin and then its argument prototype would still apply. */
22248char connect ();
22249int
22250main ()
22251{
22252connect ();
22253 ;
22254 return 0;
22255}
22256_ACEOF
22257rm -f conftest.$ac_objext conftest$ac_exeext
22258if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22259 (eval $ac_link) 2>&5
22260 ac_status=$?
22261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22262 (exit $ac_status); } &&
22263 { ac_try='test -s conftest$ac_exeext'
22264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22265 (eval $ac_try) 2>&5
22266 ac_status=$?
22267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22268 (exit $ac_status); }; }; then
22269 ac_cv_lib_socket_connect=yes
22270else
22271 echo "$as_me: failed program was:" >&5
22272sed 's/^/| /' conftest.$ac_ext >&5
22273
22274ac_cv_lib_socket_connect=no
22275fi
22276rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22277LIBS=$ac_check_lib_save_LIBS
22278fi
22279echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22280echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22281if test $ac_cv_lib_socket_connect = yes; then
22282 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
22283fi
22284
22285 fi
22286
22287 # Guillermo Gomez says -lposix is necessary on A/UX.
22288 echo "$as_me:$LINENO: checking for remove" >&5
22289echo $ECHO_N "checking for remove... $ECHO_C" >&6
22290if test "${ac_cv_func_remove+set}" = set; then
22291 echo $ECHO_N "(cached) $ECHO_C" >&6
22292else
22293 cat >conftest.$ac_ext <<_ACEOF
22294#line $LINENO "configure"
22295/* confdefs.h. */
22296_ACEOF
22297cat confdefs.h >>conftest.$ac_ext
22298cat >>conftest.$ac_ext <<_ACEOF
22299/* end confdefs.h. */
22300/* System header to define __stub macros and hopefully few prototypes,
22301 which can conflict with char remove (); below.
22302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22303 <limits.h> exists even on freestanding compilers. */
22304#ifdef __STDC__
22305# include <limits.h>
22306#else
22307# include <assert.h>
22308#endif
22309/* Override any gcc2 internal prototype to avoid an error. */
22310#ifdef __cplusplus
22311extern "C"
22312{
22313#endif
22314/* We use char because int might match the return type of a gcc2
22315 builtin and then its argument prototype would still apply. */
22316char remove ();
22317/* The GNU C library defines this for functions which it implements
22318 to always fail with ENOSYS. Some functions are actually named
22319 something starting with __ and the normal name is an alias. */
22320#if defined (__stub_remove) || defined (__stub___remove)
22321choke me
22322#else
22323char (*f) () = remove;
22324#endif
22325#ifdef __cplusplus
22326}
22327#endif
22328
22329int
22330main ()
22331{
22332return f != remove;
22333 ;
22334 return 0;
22335}
22336_ACEOF
22337rm -f conftest.$ac_objext conftest$ac_exeext
22338if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22339 (eval $ac_link) 2>&5
22340 ac_status=$?
22341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22342 (exit $ac_status); } &&
22343 { ac_try='test -s conftest$ac_exeext'
22344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22345 (eval $ac_try) 2>&5
22346 ac_status=$?
22347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22348 (exit $ac_status); }; }; then
22349 ac_cv_func_remove=yes
22350else
22351 echo "$as_me: failed program was:" >&5
22352sed 's/^/| /' conftest.$ac_ext >&5
22353
22354ac_cv_func_remove=no
22355fi
22356rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22357fi
22358echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22359echo "${ECHO_T}$ac_cv_func_remove" >&6
22360
22361 if test $ac_cv_func_remove = no; then
22362 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22363echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22364if test "${ac_cv_lib_posix_remove+set}" = set; then
22365 echo $ECHO_N "(cached) $ECHO_C" >&6
22366else
22367 ac_check_lib_save_LIBS=$LIBS
22368LIBS="-lposix $LIBS"
22369cat >conftest.$ac_ext <<_ACEOF
22370#line $LINENO "configure"
22371/* confdefs.h. */
22372_ACEOF
22373cat confdefs.h >>conftest.$ac_ext
22374cat >>conftest.$ac_ext <<_ACEOF
22375/* end confdefs.h. */
22376
22377/* Override any gcc2 internal prototype to avoid an error. */
22378#ifdef __cplusplus
22379extern "C"
22380#endif
22381/* We use char because int might match the return type of a gcc2
22382 builtin and then its argument prototype would still apply. */
22383char remove ();
22384int
22385main ()
22386{
22387remove ();
22388 ;
22389 return 0;
22390}
22391_ACEOF
22392rm -f conftest.$ac_objext conftest$ac_exeext
22393if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22394 (eval $ac_link) 2>&5
22395 ac_status=$?
22396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22397 (exit $ac_status); } &&
22398 { ac_try='test -s conftest$ac_exeext'
22399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22400 (eval $ac_try) 2>&5
22401 ac_status=$?
22402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22403 (exit $ac_status); }; }; then
22404 ac_cv_lib_posix_remove=yes
22405else
22406 echo "$as_me: failed program was:" >&5
22407sed 's/^/| /' conftest.$ac_ext >&5
22408
22409ac_cv_lib_posix_remove=no
22410fi
22411rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22412LIBS=$ac_check_lib_save_LIBS
22413fi
22414echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22415echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22416if test $ac_cv_lib_posix_remove = yes; then
22417 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22418fi
22419
22420 fi
22421
22422 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22423 echo "$as_me:$LINENO: checking for shmat" >&5
22424echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22425if test "${ac_cv_func_shmat+set}" = set; then
22426 echo $ECHO_N "(cached) $ECHO_C" >&6
22427else
22428 cat >conftest.$ac_ext <<_ACEOF
22429#line $LINENO "configure"
22430/* confdefs.h. */
22431_ACEOF
22432cat confdefs.h >>conftest.$ac_ext
22433cat >>conftest.$ac_ext <<_ACEOF
22434/* end confdefs.h. */
22435/* System header to define __stub macros and hopefully few prototypes,
22436 which can conflict with char shmat (); below.
22437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22438 <limits.h> exists even on freestanding compilers. */
22439#ifdef __STDC__
22440# include <limits.h>
22441#else
22442# include <assert.h>
22443#endif
22444/* Override any gcc2 internal prototype to avoid an error. */
22445#ifdef __cplusplus
22446extern "C"
22447{
22448#endif
22449/* We use char because int might match the return type of a gcc2
22450 builtin and then its argument prototype would still apply. */
22451char shmat ();
22452/* The GNU C library defines this for functions which it implements
22453 to always fail with ENOSYS. Some functions are actually named
22454 something starting with __ and the normal name is an alias. */
22455#if defined (__stub_shmat) || defined (__stub___shmat)
22456choke me
22457#else
22458char (*f) () = shmat;
22459#endif
22460#ifdef __cplusplus
22461}
22462#endif
22463
22464int
22465main ()
22466{
22467return f != shmat;
22468 ;
22469 return 0;
22470}
22471_ACEOF
22472rm -f conftest.$ac_objext conftest$ac_exeext
22473if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22474 (eval $ac_link) 2>&5
22475 ac_status=$?
22476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22477 (exit $ac_status); } &&
22478 { ac_try='test -s conftest$ac_exeext'
22479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22480 (eval $ac_try) 2>&5
22481 ac_status=$?
22482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22483 (exit $ac_status); }; }; then
22484 ac_cv_func_shmat=yes
22485else
22486 echo "$as_me: failed program was:" >&5
22487sed 's/^/| /' conftest.$ac_ext >&5
22488
22489ac_cv_func_shmat=no
22490fi
22491rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22492fi
22493echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22494echo "${ECHO_T}$ac_cv_func_shmat" >&6
22495
22496 if test $ac_cv_func_shmat = no; then
22497 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22498echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22499if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22500 echo $ECHO_N "(cached) $ECHO_C" >&6
22501else
22502 ac_check_lib_save_LIBS=$LIBS
22503LIBS="-lipc $LIBS"
22504cat >conftest.$ac_ext <<_ACEOF
22505#line $LINENO "configure"
22506/* confdefs.h. */
22507_ACEOF
22508cat confdefs.h >>conftest.$ac_ext
22509cat >>conftest.$ac_ext <<_ACEOF
22510/* end confdefs.h. */
22511
22512/* Override any gcc2 internal prototype to avoid an error. */
22513#ifdef __cplusplus
22514extern "C"
22515#endif
22516/* We use char because int might match the return type of a gcc2
22517 builtin and then its argument prototype would still apply. */
22518char shmat ();
22519int
22520main ()
22521{
22522shmat ();
22523 ;
22524 return 0;
22525}
22526_ACEOF
22527rm -f conftest.$ac_objext conftest$ac_exeext
22528if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22529 (eval $ac_link) 2>&5
22530 ac_status=$?
22531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22532 (exit $ac_status); } &&
22533 { ac_try='test -s conftest$ac_exeext'
22534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22535 (eval $ac_try) 2>&5
22536 ac_status=$?
22537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22538 (exit $ac_status); }; }; then
22539 ac_cv_lib_ipc_shmat=yes
22540else
22541 echo "$as_me: failed program was:" >&5
22542sed 's/^/| /' conftest.$ac_ext >&5
22543
22544ac_cv_lib_ipc_shmat=no
22545fi
22546rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22547LIBS=$ac_check_lib_save_LIBS
22548fi
22549echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22550echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22551if test $ac_cv_lib_ipc_shmat = yes; then
22552 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22553fi
22554
22555 fi
22556 fi
22557
22558 # Check for libraries that X11R6 Xt/Xaw programs need.
22559 ac_save_LDFLAGS=$LDFLAGS
22560 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22561 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22562 # check for ICE first), but we must link in the order -lSM -lICE or
22563 # we get undefined symbols. So assume we have SM if we have ICE.
22564 # These have to be linked with before -lX11, unlike the other
22565 # libraries we check for below, so use a different variable.
22566 # John Interrante, Karl Berry
22567 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22568echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22569if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22570 echo $ECHO_N "(cached) $ECHO_C" >&6
22571else
22572 ac_check_lib_save_LIBS=$LIBS
22573LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22574cat >conftest.$ac_ext <<_ACEOF
22575#line $LINENO "configure"
22576/* confdefs.h. */
22577_ACEOF
22578cat confdefs.h >>conftest.$ac_ext
22579cat >>conftest.$ac_ext <<_ACEOF
22580/* end confdefs.h. */
22581
22582/* Override any gcc2 internal prototype to avoid an error. */
22583#ifdef __cplusplus
22584extern "C"
22585#endif
22586/* We use char because int might match the return type of a gcc2
22587 builtin and then its argument prototype would still apply. */
22588char IceConnectionNumber ();
22589int
22590main ()
22591{
22592IceConnectionNumber ();
22593 ;
22594 return 0;
22595}
22596_ACEOF
22597rm -f conftest.$ac_objext conftest$ac_exeext
22598if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22599 (eval $ac_link) 2>&5
22600 ac_status=$?
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); } &&
22603 { ac_try='test -s conftest$ac_exeext'
22604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22605 (eval $ac_try) 2>&5
22606 ac_status=$?
22607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22608 (exit $ac_status); }; }; then
22609 ac_cv_lib_ICE_IceConnectionNumber=yes
22610else
22611 echo "$as_me: failed program was:" >&5
22612sed 's/^/| /' conftest.$ac_ext >&5
22613
22614ac_cv_lib_ICE_IceConnectionNumber=no
22615fi
22616rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22617LIBS=$ac_check_lib_save_LIBS
22618fi
22619echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22620echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22621if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22622 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22623fi
22624
22625 LDFLAGS=$ac_save_LDFLAGS
22626
22627fi
22628
22629
22630 if test "$no_x" = "yes"; then
22631 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22632echo "$as_me: error: X11 not found" >&2;}
22633 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22634 fi
22635
22636 GUI_TK_LIBRARY="$X_LIBS"
22637 TOOLKIT_INCLUDE="$X_CFLAGS"
22638 AFMINSTALL=afminstall
22639 COMPILED_X_PROGRAM=0
22640
22641 if test "$wxUSE_NANOX" = "yes"; then
22642 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22643echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22644 if test "x$MICROWIN" = x ; then
22645 echo "$as_me:$LINENO: result: not found" >&5
22646echo "${ECHO_T}not found" >&6
22647 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22648echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22649 { (exit 1); exit 1; }; }
22650 else
22651 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22652echo "${ECHO_T}$MICROWIN" >&6
22653 cat >>confdefs.h <<\_ACEOF
22654#define wxUSE_NANOX 1
22655_ACEOF
22656
22657 fi
22658 fi
22659
22660 xpm_link=
22661 echo "$as_me:$LINENO: checking for Xpm library" >&5
22662echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22663
22664ac_find_libraries=
22665for ac_dir in $SEARCH_LIB /usr/lib;
22666 do
22667 for ac_extension in a so sl dylib; do
22668 if test -f "$ac_dir/libXpm.$ac_extension"; then
22669 ac_find_libraries=$ac_dir
22670 break 2
22671 fi
22672 done
22673 done
22674
22675 if test "$ac_find_libraries" != "" ; then
22676
22677 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22678 result=$?
22679 if test $result = 0; then
22680 ac_path_to_link=""
22681 else
22682 ac_path_to_link=" -L$ac_find_libraries"
22683 fi
22684
22685 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22686 xpm_link=" -lXpm"
22687 cat >>confdefs.h <<\_ACEOF
22688#define wxHAVE_LIB_XPM 1
22689_ACEOF
22690
22691 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22692echo "${ECHO_T}found at $ac_find_libraries" >&6
22693 else
22694 cat >conftest.$ac_ext <<_ACEOF
22695#line $LINENO "configure"
22696/* confdefs.h. */
22697_ACEOF
22698cat confdefs.h >>conftest.$ac_ext
22699cat >>conftest.$ac_ext <<_ACEOF
22700/* end confdefs.h. */
22701
22702 #include <X11/xpm.h>
22703
22704int
22705main ()
22706{
22707
22708 int version;
22709 version = XpmLibraryVersion();
22710
22711 ;
22712 return 0;
22713}
22714_ACEOF
22715rm -f conftest.$ac_objext
22716if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22717 (eval $ac_compile) 2>&5
22718 ac_status=$?
22719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22720 (exit $ac_status); } &&
22721 { ac_try='test -s conftest.$ac_objext'
22722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22723 (eval $ac_try) 2>&5
22724 ac_status=$?
22725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22726 (exit $ac_status); }; }; then
22727
22728 xpm_link=" -lXpm"
22729 cat >>confdefs.h <<\_ACEOF
22730#define wxHAVE_LIB_XPM 1
22731_ACEOF
22732
22733 echo "$as_me:$LINENO: result: found in default search path" >&5
22734echo "${ECHO_T}found in default search path" >&6
22735 COMPILED_X_PROGRAM=0
22736
22737else
22738 echo "$as_me: failed program was:" >&5
22739sed 's/^/| /' conftest.$ac_ext >&5
22740
22741
22742 echo "$as_me:$LINENO: result: no" >&5
22743echo "${ECHO_T}no" >&6
22744 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22745echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22746
22747
22748fi
22749rm -f conftest.$ac_objext conftest.$ac_ext
22750 fi
22751
22752 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22753echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22754if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22755 echo $ECHO_N "(cached) $ECHO_C" >&6
22756else
22757 ac_check_lib_save_LIBS=$LIBS
22758LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22759cat >conftest.$ac_ext <<_ACEOF
22760#line $LINENO "configure"
22761/* confdefs.h. */
22762_ACEOF
22763cat confdefs.h >>conftest.$ac_ext
22764cat >>conftest.$ac_ext <<_ACEOF
22765/* end confdefs.h. */
22766
22767/* Override any gcc2 internal prototype to avoid an error. */
22768#ifdef __cplusplus
22769extern "C"
22770#endif
22771/* We use char because int might match the return type of a gcc2
22772 builtin and then its argument prototype would still apply. */
22773char XShapeQueryExtension ();
22774int
22775main ()
22776{
22777XShapeQueryExtension ();
22778 ;
22779 return 0;
22780}
22781_ACEOF
22782rm -f conftest.$ac_objext conftest$ac_exeext
22783if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22784 (eval $ac_link) 2>&5
22785 ac_status=$?
22786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22787 (exit $ac_status); } &&
22788 { ac_try='test -s conftest$ac_exeext'
22789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22790 (eval $ac_try) 2>&5
22791 ac_status=$?
22792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22793 (exit $ac_status); }; }; then
22794 ac_cv_lib_Xext_XShapeQueryExtension=yes
22795else
22796 echo "$as_me: failed program was:" >&5
22797sed 's/^/| /' conftest.$ac_ext >&5
22798
22799ac_cv_lib_Xext_XShapeQueryExtension=no
22800fi
22801rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22802LIBS=$ac_check_lib_save_LIBS
22803fi
22804echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22805echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22806if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22807
22808 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22809 wxHAVE_XEXT_LIB=1
22810
22811fi
22812
22813
22814 if test "$wxUSE_UNICODE" = "yes"; then
22815
22816 succeeded=no
22817
22818 if test -z "$PKG_CONFIG"; then
22819 # Extract the first word of "pkg-config", so it can be a program name with args.
22820set dummy pkg-config; ac_word=$2
22821echo "$as_me:$LINENO: checking for $ac_word" >&5
22822echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22823if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22824 echo $ECHO_N "(cached) $ECHO_C" >&6
22825else
22826 case $PKG_CONFIG in
22827 [\\/]* | ?:[\\/]*)
22828 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22829 ;;
22830 *)
22831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22832for as_dir in $PATH
22833do
22834 IFS=$as_save_IFS
22835 test -z "$as_dir" && as_dir=.
22836 for ac_exec_ext in '' $ac_executable_extensions; do
22837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22838 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22840 break 2
22841 fi
22842done
22843done
22844
22845 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22846 ;;
22847esac
22848fi
22849PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22850
22851if test -n "$PKG_CONFIG"; then
22852 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22853echo "${ECHO_T}$PKG_CONFIG" >&6
22854else
22855 echo "$as_me:$LINENO: result: no" >&5
22856echo "${ECHO_T}no" >&6
22857fi
22858
22859 fi
22860
22861 if test "$PKG_CONFIG" = "no" ; then
22862 echo "*** The pkg-config script could not be found. Make sure it is"
22863 echo "*** in your path, or set the PKG_CONFIG environment variable"
22864 echo "*** to the full path to pkg-config."
22865 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22866 else
22867 PKG_CONFIG_MIN_VERSION=0.9.0
22868 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22869 echo "$as_me:$LINENO: checking for pangox" >&5
22870echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22871
22872 if $PKG_CONFIG --exists "pangox" ; then
22873 echo "$as_me:$LINENO: result: yes" >&5
22874echo "${ECHO_T}yes" >&6
22875 succeeded=yes
22876
22877 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22878echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22879 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22880 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22881echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22882
22883 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22884echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22885 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22886 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22887echo "${ECHO_T}$PANGOX_LIBS" >&6
22888 else
22889 PANGOX_CFLAGS=""
22890 PANGOX_LIBS=""
22891 ## If we have a custom action on failure, don't print errors, but
22892 ## do set a variable so people can do so.
22893 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22894
22895 fi
22896
22897
22898
22899 else
22900 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22901 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22902 fi
22903 fi
22904
22905 if test $succeeded = yes; then
22906
22907 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22908 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22909
22910 else
22911
22912 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22913echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22914 { (exit 1); exit 1; }; }
22915
22916
22917 fi
22918
22919
22920 succeeded=no
22921
22922 if test -z "$PKG_CONFIG"; then
22923 # Extract the first word of "pkg-config", so it can be a program name with args.
22924set dummy pkg-config; ac_word=$2
22925echo "$as_me:$LINENO: checking for $ac_word" >&5
22926echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22927if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22928 echo $ECHO_N "(cached) $ECHO_C" >&6
22929else
22930 case $PKG_CONFIG in
22931 [\\/]* | ?:[\\/]*)
22932 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22933 ;;
22934 *)
22935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22936for as_dir in $PATH
22937do
22938 IFS=$as_save_IFS
22939 test -z "$as_dir" && as_dir=.
22940 for ac_exec_ext in '' $ac_executable_extensions; do
22941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22942 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22944 break 2
22945 fi
22946done
22947done
22948
22949 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22950 ;;
22951esac
22952fi
22953PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22954
22955if test -n "$PKG_CONFIG"; then
22956 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22957echo "${ECHO_T}$PKG_CONFIG" >&6
22958else
22959 echo "$as_me:$LINENO: result: no" >&5
22960echo "${ECHO_T}no" >&6
22961fi
22962
22963 fi
22964
22965 if test "$PKG_CONFIG" = "no" ; then
22966 echo "*** The pkg-config script could not be found. Make sure it is"
22967 echo "*** in your path, or set the PKG_CONFIG environment variable"
22968 echo "*** to the full path to pkg-config."
22969 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22970 else
22971 PKG_CONFIG_MIN_VERSION=0.9.0
22972 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22973 echo "$as_me:$LINENO: checking for pangoft2" >&5
22974echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22975
22976 if $PKG_CONFIG --exists "pangoft2" ; then
22977 echo "$as_me:$LINENO: result: yes" >&5
22978echo "${ECHO_T}yes" >&6
22979 succeeded=yes
22980
22981 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22982echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22983 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22984 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22985echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22986
22987 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22988echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22989 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22990 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22991echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22992 else
22993 PANGOFT2_CFLAGS=""
22994 PANGOFT2_LIBS=""
22995 ## If we have a custom action on failure, don't print errors, but
22996 ## do set a variable so people can do so.
22997 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22998
22999 fi
23000
23001
23002
23003 else
23004 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23005 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23006 fi
23007 fi
23008
23009 if test $succeeded = yes; then
23010
23011 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
23012 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23013
23014 else
23015
23016 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23017echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23018 wxUSE_PRINTING_ARCHITECTURE="no"
23019
23020
23021 fi
23022
23023
23024 succeeded=no
23025
23026 if test -z "$PKG_CONFIG"; then
23027 # Extract the first word of "pkg-config", so it can be a program name with args.
23028set dummy pkg-config; ac_word=$2
23029echo "$as_me:$LINENO: checking for $ac_word" >&5
23030echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23031if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23032 echo $ECHO_N "(cached) $ECHO_C" >&6
23033else
23034 case $PKG_CONFIG in
23035 [\\/]* | ?:[\\/]*)
23036 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23037 ;;
23038 *)
23039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23040for as_dir in $PATH
23041do
23042 IFS=$as_save_IFS
23043 test -z "$as_dir" && as_dir=.
23044 for ac_exec_ext in '' $ac_executable_extensions; do
23045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23046 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23048 break 2
23049 fi
23050done
23051done
23052
23053 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23054 ;;
23055esac
23056fi
23057PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23058
23059if test -n "$PKG_CONFIG"; then
23060 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23061echo "${ECHO_T}$PKG_CONFIG" >&6
23062else
23063 echo "$as_me:$LINENO: result: no" >&5
23064echo "${ECHO_T}no" >&6
23065fi
23066
23067 fi
23068
23069 if test "$PKG_CONFIG" = "no" ; then
23070 echo "*** The pkg-config script could not be found. Make sure it is"
23071 echo "*** in your path, or set the PKG_CONFIG environment variable"
23072 echo "*** to the full path to pkg-config."
23073 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23074 else
23075 PKG_CONFIG_MIN_VERSION=0.9.0
23076 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23077 echo "$as_me:$LINENO: checking for pangoxft" >&5
23078echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
23079
23080 if $PKG_CONFIG --exists "pangoxft" ; then
23081 echo "$as_me:$LINENO: result: yes" >&5
23082echo "${ECHO_T}yes" >&6
23083 succeeded=yes
23084
23085 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
23086echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
23087 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
23088 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
23089echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
23090
23091 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
23092echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
23093 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
23094 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
23095echo "${ECHO_T}$PANGOXFT_LIBS" >&6
23096 else
23097 PANGOXFT_CFLAGS=""
23098 PANGOXFT_LIBS=""
23099 ## If we have a custom action on failure, don't print errors, but
23100 ## do set a variable so people can do so.
23101 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
23102
23103 fi
23104
23105
23106
23107 else
23108 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23109 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23110 fi
23111 fi
23112
23113 if test $succeeded = yes; then
23114
23115 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
23116 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
23117
23118 else
23119
23120 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
23121echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
23122
23123
23124 fi
23125
23126 fi
23127
23128 wxUSE_UNIVERSAL="yes"
23129
23130 if test "$wxUSE_NANOX" = "yes"; then
23131 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
23132 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"
23133 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
23134 else
23135 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
23136 fi
23137
23138 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
23139 TOOLKIT=X11
23140 GUIDIST=X11_DIST
23141 fi
23142
23143 if test "$wxUSE_MOTIF" = 1; then
23144 if test "$no_x" = yes; then
23145 # Not all programs may use this symbol, but it does not hurt to define it.
23146
23147cat >>confdefs.h <<\_ACEOF
23148#define X_DISPLAY_MISSING 1
23149_ACEOF
23150
23151 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
23152else
23153 if test -n "$x_includes"; then
23154 X_CFLAGS="$X_CFLAGS -I$x_includes"
23155 fi
23156
23157 # It would also be nice to do this for all -L options, not just this one.
23158 if test -n "$x_libraries"; then
23159 X_LIBS="$X_LIBS -L$x_libraries"
23160 # For Solaris; some versions of Sun CC require a space after -R and
23161 # others require no space. Words are not sufficient . . . .
23162 case `(uname -sr) 2>/dev/null` in
23163 "SunOS 5"*)
23164 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23165echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23166 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23167 cat >conftest.$ac_ext <<_ACEOF
23168#line $LINENO "configure"
23169/* confdefs.h. */
23170_ACEOF
23171cat confdefs.h >>conftest.$ac_ext
23172cat >>conftest.$ac_ext <<_ACEOF
23173/* end confdefs.h. */
23174
23175int
23176main ()
23177{
23178
23179 ;
23180 return 0;
23181}
23182_ACEOF
23183rm -f conftest.$ac_objext conftest$ac_exeext
23184if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23185 (eval $ac_link) 2>&5
23186 ac_status=$?
23187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23188 (exit $ac_status); } &&
23189 { ac_try='test -s conftest$ac_exeext'
23190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23191 (eval $ac_try) 2>&5
23192 ac_status=$?
23193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23194 (exit $ac_status); }; }; then
23195 ac_R_nospace=yes
23196else
23197 echo "$as_me: failed program was:" >&5
23198sed 's/^/| /' conftest.$ac_ext >&5
23199
23200ac_R_nospace=no
23201fi
23202rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23203 if test $ac_R_nospace = yes; then
23204 echo "$as_me:$LINENO: result: no" >&5
23205echo "${ECHO_T}no" >&6
23206 X_LIBS="$X_LIBS -R$x_libraries"
23207 else
23208 LIBS="$ac_xsave_LIBS -R $x_libraries"
23209 cat >conftest.$ac_ext <<_ACEOF
23210#line $LINENO "configure"
23211/* confdefs.h. */
23212_ACEOF
23213cat confdefs.h >>conftest.$ac_ext
23214cat >>conftest.$ac_ext <<_ACEOF
23215/* end confdefs.h. */
23216
23217int
23218main ()
23219{
23220
23221 ;
23222 return 0;
23223}
23224_ACEOF
23225rm -f conftest.$ac_objext conftest$ac_exeext
23226if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23227 (eval $ac_link) 2>&5
23228 ac_status=$?
23229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23230 (exit $ac_status); } &&
23231 { ac_try='test -s conftest$ac_exeext'
23232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23233 (eval $ac_try) 2>&5
23234 ac_status=$?
23235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23236 (exit $ac_status); }; }; then
23237 ac_R_space=yes
23238else
23239 echo "$as_me: failed program was:" >&5
23240sed 's/^/| /' conftest.$ac_ext >&5
23241
23242ac_R_space=no
23243fi
23244rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23245 if test $ac_R_space = yes; then
23246 echo "$as_me:$LINENO: result: yes" >&5
23247echo "${ECHO_T}yes" >&6
23248 X_LIBS="$X_LIBS -R $x_libraries"
23249 else
23250 echo "$as_me:$LINENO: result: neither works" >&5
23251echo "${ECHO_T}neither works" >&6
23252 fi
23253 fi
23254 LIBS=$ac_xsave_LIBS
23255 esac
23256 fi
23257
23258 # Check for system-dependent libraries X programs must link with.
23259 # Do this before checking for the system-independent R6 libraries
23260 # (-lICE), since we may need -lsocket or whatever for X linking.
23261
23262 if test "$ISC" = yes; then
23263 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23264 else
23265 # Martyn Johnson says this is needed for Ultrix, if the X
23266 # libraries were built with DECnet support. And Karl Berry says
23267 # the Alpha needs dnet_stub (dnet does not exist).
23268 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23269 cat >conftest.$ac_ext <<_ACEOF
23270#line $LINENO "configure"
23271/* confdefs.h. */
23272_ACEOF
23273cat confdefs.h >>conftest.$ac_ext
23274cat >>conftest.$ac_ext <<_ACEOF
23275/* end confdefs.h. */
23276
23277/* Override any gcc2 internal prototype to avoid an error. */
23278#ifdef __cplusplus
23279extern "C"
23280#endif
23281/* We use char because int might match the return type of a gcc2
23282 builtin and then its argument prototype would still apply. */
23283char XOpenDisplay ();
23284int
23285main ()
23286{
23287XOpenDisplay ();
23288 ;
23289 return 0;
23290}
23291_ACEOF
23292rm -f conftest.$ac_objext conftest$ac_exeext
23293if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23294 (eval $ac_link) 2>&5
23295 ac_status=$?
23296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23297 (exit $ac_status); } &&
23298 { ac_try='test -s conftest$ac_exeext'
23299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23300 (eval $ac_try) 2>&5
23301 ac_status=$?
23302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23303 (exit $ac_status); }; }; then
23304 :
23305else
23306 echo "$as_me: failed program was:" >&5
23307sed 's/^/| /' conftest.$ac_ext >&5
23308
23309echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23310echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23311if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23312 echo $ECHO_N "(cached) $ECHO_C" >&6
23313else
23314 ac_check_lib_save_LIBS=$LIBS
23315LIBS="-ldnet $LIBS"
23316cat >conftest.$ac_ext <<_ACEOF
23317#line $LINENO "configure"
23318/* confdefs.h. */
23319_ACEOF
23320cat confdefs.h >>conftest.$ac_ext
23321cat >>conftest.$ac_ext <<_ACEOF
23322/* end confdefs.h. */
23323
23324/* Override any gcc2 internal prototype to avoid an error. */
23325#ifdef __cplusplus
23326extern "C"
23327#endif
23328/* We use char because int might match the return type of a gcc2
23329 builtin and then its argument prototype would still apply. */
23330char dnet_ntoa ();
23331int
23332main ()
23333{
23334dnet_ntoa ();
23335 ;
23336 return 0;
23337}
23338_ACEOF
23339rm -f conftest.$ac_objext conftest$ac_exeext
23340if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23341 (eval $ac_link) 2>&5
23342 ac_status=$?
23343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23344 (exit $ac_status); } &&
23345 { ac_try='test -s conftest$ac_exeext'
23346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23347 (eval $ac_try) 2>&5
23348 ac_status=$?
23349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350 (exit $ac_status); }; }; then
23351 ac_cv_lib_dnet_dnet_ntoa=yes
23352else
23353 echo "$as_me: failed program was:" >&5
23354sed 's/^/| /' conftest.$ac_ext >&5
23355
23356ac_cv_lib_dnet_dnet_ntoa=no
23357fi
23358rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23359LIBS=$ac_check_lib_save_LIBS
23360fi
23361echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23362echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23363if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23364 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23365fi
23366
23367 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23368 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23369echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23370if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23371 echo $ECHO_N "(cached) $ECHO_C" >&6
23372else
23373 ac_check_lib_save_LIBS=$LIBS
23374LIBS="-ldnet_stub $LIBS"
23375cat >conftest.$ac_ext <<_ACEOF
23376#line $LINENO "configure"
23377/* confdefs.h. */
23378_ACEOF
23379cat confdefs.h >>conftest.$ac_ext
23380cat >>conftest.$ac_ext <<_ACEOF
23381/* end confdefs.h. */
23382
23383/* Override any gcc2 internal prototype to avoid an error. */
23384#ifdef __cplusplus
23385extern "C"
23386#endif
23387/* We use char because int might match the return type of a gcc2
23388 builtin and then its argument prototype would still apply. */
23389char dnet_ntoa ();
23390int
23391main ()
23392{
23393dnet_ntoa ();
23394 ;
23395 return 0;
23396}
23397_ACEOF
23398rm -f conftest.$ac_objext conftest$ac_exeext
23399if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23400 (eval $ac_link) 2>&5
23401 ac_status=$?
23402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23403 (exit $ac_status); } &&
23404 { ac_try='test -s conftest$ac_exeext'
23405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23406 (eval $ac_try) 2>&5
23407 ac_status=$?
23408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23409 (exit $ac_status); }; }; then
23410 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23411else
23412 echo "$as_me: failed program was:" >&5
23413sed 's/^/| /' conftest.$ac_ext >&5
23414
23415ac_cv_lib_dnet_stub_dnet_ntoa=no
23416fi
23417rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23418LIBS=$ac_check_lib_save_LIBS
23419fi
23420echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23421echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23422if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23423 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23424fi
23425
23426 fi
23427fi
23428rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23429 LIBS="$ac_xsave_LIBS"
23430
23431 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23432 # to get the SysV transport functions.
23433 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23434 # needs -lnsl.
23435 # The nsl library prevents programs from opening the X display
23436 # on Irix 5.2, according to T.E. Dickey.
23437 # The functions gethostbyname, getservbyname, and inet_addr are
23438 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23439 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23440echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23441if test "${ac_cv_func_gethostbyname+set}" = set; then
23442 echo $ECHO_N "(cached) $ECHO_C" >&6
23443else
23444 cat >conftest.$ac_ext <<_ACEOF
23445#line $LINENO "configure"
23446/* confdefs.h. */
23447_ACEOF
23448cat confdefs.h >>conftest.$ac_ext
23449cat >>conftest.$ac_ext <<_ACEOF
23450/* end confdefs.h. */
23451/* System header to define __stub macros and hopefully few prototypes,
23452 which can conflict with char gethostbyname (); below.
23453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23454 <limits.h> exists even on freestanding compilers. */
23455#ifdef __STDC__
23456# include <limits.h>
23457#else
23458# include <assert.h>
23459#endif
23460/* Override any gcc2 internal prototype to avoid an error. */
23461#ifdef __cplusplus
23462extern "C"
23463{
23464#endif
23465/* We use char because int might match the return type of a gcc2
23466 builtin and then its argument prototype would still apply. */
23467char gethostbyname ();
23468/* The GNU C library defines this for functions which it implements
23469 to always fail with ENOSYS. Some functions are actually named
23470 something starting with __ and the normal name is an alias. */
23471#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23472choke me
23473#else
23474char (*f) () = gethostbyname;
23475#endif
23476#ifdef __cplusplus
23477}
23478#endif
23479
23480int
23481main ()
23482{
23483return f != gethostbyname;
23484 ;
23485 return 0;
23486}
23487_ACEOF
23488rm -f conftest.$ac_objext conftest$ac_exeext
23489if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23490 (eval $ac_link) 2>&5
23491 ac_status=$?
23492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23493 (exit $ac_status); } &&
23494 { ac_try='test -s conftest$ac_exeext'
23495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23496 (eval $ac_try) 2>&5
23497 ac_status=$?
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); }; }; then
23500 ac_cv_func_gethostbyname=yes
23501else
23502 echo "$as_me: failed program was:" >&5
23503sed 's/^/| /' conftest.$ac_ext >&5
23504
23505ac_cv_func_gethostbyname=no
23506fi
23507rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23508fi
23509echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23510echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23511
23512 if test $ac_cv_func_gethostbyname = no; then
23513 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23514echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23515if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23516 echo $ECHO_N "(cached) $ECHO_C" >&6
23517else
23518 ac_check_lib_save_LIBS=$LIBS
23519LIBS="-lnsl $LIBS"
23520cat >conftest.$ac_ext <<_ACEOF
23521#line $LINENO "configure"
23522/* confdefs.h. */
23523_ACEOF
23524cat confdefs.h >>conftest.$ac_ext
23525cat >>conftest.$ac_ext <<_ACEOF
23526/* end confdefs.h. */
23527
23528/* Override any gcc2 internal prototype to avoid an error. */
23529#ifdef __cplusplus
23530extern "C"
23531#endif
23532/* We use char because int might match the return type of a gcc2
23533 builtin and then its argument prototype would still apply. */
23534char gethostbyname ();
23535int
23536main ()
23537{
23538gethostbyname ();
23539 ;
23540 return 0;
23541}
23542_ACEOF
23543rm -f conftest.$ac_objext conftest$ac_exeext
23544if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23545 (eval $ac_link) 2>&5
23546 ac_status=$?
23547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23548 (exit $ac_status); } &&
23549 { ac_try='test -s conftest$ac_exeext'
23550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23551 (eval $ac_try) 2>&5
23552 ac_status=$?
23553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23554 (exit $ac_status); }; }; then
23555 ac_cv_lib_nsl_gethostbyname=yes
23556else
23557 echo "$as_me: failed program was:" >&5
23558sed 's/^/| /' conftest.$ac_ext >&5
23559
23560ac_cv_lib_nsl_gethostbyname=no
23561fi
23562rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23563LIBS=$ac_check_lib_save_LIBS
23564fi
23565echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23566echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23567if test $ac_cv_lib_nsl_gethostbyname = yes; then
23568 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23569fi
23570
23571 if test $ac_cv_lib_nsl_gethostbyname = no; then
23572 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23573echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23574if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23575 echo $ECHO_N "(cached) $ECHO_C" >&6
23576else
23577 ac_check_lib_save_LIBS=$LIBS
23578LIBS="-lbsd $LIBS"
23579cat >conftest.$ac_ext <<_ACEOF
23580#line $LINENO "configure"
23581/* confdefs.h. */
23582_ACEOF
23583cat confdefs.h >>conftest.$ac_ext
23584cat >>conftest.$ac_ext <<_ACEOF
23585/* end confdefs.h. */
23586
23587/* Override any gcc2 internal prototype to avoid an error. */
23588#ifdef __cplusplus
23589extern "C"
23590#endif
23591/* We use char because int might match the return type of a gcc2
23592 builtin and then its argument prototype would still apply. */
23593char gethostbyname ();
23594int
23595main ()
23596{
23597gethostbyname ();
23598 ;
23599 return 0;
23600}
23601_ACEOF
23602rm -f conftest.$ac_objext conftest$ac_exeext
23603if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23604 (eval $ac_link) 2>&5
23605 ac_status=$?
23606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23607 (exit $ac_status); } &&
23608 { ac_try='test -s conftest$ac_exeext'
23609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23610 (eval $ac_try) 2>&5
23611 ac_status=$?
23612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613 (exit $ac_status); }; }; then
23614 ac_cv_lib_bsd_gethostbyname=yes
23615else
23616 echo "$as_me: failed program was:" >&5
23617sed 's/^/| /' conftest.$ac_ext >&5
23618
23619ac_cv_lib_bsd_gethostbyname=no
23620fi
23621rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23622LIBS=$ac_check_lib_save_LIBS
23623fi
23624echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23625echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23626if test $ac_cv_lib_bsd_gethostbyname = yes; then
23627 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23628fi
23629
23630 fi
23631 fi
23632
23633 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23634 # socket/setsockopt and other routines are undefined under SCO ODT
23635 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23636 # on later versions), says Simon Leinen: it contains gethostby*
23637 # variants that don't use the name server (or something). -lsocket
23638 # must be given before -lnsl if both are needed. We assume that
23639 # if connect needs -lnsl, so does gethostbyname.
23640 echo "$as_me:$LINENO: checking for connect" >&5
23641echo $ECHO_N "checking for connect... $ECHO_C" >&6
23642if test "${ac_cv_func_connect+set}" = set; then
23643 echo $ECHO_N "(cached) $ECHO_C" >&6
23644else
23645 cat >conftest.$ac_ext <<_ACEOF
23646#line $LINENO "configure"
23647/* confdefs.h. */
23648_ACEOF
23649cat confdefs.h >>conftest.$ac_ext
23650cat >>conftest.$ac_ext <<_ACEOF
23651/* end confdefs.h. */
23652/* System header to define __stub macros and hopefully few prototypes,
23653 which can conflict with char connect (); below.
23654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23655 <limits.h> exists even on freestanding compilers. */
23656#ifdef __STDC__
23657# include <limits.h>
23658#else
23659# include <assert.h>
23660#endif
23661/* Override any gcc2 internal prototype to avoid an error. */
23662#ifdef __cplusplus
23663extern "C"
23664{
23665#endif
23666/* We use char because int might match the return type of a gcc2
23667 builtin and then its argument prototype would still apply. */
23668char connect ();
23669/* The GNU C library defines this for functions which it implements
23670 to always fail with ENOSYS. Some functions are actually named
23671 something starting with __ and the normal name is an alias. */
23672#if defined (__stub_connect) || defined (__stub___connect)
23673choke me
23674#else
23675char (*f) () = connect;
23676#endif
23677#ifdef __cplusplus
23678}
23679#endif
23680
23681int
23682main ()
23683{
23684return f != connect;
23685 ;
23686 return 0;
23687}
23688_ACEOF
23689rm -f conftest.$ac_objext conftest$ac_exeext
23690if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23691 (eval $ac_link) 2>&5
23692 ac_status=$?
23693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23694 (exit $ac_status); } &&
23695 { ac_try='test -s conftest$ac_exeext'
23696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23697 (eval $ac_try) 2>&5
23698 ac_status=$?
23699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23700 (exit $ac_status); }; }; then
23701 ac_cv_func_connect=yes
23702else
23703 echo "$as_me: failed program was:" >&5
23704sed 's/^/| /' conftest.$ac_ext >&5
23705
23706ac_cv_func_connect=no
23707fi
23708rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23709fi
23710echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23711echo "${ECHO_T}$ac_cv_func_connect" >&6
23712
23713 if test $ac_cv_func_connect = no; then
23714 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23715echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23716if test "${ac_cv_lib_socket_connect+set}" = set; then
23717 echo $ECHO_N "(cached) $ECHO_C" >&6
23718else
23719 ac_check_lib_save_LIBS=$LIBS
23720LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23721cat >conftest.$ac_ext <<_ACEOF
23722#line $LINENO "configure"
23723/* confdefs.h. */
23724_ACEOF
23725cat confdefs.h >>conftest.$ac_ext
23726cat >>conftest.$ac_ext <<_ACEOF
23727/* end confdefs.h. */
23728
23729/* Override any gcc2 internal prototype to avoid an error. */
23730#ifdef __cplusplus
23731extern "C"
23732#endif
23733/* We use char because int might match the return type of a gcc2
23734 builtin and then its argument prototype would still apply. */
23735char connect ();
23736int
23737main ()
23738{
23739connect ();
23740 ;
23741 return 0;
23742}
23743_ACEOF
23744rm -f conftest.$ac_objext conftest$ac_exeext
23745if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23746 (eval $ac_link) 2>&5
23747 ac_status=$?
23748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23749 (exit $ac_status); } &&
23750 { ac_try='test -s conftest$ac_exeext'
23751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23752 (eval $ac_try) 2>&5
23753 ac_status=$?
23754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23755 (exit $ac_status); }; }; then
23756 ac_cv_lib_socket_connect=yes
23757else
23758 echo "$as_me: failed program was:" >&5
23759sed 's/^/| /' conftest.$ac_ext >&5
23760
23761ac_cv_lib_socket_connect=no
23762fi
23763rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23764LIBS=$ac_check_lib_save_LIBS
23765fi
23766echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23767echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23768if test $ac_cv_lib_socket_connect = yes; then
23769 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23770fi
23771
23772 fi
23773
23774 # Guillermo Gomez says -lposix is necessary on A/UX.
23775 echo "$as_me:$LINENO: checking for remove" >&5
23776echo $ECHO_N "checking for remove... $ECHO_C" >&6
23777if test "${ac_cv_func_remove+set}" = set; then
23778 echo $ECHO_N "(cached) $ECHO_C" >&6
23779else
23780 cat >conftest.$ac_ext <<_ACEOF
23781#line $LINENO "configure"
23782/* confdefs.h. */
23783_ACEOF
23784cat confdefs.h >>conftest.$ac_ext
23785cat >>conftest.$ac_ext <<_ACEOF
23786/* end confdefs.h. */
23787/* System header to define __stub macros and hopefully few prototypes,
23788 which can conflict with char remove (); below.
23789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23790 <limits.h> exists even on freestanding compilers. */
23791#ifdef __STDC__
23792# include <limits.h>
23793#else
23794# include <assert.h>
23795#endif
23796/* Override any gcc2 internal prototype to avoid an error. */
23797#ifdef __cplusplus
23798extern "C"
23799{
23800#endif
23801/* We use char because int might match the return type of a gcc2
23802 builtin and then its argument prototype would still apply. */
23803char remove ();
23804/* The GNU C library defines this for functions which it implements
23805 to always fail with ENOSYS. Some functions are actually named
23806 something starting with __ and the normal name is an alias. */
23807#if defined (__stub_remove) || defined (__stub___remove)
23808choke me
23809#else
23810char (*f) () = remove;
23811#endif
23812#ifdef __cplusplus
23813}
23814#endif
23815
23816int
23817main ()
23818{
23819return f != remove;
23820 ;
23821 return 0;
23822}
23823_ACEOF
23824rm -f conftest.$ac_objext conftest$ac_exeext
23825if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23826 (eval $ac_link) 2>&5
23827 ac_status=$?
23828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23829 (exit $ac_status); } &&
23830 { ac_try='test -s conftest$ac_exeext'
23831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23832 (eval $ac_try) 2>&5
23833 ac_status=$?
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); }; }; then
23836 ac_cv_func_remove=yes
23837else
23838 echo "$as_me: failed program was:" >&5
23839sed 's/^/| /' conftest.$ac_ext >&5
23840
23841ac_cv_func_remove=no
23842fi
23843rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23844fi
23845echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23846echo "${ECHO_T}$ac_cv_func_remove" >&6
23847
23848 if test $ac_cv_func_remove = no; then
23849 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23850echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23851if test "${ac_cv_lib_posix_remove+set}" = set; then
23852 echo $ECHO_N "(cached) $ECHO_C" >&6
23853else
23854 ac_check_lib_save_LIBS=$LIBS
23855LIBS="-lposix $LIBS"
23856cat >conftest.$ac_ext <<_ACEOF
23857#line $LINENO "configure"
23858/* confdefs.h. */
23859_ACEOF
23860cat confdefs.h >>conftest.$ac_ext
23861cat >>conftest.$ac_ext <<_ACEOF
23862/* end confdefs.h. */
23863
23864/* Override any gcc2 internal prototype to avoid an error. */
23865#ifdef __cplusplus
23866extern "C"
23867#endif
23868/* We use char because int might match the return type of a gcc2
23869 builtin and then its argument prototype would still apply. */
23870char remove ();
23871int
23872main ()
23873{
23874remove ();
23875 ;
23876 return 0;
23877}
23878_ACEOF
23879rm -f conftest.$ac_objext conftest$ac_exeext
23880if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23881 (eval $ac_link) 2>&5
23882 ac_status=$?
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); } &&
23885 { ac_try='test -s conftest$ac_exeext'
23886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23887 (eval $ac_try) 2>&5
23888 ac_status=$?
23889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23890 (exit $ac_status); }; }; then
23891 ac_cv_lib_posix_remove=yes
23892else
23893 echo "$as_me: failed program was:" >&5
23894sed 's/^/| /' conftest.$ac_ext >&5
23895
23896ac_cv_lib_posix_remove=no
23897fi
23898rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23899LIBS=$ac_check_lib_save_LIBS
23900fi
23901echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23902echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23903if test $ac_cv_lib_posix_remove = yes; then
23904 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23905fi
23906
23907 fi
23908
23909 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23910 echo "$as_me:$LINENO: checking for shmat" >&5
23911echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23912if test "${ac_cv_func_shmat+set}" = set; then
23913 echo $ECHO_N "(cached) $ECHO_C" >&6
23914else
23915 cat >conftest.$ac_ext <<_ACEOF
23916#line $LINENO "configure"
23917/* confdefs.h. */
23918_ACEOF
23919cat confdefs.h >>conftest.$ac_ext
23920cat >>conftest.$ac_ext <<_ACEOF
23921/* end confdefs.h. */
23922/* System header to define __stub macros and hopefully few prototypes,
23923 which can conflict with char shmat (); below.
23924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23925 <limits.h> exists even on freestanding compilers. */
23926#ifdef __STDC__
23927# include <limits.h>
23928#else
23929# include <assert.h>
23930#endif
23931/* Override any gcc2 internal prototype to avoid an error. */
23932#ifdef __cplusplus
23933extern "C"
23934{
23935#endif
23936/* We use char because int might match the return type of a gcc2
23937 builtin and then its argument prototype would still apply. */
23938char shmat ();
23939/* The GNU C library defines this for functions which it implements
23940 to always fail with ENOSYS. Some functions are actually named
23941 something starting with __ and the normal name is an alias. */
23942#if defined (__stub_shmat) || defined (__stub___shmat)
23943choke me
23944#else
23945char (*f) () = shmat;
23946#endif
23947#ifdef __cplusplus
23948}
23949#endif
23950
23951int
23952main ()
23953{
23954return f != shmat;
23955 ;
23956 return 0;
23957}
23958_ACEOF
23959rm -f conftest.$ac_objext conftest$ac_exeext
23960if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23961 (eval $ac_link) 2>&5
23962 ac_status=$?
23963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23964 (exit $ac_status); } &&
23965 { ac_try='test -s conftest$ac_exeext'
23966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23967 (eval $ac_try) 2>&5
23968 ac_status=$?
23969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23970 (exit $ac_status); }; }; then
23971 ac_cv_func_shmat=yes
23972else
23973 echo "$as_me: failed program was:" >&5
23974sed 's/^/| /' conftest.$ac_ext >&5
23975
23976ac_cv_func_shmat=no
23977fi
23978rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23979fi
23980echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23981echo "${ECHO_T}$ac_cv_func_shmat" >&6
23982
23983 if test $ac_cv_func_shmat = no; then
23984 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23985echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23986if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23987 echo $ECHO_N "(cached) $ECHO_C" >&6
23988else
23989 ac_check_lib_save_LIBS=$LIBS
23990LIBS="-lipc $LIBS"
23991cat >conftest.$ac_ext <<_ACEOF
23992#line $LINENO "configure"
23993/* confdefs.h. */
23994_ACEOF
23995cat confdefs.h >>conftest.$ac_ext
23996cat >>conftest.$ac_ext <<_ACEOF
23997/* end confdefs.h. */
23998
23999/* Override any gcc2 internal prototype to avoid an error. */
24000#ifdef __cplusplus
24001extern "C"
24002#endif
24003/* We use char because int might match the return type of a gcc2
24004 builtin and then its argument prototype would still apply. */
24005char shmat ();
24006int
24007main ()
24008{
24009shmat ();
24010 ;
24011 return 0;
24012}
24013_ACEOF
24014rm -f conftest.$ac_objext conftest$ac_exeext
24015if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24016 (eval $ac_link) 2>&5
24017 ac_status=$?
24018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24019 (exit $ac_status); } &&
24020 { ac_try='test -s conftest$ac_exeext'
24021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24022 (eval $ac_try) 2>&5
24023 ac_status=$?
24024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24025 (exit $ac_status); }; }; then
24026 ac_cv_lib_ipc_shmat=yes
24027else
24028 echo "$as_me: failed program was:" >&5
24029sed 's/^/| /' conftest.$ac_ext >&5
24030
24031ac_cv_lib_ipc_shmat=no
24032fi
24033rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24034LIBS=$ac_check_lib_save_LIBS
24035fi
24036echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24037echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24038if test $ac_cv_lib_ipc_shmat = yes; then
24039 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
24040fi
24041
24042 fi
24043 fi
24044
24045 # Check for libraries that X11R6 Xt/Xaw programs need.
24046 ac_save_LDFLAGS=$LDFLAGS
24047 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
24048 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24049 # check for ICE first), but we must link in the order -lSM -lICE or
24050 # we get undefined symbols. So assume we have SM if we have ICE.
24051 # These have to be linked with before -lX11, unlike the other
24052 # libraries we check for below, so use a different variable.
24053 # John Interrante, Karl Berry
24054 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24055echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24056if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24057 echo $ECHO_N "(cached) $ECHO_C" >&6
24058else
24059 ac_check_lib_save_LIBS=$LIBS
24060LIBS="-lICE $X_EXTRA_LIBS $LIBS"
24061cat >conftest.$ac_ext <<_ACEOF
24062#line $LINENO "configure"
24063/* confdefs.h. */
24064_ACEOF
24065cat confdefs.h >>conftest.$ac_ext
24066cat >>conftest.$ac_ext <<_ACEOF
24067/* end confdefs.h. */
24068
24069/* Override any gcc2 internal prototype to avoid an error. */
24070#ifdef __cplusplus
24071extern "C"
24072#endif
24073/* We use char because int might match the return type of a gcc2
24074 builtin and then its argument prototype would still apply. */
24075char IceConnectionNumber ();
24076int
24077main ()
24078{
24079IceConnectionNumber ();
24080 ;
24081 return 0;
24082}
24083_ACEOF
24084rm -f conftest.$ac_objext conftest$ac_exeext
24085if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24086 (eval $ac_link) 2>&5
24087 ac_status=$?
24088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24089 (exit $ac_status); } &&
24090 { ac_try='test -s conftest$ac_exeext'
24091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24092 (eval $ac_try) 2>&5
24093 ac_status=$?
24094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24095 (exit $ac_status); }; }; then
24096 ac_cv_lib_ICE_IceConnectionNumber=yes
24097else
24098 echo "$as_me: failed program was:" >&5
24099sed 's/^/| /' conftest.$ac_ext >&5
24100
24101ac_cv_lib_ICE_IceConnectionNumber=no
24102fi
24103rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24104LIBS=$ac_check_lib_save_LIBS
24105fi
24106echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24107echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24108if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24109 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
24110fi
24111
24112 LDFLAGS=$ac_save_LDFLAGS
24113
24114fi
24115
24116
24117 if test "$no_x" = "yes"; then
24118 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24119echo "$as_me: error: X11 not found" >&2;}
24120 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
24121 fi
24122
24123 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
24124 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
24125 AFMINSTALL=afminstall
24126 COMPILED_X_PROGRAM=0
24127
24128 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
24129echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
24130
24131ac_find_includes=
24132for ac_dir in $SEARCH_INCLUDE /usr/include;
24133 do
24134 if test -f "$ac_dir/Xm/Xm.h"; then
24135 ac_find_includes=$ac_dir
24136 break
24137 fi
24138 done
24139
24140 if test "$ac_find_includes" != "" ; then
24141 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24142echo "${ECHO_T}found in $ac_find_includes" >&6
24143
24144 if test "x$ac_find_includes" = "x/usr/include"; then
24145 ac_path_to_include=""
24146 else
24147 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
24148 result=$?
24149 if test $result = 0; then
24150 ac_path_to_include=""
24151 else
24152 ac_path_to_include=" -I$ac_find_includes"
24153 fi
24154 fi
24155
24156 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
24157 else
24158 cat >conftest.$ac_ext <<_ACEOF
24159#line $LINENO "configure"
24160/* confdefs.h. */
24161_ACEOF
24162cat confdefs.h >>conftest.$ac_ext
24163cat >>conftest.$ac_ext <<_ACEOF
24164/* end confdefs.h. */
24165
24166 #include <Xm/Xm.h>
24167
24168int
24169main ()
24170{
24171
24172 int version;
24173 version = xmUseVersion;
24174
24175 ;
24176 return 0;
24177}
24178_ACEOF
24179rm -f conftest.$ac_objext
24180if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24181 (eval $ac_compile) 2>&5
24182 ac_status=$?
24183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24184 (exit $ac_status); } &&
24185 { ac_try='test -s conftest.$ac_objext'
24186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24187 (eval $ac_try) 2>&5
24188 ac_status=$?
24189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24190 (exit $ac_status); }; }; then
24191
24192 echo "$as_me:$LINENO: result: found in default search path" >&5
24193echo "${ECHO_T}found in default search path" >&6
24194 COMPILED_X_PROGRAM=1
24195
24196else
24197 echo "$as_me: failed program was:" >&5
24198sed 's/^/| /' conftest.$ac_ext >&5
24199
24200
24201 echo "$as_me:$LINENO: result: no" >&5
24202echo "${ECHO_T}no" >&6
24203 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24204echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24205 { (exit 1); exit 1; }; }
24206
24207
24208fi
24209rm -f conftest.$ac_objext conftest.$ac_ext
24210 fi
24211
24212 if test "$COMPILED_X_PROGRAM" = 0; then
24213 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24214echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24215
24216ac_find_libraries=
24217for ac_dir in $SEARCH_LIB /usr/lib;
24218 do
24219 for ac_extension in a so sl dylib; do
24220 if test -f "$ac_dir/libXm.$ac_extension"; then
24221 ac_find_libraries=$ac_dir
24222 break 2
24223 fi
24224 done
24225 done
24226
24227 if test "$ac_find_libraries" != "" ; then
24228 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24229echo "${ECHO_T}found at $ac_find_libraries" >&6
24230
24231
24232 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24233 result=$?
24234 if test $result = 0; then
24235 ac_path_to_link=""
24236 else
24237 ac_path_to_link=" -L$ac_find_libraries"
24238 fi
24239
24240 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24241 else
24242 save_CFLAGS=$CFLAGS
24243 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24244
24245 cat >conftest.$ac_ext <<_ACEOF
24246#line $LINENO "configure"
24247/* confdefs.h. */
24248_ACEOF
24249cat confdefs.h >>conftest.$ac_ext
24250cat >>conftest.$ac_ext <<_ACEOF
24251/* end confdefs.h. */
24252
24253 #include <Xm/Xm.h>
24254
24255int
24256main ()
24257{
24258
24259 int version;
24260 version = xmUseVersion;
24261
24262 ;
24263 return 0;
24264}
24265_ACEOF
24266rm -f conftest.$ac_objext
24267if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24268 (eval $ac_compile) 2>&5
24269 ac_status=$?
24270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24271 (exit $ac_status); } &&
24272 { ac_try='test -s conftest.$ac_objext'
24273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24274 (eval $ac_try) 2>&5
24275 ac_status=$?
24276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24277 (exit $ac_status); }; }; then
24278
24279 echo "$as_me:$LINENO: result: found in default search path" >&5
24280echo "${ECHO_T}found in default search path" >&6
24281 COMPILED_X_PROGRAM=1
24282
24283else
24284 echo "$as_me: failed program was:" >&5
24285sed 's/^/| /' conftest.$ac_ext >&5
24286
24287
24288 echo "$as_me:$LINENO: result: no" >&5
24289echo "${ECHO_T}no" >&6
24290 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24291echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24292 { (exit 1); exit 1; }; }
24293
24294
24295fi
24296rm -f conftest.$ac_objext conftest.$ac_ext
24297
24298 CFLAGS=$save_CFLAGS
24299 fi
24300 fi
24301
24302 xpm_link=
24303 echo "$as_me:$LINENO: checking for Xpm library" >&5
24304echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24305
24306ac_find_libraries=
24307for ac_dir in $SEARCH_LIB /usr/lib;
24308 do
24309 for ac_extension in a so sl dylib; do
24310 if test -f "$ac_dir/libXpm.$ac_extension"; then
24311 ac_find_libraries=$ac_dir
24312 break 2
24313 fi
24314 done
24315 done
24316
24317 if test "$ac_find_libraries" != "" ; then
24318
24319 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24320 result=$?
24321 if test $result = 0; then
24322 ac_path_to_link=""
24323 else
24324 ac_path_to_link=" -L$ac_find_libraries"
24325 fi
24326
24327 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24328
24329 xpm_link=" -lXpm"
24330 cat >>confdefs.h <<\_ACEOF
24331#define wxHAVE_LIB_XPM 1
24332_ACEOF
24333
24334 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24335echo "${ECHO_T}found at $ac_find_libraries" >&6
24336 else
24337 save_CFLAGS=$CFLAGS
24338 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24339
24340 cat >conftest.$ac_ext <<_ACEOF
24341#line $LINENO "configure"
24342/* confdefs.h. */
24343_ACEOF
24344cat confdefs.h >>conftest.$ac_ext
24345cat >>conftest.$ac_ext <<_ACEOF
24346/* end confdefs.h. */
24347
24348 #include <X11/xpm.h>
24349
24350int
24351main ()
24352{
24353
24354 int version;
24355 version = XpmLibraryVersion();
24356
24357 ;
24358 return 0;
24359}
24360_ACEOF
24361rm -f conftest.$ac_objext
24362if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24363 (eval $ac_compile) 2>&5
24364 ac_status=$?
24365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24366 (exit $ac_status); } &&
24367 { ac_try='test -s conftest.$ac_objext'
24368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24369 (eval $ac_try) 2>&5
24370 ac_status=$?
24371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24372 (exit $ac_status); }; }; then
24373
24374 xpm_link=" -lXpm"
24375 cat >>confdefs.h <<\_ACEOF
24376#define wxHAVE_LIB_XPM 1
24377_ACEOF
24378
24379 echo "$as_me:$LINENO: result: found in default search path" >&5
24380echo "${ECHO_T}found in default search path" >&6
24381 COMPILED_X_PROGRAM=0
24382
24383else
24384 echo "$as_me: failed program was:" >&5
24385sed 's/^/| /' conftest.$ac_ext >&5
24386
24387
24388 echo "$as_me:$LINENO: result: no" >&5
24389echo "${ECHO_T}no" >&6
24390 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24391echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24392
24393
24394fi
24395rm -f conftest.$ac_objext conftest.$ac_ext
24396
24397 CFLAGS=$save_CFLAGS
24398 fi
24399
24400 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24401echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24402 libp_link=""
24403 libsm_ice_link=""
24404 libs_found=0
24405 for libp in "" " -lXp"; do
24406 if test "$libs_found" = "0"; then
24407 for libsm_ice in "" " -lSM -lICE"; do
24408 if test "$libs_found" = "0"; then
24409 save_LIBS="$LIBS"
24410 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24411 save_CFLAGS=$CFLAGS
24412 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24413
24414 cat >conftest.$ac_ext <<_ACEOF
24415#line $LINENO "configure"
24416/* confdefs.h. */
24417_ACEOF
24418cat confdefs.h >>conftest.$ac_ext
24419cat >>conftest.$ac_ext <<_ACEOF
24420/* end confdefs.h. */
24421
24422 #include <Xm/Xm.h>
24423 #include <Xm/List.h>
24424
24425int
24426main ()
24427{
24428
24429 XmString string = NULL;
24430 Widget w = NULL;
24431 int position = 0;
24432 XmListAddItem(w, string, position);
24433
24434 ;
24435 return 0;
24436}
24437_ACEOF
24438rm -f conftest.$ac_objext conftest$ac_exeext
24439if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24440 (eval $ac_link) 2>&5
24441 ac_status=$?
24442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24443 (exit $ac_status); } &&
24444 { ac_try='test -s conftest$ac_exeext'
24445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24446 (eval $ac_try) 2>&5
24447 ac_status=$?
24448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24449 (exit $ac_status); }; }; then
24450
24451 libp_link="$libp"
24452 libsm_ice_link="$libsm_ice"
24453 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24454echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24455 libs_found=1
24456
24457else
24458 echo "$as_me: failed program was:" >&5
24459sed 's/^/| /' conftest.$ac_ext >&5
24460
24461
24462
24463fi
24464rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24465
24466 LIBS="$save_LIBS"
24467 CFLAGS=$save_CFLAGS
24468 fi
24469 done
24470 fi
24471 done
24472
24473 if test "$libs_found" = "0"; then
24474 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24475echo "${ECHO_T}can't find the right libraries" >&6
24476 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24477echo "$as_me: error: can't link a simple motif program" >&2;}
24478 { (exit 1); exit 1; }; }
24479 fi
24480
24481 save_CFLAGS=$CFLAGS
24482 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24483 echo "$as_me:$LINENO: checking for Motif 2" >&5
24484echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24485 cat >conftest.$ac_ext <<_ACEOF
24486#line $LINENO "configure"
24487/* confdefs.h. */
24488_ACEOF
24489cat confdefs.h >>conftest.$ac_ext
24490cat >>conftest.$ac_ext <<_ACEOF
24491/* end confdefs.h. */
24492
24493 #include <Xm/Xm.h>
24494
24495int
24496main ()
24497{
24498
24499 #if XmVersion < 2000
24500 #error "Not Motif 2"
24501 #endif
24502
24503 ;
24504 return 0;
24505}
24506_ACEOF
24507rm -f conftest.$ac_objext
24508if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24509 (eval $ac_compile) 2>&5
24510 ac_status=$?
24511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24512 (exit $ac_status); } &&
24513 { ac_try='test -s conftest.$ac_objext'
24514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24515 (eval $ac_try) 2>&5
24516 ac_status=$?
24517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24518 (exit $ac_status); }; }; then
24519
24520 cat >>confdefs.h <<\_ACEOF
24521#define __WXMOTIF20__ 1
24522_ACEOF
24523
24524 echo "$as_me:$LINENO: result: found" >&5
24525echo "${ECHO_T}found" >&6
24526
24527else
24528 echo "$as_me: failed program was:" >&5
24529sed 's/^/| /' conftest.$ac_ext >&5
24530
24531
24532 cat >>confdefs.h <<\_ACEOF
24533#define __WXMOTIF20__ 0
24534_ACEOF
24535
24536 echo "$as_me:$LINENO: result: not found" >&5
24537echo "${ECHO_T}not found" >&6
24538
24539fi
24540rm -f conftest.$ac_objext conftest.$ac_ext
24541 CFLAGS=$save_CFLAGS
24542
24543 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24544 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24545 TOOLKIT=MOTIF
24546 GUIDIST=MOTIF_DIST
24547 wxHAVE_XEXT_LIB=1
24548 fi
24549
24550 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24551 test "$wxHAVE_XEXT_LIB" = 1; then
24552 save_CFLAGS="$CFLAGS"
24553 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24554
24555 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24556echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24557 cat >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 #include <X11/Xlib.h>
24566 #include <X11/extensions/shape.h>
24567
24568int
24569main ()
24570{
24571
24572 int dummy1, dummy2;
24573 XShapeQueryExtension((Display*)NULL,
24574 (int*)NULL, (int*)NULL);
24575
24576 ;
24577 return 0;
24578}
24579_ACEOF
24580rm -f conftest.$ac_objext
24581if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24582 (eval $ac_compile) 2>&5
24583 ac_status=$?
24584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24585 (exit $ac_status); } &&
24586 { ac_try='test -s conftest.$ac_objext'
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
24593 cat >>confdefs.h <<\_ACEOF
24594#define HAVE_XSHAPE 1
24595_ACEOF
24596
24597 echo "$as_me:$LINENO: result: found" >&5
24598echo "${ECHO_T}found" >&6
24599
24600else
24601 echo "$as_me: failed program was:" >&5
24602sed 's/^/| /' conftest.$ac_ext >&5
24603
24604
24605 echo "$as_me:$LINENO: result: not found" >&5
24606echo "${ECHO_T}not found" >&6
24607
24608fi
24609rm -f conftest.$ac_objext conftest.$ac_ext
24610 CFLAGS="$save_CFLAGS"
24611 fi
24612
24613 if test "$wxUSE_MAC" = 1; then
24614 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
24615echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
24616 if test "$GCC" = yes; then
24617 echo "$as_me:$LINENO: result: gcc" >&5
24618echo "${ECHO_T}gcc" >&6
24619 CPPFLAGS_PASCAL="-fpascal-strings"
24620 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
24621 echo "$as_me:$LINENO: result: xlc" >&5
24622echo "${ECHO_T}xlc" >&6
24623 CPPFLAGS_PASCAL="-qmacpstr"
24624 else
24625 echo "$as_me:$LINENO: result: none" >&5
24626echo "${ECHO_T}none" >&6
24627 fi
24628
24629 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24630
24631 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24632 TOOLKIT=MAC
24633 GUIDIST=MACX_DIST
24634 WXBASEPORT="_carbon"
24635 fi
24636
24637 if test "$wxUSE_COCOA" = 1; then
24638 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24639 TOOLKIT=COCOA
24640 GUIDIST=COCOA_DIST
24641 fi
24642
24643 if test "$wxUSE_PM" = 1; then
24644 TOOLKIT=PM
24645 GUIDIST=GTK_DIST
24646 fi
24647
24648 if test "$TOOLKIT" = "PM" ; then
24649 TOOLKIT_DIR="os2"
24650 else
24651 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24652 fi
24653
24654 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24655
24656 if test "$wxUSE_UNIVERSAL" = "yes"; then
24657 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24658
24659 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24660 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24661
24662 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24663 if test "$wxUSE_X11" = 1; then
24664 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24665 else
24666 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24667 fi
24668 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24669 WIDGET_SET=univ
24670 else
24671 ALL_OBJECTS="\$(GUIOBJS)"
24672 ALL_SOURCES="\$(ALL_SOURCES)"
24673 ALL_HEADERS="\$(ALL_HEADERS)"
24674 fi
24675
24676 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24677
24678 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24679 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24680 fi
24681
24682 if test "$wxUSE_HTML" = "yes"; then
24683 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24684 fi
24685
24686 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24687 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24688 fi
24689 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24690 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24691 fi
24692 if test "$wxUSE_LIBPNG" = "builtin" ; then
24693 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24694 fi
24695
24696 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24697 DISTDIR="wx\$(TOOLKIT)"
24698else
24699 USE_GUI=0
24700
24701 TOOLKIT_DIR="base"
24702
24703 if test "$USE_WIN32" = 1 ; then
24704 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24705 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24706
24707 TOOLKIT="MSW"
24708 else
24709 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24710 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24711 fi
24712
24713 ALL_SOURCES="\$(ALL_SOURCES)"
24714 ALL_HEADERS="\$(ALL_HEADERS)"
24715
24716 PORT_FILES="\${top_srcdir}/src/files.lst"
24717
24718 GUIDIST="BASE_DIST"
24719 DISTDIR="wxBase"
24720fi
24721
24722
24723
24724
24725IODBC_C_SRC=""
24726
24727
24728if test "$TOOLKIT" != "MSW" ; then
24729
24730 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24731
24732 if test "${ac_cv_header_sql_h+set}" = set; then
24733 echo "$as_me:$LINENO: checking for sql.h" >&5
24734echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24735if test "${ac_cv_header_sql_h+set}" = set; then
24736 echo $ECHO_N "(cached) $ECHO_C" >&6
24737fi
24738echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24739echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24740else
24741 # Is the header compilable?
24742echo "$as_me:$LINENO: checking sql.h usability" >&5
24743echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24744cat >conftest.$ac_ext <<_ACEOF
24745#line $LINENO "configure"
24746/* confdefs.h. */
24747_ACEOF
24748cat confdefs.h >>conftest.$ac_ext
24749cat >>conftest.$ac_ext <<_ACEOF
24750/* end confdefs.h. */
24751$ac_includes_default
24752#include <sql.h>
24753_ACEOF
24754rm -f conftest.$ac_objext
24755if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24756 (eval $ac_compile) 2>&5
24757 ac_status=$?
24758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24759 (exit $ac_status); } &&
24760 { ac_try='test -s conftest.$ac_objext'
24761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24762 (eval $ac_try) 2>&5
24763 ac_status=$?
24764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24765 (exit $ac_status); }; }; then
24766 ac_header_compiler=yes
24767else
24768 echo "$as_me: failed program was:" >&5
24769sed 's/^/| /' conftest.$ac_ext >&5
24770
24771ac_header_compiler=no
24772fi
24773rm -f conftest.$ac_objext conftest.$ac_ext
24774echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24775echo "${ECHO_T}$ac_header_compiler" >&6
24776
24777# Is the header present?
24778echo "$as_me:$LINENO: checking sql.h presence" >&5
24779echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24780cat >conftest.$ac_ext <<_ACEOF
24781#line $LINENO "configure"
24782/* confdefs.h. */
24783_ACEOF
24784cat confdefs.h >>conftest.$ac_ext
24785cat >>conftest.$ac_ext <<_ACEOF
24786/* end confdefs.h. */
24787#include <sql.h>
24788_ACEOF
24789if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24790 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24791 ac_status=$?
24792 grep -v '^ *+' conftest.er1 >conftest.err
24793 rm -f conftest.er1
24794 cat conftest.err >&5
24795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24796 (exit $ac_status); } >/dev/null; then
24797 if test -s conftest.err; then
24798 ac_cpp_err=$ac_c_preproc_warn_flag
24799 else
24800 ac_cpp_err=
24801 fi
24802else
24803 ac_cpp_err=yes
24804fi
24805if test -z "$ac_cpp_err"; then
24806 ac_header_preproc=yes
24807else
24808 echo "$as_me: failed program was:" >&5
24809sed 's/^/| /' conftest.$ac_ext >&5
24810
24811 ac_header_preproc=no
24812fi
24813rm -f conftest.err conftest.$ac_ext
24814echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24815echo "${ECHO_T}$ac_header_preproc" >&6
24816
24817# So? What about this header?
24818case $ac_header_compiler:$ac_header_preproc in
24819 yes:no )
24820 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24821echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24822 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24823echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24824 (
24825 cat <<\_ASBOX
24826## ------------------------------------ ##
24827## Report this to bug-autoconf@gnu.org. ##
24828## ------------------------------------ ##
24829_ASBOX
24830 ) |
24831 sed "s/^/$as_me: WARNING: /" >&2
24832 ;;
24833 no:yes )
24834 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24835echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24836 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24837echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24838 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24839echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24840 (
24841 cat <<\_ASBOX
24842## ------------------------------------ ##
24843## Report this to bug-autoconf@gnu.org. ##
24844## ------------------------------------ ##
24845_ASBOX
24846 ) |
24847 sed "s/^/$as_me: WARNING: /" >&2
24848 ;;
24849esac
24850echo "$as_me:$LINENO: checking for sql.h" >&5
24851echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24852if test "${ac_cv_header_sql_h+set}" = set; then
24853 echo $ECHO_N "(cached) $ECHO_C" >&6
24854else
24855 ac_cv_header_sql_h=$ac_header_preproc
24856fi
24857echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24858echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24859
24860fi
24861if test $ac_cv_header_sql_h = yes; then
24862 found_sql_h=1
24863fi
24864
24865
24866 if test "x$found_sql_h" = "x1" ; then
24867 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
24868echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
24869if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
24870 echo $ECHO_N "(cached) $ECHO_C" >&6
24871else
24872 ac_check_lib_save_LIBS=$LIBS
24873LIBS="-liodbc $LIBS"
24874cat >conftest.$ac_ext <<_ACEOF
24875#line $LINENO "configure"
24876/* confdefs.h. */
24877_ACEOF
24878cat confdefs.h >>conftest.$ac_ext
24879cat >>conftest.$ac_ext <<_ACEOF
24880/* end confdefs.h. */
24881
24882/* Override any gcc2 internal prototype to avoid an error. */
24883#ifdef __cplusplus
24884extern "C"
24885#endif
24886/* We use char because int might match the return type of a gcc2
24887 builtin and then its argument prototype would still apply. */
24888char SQLAllocEnv ();
24889int
24890main ()
24891{
24892SQLAllocEnv ();
24893 ;
24894 return 0;
24895}
24896_ACEOF
24897rm -f conftest.$ac_objext conftest$ac_exeext
24898if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24899 (eval $ac_link) 2>&5
24900 ac_status=$?
24901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24902 (exit $ac_status); } &&
24903 { ac_try='test -s conftest$ac_exeext'
24904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24905 (eval $ac_try) 2>&5
24906 ac_status=$?
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); }; }; then
24909 ac_cv_lib_iodbc_SQLAllocEnv=yes
24910else
24911 echo "$as_me: failed program was:" >&5
24912sed 's/^/| /' conftest.$ac_ext >&5
24913
24914ac_cv_lib_iodbc_SQLAllocEnv=no
24915fi
24916rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24917LIBS=$ac_check_lib_save_LIBS
24918fi
24919echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
24920echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
24921if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
24922 ODBC_LINK=" -liodbc"
24923else
24924
24925 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
24926echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
24927if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
24928 echo $ECHO_N "(cached) $ECHO_C" >&6
24929else
24930 ac_check_lib_save_LIBS=$LIBS
24931LIBS="-lunixodbc $LIBS"
24932cat >conftest.$ac_ext <<_ACEOF
24933#line $LINENO "configure"
24934/* confdefs.h. */
24935_ACEOF
24936cat confdefs.h >>conftest.$ac_ext
24937cat >>conftest.$ac_ext <<_ACEOF
24938/* end confdefs.h. */
24939
24940/* Override any gcc2 internal prototype to avoid an error. */
24941#ifdef __cplusplus
24942extern "C"
24943#endif
24944/* We use char because int might match the return type of a gcc2
24945 builtin and then its argument prototype would still apply. */
24946char SQLAllocEnv ();
24947int
24948main ()
24949{
24950SQLAllocEnv ();
24951 ;
24952 return 0;
24953}
24954_ACEOF
24955rm -f conftest.$ac_objext conftest$ac_exeext
24956if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24957 (eval $ac_link) 2>&5
24958 ac_status=$?
24959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24960 (exit $ac_status); } &&
24961 { ac_try='test -s conftest$ac_exeext'
24962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24963 (eval $ac_try) 2>&5
24964 ac_status=$?
24965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24966 (exit $ac_status); }; }; then
24967 ac_cv_lib_unixodbc_SQLAllocEnv=yes
24968else
24969 echo "$as_me: failed program was:" >&5
24970sed 's/^/| /' conftest.$ac_ext >&5
24971
24972ac_cv_lib_unixodbc_SQLAllocEnv=no
24973fi
24974rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24975LIBS=$ac_check_lib_save_LIBS
24976fi
24977echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
24978echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
24979if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
24980 ODBC_LINK=" -lunixodbc"
24981else
24982
24983 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
24984echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
24985if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
24986 echo $ECHO_N "(cached) $ECHO_C" >&6
24987else
24988 ac_check_lib_save_LIBS=$LIBS
24989LIBS="-lodbc $LIBS"
24990cat >conftest.$ac_ext <<_ACEOF
24991#line $LINENO "configure"
24992/* confdefs.h. */
24993_ACEOF
24994cat confdefs.h >>conftest.$ac_ext
24995cat >>conftest.$ac_ext <<_ACEOF
24996/* end confdefs.h. */
24997
24998/* Override any gcc2 internal prototype to avoid an error. */
24999#ifdef __cplusplus
25000extern "C"
25001#endif
25002/* We use char because int might match the return type of a gcc2
25003 builtin and then its argument prototype would still apply. */
25004char SQLAllocEnv ();
25005int
25006main ()
25007{
25008SQLAllocEnv ();
25009 ;
25010 return 0;
25011}
25012_ACEOF
25013rm -f conftest.$ac_objext conftest$ac_exeext
25014if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25015 (eval $ac_link) 2>&5
25016 ac_status=$?
25017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25018 (exit $ac_status); } &&
25019 { ac_try='test -s conftest$ac_exeext'
25020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25021 (eval $ac_try) 2>&5
25022 ac_status=$?
25023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25024 (exit $ac_status); }; }; then
25025 ac_cv_lib_odbc_SQLAllocEnv=yes
25026else
25027 echo "$as_me: failed program was:" >&5
25028sed 's/^/| /' conftest.$ac_ext >&5
25029
25030ac_cv_lib_odbc_SQLAllocEnv=no
25031fi
25032rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25033LIBS=$ac_check_lib_save_LIBS
25034fi
25035echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
25036echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
25037if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
25038 ODBC_LINK=" -lodbc"
25039fi
25040
25041
25042fi
25043
25044
25045fi
25046
25047 fi
25048 if test "x$ODBC_LINK" = "x" ; then
25049 if test "$wxUSE_ODBC" = "sys" ; then
25050 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
25051echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
25052 { (exit 1); exit 1; }; }
25053 else
25054 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
25055echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
25056 wxUSE_ODBC=builtin
25057 fi
25058 else
25059 wxUSE_ODBC=sys
25060 fi
25061 fi
25062 if test "$wxUSE_ODBC" != "no" ; then
25063 cat >>confdefs.h <<\_ACEOF
25064#define wxUSE_ODBC 1
25065_ACEOF
25066
25067 if test "$wxUSE_ODBC" = "builtin" ; then
25068 cat >>confdefs.h <<\_ACEOF
25069#define wxUSE_BUILTIN_IODBC 1
25070_ACEOF
25071
25072 fi
25073 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
25074
25075 WXODBCFLAG="-D_IODBC_"
25076 fi
25077fi
25078
25079if test "$wxUSE_REGEX" = "builtin" ; then
25080 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
25081fi
25082if test "$wxUSE_ZLIB" = "builtin" ; then
25083 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
25084fi
25085
25086
25087USE_OPENGL=0
25088if test "$wxUSE_OPENGL" = "yes"; then
25089 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
25090 OPENGL_LIBS="-framework OpenGL -framework AGL"
25091 elif test "$wxUSE_MSW" = 1; then
25092 OPENGL_LIBS="-lopengl32 -lglu32"
25093 else
25094
25095
25096ac_find_includes=
25097for ac_dir in $SEARCH_INCLUDE /usr/include;
25098 do
25099 if test -f "$ac_dir/GL/gl.h"; then
25100 ac_find_includes=$ac_dir
25101 break
25102 fi
25103 done
25104
25105 if test "$ac_find_includes" != "" ; then
25106 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25107echo "${ECHO_T}found in $ac_find_includes" >&6
25108
25109 if test "x$ac_find_includes" = "x/usr/include"; then
25110 ac_path_to_include=""
25111 else
25112 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
25113 result=$?
25114 if test $result = 0; then
25115 ac_path_to_include=""
25116 else
25117 ac_path_to_include=" -I$ac_find_includes"
25118 fi
25119 fi
25120
25121 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
25122 fi
25123
25124 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25125 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25126echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25127if test "${ac_cv_header_GL_gl_h+set}" = set; then
25128 echo $ECHO_N "(cached) $ECHO_C" >&6
25129fi
25130echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25131echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25132else
25133 # Is the header compilable?
25134echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
25135echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
25136cat >conftest.$ac_ext <<_ACEOF
25137#line $LINENO "configure"
25138/* confdefs.h. */
25139_ACEOF
25140cat confdefs.h >>conftest.$ac_ext
25141cat >>conftest.$ac_ext <<_ACEOF
25142/* end confdefs.h. */
25143$ac_includes_default
25144#include <GL/gl.h>
25145_ACEOF
25146rm -f conftest.$ac_objext
25147if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25148 (eval $ac_compile) 2>&5
25149 ac_status=$?
25150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25151 (exit $ac_status); } &&
25152 { ac_try='test -s conftest.$ac_objext'
25153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25154 (eval $ac_try) 2>&5
25155 ac_status=$?
25156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25157 (exit $ac_status); }; }; then
25158 ac_header_compiler=yes
25159else
25160 echo "$as_me: failed program was:" >&5
25161sed 's/^/| /' conftest.$ac_ext >&5
25162
25163ac_header_compiler=no
25164fi
25165rm -f conftest.$ac_objext conftest.$ac_ext
25166echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25167echo "${ECHO_T}$ac_header_compiler" >&6
25168
25169# Is the header present?
25170echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
25171echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
25172cat >conftest.$ac_ext <<_ACEOF
25173#line $LINENO "configure"
25174/* confdefs.h. */
25175_ACEOF
25176cat confdefs.h >>conftest.$ac_ext
25177cat >>conftest.$ac_ext <<_ACEOF
25178/* end confdefs.h. */
25179#include <GL/gl.h>
25180_ACEOF
25181if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25182 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25183 ac_status=$?
25184 grep -v '^ *+' conftest.er1 >conftest.err
25185 rm -f conftest.er1
25186 cat conftest.err >&5
25187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25188 (exit $ac_status); } >/dev/null; then
25189 if test -s conftest.err; then
25190 ac_cpp_err=$ac_c_preproc_warn_flag
25191 else
25192 ac_cpp_err=
25193 fi
25194else
25195 ac_cpp_err=yes
25196fi
25197if test -z "$ac_cpp_err"; then
25198 ac_header_preproc=yes
25199else
25200 echo "$as_me: failed program was:" >&5
25201sed 's/^/| /' conftest.$ac_ext >&5
25202
25203 ac_header_preproc=no
25204fi
25205rm -f conftest.err conftest.$ac_ext
25206echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25207echo "${ECHO_T}$ac_header_preproc" >&6
25208
25209# So? What about this header?
25210case $ac_header_compiler:$ac_header_preproc in
25211 yes:no )
25212 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
25213echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25214 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25215echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25216 (
25217 cat <<\_ASBOX
25218## ------------------------------------ ##
25219## Report this to bug-autoconf@gnu.org. ##
25220## ------------------------------------ ##
25221_ASBOX
25222 ) |
25223 sed "s/^/$as_me: WARNING: /" >&2
25224 ;;
25225 no:yes )
25226 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
25227echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
25228 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
25229echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
25230 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25231echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25232 (
25233 cat <<\_ASBOX
25234## ------------------------------------ ##
25235## Report this to bug-autoconf@gnu.org. ##
25236## ------------------------------------ ##
25237_ASBOX
25238 ) |
25239 sed "s/^/$as_me: WARNING: /" >&2
25240 ;;
25241esac
25242echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25243echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25244if test "${ac_cv_header_GL_gl_h+set}" = set; then
25245 echo $ECHO_N "(cached) $ECHO_C" >&6
25246else
25247 ac_cv_header_GL_gl_h=$ac_header_preproc
25248fi
25249echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25250echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25251
25252fi
25253if test $ac_cv_header_GL_gl_h = yes; then
25254
25255 found_gl=0
25256
25257 echo "$as_me:$LINENO: checking for -lGL" >&5
25258echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25259
25260ac_find_libraries=
25261for ac_dir in $SEARCH_LIB /usr/lib;
25262 do
25263 for ac_extension in a so sl dylib; do
25264 if test -f "$ac_dir/libGL.$ac_extension"; then
25265 ac_find_libraries=$ac_dir
25266 break 2
25267 fi
25268 done
25269 done
25270
25271 if test "$ac_find_libraries" != "" ; then
25272
25273 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25274 result=$?
25275 if test $result = 0; then
25276 ac_path_to_link=""
25277 else
25278 ac_path_to_link=" -L$ac_find_libraries"
25279 fi
25280
25281 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25282 LDFLAGS_GL="$ac_path_to_link"
25283 fi
25284
25285
25286ac_find_libraries=
25287for ac_dir in $SEARCH_LIB /usr/lib;
25288 do
25289 for ac_extension in a so sl dylib; do
25290 if test -f "$ac_dir/libGLU.$ac_extension"; then
25291 ac_find_libraries=$ac_dir
25292 break 2
25293 fi
25294 done
25295 done
25296
25297 if test "$ac_find_libraries" != "" ; then
25298
25299 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25300 result=$?
25301 if test $result = 0; then
25302 ac_path_to_link=""
25303 else
25304 ac_path_to_link=" -L$ac_find_libraries"
25305 fi
25306
25307 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25308 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25309 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
25310 fi
25311
25312 found_gl=1
25313 OPENGL_LIBS="-lGL -lGLU"
25314 echo "$as_me:$LINENO: result: yes" >&5
25315echo "${ECHO_T}yes" >&6
25316 fi
25317 fi
25318
25319 if test "$found_gl" != 1; then
25320 echo "$as_me:$LINENO: result: no" >&5
25321echo "${ECHO_T}no" >&6
25322 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25323echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25324
25325ac_find_libraries=
25326for ac_dir in $SEARCH_LIB /usr/lib;
25327 do
25328 for ac_extension in a so sl dylib; do
25329 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25330 ac_find_libraries=$ac_dir
25331 break 2
25332 fi
25333 done
25334 done
25335
25336 if test "$ac_find_libraries" != "" ; then
25337
25338 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25339 result=$?
25340 if test $result = 0; then
25341 ac_path_to_link=""
25342 else
25343 ac_path_to_link=" -L$ac_find_libraries"
25344 fi
25345
25346 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
25347 OPENGL_LIBS="-lMesaGL -lMesaGLU"
25348 echo "$as_me:$LINENO: result: yes" >&5
25349echo "${ECHO_T}yes" >&6
25350 else
25351 echo "$as_me:$LINENO: result: no" >&5
25352echo "${ECHO_T}no" >&6
25353 fi
25354 fi
25355
25356fi
25357
25358
25359
25360 if test "x$OPENGL_LIBS" = "x"; then
25361 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25362echo "$as_me: error: OpenGL libraries not available" >&2;}
25363 { (exit 1); exit 1; }; }
25364 fi
25365 fi
25366
25367 if test "$wxUSE_OPENGL" = "yes"; then
25368 USE_OPENGL=1
25369 cat >>confdefs.h <<\_ACEOF
25370#define wxUSE_OPENGL 1
25371_ACEOF
25372
25373 cat >>confdefs.h <<\_ACEOF
25374#define wxUSE_GLCANVAS 1
25375_ACEOF
25376
25377 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25378 fi
25379fi
25380
25381if test -z "$TOOLKIT_VPATH" ; then
25382 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
25383fi
25384
25385if test -n "$TOOLKIT" ; then
25386 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25387fi
25388
25389UNICODE=0
25390lib_unicode_suffix=
25391if test "$wxUSE_UNICODE" = "yes"; then
25392 lib_unicode_suffix=u
25393 UNICODE=1
25394fi
25395
25396lib_debug_suffix=
25397DEBUG_FLAG=0
25398if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25399 lib_debug_suffix=d
25400 DEBUG_FLAG=1
25401fi
25402
25403DEBUG_INFO=0
25404if test "$wxUSE_DEBUG_INFO" = "yes"; then
25405 DEBUG_INFO=1
25406fi
25407
25408WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25409
25410TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25411TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25412
25413if test "$cross_compiling" = "yes"; then
25414 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
25415 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
25416 HOST_SUFFIX="-${host_alias}"
25417fi
25418
25419WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
25420WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
25421WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25422WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25423
25424WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25425WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25426
25427WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25428WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25429WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25430WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25431
25432case "${host}" in
25433 *-*-cygwin* | *-*-mingw32* )
25434 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
25435 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25436 ;;
25437
25438 *-*-darwin* )
25439
25440 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25441 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25442
25443 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25444 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25445 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25446 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25447
25448 if test "$wxUSE_MAC" = 1; then
25449 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25450 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25451 fi
25452 ;;
25453esac
25454
25455WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
25456WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
25457
25458WXCONFIG_LIBS="-l${WX_LIBRARY}"
25459WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
25460
25461if test "$wxUSE_OPENGL" = "yes"; then
25462 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25463 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25464fi
25465
25466
25467
25468if test "$wxUSE_SHARED" = "yes"; then
25469 case "${host}" in
25470 *-pc-os2_emx | *-pc-os2-emx | \
25471 *-pc-msdosdjgpp )
25472 wxUSE_SHARED=no
25473 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25474echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25475 ;;
25476 esac
25477fi
25478
25479SHARED=0
25480if test "$wxUSE_SHARED" = "yes"; then
25481 SHARED=1
25482
25483
25484 found_versioning=no
25485
25486
25487 if test $found_versioning = no ; then
25488 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25489echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25490if test "${wx_cv_version_script+set}" = set; then
25491 echo $ECHO_N "(cached) $ECHO_C" >&6
25492else
25493
25494 echo "VER_1 { *; };" >conftest.sym
25495 echo "int main() { return 0; }" >conftest.cpp
25496
25497 if { ac_try='
25498 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25499 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25501 (eval $ac_try) 2>&5
25502 ac_status=$?
25503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25504 (exit $ac_status); }; } ; then
25505 if test -s conftest.stderr ; then
25506 wx_cv_version_script=no
25507 else
25508 wx_cv_version_script=yes
25509 fi
25510 else
25511 wx_cv_version_script=no
25512 fi
25513 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25514
25515fi
25516echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25517echo "${ECHO_T}$wx_cv_version_script" >&6
25518 if test $wx_cv_version_script = yes ; then
25519 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
25520 fi
25521 fi
25522
25523
25524 case "${host}" in
25525 *-*-linux* | *-*-gnu* )
25526 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25527 ;;
25528
25529 *-*-solaris2* )
25530 if test "$GCC" = yes ; then
25531 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
25532
25533 saveLdflags="$LDFLAGS"
25534 LDFLAGS="$saveLdflags -Wl,-rpath,/"
25535 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25536echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25537 cat >conftest.$ac_ext <<_ACEOF
25538#line $LINENO "configure"
25539/* confdefs.h. */
25540_ACEOF
25541cat confdefs.h >>conftest.$ac_ext
25542cat >>conftest.$ac_ext <<_ACEOF
25543/* end confdefs.h. */
25544
25545int
25546main ()
25547{
25548
25549 ;
25550 return 0;
25551}
25552_ACEOF
25553rm -f conftest.$ac_objext conftest$ac_exeext
25554if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25555 (eval $ac_link) 2>&5
25556 ac_status=$?
25557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25558 (exit $ac_status); } &&
25559 { ac_try='test -s conftest$ac_exeext'
25560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25561 (eval $ac_try) 2>&5
25562 ac_status=$?
25563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25564 (exit $ac_status); }; }; then
25565
25566 echo "$as_me:$LINENO: result: yes" >&5
25567echo "${ECHO_T}yes" >&6
25568 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25569
25570else
25571 echo "$as_me: failed program was:" >&5
25572sed 's/^/| /' conftest.$ac_ext >&5
25573
25574
25575 echo "$as_me:$LINENO: result: no" >&5
25576echo "${ECHO_T}no" >&6
25577 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25578echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25579 LDFLAGS="$saveLdflags -Wl,-R,/"
25580 cat >conftest.$ac_ext <<_ACEOF
25581#line $LINENO "configure"
25582/* confdefs.h. */
25583_ACEOF
25584cat confdefs.h >>conftest.$ac_ext
25585cat >>conftest.$ac_ext <<_ACEOF
25586/* end confdefs.h. */
25587
25588int
25589main ()
25590{
25591
25592 ;
25593 return 0;
25594}
25595_ACEOF
25596rm -f conftest.$ac_objext conftest$ac_exeext
25597if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25598 (eval $ac_link) 2>&5
25599 ac_status=$?
25600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25601 (exit $ac_status); } &&
25602 { ac_try='test -s conftest$ac_exeext'
25603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25604 (eval $ac_try) 2>&5
25605 ac_status=$?
25606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25607 (exit $ac_status); }; }; then
25608
25609 echo "$as_me:$LINENO: result: yes" >&5
25610echo "${ECHO_T}yes" >&6
25611 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
25612else
25613 echo "$as_me: failed program was:" >&5
25614sed 's/^/| /' conftest.$ac_ext >&5
25615
25616
25617 echo "$as_me:$LINENO: result: no" >&5
25618echo "${ECHO_T}no" >&6
25619
25620fi
25621rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25622
25623fi
25624rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25625 LDFLAGS="$saveLdflags"
25626 else
25627 SHARED_LD="${CXX} -G -o"
25628 PIC_FLAG="-KPIC"
25629 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
25630 fi
25631 ;;
25632
25633 powerpc-*-darwin* )
25634 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25635 cat <<EOF >change-install-names
25636#!/bin/sh
25637libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25638inst_cmd="install_name_tool "
25639for i in \${libnames} ; do
25640 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25641done
25642\${inst_cmd} \${3}
25643EOF
25644 chmod +x change-install-names
25645 ;;
25646
25647 esac
25648
25649 if test "x$WX_TARGET_LIBRARY" = "x"; then
25650 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25651 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25652 fi
25653
25654 WX_TARGET_LIBRARY_TYPE="so"
25655 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25656fi
25657
25658if test "$wxUSE_SHARED" = "no"; then
25659
25660 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25661 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25662 fi
25663
25664 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25665 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25666 fi
25667
25668 if test "$wxUSE_OPENGL" = "yes"; then
25669 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25670 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25671 else
25672 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25673 fi
25674
25675 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25676 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25677
25678 WX_TARGET_LIBRARY_TYPE="a"
25679 INSTALL_LIBRARY='$(INSTALL_DATA)'
25680
25681 STATIC_FLAG="yes"
25682else
25683 STATIC_FLAG="no"
25684fi
25685
25686MACRESCOMP="@#"
25687MACSETFILE="@#"
25688MACRESWXCONFIG="#"
25689if test "$wxUSE_MAC" = 1; then
25690 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25691 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25692 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25693 # Extract the first word of "Rez", so it can be a program name with args.
25694set dummy Rez; ac_word=$2
25695echo "$as_me:$LINENO: checking for $ac_word" >&5
25696echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25697if test "${ac_cv_prog_RESCOMP+set}" = set; then
25698 echo $ECHO_N "(cached) $ECHO_C" >&6
25699else
25700 if test -n "$RESCOMP"; then
25701 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25702else
25703as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25704for as_dir in $PATH
25705do
25706 IFS=$as_save_IFS
25707 test -z "$as_dir" && as_dir=.
25708 for ac_exec_ext in '' $ac_executable_extensions; do
25709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25710 ac_cv_prog_RESCOMP="Rez"
25711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25712 break 2
25713 fi
25714done
25715done
25716
25717 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25718fi
25719fi
25720RESCOMP=$ac_cv_prog_RESCOMP
25721if test -n "$RESCOMP"; then
25722 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25723echo "${ECHO_T}$RESCOMP" >&6
25724else
25725 echo "$as_me:$LINENO: result: no" >&5
25726echo "${ECHO_T}no" >&6
25727fi
25728
25729 # Extract the first word of "DeRez", so it can be a program name with args.
25730set dummy DeRez; ac_word=$2
25731echo "$as_me:$LINENO: checking for $ac_word" >&5
25732echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25733if test "${ac_cv_prog_DEREZ+set}" = set; then
25734 echo $ECHO_N "(cached) $ECHO_C" >&6
25735else
25736 if test -n "$DEREZ"; then
25737 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25738else
25739as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25740for as_dir in $PATH
25741do
25742 IFS=$as_save_IFS
25743 test -z "$as_dir" && as_dir=.
25744 for ac_exec_ext in '' $ac_executable_extensions; do
25745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25746 ac_cv_prog_DEREZ="DeRez"
25747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25748 break 2
25749 fi
25750done
25751done
25752
25753 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25754fi
25755fi
25756DEREZ=$ac_cv_prog_DEREZ
25757if test -n "$DEREZ"; then
25758 echo "$as_me:$LINENO: result: $DEREZ" >&5
25759echo "${ECHO_T}$DEREZ" >&6
25760else
25761 echo "$as_me:$LINENO: result: no" >&5
25762echo "${ECHO_T}no" >&6
25763fi
25764
25765 # Extract the first word of "SetFile", so it can be a program name with args.
25766set dummy SetFile; ac_word=$2
25767echo "$as_me:$LINENO: checking for $ac_word" >&5
25768echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25769if test "${ac_cv_prog_SETFILE+set}" = set; then
25770 echo $ECHO_N "(cached) $ECHO_C" >&6
25771else
25772 if test -n "$SETFILE"; then
25773 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25774else
25775as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25776for as_dir in $PATH
25777do
25778 IFS=$as_save_IFS
25779 test -z "$as_dir" && as_dir=.
25780 for ac_exec_ext in '' $ac_executable_extensions; do
25781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25782 ac_cv_prog_SETFILE="SetFile"
25783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25784 break 2
25785 fi
25786done
25787done
25788
25789 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25790fi
25791fi
25792SETFILE=$ac_cv_prog_SETFILE
25793if test -n "$SETFILE"; then
25794 echo "$as_me:$LINENO: result: $SETFILE" >&5
25795echo "${ECHO_T}$SETFILE" >&6
25796else
25797 echo "$as_me:$LINENO: result: no" >&5
25798echo "${ECHO_T}no" >&6
25799fi
25800
25801 MACOSX_BUNDLE="bundle"
25802 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25803 MACSETFILE="\$(SETFILE)"
25804 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25805elif test "$wxUSE_COCOA" = 1; then
25806 # Extract the first word of "Rez", so it can be a program name with args.
25807set dummy Rez; ac_word=$2
25808echo "$as_me:$LINENO: checking for $ac_word" >&5
25809echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25810if test "${ac_cv_prog_RESCOMP+set}" = set; then
25811 echo $ECHO_N "(cached) $ECHO_C" >&6
25812else
25813 if test -n "$RESCOMP"; then
25814 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25815else
25816as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25817for as_dir in $PATH
25818do
25819 IFS=$as_save_IFS
25820 test -z "$as_dir" && as_dir=.
25821 for ac_exec_ext in '' $ac_executable_extensions; do
25822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25823 ac_cv_prog_RESCOMP="Rez"
25824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25825 break 2
25826 fi
25827done
25828done
25829
25830 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25831fi
25832fi
25833RESCOMP=$ac_cv_prog_RESCOMP
25834if test -n "$RESCOMP"; then
25835 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25836echo "${ECHO_T}$RESCOMP" >&6
25837else
25838 echo "$as_me:$LINENO: result: no" >&5
25839echo "${ECHO_T}no" >&6
25840fi
25841
25842 # Extract the first word of "DeRez", so it can be a program name with args.
25843set dummy DeRez; ac_word=$2
25844echo "$as_me:$LINENO: checking for $ac_word" >&5
25845echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25846if test "${ac_cv_prog_DEREZ+set}" = set; then
25847 echo $ECHO_N "(cached) $ECHO_C" >&6
25848else
25849 if test -n "$DEREZ"; then
25850 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25851else
25852as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25853for as_dir in $PATH
25854do
25855 IFS=$as_save_IFS
25856 test -z "$as_dir" && as_dir=.
25857 for ac_exec_ext in '' $ac_executable_extensions; do
25858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25859 ac_cv_prog_DEREZ="DeRez"
25860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25861 break 2
25862 fi
25863done
25864done
25865
25866 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25867fi
25868fi
25869DEREZ=$ac_cv_prog_DEREZ
25870if test -n "$DEREZ"; then
25871 echo "$as_me:$LINENO: result: $DEREZ" >&5
25872echo "${ECHO_T}$DEREZ" >&6
25873else
25874 echo "$as_me:$LINENO: result: no" >&5
25875echo "${ECHO_T}no" >&6
25876fi
25877
25878 # Extract the first word of "SetFile", so it can be a program name with args.
25879set dummy SetFile; ac_word=$2
25880echo "$as_me:$LINENO: checking for $ac_word" >&5
25881echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25882if test "${ac_cv_prog_SETFILE+set}" = set; then
25883 echo $ECHO_N "(cached) $ECHO_C" >&6
25884else
25885 if test -n "$SETFILE"; then
25886 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25887else
25888as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25889for as_dir in $PATH
25890do
25891 IFS=$as_save_IFS
25892 test -z "$as_dir" && as_dir=.
25893 for ac_exec_ext in '' $ac_executable_extensions; do
25894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25895 ac_cv_prog_SETFILE="SetFile"
25896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25897 break 2
25898 fi
25899done
25900done
25901
25902 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25903fi
25904fi
25905SETFILE=$ac_cv_prog_SETFILE
25906if test -n "$SETFILE"; then
25907 echo "$as_me:$LINENO: result: $SETFILE" >&5
25908echo "${ECHO_T}$SETFILE" >&6
25909else
25910 echo "$as_me:$LINENO: result: no" >&5
25911echo "${ECHO_T}no" >&6
25912fi
25913
25914 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25915 MACSETFILE="\$(SETFILE)"
25916 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25917else
25918 if test "$wxUSE_PM" = 1; then
25919 MACRESCOMP="emxbind -ep"
25920 fi
25921fi
25922
25923
25924echo "$as_me:$LINENO: checking for mode_t" >&5
25925echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25926if test "${ac_cv_type_mode_t+set}" = set; then
25927 echo $ECHO_N "(cached) $ECHO_C" >&6
25928else
25929 cat >conftest.$ac_ext <<_ACEOF
25930#line $LINENO "configure"
25931/* confdefs.h. */
25932_ACEOF
25933cat confdefs.h >>conftest.$ac_ext
25934cat >>conftest.$ac_ext <<_ACEOF
25935/* end confdefs.h. */
25936$ac_includes_default
25937int
25938main ()
25939{
25940if ((mode_t *) 0)
25941 return 0;
25942if (sizeof (mode_t))
25943 return 0;
25944 ;
25945 return 0;
25946}
25947_ACEOF
25948rm -f conftest.$ac_objext
25949if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25950 (eval $ac_compile) 2>&5
25951 ac_status=$?
25952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25953 (exit $ac_status); } &&
25954 { ac_try='test -s conftest.$ac_objext'
25955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25956 (eval $ac_try) 2>&5
25957 ac_status=$?
25958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25959 (exit $ac_status); }; }; then
25960 ac_cv_type_mode_t=yes
25961else
25962 echo "$as_me: failed program was:" >&5
25963sed 's/^/| /' conftest.$ac_ext >&5
25964
25965ac_cv_type_mode_t=no
25966fi
25967rm -f conftest.$ac_objext conftest.$ac_ext
25968fi
25969echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25970echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25971if test $ac_cv_type_mode_t = yes; then
25972 :
25973else
25974
25975cat >>confdefs.h <<_ACEOF
25976#define mode_t int
25977_ACEOF
25978
25979fi
25980
25981echo "$as_me:$LINENO: checking for off_t" >&5
25982echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25983if test "${ac_cv_type_off_t+set}" = set; then
25984 echo $ECHO_N "(cached) $ECHO_C" >&6
25985else
25986 cat >conftest.$ac_ext <<_ACEOF
25987#line $LINENO "configure"
25988/* confdefs.h. */
25989_ACEOF
25990cat confdefs.h >>conftest.$ac_ext
25991cat >>conftest.$ac_ext <<_ACEOF
25992/* end confdefs.h. */
25993$ac_includes_default
25994int
25995main ()
25996{
25997if ((off_t *) 0)
25998 return 0;
25999if (sizeof (off_t))
26000 return 0;
26001 ;
26002 return 0;
26003}
26004_ACEOF
26005rm -f conftest.$ac_objext
26006if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26007 (eval $ac_compile) 2>&5
26008 ac_status=$?
26009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010 (exit $ac_status); } &&
26011 { ac_try='test -s conftest.$ac_objext'
26012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26013 (eval $ac_try) 2>&5
26014 ac_status=$?
26015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26016 (exit $ac_status); }; }; then
26017 ac_cv_type_off_t=yes
26018else
26019 echo "$as_me: failed program was:" >&5
26020sed 's/^/| /' conftest.$ac_ext >&5
26021
26022ac_cv_type_off_t=no
26023fi
26024rm -f conftest.$ac_objext conftest.$ac_ext
26025fi
26026echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
26027echo "${ECHO_T}$ac_cv_type_off_t" >&6
26028if test $ac_cv_type_off_t = yes; then
26029 :
26030else
26031
26032cat >>confdefs.h <<_ACEOF
26033#define off_t long
26034_ACEOF
26035
26036fi
26037
26038echo "$as_me:$LINENO: checking for pid_t" >&5
26039echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
26040if test "${ac_cv_type_pid_t+set}" = set; then
26041 echo $ECHO_N "(cached) $ECHO_C" >&6
26042else
26043 cat >conftest.$ac_ext <<_ACEOF
26044#line $LINENO "configure"
26045/* confdefs.h. */
26046_ACEOF
26047cat confdefs.h >>conftest.$ac_ext
26048cat >>conftest.$ac_ext <<_ACEOF
26049/* end confdefs.h. */
26050$ac_includes_default
26051int
26052main ()
26053{
26054if ((pid_t *) 0)
26055 return 0;
26056if (sizeof (pid_t))
26057 return 0;
26058 ;
26059 return 0;
26060}
26061_ACEOF
26062rm -f conftest.$ac_objext
26063if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26064 (eval $ac_compile) 2>&5
26065 ac_status=$?
26066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26067 (exit $ac_status); } &&
26068 { ac_try='test -s conftest.$ac_objext'
26069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26070 (eval $ac_try) 2>&5
26071 ac_status=$?
26072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26073 (exit $ac_status); }; }; then
26074 ac_cv_type_pid_t=yes
26075else
26076 echo "$as_me: failed program was:" >&5
26077sed 's/^/| /' conftest.$ac_ext >&5
26078
26079ac_cv_type_pid_t=no
26080fi
26081rm -f conftest.$ac_objext conftest.$ac_ext
26082fi
26083echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
26084echo "${ECHO_T}$ac_cv_type_pid_t" >&6
26085if test $ac_cv_type_pid_t = yes; then
26086 :
26087else
26088
26089cat >>confdefs.h <<_ACEOF
26090#define pid_t int
26091_ACEOF
26092
26093fi
26094
26095echo "$as_me:$LINENO: checking for size_t" >&5
26096echo $ECHO_N "checking for size_t... $ECHO_C" >&6
26097if test "${ac_cv_type_size_t+set}" = set; then
26098 echo $ECHO_N "(cached) $ECHO_C" >&6
26099else
26100 cat >conftest.$ac_ext <<_ACEOF
26101#line $LINENO "configure"
26102/* confdefs.h. */
26103_ACEOF
26104cat confdefs.h >>conftest.$ac_ext
26105cat >>conftest.$ac_ext <<_ACEOF
26106/* end confdefs.h. */
26107$ac_includes_default
26108int
26109main ()
26110{
26111if ((size_t *) 0)
26112 return 0;
26113if (sizeof (size_t))
26114 return 0;
26115 ;
26116 return 0;
26117}
26118_ACEOF
26119rm -f conftest.$ac_objext
26120if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26121 (eval $ac_compile) 2>&5
26122 ac_status=$?
26123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26124 (exit $ac_status); } &&
26125 { ac_try='test -s conftest.$ac_objext'
26126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26127 (eval $ac_try) 2>&5
26128 ac_status=$?
26129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26130 (exit $ac_status); }; }; then
26131 ac_cv_type_size_t=yes
26132else
26133 echo "$as_me: failed program was:" >&5
26134sed 's/^/| /' conftest.$ac_ext >&5
26135
26136ac_cv_type_size_t=no
26137fi
26138rm -f conftest.$ac_objext conftest.$ac_ext
26139fi
26140echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26141echo "${ECHO_T}$ac_cv_type_size_t" >&6
26142if test $ac_cv_type_size_t = yes; then
26143 :
26144else
26145
26146cat >>confdefs.h <<_ACEOF
26147#define size_t unsigned
26148_ACEOF
26149
26150fi
26151
26152echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
26153echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
26154if test "${ac_cv_type_uid_t+set}" = set; then
26155 echo $ECHO_N "(cached) $ECHO_C" >&6
26156else
26157 cat >conftest.$ac_ext <<_ACEOF
26158#line $LINENO "configure"
26159/* confdefs.h. */
26160_ACEOF
26161cat confdefs.h >>conftest.$ac_ext
26162cat >>conftest.$ac_ext <<_ACEOF
26163/* end confdefs.h. */
26164#include <sys/types.h>
26165
26166_ACEOF
26167if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26168 $EGREP "uid_t" >/dev/null 2>&1; then
26169 ac_cv_type_uid_t=yes
26170else
26171 ac_cv_type_uid_t=no
26172fi
26173rm -f conftest*
26174
26175fi
26176echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
26177echo "${ECHO_T}$ac_cv_type_uid_t" >&6
26178if test $ac_cv_type_uid_t = no; then
26179
26180cat >>confdefs.h <<\_ACEOF
26181#define uid_t int
26182_ACEOF
26183
26184
26185cat >>confdefs.h <<\_ACEOF
26186#define gid_t int
26187_ACEOF
26188
26189fi
26190
26191
26192
26193
26194ac_ext=cc
26195ac_cpp='$CXXCPP $CPPFLAGS'
26196ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26197ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26198ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26199
26200echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
26201echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
26202if test "${wx_cv_size_t_is_uint+set}" = set; then
26203 echo $ECHO_N "(cached) $ECHO_C" >&6
26204else
26205
26206 cat >conftest.$ac_ext <<_ACEOF
26207#line $LINENO "configure"
26208/* confdefs.h. */
26209_ACEOF
26210cat confdefs.h >>conftest.$ac_ext
26211cat >>conftest.$ac_ext <<_ACEOF
26212/* end confdefs.h. */
26213#include <stddef.h>
26214int
26215main ()
26216{
26217
26218 return 0; }
26219
26220 struct Foo { void foo(size_t); void foo(unsigned int); };
26221
26222 int bar() {
26223
26224 ;
26225 return 0;
26226}
26227_ACEOF
26228rm -f conftest.$ac_objext
26229if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26230 (eval $ac_compile) 2>&5
26231 ac_status=$?
26232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26233 (exit $ac_status); } &&
26234 { ac_try='test -s conftest.$ac_objext'
26235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26236 (eval $ac_try) 2>&5
26237 ac_status=$?
26238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26239 (exit $ac_status); }; }; then
26240 wx_cv_size_t_is_uint=no
26241else
26242 echo "$as_me: failed program was:" >&5
26243sed 's/^/| /' conftest.$ac_ext >&5
26244
26245wx_cv_size_t_is_uint=yes
26246
26247fi
26248rm -f conftest.$ac_objext conftest.$ac_ext
26249
26250
26251fi
26252echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26253echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26254
26255if test "$wx_cv_size_t_is_uint" = "yes"; then
26256 cat >>confdefs.h <<\_ACEOF
26257#define wxSIZE_T_IS_UINT 1
26258_ACEOF
26259
26260else
26261 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26262echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26263if test "${wx_cv_size_t_is_ulong+set}" = set; then
26264 echo $ECHO_N "(cached) $ECHO_C" >&6
26265else
26266 cat >conftest.$ac_ext <<_ACEOF
26267#line $LINENO "configure"
26268/* confdefs.h. */
26269_ACEOF
26270cat confdefs.h >>conftest.$ac_ext
26271cat >>conftest.$ac_ext <<_ACEOF
26272/* end confdefs.h. */
26273#include <stddef.h>
26274int
26275main ()
26276{
26277
26278 return 0; }
26279
26280 struct Foo { void foo(size_t); void foo(unsigned long); };
26281
26282 int bar() {
26283
26284 ;
26285 return 0;
26286}
26287_ACEOF
26288rm -f conftest.$ac_objext
26289if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26290 (eval $ac_compile) 2>&5
26291 ac_status=$?
26292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26293 (exit $ac_status); } &&
26294 { ac_try='test -s conftest.$ac_objext'
26295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26296 (eval $ac_try) 2>&5
26297 ac_status=$?
26298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26299 (exit $ac_status); }; }; then
26300 wx_cv_size_t_is_ulong=no
26301else
26302 echo "$as_me: failed program was:" >&5
26303sed 's/^/| /' conftest.$ac_ext >&5
26304
26305wx_cv_size_t_is_ulong=yes
26306
26307fi
26308rm -f conftest.$ac_objext conftest.$ac_ext
26309
26310fi
26311echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26312echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26313
26314 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26315 cat >>confdefs.h <<\_ACEOF
26316#define wxSIZE_T_IS_ULONG 1
26317_ACEOF
26318
26319 fi
26320fi
26321
26322ac_ext=c
26323ac_cpp='$CPP $CPPFLAGS'
26324ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26325ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26326ac_compiler_gnu=$ac_cv_c_compiler_gnu
26327
26328
26329
26330echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26331echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26332if test "${wx_cv_struct_pw_gecos+set}" = set; then
26333 echo $ECHO_N "(cached) $ECHO_C" >&6
26334else
26335
26336 cat >conftest.$ac_ext <<_ACEOF
26337#line $LINENO "configure"
26338/* confdefs.h. */
26339_ACEOF
26340cat confdefs.h >>conftest.$ac_ext
26341cat >>conftest.$ac_ext <<_ACEOF
26342/* end confdefs.h. */
26343#include <pwd.h>
26344int
26345main ()
26346{
26347
26348 char *p;
26349 struct passwd *pw;
26350 p = pw->pw_gecos;
26351
26352 ;
26353 return 0;
26354}
26355_ACEOF
26356rm -f conftest.$ac_objext
26357if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26358 (eval $ac_compile) 2>&5
26359 ac_status=$?
26360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361 (exit $ac_status); } &&
26362 { ac_try='test -s conftest.$ac_objext'
26363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26364 (eval $ac_try) 2>&5
26365 ac_status=$?
26366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26367 (exit $ac_status); }; }; then
26368
26369 wx_cv_struct_pw_gecos=yes
26370
26371else
26372 echo "$as_me: failed program was:" >&5
26373sed 's/^/| /' conftest.$ac_ext >&5
26374
26375
26376 wx_cv_struct_pw_gecos=no
26377
26378
26379fi
26380rm -f conftest.$ac_objext conftest.$ac_ext
26381
26382
26383fi
26384echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26385echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26386
26387if test "$wx_cv_struct_pw_gecos" = "yes"; then
26388 cat >>confdefs.h <<\_ACEOF
26389#define HAVE_PW_GECOS 1
26390_ACEOF
26391
26392fi
26393
26394
26395if test "$wx_cv_sizeof_wchar_t" != "0"; then
26396 cat >>confdefs.h <<\_ACEOF
26397#define wxUSE_WCHAR_T 1
26398_ACEOF
26399
26400
26401 WCSLEN_FOUND=0
26402 WCHAR_LINK=
26403
26404for ac_func in wcslen
26405do
26406as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26407echo "$as_me:$LINENO: checking for $ac_func" >&5
26408echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26409if eval "test \"\${$as_ac_var+set}\" = set"; then
26410 echo $ECHO_N "(cached) $ECHO_C" >&6
26411else
26412 cat >conftest.$ac_ext <<_ACEOF
26413#line $LINENO "configure"
26414/* confdefs.h. */
26415_ACEOF
26416cat confdefs.h >>conftest.$ac_ext
26417cat >>conftest.$ac_ext <<_ACEOF
26418/* end confdefs.h. */
26419/* System header to define __stub macros and hopefully few prototypes,
26420 which can conflict with char $ac_func (); below.
26421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26422 <limits.h> exists even on freestanding compilers. */
26423#ifdef __STDC__
26424# include <limits.h>
26425#else
26426# include <assert.h>
26427#endif
26428/* Override any gcc2 internal prototype to avoid an error. */
26429#ifdef __cplusplus
26430extern "C"
26431{
26432#endif
26433/* We use char because int might match the return type of a gcc2
26434 builtin and then its argument prototype would still apply. */
26435char $ac_func ();
26436/* The GNU C library defines this for functions which it implements
26437 to always fail with ENOSYS. Some functions are actually named
26438 something starting with __ and the normal name is an alias. */
26439#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26440choke me
26441#else
26442char (*f) () = $ac_func;
26443#endif
26444#ifdef __cplusplus
26445}
26446#endif
26447
26448int
26449main ()
26450{
26451return f != $ac_func;
26452 ;
26453 return 0;
26454}
26455_ACEOF
26456rm -f conftest.$ac_objext conftest$ac_exeext
26457if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26458 (eval $ac_link) 2>&5
26459 ac_status=$?
26460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26461 (exit $ac_status); } &&
26462 { ac_try='test -s conftest$ac_exeext'
26463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26464 (eval $ac_try) 2>&5
26465 ac_status=$?
26466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26467 (exit $ac_status); }; }; then
26468 eval "$as_ac_var=yes"
26469else
26470 echo "$as_me: failed program was:" >&5
26471sed 's/^/| /' conftest.$ac_ext >&5
26472
26473eval "$as_ac_var=no"
26474fi
26475rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26476fi
26477echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26478echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26479if test `eval echo '${'$as_ac_var'}'` = yes; then
26480 cat >>confdefs.h <<_ACEOF
26481#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26482_ACEOF
26483 WCSLEN_FOUND=1
26484fi
26485done
26486
26487
26488 if test "$WCSLEN_FOUND" = 0; then
26489 if test "$TOOLKIT" = "MSW"; then
26490 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26491echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26492if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26493 echo $ECHO_N "(cached) $ECHO_C" >&6
26494else
26495 ac_check_lib_save_LIBS=$LIBS
26496LIBS="-lmsvcrt $LIBS"
26497cat >conftest.$ac_ext <<_ACEOF
26498#line $LINENO "configure"
26499/* confdefs.h. */
26500_ACEOF
26501cat confdefs.h >>conftest.$ac_ext
26502cat >>conftest.$ac_ext <<_ACEOF
26503/* end confdefs.h. */
26504
26505/* Override any gcc2 internal prototype to avoid an error. */
26506#ifdef __cplusplus
26507extern "C"
26508#endif
26509/* We use char because int might match the return type of a gcc2
26510 builtin and then its argument prototype would still apply. */
26511char wcslen ();
26512int
26513main ()
26514{
26515wcslen ();
26516 ;
26517 return 0;
26518}
26519_ACEOF
26520rm -f conftest.$ac_objext conftest$ac_exeext
26521if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26522 (eval $ac_link) 2>&5
26523 ac_status=$?
26524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525 (exit $ac_status); } &&
26526 { ac_try='test -s conftest$ac_exeext'
26527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26528 (eval $ac_try) 2>&5
26529 ac_status=$?
26530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26531 (exit $ac_status); }; }; then
26532 ac_cv_lib_msvcrt_wcslen=yes
26533else
26534 echo "$as_me: failed program was:" >&5
26535sed 's/^/| /' conftest.$ac_ext >&5
26536
26537ac_cv_lib_msvcrt_wcslen=no
26538fi
26539rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26540LIBS=$ac_check_lib_save_LIBS
26541fi
26542echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26543echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26544if test $ac_cv_lib_msvcrt_wcslen = yes; then
26545 WCHAR_OK=1
26546fi
26547
26548 else
26549 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26550echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26551if test "${ac_cv_lib_w_wcslen+set}" = set; then
26552 echo $ECHO_N "(cached) $ECHO_C" >&6
26553else
26554 ac_check_lib_save_LIBS=$LIBS
26555LIBS="-lw $LIBS"
26556cat >conftest.$ac_ext <<_ACEOF
26557#line $LINENO "configure"
26558/* confdefs.h. */
26559_ACEOF
26560cat confdefs.h >>conftest.$ac_ext
26561cat >>conftest.$ac_ext <<_ACEOF
26562/* end confdefs.h. */
26563
26564/* Override any gcc2 internal prototype to avoid an error. */
26565#ifdef __cplusplus
26566extern "C"
26567#endif
26568/* We use char because int might match the return type of a gcc2
26569 builtin and then its argument prototype would still apply. */
26570char wcslen ();
26571int
26572main ()
26573{
26574wcslen ();
26575 ;
26576 return 0;
26577}
26578_ACEOF
26579rm -f conftest.$ac_objext conftest$ac_exeext
26580if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26581 (eval $ac_link) 2>&5
26582 ac_status=$?
26583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26584 (exit $ac_status); } &&
26585 { ac_try='test -s conftest$ac_exeext'
26586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26587 (eval $ac_try) 2>&5
26588 ac_status=$?
26589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26590 (exit $ac_status); }; }; then
26591 ac_cv_lib_w_wcslen=yes
26592else
26593 echo "$as_me: failed program was:" >&5
26594sed 's/^/| /' conftest.$ac_ext >&5
26595
26596ac_cv_lib_w_wcslen=no
26597fi
26598rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26599LIBS=$ac_check_lib_save_LIBS
26600fi
26601echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26602echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26603if test $ac_cv_lib_w_wcslen = yes; then
26604
26605 WCHAR_LINK=" -lw"
26606 WCSLEN_FOUND=1
26607
26608fi
26609
26610 fi
26611 fi
26612
26613 if test "$WCSLEN_FOUND" = 1; then
26614 cat >>confdefs.h <<\_ACEOF
26615#define HAVE_WCSLEN 1
26616_ACEOF
26617
26618 fi
26619
26620
26621for ac_func in wcsrtombs
26622do
26623as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26624echo "$as_me:$LINENO: checking for $ac_func" >&5
26625echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26626if eval "test \"\${$as_ac_var+set}\" = set"; then
26627 echo $ECHO_N "(cached) $ECHO_C" >&6
26628else
26629 cat >conftest.$ac_ext <<_ACEOF
26630#line $LINENO "configure"
26631/* confdefs.h. */
26632_ACEOF
26633cat confdefs.h >>conftest.$ac_ext
26634cat >>conftest.$ac_ext <<_ACEOF
26635/* end confdefs.h. */
26636/* System header to define __stub macros and hopefully few prototypes,
26637 which can conflict with char $ac_func (); below.
26638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26639 <limits.h> exists even on freestanding compilers. */
26640#ifdef __STDC__
26641# include <limits.h>
26642#else
26643# include <assert.h>
26644#endif
26645/* Override any gcc2 internal prototype to avoid an error. */
26646#ifdef __cplusplus
26647extern "C"
26648{
26649#endif
26650/* We use char because int might match the return type of a gcc2
26651 builtin and then its argument prototype would still apply. */
26652char $ac_func ();
26653/* The GNU C library defines this for functions which it implements
26654 to always fail with ENOSYS. Some functions are actually named
26655 something starting with __ and the normal name is an alias. */
26656#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26657choke me
26658#else
26659char (*f) () = $ac_func;
26660#endif
26661#ifdef __cplusplus
26662}
26663#endif
26664
26665int
26666main ()
26667{
26668return f != $ac_func;
26669 ;
26670 return 0;
26671}
26672_ACEOF
26673rm -f conftest.$ac_objext conftest$ac_exeext
26674if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26675 (eval $ac_link) 2>&5
26676 ac_status=$?
26677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678 (exit $ac_status); } &&
26679 { ac_try='test -s conftest$ac_exeext'
26680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26681 (eval $ac_try) 2>&5
26682 ac_status=$?
26683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26684 (exit $ac_status); }; }; then
26685 eval "$as_ac_var=yes"
26686else
26687 echo "$as_me: failed program was:" >&5
26688sed 's/^/| /' conftest.$ac_ext >&5
26689
26690eval "$as_ac_var=no"
26691fi
26692rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26693fi
26694echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26695echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26696if test `eval echo '${'$as_ac_var'}'` = yes; then
26697 cat >>confdefs.h <<_ACEOF
26698#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26699_ACEOF
26700
26701fi
26702done
26703
26704else
26705 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26706echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26707fi
26708
26709
26710
26711ac_ext=cc
26712ac_cpp='$CXXCPP $CPPFLAGS'
26713ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26714ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26715ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26716
26717
26718
26719for ac_func in vsnprintf
26720do
26721as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26722echo "$as_me:$LINENO: checking for $ac_func" >&5
26723echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26724if eval "test \"\${$as_ac_var+set}\" = set"; then
26725 echo $ECHO_N "(cached) $ECHO_C" >&6
26726else
26727 cat >conftest.$ac_ext <<_ACEOF
26728#line $LINENO "configure"
26729/* confdefs.h. */
26730_ACEOF
26731cat confdefs.h >>conftest.$ac_ext
26732cat >>conftest.$ac_ext <<_ACEOF
26733/* end confdefs.h. */
26734/* System header to define __stub macros and hopefully few prototypes,
26735 which can conflict with char $ac_func (); below.
26736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26737 <limits.h> exists even on freestanding compilers. */
26738#ifdef __STDC__
26739# include <limits.h>
26740#else
26741# include <assert.h>
26742#endif
26743/* Override any gcc2 internal prototype to avoid an error. */
26744#ifdef __cplusplus
26745extern "C"
26746{
26747#endif
26748/* We use char because int might match the return type of a gcc2
26749 builtin and then its argument prototype would still apply. */
26750char $ac_func ();
26751/* The GNU C library defines this for functions which it implements
26752 to always fail with ENOSYS. Some functions are actually named
26753 something starting with __ and the normal name is an alias. */
26754#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26755choke me
26756#else
26757char (*f) () = $ac_func;
26758#endif
26759#ifdef __cplusplus
26760}
26761#endif
26762
26763int
26764main ()
26765{
26766return f != $ac_func;
26767 ;
26768 return 0;
26769}
26770_ACEOF
26771rm -f conftest.$ac_objext conftest$ac_exeext
26772if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26773 (eval $ac_link) 2>&5
26774 ac_status=$?
26775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26776 (exit $ac_status); } &&
26777 { ac_try='test -s conftest$ac_exeext'
26778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26779 (eval $ac_try) 2>&5
26780 ac_status=$?
26781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26782 (exit $ac_status); }; }; then
26783 eval "$as_ac_var=yes"
26784else
26785 echo "$as_me: failed program was:" >&5
26786sed 's/^/| /' conftest.$ac_ext >&5
26787
26788eval "$as_ac_var=no"
26789fi
26790rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26791fi
26792echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26793echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26794if test `eval echo '${'$as_ac_var'}'` = yes; then
26795 cat >>confdefs.h <<_ACEOF
26796#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26797_ACEOF
26798
26799fi
26800done
26801
26802
26803if test "$ac_cv_func_vsnprintf" = "yes"; then
26804 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26805echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26806if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26807 echo $ECHO_N "(cached) $ECHO_C" >&6
26808else
26809
26810 cat >conftest.$ac_ext <<_ACEOF
26811#line $LINENO "configure"
26812/* confdefs.h. */
26813_ACEOF
26814cat confdefs.h >>conftest.$ac_ext
26815cat >>conftest.$ac_ext <<_ACEOF
26816/* end confdefs.h. */
26817
26818 #include <stdio.h>
26819 #include <stdarg.h>
26820
26821int
26822main ()
26823{
26824
26825 char *buf;
26826 va_list ap;
26827 vsnprintf(buf, 10u, "%s", ap);
26828
26829 ;
26830 return 0;
26831}
26832_ACEOF
26833rm -f conftest.$ac_objext
26834if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26835 (eval $ac_compile) 2>&5
26836 ac_status=$?
26837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26838 (exit $ac_status); } &&
26839 { ac_try='test -s conftest.$ac_objext'
26840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26841 (eval $ac_try) 2>&5
26842 ac_status=$?
26843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26844 (exit $ac_status); }; }; then
26845 wx_cv_func_vsnprintf_decl=yes
26846else
26847 echo "$as_me: failed program was:" >&5
26848sed 's/^/| /' conftest.$ac_ext >&5
26849
26850wx_cv_func_vsnprintf_decl=no
26851
26852fi
26853rm -f conftest.$ac_objext conftest.$ac_ext
26854
26855
26856fi
26857echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26858echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26859
26860 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26861 cat >>confdefs.h <<\_ACEOF
26862#define HAVE_VSNPRINTF_DECL 1
26863_ACEOF
26864
26865 fi
26866fi
26867
26868if test "$wxUSE_UNICODE" = yes; then
26869
26870
26871
26872for ac_func in fputwc wprintf vswprintf
26873do
26874as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26875echo "$as_me:$LINENO: checking for $ac_func" >&5
26876echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26877if eval "test \"\${$as_ac_var+set}\" = set"; then
26878 echo $ECHO_N "(cached) $ECHO_C" >&6
26879else
26880 cat >conftest.$ac_ext <<_ACEOF
26881#line $LINENO "configure"
26882/* confdefs.h. */
26883_ACEOF
26884cat confdefs.h >>conftest.$ac_ext
26885cat >>conftest.$ac_ext <<_ACEOF
26886/* end confdefs.h. */
26887/* System header to define __stub macros and hopefully few prototypes,
26888 which can conflict with char $ac_func (); below.
26889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26890 <limits.h> exists even on freestanding compilers. */
26891#ifdef __STDC__
26892# include <limits.h>
26893#else
26894# include <assert.h>
26895#endif
26896/* Override any gcc2 internal prototype to avoid an error. */
26897#ifdef __cplusplus
26898extern "C"
26899{
26900#endif
26901/* We use char because int might match the return type of a gcc2
26902 builtin and then its argument prototype would still apply. */
26903char $ac_func ();
26904/* The GNU C library defines this for functions which it implements
26905 to always fail with ENOSYS. Some functions are actually named
26906 something starting with __ and the normal name is an alias. */
26907#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26908choke me
26909#else
26910char (*f) () = $ac_func;
26911#endif
26912#ifdef __cplusplus
26913}
26914#endif
26915
26916int
26917main ()
26918{
26919return f != $ac_func;
26920 ;
26921 return 0;
26922}
26923_ACEOF
26924rm -f conftest.$ac_objext conftest$ac_exeext
26925if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26926 (eval $ac_link) 2>&5
26927 ac_status=$?
26928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26929 (exit $ac_status); } &&
26930 { ac_try='test -s conftest$ac_exeext'
26931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26932 (eval $ac_try) 2>&5
26933 ac_status=$?
26934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26935 (exit $ac_status); }; }; then
26936 eval "$as_ac_var=yes"
26937else
26938 echo "$as_me: failed program was:" >&5
26939sed 's/^/| /' conftest.$ac_ext >&5
26940
26941eval "$as_ac_var=no"
26942fi
26943rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26944fi
26945echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26946echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26947if test `eval echo '${'$as_ac_var'}'` = yes; then
26948 cat >>confdefs.h <<_ACEOF
26949#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26950_ACEOF
26951
26952fi
26953done
26954
26955
26956 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26957echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26958 cat >conftest.$ac_ext <<_ACEOF
26959#line $LINENO "configure"
26960/* confdefs.h. */
26961_ACEOF
26962cat confdefs.h >>conftest.$ac_ext
26963cat >>conftest.$ac_ext <<_ACEOF
26964/* end confdefs.h. */
26965#include <wchar.h>
26966int
26967main ()
26968{
26969&_vsnwprintf;
26970 ;
26971 return 0;
26972}
26973_ACEOF
26974rm -f conftest.$ac_objext
26975if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26976 (eval $ac_compile) 2>&5
26977 ac_status=$?
26978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26979 (exit $ac_status); } &&
26980 { ac_try='test -s conftest.$ac_objext'
26981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26982 (eval $ac_try) 2>&5
26983 ac_status=$?
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); }; }; then
26986 echo "$as_me:$LINENO: result: yes" >&5
26987echo "${ECHO_T}yes" >&6
26988 cat >>confdefs.h <<\_ACEOF
26989#define HAVE__VSNWPRINTF 1
26990_ACEOF
26991
26992else
26993 echo "$as_me: failed program was:" >&5
26994sed 's/^/| /' conftest.$ac_ext >&5
26995
26996echo "$as_me:$LINENO: result: no" >&5
26997echo "${ECHO_T}no" >&6
26998fi
26999rm -f conftest.$ac_objext conftest.$ac_ext;
27000fi
27001
27002ac_ext=c
27003ac_cpp='$CPP $CPPFLAGS'
27004ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27005ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27006ac_compiler_gnu=$ac_cv_c_compiler_gnu
27007
27008
27009
27010
27011if test "$TOOLKIT" != "MSW"; then
27012
27013
27014
27015
27016ac_ext=cc
27017ac_cpp='$CXXCPP $CPPFLAGS'
27018ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27019ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27020ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27021
27022
27023
27024
27025# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
27026if test "${with_libiconv_prefix+set}" = set; then
27027 withval="$with_libiconv_prefix"
27028
27029 for dir in `echo "$withval" | tr : ' '`; do
27030 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
27031 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
27032 done
27033
27034fi;
27035
27036 echo "$as_me:$LINENO: checking for iconv" >&5
27037echo $ECHO_N "checking for iconv... $ECHO_C" >&6
27038if test "${am_cv_func_iconv+set}" = set; then
27039 echo $ECHO_N "(cached) $ECHO_C" >&6
27040else
27041
27042 am_cv_func_iconv="no, consider installing GNU libiconv"
27043 am_cv_lib_iconv=no
27044 cat >conftest.$ac_ext <<_ACEOF
27045#line $LINENO "configure"
27046/* confdefs.h. */
27047_ACEOF
27048cat confdefs.h >>conftest.$ac_ext
27049cat >>conftest.$ac_ext <<_ACEOF
27050/* end confdefs.h. */
27051#include <stdlib.h>
27052#include <iconv.h>
27053int
27054main ()
27055{
27056iconv_t cd = iconv_open("","");
27057 iconv(cd,NULL,NULL,NULL,NULL);
27058 iconv_close(cd);
27059 ;
27060 return 0;
27061}
27062_ACEOF
27063rm -f conftest.$ac_objext conftest$ac_exeext
27064if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27065 (eval $ac_link) 2>&5
27066 ac_status=$?
27067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27068 (exit $ac_status); } &&
27069 { ac_try='test -s conftest$ac_exeext'
27070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27071 (eval $ac_try) 2>&5
27072 ac_status=$?
27073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27074 (exit $ac_status); }; }; then
27075 am_cv_func_iconv=yes
27076else
27077 echo "$as_me: failed program was:" >&5
27078sed 's/^/| /' conftest.$ac_ext >&5
27079
27080fi
27081rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27082 if test "$am_cv_func_iconv" != yes; then
27083 am_save_LIBS="$LIBS"
27084 LIBS="$LIBS -liconv"
27085 cat >conftest.$ac_ext <<_ACEOF
27086#line $LINENO "configure"
27087/* confdefs.h. */
27088_ACEOF
27089cat confdefs.h >>conftest.$ac_ext
27090cat >>conftest.$ac_ext <<_ACEOF
27091/* end confdefs.h. */
27092#include <stdlib.h>
27093#include <iconv.h>
27094int
27095main ()
27096{
27097iconv_t cd = iconv_open("","");
27098 iconv(cd,NULL,NULL,NULL,NULL);
27099 iconv_close(cd);
27100 ;
27101 return 0;
27102}
27103_ACEOF
27104rm -f conftest.$ac_objext conftest$ac_exeext
27105if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27106 (eval $ac_link) 2>&5
27107 ac_status=$?
27108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27109 (exit $ac_status); } &&
27110 { ac_try='test -s conftest$ac_exeext'
27111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27112 (eval $ac_try) 2>&5
27113 ac_status=$?
27114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27115 (exit $ac_status); }; }; then
27116 am_cv_lib_iconv=yes
27117 am_cv_func_iconv=yes
27118else
27119 echo "$as_me: failed program was:" >&5
27120sed 's/^/| /' conftest.$ac_ext >&5
27121
27122fi
27123rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27124 LIBS="$am_save_LIBS"
27125 fi
27126
27127fi
27128echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
27129echo "${ECHO_T}$am_cv_func_iconv" >&6
27130 if test "$am_cv_func_iconv" = yes; then
27131
27132cat >>confdefs.h <<\_ACEOF
27133#define HAVE_ICONV 1
27134_ACEOF
27135
27136 echo "$as_me:$LINENO: checking if iconv needs const" >&5
27137echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
27138if test "${wx_cv_func_iconv_const+set}" = set; then
27139 echo $ECHO_N "(cached) $ECHO_C" >&6
27140else
27141 cat >conftest.$ac_ext <<_ACEOF
27142#line $LINENO "configure"
27143/* confdefs.h. */
27144_ACEOF
27145cat confdefs.h >>conftest.$ac_ext
27146cat >>conftest.$ac_ext <<_ACEOF
27147/* end confdefs.h. */
27148
27149#include <stdlib.h>
27150#include <iconv.h>
27151extern
27152#ifdef __cplusplus
27153"C"
27154#endif
27155#if defined(__STDC__) || defined(__cplusplus)
27156size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27157#else
27158size_t iconv();
27159#endif
27160
27161int
27162main ()
27163{
27164
27165 ;
27166 return 0;
27167}
27168_ACEOF
27169rm -f conftest.$ac_objext
27170if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27171 (eval $ac_compile) 2>&5
27172 ac_status=$?
27173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27174 (exit $ac_status); } &&
27175 { ac_try='test -s conftest.$ac_objext'
27176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27177 (eval $ac_try) 2>&5
27178 ac_status=$?
27179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27180 (exit $ac_status); }; }; then
27181 wx_cv_func_iconv_const="no"
27182else
27183 echo "$as_me: failed program was:" >&5
27184sed 's/^/| /' conftest.$ac_ext >&5
27185
27186wx_cv_func_iconv_const="yes"
27187
27188fi
27189rm -f conftest.$ac_objext conftest.$ac_ext
27190
27191fi
27192echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
27193echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
27194
27195 iconv_const=
27196 if test "x$wx_cv_func_iconv_const" = "xyes"; then
27197 iconv_const="const"
27198 fi
27199
27200
27201cat >>confdefs.h <<_ACEOF
27202#define ICONV_CONST $iconv_const
27203_ACEOF
27204
27205 fi
27206 LIBICONV=
27207 if test "$am_cv_lib_iconv" = yes; then
27208 LIBICONV="-liconv"
27209 fi
27210
27211
27212LIBS="$LIBICONV $LIBS"
27213ac_ext=c
27214ac_cpp='$CPP $CPPFLAGS'
27215ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27216ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27217ac_compiler_gnu=$ac_cv_c_compiler_gnu
27218
27219
27220if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
27221
27222for ac_func in sigaction
27223do
27224as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27225echo "$as_me:$LINENO: checking for $ac_func" >&5
27226echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27227if eval "test \"\${$as_ac_var+set}\" = set"; then
27228 echo $ECHO_N "(cached) $ECHO_C" >&6
27229else
27230 cat >conftest.$ac_ext <<_ACEOF
27231#line $LINENO "configure"
27232/* confdefs.h. */
27233_ACEOF
27234cat confdefs.h >>conftest.$ac_ext
27235cat >>conftest.$ac_ext <<_ACEOF
27236/* end confdefs.h. */
27237/* System header to define __stub macros and hopefully few prototypes,
27238 which can conflict with char $ac_func (); below.
27239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27240 <limits.h> exists even on freestanding compilers. */
27241#ifdef __STDC__
27242# include <limits.h>
27243#else
27244# include <assert.h>
27245#endif
27246/* Override any gcc2 internal prototype to avoid an error. */
27247#ifdef __cplusplus
27248extern "C"
27249{
27250#endif
27251/* We use char because int might match the return type of a gcc2
27252 builtin and then its argument prototype would still apply. */
27253char $ac_func ();
27254/* The GNU C library defines this for functions which it implements
27255 to always fail with ENOSYS. Some functions are actually named
27256 something starting with __ and the normal name is an alias. */
27257#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27258choke me
27259#else
27260char (*f) () = $ac_func;
27261#endif
27262#ifdef __cplusplus
27263}
27264#endif
27265
27266int
27267main ()
27268{
27269return f != $ac_func;
27270 ;
27271 return 0;
27272}
27273_ACEOF
27274rm -f conftest.$ac_objext conftest$ac_exeext
27275if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27276 (eval $ac_link) 2>&5
27277 ac_status=$?
27278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27279 (exit $ac_status); } &&
27280 { ac_try='test -s conftest$ac_exeext'
27281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27282 (eval $ac_try) 2>&5
27283 ac_status=$?
27284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27285 (exit $ac_status); }; }; then
27286 eval "$as_ac_var=yes"
27287else
27288 echo "$as_me: failed program was:" >&5
27289sed 's/^/| /' conftest.$ac_ext >&5
27290
27291eval "$as_ac_var=no"
27292fi
27293rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27294fi
27295echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27296echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27297if test `eval echo '${'$as_ac_var'}'` = yes; then
27298 cat >>confdefs.h <<_ACEOF
27299#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27300_ACEOF
27301
27302fi
27303done
27304
27305
27306 if test "$ac_cv_func_sigaction" = "no"; then
27307 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27308echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27309 wxUSE_ON_FATAL_EXCEPTION=no
27310 fi
27311
27312 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27313
27314
27315 ac_ext=cc
27316ac_cpp='$CXXCPP $CPPFLAGS'
27317ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27318ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27319ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27320
27321
27322 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27323echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27324if test "${wx_cv_type_sa_handler+set}" = set; then
27325 echo $ECHO_N "(cached) $ECHO_C" >&6
27326else
27327
27328 cat >conftest.$ac_ext <<_ACEOF
27329#line $LINENO "configure"
27330/* confdefs.h. */
27331_ACEOF
27332cat confdefs.h >>conftest.$ac_ext
27333cat >>conftest.$ac_ext <<_ACEOF
27334/* end confdefs.h. */
27335#include <signal.h>
27336int
27337main ()
27338{
27339
27340 extern void testSigHandler(int);
27341
27342 struct sigaction sa;
27343 sa.sa_handler = testSigHandler;
27344
27345 ;
27346 return 0;
27347}
27348_ACEOF
27349rm -f conftest.$ac_objext
27350if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27351 (eval $ac_compile) 2>&5
27352 ac_status=$?
27353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27354 (exit $ac_status); } &&
27355 { ac_try='test -s conftest.$ac_objext'
27356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27357 (eval $ac_try) 2>&5
27358 ac_status=$?
27359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27360 (exit $ac_status); }; }; then
27361
27362 wx_cv_type_sa_handler=int
27363
27364else
27365 echo "$as_me: failed program was:" >&5
27366sed 's/^/| /' conftest.$ac_ext >&5
27367
27368
27369 wx_cv_type_sa_handler=void
27370
27371fi
27372rm -f conftest.$ac_objext conftest.$ac_ext
27373
27374fi
27375echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27376echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27377
27378 ac_ext=c
27379ac_cpp='$CPP $CPPFLAGS'
27380ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27381ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27382ac_compiler_gnu=$ac_cv_c_compiler_gnu
27383
27384
27385 cat >>confdefs.h <<_ACEOF
27386#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27387_ACEOF
27388
27389 fi
27390fi
27391
27392
27393
27394for ac_func in mkstemp mktemp
27395do
27396as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27397echo "$as_me:$LINENO: checking for $ac_func" >&5
27398echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27399if eval "test \"\${$as_ac_var+set}\" = set"; then
27400 echo $ECHO_N "(cached) $ECHO_C" >&6
27401else
27402 cat >conftest.$ac_ext <<_ACEOF
27403#line $LINENO "configure"
27404/* confdefs.h. */
27405_ACEOF
27406cat confdefs.h >>conftest.$ac_ext
27407cat >>conftest.$ac_ext <<_ACEOF
27408/* end confdefs.h. */
27409/* System header to define __stub macros and hopefully few prototypes,
27410 which can conflict with char $ac_func (); below.
27411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27412 <limits.h> exists even on freestanding compilers. */
27413#ifdef __STDC__
27414# include <limits.h>
27415#else
27416# include <assert.h>
27417#endif
27418/* Override any gcc2 internal prototype to avoid an error. */
27419#ifdef __cplusplus
27420extern "C"
27421{
27422#endif
27423/* We use char because int might match the return type of a gcc2
27424 builtin and then its argument prototype would still apply. */
27425char $ac_func ();
27426/* The GNU C library defines this for functions which it implements
27427 to always fail with ENOSYS. Some functions are actually named
27428 something starting with __ and the normal name is an alias. */
27429#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27430choke me
27431#else
27432char (*f) () = $ac_func;
27433#endif
27434#ifdef __cplusplus
27435}
27436#endif
27437
27438int
27439main ()
27440{
27441return f != $ac_func;
27442 ;
27443 return 0;
27444}
27445_ACEOF
27446rm -f conftest.$ac_objext conftest$ac_exeext
27447if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27448 (eval $ac_link) 2>&5
27449 ac_status=$?
27450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27451 (exit $ac_status); } &&
27452 { ac_try='test -s conftest$ac_exeext'
27453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27454 (eval $ac_try) 2>&5
27455 ac_status=$?
27456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27457 (exit $ac_status); }; }; then
27458 eval "$as_ac_var=yes"
27459else
27460 echo "$as_me: failed program was:" >&5
27461sed 's/^/| /' conftest.$ac_ext >&5
27462
27463eval "$as_ac_var=no"
27464fi
27465rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27466fi
27467echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27468echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27469if test `eval echo '${'$as_ac_var'}'` = yes; then
27470 cat >>confdefs.h <<_ACEOF
27471#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27472_ACEOF
27473 break
27474fi
27475done
27476
27477
27478echo "$as_me:$LINENO: checking for statfs" >&5
27479echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27480if test "${wx_cv_func_statfs+set}" = set; then
27481 echo $ECHO_N "(cached) $ECHO_C" >&6
27482else
27483 cat >conftest.$ac_ext <<_ACEOF
27484#line $LINENO "configure"
27485/* confdefs.h. */
27486_ACEOF
27487cat confdefs.h >>conftest.$ac_ext
27488cat >>conftest.$ac_ext <<_ACEOF
27489/* end confdefs.h. */
27490
27491 #if defined(__BSD__)
27492 #include <sys/param.h>
27493 #include <sys/mount.h>
27494 #else
27495 #include <sys/vfs.h>
27496 #endif
27497
27498int
27499main ()
27500{
27501
27502 long l;
27503 struct statfs fs;
27504 statfs("/", &fs);
27505 l = fs.f_bsize;
27506 l += fs.f_blocks;
27507 l += fs.f_bavail;
27508
27509 ;
27510 return 0;
27511}
27512_ACEOF
27513rm -f conftest.$ac_objext
27514if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27515 (eval $ac_compile) 2>&5
27516 ac_status=$?
27517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27518 (exit $ac_status); } &&
27519 { ac_try='test -s conftest.$ac_objext'
27520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27521 (eval $ac_try) 2>&5
27522 ac_status=$?
27523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27524 (exit $ac_status); }; }; then
27525
27526 wx_cv_func_statfs=yes
27527
27528else
27529 echo "$as_me: failed program was:" >&5
27530sed 's/^/| /' conftest.$ac_ext >&5
27531
27532
27533 wx_cv_func_statfs=no
27534
27535
27536fi
27537rm -f conftest.$ac_objext conftest.$ac_ext
27538
27539fi
27540echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27541echo "${ECHO_T}$wx_cv_func_statfs" >&6
27542
27543if test "$wx_cv_func_statfs" = "yes"; then
27544 wx_cv_type_statvfs_t="struct statfs"
27545 cat >>confdefs.h <<\_ACEOF
27546#define HAVE_STATFS 1
27547_ACEOF
27548
27549else
27550 echo "$as_me:$LINENO: checking for statvfs" >&5
27551echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27552if test "${wx_cv_func_statvfs+set}" = set; then
27553 echo $ECHO_N "(cached) $ECHO_C" >&6
27554else
27555 cat >conftest.$ac_ext <<_ACEOF
27556#line $LINENO "configure"
27557/* confdefs.h. */
27558_ACEOF
27559cat confdefs.h >>conftest.$ac_ext
27560cat >>conftest.$ac_ext <<_ACEOF
27561/* end confdefs.h. */
27562
27563 #include <stddef.h>
27564 #include <sys/statvfs.h>
27565
27566int
27567main ()
27568{
27569
27570 statvfs("/", NULL);
27571
27572 ;
27573 return 0;
27574}
27575_ACEOF
27576rm -f conftest.$ac_objext
27577if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27578 (eval $ac_compile) 2>&5
27579 ac_status=$?
27580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27581 (exit $ac_status); } &&
27582 { ac_try='test -s conftest.$ac_objext'
27583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27584 (eval $ac_try) 2>&5
27585 ac_status=$?
27586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587 (exit $ac_status); }; }; then
27588 wx_cv_func_statvfs=yes
27589else
27590 echo "$as_me: failed program was:" >&5
27591sed 's/^/| /' conftest.$ac_ext >&5
27592
27593wx_cv_func_statvfs=no
27594
27595fi
27596rm -f conftest.$ac_objext conftest.$ac_ext
27597
27598fi
27599echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27600echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27601
27602 if test "$wx_cv_func_statvfs" = "yes"; then
27603
27604
27605 ac_ext=cc
27606ac_cpp='$CXXCPP $CPPFLAGS'
27607ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27608ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27609ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27610
27611
27612 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27613echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27614if test "${wx_cv_type_statvfs_t+set}" = set; then
27615 echo $ECHO_N "(cached) $ECHO_C" >&6
27616else
27617 cat >conftest.$ac_ext <<_ACEOF
27618#line $LINENO "configure"
27619/* confdefs.h. */
27620_ACEOF
27621cat confdefs.h >>conftest.$ac_ext
27622cat >>conftest.$ac_ext <<_ACEOF
27623/* end confdefs.h. */
27624
27625 #include <sys/statvfs.h>
27626
27627int
27628main ()
27629{
27630
27631 long l;
27632 statvfs_t fs;
27633 statvfs("/", &fs);
27634 l = fs.f_bsize;
27635 l += fs.f_blocks;
27636 l += fs.f_bavail;
27637
27638 ;
27639 return 0;
27640}
27641_ACEOF
27642rm -f conftest.$ac_objext
27643if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27644 (eval $ac_compile) 2>&5
27645 ac_status=$?
27646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27647 (exit $ac_status); } &&
27648 { ac_try='test -s conftest.$ac_objext'
27649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27650 (eval $ac_try) 2>&5
27651 ac_status=$?
27652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27653 (exit $ac_status); }; }; then
27654 wx_cv_type_statvfs_t=statvfs_t
27655else
27656 echo "$as_me: failed program was:" >&5
27657sed 's/^/| /' conftest.$ac_ext >&5
27658
27659
27660 cat >conftest.$ac_ext <<_ACEOF
27661#line $LINENO "configure"
27662/* confdefs.h. */
27663_ACEOF
27664cat confdefs.h >>conftest.$ac_ext
27665cat >>conftest.$ac_ext <<_ACEOF
27666/* end confdefs.h. */
27667
27668 #include <sys/statvfs.h>
27669
27670int
27671main ()
27672{
27673
27674 long l;
27675 struct statvfs fs;
27676 statvfs("/", &fs);
27677 l = fs.f_bsize;
27678 l += fs.f_blocks;
27679 l += fs.f_bavail;
27680
27681 ;
27682 return 0;
27683}
27684_ACEOF
27685rm -f conftest.$ac_objext
27686if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27687 (eval $ac_compile) 2>&5
27688 ac_status=$?
27689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27690 (exit $ac_status); } &&
27691 { ac_try='test -s conftest.$ac_objext'
27692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27693 (eval $ac_try) 2>&5
27694 ac_status=$?
27695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27696 (exit $ac_status); }; }; then
27697 wx_cv_type_statvfs_t="struct statvfs"
27698else
27699 echo "$as_me: failed program was:" >&5
27700sed 's/^/| /' conftest.$ac_ext >&5
27701
27702wx_cv_type_statvfs_t="unknown"
27703
27704fi
27705rm -f conftest.$ac_objext conftest.$ac_ext
27706
27707
27708fi
27709rm -f conftest.$ac_objext conftest.$ac_ext
27710
27711fi
27712echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27713echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27714
27715 ac_ext=c
27716ac_cpp='$CPP $CPPFLAGS'
27717ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27718ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27719ac_compiler_gnu=$ac_cv_c_compiler_gnu
27720
27721
27722 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27723 cat >>confdefs.h <<\_ACEOF
27724#define HAVE_STATVFS 1
27725_ACEOF
27726
27727 fi
27728 else
27729 wx_cv_type_statvfs_t="unknown"
27730 fi
27731fi
27732
27733if test "$wx_cv_type_statvfs_t" != "unknown"; then
27734 cat >>confdefs.h <<_ACEOF
27735#define WX_STATFS_T $wx_cv_type_statvfs_t
27736_ACEOF
27737
27738else
27739 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27740echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27741fi
27742
27743if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27744
27745
27746for ac_func in fcntl flock
27747do
27748as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27749echo "$as_me:$LINENO: checking for $ac_func" >&5
27750echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27751if eval "test \"\${$as_ac_var+set}\" = set"; then
27752 echo $ECHO_N "(cached) $ECHO_C" >&6
27753else
27754 cat >conftest.$ac_ext <<_ACEOF
27755#line $LINENO "configure"
27756/* confdefs.h. */
27757_ACEOF
27758cat confdefs.h >>conftest.$ac_ext
27759cat >>conftest.$ac_ext <<_ACEOF
27760/* end confdefs.h. */
27761/* System header to define __stub macros and hopefully few prototypes,
27762 which can conflict with char $ac_func (); below.
27763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27764 <limits.h> exists even on freestanding compilers. */
27765#ifdef __STDC__
27766# include <limits.h>
27767#else
27768# include <assert.h>
27769#endif
27770/* Override any gcc2 internal prototype to avoid an error. */
27771#ifdef __cplusplus
27772extern "C"
27773{
27774#endif
27775/* We use char because int might match the return type of a gcc2
27776 builtin and then its argument prototype would still apply. */
27777char $ac_func ();
27778/* The GNU C library defines this for functions which it implements
27779 to always fail with ENOSYS. Some functions are actually named
27780 something starting with __ and the normal name is an alias. */
27781#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27782choke me
27783#else
27784char (*f) () = $ac_func;
27785#endif
27786#ifdef __cplusplus
27787}
27788#endif
27789
27790int
27791main ()
27792{
27793return f != $ac_func;
27794 ;
27795 return 0;
27796}
27797_ACEOF
27798rm -f conftest.$ac_objext conftest$ac_exeext
27799if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27800 (eval $ac_link) 2>&5
27801 ac_status=$?
27802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27803 (exit $ac_status); } &&
27804 { ac_try='test -s conftest$ac_exeext'
27805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27806 (eval $ac_try) 2>&5
27807 ac_status=$?
27808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27809 (exit $ac_status); }; }; then
27810 eval "$as_ac_var=yes"
27811else
27812 echo "$as_me: failed program was:" >&5
27813sed 's/^/| /' conftest.$ac_ext >&5
27814
27815eval "$as_ac_var=no"
27816fi
27817rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27818fi
27819echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27820echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27821if test `eval echo '${'$as_ac_var'}'` = yes; then
27822 cat >>confdefs.h <<_ACEOF
27823#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27824_ACEOF
27825 break
27826fi
27827done
27828
27829
27830 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27831 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27832echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27833 wxUSE_SNGLINST_CHECKER=no
27834 fi
27835fi
27836
27837
27838for ac_func in timegm
27839do
27840as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27841echo "$as_me:$LINENO: checking for $ac_func" >&5
27842echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27843if eval "test \"\${$as_ac_var+set}\" = set"; then
27844 echo $ECHO_N "(cached) $ECHO_C" >&6
27845else
27846 cat >conftest.$ac_ext <<_ACEOF
27847#line $LINENO "configure"
27848/* confdefs.h. */
27849_ACEOF
27850cat confdefs.h >>conftest.$ac_ext
27851cat >>conftest.$ac_ext <<_ACEOF
27852/* end confdefs.h. */
27853/* System header to define __stub macros and hopefully few prototypes,
27854 which can conflict with char $ac_func (); below.
27855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27856 <limits.h> exists even on freestanding compilers. */
27857#ifdef __STDC__
27858# include <limits.h>
27859#else
27860# include <assert.h>
27861#endif
27862/* Override any gcc2 internal prototype to avoid an error. */
27863#ifdef __cplusplus
27864extern "C"
27865{
27866#endif
27867/* We use char because int might match the return type of a gcc2
27868 builtin and then its argument prototype would still apply. */
27869char $ac_func ();
27870/* The GNU C library defines this for functions which it implements
27871 to always fail with ENOSYS. Some functions are actually named
27872 something starting with __ and the normal name is an alias. */
27873#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27874choke me
27875#else
27876char (*f) () = $ac_func;
27877#endif
27878#ifdef __cplusplus
27879}
27880#endif
27881
27882int
27883main ()
27884{
27885return f != $ac_func;
27886 ;
27887 return 0;
27888}
27889_ACEOF
27890rm -f conftest.$ac_objext conftest$ac_exeext
27891if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27892 (eval $ac_link) 2>&5
27893 ac_status=$?
27894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27895 (exit $ac_status); } &&
27896 { ac_try='test -s conftest$ac_exeext'
27897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27898 (eval $ac_try) 2>&5
27899 ac_status=$?
27900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27901 (exit $ac_status); }; }; then
27902 eval "$as_ac_var=yes"
27903else
27904 echo "$as_me: failed program was:" >&5
27905sed 's/^/| /' conftest.$ac_ext >&5
27906
27907eval "$as_ac_var=no"
27908fi
27909rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27910fi
27911echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27912echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27913if test `eval echo '${'$as_ac_var'}'` = yes; then
27914 cat >>confdefs.h <<_ACEOF
27915#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27916_ACEOF
27917
27918fi
27919done
27920
27921
27922
27923
27924for ac_func in putenv setenv
27925do
27926as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27927echo "$as_me:$LINENO: checking for $ac_func" >&5
27928echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27929if eval "test \"\${$as_ac_var+set}\" = set"; then
27930 echo $ECHO_N "(cached) $ECHO_C" >&6
27931else
27932 cat >conftest.$ac_ext <<_ACEOF
27933#line $LINENO "configure"
27934/* confdefs.h. */
27935_ACEOF
27936cat confdefs.h >>conftest.$ac_ext
27937cat >>conftest.$ac_ext <<_ACEOF
27938/* end confdefs.h. */
27939/* System header to define __stub macros and hopefully few prototypes,
27940 which can conflict with char $ac_func (); below.
27941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27942 <limits.h> exists even on freestanding compilers. */
27943#ifdef __STDC__
27944# include <limits.h>
27945#else
27946# include <assert.h>
27947#endif
27948/* Override any gcc2 internal prototype to avoid an error. */
27949#ifdef __cplusplus
27950extern "C"
27951{
27952#endif
27953/* We use char because int might match the return type of a gcc2
27954 builtin and then its argument prototype would still apply. */
27955char $ac_func ();
27956/* The GNU C library defines this for functions which it implements
27957 to always fail with ENOSYS. Some functions are actually named
27958 something starting with __ and the normal name is an alias. */
27959#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27960choke me
27961#else
27962char (*f) () = $ac_func;
27963#endif
27964#ifdef __cplusplus
27965}
27966#endif
27967
27968int
27969main ()
27970{
27971return f != $ac_func;
27972 ;
27973 return 0;
27974}
27975_ACEOF
27976rm -f conftest.$ac_objext conftest$ac_exeext
27977if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27978 (eval $ac_link) 2>&5
27979 ac_status=$?
27980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27981 (exit $ac_status); } &&
27982 { ac_try='test -s conftest$ac_exeext'
27983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27984 (eval $ac_try) 2>&5
27985 ac_status=$?
27986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27987 (exit $ac_status); }; }; then
27988 eval "$as_ac_var=yes"
27989else
27990 echo "$as_me: failed program was:" >&5
27991sed 's/^/| /' conftest.$ac_ext >&5
27992
27993eval "$as_ac_var=no"
27994fi
27995rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27996fi
27997echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27998echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27999if test `eval echo '${'$as_ac_var'}'` = yes; then
28000 cat >>confdefs.h <<_ACEOF
28001#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28002_ACEOF
28003 break
28004fi
28005done
28006
28007
28008HAVE_SOME_SLEEP_FUNC=0
28009if test "$USE_BEOS" = 1; then
28010 cat >>confdefs.h <<\_ACEOF
28011#define HAVE_SLEEP 1
28012_ACEOF
28013
28014 HAVE_SOME_SLEEP_FUNC=1
28015fi
28016
28017if test "$USE_DARWIN" = 1; then
28018 cat >>confdefs.h <<\_ACEOF
28019#define HAVE_USLEEP 1
28020_ACEOF
28021
28022 HAVE_SOME_SLEEP_FUNC=1
28023fi
28024
28025if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
28026 POSIX4_LINK=
28027
28028for ac_func in nanosleep
28029do
28030as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28031echo "$as_me:$LINENO: checking for $ac_func" >&5
28032echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28033if eval "test \"\${$as_ac_var+set}\" = set"; then
28034 echo $ECHO_N "(cached) $ECHO_C" >&6
28035else
28036 cat >conftest.$ac_ext <<_ACEOF
28037#line $LINENO "configure"
28038/* confdefs.h. */
28039_ACEOF
28040cat confdefs.h >>conftest.$ac_ext
28041cat >>conftest.$ac_ext <<_ACEOF
28042/* end confdefs.h. */
28043/* System header to define __stub macros and hopefully few prototypes,
28044 which can conflict with char $ac_func (); below.
28045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28046 <limits.h> exists even on freestanding compilers. */
28047#ifdef __STDC__
28048# include <limits.h>
28049#else
28050# include <assert.h>
28051#endif
28052/* Override any gcc2 internal prototype to avoid an error. */
28053#ifdef __cplusplus
28054extern "C"
28055{
28056#endif
28057/* We use char because int might match the return type of a gcc2
28058 builtin and then its argument prototype would still apply. */
28059char $ac_func ();
28060/* The GNU C library defines this for functions which it implements
28061 to always fail with ENOSYS. Some functions are actually named
28062 something starting with __ and the normal name is an alias. */
28063#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28064choke me
28065#else
28066char (*f) () = $ac_func;
28067#endif
28068#ifdef __cplusplus
28069}
28070#endif
28071
28072int
28073main ()
28074{
28075return f != $ac_func;
28076 ;
28077 return 0;
28078}
28079_ACEOF
28080rm -f conftest.$ac_objext conftest$ac_exeext
28081if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28082 (eval $ac_link) 2>&5
28083 ac_status=$?
28084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28085 (exit $ac_status); } &&
28086 { ac_try='test -s conftest$ac_exeext'
28087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28088 (eval $ac_try) 2>&5
28089 ac_status=$?
28090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28091 (exit $ac_status); }; }; then
28092 eval "$as_ac_var=yes"
28093else
28094 echo "$as_me: failed program was:" >&5
28095sed 's/^/| /' conftest.$ac_ext >&5
28096
28097eval "$as_ac_var=no"
28098fi
28099rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28100fi
28101echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28102echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28103if test `eval echo '${'$as_ac_var'}'` = yes; then
28104 cat >>confdefs.h <<_ACEOF
28105#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28106_ACEOF
28107 cat >>confdefs.h <<\_ACEOF
28108#define HAVE_NANOSLEEP 1
28109_ACEOF
28110
28111else
28112
28113 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
28114echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
28115if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
28116 echo $ECHO_N "(cached) $ECHO_C" >&6
28117else
28118 ac_check_lib_save_LIBS=$LIBS
28119LIBS="-lposix4 $LIBS"
28120cat >conftest.$ac_ext <<_ACEOF
28121#line $LINENO "configure"
28122/* confdefs.h. */
28123_ACEOF
28124cat confdefs.h >>conftest.$ac_ext
28125cat >>conftest.$ac_ext <<_ACEOF
28126/* end confdefs.h. */
28127
28128/* Override any gcc2 internal prototype to avoid an error. */
28129#ifdef __cplusplus
28130extern "C"
28131#endif
28132/* We use char because int might match the return type of a gcc2
28133 builtin and then its argument prototype would still apply. */
28134char nanosleep ();
28135int
28136main ()
28137{
28138nanosleep ();
28139 ;
28140 return 0;
28141}
28142_ACEOF
28143rm -f conftest.$ac_objext conftest$ac_exeext
28144if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28145 (eval $ac_link) 2>&5
28146 ac_status=$?
28147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28148 (exit $ac_status); } &&
28149 { ac_try='test -s conftest$ac_exeext'
28150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28151 (eval $ac_try) 2>&5
28152 ac_status=$?
28153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28154 (exit $ac_status); }; }; then
28155 ac_cv_lib_posix4_nanosleep=yes
28156else
28157 echo "$as_me: failed program was:" >&5
28158sed 's/^/| /' conftest.$ac_ext >&5
28159
28160ac_cv_lib_posix4_nanosleep=no
28161fi
28162rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28163LIBS=$ac_check_lib_save_LIBS
28164fi
28165echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
28166echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
28167if test $ac_cv_lib_posix4_nanosleep = yes; then
28168
28169 cat >>confdefs.h <<\_ACEOF
28170#define HAVE_NANOSLEEP 1
28171_ACEOF
28172
28173 POSIX4_LINK=" -lposix4"
28174
28175else
28176
28177
28178for ac_func in usleep
28179do
28180as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28181echo "$as_me:$LINENO: checking for $ac_func" >&5
28182echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28183if eval "test \"\${$as_ac_var+set}\" = set"; then
28184 echo $ECHO_N "(cached) $ECHO_C" >&6
28185else
28186 cat >conftest.$ac_ext <<_ACEOF
28187#line $LINENO "configure"
28188/* confdefs.h. */
28189_ACEOF
28190cat confdefs.h >>conftest.$ac_ext
28191cat >>conftest.$ac_ext <<_ACEOF
28192/* end confdefs.h. */
28193/* System header to define __stub macros and hopefully few prototypes,
28194 which can conflict with char $ac_func (); below.
28195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28196 <limits.h> exists even on freestanding compilers. */
28197#ifdef __STDC__
28198# include <limits.h>
28199#else
28200# include <assert.h>
28201#endif
28202/* Override any gcc2 internal prototype to avoid an error. */
28203#ifdef __cplusplus
28204extern "C"
28205{
28206#endif
28207/* We use char because int might match the return type of a gcc2
28208 builtin and then its argument prototype would still apply. */
28209char $ac_func ();
28210/* The GNU C library defines this for functions which it implements
28211 to always fail with ENOSYS. Some functions are actually named
28212 something starting with __ and the normal name is an alias. */
28213#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28214choke me
28215#else
28216char (*f) () = $ac_func;
28217#endif
28218#ifdef __cplusplus
28219}
28220#endif
28221
28222int
28223main ()
28224{
28225return f != $ac_func;
28226 ;
28227 return 0;
28228}
28229_ACEOF
28230rm -f conftest.$ac_objext conftest$ac_exeext
28231if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28232 (eval $ac_link) 2>&5
28233 ac_status=$?
28234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28235 (exit $ac_status); } &&
28236 { ac_try='test -s conftest$ac_exeext'
28237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28238 (eval $ac_try) 2>&5
28239 ac_status=$?
28240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28241 (exit $ac_status); }; }; then
28242 eval "$as_ac_var=yes"
28243else
28244 echo "$as_me: failed program was:" >&5
28245sed 's/^/| /' conftest.$ac_ext >&5
28246
28247eval "$as_ac_var=no"
28248fi
28249rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28250fi
28251echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28252echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28253if test `eval echo '${'$as_ac_var'}'` = yes; then
28254 cat >>confdefs.h <<_ACEOF
28255#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28256_ACEOF
28257 cat >>confdefs.h <<\_ACEOF
28258#define HAVE_USLEEP 1
28259_ACEOF
28260
28261else
28262 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28263echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28264
28265fi
28266done
28267
28268
28269
28270fi
28271
28272
28273
28274fi
28275done
28276
28277fi
28278
28279
28280
28281for ac_func in uname gethostname
28282do
28283as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28284echo "$as_me:$LINENO: checking for $ac_func" >&5
28285echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28286if eval "test \"\${$as_ac_var+set}\" = set"; then
28287 echo $ECHO_N "(cached) $ECHO_C" >&6
28288else
28289 cat >conftest.$ac_ext <<_ACEOF
28290#line $LINENO "configure"
28291/* confdefs.h. */
28292_ACEOF
28293cat confdefs.h >>conftest.$ac_ext
28294cat >>conftest.$ac_ext <<_ACEOF
28295/* end confdefs.h. */
28296/* System header to define __stub macros and hopefully few prototypes,
28297 which can conflict with char $ac_func (); below.
28298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28299 <limits.h> exists even on freestanding compilers. */
28300#ifdef __STDC__
28301# include <limits.h>
28302#else
28303# include <assert.h>
28304#endif
28305/* Override any gcc2 internal prototype to avoid an error. */
28306#ifdef __cplusplus
28307extern "C"
28308{
28309#endif
28310/* We use char because int might match the return type of a gcc2
28311 builtin and then its argument prototype would still apply. */
28312char $ac_func ();
28313/* The GNU C library defines this for functions which it implements
28314 to always fail with ENOSYS. Some functions are actually named
28315 something starting with __ and the normal name is an alias. */
28316#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28317choke me
28318#else
28319char (*f) () = $ac_func;
28320#endif
28321#ifdef __cplusplus
28322}
28323#endif
28324
28325int
28326main ()
28327{
28328return f != $ac_func;
28329 ;
28330 return 0;
28331}
28332_ACEOF
28333rm -f conftest.$ac_objext conftest$ac_exeext
28334if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28335 (eval $ac_link) 2>&5
28336 ac_status=$?
28337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28338 (exit $ac_status); } &&
28339 { ac_try='test -s conftest$ac_exeext'
28340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28341 (eval $ac_try) 2>&5
28342 ac_status=$?
28343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28344 (exit $ac_status); }; }; then
28345 eval "$as_ac_var=yes"
28346else
28347 echo "$as_me: failed program was:" >&5
28348sed 's/^/| /' conftest.$ac_ext >&5
28349
28350eval "$as_ac_var=no"
28351fi
28352rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28353fi
28354echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28355echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28356if test `eval echo '${'$as_ac_var'}'` = yes; then
28357 cat >>confdefs.h <<_ACEOF
28358#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28359_ACEOF
28360 break
28361fi
28362done
28363
28364
28365
28366
28367ac_ext=cc
28368ac_cpp='$CXXCPP $CPPFLAGS'
28369ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28370ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28371ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28372
28373
28374
28375for ac_func in strtok_r
28376do
28377as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28378echo "$as_me:$LINENO: checking for $ac_func" >&5
28379echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28380if eval "test \"\${$as_ac_var+set}\" = set"; then
28381 echo $ECHO_N "(cached) $ECHO_C" >&6
28382else
28383 cat >conftest.$ac_ext <<_ACEOF
28384#line $LINENO "configure"
28385/* confdefs.h. */
28386_ACEOF
28387cat confdefs.h >>conftest.$ac_ext
28388cat >>conftest.$ac_ext <<_ACEOF
28389/* end confdefs.h. */
28390/* System header to define __stub macros and hopefully few prototypes,
28391 which can conflict with char $ac_func (); below.
28392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28393 <limits.h> exists even on freestanding compilers. */
28394#ifdef __STDC__
28395# include <limits.h>
28396#else
28397# include <assert.h>
28398#endif
28399/* Override any gcc2 internal prototype to avoid an error. */
28400#ifdef __cplusplus
28401extern "C"
28402{
28403#endif
28404/* We use char because int might match the return type of a gcc2
28405 builtin and then its argument prototype would still apply. */
28406char $ac_func ();
28407/* The GNU C library defines this for functions which it implements
28408 to always fail with ENOSYS. Some functions are actually named
28409 something starting with __ and the normal name is an alias. */
28410#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28411choke me
28412#else
28413char (*f) () = $ac_func;
28414#endif
28415#ifdef __cplusplus
28416}
28417#endif
28418
28419int
28420main ()
28421{
28422return f != $ac_func;
28423 ;
28424 return 0;
28425}
28426_ACEOF
28427rm -f conftest.$ac_objext conftest$ac_exeext
28428if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28429 (eval $ac_link) 2>&5
28430 ac_status=$?
28431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28432 (exit $ac_status); } &&
28433 { ac_try='test -s conftest$ac_exeext'
28434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28435 (eval $ac_try) 2>&5
28436 ac_status=$?
28437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28438 (exit $ac_status); }; }; then
28439 eval "$as_ac_var=yes"
28440else
28441 echo "$as_me: failed program was:" >&5
28442sed 's/^/| /' conftest.$ac_ext >&5
28443
28444eval "$as_ac_var=no"
28445fi
28446rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28447fi
28448echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28449echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28450if test `eval echo '${'$as_ac_var'}'` = yes; then
28451 cat >>confdefs.h <<_ACEOF
28452#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28453_ACEOF
28454
28455fi
28456done
28457
28458
28459ac_ext=c
28460ac_cpp='$CPP $CPPFLAGS'
28461ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28462ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28463ac_compiler_gnu=$ac_cv_c_compiler_gnu
28464
28465
28466INET_LINK=
28467
28468for ac_func in inet_addr
28469do
28470as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28471echo "$as_me:$LINENO: checking for $ac_func" >&5
28472echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28473if eval "test \"\${$as_ac_var+set}\" = set"; then
28474 echo $ECHO_N "(cached) $ECHO_C" >&6
28475else
28476 cat >conftest.$ac_ext <<_ACEOF
28477#line $LINENO "configure"
28478/* confdefs.h. */
28479_ACEOF
28480cat confdefs.h >>conftest.$ac_ext
28481cat >>conftest.$ac_ext <<_ACEOF
28482/* end confdefs.h. */
28483/* System header to define __stub macros and hopefully few prototypes,
28484 which can conflict with char $ac_func (); below.
28485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28486 <limits.h> exists even on freestanding compilers. */
28487#ifdef __STDC__
28488# include <limits.h>
28489#else
28490# include <assert.h>
28491#endif
28492/* Override any gcc2 internal prototype to avoid an error. */
28493#ifdef __cplusplus
28494extern "C"
28495{
28496#endif
28497/* We use char because int might match the return type of a gcc2
28498 builtin and then its argument prototype would still apply. */
28499char $ac_func ();
28500/* The GNU C library defines this for functions which it implements
28501 to always fail with ENOSYS. Some functions are actually named
28502 something starting with __ and the normal name is an alias. */
28503#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28504choke me
28505#else
28506char (*f) () = $ac_func;
28507#endif
28508#ifdef __cplusplus
28509}
28510#endif
28511
28512int
28513main ()
28514{
28515return f != $ac_func;
28516 ;
28517 return 0;
28518}
28519_ACEOF
28520rm -f conftest.$ac_objext conftest$ac_exeext
28521if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28522 (eval $ac_link) 2>&5
28523 ac_status=$?
28524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28525 (exit $ac_status); } &&
28526 { ac_try='test -s conftest$ac_exeext'
28527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28528 (eval $ac_try) 2>&5
28529 ac_status=$?
28530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28531 (exit $ac_status); }; }; then
28532 eval "$as_ac_var=yes"
28533else
28534 echo "$as_me: failed program was:" >&5
28535sed 's/^/| /' conftest.$ac_ext >&5
28536
28537eval "$as_ac_var=no"
28538fi
28539rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28540fi
28541echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28542echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28543if test `eval echo '${'$as_ac_var'}'` = yes; then
28544 cat >>confdefs.h <<_ACEOF
28545#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28546_ACEOF
28547 cat >>confdefs.h <<\_ACEOF
28548#define HAVE_INET_ADDR 1
28549_ACEOF
28550
28551else
28552
28553 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28554echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28555if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28556 echo $ECHO_N "(cached) $ECHO_C" >&6
28557else
28558 ac_check_lib_save_LIBS=$LIBS
28559LIBS="-lnsl $LIBS"
28560cat >conftest.$ac_ext <<_ACEOF
28561#line $LINENO "configure"
28562/* confdefs.h. */
28563_ACEOF
28564cat confdefs.h >>conftest.$ac_ext
28565cat >>conftest.$ac_ext <<_ACEOF
28566/* end confdefs.h. */
28567
28568/* Override any gcc2 internal prototype to avoid an error. */
28569#ifdef __cplusplus
28570extern "C"
28571#endif
28572/* We use char because int might match the return type of a gcc2
28573 builtin and then its argument prototype would still apply. */
28574char inet_addr ();
28575int
28576main ()
28577{
28578inet_addr ();
28579 ;
28580 return 0;
28581}
28582_ACEOF
28583rm -f conftest.$ac_objext conftest$ac_exeext
28584if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28585 (eval $ac_link) 2>&5
28586 ac_status=$?
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); } &&
28589 { ac_try='test -s conftest$ac_exeext'
28590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28591 (eval $ac_try) 2>&5
28592 ac_status=$?
28593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28594 (exit $ac_status); }; }; then
28595 ac_cv_lib_nsl_inet_addr=yes
28596else
28597 echo "$as_me: failed program was:" >&5
28598sed 's/^/| /' conftest.$ac_ext >&5
28599
28600ac_cv_lib_nsl_inet_addr=no
28601fi
28602rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28603LIBS=$ac_check_lib_save_LIBS
28604fi
28605echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28606echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28607if test $ac_cv_lib_nsl_inet_addr = yes; then
28608 INET_LINK="nsl"
28609else
28610
28611 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28612echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28613if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28614 echo $ECHO_N "(cached) $ECHO_C" >&6
28615else
28616 ac_check_lib_save_LIBS=$LIBS
28617LIBS="-lresolv $LIBS"
28618cat >conftest.$ac_ext <<_ACEOF
28619#line $LINENO "configure"
28620/* confdefs.h. */
28621_ACEOF
28622cat confdefs.h >>conftest.$ac_ext
28623cat >>conftest.$ac_ext <<_ACEOF
28624/* end confdefs.h. */
28625
28626/* Override any gcc2 internal prototype to avoid an error. */
28627#ifdef __cplusplus
28628extern "C"
28629#endif
28630/* We use char because int might match the return type of a gcc2
28631 builtin and then its argument prototype would still apply. */
28632char inet_addr ();
28633int
28634main ()
28635{
28636inet_addr ();
28637 ;
28638 return 0;
28639}
28640_ACEOF
28641rm -f conftest.$ac_objext conftest$ac_exeext
28642if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28643 (eval $ac_link) 2>&5
28644 ac_status=$?
28645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28646 (exit $ac_status); } &&
28647 { ac_try='test -s conftest$ac_exeext'
28648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28649 (eval $ac_try) 2>&5
28650 ac_status=$?
28651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28652 (exit $ac_status); }; }; then
28653 ac_cv_lib_resolv_inet_addr=yes
28654else
28655 echo "$as_me: failed program was:" >&5
28656sed 's/^/| /' conftest.$ac_ext >&5
28657
28658ac_cv_lib_resolv_inet_addr=no
28659fi
28660rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28661LIBS=$ac_check_lib_save_LIBS
28662fi
28663echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28664echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28665if test $ac_cv_lib_resolv_inet_addr = yes; then
28666 INET_LINK="resolv"
28667else
28668
28669 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28670echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28671if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28672 echo $ECHO_N "(cached) $ECHO_C" >&6
28673else
28674 ac_check_lib_save_LIBS=$LIBS
28675LIBS="-lsocket $LIBS"
28676cat >conftest.$ac_ext <<_ACEOF
28677#line $LINENO "configure"
28678/* confdefs.h. */
28679_ACEOF
28680cat confdefs.h >>conftest.$ac_ext
28681cat >>conftest.$ac_ext <<_ACEOF
28682/* end confdefs.h. */
28683
28684/* Override any gcc2 internal prototype to avoid an error. */
28685#ifdef __cplusplus
28686extern "C"
28687#endif
28688/* We use char because int might match the return type of a gcc2
28689 builtin and then its argument prototype would still apply. */
28690char inet_addr ();
28691int
28692main ()
28693{
28694inet_addr ();
28695 ;
28696 return 0;
28697}
28698_ACEOF
28699rm -f conftest.$ac_objext conftest$ac_exeext
28700if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28701 (eval $ac_link) 2>&5
28702 ac_status=$?
28703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28704 (exit $ac_status); } &&
28705 { ac_try='test -s conftest$ac_exeext'
28706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28707 (eval $ac_try) 2>&5
28708 ac_status=$?
28709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28710 (exit $ac_status); }; }; then
28711 ac_cv_lib_socket_inet_addr=yes
28712else
28713 echo "$as_me: failed program was:" >&5
28714sed 's/^/| /' conftest.$ac_ext >&5
28715
28716ac_cv_lib_socket_inet_addr=no
28717fi
28718rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28719LIBS=$ac_check_lib_save_LIBS
28720fi
28721echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28722echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28723if test $ac_cv_lib_socket_inet_addr = yes; then
28724 INET_LINK="socket"
28725
28726fi
28727
28728
28729
28730fi
28731
28732
28733
28734fi
28735
28736
28737
28738fi
28739done
28740
28741
28742
28743for ac_func in inet_aton
28744do
28745as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28746echo "$as_me:$LINENO: checking for $ac_func" >&5
28747echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28748if eval "test \"\${$as_ac_var+set}\" = set"; then
28749 echo $ECHO_N "(cached) $ECHO_C" >&6
28750else
28751 cat >conftest.$ac_ext <<_ACEOF
28752#line $LINENO "configure"
28753/* confdefs.h. */
28754_ACEOF
28755cat confdefs.h >>conftest.$ac_ext
28756cat >>conftest.$ac_ext <<_ACEOF
28757/* end confdefs.h. */
28758/* System header to define __stub macros and hopefully few prototypes,
28759 which can conflict with char $ac_func (); below.
28760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28761 <limits.h> exists even on freestanding compilers. */
28762#ifdef __STDC__
28763# include <limits.h>
28764#else
28765# include <assert.h>
28766#endif
28767/* Override any gcc2 internal prototype to avoid an error. */
28768#ifdef __cplusplus
28769extern "C"
28770{
28771#endif
28772/* We use char because int might match the return type of a gcc2
28773 builtin and then its argument prototype would still apply. */
28774char $ac_func ();
28775/* The GNU C library defines this for functions which it implements
28776 to always fail with ENOSYS. Some functions are actually named
28777 something starting with __ and the normal name is an alias. */
28778#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28779choke me
28780#else
28781char (*f) () = $ac_func;
28782#endif
28783#ifdef __cplusplus
28784}
28785#endif
28786
28787int
28788main ()
28789{
28790return f != $ac_func;
28791 ;
28792 return 0;
28793}
28794_ACEOF
28795rm -f conftest.$ac_objext conftest$ac_exeext
28796if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28797 (eval $ac_link) 2>&5
28798 ac_status=$?
28799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28800 (exit $ac_status); } &&
28801 { ac_try='test -s conftest$ac_exeext'
28802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28803 (eval $ac_try) 2>&5
28804 ac_status=$?
28805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28806 (exit $ac_status); }; }; then
28807 eval "$as_ac_var=yes"
28808else
28809 echo "$as_me: failed program was:" >&5
28810sed 's/^/| /' conftest.$ac_ext >&5
28811
28812eval "$as_ac_var=no"
28813fi
28814rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28815fi
28816echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28817echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28818if test `eval echo '${'$as_ac_var'}'` = yes; then
28819 cat >>confdefs.h <<_ACEOF
28820#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28821_ACEOF
28822 cat >>confdefs.h <<\_ACEOF
28823#define HAVE_INET_ATON 1
28824_ACEOF
28825
28826else
28827
28828 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28829echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28830echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28831if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28832 echo $ECHO_N "(cached) $ECHO_C" >&6
28833else
28834 ac_check_lib_save_LIBS=$LIBS
28835LIBS="-l$INET_LINK $LIBS"
28836cat >conftest.$ac_ext <<_ACEOF
28837#line $LINENO "configure"
28838/* confdefs.h. */
28839_ACEOF
28840cat confdefs.h >>conftest.$ac_ext
28841cat >>conftest.$ac_ext <<_ACEOF
28842/* end confdefs.h. */
28843
28844/* Override any gcc2 internal prototype to avoid an error. */
28845#ifdef __cplusplus
28846extern "C"
28847#endif
28848/* We use char because int might match the return type of a gcc2
28849 builtin and then its argument prototype would still apply. */
28850char inet_aton ();
28851int
28852main ()
28853{
28854inet_aton ();
28855 ;
28856 return 0;
28857}
28858_ACEOF
28859rm -f conftest.$ac_objext conftest$ac_exeext
28860if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28861 (eval $ac_link) 2>&5
28862 ac_status=$?
28863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28864 (exit $ac_status); } &&
28865 { ac_try='test -s conftest$ac_exeext'
28866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28867 (eval $ac_try) 2>&5
28868 ac_status=$?
28869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28870 (exit $ac_status); }; }; then
28871 eval "$as_ac_Lib=yes"
28872else
28873 echo "$as_me: failed program was:" >&5
28874sed 's/^/| /' conftest.$ac_ext >&5
28875
28876eval "$as_ac_Lib=no"
28877fi
28878rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28879LIBS=$ac_check_lib_save_LIBS
28880fi
28881echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28882echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28883if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28884 cat >>confdefs.h <<\_ACEOF
28885#define HAVE_INET_ATON 1
28886_ACEOF
28887
28888fi
28889
28890
28891fi
28892done
28893
28894
28895if test "x$INET_LINK" != "x"; then
28896 cat >>confdefs.h <<\_ACEOF
28897#define HAVE_INET_ADDR 1
28898_ACEOF
28899
28900 INET_LINK=" -l$INET_LINK"
28901fi
28902
28903fi
28904
28905
28906
28907EXTRALIBS_ESD=
28908echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28909echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28910if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28911 echo $ECHO_N "(cached) $ECHO_C" >&6
28912else
28913 ac_check_lib_save_LIBS=$LIBS
28914LIBS="-lesd $LIBS"
28915cat >conftest.$ac_ext <<_ACEOF
28916#line $LINENO "configure"
28917/* confdefs.h. */
28918_ACEOF
28919cat confdefs.h >>conftest.$ac_ext
28920cat >>conftest.$ac_ext <<_ACEOF
28921/* end confdefs.h. */
28922
28923/* Override any gcc2 internal prototype to avoid an error. */
28924#ifdef __cplusplus
28925extern "C"
28926#endif
28927/* We use char because int might match the return type of a gcc2
28928 builtin and then its argument prototype would still apply. */
28929char esd_close ();
28930int
28931main ()
28932{
28933esd_close ();
28934 ;
28935 return 0;
28936}
28937_ACEOF
28938rm -f conftest.$ac_objext conftest$ac_exeext
28939if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28940 (eval $ac_link) 2>&5
28941 ac_status=$?
28942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28943 (exit $ac_status); } &&
28944 { ac_try='test -s conftest$ac_exeext'
28945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28946 (eval $ac_try) 2>&5
28947 ac_status=$?
28948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28949 (exit $ac_status); }; }; then
28950 ac_cv_lib_esd_esd_close=yes
28951else
28952 echo "$as_me: failed program was:" >&5
28953sed 's/^/| /' conftest.$ac_ext >&5
28954
28955ac_cv_lib_esd_esd_close=no
28956fi
28957rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28958LIBS=$ac_check_lib_save_LIBS
28959fi
28960echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28961echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28962if test $ac_cv_lib_esd_esd_close = yes; then
28963
28964
28965for ac_header in esd.h
28966do
28967as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28968if eval "test \"\${$as_ac_Header+set}\" = set"; then
28969 echo "$as_me:$LINENO: checking for $ac_header" >&5
28970echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28971if eval "test \"\${$as_ac_Header+set}\" = set"; then
28972 echo $ECHO_N "(cached) $ECHO_C" >&6
28973fi
28974echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28975echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28976else
28977 # Is the header compilable?
28978echo "$as_me:$LINENO: checking $ac_header usability" >&5
28979echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28980cat >conftest.$ac_ext <<_ACEOF
28981#line $LINENO "configure"
28982/* confdefs.h. */
28983_ACEOF
28984cat confdefs.h >>conftest.$ac_ext
28985cat >>conftest.$ac_ext <<_ACEOF
28986/* end confdefs.h. */
28987$ac_includes_default
28988#include <$ac_header>
28989_ACEOF
28990rm -f conftest.$ac_objext
28991if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28992 (eval $ac_compile) 2>&5
28993 ac_status=$?
28994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28995 (exit $ac_status); } &&
28996 { ac_try='test -s conftest.$ac_objext'
28997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28998 (eval $ac_try) 2>&5
28999 ac_status=$?
29000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29001 (exit $ac_status); }; }; then
29002 ac_header_compiler=yes
29003else
29004 echo "$as_me: failed program was:" >&5
29005sed 's/^/| /' conftest.$ac_ext >&5
29006
29007ac_header_compiler=no
29008fi
29009rm -f conftest.$ac_objext conftest.$ac_ext
29010echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29011echo "${ECHO_T}$ac_header_compiler" >&6
29012
29013# Is the header present?
29014echo "$as_me:$LINENO: checking $ac_header presence" >&5
29015echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29016cat >conftest.$ac_ext <<_ACEOF
29017#line $LINENO "configure"
29018/* confdefs.h. */
29019_ACEOF
29020cat confdefs.h >>conftest.$ac_ext
29021cat >>conftest.$ac_ext <<_ACEOF
29022/* end confdefs.h. */
29023#include <$ac_header>
29024_ACEOF
29025if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29026 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29027 ac_status=$?
29028 grep -v '^ *+' conftest.er1 >conftest.err
29029 rm -f conftest.er1
29030 cat conftest.err >&5
29031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29032 (exit $ac_status); } >/dev/null; then
29033 if test -s conftest.err; then
29034 ac_cpp_err=$ac_c_preproc_warn_flag
29035 else
29036 ac_cpp_err=
29037 fi
29038else
29039 ac_cpp_err=yes
29040fi
29041if test -z "$ac_cpp_err"; then
29042 ac_header_preproc=yes
29043else
29044 echo "$as_me: failed program was:" >&5
29045sed 's/^/| /' conftest.$ac_ext >&5
29046
29047 ac_header_preproc=no
29048fi
29049rm -f conftest.err conftest.$ac_ext
29050echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29051echo "${ECHO_T}$ac_header_preproc" >&6
29052
29053# So? What about this header?
29054case $ac_header_compiler:$ac_header_preproc in
29055 yes:no )
29056 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29057echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29059echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29060 (
29061 cat <<\_ASBOX
29062## ------------------------------------ ##
29063## Report this to bug-autoconf@gnu.org. ##
29064## ------------------------------------ ##
29065_ASBOX
29066 ) |
29067 sed "s/^/$as_me: WARNING: /" >&2
29068 ;;
29069 no:yes )
29070 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29071echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29072 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29073echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29074 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29075echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29076 (
29077 cat <<\_ASBOX
29078## ------------------------------------ ##
29079## Report this to bug-autoconf@gnu.org. ##
29080## ------------------------------------ ##
29081_ASBOX
29082 ) |
29083 sed "s/^/$as_me: WARNING: /" >&2
29084 ;;
29085esac
29086echo "$as_me:$LINENO: checking for $ac_header" >&5
29087echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29088if eval "test \"\${$as_ac_Header+set}\" = set"; then
29089 echo $ECHO_N "(cached) $ECHO_C" >&6
29090else
29091 eval "$as_ac_Header=$ac_header_preproc"
29092fi
29093echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29094echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29095
29096fi
29097if test `eval echo '${'$as_ac_Header'}'` = yes; then
29098 cat >>confdefs.h <<_ACEOF
29099#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29100_ACEOF
29101
29102 EXTRALIBS_ESD="-lesd"
29103
29104fi
29105
29106done
29107
29108
29109fi
29110
29111
29112
29113echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
29114echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
29115cat >conftest.$ac_ext <<_ACEOF
29116#line $LINENO "configure"
29117/* confdefs.h. */
29118_ACEOF
29119cat confdefs.h >>conftest.$ac_ext
29120cat >>conftest.$ac_ext <<_ACEOF
29121/* end confdefs.h. */
29122#ifdef __linux__
29123 #include <linux/cdrom.h>
29124 #else
29125 /* For Solaris */
29126 #include <sys/cdio.h>
29127 #endif
29128
29129int
29130main ()
29131{
29132struct cdrom_tocentry entry, old_entry;
29133 ;
29134 return 0;
29135}
29136_ACEOF
29137rm -f conftest.$ac_objext
29138if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29139 (eval $ac_compile) 2>&5
29140 ac_status=$?
29141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29142 (exit $ac_status); } &&
29143 { ac_try='test -s conftest.$ac_objext'
29144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29145 (eval $ac_try) 2>&5
29146 ac_status=$?
29147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29148 (exit $ac_status); }; }; then
29149 echo "$as_me:$LINENO: result: yes" >&5
29150echo "${ECHO_T}yes" >&6
29151 cat >>confdefs.h <<\_ACEOF
29152#define HAVE_KNOWN_CDROM_INTERFACE 1
29153_ACEOF
29154
29155else
29156 echo "$as_me: failed program was:" >&5
29157sed 's/^/| /' conftest.$ac_ext >&5
29158
29159echo "$as_me:$LINENO: result: no" >&5
29160echo "${ECHO_T}no" >&6
29161fi
29162rm -f conftest.$ac_objext conftest.$ac_ext
29163
29164
29165cat >confcache <<\_ACEOF
29166# This file is a shell script that caches the results of configure
29167# tests run on this system so they can be shared between configure
29168# scripts and configure runs, see configure's option --config-cache.
29169# It is not useful on other systems. If it contains results you don't
29170# want to keep, you may remove or edit it.
29171#
29172# config.status only pays attention to the cache file if you give it
29173# the --recheck option to rerun configure.
29174#
29175# `ac_cv_env_foo' variables (set or unset) will be overridden when
29176# loading this file, other *unset* `ac_cv_foo' will be assigned the
29177# following values.
29178
29179_ACEOF
29180
29181# The following way of writing the cache mishandles newlines in values,
29182# but we know of no workaround that is simple, portable, and efficient.
29183# So, don't put newlines in cache variables' values.
29184# Ultrix sh set writes to stderr and can't be redirected directly,
29185# and sets the high bit in the cache file unless we assign to the vars.
29186{
29187 (set) 2>&1 |
29188 case `(ac_space=' '; set | grep ac_space) 2>&1` in
29189 *ac_space=\ *)
29190 # `set' does not quote correctly, so add quotes (double-quote
29191 # substitution turns \\\\ into \\, and sed turns \\ into \).
29192 sed -n \
29193 "s/'/'\\\\''/g;
29194 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29195 ;;
29196 *)
29197 # `set' quotes correctly as required by POSIX, so do not add quotes.
29198 sed -n \
29199 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29200 ;;
29201 esac;
29202} |
29203 sed '
29204 t clear
29205 : clear
29206 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29207 t end
29208 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29209 : end' >>confcache
29210if diff $cache_file confcache >/dev/null 2>&1; then :; else
29211 if test -w $cache_file; then
29212 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29213 cat confcache >$cache_file
29214 else
29215 echo "not updating unwritable cache $cache_file"
29216 fi
29217fi
29218rm -f confcache
29219
29220
29221CPP_MT_FLAG=
29222if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
29223
29224
29225 THREADS_LINK=
29226 THREADS_CFLAGS=
29227
29228 if test "$wxUSE_THREADS" = "yes" ; then
29229 if test "$USE_BEOS" = 1; then
29230 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
29231echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
29232 wxUSE_THREADS="no"
29233 fi
29234 fi
29235
29236 if test "$wxUSE_THREADS" = "yes" ; then
29237
29238
29239 THREAD_OPTS="-pthread"
29240 case "${host}" in
29241 *-*-solaris2* | *-*-sunos4* )
29242 if test "x$GCC" = "xyes"; then
29243 THREAD_OPTS="-pthreads $THREAD_OPTS"
29244 else
29245 THREAD_OPTS="-mt $THREAD_OPTS"
29246 fi
29247 ;;
29248 *-*-freebsd*)
29249 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
29250 ;;
29251 *-*-darwin* | *-*-cygwin* )
29252 THREAD_OPTS=""
29253 ;;
29254 *-*-aix*)
29255 THREAD_OPTS="pthreads"
29256 ;;
29257 *-hp-hpux* )
29258 if test "x$GCC" != "xyes"; then
29259 THREAD_OPTS=""
29260 fi
29261 ;;
29262
29263 *-*-irix* )
29264 if test "x$GCC" = "xyes"; then
29265 THREAD_OPTS=""
29266 fi
29267 ;;
29268
29269 *-*-*UnixWare*)
29270 if test "x$GCC" != "xyes"; then
29271 THREAD_OPTS="-Ethread"
29272 fi
29273 ;;
29274 esac
29275
29276 THREAD_OPTS="$THREAD_OPTS pthread none"
29277
29278 THREADS_OK=no
29279 for flag in $THREAD_OPTS; do
29280 case $flag in
29281 none)
29282 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29283echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29284 ;;
29285
29286 -*)
29287 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29288echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29289 THREADS_CFLAGS="$flag"
29290 ;;
29291
29292 *)
29293 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29294echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29295 THREADS_LINK="-l$flag"
29296 ;;
29297 esac
29298
29299 save_LIBS="$LIBS"
29300 save_CFLAGS="$CFLAGS"
29301 LIBS="$THREADS_LINK $LIBS"
29302 CFLAGS="$THREADS_CFLAGS $CFLAGS"
29303
29304 cat >conftest.$ac_ext <<_ACEOF
29305#line $LINENO "configure"
29306/* confdefs.h. */
29307_ACEOF
29308cat confdefs.h >>conftest.$ac_ext
29309cat >>conftest.$ac_ext <<_ACEOF
29310/* end confdefs.h. */
29311#include <pthread.h>
29312int
29313main ()
29314{
29315pthread_create(0,0,0,0);
29316 ;
29317 return 0;
29318}
29319_ACEOF
29320rm -f conftest.$ac_objext conftest$ac_exeext
29321if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29322 (eval $ac_link) 2>&5
29323 ac_status=$?
29324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29325 (exit $ac_status); } &&
29326 { ac_try='test -s conftest$ac_exeext'
29327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29328 (eval $ac_try) 2>&5
29329 ac_status=$?
29330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29331 (exit $ac_status); }; }; then
29332 THREADS_OK=yes
29333else
29334 echo "$as_me: failed program was:" >&5
29335sed 's/^/| /' conftest.$ac_ext >&5
29336
29337fi
29338rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29339
29340 LIBS="$save_LIBS"
29341 CFLAGS="$save_CFLAGS"
29342
29343 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29344echo "${ECHO_T}$THREADS_OK" >&6
29345 if test "x$THREADS_OK" = "xyes"; then
29346 break;
29347 fi
29348
29349 THREADS_LINK=""
29350 THREADS_CFLAGS=""
29351 done
29352
29353 if test "x$THREADS_OK" != "xyes"; then
29354 wxUSE_THREADS=no
29355 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29356echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29357 else
29358 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
29359 LIBS="$THREADS_LINK $LIBS"
29360
29361 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29362echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29363 flag=no
29364 case "${host}" in
29365 *-aix*)
29366 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
29367 flag="-D_THREAD_SAFE"
29368 ;;
29369 *-freebsd*)
29370 flag="-D_THREAD_SAFE"
29371 ;;
29372 *-hp-hpux* )
29373 flag="-D_REENTRANT"
29374 if test "x$GCC" != "xyes"; then
29375 flag="$flag -D_RWSTD_MULTI_THREAD"
29376 fi
29377 ;;
29378 *solaris* | alpha*-osf*)
29379 flag="-D_REENTRANT"
29380 ;;
29381 esac
29382 echo "$as_me:$LINENO: result: ${flag}" >&5
29383echo "${ECHO_T}${flag}" >&6
29384 if test "x$flag" != xno; then
29385 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
29386 fi
29387
29388 if test "x$THREADS_CFLAGS" != "x"; then
29389 CFLAGS="$CFLAGS $THREADS_CFLAGS"
29390 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
29391 fi
29392 fi
29393 fi
29394
29395 if test "$wxUSE_THREADS" = "yes" ; then
29396
29397for ac_func in thr_setconcurrency
29398do
29399as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29400echo "$as_me:$LINENO: checking for $ac_func" >&5
29401echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29402if eval "test \"\${$as_ac_var+set}\" = set"; then
29403 echo $ECHO_N "(cached) $ECHO_C" >&6
29404else
29405 cat >conftest.$ac_ext <<_ACEOF
29406#line $LINENO "configure"
29407/* confdefs.h. */
29408_ACEOF
29409cat confdefs.h >>conftest.$ac_ext
29410cat >>conftest.$ac_ext <<_ACEOF
29411/* end confdefs.h. */
29412/* System header to define __stub macros and hopefully few prototypes,
29413 which can conflict with char $ac_func (); below.
29414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29415 <limits.h> exists even on freestanding compilers. */
29416#ifdef __STDC__
29417# include <limits.h>
29418#else
29419# include <assert.h>
29420#endif
29421/* Override any gcc2 internal prototype to avoid an error. */
29422#ifdef __cplusplus
29423extern "C"
29424{
29425#endif
29426/* We use char because int might match the return type of a gcc2
29427 builtin and then its argument prototype would still apply. */
29428char $ac_func ();
29429/* The GNU C library defines this for functions which it implements
29430 to always fail with ENOSYS. Some functions are actually named
29431 something starting with __ and the normal name is an alias. */
29432#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29433choke me
29434#else
29435char (*f) () = $ac_func;
29436#endif
29437#ifdef __cplusplus
29438}
29439#endif
29440
29441int
29442main ()
29443{
29444return f != $ac_func;
29445 ;
29446 return 0;
29447}
29448_ACEOF
29449rm -f conftest.$ac_objext conftest$ac_exeext
29450if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29451 (eval $ac_link) 2>&5
29452 ac_status=$?
29453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29454 (exit $ac_status); } &&
29455 { ac_try='test -s conftest$ac_exeext'
29456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29457 (eval $ac_try) 2>&5
29458 ac_status=$?
29459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29460 (exit $ac_status); }; }; then
29461 eval "$as_ac_var=yes"
29462else
29463 echo "$as_me: failed program was:" >&5
29464sed 's/^/| /' conftest.$ac_ext >&5
29465
29466eval "$as_ac_var=no"
29467fi
29468rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29469fi
29470echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29471echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29472if test `eval echo '${'$as_ac_var'}'` = yes; then
29473 cat >>confdefs.h <<_ACEOF
29474#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29475_ACEOF
29476
29477fi
29478done
29479
29480
29481
29482for ac_header in sched.h
29483do
29484as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29485if eval "test \"\${$as_ac_Header+set}\" = set"; then
29486 echo "$as_me:$LINENO: checking for $ac_header" >&5
29487echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29488if eval "test \"\${$as_ac_Header+set}\" = set"; then
29489 echo $ECHO_N "(cached) $ECHO_C" >&6
29490fi
29491echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29492echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29493else
29494 # Is the header compilable?
29495echo "$as_me:$LINENO: checking $ac_header usability" >&5
29496echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29497cat >conftest.$ac_ext <<_ACEOF
29498#line $LINENO "configure"
29499/* confdefs.h. */
29500_ACEOF
29501cat confdefs.h >>conftest.$ac_ext
29502cat >>conftest.$ac_ext <<_ACEOF
29503/* end confdefs.h. */
29504$ac_includes_default
29505#include <$ac_header>
29506_ACEOF
29507rm -f conftest.$ac_objext
29508if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29509 (eval $ac_compile) 2>&5
29510 ac_status=$?
29511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512 (exit $ac_status); } &&
29513 { ac_try='test -s conftest.$ac_objext'
29514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29515 (eval $ac_try) 2>&5
29516 ac_status=$?
29517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29518 (exit $ac_status); }; }; then
29519 ac_header_compiler=yes
29520else
29521 echo "$as_me: failed program was:" >&5
29522sed 's/^/| /' conftest.$ac_ext >&5
29523
29524ac_header_compiler=no
29525fi
29526rm -f conftest.$ac_objext conftest.$ac_ext
29527echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29528echo "${ECHO_T}$ac_header_compiler" >&6
29529
29530# Is the header present?
29531echo "$as_me:$LINENO: checking $ac_header presence" >&5
29532echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29533cat >conftest.$ac_ext <<_ACEOF
29534#line $LINENO "configure"
29535/* confdefs.h. */
29536_ACEOF
29537cat confdefs.h >>conftest.$ac_ext
29538cat >>conftest.$ac_ext <<_ACEOF
29539/* end confdefs.h. */
29540#include <$ac_header>
29541_ACEOF
29542if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29543 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29544 ac_status=$?
29545 grep -v '^ *+' conftest.er1 >conftest.err
29546 rm -f conftest.er1
29547 cat conftest.err >&5
29548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29549 (exit $ac_status); } >/dev/null; then
29550 if test -s conftest.err; then
29551 ac_cpp_err=$ac_c_preproc_warn_flag
29552 else
29553 ac_cpp_err=
29554 fi
29555else
29556 ac_cpp_err=yes
29557fi
29558if test -z "$ac_cpp_err"; then
29559 ac_header_preproc=yes
29560else
29561 echo "$as_me: failed program was:" >&5
29562sed 's/^/| /' conftest.$ac_ext >&5
29563
29564 ac_header_preproc=no
29565fi
29566rm -f conftest.err conftest.$ac_ext
29567echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29568echo "${ECHO_T}$ac_header_preproc" >&6
29569
29570# So? What about this header?
29571case $ac_header_compiler:$ac_header_preproc in
29572 yes:no )
29573 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29574echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29575 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29576echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29577 (
29578 cat <<\_ASBOX
29579## ------------------------------------ ##
29580## Report this to bug-autoconf@gnu.org. ##
29581## ------------------------------------ ##
29582_ASBOX
29583 ) |
29584 sed "s/^/$as_me: WARNING: /" >&2
29585 ;;
29586 no:yes )
29587 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29588echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29589 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29590echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29591 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29592echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29593 (
29594 cat <<\_ASBOX
29595## ------------------------------------ ##
29596## Report this to bug-autoconf@gnu.org. ##
29597## ------------------------------------ ##
29598_ASBOX
29599 ) |
29600 sed "s/^/$as_me: WARNING: /" >&2
29601 ;;
29602esac
29603echo "$as_me:$LINENO: checking for $ac_header" >&5
29604echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29605if eval "test \"\${$as_ac_Header+set}\" = set"; then
29606 echo $ECHO_N "(cached) $ECHO_C" >&6
29607else
29608 eval "$as_ac_Header=$ac_header_preproc"
29609fi
29610echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29611echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29612
29613fi
29614if test `eval echo '${'$as_ac_Header'}'` = yes; then
29615 cat >>confdefs.h <<_ACEOF
29616#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29617_ACEOF
29618
29619fi
29620
29621done
29622
29623 if test "$ac_cv_header_sched_h" = "yes"; then
29624 echo "$as_me:$LINENO: checking for sched_yield" >&5
29625echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29626if test "${ac_cv_func_sched_yield+set}" = set; then
29627 echo $ECHO_N "(cached) $ECHO_C" >&6
29628else
29629 cat >conftest.$ac_ext <<_ACEOF
29630#line $LINENO "configure"
29631/* confdefs.h. */
29632_ACEOF
29633cat confdefs.h >>conftest.$ac_ext
29634cat >>conftest.$ac_ext <<_ACEOF
29635/* end confdefs.h. */
29636/* System header to define __stub macros and hopefully few prototypes,
29637 which can conflict with char sched_yield (); below.
29638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29639 <limits.h> exists even on freestanding compilers. */
29640#ifdef __STDC__
29641# include <limits.h>
29642#else
29643# include <assert.h>
29644#endif
29645/* Override any gcc2 internal prototype to avoid an error. */
29646#ifdef __cplusplus
29647extern "C"
29648{
29649#endif
29650/* We use char because int might match the return type of a gcc2
29651 builtin and then its argument prototype would still apply. */
29652char sched_yield ();
29653/* The GNU C library defines this for functions which it implements
29654 to always fail with ENOSYS. Some functions are actually named
29655 something starting with __ and the normal name is an alias. */
29656#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29657choke me
29658#else
29659char (*f) () = sched_yield;
29660#endif
29661#ifdef __cplusplus
29662}
29663#endif
29664
29665int
29666main ()
29667{
29668return f != sched_yield;
29669 ;
29670 return 0;
29671}
29672_ACEOF
29673rm -f conftest.$ac_objext conftest$ac_exeext
29674if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29675 (eval $ac_link) 2>&5
29676 ac_status=$?
29677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29678 (exit $ac_status); } &&
29679 { ac_try='test -s conftest$ac_exeext'
29680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29681 (eval $ac_try) 2>&5
29682 ac_status=$?
29683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29684 (exit $ac_status); }; }; then
29685 ac_cv_func_sched_yield=yes
29686else
29687 echo "$as_me: failed program was:" >&5
29688sed 's/^/| /' conftest.$ac_ext >&5
29689
29690ac_cv_func_sched_yield=no
29691fi
29692rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29693fi
29694echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29695echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29696if test $ac_cv_func_sched_yield = yes; then
29697 cat >>confdefs.h <<\_ACEOF
29698#define HAVE_SCHED_YIELD 1
29699_ACEOF
29700
29701else
29702
29703 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29704echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29705if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29706 echo $ECHO_N "(cached) $ECHO_C" >&6
29707else
29708 ac_check_lib_save_LIBS=$LIBS
29709LIBS="-lposix4 $LIBS"
29710cat >conftest.$ac_ext <<_ACEOF
29711#line $LINENO "configure"
29712/* confdefs.h. */
29713_ACEOF
29714cat confdefs.h >>conftest.$ac_ext
29715cat >>conftest.$ac_ext <<_ACEOF
29716/* end confdefs.h. */
29717
29718/* Override any gcc2 internal prototype to avoid an error. */
29719#ifdef __cplusplus
29720extern "C"
29721#endif
29722/* We use char because int might match the return type of a gcc2
29723 builtin and then its argument prototype would still apply. */
29724char sched_yield ();
29725int
29726main ()
29727{
29728sched_yield ();
29729 ;
29730 return 0;
29731}
29732_ACEOF
29733rm -f conftest.$ac_objext conftest$ac_exeext
29734if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29735 (eval $ac_link) 2>&5
29736 ac_status=$?
29737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29738 (exit $ac_status); } &&
29739 { ac_try='test -s conftest$ac_exeext'
29740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29741 (eval $ac_try) 2>&5
29742 ac_status=$?
29743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29744 (exit $ac_status); }; }; then
29745 ac_cv_lib_posix4_sched_yield=yes
29746else
29747 echo "$as_me: failed program was:" >&5
29748sed 's/^/| /' conftest.$ac_ext >&5
29749
29750ac_cv_lib_posix4_sched_yield=no
29751fi
29752rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29753LIBS=$ac_check_lib_save_LIBS
29754fi
29755echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29756echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29757if test $ac_cv_lib_posix4_sched_yield = yes; then
29758 cat >>confdefs.h <<\_ACEOF
29759#define HAVE_SCHED_YIELD 1
29760_ACEOF
29761 POSIX4_LINK=" -lposix4"
29762else
29763 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29764echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29765
29766fi
29767
29768
29769
29770fi
29771
29772 fi
29773
29774 HAVE_PRIOR_FUNCS=0
29775 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29776echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29777if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29778 echo $ECHO_N "(cached) $ECHO_C" >&6
29779else
29780 cat >conftest.$ac_ext <<_ACEOF
29781#line $LINENO "configure"
29782/* confdefs.h. */
29783_ACEOF
29784cat confdefs.h >>conftest.$ac_ext
29785cat >>conftest.$ac_ext <<_ACEOF
29786/* end confdefs.h. */
29787/* System header to define __stub macros and hopefully few prototypes,
29788 which can conflict with char pthread_attr_getschedpolicy (); below.
29789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29790 <limits.h> exists even on freestanding compilers. */
29791#ifdef __STDC__
29792# include <limits.h>
29793#else
29794# include <assert.h>
29795#endif
29796/* Override any gcc2 internal prototype to avoid an error. */
29797#ifdef __cplusplus
29798extern "C"
29799{
29800#endif
29801/* We use char because int might match the return type of a gcc2
29802 builtin and then its argument prototype would still apply. */
29803char pthread_attr_getschedpolicy ();
29804/* The GNU C library defines this for functions which it implements
29805 to always fail with ENOSYS. Some functions are actually named
29806 something starting with __ and the normal name is an alias. */
29807#if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29808choke me
29809#else
29810char (*f) () = pthread_attr_getschedpolicy;
29811#endif
29812#ifdef __cplusplus
29813}
29814#endif
29815
29816int
29817main ()
29818{
29819return f != pthread_attr_getschedpolicy;
29820 ;
29821 return 0;
29822}
29823_ACEOF
29824rm -f conftest.$ac_objext conftest$ac_exeext
29825if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29826 (eval $ac_link) 2>&5
29827 ac_status=$?
29828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29829 (exit $ac_status); } &&
29830 { ac_try='test -s conftest$ac_exeext'
29831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29832 (eval $ac_try) 2>&5
29833 ac_status=$?
29834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29835 (exit $ac_status); }; }; then
29836 ac_cv_func_pthread_attr_getschedpolicy=yes
29837else
29838 echo "$as_me: failed program was:" >&5
29839sed 's/^/| /' conftest.$ac_ext >&5
29840
29841ac_cv_func_pthread_attr_getschedpolicy=no
29842fi
29843rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29844fi
29845echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29846echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29847if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29848 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29849echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29850if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29851 echo $ECHO_N "(cached) $ECHO_C" >&6
29852else
29853 cat >conftest.$ac_ext <<_ACEOF
29854#line $LINENO "configure"
29855/* confdefs.h. */
29856_ACEOF
29857cat confdefs.h >>conftest.$ac_ext
29858cat >>conftest.$ac_ext <<_ACEOF
29859/* end confdefs.h. */
29860/* System header to define __stub macros and hopefully few prototypes,
29861 which can conflict with char pthread_attr_setschedparam (); below.
29862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29863 <limits.h> exists even on freestanding compilers. */
29864#ifdef __STDC__
29865# include <limits.h>
29866#else
29867# include <assert.h>
29868#endif
29869/* Override any gcc2 internal prototype to avoid an error. */
29870#ifdef __cplusplus
29871extern "C"
29872{
29873#endif
29874/* We use char because int might match the return type of a gcc2
29875 builtin and then its argument prototype would still apply. */
29876char pthread_attr_setschedparam ();
29877/* The GNU C library defines this for functions which it implements
29878 to always fail with ENOSYS. Some functions are actually named
29879 something starting with __ and the normal name is an alias. */
29880#if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29881choke me
29882#else
29883char (*f) () = pthread_attr_setschedparam;
29884#endif
29885#ifdef __cplusplus
29886}
29887#endif
29888
29889int
29890main ()
29891{
29892return f != pthread_attr_setschedparam;
29893 ;
29894 return 0;
29895}
29896_ACEOF
29897rm -f conftest.$ac_objext conftest$ac_exeext
29898if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29899 (eval $ac_link) 2>&5
29900 ac_status=$?
29901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29902 (exit $ac_status); } &&
29903 { ac_try='test -s conftest$ac_exeext'
29904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29905 (eval $ac_try) 2>&5
29906 ac_status=$?
29907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29908 (exit $ac_status); }; }; then
29909 ac_cv_func_pthread_attr_setschedparam=yes
29910else
29911 echo "$as_me: failed program was:" >&5
29912sed 's/^/| /' conftest.$ac_ext >&5
29913
29914ac_cv_func_pthread_attr_setschedparam=no
29915fi
29916rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29917fi
29918echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29919echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29920if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29921 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29922echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29923if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29924 echo $ECHO_N "(cached) $ECHO_C" >&6
29925else
29926 cat >conftest.$ac_ext <<_ACEOF
29927#line $LINENO "configure"
29928/* confdefs.h. */
29929_ACEOF
29930cat confdefs.h >>conftest.$ac_ext
29931cat >>conftest.$ac_ext <<_ACEOF
29932/* end confdefs.h. */
29933/* System header to define __stub macros and hopefully few prototypes,
29934 which can conflict with char sched_get_priority_max (); below.
29935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29936 <limits.h> exists even on freestanding compilers. */
29937#ifdef __STDC__
29938# include <limits.h>
29939#else
29940# include <assert.h>
29941#endif
29942/* Override any gcc2 internal prototype to avoid an error. */
29943#ifdef __cplusplus
29944extern "C"
29945{
29946#endif
29947/* We use char because int might match the return type of a gcc2
29948 builtin and then its argument prototype would still apply. */
29949char sched_get_priority_max ();
29950/* The GNU C library defines this for functions which it implements
29951 to always fail with ENOSYS. Some functions are actually named
29952 something starting with __ and the normal name is an alias. */
29953#if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29954choke me
29955#else
29956char (*f) () = sched_get_priority_max;
29957#endif
29958#ifdef __cplusplus
29959}
29960#endif
29961
29962int
29963main ()
29964{
29965return f != sched_get_priority_max;
29966 ;
29967 return 0;
29968}
29969_ACEOF
29970rm -f conftest.$ac_objext conftest$ac_exeext
29971if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29972 (eval $ac_link) 2>&5
29973 ac_status=$?
29974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29975 (exit $ac_status); } &&
29976 { ac_try='test -s conftest$ac_exeext'
29977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29978 (eval $ac_try) 2>&5
29979 ac_status=$?
29980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29981 (exit $ac_status); }; }; then
29982 ac_cv_func_sched_get_priority_max=yes
29983else
29984 echo "$as_me: failed program was:" >&5
29985sed 's/^/| /' conftest.$ac_ext >&5
29986
29987ac_cv_func_sched_get_priority_max=no
29988fi
29989rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29990fi
29991echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29992echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29993if test $ac_cv_func_sched_get_priority_max = yes; then
29994 HAVE_PRIOR_FUNCS=1
29995else
29996 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29997echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29998if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29999 echo $ECHO_N "(cached) $ECHO_C" >&6
30000else
30001 ac_check_lib_save_LIBS=$LIBS
30002LIBS="-lposix4 $LIBS"
30003cat >conftest.$ac_ext <<_ACEOF
30004#line $LINENO "configure"
30005/* confdefs.h. */
30006_ACEOF
30007cat confdefs.h >>conftest.$ac_ext
30008cat >>conftest.$ac_ext <<_ACEOF
30009/* end confdefs.h. */
30010
30011/* Override any gcc2 internal prototype to avoid an error. */
30012#ifdef __cplusplus
30013extern "C"
30014#endif
30015/* We use char because int might match the return type of a gcc2
30016 builtin and then its argument prototype would still apply. */
30017char sched_get_priority_max ();
30018int
30019main ()
30020{
30021sched_get_priority_max ();
30022 ;
30023 return 0;
30024}
30025_ACEOF
30026rm -f conftest.$ac_objext conftest$ac_exeext
30027if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30028 (eval $ac_link) 2>&5
30029 ac_status=$?
30030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30031 (exit $ac_status); } &&
30032 { ac_try='test -s conftest$ac_exeext'
30033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30034 (eval $ac_try) 2>&5
30035 ac_status=$?
30036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30037 (exit $ac_status); }; }; then
30038 ac_cv_lib_posix4_sched_get_priority_max=yes
30039else
30040 echo "$as_me: failed program was:" >&5
30041sed 's/^/| /' conftest.$ac_ext >&5
30042
30043ac_cv_lib_posix4_sched_get_priority_max=no
30044fi
30045rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30046LIBS=$ac_check_lib_save_LIBS
30047fi
30048echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
30049echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
30050if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
30051
30052 HAVE_PRIOR_FUNCS=1
30053 POSIX4_LINK=" -lposix4"
30054
30055fi
30056
30057
30058fi
30059
30060
30061fi
30062
30063
30064fi
30065
30066
30067 if test "$HAVE_PRIOR_FUNCS" = 1; then
30068 cat >>confdefs.h <<\_ACEOF
30069#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
30070_ACEOF
30071
30072 else
30073 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
30074echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
30075 fi
30076
30077 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
30078echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
30079if test "${ac_cv_func_pthread_cancel+set}" = set; then
30080 echo $ECHO_N "(cached) $ECHO_C" >&6
30081else
30082 cat >conftest.$ac_ext <<_ACEOF
30083#line $LINENO "configure"
30084/* confdefs.h. */
30085_ACEOF
30086cat confdefs.h >>conftest.$ac_ext
30087cat >>conftest.$ac_ext <<_ACEOF
30088/* end confdefs.h. */
30089/* System header to define __stub macros and hopefully few prototypes,
30090 which can conflict with char pthread_cancel (); below.
30091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30092 <limits.h> exists even on freestanding compilers. */
30093#ifdef __STDC__
30094# include <limits.h>
30095#else
30096# include <assert.h>
30097#endif
30098/* Override any gcc2 internal prototype to avoid an error. */
30099#ifdef __cplusplus
30100extern "C"
30101{
30102#endif
30103/* We use char because int might match the return type of a gcc2
30104 builtin and then its argument prototype would still apply. */
30105char pthread_cancel ();
30106/* The GNU C library defines this for functions which it implements
30107 to always fail with ENOSYS. Some functions are actually named
30108 something starting with __ and the normal name is an alias. */
30109#if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
30110choke me
30111#else
30112char (*f) () = pthread_cancel;
30113#endif
30114#ifdef __cplusplus
30115}
30116#endif
30117
30118int
30119main ()
30120{
30121return f != pthread_cancel;
30122 ;
30123 return 0;
30124}
30125_ACEOF
30126rm -f conftest.$ac_objext conftest$ac_exeext
30127if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30128 (eval $ac_link) 2>&5
30129 ac_status=$?
30130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30131 (exit $ac_status); } &&
30132 { ac_try='test -s conftest$ac_exeext'
30133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30134 (eval $ac_try) 2>&5
30135 ac_status=$?
30136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30137 (exit $ac_status); }; }; then
30138 ac_cv_func_pthread_cancel=yes
30139else
30140 echo "$as_me: failed program was:" >&5
30141sed 's/^/| /' conftest.$ac_ext >&5
30142
30143ac_cv_func_pthread_cancel=no
30144fi
30145rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30146fi
30147echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
30148echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
30149if test $ac_cv_func_pthread_cancel = yes; then
30150 cat >>confdefs.h <<\_ACEOF
30151#define HAVE_PTHREAD_CANCEL 1
30152_ACEOF
30153
30154else
30155 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
30156echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
30157fi
30158
30159
30160
30161
30162 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
30163echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
30164if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
30165 echo $ECHO_N "(cached) $ECHO_C" >&6
30166else
30167
30168 cat >conftest.$ac_ext <<_ACEOF
30169#line $LINENO "configure"
30170/* confdefs.h. */
30171_ACEOF
30172cat confdefs.h >>conftest.$ac_ext
30173cat >>conftest.$ac_ext <<_ACEOF
30174/* end confdefs.h. */
30175#include <pthread.h>
30176int
30177main ()
30178{
30179
30180 pthread_mutexattr_t attr;
30181 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
30182
30183 ;
30184 return 0;
30185}
30186_ACEOF
30187rm -f conftest.$ac_objext
30188if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30189 (eval $ac_compile) 2>&5
30190 ac_status=$?
30191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30192 (exit $ac_status); } &&
30193 { ac_try='test -s conftest.$ac_objext'
30194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30195 (eval $ac_try) 2>&5
30196 ac_status=$?
30197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30198 (exit $ac_status); }; }; then
30199
30200 wx_cv_type_pthread_mutexattr_t=yes
30201
30202else
30203 echo "$as_me: failed program was:" >&5
30204sed 's/^/| /' conftest.$ac_ext >&5
30205
30206
30207 wx_cv_type_pthread_mutexattr_t=no
30208
30209
30210fi
30211rm -f conftest.$ac_objext conftest.$ac_ext
30212
30213fi
30214echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
30215echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
30216
30217 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
30218 cat >>confdefs.h <<\_ACEOF
30219#define HAVE_PTHREAD_MUTEXATTR_T 1
30220_ACEOF
30221
30222 else
30223 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
30224echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
30225if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
30226 echo $ECHO_N "(cached) $ECHO_C" >&6
30227else
30228
30229 cat >conftest.$ac_ext <<_ACEOF
30230#line $LINENO "configure"
30231/* confdefs.h. */
30232_ACEOF
30233cat confdefs.h >>conftest.$ac_ext
30234cat >>conftest.$ac_ext <<_ACEOF
30235/* end confdefs.h. */
30236#include <pthread.h>
30237int
30238main ()
30239{
30240
30241 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
30242
30243 ;
30244 return 0;
30245}
30246_ACEOF
30247rm -f conftest.$ac_objext
30248if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30249 (eval $ac_compile) 2>&5
30250 ac_status=$?
30251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30252 (exit $ac_status); } &&
30253 { ac_try='test -s conftest.$ac_objext'
30254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30255 (eval $ac_try) 2>&5
30256 ac_status=$?
30257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30258 (exit $ac_status); }; }; then
30259
30260 wx_cv_type_pthread_rec_mutex_init=yes
30261
30262else
30263 echo "$as_me: failed program was:" >&5
30264sed 's/^/| /' conftest.$ac_ext >&5
30265
30266
30267 wx_cv_type_pthread_rec_mutex_init=no
30268
30269
30270fi
30271rm -f conftest.$ac_objext conftest.$ac_ext
30272
30273fi
30274echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30275echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30276 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30277 cat >>confdefs.h <<\_ACEOF
30278#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30279_ACEOF
30280
30281 else
30282 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30283echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30284 fi
30285 fi
30286 fi
30287
30288else
30289 if test "$wxUSE_THREADS" = "yes" ; then
30290 case "${host}" in
30291 *-*-mingw32* )
30292 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30293echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30294if test "${wx_cv_cflags_mthread+set}" = set; then
30295 echo $ECHO_N "(cached) $ECHO_C" >&6
30296else
30297
30298 CFLAGS_OLD="$CFLAGS"
30299 CFLAGS="$CFLAGS -mthreads"
30300 cat >conftest.$ac_ext <<_ACEOF
30301#line $LINENO "configure"
30302/* confdefs.h. */
30303_ACEOF
30304cat confdefs.h >>conftest.$ac_ext
30305cat >>conftest.$ac_ext <<_ACEOF
30306/* end confdefs.h. */
30307
30308int
30309main ()
30310{
30311
30312 ;
30313 return 0;
30314}
30315_ACEOF
30316rm -f conftest.$ac_objext
30317if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30318 (eval $ac_compile) 2>&5
30319 ac_status=$?
30320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30321 (exit $ac_status); } &&
30322 { ac_try='test -s conftest.$ac_objext'
30323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30324 (eval $ac_try) 2>&5
30325 ac_status=$?
30326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30327 (exit $ac_status); }; }; then
30328 wx_cv_cflags_mthread=yes
30329else
30330 echo "$as_me: failed program was:" >&5
30331sed 's/^/| /' conftest.$ac_ext >&5
30332
30333wx_cv_cflags_mthread=no
30334
30335fi
30336rm -f conftest.$ac_objext conftest.$ac_ext
30337
30338
30339fi
30340echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30341echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30342
30343 if test "$wx_cv_cflags_mthread" = "yes"; then
30344 CXXFLAGS="$CXXFLAGS -mthreads"
30345 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
30346 LDFLAGS="$LDFLAGS -mthreads"
30347 else
30348 CFLAGS="$CFLAGS_OLD"
30349 fi
30350 ;;
30351 *-pc-os2*emx )
30352 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
30353 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
30354 LDFLAGS="$LDFLAGS -Zmt"
30355 ;;
30356 esac
30357 fi
30358fi
30359
30360if test "$wxUSE_THREADS" = "yes"; then
30361 cat >>confdefs.h <<\_ACEOF
30362#define wxUSE_THREADS 1
30363_ACEOF
30364
30365
30366 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
30367else
30368 if test "$ac_cv_func_strtok_r" = "yes"; then
30369 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30370echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30371 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30372 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
30373 echo "$as_me:$LINENO: result: yes" >&5
30374echo "${ECHO_T}yes" >&6
30375 else
30376 echo "$as_me:$LINENO: result: no" >&5
30377echo "${ECHO_T}no" >&6
30378 fi
30379 fi
30380fi
30381
30382if test "$WXGTK20" = 1 ; then
30383 cat >>confdefs.h <<_ACEOF
30384#define __WXGTK20__ $WXGTK20
30385_ACEOF
30386
30387 WXGTK12=1
30388fi
30389
30390if test "$WXGTK12" = 1 ; then
30391 cat >>confdefs.h <<_ACEOF
30392#define __WXGTK12__ $WXGTK12
30393_ACEOF
30394
30395fi
30396
30397if test "$WXGTK127" = 1 ; then
30398 cat >>confdefs.h <<_ACEOF
30399#define __WXGTK127__ $WXGTK127
30400_ACEOF
30401
30402fi
30403
30404WXDEBUG=
30405
30406if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30407 WXDEBUG="-g"
30408 wxUSE_OPTIMISE=no
30409fi
30410
30411if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30412 wxUSE_DEBUG_INFO=yes
30413 WXDEBUG="-ggdb"
30414fi
30415
30416if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30417 cat >>confdefs.h <<\_ACEOF
30418#define WXDEBUG 1
30419_ACEOF
30420
30421 WXDEBUG_DEFINE="-D__WXDEBUG__"
30422else
30423 if test "$wxUSE_GTK" = 1 ; then
30424 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
30425 fi
30426fi
30427
30428if test "$wxUSE_MEM_TRACING" = "yes" ; then
30429 cat >>confdefs.h <<\_ACEOF
30430#define wxUSE_MEMORY_TRACING 1
30431_ACEOF
30432
30433 cat >>confdefs.h <<\_ACEOF
30434#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30435_ACEOF
30436
30437 cat >>confdefs.h <<\_ACEOF
30438#define wxUSE_DEBUG_NEW_ALWAYS 1
30439_ACEOF
30440
30441 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
30442fi
30443
30444if test "$wxUSE_DMALLOC" = "yes" ; then
30445 DMALLOC_LIBS="-ldmalloc"
30446fi
30447
30448PROFILE=
30449if test "$wxUSE_PROFILE" = "yes" ; then
30450 PROFILE=" -pg"
30451fi
30452
30453CODE_GEN_FLAGS=
30454CODE_GEN_FLAGS_CXX=
30455if test "$GCC" = "yes" ; then
30456 if test "$wxUSE_NO_RTTI" = "yes" ; then
30457 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
30458 fi
30459 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30460 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30461 fi
30462 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30463 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
30464 fi
30465
30466 case "${host}" in
30467 powerpc*-*-aix* )
30468 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
30469 ;;
30470 *-hppa* )
30471 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
30472 ;;
30473 esac
30474fi
30475
30476OPTIMISE=
30477if test "$wxUSE_OPTIMISE" = "no" ; then
30478 if test "$GCC" = yes ; then
30479 OPTIMISE="-O0"
30480 fi
30481else
30482 if test "$GCC" = yes ; then
30483 OPTIMISE="-O2"
30484
30485 case "${host}" in
30486 i586-*-*|i686-*-* )
30487 OPTIMISE="${OPTIMISE} "
30488 ;;
30489 esac
30490 else
30491 OPTIMISE="-O"
30492 fi
30493fi
30494
30495
30496if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30497 cat >>confdefs.h <<\_ACEOF
30498#define WXWIN_COMPATIBILITY_2_2 1
30499_ACEOF
30500
30501
30502 WXWIN_COMPATIBILITY_2_4="yes"
30503fi
30504
30505if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30506 cat >>confdefs.h <<\_ACEOF
30507#define WXWIN_COMPATIBILITY_2_4 1
30508_ACEOF
30509
30510fi
30511
30512
30513if test "$wxUSE_GUI" = "yes"; then
30514 cat >>confdefs.h <<\_ACEOF
30515#define wxUSE_GUI 1
30516_ACEOF
30517
30518
30519 else
30520 cat >>confdefs.h <<\_ACEOF
30521#define wxUSE_NOGUI 1
30522_ACEOF
30523
30524fi
30525
30526
30527if test "$wxUSE_UNIX" = "yes"; then
30528 cat >>confdefs.h <<\_ACEOF
30529#define wxUSE_UNIX 1
30530_ACEOF
30531
30532fi
30533
30534
30535if test "$wxUSE_STL" = "yes"; then
30536 cat >>confdefs.h <<\_ACEOF
30537#define wxUSE_STL 1
30538_ACEOF
30539
30540fi
30541
30542if test "$wxUSE_APPLE_IEEE" = "yes"; then
30543 cat >>confdefs.h <<\_ACEOF
30544#define wxUSE_APPLE_IEEE 1
30545_ACEOF
30546
30547fi
30548
30549if test "$wxUSE_TIMER" = "yes"; then
30550 cat >>confdefs.h <<\_ACEOF
30551#define wxUSE_TIMER 1
30552_ACEOF
30553
30554fi
30555
30556if test "$wxUSE_WAVE" = "yes"; then
30557 cat >>confdefs.h <<\_ACEOF
30558#define wxUSE_WAVE 1
30559_ACEOF
30560
30561fi
30562
30563if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30564 cat >>confdefs.h <<\_ACEOF
30565#define wxUSE_CMDLINE_PARSER 1
30566_ACEOF
30567
30568fi
30569
30570if test "$wxUSE_STOPWATCH" = "yes"; then
30571 cat >>confdefs.h <<\_ACEOF
30572#define wxUSE_STOPWATCH 1
30573_ACEOF
30574
30575fi
30576
30577if test "$wxUSE_DATETIME" = "yes"; then
30578 cat >>confdefs.h <<\_ACEOF
30579#define wxUSE_DATETIME 1
30580_ACEOF
30581
30582fi
30583
30584if test "$wxUSE_FILE" = "yes"; then
30585 cat >>confdefs.h <<\_ACEOF
30586#define wxUSE_FILE 1
30587_ACEOF
30588
30589fi
30590
30591if test "$wxUSE_FFILE" = "yes"; then
30592 cat >>confdefs.h <<\_ACEOF
30593#define wxUSE_FFILE 1
30594_ACEOF
30595
30596fi
30597
30598if test "$wxUSE_FILESYSTEM" = "yes"; then
30599 cat >>confdefs.h <<\_ACEOF
30600#define wxUSE_FILESYSTEM 1
30601_ACEOF
30602
30603fi
30604
30605if test "$wxUSE_FS_ZIP" = "yes"; then
30606 cat >>confdefs.h <<\_ACEOF
30607#define wxUSE_FS_ZIP 1
30608_ACEOF
30609
30610fi
30611
30612if test "$wxUSE_ZIPSTREAM" = "yes"; then
30613 cat >>confdefs.h <<\_ACEOF
30614#define wxUSE_ZIPSTREAM 1
30615_ACEOF
30616
30617fi
30618
30619if test "$wxUSE_GZSTREAM" = "yes"; then
30620 cat >>confdefs.h <<\_ACEOF
30621#define wxUSE_GZSTREAM 1
30622_ACEOF
30623
30624fi
30625
30626if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30627 cat >>confdefs.h <<\_ACEOF
30628#define wxUSE_ON_FATAL_EXCEPTION 1
30629_ACEOF
30630
30631fi
30632
30633if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30634 cat >>confdefs.h <<\_ACEOF
30635#define wxUSE_SNGLINST_CHECKER 1
30636_ACEOF
30637
30638fi
30639
30640if test "$wxUSE_BUSYINFO" = "yes"; then
30641 cat >>confdefs.h <<\_ACEOF
30642#define wxUSE_BUSYINFO 1
30643_ACEOF
30644
30645fi
30646
30647if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30648 cat >>confdefs.h <<\_ACEOF
30649#define wxUSE_STD_IOSTREAM 1
30650_ACEOF
30651
30652fi
30653
30654if test "$wxUSE_TEXTBUFFER" = "yes"; then
30655 cat >>confdefs.h <<\_ACEOF
30656#define wxUSE_TEXTBUFFER 1
30657_ACEOF
30658
30659fi
30660
30661if test "$wxUSE_TEXTFILE" = "yes"; then
30662 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30663 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30664echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30665 else
30666 cat >>confdefs.h <<\_ACEOF
30667#define wxUSE_TEXTFILE 1
30668_ACEOF
30669
30670 fi
30671fi
30672
30673if test "$wxUSE_CONFIG" = "yes" ; then
30674 if test "$wxUSE_TEXTFILE" != "yes"; then
30675 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30676echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30677 else
30678 cat >>confdefs.h <<\_ACEOF
30679#define wxUSE_CONFIG 1
30680_ACEOF
30681
30682 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30683 fi
30684fi
30685
30686if test "$wxUSE_INTL" = "yes" ; then
30687 if test "$wxUSE_FILE" != "yes"; then
30688 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30689echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30690 else
30691 cat >>confdefs.h <<\_ACEOF
30692#define wxUSE_INTL 1
30693_ACEOF
30694
30695 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30696 GUIDIST="$GUIDIST INTL_DIST"
30697 fi
30698fi
30699
30700if test "$wxUSE_LOG" = "yes"; then
30701 cat >>confdefs.h <<\_ACEOF
30702#define wxUSE_LOG 1
30703_ACEOF
30704
30705
30706 if test "$wxUSE_LOGGUI" = "yes"; then
30707 cat >>confdefs.h <<\_ACEOF
30708#define wxUSE_LOGGUI 1
30709_ACEOF
30710
30711 fi
30712
30713 if test "$wxUSE_LOGWINDOW" = "yes"; then
30714 cat >>confdefs.h <<\_ACEOF
30715#define wxUSE_LOGWINDOW 1
30716_ACEOF
30717
30718 fi
30719
30720 if test "$wxUSE_LOGDIALOG" = "yes"; then
30721 cat >>confdefs.h <<\_ACEOF
30722#define wxUSE_LOG_DIALOG 1
30723_ACEOF
30724
30725 fi
30726fi
30727
30728if test "$wxUSE_LONGLONG" = "yes"; then
30729 cat >>confdefs.h <<\_ACEOF
30730#define wxUSE_LONGLONG 1
30731_ACEOF
30732
30733fi
30734
30735if test "$wxUSE_GEOMETRY" = "yes"; then
30736 cat >>confdefs.h <<\_ACEOF
30737#define wxUSE_GEOMETRY 1
30738_ACEOF
30739
30740fi
30741
30742if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30743 cat >>confdefs.h <<\_ACEOF
30744#define wxUSE_DIALUP_MANAGER 1
30745_ACEOF
30746
30747 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30748fi
30749
30750if test "$wxUSE_STREAMS" = "yes" ; then
30751 cat >>confdefs.h <<\_ACEOF
30752#define wxUSE_STREAMS 1
30753_ACEOF
30754
30755fi
30756
30757
30758if test "$wxUSE_DATETIME" = "yes"; then
30759
30760for ac_func in strptime
30761do
30762as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30763echo "$as_me:$LINENO: checking for $ac_func" >&5
30764echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30765if eval "test \"\${$as_ac_var+set}\" = set"; then
30766 echo $ECHO_N "(cached) $ECHO_C" >&6
30767else
30768 cat >conftest.$ac_ext <<_ACEOF
30769#line $LINENO "configure"
30770/* confdefs.h. */
30771_ACEOF
30772cat confdefs.h >>conftest.$ac_ext
30773cat >>conftest.$ac_ext <<_ACEOF
30774/* end confdefs.h. */
30775/* System header to define __stub macros and hopefully few prototypes,
30776 which can conflict with char $ac_func (); below.
30777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30778 <limits.h> exists even on freestanding compilers. */
30779#ifdef __STDC__
30780# include <limits.h>
30781#else
30782# include <assert.h>
30783#endif
30784/* Override any gcc2 internal prototype to avoid an error. */
30785#ifdef __cplusplus
30786extern "C"
30787{
30788#endif
30789/* We use char because int might match the return type of a gcc2
30790 builtin and then its argument prototype would still apply. */
30791char $ac_func ();
30792/* The GNU C library defines this for functions which it implements
30793 to always fail with ENOSYS. Some functions are actually named
30794 something starting with __ and the normal name is an alias. */
30795#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30796choke me
30797#else
30798char (*f) () = $ac_func;
30799#endif
30800#ifdef __cplusplus
30801}
30802#endif
30803
30804int
30805main ()
30806{
30807return f != $ac_func;
30808 ;
30809 return 0;
30810}
30811_ACEOF
30812rm -f conftest.$ac_objext conftest$ac_exeext
30813if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30814 (eval $ac_link) 2>&5
30815 ac_status=$?
30816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30817 (exit $ac_status); } &&
30818 { ac_try='test -s conftest$ac_exeext'
30819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30820 (eval $ac_try) 2>&5
30821 ac_status=$?
30822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30823 (exit $ac_status); }; }; then
30824 eval "$as_ac_var=yes"
30825else
30826 echo "$as_me: failed program was:" >&5
30827sed 's/^/| /' conftest.$ac_ext >&5
30828
30829eval "$as_ac_var=no"
30830fi
30831rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30832fi
30833echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30834echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30835if test `eval echo '${'$as_ac_var'}'` = yes; then
30836 cat >>confdefs.h <<_ACEOF
30837#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30838_ACEOF
30839
30840fi
30841done
30842
30843
30844 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30845echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30846if test "${wx_cv_var_timezone+set}" = set; then
30847 echo $ECHO_N "(cached) $ECHO_C" >&6
30848else
30849
30850 cat >conftest.$ac_ext <<_ACEOF
30851#line $LINENO "configure"
30852/* confdefs.h. */
30853_ACEOF
30854cat confdefs.h >>conftest.$ac_ext
30855cat >>conftest.$ac_ext <<_ACEOF
30856/* end confdefs.h. */
30857
30858 #include <time.h>
30859
30860int
30861main ()
30862{
30863
30864 int tz;
30865 tz = timezone;
30866
30867 ;
30868 return 0;
30869}
30870_ACEOF
30871rm -f conftest.$ac_objext
30872if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30873 (eval $ac_compile) 2>&5
30874 ac_status=$?
30875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30876 (exit $ac_status); } &&
30877 { ac_try='test -s conftest.$ac_objext'
30878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30879 (eval $ac_try) 2>&5
30880 ac_status=$?
30881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30882 (exit $ac_status); }; }; then
30883
30884 wx_cv_var_timezone=timezone
30885
30886else
30887 echo "$as_me: failed program was:" >&5
30888sed 's/^/| /' conftest.$ac_ext >&5
30889
30890
30891 cat >conftest.$ac_ext <<_ACEOF
30892#line $LINENO "configure"
30893/* confdefs.h. */
30894_ACEOF
30895cat confdefs.h >>conftest.$ac_ext
30896cat >>conftest.$ac_ext <<_ACEOF
30897/* end confdefs.h. */
30898
30899 #include <time.h>
30900
30901int
30902main ()
30903{
30904
30905 int tz;
30906 tz = _timezone;
30907
30908 ;
30909 return 0;
30910}
30911_ACEOF
30912rm -f conftest.$ac_objext
30913if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30914 (eval $ac_compile) 2>&5
30915 ac_status=$?
30916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30917 (exit $ac_status); } &&
30918 { ac_try='test -s conftest.$ac_objext'
30919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30920 (eval $ac_try) 2>&5
30921 ac_status=$?
30922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923 (exit $ac_status); }; }; then
30924
30925 wx_cv_var_timezone=_timezone
30926
30927else
30928 echo "$as_me: failed program was:" >&5
30929sed 's/^/| /' conftest.$ac_ext >&5
30930
30931
30932 cat >conftest.$ac_ext <<_ACEOF
30933#line $LINENO "configure"
30934/* confdefs.h. */
30935_ACEOF
30936cat confdefs.h >>conftest.$ac_ext
30937cat >>conftest.$ac_ext <<_ACEOF
30938/* end confdefs.h. */
30939
30940 #include <time.h>
30941
30942int
30943main ()
30944{
30945
30946 int tz;
30947 tz = __timezone;
30948
30949 ;
30950 return 0;
30951}
30952_ACEOF
30953rm -f conftest.$ac_objext
30954if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30955 (eval $ac_compile) 2>&5
30956 ac_status=$?
30957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30958 (exit $ac_status); } &&
30959 { ac_try='test -s conftest.$ac_objext'
30960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30961 (eval $ac_try) 2>&5
30962 ac_status=$?
30963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30964 (exit $ac_status); }; }; then
30965
30966 wx_cv_var_timezone=__timezone
30967
30968else
30969 echo "$as_me: failed program was:" >&5
30970sed 's/^/| /' conftest.$ac_ext >&5
30971
30972
30973 if test "$USE_DOS" = 0 ; then
30974 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30975echo "$as_me: WARNING: no timezone variable" >&2;}
30976 fi
30977
30978
30979fi
30980rm -f conftest.$ac_objext conftest.$ac_ext
30981
30982
30983fi
30984rm -f conftest.$ac_objext conftest.$ac_ext
30985
30986
30987fi
30988rm -f conftest.$ac_objext conftest.$ac_ext
30989
30990
30991fi
30992echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30993echo "${ECHO_T}$wx_cv_var_timezone" >&6
30994
30995 if test "x$wx_cv_var_timezone" != x ; then
30996 cat >>confdefs.h <<_ACEOF
30997#define WX_TIMEZONE $wx_cv_var_timezone
30998_ACEOF
30999
31000 fi
31001
31002
31003for ac_func in localtime
31004do
31005as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31006echo "$as_me:$LINENO: checking for $ac_func" >&5
31007echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31008if eval "test \"\${$as_ac_var+set}\" = set"; then
31009 echo $ECHO_N "(cached) $ECHO_C" >&6
31010else
31011 cat >conftest.$ac_ext <<_ACEOF
31012#line $LINENO "configure"
31013/* confdefs.h. */
31014_ACEOF
31015cat confdefs.h >>conftest.$ac_ext
31016cat >>conftest.$ac_ext <<_ACEOF
31017/* end confdefs.h. */
31018/* System header to define __stub macros and hopefully few prototypes,
31019 which can conflict with char $ac_func (); below.
31020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31021 <limits.h> exists even on freestanding compilers. */
31022#ifdef __STDC__
31023# include <limits.h>
31024#else
31025# include <assert.h>
31026#endif
31027/* Override any gcc2 internal prototype to avoid an error. */
31028#ifdef __cplusplus
31029extern "C"
31030{
31031#endif
31032/* We use char because int might match the return type of a gcc2
31033 builtin and then its argument prototype would still apply. */
31034char $ac_func ();
31035/* The GNU C library defines this for functions which it implements
31036 to always fail with ENOSYS. Some functions are actually named
31037 something starting with __ and the normal name is an alias. */
31038#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31039choke me
31040#else
31041char (*f) () = $ac_func;
31042#endif
31043#ifdef __cplusplus
31044}
31045#endif
31046
31047int
31048main ()
31049{
31050return f != $ac_func;
31051 ;
31052 return 0;
31053}
31054_ACEOF
31055rm -f conftest.$ac_objext conftest$ac_exeext
31056if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31057 (eval $ac_link) 2>&5
31058 ac_status=$?
31059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31060 (exit $ac_status); } &&
31061 { ac_try='test -s conftest$ac_exeext'
31062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31063 (eval $ac_try) 2>&5
31064 ac_status=$?
31065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31066 (exit $ac_status); }; }; then
31067 eval "$as_ac_var=yes"
31068else
31069 echo "$as_me: failed program was:" >&5
31070sed 's/^/| /' conftest.$ac_ext >&5
31071
31072eval "$as_ac_var=no"
31073fi
31074rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31075fi
31076echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31077echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31078if test `eval echo '${'$as_ac_var'}'` = yes; then
31079 cat >>confdefs.h <<_ACEOF
31080#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31081_ACEOF
31082
31083fi
31084done
31085
31086
31087 if test "$ac_cv_func_localtime" = "yes"; then
31088 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
31089echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
31090if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
31091 echo $ECHO_N "(cached) $ECHO_C" >&6
31092else
31093
31094 cat >conftest.$ac_ext <<_ACEOF
31095#line $LINENO "configure"
31096/* confdefs.h. */
31097_ACEOF
31098cat confdefs.h >>conftest.$ac_ext
31099cat >>conftest.$ac_ext <<_ACEOF
31100/* end confdefs.h. */
31101
31102 #include <time.h>
31103
31104int
31105main ()
31106{
31107
31108 struct tm tm;
31109 tm.tm_gmtoff++;
31110
31111 ;
31112 return 0;
31113}
31114_ACEOF
31115rm -f conftest.$ac_objext
31116if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31117 (eval $ac_compile) 2>&5
31118 ac_status=$?
31119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31120 (exit $ac_status); } &&
31121 { ac_try='test -s conftest.$ac_objext'
31122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31123 (eval $ac_try) 2>&5
31124 ac_status=$?
31125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31126 (exit $ac_status); }; }; then
31127
31128 wx_cv_struct_tm_has_gmtoff=yes
31129
31130else
31131 echo "$as_me: failed program was:" >&5
31132sed 's/^/| /' conftest.$ac_ext >&5
31133
31134wx_cv_struct_tm_has_gmtoff=no
31135
31136fi
31137rm -f conftest.$ac_objext conftest.$ac_ext
31138
31139fi
31140echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
31141echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
31142 fi
31143
31144 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
31145 cat >>confdefs.h <<\_ACEOF
31146#define WX_GMTOFF_IN_TM 1
31147_ACEOF
31148
31149 fi
31150
31151
31152
31153for ac_func in gettimeofday ftime
31154do
31155as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31156echo "$as_me:$LINENO: checking for $ac_func" >&5
31157echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31158if eval "test \"\${$as_ac_var+set}\" = set"; then
31159 echo $ECHO_N "(cached) $ECHO_C" >&6
31160else
31161 cat >conftest.$ac_ext <<_ACEOF
31162#line $LINENO "configure"
31163/* confdefs.h. */
31164_ACEOF
31165cat confdefs.h >>conftest.$ac_ext
31166cat >>conftest.$ac_ext <<_ACEOF
31167/* end confdefs.h. */
31168/* System header to define __stub macros and hopefully few prototypes,
31169 which can conflict with char $ac_func (); below.
31170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31171 <limits.h> exists even on freestanding compilers. */
31172#ifdef __STDC__
31173# include <limits.h>
31174#else
31175# include <assert.h>
31176#endif
31177/* Override any gcc2 internal prototype to avoid an error. */
31178#ifdef __cplusplus
31179extern "C"
31180{
31181#endif
31182/* We use char because int might match the return type of a gcc2
31183 builtin and then its argument prototype would still apply. */
31184char $ac_func ();
31185/* The GNU C library defines this for functions which it implements
31186 to always fail with ENOSYS. Some functions are actually named
31187 something starting with __ and the normal name is an alias. */
31188#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31189choke me
31190#else
31191char (*f) () = $ac_func;
31192#endif
31193#ifdef __cplusplus
31194}
31195#endif
31196
31197int
31198main ()
31199{
31200return f != $ac_func;
31201 ;
31202 return 0;
31203}
31204_ACEOF
31205rm -f conftest.$ac_objext conftest$ac_exeext
31206if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31207 (eval $ac_link) 2>&5
31208 ac_status=$?
31209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31210 (exit $ac_status); } &&
31211 { ac_try='test -s conftest$ac_exeext'
31212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31213 (eval $ac_try) 2>&5
31214 ac_status=$?
31215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31216 (exit $ac_status); }; }; then
31217 eval "$as_ac_var=yes"
31218else
31219 echo "$as_me: failed program was:" >&5
31220sed 's/^/| /' conftest.$ac_ext >&5
31221
31222eval "$as_ac_var=no"
31223fi
31224rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31225fi
31226echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31227echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31228if test `eval echo '${'$as_ac_var'}'` = yes; then
31229 cat >>confdefs.h <<_ACEOF
31230#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31231_ACEOF
31232 break
31233fi
31234done
31235
31236
31237 if test "$ac_cv_func_gettimeofday" = "yes"; then
31238 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
31239echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
31240if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
31241 echo $ECHO_N "(cached) $ECHO_C" >&6
31242else
31243
31244
31245
31246 ac_ext=cc
31247ac_cpp='$CXXCPP $CPPFLAGS'
31248ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31249ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31250ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31251
31252
31253 cat >conftest.$ac_ext <<_ACEOF
31254#line $LINENO "configure"
31255/* confdefs.h. */
31256_ACEOF
31257cat confdefs.h >>conftest.$ac_ext
31258cat >>conftest.$ac_ext <<_ACEOF
31259/* end confdefs.h. */
31260
31261 #include <sys/time.h>
31262 #include <unistd.h>
31263
31264int
31265main ()
31266{
31267
31268 struct timeval tv;
31269 gettimeofday(&tv, NULL);
31270
31271 ;
31272 return 0;
31273}
31274_ACEOF
31275rm -f conftest.$ac_objext
31276if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31277 (eval $ac_compile) 2>&5
31278 ac_status=$?
31279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31280 (exit $ac_status); } &&
31281 { ac_try='test -s conftest.$ac_objext'
31282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31283 (eval $ac_try) 2>&5
31284 ac_status=$?
31285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31286 (exit $ac_status); }; }; then
31287 wx_cv_func_gettimeofday_has_2_args=yes
31288else
31289 echo "$as_me: failed program was:" >&5
31290sed 's/^/| /' conftest.$ac_ext >&5
31291
31292cat >conftest.$ac_ext <<_ACEOF
31293#line $LINENO "configure"
31294/* confdefs.h. */
31295_ACEOF
31296cat confdefs.h >>conftest.$ac_ext
31297cat >>conftest.$ac_ext <<_ACEOF
31298/* end confdefs.h. */
31299
31300 #include <sys/time.h>
31301 #include <unistd.h>
31302
31303int
31304main ()
31305{
31306
31307 struct timeval tv;
31308 gettimeofday(&tv);
31309
31310 ;
31311 return 0;
31312}
31313_ACEOF
31314rm -f conftest.$ac_objext
31315if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31316 (eval $ac_compile) 2>&5
31317 ac_status=$?
31318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31319 (exit $ac_status); } &&
31320 { ac_try='test -s conftest.$ac_objext'
31321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31322 (eval $ac_try) 2>&5
31323 ac_status=$?
31324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31325 (exit $ac_status); }; }; then
31326 wx_cv_func_gettimeofday_has_2_args=no
31327else
31328 echo "$as_me: failed program was:" >&5
31329sed 's/^/| /' conftest.$ac_ext >&5
31330
31331
31332 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31333echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31334 wx_cv_func_gettimeofday_has_2_args=unknown
31335
31336
31337fi
31338rm -f conftest.$ac_objext conftest.$ac_ext
31339
31340fi
31341rm -f conftest.$ac_objext conftest.$ac_ext
31342 ac_ext=c
31343ac_cpp='$CPP $CPPFLAGS'
31344ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31345ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31346ac_compiler_gnu=$ac_cv_c_compiler_gnu
31347
31348
31349fi
31350echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31351echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31352
31353 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31354 cat >>confdefs.h <<\_ACEOF
31355#define WX_GETTIMEOFDAY_NO_TZ 1
31356_ACEOF
31357
31358 fi
31359 fi
31360
31361 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
31362fi
31363
31364
31365if test "$wxUSE_SOCKETS" = "yes"; then
31366 if test "$wxUSE_MGL" = "1"; then
31367 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31368echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31369 wxUSE_SOCKETS="no"
31370 fi
31371 if test "$wxUSE_COCOA" = "1"; then
31372 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
31373echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31374 wxUSE_SOCKETS="no"
31375 fi
31376fi
31377
31378if test "$wxUSE_SOCKETS" = "yes"; then
31379 if test "$TOOLKIT" != "MSW"; then
31380 echo "$as_me:$LINENO: checking for socket" >&5
31381echo $ECHO_N "checking for socket... $ECHO_C" >&6
31382if test "${ac_cv_func_socket+set}" = set; then
31383 echo $ECHO_N "(cached) $ECHO_C" >&6
31384else
31385 cat >conftest.$ac_ext <<_ACEOF
31386#line $LINENO "configure"
31387/* confdefs.h. */
31388_ACEOF
31389cat confdefs.h >>conftest.$ac_ext
31390cat >>conftest.$ac_ext <<_ACEOF
31391/* end confdefs.h. */
31392/* System header to define __stub macros and hopefully few prototypes,
31393 which can conflict with char socket (); below.
31394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31395 <limits.h> exists even on freestanding compilers. */
31396#ifdef __STDC__
31397# include <limits.h>
31398#else
31399# include <assert.h>
31400#endif
31401/* Override any gcc2 internal prototype to avoid an error. */
31402#ifdef __cplusplus
31403extern "C"
31404{
31405#endif
31406/* We use char because int might match the return type of a gcc2
31407 builtin and then its argument prototype would still apply. */
31408char socket ();
31409/* The GNU C library defines this for functions which it implements
31410 to always fail with ENOSYS. Some functions are actually named
31411 something starting with __ and the normal name is an alias. */
31412#if defined (__stub_socket) || defined (__stub___socket)
31413choke me
31414#else
31415char (*f) () = socket;
31416#endif
31417#ifdef __cplusplus
31418}
31419#endif
31420
31421int
31422main ()
31423{
31424return f != socket;
31425 ;
31426 return 0;
31427}
31428_ACEOF
31429rm -f conftest.$ac_objext conftest$ac_exeext
31430if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31431 (eval $ac_link) 2>&5
31432 ac_status=$?
31433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31434 (exit $ac_status); } &&
31435 { ac_try='test -s conftest$ac_exeext'
31436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31437 (eval $ac_try) 2>&5
31438 ac_status=$?
31439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31440 (exit $ac_status); }; }; then
31441 ac_cv_func_socket=yes
31442else
31443 echo "$as_me: failed program was:" >&5
31444sed 's/^/| /' conftest.$ac_ext >&5
31445
31446ac_cv_func_socket=no
31447fi
31448rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31449fi
31450echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31451echo "${ECHO_T}$ac_cv_func_socket" >&6
31452if test $ac_cv_func_socket = yes; then
31453 :
31454else
31455
31456 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31457echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31458if test "${ac_cv_lib_socket_socket+set}" = set; then
31459 echo $ECHO_N "(cached) $ECHO_C" >&6
31460else
31461 ac_check_lib_save_LIBS=$LIBS
31462LIBS="-lsocket $LIBS"
31463cat >conftest.$ac_ext <<_ACEOF
31464#line $LINENO "configure"
31465/* confdefs.h. */
31466_ACEOF
31467cat confdefs.h >>conftest.$ac_ext
31468cat >>conftest.$ac_ext <<_ACEOF
31469/* end confdefs.h. */
31470
31471/* Override any gcc2 internal prototype to avoid an error. */
31472#ifdef __cplusplus
31473extern "C"
31474#endif
31475/* We use char because int might match the return type of a gcc2
31476 builtin and then its argument prototype would still apply. */
31477char socket ();
31478int
31479main ()
31480{
31481socket ();
31482 ;
31483 return 0;
31484}
31485_ACEOF
31486rm -f conftest.$ac_objext conftest$ac_exeext
31487if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31488 (eval $ac_link) 2>&5
31489 ac_status=$?
31490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31491 (exit $ac_status); } &&
31492 { ac_try='test -s conftest$ac_exeext'
31493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31494 (eval $ac_try) 2>&5
31495 ac_status=$?
31496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31497 (exit $ac_status); }; }; then
31498 ac_cv_lib_socket_socket=yes
31499else
31500 echo "$as_me: failed program was:" >&5
31501sed 's/^/| /' conftest.$ac_ext >&5
31502
31503ac_cv_lib_socket_socket=no
31504fi
31505rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31506LIBS=$ac_check_lib_save_LIBS
31507fi
31508echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31509echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31510if test $ac_cv_lib_socket_socket = yes; then
31511 if test "$INET_LINK" != " -lsocket"; then
31512 INET_LINK="$INET_LINK -lsocket"
31513 fi
31514else
31515
31516 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31517echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31518 wxUSE_SOCKETS=no
31519
31520
31521fi
31522
31523
31524
31525fi
31526
31527 fi
31528fi
31529
31530if test "$wxUSE_SOCKETS" = "yes" ; then
31531 if test "$TOOLKIT" != "MSW"; then
31532 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31533echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31534if test "${wx_cv_type_getsockname3+set}" = set; then
31535 echo $ECHO_N "(cached) $ECHO_C" >&6
31536else
31537
31538 cat >conftest.$ac_ext <<_ACEOF
31539#line $LINENO "configure"
31540/* confdefs.h. */
31541_ACEOF
31542cat confdefs.h >>conftest.$ac_ext
31543cat >>conftest.$ac_ext <<_ACEOF
31544/* end confdefs.h. */
31545
31546 #include <sys/types.h>
31547 #include <sys/socket.h>
31548
31549int
31550main ()
31551{
31552
31553 socklen_t len;
31554 getsockname(0, 0, &len);
31555
31556 ;
31557 return 0;
31558}
31559_ACEOF
31560rm -f conftest.$ac_objext
31561if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31562 (eval $ac_compile) 2>&5
31563 ac_status=$?
31564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31565 (exit $ac_status); } &&
31566 { ac_try='test -s conftest.$ac_objext'
31567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31568 (eval $ac_try) 2>&5
31569 ac_status=$?
31570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31571 (exit $ac_status); }; }; then
31572 wx_cv_type_getsockname3=socklen_t
31573else
31574 echo "$as_me: failed program was:" >&5
31575sed 's/^/| /' conftest.$ac_ext >&5
31576
31577
31578 CFLAGS_OLD="$CFLAGS"
31579 if test "$GCC" = yes ; then
31580 CFLAGS="$CFLAGS -Werror"
31581 fi
31582
31583 cat >conftest.$ac_ext <<_ACEOF
31584#line $LINENO "configure"
31585/* confdefs.h. */
31586_ACEOF
31587cat confdefs.h >>conftest.$ac_ext
31588cat >>conftest.$ac_ext <<_ACEOF
31589/* end confdefs.h. */
31590
31591 #include <sys/types.h>
31592 #include <sys/socket.h>
31593
31594int
31595main ()
31596{
31597
31598 size_t len;
31599 getsockname(0, 0, &len);
31600
31601 ;
31602 return 0;
31603}
31604_ACEOF
31605rm -f conftest.$ac_objext
31606if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31607 (eval $ac_compile) 2>&5
31608 ac_status=$?
31609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31610 (exit $ac_status); } &&
31611 { ac_try='test -s conftest.$ac_objext'
31612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31613 (eval $ac_try) 2>&5
31614 ac_status=$?
31615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616 (exit $ac_status); }; }; then
31617 wx_cv_type_getsockname3=size_t
31618else
31619 echo "$as_me: failed program was:" >&5
31620sed 's/^/| /' conftest.$ac_ext >&5
31621
31622cat >conftest.$ac_ext <<_ACEOF
31623#line $LINENO "configure"
31624/* confdefs.h. */
31625_ACEOF
31626cat confdefs.h >>conftest.$ac_ext
31627cat >>conftest.$ac_ext <<_ACEOF
31628/* end confdefs.h. */
31629
31630 #include <sys/types.h>
31631 #include <sys/socket.h>
31632
31633int
31634main ()
31635{
31636
31637 int len;
31638 getsockname(0, 0, &len);
31639
31640 ;
31641 return 0;
31642}
31643_ACEOF
31644rm -f conftest.$ac_objext
31645if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31646 (eval $ac_compile) 2>&5
31647 ac_status=$?
31648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31649 (exit $ac_status); } &&
31650 { ac_try='test -s conftest.$ac_objext'
31651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31652 (eval $ac_try) 2>&5
31653 ac_status=$?
31654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31655 (exit $ac_status); }; }; then
31656 wx_cv_type_getsockname3=int
31657else
31658 echo "$as_me: failed program was:" >&5
31659sed 's/^/| /' conftest.$ac_ext >&5
31660
31661wx_cv_type_getsockname3=unknown
31662
31663fi
31664rm -f conftest.$ac_objext conftest.$ac_ext
31665
31666fi
31667rm -f conftest.$ac_objext conftest.$ac_ext
31668
31669 CFLAGS="$CFLAGS_OLD"
31670
31671
31672fi
31673rm -f conftest.$ac_objext conftest.$ac_ext
31674
31675fi
31676echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31677echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31678
31679 if test "$wx_cv_type_getsockname3" = "unknown"; then
31680 wxUSE_SOCKETS=no
31681 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31682echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31683 else
31684 cat >>confdefs.h <<_ACEOF
31685#define SOCKLEN_T $wx_cv_type_getsockname3
31686_ACEOF
31687
31688 fi
31689 fi
31690fi
31691
31692if test "$wxUSE_SOCKETS" = "yes" ; then
31693 cat >>confdefs.h <<\_ACEOF
31694#define wxUSE_SOCKETS 1
31695_ACEOF
31696
31697 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31698fi
31699
31700if test "$wxUSE_PROTOCOL" = "yes"; then
31701 if test "$wxUSE_SOCKETS" != "yes"; then
31702 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31703echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31704 wxUSE_PROTOCOL=no
31705 fi
31706fi
31707
31708if test "$wxUSE_PROTOCOL" = "yes"; then
31709 cat >>confdefs.h <<\_ACEOF
31710#define wxUSE_PROTOCOL 1
31711_ACEOF
31712
31713
31714 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31715 cat >>confdefs.h <<\_ACEOF
31716#define wxUSE_PROTOCOL_HTTP 1
31717_ACEOF
31718
31719 fi
31720 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31721 cat >>confdefs.h <<\_ACEOF
31722#define wxUSE_PROTOCOL_FTP 1
31723_ACEOF
31724
31725 fi
31726 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31727 cat >>confdefs.h <<\_ACEOF
31728#define wxUSE_PROTOCOL_FILE 1
31729_ACEOF
31730
31731 fi
31732else
31733 if test "$wxUSE_FS_INET" = "yes"; then
31734 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31735echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31736 wxUSE_FS_INET="no"
31737 fi
31738fi
31739
31740if test "$wxUSE_URL" = "yes"; then
31741 if test "$wxUSE_PROTOCOL" != "yes"; then
31742 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31743echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31744 wxUSE_URL=no
31745 fi
31746 if test "$wxUSE_URL" = "yes"; then
31747 cat >>confdefs.h <<\_ACEOF
31748#define wxUSE_URL 1
31749_ACEOF
31750
31751 fi
31752fi
31753
31754if test "$wxUSE_FS_INET" = "yes"; then
31755 cat >>confdefs.h <<\_ACEOF
31756#define wxUSE_FS_INET 1
31757_ACEOF
31758
31759fi
31760
31761
31762if test "$wxUSE_GUI" = "yes"; then
31763
31764 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31765 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31766echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31767 wxUSE_JOYSTICK=no
31768 fi
31769
31770 if test "$TOOLKIT" != "MSW"; then
31771 if test "$wxUSE_JOYSTICK" = "yes"; then
31772
31773for ac_header in linux/joystick.h
31774do
31775as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31776if eval "test \"\${$as_ac_Header+set}\" = set"; then
31777 echo "$as_me:$LINENO: checking for $ac_header" >&5
31778echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31779if eval "test \"\${$as_ac_Header+set}\" = set"; then
31780 echo $ECHO_N "(cached) $ECHO_C" >&6
31781fi
31782echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31783echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31784else
31785 # Is the header compilable?
31786echo "$as_me:$LINENO: checking $ac_header usability" >&5
31787echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31788cat >conftest.$ac_ext <<_ACEOF
31789#line $LINENO "configure"
31790/* confdefs.h. */
31791_ACEOF
31792cat confdefs.h >>conftest.$ac_ext
31793cat >>conftest.$ac_ext <<_ACEOF
31794/* end confdefs.h. */
31795$ac_includes_default
31796#include <$ac_header>
31797_ACEOF
31798rm -f conftest.$ac_objext
31799if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31800 (eval $ac_compile) 2>&5
31801 ac_status=$?
31802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31803 (exit $ac_status); } &&
31804 { ac_try='test -s conftest.$ac_objext'
31805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31806 (eval $ac_try) 2>&5
31807 ac_status=$?
31808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31809 (exit $ac_status); }; }; then
31810 ac_header_compiler=yes
31811else
31812 echo "$as_me: failed program was:" >&5
31813sed 's/^/| /' conftest.$ac_ext >&5
31814
31815ac_header_compiler=no
31816fi
31817rm -f conftest.$ac_objext conftest.$ac_ext
31818echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31819echo "${ECHO_T}$ac_header_compiler" >&6
31820
31821# Is the header present?
31822echo "$as_me:$LINENO: checking $ac_header presence" >&5
31823echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31824cat >conftest.$ac_ext <<_ACEOF
31825#line $LINENO "configure"
31826/* confdefs.h. */
31827_ACEOF
31828cat confdefs.h >>conftest.$ac_ext
31829cat >>conftest.$ac_ext <<_ACEOF
31830/* end confdefs.h. */
31831#include <$ac_header>
31832_ACEOF
31833if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31834 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31835 ac_status=$?
31836 grep -v '^ *+' conftest.er1 >conftest.err
31837 rm -f conftest.er1
31838 cat conftest.err >&5
31839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31840 (exit $ac_status); } >/dev/null; then
31841 if test -s conftest.err; then
31842 ac_cpp_err=$ac_c_preproc_warn_flag
31843 else
31844 ac_cpp_err=
31845 fi
31846else
31847 ac_cpp_err=yes
31848fi
31849if test -z "$ac_cpp_err"; then
31850 ac_header_preproc=yes
31851else
31852 echo "$as_me: failed program was:" >&5
31853sed 's/^/| /' conftest.$ac_ext >&5
31854
31855 ac_header_preproc=no
31856fi
31857rm -f conftest.err conftest.$ac_ext
31858echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31859echo "${ECHO_T}$ac_header_preproc" >&6
31860
31861# So? What about this header?
31862case $ac_header_compiler:$ac_header_preproc in
31863 yes:no )
31864 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31865echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31866 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31867echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31868 (
31869 cat <<\_ASBOX
31870## ------------------------------------ ##
31871## Report this to bug-autoconf@gnu.org. ##
31872## ------------------------------------ ##
31873_ASBOX
31874 ) |
31875 sed "s/^/$as_me: WARNING: /" >&2
31876 ;;
31877 no:yes )
31878 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31879echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31880 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31881echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31883echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31884 (
31885 cat <<\_ASBOX
31886## ------------------------------------ ##
31887## Report this to bug-autoconf@gnu.org. ##
31888## ------------------------------------ ##
31889_ASBOX
31890 ) |
31891 sed "s/^/$as_me: WARNING: /" >&2
31892 ;;
31893esac
31894echo "$as_me:$LINENO: checking for $ac_header" >&5
31895echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31896if eval "test \"\${$as_ac_Header+set}\" = set"; then
31897 echo $ECHO_N "(cached) $ECHO_C" >&6
31898else
31899 eval "$as_ac_Header=$ac_header_preproc"
31900fi
31901echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31902echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31903
31904fi
31905if test `eval echo '${'$as_ac_Header'}'` = yes; then
31906 cat >>confdefs.h <<_ACEOF
31907#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31908_ACEOF
31909
31910fi
31911
31912done
31913
31914 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31915 wxUSE_JOYSTICK=no
31916 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31917echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31918 fi
31919 fi
31920 fi
31921
31922 if test "$wxUSE_JOYSTICK" = "yes"; then
31923 cat >>confdefs.h <<\_ACEOF
31924#define wxUSE_JOYSTICK 1
31925_ACEOF
31926
31927 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31928 fi
31929fi
31930
31931
31932if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31933
31934 HAVE_DL_FUNCS=0
31935 HAVE_SHL_FUNCS=0
31936 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31937 if test "$USE_DARWIN" = 1; then
31938 HAVE_DL_FUNCS=1
31939 else
31940
31941for ac_func in dlopen
31942do
31943as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31944echo "$as_me:$LINENO: checking for $ac_func" >&5
31945echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31946if eval "test \"\${$as_ac_var+set}\" = set"; then
31947 echo $ECHO_N "(cached) $ECHO_C" >&6
31948else
31949 cat >conftest.$ac_ext <<_ACEOF
31950#line $LINENO "configure"
31951/* confdefs.h. */
31952_ACEOF
31953cat confdefs.h >>conftest.$ac_ext
31954cat >>conftest.$ac_ext <<_ACEOF
31955/* end confdefs.h. */
31956/* System header to define __stub macros and hopefully few prototypes,
31957 which can conflict with char $ac_func (); below.
31958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31959 <limits.h> exists even on freestanding compilers. */
31960#ifdef __STDC__
31961# include <limits.h>
31962#else
31963# include <assert.h>
31964#endif
31965/* Override any gcc2 internal prototype to avoid an error. */
31966#ifdef __cplusplus
31967extern "C"
31968{
31969#endif
31970/* We use char because int might match the return type of a gcc2
31971 builtin and then its argument prototype would still apply. */
31972char $ac_func ();
31973/* The GNU C library defines this for functions which it implements
31974 to always fail with ENOSYS. Some functions are actually named
31975 something starting with __ and the normal name is an alias. */
31976#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31977choke me
31978#else
31979char (*f) () = $ac_func;
31980#endif
31981#ifdef __cplusplus
31982}
31983#endif
31984
31985int
31986main ()
31987{
31988return f != $ac_func;
31989 ;
31990 return 0;
31991}
31992_ACEOF
31993rm -f conftest.$ac_objext conftest$ac_exeext
31994if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31995 (eval $ac_link) 2>&5
31996 ac_status=$?
31997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31998 (exit $ac_status); } &&
31999 { ac_try='test -s conftest$ac_exeext'
32000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32001 (eval $ac_try) 2>&5
32002 ac_status=$?
32003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32004 (exit $ac_status); }; }; then
32005 eval "$as_ac_var=yes"
32006else
32007 echo "$as_me: failed program was:" >&5
32008sed 's/^/| /' conftest.$ac_ext >&5
32009
32010eval "$as_ac_var=no"
32011fi
32012rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32013fi
32014echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32015echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32016if test `eval echo '${'$as_ac_var'}'` = yes; then
32017 cat >>confdefs.h <<_ACEOF
32018#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32019_ACEOF
32020
32021 cat >>confdefs.h <<\_ACEOF
32022#define HAVE_DLOPEN 1
32023_ACEOF
32024
32025 HAVE_DL_FUNCS=1
32026
32027else
32028
32029 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
32030echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
32031if test "${ac_cv_lib_dl_dlopen+set}" = set; then
32032 echo $ECHO_N "(cached) $ECHO_C" >&6
32033else
32034 ac_check_lib_save_LIBS=$LIBS
32035LIBS="-ldl $LIBS"
32036cat >conftest.$ac_ext <<_ACEOF
32037#line $LINENO "configure"
32038/* confdefs.h. */
32039_ACEOF
32040cat confdefs.h >>conftest.$ac_ext
32041cat >>conftest.$ac_ext <<_ACEOF
32042/* end confdefs.h. */
32043
32044/* Override any gcc2 internal prototype to avoid an error. */
32045#ifdef __cplusplus
32046extern "C"
32047#endif
32048/* We use char because int might match the return type of a gcc2
32049 builtin and then its argument prototype would still apply. */
32050char dlopen ();
32051int
32052main ()
32053{
32054dlopen ();
32055 ;
32056 return 0;
32057}
32058_ACEOF
32059rm -f conftest.$ac_objext conftest$ac_exeext
32060if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32061 (eval $ac_link) 2>&5
32062 ac_status=$?
32063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32064 (exit $ac_status); } &&
32065 { ac_try='test -s conftest$ac_exeext'
32066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32067 (eval $ac_try) 2>&5
32068 ac_status=$?
32069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32070 (exit $ac_status); }; }; then
32071 ac_cv_lib_dl_dlopen=yes
32072else
32073 echo "$as_me: failed program was:" >&5
32074sed 's/^/| /' conftest.$ac_ext >&5
32075
32076ac_cv_lib_dl_dlopen=no
32077fi
32078rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32079LIBS=$ac_check_lib_save_LIBS
32080fi
32081echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
32082echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
32083if test $ac_cv_lib_dl_dlopen = yes; then
32084
32085 cat >>confdefs.h <<\_ACEOF
32086#define HAVE_DLOPEN 1
32087_ACEOF
32088
32089 HAVE_DL_FUNCS=1
32090 DL_LINK=" -ldl$DL_LINK"
32091
32092else
32093
32094
32095for ac_func in shl_load
32096do
32097as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32098echo "$as_me:$LINENO: checking for $ac_func" >&5
32099echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32100if eval "test \"\${$as_ac_var+set}\" = set"; then
32101 echo $ECHO_N "(cached) $ECHO_C" >&6
32102else
32103 cat >conftest.$ac_ext <<_ACEOF
32104#line $LINENO "configure"
32105/* confdefs.h. */
32106_ACEOF
32107cat confdefs.h >>conftest.$ac_ext
32108cat >>conftest.$ac_ext <<_ACEOF
32109/* end confdefs.h. */
32110/* System header to define __stub macros and hopefully few prototypes,
32111 which can conflict with char $ac_func (); below.
32112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32113 <limits.h> exists even on freestanding compilers. */
32114#ifdef __STDC__
32115# include <limits.h>
32116#else
32117# include <assert.h>
32118#endif
32119/* Override any gcc2 internal prototype to avoid an error. */
32120#ifdef __cplusplus
32121extern "C"
32122{
32123#endif
32124/* We use char because int might match the return type of a gcc2
32125 builtin and then its argument prototype would still apply. */
32126char $ac_func ();
32127/* The GNU C library defines this for functions which it implements
32128 to always fail with ENOSYS. Some functions are actually named
32129 something starting with __ and the normal name is an alias. */
32130#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32131choke me
32132#else
32133char (*f) () = $ac_func;
32134#endif
32135#ifdef __cplusplus
32136}
32137#endif
32138
32139int
32140main ()
32141{
32142return f != $ac_func;
32143 ;
32144 return 0;
32145}
32146_ACEOF
32147rm -f conftest.$ac_objext conftest$ac_exeext
32148if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32149 (eval $ac_link) 2>&5
32150 ac_status=$?
32151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32152 (exit $ac_status); } &&
32153 { ac_try='test -s conftest$ac_exeext'
32154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32155 (eval $ac_try) 2>&5
32156 ac_status=$?
32157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32158 (exit $ac_status); }; }; then
32159 eval "$as_ac_var=yes"
32160else
32161 echo "$as_me: failed program was:" >&5
32162sed 's/^/| /' conftest.$ac_ext >&5
32163
32164eval "$as_ac_var=no"
32165fi
32166rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32167fi
32168echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32169echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32170if test `eval echo '${'$as_ac_var'}'` = yes; then
32171 cat >>confdefs.h <<_ACEOF
32172#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32173_ACEOF
32174
32175 cat >>confdefs.h <<\_ACEOF
32176#define HAVE_SHL_LOAD 1
32177_ACEOF
32178
32179 HAVE_SHL_FUNCS=1
32180
32181else
32182
32183 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
32184echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
32185if test "${ac_cv_lib_shl_load_dld+set}" = set; then
32186 echo $ECHO_N "(cached) $ECHO_C" >&6
32187else
32188 ac_check_lib_save_LIBS=$LIBS
32189LIBS="-lshl_load $LIBS"
32190cat >conftest.$ac_ext <<_ACEOF
32191#line $LINENO "configure"
32192/* confdefs.h. */
32193_ACEOF
32194cat confdefs.h >>conftest.$ac_ext
32195cat >>conftest.$ac_ext <<_ACEOF
32196/* end confdefs.h. */
32197
32198/* Override any gcc2 internal prototype to avoid an error. */
32199#ifdef __cplusplus
32200extern "C"
32201#endif
32202/* We use char because int might match the return type of a gcc2
32203 builtin and then its argument prototype would still apply. */
32204char dld ();
32205int
32206main ()
32207{
32208dld ();
32209 ;
32210 return 0;
32211}
32212_ACEOF
32213rm -f conftest.$ac_objext conftest$ac_exeext
32214if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32215 (eval $ac_link) 2>&5
32216 ac_status=$?
32217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218 (exit $ac_status); } &&
32219 { ac_try='test -s conftest$ac_exeext'
32220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32221 (eval $ac_try) 2>&5
32222 ac_status=$?
32223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32224 (exit $ac_status); }; }; then
32225 ac_cv_lib_shl_load_dld=yes
32226else
32227 echo "$as_me: failed program was:" >&5
32228sed 's/^/| /' conftest.$ac_ext >&5
32229
32230ac_cv_lib_shl_load_dld=no
32231fi
32232rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32233LIBS=$ac_check_lib_save_LIBS
32234fi
32235echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
32236echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
32237if test $ac_cv_lib_shl_load_dld = yes; then
32238
32239 HAVE_SHL_FUNCS=1
32240 DL_LINK=" -ldld$DL_LINK"
32241
32242fi
32243
32244
32245fi
32246done
32247
32248
32249fi
32250
32251
32252fi
32253done
32254
32255
32256 if test "$HAVE_DL_FUNCS" = 1; then
32257
32258for ac_func in dlerror
32259do
32260as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32261echo "$as_me:$LINENO: checking for $ac_func" >&5
32262echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32263if eval "test \"\${$as_ac_var+set}\" = set"; then
32264 echo $ECHO_N "(cached) $ECHO_C" >&6
32265else
32266 cat >conftest.$ac_ext <<_ACEOF
32267#line $LINENO "configure"
32268/* confdefs.h. */
32269_ACEOF
32270cat confdefs.h >>conftest.$ac_ext
32271cat >>conftest.$ac_ext <<_ACEOF
32272/* end confdefs.h. */
32273/* System header to define __stub macros and hopefully few prototypes,
32274 which can conflict with char $ac_func (); below.
32275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32276 <limits.h> exists even on freestanding compilers. */
32277#ifdef __STDC__
32278# include <limits.h>
32279#else
32280# include <assert.h>
32281#endif
32282/* Override any gcc2 internal prototype to avoid an error. */
32283#ifdef __cplusplus
32284extern "C"
32285{
32286#endif
32287/* We use char because int might match the return type of a gcc2
32288 builtin and then its argument prototype would still apply. */
32289char $ac_func ();
32290/* The GNU C library defines this for functions which it implements
32291 to always fail with ENOSYS. Some functions are actually named
32292 something starting with __ and the normal name is an alias. */
32293#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32294choke me
32295#else
32296char (*f) () = $ac_func;
32297#endif
32298#ifdef __cplusplus
32299}
32300#endif
32301
32302int
32303main ()
32304{
32305return f != $ac_func;
32306 ;
32307 return 0;
32308}
32309_ACEOF
32310rm -f conftest.$ac_objext conftest$ac_exeext
32311if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32312 (eval $ac_link) 2>&5
32313 ac_status=$?
32314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32315 (exit $ac_status); } &&
32316 { ac_try='test -s conftest$ac_exeext'
32317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32318 (eval $ac_try) 2>&5
32319 ac_status=$?
32320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32321 (exit $ac_status); }; }; then
32322 eval "$as_ac_var=yes"
32323else
32324 echo "$as_me: failed program was:" >&5
32325sed 's/^/| /' conftest.$ac_ext >&5
32326
32327eval "$as_ac_var=no"
32328fi
32329rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32330fi
32331echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32332echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32333if test `eval echo '${'$as_ac_var'}'` = yes; then
32334 cat >>confdefs.h <<_ACEOF
32335#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32336_ACEOF
32337 cat >>confdefs.h <<\_ACEOF
32338#define HAVE_DLERROR 1
32339_ACEOF
32340
32341else
32342
32343 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32344echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32345if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32346 echo $ECHO_N "(cached) $ECHO_C" >&6
32347else
32348 ac_check_lib_save_LIBS=$LIBS
32349LIBS="-ldl $LIBS"
32350cat >conftest.$ac_ext <<_ACEOF
32351#line $LINENO "configure"
32352/* confdefs.h. */
32353_ACEOF
32354cat confdefs.h >>conftest.$ac_ext
32355cat >>conftest.$ac_ext <<_ACEOF
32356/* end confdefs.h. */
32357
32358/* Override any gcc2 internal prototype to avoid an error. */
32359#ifdef __cplusplus
32360extern "C"
32361#endif
32362/* We use char because int might match the return type of a gcc2
32363 builtin and then its argument prototype would still apply. */
32364char dlerror ();
32365int
32366main ()
32367{
32368dlerror ();
32369 ;
32370 return 0;
32371}
32372_ACEOF
32373rm -f conftest.$ac_objext conftest$ac_exeext
32374if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32375 (eval $ac_link) 2>&5
32376 ac_status=$?
32377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32378 (exit $ac_status); } &&
32379 { ac_try='test -s conftest$ac_exeext'
32380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32381 (eval $ac_try) 2>&5
32382 ac_status=$?
32383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32384 (exit $ac_status); }; }; then
32385 ac_cv_lib_dl_dlerror=yes
32386else
32387 echo "$as_me: failed program was:" >&5
32388sed 's/^/| /' conftest.$ac_ext >&5
32389
32390ac_cv_lib_dl_dlerror=no
32391fi
32392rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32393LIBS=$ac_check_lib_save_LIBS
32394fi
32395echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32396echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32397if test $ac_cv_lib_dl_dlerror = yes; then
32398 cat >>confdefs.h <<\_ACEOF
32399#define HAVE_DLERROR 1
32400_ACEOF
32401
32402fi
32403
32404
32405
32406fi
32407done
32408
32409 fi
32410 fi
32411
32412 if test "$HAVE_DL_FUNCS" = 0; then
32413 if test "$HAVE_SHL_FUNCS" = 0; then
32414 if test "$USE_UNIX" = 1; then
32415 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32416echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32417 wxUSE_DYNAMIC_LOADER=no
32418 wxUSE_DYNLIB_CLASS=no
32419 else
32420 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32421echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32422 fi
32423 fi
32424 fi
32425 fi
32426fi
32427
32428if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32429 cat >>confdefs.h <<\_ACEOF
32430#define wxUSE_DYNAMIC_LOADER 1
32431_ACEOF
32432
32433fi
32434if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32435 cat >>confdefs.h <<\_ACEOF
32436#define wxUSE_DYNLIB_CLASS 1
32437_ACEOF
32438
32439fi
32440
32441
32442if test "$wxUSE_FONTMAP" = "yes" ; then
32443 cat >>confdefs.h <<\_ACEOF
32444#define wxUSE_FONTMAP 1
32445_ACEOF
32446
32447fi
32448
32449if test "$wxUSE_UNICODE" = "yes" ; then
32450 cat >>confdefs.h <<\_ACEOF
32451#define wxUSE_UNICODE 1
32452_ACEOF
32453
32454
32455 if test "$USE_WIN32" != 1; then
32456 wxUSE_UNICODE_MSLU=no
32457 fi
32458
32459 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32460 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32461echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32462if test "${ac_cv_lib_unicows_main+set}" = set; then
32463 echo $ECHO_N "(cached) $ECHO_C" >&6
32464else
32465 ac_check_lib_save_LIBS=$LIBS
32466LIBS="-lunicows $LIBS"
32467cat >conftest.$ac_ext <<_ACEOF
32468#line $LINENO "configure"
32469/* confdefs.h. */
32470_ACEOF
32471cat confdefs.h >>conftest.$ac_ext
32472cat >>conftest.$ac_ext <<_ACEOF
32473/* end confdefs.h. */
32474
32475
32476int
32477main ()
32478{
32479main ();
32480 ;
32481 return 0;
32482}
32483_ACEOF
32484rm -f conftest.$ac_objext conftest$ac_exeext
32485if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32486 (eval $ac_link) 2>&5
32487 ac_status=$?
32488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32489 (exit $ac_status); } &&
32490 { ac_try='test -s conftest$ac_exeext'
32491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32492 (eval $ac_try) 2>&5
32493 ac_status=$?
32494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32495 (exit $ac_status); }; }; then
32496 ac_cv_lib_unicows_main=yes
32497else
32498 echo "$as_me: failed program was:" >&5
32499sed 's/^/| /' conftest.$ac_ext >&5
32500
32501ac_cv_lib_unicows_main=no
32502fi
32503rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32504LIBS=$ac_check_lib_save_LIBS
32505fi
32506echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32507echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32508if test $ac_cv_lib_unicows_main = yes; then
32509
32510 cat >>confdefs.h <<\_ACEOF
32511#define wxUSE_UNICODE_MSLU 1
32512_ACEOF
32513
32514
32515else
32516
32517 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32518 Applications will only run on Windows NT/2000/XP!" >&5
32519echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32520 Applications will only run on Windows NT/2000/XP!" >&2;}
32521 wxUSE_UNICODE_MSLU=no
32522
32523fi
32524
32525 fi
32526fi
32527
32528if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32529 cat >>confdefs.h <<\_ACEOF
32530#define wxUSE_EXPERIMENTAL_PRINTF 1
32531_ACEOF
32532
32533fi
32534
32535
32536if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32537 cat >>confdefs.h <<\_ACEOF
32538#define wxUSE_POSTSCRIPT 1
32539_ACEOF
32540
32541fi
32542
32543cat >>confdefs.h <<\_ACEOF
32544#define wxUSE_AFM_FOR_POSTSCRIPT 1
32545_ACEOF
32546
32547
32548cat >>confdefs.h <<\_ACEOF
32549#define wxUSE_NORMALIZED_PS_FONTS 1
32550_ACEOF
32551
32552
32553
32554if test "$wxUSE_CONSTRAINTS" = "yes"; then
32555 cat >>confdefs.h <<\_ACEOF
32556#define wxUSE_CONSTRAINTS 1
32557_ACEOF
32558
32559 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
32560fi
32561
32562if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32563 cat >>confdefs.h <<\_ACEOF
32564#define wxUSE_MDI_ARCHITECTURE 1
32565_ACEOF
32566
32567 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
32568fi
32569
32570if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32571 cat >>confdefs.h <<\_ACEOF
32572#define wxUSE_DOC_VIEW_ARCHITECTURE 1
32573_ACEOF
32574
32575 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
32576 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
32578 fi
32579fi
32580
32581if test "$wxUSE_HELP" = "yes"; then
32582 cat >>confdefs.h <<\_ACEOF
32583#define wxUSE_HELP 1
32584_ACEOF
32585
32586 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
32587
32588 if test "$wxUSE_MSW" = 1; then
32589 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32590 cat >>confdefs.h <<\_ACEOF
32591#define wxUSE_MS_HTML_HELP 1
32592_ACEOF
32593
32594 fi
32595 fi
32596
32597 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32598 if test "$wxUSE_HTML" = "yes"; then
32599 cat >>confdefs.h <<\_ACEOF
32600#define wxUSE_WXHTML_HELP 1
32601_ACEOF
32602
32603 else
32604 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32605echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32606 wxUSE_WXHTML_HELP=no
32607 fi
32608 fi
32609fi
32610
32611if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32612 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32613 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32614echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32615 else
32616 cat >>confdefs.h <<\_ACEOF
32617#define wxUSE_PRINTING_ARCHITECTURE 1
32618_ACEOF
32619
32620 fi
32621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
32622fi
32623
32624if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32625 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32626echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32627 { (exit 1); exit 1; }; }
32628fi
32629
32630
32631if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
32632 -o "$wxUSE_CLIPBOARD" = "yes" \
32633 -o "$wxUSE_OLE" = "yes" \
32634 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
32635
32636for ac_header in ole2.h
32637do
32638as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32639if eval "test \"\${$as_ac_Header+set}\" = set"; then
32640 echo "$as_me:$LINENO: checking for $ac_header" >&5
32641echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32642if eval "test \"\${$as_ac_Header+set}\" = set"; then
32643 echo $ECHO_N "(cached) $ECHO_C" >&6
32644fi
32645echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32646echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32647else
32648 # Is the header compilable?
32649echo "$as_me:$LINENO: checking $ac_header usability" >&5
32650echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32651cat >conftest.$ac_ext <<_ACEOF
32652#line $LINENO "configure"
32653/* confdefs.h. */
32654_ACEOF
32655cat confdefs.h >>conftest.$ac_ext
32656cat >>conftest.$ac_ext <<_ACEOF
32657/* end confdefs.h. */
32658$ac_includes_default
32659#include <$ac_header>
32660_ACEOF
32661rm -f conftest.$ac_objext
32662if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32663 (eval $ac_compile) 2>&5
32664 ac_status=$?
32665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32666 (exit $ac_status); } &&
32667 { ac_try='test -s conftest.$ac_objext'
32668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32669 (eval $ac_try) 2>&5
32670 ac_status=$?
32671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32672 (exit $ac_status); }; }; then
32673 ac_header_compiler=yes
32674else
32675 echo "$as_me: failed program was:" >&5
32676sed 's/^/| /' conftest.$ac_ext >&5
32677
32678ac_header_compiler=no
32679fi
32680rm -f conftest.$ac_objext conftest.$ac_ext
32681echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32682echo "${ECHO_T}$ac_header_compiler" >&6
32683
32684# Is the header present?
32685echo "$as_me:$LINENO: checking $ac_header presence" >&5
32686echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32687cat >conftest.$ac_ext <<_ACEOF
32688#line $LINENO "configure"
32689/* confdefs.h. */
32690_ACEOF
32691cat confdefs.h >>conftest.$ac_ext
32692cat >>conftest.$ac_ext <<_ACEOF
32693/* end confdefs.h. */
32694#include <$ac_header>
32695_ACEOF
32696if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32697 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32698 ac_status=$?
32699 grep -v '^ *+' conftest.er1 >conftest.err
32700 rm -f conftest.er1
32701 cat conftest.err >&5
32702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32703 (exit $ac_status); } >/dev/null; then
32704 if test -s conftest.err; then
32705 ac_cpp_err=$ac_c_preproc_warn_flag
32706 else
32707 ac_cpp_err=
32708 fi
32709else
32710 ac_cpp_err=yes
32711fi
32712if test -z "$ac_cpp_err"; then
32713 ac_header_preproc=yes
32714else
32715 echo "$as_me: failed program was:" >&5
32716sed 's/^/| /' conftest.$ac_ext >&5
32717
32718 ac_header_preproc=no
32719fi
32720rm -f conftest.err conftest.$ac_ext
32721echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32722echo "${ECHO_T}$ac_header_preproc" >&6
32723
32724# So? What about this header?
32725case $ac_header_compiler:$ac_header_preproc in
32726 yes:no )
32727 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32728echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32729 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32730echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32731 (
32732 cat <<\_ASBOX
32733## ------------------------------------ ##
32734## Report this to bug-autoconf@gnu.org. ##
32735## ------------------------------------ ##
32736_ASBOX
32737 ) |
32738 sed "s/^/$as_me: WARNING: /" >&2
32739 ;;
32740 no:yes )
32741 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32742echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32743 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32744echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32746echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32747 (
32748 cat <<\_ASBOX
32749## ------------------------------------ ##
32750## Report this to bug-autoconf@gnu.org. ##
32751## ------------------------------------ ##
32752_ASBOX
32753 ) |
32754 sed "s/^/$as_me: WARNING: /" >&2
32755 ;;
32756esac
32757echo "$as_me:$LINENO: checking for $ac_header" >&5
32758echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32759if eval "test \"\${$as_ac_Header+set}\" = set"; then
32760 echo $ECHO_N "(cached) $ECHO_C" >&6
32761else
32762 eval "$as_ac_Header=$ac_header_preproc"
32763fi
32764echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32765echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32766
32767fi
32768if test `eval echo '${'$as_ac_Header'}'` = yes; then
32769 cat >>confdefs.h <<_ACEOF
32770#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32771_ACEOF
32772
32773fi
32774
32775done
32776
32777
32778 if test "$ac_cv_header_ole2_h" = "yes" ; then
32779 if test "$GCC" = yes ; then
32780
32781
32782 ac_ext=cc
32783ac_cpp='$CXXCPP $CPPFLAGS'
32784ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32785ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32786ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32787
32788
32789 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32790echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32791 cat >conftest.$ac_ext <<_ACEOF
32792#line $LINENO "configure"
32793/* confdefs.h. */
32794_ACEOF
32795cat confdefs.h >>conftest.$ac_ext
32796cat >>conftest.$ac_ext <<_ACEOF
32797/* end confdefs.h. */
32798#include <windows.h>
32799 #include <ole2.h>
32800int
32801main ()
32802{
32803
32804 ;
32805 return 0;
32806}
32807_ACEOF
32808rm -f conftest.$ac_objext
32809if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32810 (eval $ac_compile) 2>&5
32811 ac_status=$?
32812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32813 (exit $ac_status); } &&
32814 { ac_try='test -s conftest.$ac_objext'
32815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32816 (eval $ac_try) 2>&5
32817 ac_status=$?
32818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32819 (exit $ac_status); }; }; then
32820 echo "$as_me:$LINENO: result: no" >&5
32821echo "${ECHO_T}no" >&6
32822else
32823 echo "$as_me: failed program was:" >&5
32824sed 's/^/| /' conftest.$ac_ext >&5
32825
32826echo "$as_me:$LINENO: result: yes" >&5
32827echo "${ECHO_T}yes" >&6
32828 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32829fi
32830rm -f conftest.$ac_objext conftest.$ac_ext
32831 ac_ext=c
32832ac_cpp='$CPP $CPPFLAGS'
32833ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32834ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32835ac_compiler_gnu=$ac_cv_c_compiler_gnu
32836
32837 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32838 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32839 cat >>confdefs.h <<\_ACEOF
32840#define wxUSE_OLE 1
32841_ACEOF
32842
32843
32844 fi
32845
32846 cat >>confdefs.h <<\_ACEOF
32847#define wxUSE_DATAOBJ 1
32848_ACEOF
32849
32850 else
32851 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32852echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32853
32854 wxUSE_CLIPBOARD=no
32855 wxUSE_DRAG_AND_DROP=no
32856 wxUSE_DATAOBJ=no
32857 wxUSE_OLE=no
32858 fi
32859
32860 if test "$wxUSE_METAFILE" = "yes"; then
32861 cat >>confdefs.h <<\_ACEOF
32862#define wxUSE_METAFILE 1
32863_ACEOF
32864
32865
32866 cat >>confdefs.h <<\_ACEOF
32867#define wxUSE_ENH_METAFILE 1
32868_ACEOF
32869
32870 fi
32871fi
32872
32873if test "$wxUSE_IPC" = "yes"; then
32874 if test "$wxUSE_SOCKETS" != "yes"; then
32875 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32876echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32877 fi
32878
32879 cat >>confdefs.h <<\_ACEOF
32880#define wxUSE_IPC 1
32881_ACEOF
32882
32883fi
32884
32885if test "$wxUSE_CLIPBOARD" = "yes"; then
32886 if test "$wxUSE_MGL" = 1; then
32887 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32888echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32889 wxUSE_CLIPBOARD=no
32890 fi
32891
32892 if test "$wxUSE_CLIPBOARD" = "yes"; then
32893 cat >>confdefs.h <<\_ACEOF
32894#define wxUSE_CLIPBOARD 1
32895_ACEOF
32896
32897
32898 cat >>confdefs.h <<\_ACEOF
32899#define wxUSE_DATAOBJ 1
32900_ACEOF
32901
32902 fi
32903fi
32904
32905if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32906 if test "$wxUSE_GTK" = 1; then
32907 if test "$WXGTK12" != 1; then
32908 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32909echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32910 wxUSE_DRAG_AND_DROP=no
32911 fi
32912 fi
32913
32914 if test "$wxUSE_MOTIF" = 1; then
32915 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32916echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32917 wxUSE_DRAG_AND_DROP=no
32918 fi
32919
32920 if test "$wxUSE_X11" = 1; then
32921 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32922echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32923 wxUSE_DRAG_AND_DROP=no
32924 fi
32925
32926 if test "$wxUSE_MGL" = 1; then
32927 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32928echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32929 wxUSE_DRAG_AND_DROP=no
32930 fi
32931
32932 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32933 cat >>confdefs.h <<\_ACEOF
32934#define wxUSE_DRAG_AND_DROP 1
32935_ACEOF
32936
32937 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32938 fi
32939
32940fi
32941
32942if test "$wxUSE_SPLINES" = "yes" ; then
32943 cat >>confdefs.h <<\_ACEOF
32944#define wxUSE_SPLINES 1
32945_ACEOF
32946
32947fi
32948
32949
32950USES_CONTROLS=0
32951if test "$wxUSE_CONTROLS" = "yes"; then
32952 USES_CONTROLS=1
32953fi
32954
32955if test "$wxUSE_ACCEL" = "yes"; then
32956 cat >>confdefs.h <<\_ACEOF
32957#define wxUSE_ACCEL 1
32958_ACEOF
32959
32960 USES_CONTROLS=1
32961fi
32962
32963if test "$wxUSE_BUTTON" = "yes"; then
32964 cat >>confdefs.h <<\_ACEOF
32965#define wxUSE_BUTTON 1
32966_ACEOF
32967
32968 USES_CONTROLS=1
32969fi
32970
32971if test "$wxUSE_BMPBUTTON" = "yes"; then
32972 cat >>confdefs.h <<\_ACEOF
32973#define wxUSE_BMPBUTTON 1
32974_ACEOF
32975
32976 USES_CONTROLS=1
32977fi
32978
32979if test "$wxUSE_CALCTRL" = "yes"; then
32980 cat >>confdefs.h <<\_ACEOF
32981#define wxUSE_CALENDARCTRL 1
32982_ACEOF
32983
32984 USES_CONTROLS=1
32985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32986fi
32987
32988if test "$wxUSE_CARET" = "yes"; then
32989 cat >>confdefs.h <<\_ACEOF
32990#define wxUSE_CARET 1
32991_ACEOF
32992
32993 USES_CONTROLS=1
32994 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32995fi
32996
32997if test "$wxUSE_COMBOBOX" = "yes"; then
32998 cat >>confdefs.h <<\_ACEOF
32999#define wxUSE_COMBOBOX 1
33000_ACEOF
33001
33002 USES_CONTROLS=1
33003fi
33004
33005if test "$wxUSE_CHOICE" = "yes"; then
33006 cat >>confdefs.h <<\_ACEOF
33007#define wxUSE_CHOICE 1
33008_ACEOF
33009
33010 USES_CONTROLS=1
33011fi
33012
33013if test "$wxUSE_CHECKBOX" = "yes"; then
33014 cat >>confdefs.h <<\_ACEOF
33015#define wxUSE_CHECKBOX 1
33016_ACEOF
33017
33018 USES_CONTROLS=1
33019fi
33020
33021if test "$wxUSE_CHECKLST" = "yes"; then
33022 cat >>confdefs.h <<\_ACEOF
33023#define wxUSE_CHECKLISTBOX 1
33024_ACEOF
33025
33026 USES_CONTROLS=1
33027 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
33028fi
33029
33030if test "$wxUSE_DISPLAY" = "yes"; then
33031 cat >>confdefs.h <<\_ACEOF
33032#define wxUSE_DISPLAY 1
33033_ACEOF
33034
33035 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
33036fi
33037
33038if test "$wxUSE_GAUGE" = "yes"; then
33039 cat >>confdefs.h <<\_ACEOF
33040#define wxUSE_GAUGE 1
33041_ACEOF
33042
33043 USES_CONTROLS=1
33044fi
33045
33046if test "$wxUSE_GRID" = "yes"; then
33047 cat >>confdefs.h <<\_ACEOF
33048#define wxUSE_GRID 1
33049_ACEOF
33050
33051 USES_CONTROLS=1
33052 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
33053fi
33054
33055if test "$wxUSE_IMAGLIST" = "yes"; then
33056 cat >>confdefs.h <<\_ACEOF
33057#define wxUSE_IMAGLIST 1
33058_ACEOF
33059
33060fi
33061
33062if test "$wxUSE_LISTBOOK" = "yes"; then
33063 cat >>confdefs.h <<\_ACEOF
33064#define wxUSE_LISTBOOK 1
33065_ACEOF
33066
33067 USES_CONTROLS=1
33068fi
33069
33070if test "$wxUSE_LISTBOX" = "yes"; then
33071 cat >>confdefs.h <<\_ACEOF
33072#define wxUSE_LISTBOX 1
33073_ACEOF
33074
33075 USES_CONTROLS=1
33076fi
33077
33078if test "$wxUSE_LISTCTRL" = "yes"; then
33079 if test "$wxUSE_IMAGLIST" = "yes"; then
33080 cat >>confdefs.h <<\_ACEOF
33081#define wxUSE_LISTCTRL 1
33082_ACEOF
33083
33084 USES_CONTROLS=1
33085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
33086 else
33087 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
33088echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
33089 fi
33090fi
33091
33092if test "$wxUSE_NOTEBOOK" = "yes"; then
33093 cat >>confdefs.h <<\_ACEOF
33094#define wxUSE_NOTEBOOK 1
33095_ACEOF
33096
33097 USES_CONTROLS=1
33098 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
33099fi
33100
33101
33102if test "$wxUSE_RADIOBOX" = "yes"; then
33103 cat >>confdefs.h <<\_ACEOF
33104#define wxUSE_RADIOBOX 1
33105_ACEOF
33106
33107 USES_CONTROLS=1
33108fi
33109
33110if test "$wxUSE_RADIOBTN" = "yes"; then
33111 cat >>confdefs.h <<\_ACEOF
33112#define wxUSE_RADIOBTN 1
33113_ACEOF
33114
33115 USES_CONTROLS=1
33116fi
33117
33118if test "$wxUSE_SASH" = "yes"; then
33119 cat >>confdefs.h <<\_ACEOF
33120#define wxUSE_SASH 1
33121_ACEOF
33122
33123 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
33124fi
33125
33126if test "$wxUSE_SCROLLBAR" = "yes"; then
33127 cat >>confdefs.h <<\_ACEOF
33128#define wxUSE_SCROLLBAR 1
33129_ACEOF
33130
33131 USES_CONTROLS=1
33132 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
33133fi
33134
33135if test "$wxUSE_SLIDER" = "yes"; then
33136 cat >>confdefs.h <<\_ACEOF
33137#define wxUSE_SLIDER 1
33138_ACEOF
33139
33140 USES_CONTROLS=1
33141fi
33142
33143if test "$wxUSE_SPINBTN" = "yes"; then
33144 cat >>confdefs.h <<\_ACEOF
33145#define wxUSE_SPINBTN 1
33146_ACEOF
33147
33148 USES_CONTROLS=1
33149fi
33150
33151if test "$wxUSE_SPINCTRL" = "yes"; then
33152 cat >>confdefs.h <<\_ACEOF
33153#define wxUSE_SPINCTRL 1
33154_ACEOF
33155
33156 USES_CONTROLS=1
33157fi
33158
33159if test "$wxUSE_SPLITTER" = "yes"; then
33160 cat >>confdefs.h <<\_ACEOF
33161#define wxUSE_SPLITTER 1
33162_ACEOF
33163
33164 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
33165fi
33166
33167if test "$wxUSE_STATBMP" = "yes"; then
33168 cat >>confdefs.h <<\_ACEOF
33169#define wxUSE_STATBMP 1
33170_ACEOF
33171
33172 USES_CONTROLS=1
33173fi
33174
33175if test "$wxUSE_STATBOX" = "yes"; then
33176 cat >>confdefs.h <<\_ACEOF
33177#define wxUSE_STATBOX 1
33178_ACEOF
33179
33180 USES_CONTROLS=1
33181fi
33182
33183if test "$wxUSE_STATTEXT" = "yes"; then
33184 cat >>confdefs.h <<\_ACEOF
33185#define wxUSE_STATTEXT 1
33186_ACEOF
33187
33188 USES_CONTROLS=1
33189fi
33190
33191if test "$wxUSE_STATLINE" = "yes"; then
33192 cat >>confdefs.h <<\_ACEOF
33193#define wxUSE_STATLINE 1
33194_ACEOF
33195
33196 USES_CONTROLS=1
33197fi
33198
33199if test "$wxUSE_STATUSBAR" = "yes"; then
33200 cat >>confdefs.h <<\_ACEOF
33201#define wxUSE_STATUSBAR 1
33202_ACEOF
33203
33204 USES_CONTROLS=1
33205
33206 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
33207fi
33208
33209if test "$wxUSE_TABDIALOG" = "yes"; then
33210 cat >>confdefs.h <<\_ACEOF
33211#define wxUSE_TAB_DIALOG 1
33212_ACEOF
33213
33214 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
33215fi
33216
33217if test "$wxUSE_TEXTCTRL" = "yes"; then
33218 cat >>confdefs.h <<\_ACEOF
33219#define wxUSE_TEXTCTRL 1
33220_ACEOF
33221
33222 USES_CONTROLS=1
33223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
33224fi
33225
33226if test "$wxUSE_TOGGLEBTN" = "yes"; then
33227 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33228 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
33229echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
33230 wxUSE_TOGGLEBTN=no
33231 fi
33232 if test "$wxUSE_UNIVERSAL" = "yes"; then
33233 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
33234echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
33235 wxUSE_TOGGLEBTN=no
33236 fi
33237
33238 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33239 cat >>confdefs.h <<\_ACEOF
33240#define wxUSE_TOGGLEBTN 1
33241_ACEOF
33242
33243 USES_CONTROLS=1
33244 fi
33245fi
33246
33247if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
33248 cat >>confdefs.h <<\_ACEOF
33249#define wxUSE_TOOLBAR_SIMPLE 1
33250_ACEOF
33251
33252 wxUSE_TOOLBAR="yes"
33253 USES_CONTROLS=1
33254fi
33255
33256if test "$wxUSE_TOOLBAR" = "yes"; then
33257 cat >>confdefs.h <<\_ACEOF
33258#define wxUSE_TOOLBAR 1
33259_ACEOF
33260
33261 USES_CONTROLS=1
33262
33263 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
33264 wxUSE_TOOLBAR_NATIVE="yes"
33265 fi
33266
33267 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
33268 cat >>confdefs.h <<\_ACEOF
33269#define wxUSE_TOOLBAR_NATIVE 1
33270_ACEOF
33271
33272 USES_CONTROLS=1
33273 fi
33274
33275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
33276fi
33277
33278if test "$wxUSE_TOOLTIPS" = "yes"; then
33279 if test "$wxUSE_MOTIF" = 1; then
33280 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
33281echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
33282 else
33283 if test "$wxUSE_UNIVERSAL" = "yes"; then
33284 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
33285echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
33286 else
33287 cat >>confdefs.h <<\_ACEOF
33288#define wxUSE_TOOLTIPS 1
33289_ACEOF
33290
33291 fi
33292 fi
33293fi
33294
33295if test "$wxUSE_TREECTRL" = "yes"; then
33296 if test "$wxUSE_IMAGLIST" = "yes"; then
33297 cat >>confdefs.h <<\_ACEOF
33298#define wxUSE_TREECTRL 1
33299_ACEOF
33300
33301 USES_CONTROLS=1
33302 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
33303 else
33304 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33305echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33306 fi
33307fi
33308
33309if test "$wxUSE_POPUPWIN" = "yes"; then
33310 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33311 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33312echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33313 else
33314 if test "$wxUSE_PM" = 1; then
33315 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33316echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33317 else
33318 cat >>confdefs.h <<\_ACEOF
33319#define wxUSE_POPUPWIN 1
33320_ACEOF
33321
33322
33323 USES_CONTROLS=1
33324 fi
33325 fi
33326fi
33327
33328if test "$wxUSE_TIPWINDOW" = "yes"; then
33329 if test "$wxUSE_PM" = 1; then
33330 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33331echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33332 else
33333 cat >>confdefs.h <<\_ACEOF
33334#define wxUSE_TIPWINDOW 1
33335_ACEOF
33336
33337 fi
33338fi
33339
33340if test "$USES_CONTROLS" = 1; then
33341 cat >>confdefs.h <<\_ACEOF
33342#define wxUSE_CONTROLS 1
33343_ACEOF
33344
33345fi
33346
33347
33348if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33349 cat >>confdefs.h <<\_ACEOF
33350#define wxUSE_ACCESSIBILITY 1
33351_ACEOF
33352
33353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
33354fi
33355
33356if test "$wxUSE_DRAGIMAGE" = "yes"; then
33357 cat >>confdefs.h <<\_ACEOF
33358#define wxUSE_DRAGIMAGE 1
33359_ACEOF
33360
33361 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
33362fi
33363
33364if test "$wxUSE_EXCEPTIONS" = "yes"; then
33365 cat >>confdefs.h <<\_ACEOF
33366#define wxUSE_EXCEPTIONS 1
33367_ACEOF
33368
33369fi
33370
33371USE_HTML=0
33372if test "$wxUSE_HTML" = "yes"; then
33373 cat >>confdefs.h <<\_ACEOF
33374#define wxUSE_HTML 1
33375_ACEOF
33376
33377 USE_HTML=1
33378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33379fi
33380
33381if test "$wxUSE_MENUS" = "yes"; then
33382 cat >>confdefs.h <<\_ACEOF
33383#define wxUSE_MENUS 1
33384_ACEOF
33385
33386 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
33387fi
33388
33389if test "$wxUSE_METAFILE" = "yes"; then
33390 cat >>confdefs.h <<\_ACEOF
33391#define wxUSE_METAFILE 1
33392_ACEOF
33393
33394fi
33395
33396if test "$wxUSE_MIMETYPE" = "yes"; then
33397 cat >>confdefs.h <<\_ACEOF
33398#define wxUSE_MIMETYPE 1
33399_ACEOF
33400
33401fi
33402
33403if test "$wxUSE_MINIFRAME" = "yes"; then
33404 cat >>confdefs.h <<\_ACEOF
33405#define wxUSE_MINIFRAME 1
33406_ACEOF
33407
33408 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
33409fi
33410
33411if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33412 cat >>confdefs.h <<\_ACEOF
33413#define wxUSE_SYSTEM_OPTIONS 1
33414_ACEOF
33415
33416 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33417 "$TOOLKIT" = "MOTIF"; then
33418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
33419 fi
33420fi
33421
33422
33423if test "$wxUSE_VALIDATORS" = "yes"; then
33424 cat >>confdefs.h <<\_ACEOF
33425#define wxUSE_VALIDATORS 1
33426_ACEOF
33427
33428 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
33429fi
33430
33431if test "$wxUSE_PALETTE" = "yes" ; then
33432 cat >>confdefs.h <<\_ACEOF
33433#define wxUSE_PALETTE 1
33434_ACEOF
33435
33436fi
33437
33438if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33439 LIBS=" -lunicows $LIBS"
33440fi
33441
33442
33443if test "$wxUSE_IMAGE" = "yes" ; then
33444 cat >>confdefs.h <<\_ACEOF
33445#define wxUSE_IMAGE 1
33446_ACEOF
33447
33448
33449 if test "$wxUSE_GIF" = "yes" ; then
33450 cat >>confdefs.h <<\_ACEOF
33451#define wxUSE_GIF 1
33452_ACEOF
33453
33454 fi
33455
33456 if test "$wxUSE_PCX" = "yes" ; then
33457 cat >>confdefs.h <<\_ACEOF
33458#define wxUSE_PCX 1
33459_ACEOF
33460
33461 fi
33462
33463 if test "$wxUSE_IFF" = "yes" ; then
33464 cat >>confdefs.h <<\_ACEOF
33465#define wxUSE_IFF 1
33466_ACEOF
33467
33468 fi
33469
33470 if test "$wxUSE_PNM" = "yes" ; then
33471 cat >>confdefs.h <<\_ACEOF
33472#define wxUSE_PNM 1
33473_ACEOF
33474
33475 fi
33476
33477 if test "$wxUSE_XPM" = "yes" ; then
33478 cat >>confdefs.h <<\_ACEOF
33479#define wxUSE_XPM 1
33480_ACEOF
33481
33482 fi
33483
33484 if test "$wxUSE_ICO_CUR" = "yes" ; then
33485 cat >>confdefs.h <<\_ACEOF
33486#define wxUSE_ICO_CUR 1
33487_ACEOF
33488
33489 fi
33490fi
33491
33492
33493if test "$wxUSE_CHOICEDLG" = "yes"; then
33494 cat >>confdefs.h <<\_ACEOF
33495#define wxUSE_CHOICEDLG 1
33496_ACEOF
33497
33498fi
33499
33500if test "$wxUSE_COLOURDLG" = "yes"; then
33501 cat >>confdefs.h <<\_ACEOF
33502#define wxUSE_COLOURDLG 1
33503_ACEOF
33504
33505fi
33506
33507if test "$wxUSE_FILEDLG" = "yes"; then
33508 cat >>confdefs.h <<\_ACEOF
33509#define wxUSE_FILEDLG 1
33510_ACEOF
33511
33512fi
33513
33514if test "$wxUSE_FINDREPLDLG" = "yes"; then
33515 cat >>confdefs.h <<\_ACEOF
33516#define wxUSE_FINDREPLDLG 1
33517_ACEOF
33518
33519fi
33520
33521if test "$wxUSE_FONTDLG" = "yes"; then
33522 cat >>confdefs.h <<\_ACEOF
33523#define wxUSE_FONTDLG 1
33524_ACEOF
33525
33526fi
33527
33528if test "$wxUSE_DIRDLG" = "yes"; then
33529 if test "$wxUSE_TREECTRL" != "yes"; then
33530 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33531echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33532 else
33533 cat >>confdefs.h <<\_ACEOF
33534#define wxUSE_DIRDLG 1
33535_ACEOF
33536
33537 fi
33538fi
33539
33540if test "$wxUSE_MSGDLG" = "yes"; then
33541 cat >>confdefs.h <<\_ACEOF
33542#define wxUSE_MSGDLG 1
33543_ACEOF
33544
33545fi
33546
33547if test "$wxUSE_NUMBERDLG" = "yes"; then
33548 cat >>confdefs.h <<\_ACEOF
33549#define wxUSE_NUMBERDLG 1
33550_ACEOF
33551
33552fi
33553
33554if test "$wxUSE_PROGRESSDLG" = "yes"; then
33555 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33556 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33557echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33558 else
33559 cat >>confdefs.h <<\_ACEOF
33560#define wxUSE_PROGRESSDLG 1
33561_ACEOF
33562
33563 fi
33564fi
33565
33566if test "$wxUSE_SPLASH" = "yes"; then
33567 cat >>confdefs.h <<\_ACEOF
33568#define wxUSE_SPLASH 1
33569_ACEOF
33570
33571fi
33572
33573if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33574 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33575 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33576echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33577 else
33578 cat >>confdefs.h <<\_ACEOF
33579#define wxUSE_STARTUP_TIPS 1
33580_ACEOF
33581
33582 fi
33583fi
33584
33585if test "$wxUSE_TEXTDLG" = "yes"; then
33586 cat >>confdefs.h <<\_ACEOF
33587#define wxUSE_TEXTDLG 1
33588_ACEOF
33589
33590fi
33591
33592if test "$wxUSE_WIZARDDLG" = "yes"; then
33593 cat >>confdefs.h <<\_ACEOF
33594#define wxUSE_WIZARDDLG 1
33595_ACEOF
33596
33597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
33598fi
33599
33600
33601if test "$cross_compiling" = "yes"; then
33602 OSINFO="\"$host\""
33603else
33604 OSINFO=`uname -s -r -m`
33605 OSINFO="\"$OSINFO\""
33606fi
33607
33608cat >>confdefs.h <<_ACEOF
33609#define WXWIN_OS_DESCRIPTION $OSINFO
33610_ACEOF
33611
33612
33613
33614if test "x$prefix" != "xNONE"; then
33615 wxPREFIX=$prefix
33616else
33617 wxPREFIX=$ac_default_prefix
33618fi
33619
33620cat >>confdefs.h <<_ACEOF
33621#define wxINSTALL_PREFIX "$wxPREFIX"
33622_ACEOF
33623
33624
33625top_builddir_wxconfig=`pwd`
33626
33627
33628
33629CORE_BASE_LIBS="net base"
33630CORE_GUI_LIBS="adv core"
33631
33632if test "$wxUSE_XML" = "yes" ; then
33633 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
33634fi
33635if test "$wxUSE_ODBC" != "no" ; then
33636 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
33637 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
33638fi
33639if test "$wxUSE_HTML" = "yes" ; then
33640 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
33641fi
33642
33643if test "$wxUSE_GUI" != "yes"; then
33644 CORE_GUI_LIBS=""
33645fi
33646
33647
33648
33649
33650
33651
33652
33653
33654if test "$wxUSE_MAC" = 1 ; then
33655 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33656fi
33657if test "$wxUSE_COCOA" = 1 ; then
33658 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33659fi
33660
33661
33662LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33663
33664have_cos=0
33665have_floor=0
33666
33667for ac_func in cos
33668do
33669as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33670echo "$as_me:$LINENO: checking for $ac_func" >&5
33671echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33672if eval "test \"\${$as_ac_var+set}\" = set"; then
33673 echo $ECHO_N "(cached) $ECHO_C" >&6
33674else
33675 cat >conftest.$ac_ext <<_ACEOF
33676#line $LINENO "configure"
33677/* confdefs.h. */
33678_ACEOF
33679cat confdefs.h >>conftest.$ac_ext
33680cat >>conftest.$ac_ext <<_ACEOF
33681/* end confdefs.h. */
33682/* System header to define __stub macros and hopefully few prototypes,
33683 which can conflict with char $ac_func (); below.
33684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33685 <limits.h> exists even on freestanding compilers. */
33686#ifdef __STDC__
33687# include <limits.h>
33688#else
33689# include <assert.h>
33690#endif
33691/* Override any gcc2 internal prototype to avoid an error. */
33692#ifdef __cplusplus
33693extern "C"
33694{
33695#endif
33696/* We use char because int might match the return type of a gcc2
33697 builtin and then its argument prototype would still apply. */
33698char $ac_func ();
33699/* The GNU C library defines this for functions which it implements
33700 to always fail with ENOSYS. Some functions are actually named
33701 something starting with __ and the normal name is an alias. */
33702#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33703choke me
33704#else
33705char (*f) () = $ac_func;
33706#endif
33707#ifdef __cplusplus
33708}
33709#endif
33710
33711int
33712main ()
33713{
33714return f != $ac_func;
33715 ;
33716 return 0;
33717}
33718_ACEOF
33719rm -f conftest.$ac_objext conftest$ac_exeext
33720if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33721 (eval $ac_link) 2>&5
33722 ac_status=$?
33723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33724 (exit $ac_status); } &&
33725 { ac_try='test -s conftest$ac_exeext'
33726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33727 (eval $ac_try) 2>&5
33728 ac_status=$?
33729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33730 (exit $ac_status); }; }; then
33731 eval "$as_ac_var=yes"
33732else
33733 echo "$as_me: failed program was:" >&5
33734sed 's/^/| /' conftest.$ac_ext >&5
33735
33736eval "$as_ac_var=no"
33737fi
33738rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33739fi
33740echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33741echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33742if test `eval echo '${'$as_ac_var'}'` = yes; then
33743 cat >>confdefs.h <<_ACEOF
33744#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33745_ACEOF
33746 have_cos=1
33747fi
33748done
33749
33750
33751for ac_func in floor
33752do
33753as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33754echo "$as_me:$LINENO: checking for $ac_func" >&5
33755echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33756if eval "test \"\${$as_ac_var+set}\" = set"; then
33757 echo $ECHO_N "(cached) $ECHO_C" >&6
33758else
33759 cat >conftest.$ac_ext <<_ACEOF
33760#line $LINENO "configure"
33761/* confdefs.h. */
33762_ACEOF
33763cat confdefs.h >>conftest.$ac_ext
33764cat >>conftest.$ac_ext <<_ACEOF
33765/* end confdefs.h. */
33766/* System header to define __stub macros and hopefully few prototypes,
33767 which can conflict with char $ac_func (); below.
33768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33769 <limits.h> exists even on freestanding compilers. */
33770#ifdef __STDC__
33771# include <limits.h>
33772#else
33773# include <assert.h>
33774#endif
33775/* Override any gcc2 internal prototype to avoid an error. */
33776#ifdef __cplusplus
33777extern "C"
33778{
33779#endif
33780/* We use char because int might match the return type of a gcc2
33781 builtin and then its argument prototype would still apply. */
33782char $ac_func ();
33783/* The GNU C library defines this for functions which it implements
33784 to always fail with ENOSYS. Some functions are actually named
33785 something starting with __ and the normal name is an alias. */
33786#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33787choke me
33788#else
33789char (*f) () = $ac_func;
33790#endif
33791#ifdef __cplusplus
33792}
33793#endif
33794
33795int
33796main ()
33797{
33798return f != $ac_func;
33799 ;
33800 return 0;
33801}
33802_ACEOF
33803rm -f conftest.$ac_objext conftest$ac_exeext
33804if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33805 (eval $ac_link) 2>&5
33806 ac_status=$?
33807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33808 (exit $ac_status); } &&
33809 { ac_try='test -s conftest$ac_exeext'
33810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33811 (eval $ac_try) 2>&5
33812 ac_status=$?
33813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33814 (exit $ac_status); }; }; then
33815 eval "$as_ac_var=yes"
33816else
33817 echo "$as_me: failed program was:" >&5
33818sed 's/^/| /' conftest.$ac_ext >&5
33819
33820eval "$as_ac_var=no"
33821fi
33822rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33823fi
33824echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33825echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33826if test `eval echo '${'$as_ac_var'}'` = yes; then
33827 cat >>confdefs.h <<_ACEOF
33828#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33829_ACEOF
33830 have_floor=1
33831fi
33832done
33833
33834echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33835echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33836if test "$have_cos" = 1 -a "$have_floor" = 1; then
33837 echo "$as_me:$LINENO: result: yes" >&5
33838echo "${ECHO_T}yes" >&6
33839else
33840 echo "$as_me:$LINENO: result: no" >&5
33841echo "${ECHO_T}no" >&6
33842 LIBS="$LIBS -lm"
33843 # use different functions to avoid configure caching
33844 have_sin=0
33845 have_ceil=0
33846
33847for ac_func in sin
33848do
33849as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33850echo "$as_me:$LINENO: checking for $ac_func" >&5
33851echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33852if eval "test \"\${$as_ac_var+set}\" = set"; then
33853 echo $ECHO_N "(cached) $ECHO_C" >&6
33854else
33855 cat >conftest.$ac_ext <<_ACEOF
33856#line $LINENO "configure"
33857/* confdefs.h. */
33858_ACEOF
33859cat confdefs.h >>conftest.$ac_ext
33860cat >>conftest.$ac_ext <<_ACEOF
33861/* end confdefs.h. */
33862/* System header to define __stub macros and hopefully few prototypes,
33863 which can conflict with char $ac_func (); below.
33864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33865 <limits.h> exists even on freestanding compilers. */
33866#ifdef __STDC__
33867# include <limits.h>
33868#else
33869# include <assert.h>
33870#endif
33871/* Override any gcc2 internal prototype to avoid an error. */
33872#ifdef __cplusplus
33873extern "C"
33874{
33875#endif
33876/* We use char because int might match the return type of a gcc2
33877 builtin and then its argument prototype would still apply. */
33878char $ac_func ();
33879/* The GNU C library defines this for functions which it implements
33880 to always fail with ENOSYS. Some functions are actually named
33881 something starting with __ and the normal name is an alias. */
33882#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33883choke me
33884#else
33885char (*f) () = $ac_func;
33886#endif
33887#ifdef __cplusplus
33888}
33889#endif
33890
33891int
33892main ()
33893{
33894return f != $ac_func;
33895 ;
33896 return 0;
33897}
33898_ACEOF
33899rm -f conftest.$ac_objext conftest$ac_exeext
33900if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33901 (eval $ac_link) 2>&5
33902 ac_status=$?
33903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33904 (exit $ac_status); } &&
33905 { ac_try='test -s conftest$ac_exeext'
33906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33907 (eval $ac_try) 2>&5
33908 ac_status=$?
33909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33910 (exit $ac_status); }; }; then
33911 eval "$as_ac_var=yes"
33912else
33913 echo "$as_me: failed program was:" >&5
33914sed 's/^/| /' conftest.$ac_ext >&5
33915
33916eval "$as_ac_var=no"
33917fi
33918rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33919fi
33920echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33921echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33922if test `eval echo '${'$as_ac_var'}'` = yes; then
33923 cat >>confdefs.h <<_ACEOF
33924#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33925_ACEOF
33926 have_sin=1
33927fi
33928done
33929
33930
33931for ac_func in ceil
33932do
33933as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33934echo "$as_me:$LINENO: checking for $ac_func" >&5
33935echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33936if eval "test \"\${$as_ac_var+set}\" = set"; then
33937 echo $ECHO_N "(cached) $ECHO_C" >&6
33938else
33939 cat >conftest.$ac_ext <<_ACEOF
33940#line $LINENO "configure"
33941/* confdefs.h. */
33942_ACEOF
33943cat confdefs.h >>conftest.$ac_ext
33944cat >>conftest.$ac_ext <<_ACEOF
33945/* end confdefs.h. */
33946/* System header to define __stub macros and hopefully few prototypes,
33947 which can conflict with char $ac_func (); below.
33948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33949 <limits.h> exists even on freestanding compilers. */
33950#ifdef __STDC__
33951# include <limits.h>
33952#else
33953# include <assert.h>
33954#endif
33955/* Override any gcc2 internal prototype to avoid an error. */
33956#ifdef __cplusplus
33957extern "C"
33958{
33959#endif
33960/* We use char because int might match the return type of a gcc2
33961 builtin and then its argument prototype would still apply. */
33962char $ac_func ();
33963/* The GNU C library defines this for functions which it implements
33964 to always fail with ENOSYS. Some functions are actually named
33965 something starting with __ and the normal name is an alias. */
33966#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33967choke me
33968#else
33969char (*f) () = $ac_func;
33970#endif
33971#ifdef __cplusplus
33972}
33973#endif
33974
33975int
33976main ()
33977{
33978return f != $ac_func;
33979 ;
33980 return 0;
33981}
33982_ACEOF
33983rm -f conftest.$ac_objext conftest$ac_exeext
33984if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33985 (eval $ac_link) 2>&5
33986 ac_status=$?
33987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33988 (exit $ac_status); } &&
33989 { ac_try='test -s conftest$ac_exeext'
33990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33991 (eval $ac_try) 2>&5
33992 ac_status=$?
33993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33994 (exit $ac_status); }; }; then
33995 eval "$as_ac_var=yes"
33996else
33997 echo "$as_me: failed program was:" >&5
33998sed 's/^/| /' conftest.$ac_ext >&5
33999
34000eval "$as_ac_var=no"
34001fi
34002rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34003fi
34004echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34005echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34006if test `eval echo '${'$as_ac_var'}'` = yes; then
34007 cat >>confdefs.h <<_ACEOF
34008#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34009_ACEOF
34010 have_ceil=1
34011fi
34012done
34013
34014 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
34015echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
34016 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
34017 echo "$as_me:$LINENO: result: yes" >&5
34018echo "${ECHO_T}yes" >&6
34019 else
34020 echo "$as_me:$LINENO: result: no" >&5
34021echo "${ECHO_T}no" >&6
34022 # not sure we should warn the user, crash, etc.
34023 fi
34024fi
34025
34026if test "$wxUSE_GUI" = "yes"; then
34027
34028
34029 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
34030 drawing dynamic erase event exec font image \
34031 minimal propsize rotate shaped widgets render"
34032
34033 if test "$wxUSE_MONOLITHIC" != "yes"; then
34034 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
34035 fi
34036else
34037 SAMPLES_SUBDIRS="console"
34038fi
34039
34040
34041INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
34042-I\${top_srcdir}/include \
34043$REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
34044$TOOLKIT_INCLUDE"
34045
34046if test "$GXX" = yes ; then
34047 CXXWARNINGS="-Wall"
34048 fi
34049
34050EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
34051
34052CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
34053CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
34054CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
34055
34056
34057LIBS=`echo $LIBS | sed 's/ \+/ /g'`
34058EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
34059EXTRALIBS_XML="$EXPAT_LINK"
34060EXTRALIBS_HTML="$MSPACK_LINK"
34061EXTRALIBS_ODBC="$ODBC_LINK"
34062if test "$wxUSE_GUI" = "yes"; then
34063 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
34064fi
34065if test "$wxUSE_OPENGL" = "yes"; then
34066 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
34067fi
34068
34069LDFLAGS="$LDFLAGS $PROFILE"
34070
34071if test "$wxUSE_GTK" = 1; then
34072 WXCONFIG_INCLUDE=
34073else
34074 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
34075fi
34076
34077WXCONFIG_EXTRALIBS="$LIBS"
34078
34079if test "$wxUSE_REGEX" = "builtin" ; then
34080 wxconfig_3rdparty="$wxconfig_3rdparty regex"
34081fi
34082if test "$wxUSE_EXPAT" = "builtin" ; then
34083 wxconfig_3rdparty="$wxconfig_3rdparty expat"
34084fi
34085if test "$wxUSE_ODBC" = "builtin" ; then
34086 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
34087fi
34088if test "$wxUSE_LIBTIFF" = "builtin" ; then
34089 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
34090fi
34091if test "$wxUSE_LIBJPEG" = "builtin" ; then
34092 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
34093fi
34094if test "$wxUSE_LIBPNG" = "builtin" ; then
34095 wxconfig_3rdparty="$wxconfig_3rdparty png"
34096fi
34097if test "$wxUSE_ZLIB" = "builtin" ; then
34098 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
34099fi
34100if test "$wxUSE_ODBC" = "builtin" ; then
34101 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
34102fi
34103
34104for i in $wxconfig_3rdparty ; do
34105 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
34106done
34107
34108
34109if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
34110 WXUNIV=1
34111else
34112 WXUNIV=0
34113fi
34114
34115
34116
34117
34118
34119
34120
34121
34122
34123if test $wxUSE_MONOLITHIC = "yes" ; then
34124 MONOLITHIC=1
34125else
34126 MONOLITHIC=0
34127fi
34128
34129if test $wxUSE_ODBC != "no" ; then
34130 USE_ODBC=1
34131else
34132 USE_ODBC=0
34133fi
34134
34135if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
34136 OFFICIAL_BUILD=1
34137else
34138 OFFICIAL_BUILD=0
34139fi
34140
34141
34142
34143
34144
34145
34146
34147
34148
34149
34150
34151
34152
34153
34154
34155
34156
34157
34158TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
34159
34160
34161
34162
34163
34164
34165
34166 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
34167
34168 if test -n "$ac_tool_prefix"; then
34169 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
34170set dummy ${ac_tool_prefix}ranlib; ac_word=$2
34171echo "$as_me:$LINENO: checking for $ac_word" >&5
34172echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34173if test "${ac_cv_prog_RANLIB+set}" = set; then
34174 echo $ECHO_N "(cached) $ECHO_C" >&6
34175else
34176 if test -n "$RANLIB"; then
34177 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
34178else
34179as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34180for as_dir in $PATH
34181do
34182 IFS=$as_save_IFS
34183 test -z "$as_dir" && as_dir=.
34184 for ac_exec_ext in '' $ac_executable_extensions; do
34185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34186 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
34187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34188 break 2
34189 fi
34190done
34191done
34192
34193fi
34194fi
34195RANLIB=$ac_cv_prog_RANLIB
34196if test -n "$RANLIB"; then
34197 echo "$as_me:$LINENO: result: $RANLIB" >&5
34198echo "${ECHO_T}$RANLIB" >&6
34199else
34200 echo "$as_me:$LINENO: result: no" >&5
34201echo "${ECHO_T}no" >&6
34202fi
34203
34204fi
34205if test -z "$ac_cv_prog_RANLIB"; then
34206 ac_ct_RANLIB=$RANLIB
34207 # Extract the first word of "ranlib", so it can be a program name with args.
34208set dummy ranlib; ac_word=$2
34209echo "$as_me:$LINENO: checking for $ac_word" >&5
34210echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34211if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
34212 echo $ECHO_N "(cached) $ECHO_C" >&6
34213else
34214 if test -n "$ac_ct_RANLIB"; then
34215 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
34216else
34217as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34218for as_dir in $PATH
34219do
34220 IFS=$as_save_IFS
34221 test -z "$as_dir" && as_dir=.
34222 for ac_exec_ext in '' $ac_executable_extensions; do
34223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34224 ac_cv_prog_ac_ct_RANLIB="ranlib"
34225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34226 break 2
34227 fi
34228done
34229done
34230
34231 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
34232fi
34233fi
34234ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
34235if test -n "$ac_ct_RANLIB"; then
34236 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
34237echo "${ECHO_T}$ac_ct_RANLIB" >&6
34238else
34239 echo "$as_me:$LINENO: result: no" >&5
34240echo "${ECHO_T}no" >&6
34241fi
34242
34243 RANLIB=$ac_ct_RANLIB
34244else
34245 RANLIB="$ac_cv_prog_RANLIB"
34246fi
34247
34248 # Find a good install program. We prefer a C program (faster),
34249# so one script is as good as another. But avoid the broken or
34250# incompatible versions:
34251# SysV /etc/install, /usr/sbin/install
34252# SunOS /usr/etc/install
34253# IRIX /sbin/install
34254# AIX /bin/install
34255# AmigaOS /C/install, which installs bootblocks on floppy discs
34256# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34257# AFS /usr/afsws/bin/install, which mishandles nonexistent args
34258# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34259# ./install, which can be erroneously created by make from ./install.sh.
34260echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34261echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34262if test -z "$INSTALL"; then
34263if test "${ac_cv_path_install+set}" = set; then
34264 echo $ECHO_N "(cached) $ECHO_C" >&6
34265else
34266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34267for as_dir in $PATH
34268do
34269 IFS=$as_save_IFS
34270 test -z "$as_dir" && as_dir=.
34271 # Account for people who put trailing slashes in PATH elements.
34272case $as_dir/ in
34273 ./ | .// | /cC/* | \
34274 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
34275 /usr/ucb/* ) ;;
34276 *)
34277 # OSF1 and SCO ODT 3.0 have their own names for install.
34278 # Don't use installbsd from OSF since it installs stuff as root
34279 # by default.
34280 for ac_prog in ginstall scoinst install; do
34281 for ac_exec_ext in '' $ac_executable_extensions; do
34282 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34283 if test $ac_prog = install &&
34284 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34285 # AIX install. It has an incompatible calling convention.
34286 :
34287 elif test $ac_prog = install &&
34288 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34289 # program-specific install script used by HP pwplus--don't use.
34290 :
34291 else
34292 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
34293 break 3
34294 fi
34295 fi
34296 done
34297 done
34298 ;;
34299esac
34300done
34301
34302
34303fi
34304 if test "${ac_cv_path_install+set}" = set; then
34305 INSTALL=$ac_cv_path_install
34306 else
34307 # As a last resort, use the slow shell script. We don't cache a
34308 # path for INSTALL within a source directory, because that will
34309 # break other packages using the cache if that directory is
34310 # removed, or if the path is relative.
34311 INSTALL=$ac_install_sh
34312 fi
34313fi
34314echo "$as_me:$LINENO: result: $INSTALL" >&5
34315echo "${ECHO_T}$INSTALL" >&6
34316
34317# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34318# It thinks the first close brace ends the variable substitution.
34319test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
34320
34321test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
34322
34323test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
34324
34325 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34326echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34327LN_S=$as_ln_s
34328if test "$LN_S" = "ln -s"; then
34329 echo "$as_me:$LINENO: result: yes" >&5
34330echo "${ECHO_T}yes" >&6
34331else
34332 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34333echo "${ECHO_T}no, using $LN_S" >&6
34334fi
34335
34336
34337 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34338echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34339set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34340if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34341 echo $ECHO_N "(cached) $ECHO_C" >&6
34342else
34343 cat >conftest.make <<\_ACEOF
34344all:
34345 @echo 'ac_maketemp="$(MAKE)"'
34346_ACEOF
34347# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34348eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34349if test -n "$ac_maketemp"; then
34350 eval ac_cv_prog_make_${ac_make}_set=yes
34351else
34352 eval ac_cv_prog_make_${ac_make}_set=no
34353fi
34354rm -f conftest.make
34355fi
34356if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34357 echo "$as_me:$LINENO: result: yes" >&5
34358echo "${ECHO_T}yes" >&6
34359 SET_MAKE=
34360else
34361 echo "$as_me:$LINENO: result: no" >&5
34362echo "${ECHO_T}no" >&6
34363 SET_MAKE="MAKE=${MAKE-make}"
34364fi
34365
34366
34367
34368 if test -n "$ac_tool_prefix"; then
34369 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
34370set dummy ${ac_tool_prefix}ar; ac_word=$2
34371echo "$as_me:$LINENO: checking for $ac_word" >&5
34372echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34373if test "${ac_cv_prog_AR+set}" = set; then
34374 echo $ECHO_N "(cached) $ECHO_C" >&6
34375else
34376 if test -n "$AR"; then
34377 ac_cv_prog_AR="$AR" # Let the user override the test.
34378else
34379as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34380for as_dir in $PATH
34381do
34382 IFS=$as_save_IFS
34383 test -z "$as_dir" && as_dir=.
34384 for ac_exec_ext in '' $ac_executable_extensions; do
34385 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34386 ac_cv_prog_AR="${ac_tool_prefix}ar"
34387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34388 break 2
34389 fi
34390done
34391done
34392
34393fi
34394fi
34395AR=$ac_cv_prog_AR
34396if test -n "$AR"; then
34397 echo "$as_me:$LINENO: result: $AR" >&5
34398echo "${ECHO_T}$AR" >&6
34399else
34400 echo "$as_me:$LINENO: result: no" >&5
34401echo "${ECHO_T}no" >&6
34402fi
34403
34404fi
34405if test -z "$ac_cv_prog_AR"; then
34406 ac_ct_AR=$AR
34407 # Extract the first word of "ar", so it can be a program name with args.
34408set dummy ar; ac_word=$2
34409echo "$as_me:$LINENO: checking for $ac_word" >&5
34410echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34411if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
34412 echo $ECHO_N "(cached) $ECHO_C" >&6
34413else
34414 if test -n "$ac_ct_AR"; then
34415 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
34416else
34417as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34418for as_dir in $PATH
34419do
34420 IFS=$as_save_IFS
34421 test -z "$as_dir" && as_dir=.
34422 for ac_exec_ext in '' $ac_executable_extensions; do
34423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34424 ac_cv_prog_ac_ct_AR="ar"
34425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34426 break 2
34427 fi
34428done
34429done
34430
34431 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
34432fi
34433fi
34434ac_ct_AR=$ac_cv_prog_ac_ct_AR
34435if test -n "$ac_ct_AR"; then
34436 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
34437echo "${ECHO_T}$ac_ct_AR" >&6
34438else
34439 echo "$as_me:$LINENO: result: no" >&5
34440echo "${ECHO_T}no" >&6
34441fi
34442
34443 AR=$ac_ct_AR
34444else
34445 AR="$ac_cv_prog_AR"
34446fi
34447
34448 if test -n "$ac_tool_prefix"; then
34449 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
34450set dummy ${ac_tool_prefix}strip; ac_word=$2
34451echo "$as_me:$LINENO: checking for $ac_word" >&5
34452echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34453if test "${ac_cv_prog_STRIP+set}" = set; then
34454 echo $ECHO_N "(cached) $ECHO_C" >&6
34455else
34456 if test -n "$STRIP"; then
34457 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
34458else
34459as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34460for as_dir in $PATH
34461do
34462 IFS=$as_save_IFS
34463 test -z "$as_dir" && as_dir=.
34464 for ac_exec_ext in '' $ac_executable_extensions; do
34465 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34466 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
34467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34468 break 2
34469 fi
34470done
34471done
34472
34473fi
34474fi
34475STRIP=$ac_cv_prog_STRIP
34476if test -n "$STRIP"; then
34477 echo "$as_me:$LINENO: result: $STRIP" >&5
34478echo "${ECHO_T}$STRIP" >&6
34479else
34480 echo "$as_me:$LINENO: result: no" >&5
34481echo "${ECHO_T}no" >&6
34482fi
34483
34484fi
34485if test -z "$ac_cv_prog_STRIP"; then
34486 ac_ct_STRIP=$STRIP
34487 # Extract the first word of "strip", so it can be a program name with args.
34488set dummy strip; ac_word=$2
34489echo "$as_me:$LINENO: checking for $ac_word" >&5
34490echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34491if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
34492 echo $ECHO_N "(cached) $ECHO_C" >&6
34493else
34494 if test -n "$ac_ct_STRIP"; then
34495 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
34496else
34497as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34498for as_dir in $PATH
34499do
34500 IFS=$as_save_IFS
34501 test -z "$as_dir" && as_dir=.
34502 for ac_exec_ext in '' $ac_executable_extensions; do
34503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34504 ac_cv_prog_ac_ct_STRIP="strip"
34505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34506 break 2
34507 fi
34508done
34509done
34510
34511 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
34512fi
34513fi
34514ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
34515if test -n "$ac_ct_STRIP"; then
34516 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
34517echo "${ECHO_T}$ac_ct_STRIP" >&6
34518else
34519 echo "$as_me:$LINENO: result: no" >&5
34520echo "${ECHO_T}no" >&6
34521fi
34522
34523 STRIP=$ac_ct_STRIP
34524else
34525 STRIP="$ac_cv_prog_STRIP"
34526fi
34527
34528 if test -n "$ac_tool_prefix"; then
34529 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
34530set dummy ${ac_tool_prefix}nm; ac_word=$2
34531echo "$as_me:$LINENO: checking for $ac_word" >&5
34532echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34533if test "${ac_cv_prog_NM+set}" = set; then
34534 echo $ECHO_N "(cached) $ECHO_C" >&6
34535else
34536 if test -n "$NM"; then
34537 ac_cv_prog_NM="$NM" # Let the user override the test.
34538else
34539as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34540for as_dir in $PATH
34541do
34542 IFS=$as_save_IFS
34543 test -z "$as_dir" && as_dir=.
34544 for ac_exec_ext in '' $ac_executable_extensions; do
34545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34546 ac_cv_prog_NM="${ac_tool_prefix}nm"
34547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34548 break 2
34549 fi
34550done
34551done
34552
34553fi
34554fi
34555NM=$ac_cv_prog_NM
34556if test -n "$NM"; then
34557 echo "$as_me:$LINENO: result: $NM" >&5
34558echo "${ECHO_T}$NM" >&6
34559else
34560 echo "$as_me:$LINENO: result: no" >&5
34561echo "${ECHO_T}no" >&6
34562fi
34563
34564fi
34565if test -z "$ac_cv_prog_NM"; then
34566 ac_ct_NM=$NM
34567 # Extract the first word of "nm", so it can be a program name with args.
34568set dummy nm; ac_word=$2
34569echo "$as_me:$LINENO: checking for $ac_word" >&5
34570echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34571if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
34572 echo $ECHO_N "(cached) $ECHO_C" >&6
34573else
34574 if test -n "$ac_ct_NM"; then
34575 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
34576else
34577as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34578for as_dir in $PATH
34579do
34580 IFS=$as_save_IFS
34581 test -z "$as_dir" && as_dir=.
34582 for ac_exec_ext in '' $ac_executable_extensions; do
34583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34584 ac_cv_prog_ac_ct_NM="nm"
34585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34586 break 2
34587 fi
34588done
34589done
34590
34591 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
34592fi
34593fi
34594ac_ct_NM=$ac_cv_prog_ac_ct_NM
34595if test -n "$ac_ct_NM"; then
34596 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
34597echo "${ECHO_T}$ac_ct_NM" >&6
34598else
34599 echo "$as_me:$LINENO: result: no" >&5
34600echo "${ECHO_T}no" >&6
34601fi
34602
34603 NM=$ac_ct_NM
34604else
34605 NM="$ac_cv_prog_NM"
34606fi
34607
34608
34609 case ${host} in
34610 *-hp-hpux* )
34611 INSTALL_DIR="mkdir"
34612 ;;
34613 *) INSTALL_DIR="$INSTALL -d"
34614 ;;
34615 esac
34616
34617
34618 LDFLAGS_GUI=
34619 case ${host} in
34620 *-*-cygwin* | *-*-mingw32* )
34621 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
34622 esac
34623
34624
34625 fi
34626
34627 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34628echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34629if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34630 echo $ECHO_N "(cached) $ECHO_C" >&6
34631else
34632
34633 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
34634 egrep -s GNU > /dev/null); then
34635 bakefile_cv_prog_makeisgnu="yes"
34636 else
34637 bakefile_cv_prog_makeisgnu="no"
34638 fi
34639
34640fi
34641echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34642echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34643
34644 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34645 IF_GNU_MAKE=""
34646 else
34647 IF_GNU_MAKE="#"
34648 fi
34649
34650
34651
34652 PLATFORM_UNIX=0
34653 PLATFORM_WIN32=0
34654 PLATFORM_MSDOS=0
34655 PLATFORM_MAC=0
34656 PLATFORM_MACOSX=0
34657 PLATFORM_OS2=0
34658
34659 case "${host}" in
34660 *-*-cygwin* | *-*-mingw32* )
34661 PLATFORM_WIN32=1
34662 ;;
34663 *-pc-msdosdjgpp )
34664 PLATFORM_MSDOS=1
34665 ;;
34666 *-pc-os2_emx | *-pc-os2-emx )
34667 PLATFORM_OS2=1
34668 ;;
34669 powerpc-*-darwin* )
34670 PLATFORM_MAC=1
34671 PLATFORM_MACOSX=1
34672 ;;
34673 * )
34674 PLATFORM_UNIX=1
34675 ;;
34676 esac
34677
34678
34679
34680
34681
34682
34683
34684
34685
34686 SO_SUFFIX="so"
34687 SO_SUFFIX_MODULE="so"
34688 EXEEXT=""
34689 LIBPREFIX=lib
34690 DLLPREFIX=lib
34691 DLLPREFIX_MODULE=
34692
34693 case "${host}" in
34694 *-hp-hpux* )
34695 SO_SUFFIX="sl"
34696 SO_SUFFIX_MODULE="sl"
34697 ;;
34698 *-*-aix* )
34699 SO_SUFFIX="a"
34700 SO_SUFFIX_MODULE="a"
34701 ;;
34702 *-*-cygwin* | *-*-mingw32* )
34703 SO_SUFFIX="dll"
34704 SO_SUFFIX_MODULE="dll"
34705 EXEEXT=".exe"
34706 DLLPREFIX=""
34707 ;;
34708 *-pc-msdosdjgpp )
34709 EXEEXT=".exe"
34710 DLLPREFIX=""
34711 ;;
34712 *-pc-os2_emx | *-pc-os2-emx )
34713 EXEEXT=".exe"
34714 DLLPREFIX=""
34715 LIBPREFIX=""
34716 ;;
34717 powerpc-*-darwin* )
34718 SO_SUFFIX="dylib"
34719 SO_SUFFIX_MODULE="bundle"
34720 ;;
34721 esac
34722
34723
34724
34725
34726
34727
34728
34729
34730
34731 SHARED_LD_CC="\$(CC) -shared -o"
34732 SHARED_LD_CXX="\$(CXX) -shared -o"
34733
34734 if test "x$GCC" = "xyes"; then
34735 PIC_FLAG="-fPIC"
34736 fi
34737
34738 case "${host}" in
34739 *-hp-hpux* )
34740 if test "x$GCC" = "xyes"; then
34741 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
34742 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
34743 else
34744 LDFLAGS="$LDFLAGS -L/usr/lib"
34745
34746 SHARED_LD_CC="${CC} -b -o"
34747 SHARED_LD_CXX="${CXX} -b -o"
34748 PIC_FLAG="+Z"
34749 fi
34750 ;;
34751
34752 *-*-linux* )
34753 if test "x$GCC" != "xyes"; then
34754 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34755echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34756if test "${bakefile_cv_prog_icc+set}" = set; then
34757 echo $ECHO_N "(cached) $ECHO_C" >&6
34758else
34759
34760 cat >conftest.$ac_ext <<_ACEOF
34761#line $LINENO "configure"
34762/* confdefs.h. */
34763_ACEOF
34764cat confdefs.h >>conftest.$ac_ext
34765cat >>conftest.$ac_ext <<_ACEOF
34766/* end confdefs.h. */
34767
34768int
34769main ()
34770{
34771
34772 #ifndef __INTEL_COMPILER
34773 #error Not icc
34774 #endif
34775
34776 ;
34777 return 0;
34778}
34779_ACEOF
34780rm -f conftest.$ac_objext
34781if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34782 (eval $ac_compile) 2>&5
34783 ac_status=$?
34784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34785 (exit $ac_status); } &&
34786 { ac_try='test -s conftest.$ac_objext'
34787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34788 (eval $ac_try) 2>&5
34789 ac_status=$?
34790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34791 (exit $ac_status); }; }; then
34792 bakefile_cv_prog_icc=yes
34793else
34794 echo "$as_me: failed program was:" >&5
34795sed 's/^/| /' conftest.$ac_ext >&5
34796
34797bakefile_cv_prog_icc=no
34798
34799fi
34800rm -f conftest.$ac_objext conftest.$ac_ext
34801
34802fi
34803echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34804echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34805 if test "$bakefile_cv_prog_icc" = "yes"; then
34806 PIC_FLAG="-KPIC"
34807 fi
34808 fi
34809 ;;
34810
34811 *-*-solaris2* )
34812 if test "x$GCC" != xyes ; then
34813 SHARED_LD_CC="${CC} -G -o"
34814 SHARED_LD_CXX="${CXX} -G -o"
34815 PIC_FLAG="-KPIC"
34816 fi
34817 ;;
34818
34819 *-*-darwin* )
34820 CFLAGS="$CFLAGS -fno-common"
34821 CXXFLAGS="$CXXFLAGS -fno-common"
34822
34823
34824 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
34825echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
34826if test "${wx_cv_gcc31+set}" = set; then
34827 echo $ECHO_N "(cached) $ECHO_C" >&6
34828else
34829
34830 cat >conftest.$ac_ext <<_ACEOF
34831#line $LINENO "configure"
34832/* confdefs.h. */
34833_ACEOF
34834cat confdefs.h >>conftest.$ac_ext
34835cat >>conftest.$ac_ext <<_ACEOF
34836/* end confdefs.h. */
34837
34838int
34839main ()
34840{
34841
34842 #if (__GNUC__ < 3) || \
34843 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
34844 #error old gcc
34845 #endif
34846
34847 ;
34848 return 0;
34849}
34850_ACEOF
34851rm -f conftest.$ac_objext
34852if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34853 (eval $ac_compile) 2>&5
34854 ac_status=$?
34855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34856 (exit $ac_status); } &&
34857 { ac_try='test -s conftest.$ac_objext'
34858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34859 (eval $ac_try) 2>&5
34860 ac_status=$?
34861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34862 (exit $ac_status); }; }; then
34863
34864 wx_cv_gcc31=yes
34865
34866else
34867 echo "$as_me: failed program was:" >&5
34868sed 's/^/| /' conftest.$ac_ext >&5
34869
34870
34871 wx_cv_gcc31=no
34872
34873
34874fi
34875rm -f conftest.$ac_objext conftest.$ac_ext
34876
34877fi
34878echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
34879echo "${ECHO_T}$wx_cv_gcc31" >&6
34880 if test "$wx_cv_gcc31" = "no"; then
34881 cat <<EOF >shared-ld-sh
34882#!/bin/sh
34883#-----------------------------------------------------------------------------
34884#-- Name: distrib/mac/shared-ld-sh
34885#-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34886#-- Author: Gilles Depeyrot
34887#-- Copyright: (c) 2002 Gilles Depeyrot
34888#-- Licence: any use permitted
34889#-----------------------------------------------------------------------------
34890
34891verbose=0
34892args=""
34893objects=""
34894linking_flag="-dynamiclib"
34895
34896while test \${#} -gt 0; do
34897 case \${1} in
34898
34899 -v)
34900 verbose=1
34901 ;;
34902
34903 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34904 # collect these options and values
34905 args="\${args} \${1} \${2}"
34906 shift
34907 ;;
34908
34909 -l*|-L*|-flat_namespace)
34910 # collect these options
34911 args="\${args} \${1}"
34912 ;;
34913
34914 -dynamiclib|-bundle)
34915 linking_flag="\${1}"
34916 ;;
34917
34918 -*)
34919 echo "shared-ld: unhandled option '\${1}'"
34920 exit 1
34921 ;;
34922
34923 *.o | *.a | *.dylib)
34924 # collect object files
34925 objects="\${objects} \${1}"
34926 ;;
34927
34928 *)
34929 echo "shared-ld: unhandled argument '\${1}'"
34930 exit 1
34931 ;;
34932
34933 esac
34934 shift
34935done
34936
34937#
34938# Link one module containing all the others
34939#
34940if test \${verbose} = 1; then
34941 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34942fi
34943c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34944status=\$?
34945if test \${status} != 0; then
34946 exit \${status}
34947fi
34948
34949#
34950# Link the shared library from the single module created
34951#
34952if test \${verbose} = 1; then
34953 echo "cc \${linking_flag} master.\$\$.o \${args}"
34954fi
34955c++ \${linking_flag} master.\$\$.o \${args}
34956status=\$?
34957if test \${status} != 0; then
34958 exit \${status}
34959fi
34960
34961#
34962# Remove intermediate module
34963#
34964rm -f master.\$\$.o
34965
34966exit 0
34967EOF
34968 chmod +x shared-ld-sh
34969
34970 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -o"
34971 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -o"
34972 SHARED_LD_CXX="$SHARED_LD_CC"
34973 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
34974 else
34975 SHARED_LD_CC="\${CC} -dynamiclib -single_module -o"
34976 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -o"
34977 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -o"
34978 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -o"
34979 fi
34980
34981 PIC_FLAG="-dynamic -fPIC"
34982 ;;
34983
34984 *-*-aix* )
34985 if test "x$GCC" != "xyes"; then
34986 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34987set dummy makeC++SharedLib; ac_word=$2
34988echo "$as_me:$LINENO: checking for $ac_word" >&5
34989echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34990if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34991 echo $ECHO_N "(cached) $ECHO_C" >&6
34992else
34993 if test -n "$AIX_CXX_LD"; then
34994 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34995else
34996as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34997for as_dir in $PATH
34998do
34999 IFS=$as_save_IFS
35000 test -z "$as_dir" && as_dir=.
35001 for ac_exec_ext in '' $ac_executable_extensions; do
35002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35003 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
35004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35005 break 2
35006 fi
35007done
35008done
35009
35010 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
35011fi
35012fi
35013AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
35014if test -n "$AIX_CXX_LD"; then
35015 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
35016echo "${ECHO_T}$AIX_CXX_LD" >&6
35017else
35018 echo "$as_me:$LINENO: result: no" >&5
35019echo "${ECHO_T}no" >&6
35020fi
35021
35022 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
35023 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
35024 fi
35025 ;;
35026
35027 *-*-beos* )
35028 SHARED_LD_CC="${LD} -shared -o"
35029 SHARED_LD_CXX="${LD} -shared -o"
35030 ;;
35031
35032 *-*-irix* )
35033 if test "x$GCC" != "xyes"; then
35034 PIC_FLAG="-KPIC"
35035 fi
35036 ;;
35037
35038 *-*-cygwin* | *-*-mingw32* )
35039 PIC_FLAG=""
35040 ;;
35041
35042 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
35043 *-*-sunos4* | \
35044 *-*-osf* | \
35045 *-*-dgux5* | \
35046 *-pc-os2_emx | *-pc-os2-emx | \
35047 *-*-sysv5* )
35048 ;;
35049
35050 *)
35051 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
35052echo "$as_me: error: unknown system type $host." >&2;}
35053 { (exit 1); exit 1; }; }
35054 esac
35055
35056 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
35057 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
35058 fi
35059 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
35060 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
35061 fi
35062
35063
35064
35065
35066
35067
35068
35069
35070 USE_SOVERSION=0
35071 USE_SOVERLINUX=0
35072 USE_SOVERSOLARIS=0
35073 USE_SOSYMLINKS=0
35074 USE_MACVERSION=0
35075 SONAME_FLAG=
35076
35077 case "${host}" in
35078 *-*-linux* )
35079 SONAME_FLAG="-Wl,-soname,"
35080 USE_SOVERSION=1
35081 USE_SOVERLINUX=1
35082 USE_SOSYMLINKS=1
35083 ;;
35084
35085 *-*-solaris2* )
35086 SONAME_FLAG="-h "
35087 USE_SOVERSION=1
35088 USE_SOVERSOLARIS=1
35089 USE_SOSYMLINKS=1
35090 ;;
35091
35092 *-*-darwin* )
35093 USE_MACVERSION=1
35094 USE_SOVERSION=1
35095 USE_SOSYMLINKS=1
35096 ;;
35097 esac
35098
35099
35100
35101
35102
35103
35104
35105
35106
35107 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
35108echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
35109 DEPS_TRACKING=0
35110
35111 if test "x$GCC" = "xyes"; then
35112 DEPSMODE=gcc
35113 DEPS_TRACKING=1
35114 case "${host}" in
35115 powerpc-*-darwin* )
35116 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
35117 ;;
35118 * )
35119 DEPSFLAG_GCC="-MMD"
35120 ;;
35121 esac
35122 echo "$as_me:$LINENO: result: gcc" >&5
35123echo "${ECHO_T}gcc" >&6
35124 else
35125 echo "$as_me:$LINENO: result: none" >&5
35126echo "${ECHO_T}none" >&6
35127 fi
35128
35129 if test $DEPS_TRACKING = 1 ; then
35130 cat <<EOF >bk-deps
35131#!/bin/sh
35132
35133# This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35134# script. It is used to track C/C++ files dependencies in portable way.
35135#
35136# Permission is given to use this file in any way.
35137
35138DEPSMODE=$DEPSMODE
35139DEPSDIR=.deps
35140DEPSFLAG_GCC="$DEPSFLAG_GCC"
35141
35142mkdir -p \$DEPSDIR
35143
35144if test \$DEPSMODE = gcc ; then
35145 \${*} \${DEPSFLAG_GCC}
35146 status=\${?}
35147 if test \${status} != 0 ; then
35148 exit \${status}
35149 fi
35150 # move created file to the location we want it in:
35151 while test \${#} -gt 0; do
35152 case "\${1}" in
35153 -o )
35154 shift
35155 objfile=\${1}
35156 ;;
35157 -* )
35158 ;;
35159 * )
35160 srcfile=\${1}
35161 ;;
35162 esac
35163 shift
35164 done
35165 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
35166 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
35167 if test -f \$depfile ; then
35168 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
35169 rm -f \$depfile
35170 else
35171 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
35172 if test -f \$depfile ; then
35173 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
35174 rm -f \$depfile
35175 fi
35176 fi
35177 exit 0
35178else
35179 \${*}
35180 exit \${?}
35181fi
35182EOF
35183 chmod +x bk-deps
35184 fi
35185
35186
35187
35188
35189 RESCOMP=
35190 SETFILE=
35191
35192 case ${host} in
35193 *-*-cygwin* | *-*-mingw32* )
35194 if test "$build" != "$host" ; then
35195 RESCOMP=$host_alias-windres
35196 else
35197 # Extract the first word of "windres", so it can be a program name with args.
35198set dummy windres; ac_word=$2
35199echo "$as_me:$LINENO: checking for $ac_word" >&5
35200echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35201if test "${ac_cv_prog_RESCOMP+set}" = set; then
35202 echo $ECHO_N "(cached) $ECHO_C" >&6
35203else
35204 if test -n "$RESCOMP"; then
35205 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
35206else
35207as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35208for as_dir in $PATH
35209do
35210 IFS=$as_save_IFS
35211 test -z "$as_dir" && as_dir=.
35212 for ac_exec_ext in '' $ac_executable_extensions; do
35213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35214 ac_cv_prog_RESCOMP="windres"
35215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35216 break 2
35217 fi
35218done
35219done
35220
35221 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
35222fi
35223fi
35224RESCOMP=$ac_cv_prog_RESCOMP
35225if test -n "$RESCOMP"; then
35226 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35227echo "${ECHO_T}$RESCOMP" >&6
35228else
35229 echo "$as_me:$LINENO: result: no" >&5
35230echo "${ECHO_T}no" >&6
35231fi
35232
35233 fi
35234 ;;
35235
35236 *-*-darwin* )
35237 # Extract the first word of "Rez", so it can be a program name with args.
35238set dummy Rez; ac_word=$2
35239echo "$as_me:$LINENO: checking for $ac_word" >&5
35240echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35241if test "${ac_cv_prog_RESCOMP+set}" = set; then
35242 echo $ECHO_N "(cached) $ECHO_C" >&6
35243else
35244 if test -n "$RESCOMP"; then
35245 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
35246else
35247as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35248for as_dir in $PATH
35249do
35250 IFS=$as_save_IFS
35251 test -z "$as_dir" && as_dir=.
35252 for ac_exec_ext in '' $ac_executable_extensions; do
35253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35254 ac_cv_prog_RESCOMP="Rez"
35255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35256 break 2
35257 fi
35258done
35259done
35260
35261 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
35262fi
35263fi
35264RESCOMP=$ac_cv_prog_RESCOMP
35265if test -n "$RESCOMP"; then
35266 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35267echo "${ECHO_T}$RESCOMP" >&6
35268else
35269 echo "$as_me:$LINENO: result: no" >&5
35270echo "${ECHO_T}no" >&6
35271fi
35272
35273 # Extract the first word of "SetFile", so it can be a program name with args.
35274set dummy SetFile; ac_word=$2
35275echo "$as_me:$LINENO: checking for $ac_word" >&5
35276echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35277if test "${ac_cv_prog_SETFILE+set}" = set; then
35278 echo $ECHO_N "(cached) $ECHO_C" >&6
35279else
35280 if test -n "$SETFILE"; then
35281 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
35282else
35283as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35284for as_dir in $PATH
35285do
35286 IFS=$as_save_IFS
35287 test -z "$as_dir" && as_dir=.
35288 for ac_exec_ext in '' $ac_executable_extensions; do
35289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35290 ac_cv_prog_SETFILE="SetFile"
35291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35292 break 2
35293 fi
35294done
35295done
35296
35297 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
35298fi
35299fi
35300SETFILE=$ac_cv_prog_SETFILE
35301if test -n "$SETFILE"; then
35302 echo "$as_me:$LINENO: result: $SETFILE" >&5
35303echo "${ECHO_T}$SETFILE" >&6
35304else
35305 echo "$as_me:$LINENO: result: no" >&5
35306echo "${ECHO_T}no" >&6
35307fi
35308
35309 ;;
35310 esac
35311
35312
35313
35314
35315
35316
35317
35318
35319
35320
35321 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
35322if test "${enable_precomp_headers+set}" = set; then
35323 enableval="$enable_precomp_headers"
35324 bk_use_pch="$enableval"
35325fi;
35326
35327 GCC_PCH=0
35328
35329 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
35330 if test "x$GCC" = "xyes"; then
35331 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
35332echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
35333 cat >conftest.$ac_ext <<_ACEOF
35334#line $LINENO "configure"
35335/* confdefs.h. */
35336_ACEOF
35337cat confdefs.h >>conftest.$ac_ext
35338cat >>conftest.$ac_ext <<_ACEOF
35339/* end confdefs.h. */
35340
35341int
35342main ()
35343{
35344
35345 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
35346 #error "no pch support"
35347 #endif
35348 #if (__GNUC__ < 3)
35349 #error "no pch support"
35350 #endif
35351 #if (__GNUC__ == 3) && \
35352 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
35353 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
35354 #error "no pch support"
35355 #endif
35356
35357 ;
35358 return 0;
35359}
35360_ACEOF
35361rm -f conftest.$ac_objext
35362if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35363 (eval $ac_compile) 2>&5
35364 ac_status=$?
35365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35366 (exit $ac_status); } &&
35367 { ac_try='test -s conftest.$ac_objext'
35368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35369 (eval $ac_try) 2>&5
35370 ac_status=$?
35371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35372 (exit $ac_status); }; }; then
35373
35374 echo "$as_me:$LINENO: result: yes" >&5
35375echo "${ECHO_T}yes" >&6
35376 CPPFLAGS="-fpch-deps $CPPFLAGS"
35377 GCC_PCH=1
35378
35379else
35380 echo "$as_me: failed program was:" >&5
35381sed 's/^/| /' conftest.$ac_ext >&5
35382
35383
35384 echo "$as_me:$LINENO: result: no" >&5
35385echo "${ECHO_T}no" >&6
35386
35387fi
35388rm -f conftest.$ac_objext conftest.$ac_ext
35389 if test $GCC_PCH = 1 ; then
35390 cat <<EOF >bk-make-pch
35391#!/bin/sh
35392
35393# This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35394# script. It is used to generated precompiled headers.
35395#
35396# Permission is given to use this file in any way.
35397
35398outfile="\${1}"
35399header="\${2}"
35400shift
35401shift
35402
35403compiler=
35404headerfile=
35405while test \${#} -gt 0; do
35406 case "\${1}" in
35407 -I* )
35408 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
35409 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
35410 headerfile="\${incdir}/\${header}"
35411 fi
35412 ;;
35413 esac
35414 compiler="\${compiler} \${1}"
35415 shift
35416done
35417
35418if test "x\${headerfile}" = "x" ; then
35419 echo "error: can't find header \${header} in include paths" >2
35420else
35421 if test -f \${outfile} ; then
35422 rm -f \${outfile}
35423 else
35424 mkdir -p \`dirname \${outfile}\`
35425 fi
35426 depsfile=".deps/\`basename \${outfile}\`.d"
35427 mkdir -p .deps
35428 # can do this because gcc is >= 3.4:
35429 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
35430 exit \${?}
35431fi
35432EOF
35433 chmod +x bk-make-pch
35434 fi
35435 fi
35436 fi
35437
35438
35439
35440
35441
35442 COND_BUILD_DEBUG="#"
35443 if test "x$BUILD" = "xdebug" ; then
35444 COND_BUILD_DEBUG=""
35445 fi
35446
35447 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
35448 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
35449 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
35450 fi
35451
35452 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
35453 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
35454 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
35455 fi
35456
35457 COND_BUILD_RELEASE="#"
35458 if test "x$BUILD" = "xrelease" ; then
35459 COND_BUILD_RELEASE=""
35460 fi
35461
35462 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
35463 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
35464 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
35465 fi
35466
35467 COND_DEBUG_FLAG_1="#"
35468 if test "x$DEBUG_FLAG" = "x1" ; then
35469 COND_DEBUG_FLAG_1=""
35470 fi
35471
35472 COND_DEBUG_INFO_0="#"
35473 if test "x$DEBUG_INFO" = "x0" ; then
35474 COND_DEBUG_INFO_0=""
35475 fi
35476
35477 COND_DEBUG_INFO_1="#"
35478 if test "x$DEBUG_INFO" = "x1" ; then
35479 COND_DEBUG_INFO_1=""
35480 fi
35481
35482 COND_DEPS_TRACKING_0="#"
35483 if test "x$DEPS_TRACKING" = "x0" ; then
35484 COND_DEPS_TRACKING_0=""
35485 fi
35486
35487 COND_DEPS_TRACKING_1="#"
35488 if test "x$DEPS_TRACKING" = "x1" ; then
35489 COND_DEPS_TRACKING_1=""
35490 fi
35491
35492 COND_GCC_PCH_1="#"
35493 if test "x$GCC_PCH" = "x1" ; then
35494 COND_GCC_PCH_1=""
35495 fi
35496
35497 COND_MONOLITHIC_0="#"
35498 if test "x$MONOLITHIC" = "x0" ; then
35499 COND_MONOLITHIC_0=""
35500 fi
35501
35502 COND_MONOLITHIC_0_SHARED_0="#"
35503 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
35504 COND_MONOLITHIC_0_SHARED_0=""
35505 fi
35506
35507 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
35508 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
35509 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
35510 fi
35511
35512 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
35513 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35514 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
35515 fi
35516
35517 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
35518 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
35519 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
35520 fi
35521
35522 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
35523 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
35524 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
35525 fi
35526
35527 COND_MONOLITHIC_0_SHARED_1="#"
35528 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
35529 COND_MONOLITHIC_0_SHARED_1=""
35530 fi
35531
35532 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
35533 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
35534 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
35535 fi
35536
35537 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
35538 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35539 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
35540 fi
35541
35542 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
35543 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
35544 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
35545 fi
35546
35547 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
35548 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
35549 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
35550 fi
35551
35552 COND_MONOLITHIC_1="#"
35553 if test "x$MONOLITHIC" = "x1" ; then
35554 COND_MONOLITHIC_1=""
35555 fi
35556
35557 COND_MONOLITHIC_1_SHARED_0="#"
35558 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
35559 COND_MONOLITHIC_1_SHARED_0=""
35560 fi
35561
35562 COND_MONOLITHIC_1_SHARED_1="#"
35563 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
35564 COND_MONOLITHIC_1_SHARED_1=""
35565 fi
35566
35567 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
35568 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
35569 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
35570 fi
35571
35572 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
35573 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
35574 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
35575 fi
35576
35577 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
35578 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
35579 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
35580 fi
35581
35582 COND_PLATFORM_MACOSX_1="#"
35583 if test "x$PLATFORM_MACOSX" = "x1" ; then
35584 COND_PLATFORM_MACOSX_1=""
35585 fi
35586
35587 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
35588 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
35589 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
35590 fi
35591
35592 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
35593 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
35594 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
35595 fi
35596
35597 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
35598 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
35599 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
35600 fi
35601
35602 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
35603 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
35604 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
35605 fi
35606
35607 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
35608 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
35609 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
35610 fi
35611
35612 COND_PLATFORM_MAC_1="#"
35613 if test "x$PLATFORM_MAC" = "x1" ; then
35614 COND_PLATFORM_MAC_1=""
35615 fi
35616
35617 COND_PLATFORM_OS2_1="#"
35618 if test "x$PLATFORM_OS2" = "x1" ; then
35619 COND_PLATFORM_OS2_1=""
35620 fi
35621
35622 COND_PLATFORM_UNIX_0="#"
35623 if test "x$PLATFORM_UNIX" = "x0" ; then
35624 COND_PLATFORM_UNIX_0=""
35625 fi
35626
35627 COND_PLATFORM_UNIX_1="#"
35628 if test "x$PLATFORM_UNIX" = "x1" ; then
35629 COND_PLATFORM_UNIX_1=""
35630 fi
35631
35632 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
35633 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
35634 COND_PLATFORM_UNIX_1_USE_GUI_1=""
35635 fi
35636
35637 COND_PLATFORM_WIN32_0="#"
35638 if test "x$PLATFORM_WIN32" = "x0" ; then
35639 COND_PLATFORM_WIN32_0=""
35640 fi
35641
35642 COND_PLATFORM_WIN32_1="#"
35643 if test "x$PLATFORM_WIN32" = "x1" ; then
35644 COND_PLATFORM_WIN32_1=""
35645 fi
35646
35647 COND_SHARED_0="#"
35648 if test "x$SHARED" = "x0" ; then
35649 COND_SHARED_0=""
35650 fi
35651
35652 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
35653 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35654 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
35655 fi
35656
35657 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35658 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35659 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35660 fi
35661
35662 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35663 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35664 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35665 fi
35666
35667 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35668 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35669 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35670 fi
35671
35672 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
35673 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35674 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
35675 fi
35676
35677 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
35678 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35679 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
35680 fi
35681
35682 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
35683 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35684 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
35685 fi
35686
35687 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
35688 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35689 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
35690 fi
35691
35692 COND_SHARED_1="#"
35693 if test "x$SHARED" = "x1" ; then
35694 COND_SHARED_1=""
35695 fi
35696
35697 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
35698 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35699 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
35700 fi
35701
35702 COND_TOOLKIT_COCOA="#"
35703 if test "x$TOOLKIT" = "xCOCOA" ; then
35704 COND_TOOLKIT_COCOA=""
35705 fi
35706
35707 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
35708 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35709 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
35710 fi
35711
35712 COND_TOOLKIT_GTK="#"
35713 if test "x$TOOLKIT" = "xGTK" ; then
35714 COND_TOOLKIT_GTK=""
35715 fi
35716
35717 COND_TOOLKIT_GTK_USE_GUI_1="#"
35718 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35719 COND_TOOLKIT_GTK_USE_GUI_1=""
35720 fi
35721
35722 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
35723 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35724 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
35725 fi
35726
35727 COND_TOOLKIT_MAC="#"
35728 if test "x$TOOLKIT" = "xMAC" ; then
35729 COND_TOOLKIT_MAC=""
35730 fi
35731
35732 COND_TOOLKIT_MAC_USE_GUI_1="#"
35733 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35734 COND_TOOLKIT_MAC_USE_GUI_1=""
35735 fi
35736
35737 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
35738 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35739 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
35740 fi
35741
35742 COND_TOOLKIT_MGL="#"
35743 if test "x$TOOLKIT" = "xMGL" ; then
35744 COND_TOOLKIT_MGL=""
35745 fi
35746
35747 COND_TOOLKIT_MGL_USE_GUI_1="#"
35748 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35749 COND_TOOLKIT_MGL_USE_GUI_1=""
35750 fi
35751
35752 COND_TOOLKIT_MOTIF="#"
35753 if test "x$TOOLKIT" = "xMOTIF" ; then
35754 COND_TOOLKIT_MOTIF=""
35755 fi
35756
35757 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
35758 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35759 COND_TOOLKIT_MOTIF_USE_GUI_1=""
35760 fi
35761
35762 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
35763 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35764 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
35765 fi
35766
35767 COND_TOOLKIT_MSW="#"
35768 if test "x$TOOLKIT" = "xMSW" ; then
35769 COND_TOOLKIT_MSW=""
35770 fi
35771
35772 COND_TOOLKIT_MSW_USE_GUI_1="#"
35773 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35774 COND_TOOLKIT_MSW_USE_GUI_1=""
35775 fi
35776
35777 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
35778 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35779 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
35780 fi
35781
35782 COND_TOOLKIT_PM="#"
35783 if test "x$TOOLKIT" = "xPM" ; then
35784 COND_TOOLKIT_PM=""
35785 fi
35786
35787 COND_TOOLKIT_PM_USE_GUI_1="#"
35788 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
35789 COND_TOOLKIT_PM_USE_GUI_1=""
35790 fi
35791
35792 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
35793 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35794 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
35795 fi
35796
35797 COND_TOOLKIT_X11="#"
35798 if test "x$TOOLKIT" = "xX11" ; then
35799 COND_TOOLKIT_X11=""
35800 fi
35801
35802 COND_TOOLKIT_X11_USE_GUI_1="#"
35803 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35804 COND_TOOLKIT_X11_USE_GUI_1=""
35805 fi
35806
35807 COND_UNICODE_1="#"
35808 if test "x$UNICODE" = "x1" ; then
35809 COND_UNICODE_1=""
35810 fi
35811
35812 COND_USE_EXCEPTIONS_0="#"
35813 if test "x$USE_EXCEPTIONS" = "x0" ; then
35814 COND_USE_EXCEPTIONS_0=""
35815 fi
35816
35817 COND_USE_EXCEPTIONS_1="#"
35818 if test "x$USE_EXCEPTIONS" = "x1" ; then
35819 COND_USE_EXCEPTIONS_1=""
35820 fi
35821
35822 COND_USE_GUI_0="#"
35823 if test "x$USE_GUI" = "x0" ; then
35824 COND_USE_GUI_0=""
35825 fi
35826
35827 COND_USE_GUI_1="#"
35828 if test "x$USE_GUI" = "x1" ; then
35829 COND_USE_GUI_1=""
35830 fi
35831
35832 COND_USE_GUI_1_WXUNIV_0="#"
35833 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35834 COND_USE_GUI_1_WXUNIV_0=""
35835 fi
35836
35837 COND_USE_GUI_1_WXUNIV_1="#"
35838 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35839 COND_USE_GUI_1_WXUNIV_1=""
35840 fi
35841
35842 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35843 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35844 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35845 fi
35846
35847 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35848 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35849 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35850 fi
35851
35852 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35853 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35854 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35855 fi
35856
35857 COND_USE_ODBC_1="#"
35858 if test "x$USE_ODBC" = "x1" ; then
35859 COND_USE_ODBC_1=""
35860 fi
35861
35862 COND_USE_SOSYMLINKS_1="#"
35863 if test "x$USE_SOSYMLINKS" = "x1" ; then
35864 COND_USE_SOSYMLINKS_1=""
35865 fi
35866
35867 COND_USE_SOVERLINUX_1="#"
35868 if test "x$USE_SOVERLINUX" = "x1" ; then
35869 COND_USE_SOVERLINUX_1=""
35870 fi
35871
35872 COND_USE_SOVERSION_0="#"
35873 if test "x$USE_SOVERSION" = "x0" ; then
35874 COND_USE_SOVERSION_0=""
35875 fi
35876
35877 COND_USE_SOVERSOLARIS_1="#"
35878 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35879 COND_USE_SOVERSOLARIS_1=""
35880 fi
35881
35882 COND_WXUNIV_1="#"
35883 if test "x$WXUNIV" = "x1" ; then
35884 COND_WXUNIV_1=""
35885 fi
35886
35887 COND_WXUSE_EXPAT_BUILTIN="#"
35888 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35889 COND_WXUSE_EXPAT_BUILTIN=""
35890 fi
35891
35892 COND_WXUSE_LIBJPEG_BUILTIN="#"
35893 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35894 COND_WXUSE_LIBJPEG_BUILTIN=""
35895 fi
35896
35897 COND_WXUSE_LIBPNG_BUILTIN="#"
35898 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35899 COND_WXUSE_LIBPNG_BUILTIN=""
35900 fi
35901
35902 COND_WXUSE_LIBTIFF_BUILTIN="#"
35903 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35904 COND_WXUSE_LIBTIFF_BUILTIN=""
35905 fi
35906
35907 COND_WXUSE_ODBC_BUILTIN="#"
35908 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35909 COND_WXUSE_ODBC_BUILTIN=""
35910 fi
35911
35912 COND_WXUSE_REGEX_BUILTIN="#"
35913 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35914 COND_WXUSE_REGEX_BUILTIN=""
35915 fi
35916
35917 COND_WXUSE_ZLIB_BUILTIN="#"
35918 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35919 COND_WXUSE_ZLIB_BUILTIN=""
35920 fi
35921
35922
35923
35924
35925
35926if test $GCC_PCH = 1 ; then
35927 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35928else
35929 case "${host}" in
35930 powerpc-*-darwin* )
35931 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
35932 ;;
35933 esac
35934fi
35935case "${host}" in
35936 powerpc-*-darwin* )
35937 CODE_GEN_FLAGS_CXX="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
35938 ;;
35939esac
35940
35941
35942SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35943
35944
35945
35946
35947
35948
35949
35950
35951
35952
35953
35954
35955
35956
35957
35958
35959
35960
35961
35962
35963
35964
35965
35966
35967
35968
35969
35970
35971
35972
35973
35974
35975
35976
35977
35978
35979
35980
35981
35982
35983
35984
35985
35986
35987
35988
35989
35990
35991
35992
35993
35994
35995
35996
35997
35998
35999
36000
36001
36002
36003
36004
36005
36006
36007
36008
36009
36010
36011
36012
36013
36014
36015
36016
36017
36018
36019
36020
36021
36022
36023
36024
36025
36026
36027
36028
36029
36030
36031
36032
36033
36034
36035
36036
36037
36038
36039
36040
36041
36042
36043echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
36044echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
36045set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
36046if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
36047 echo $ECHO_N "(cached) $ECHO_C" >&6
36048else
36049 cat >conftest.make <<\_ACEOF
36050all:
36051 @echo 'ac_maketemp="$(MAKE)"'
36052_ACEOF
36053# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
36054eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
36055if test -n "$ac_maketemp"; then
36056 eval ac_cv_prog_make_${ac_make}_set=yes
36057else
36058 eval ac_cv_prog_make_${ac_make}_set=no
36059fi
36060rm -f conftest.make
36061fi
36062if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
36063 echo "$as_me:$LINENO: result: yes" >&5
36064echo "${ECHO_T}yes" >&6
36065 SET_MAKE=
36066else
36067 echo "$as_me:$LINENO: result: no" >&5
36068echo "${ECHO_T}no" >&6
36069 SET_MAKE="MAKE=${MAKE-make}"
36070fi
36071
36072
36073if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
36074 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
36075fi
36076
36077 ac_config_headers="$ac_config_headers setup.h"
36078
36079
36080 ac_config_files="$ac_config_files wx-config version-script Makefile"
36081
36082
36083 ac_config_commands="$ac_config_commands default"
36084
36085
36086
36087if test "$wxUSE_GUI" = "yes"; then
36088 SUBDIRS="samples demos utils contrib"
36089else SUBDIRS="samples utils"
36090fi
36091
36092for subdir in `echo $SUBDIRS`; do
36093 if test -d ${srcdir}/${subdir} ; then
36094 if test "$wxUSE_GUI" = "yes"; then
36095 if test ${subdir} = "samples"; then
36096 makefiles="samples/Makefile.in $makefiles"
36097 for sample in `echo $SAMPLES_SUBDIRS`; do
36098 if test -d $srcdir/samples/$sample; then
36099 makefiles="samples/$sample/Makefile.in $makefiles"
36100 fi
36101 done
36102 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
36103 fi
36104 else if test ${subdir} = "samples"; then
36105 makefiles="samples/Makefile.in samples/console/Makefile.in"
36106 else makefiles="utils/HelpGen/Makefile.in \
36107 utils/HelpGen/src/Makefile.in \
36108 utils/tex2rtf/Makefile.in \
36109 utils/tex2rtf/src/Makefile.in"
36110 fi
36111 fi
36112
36113 for mkin in $makefiles ; do
36114 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
36115 ac_config_files="$ac_config_files $mk"
36116
36117 done
36118 fi
36119done
36120
36121
36122cat >confcache <<\_ACEOF
36123# This file is a shell script that caches the results of configure
36124# tests run on this system so they can be shared between configure
36125# scripts and configure runs, see configure's option --config-cache.
36126# It is not useful on other systems. If it contains results you don't
36127# want to keep, you may remove or edit it.
36128#
36129# config.status only pays attention to the cache file if you give it
36130# the --recheck option to rerun configure.
36131#
36132# `ac_cv_env_foo' variables (set or unset) will be overridden when
36133# loading this file, other *unset* `ac_cv_foo' will be assigned the
36134# following values.
36135
36136_ACEOF
36137
36138# The following way of writing the cache mishandles newlines in values,
36139# but we know of no workaround that is simple, portable, and efficient.
36140# So, don't put newlines in cache variables' values.
36141# Ultrix sh set writes to stderr and can't be redirected directly,
36142# and sets the high bit in the cache file unless we assign to the vars.
36143{
36144 (set) 2>&1 |
36145 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36146 *ac_space=\ *)
36147 # `set' does not quote correctly, so add quotes (double-quote
36148 # substitution turns \\\\ into \\, and sed turns \\ into \).
36149 sed -n \
36150 "s/'/'\\\\''/g;
36151 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36152 ;;
36153 *)
36154 # `set' quotes correctly as required by POSIX, so do not add quotes.
36155 sed -n \
36156 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36157 ;;
36158 esac;
36159} |
36160 sed '
36161 t clear
36162 : clear
36163 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36164 t end
36165 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36166 : end' >>confcache
36167if diff $cache_file confcache >/dev/null 2>&1; then :; else
36168 if test -w $cache_file; then
36169 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36170 cat confcache >$cache_file
36171 else
36172 echo "not updating unwritable cache $cache_file"
36173 fi
36174fi
36175rm -f confcache
36176
36177test "x$prefix" = xNONE && prefix=$ac_default_prefix
36178# Let make expand exec_prefix.
36179test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
36180
36181# VPATH may cause trouble with some makes, so we remove $(srcdir),
36182# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
36183# trailing colons and then remove the whole line if VPATH becomes empty
36184# (actually we leave an empty line to preserve line numbers).
36185if test "x$srcdir" = x.; then
36186 ac_vpsub='/^[ ]*VPATH[ ]*=/{
36187s/:*\$(srcdir):*/:/;
36188s/:*\${srcdir}:*/:/;
36189s/:*@srcdir@:*/:/;
36190s/^\([^=]*=[ ]*\):*/\1/;
36191s/:*$//;
36192s/^[^=]*=[ ]*$//;
36193}'
36194fi
36195
36196DEFS=-DHAVE_CONFIG_H
36197
36198ac_libobjs=
36199ac_ltlibobjs=
36200for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
36201 # 1. Remove the extension, and $U if already installed.
36202 ac_i=`echo "$ac_i" |
36203 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
36204 # 2. Add them.
36205 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
36206 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
36207done
36208LIBOBJS=$ac_libobjs
36209
36210LTLIBOBJS=$ac_ltlibobjs
36211
36212
36213
36214: ${CONFIG_STATUS=./config.status}
36215ac_clean_files_save=$ac_clean_files
36216ac_clean_files="$ac_clean_files $CONFIG_STATUS"
36217{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
36218echo "$as_me: creating $CONFIG_STATUS" >&6;}
36219cat >$CONFIG_STATUS <<_ACEOF
36220#! $SHELL
36221# Generated by $as_me.
36222# Run this file to recreate the current configuration.
36223# Compiler output produced by configure, useful for debugging
36224# configure, is in config.log if it exists.
36225
36226debug=false
36227ac_cs_recheck=false
36228ac_cs_silent=false
36229SHELL=\${CONFIG_SHELL-$SHELL}
36230_ACEOF
36231
36232cat >>$CONFIG_STATUS <<\_ACEOF
36233## --------------------- ##
36234## M4sh Initialization. ##
36235## --------------------- ##
36236
36237# Be Bourne compatible
36238if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
36239 emulate sh
36240 NULLCMD=:
36241 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
36242 # is contrary to our usage. Disable this feature.
36243 alias -g '${1+"$@"}'='"$@"'
36244elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
36245 set -o posix
36246fi
36247
36248# Support unset when possible.
36249if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
36250 as_unset=unset
36251else
36252 as_unset=false
36253fi
36254
36255
36256# Work around bugs in pre-3.0 UWIN ksh.
36257$as_unset ENV MAIL MAILPATH
36258PS1='$ '
36259PS2='> '
36260PS4='+ '
36261
36262# NLS nuisances.
36263for as_var in \
36264 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
36265 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
36266 LC_TELEPHONE LC_TIME
36267do
36268 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
36269 eval $as_var=C; export $as_var
36270 else
36271 $as_unset $as_var
36272 fi
36273done
36274
36275# Required to use basename.
36276if expr a : '\(a\)' >/dev/null 2>&1; then
36277 as_expr=expr
36278else
36279 as_expr=false
36280fi
36281
36282if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
36283 as_basename=basename
36284else
36285 as_basename=false
36286fi
36287
36288
36289# Name of the executable.
36290as_me=`$as_basename "$0" ||
36291$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
36292 X"$0" : 'X\(//\)$' \| \
36293 X"$0" : 'X\(/\)$' \| \
36294 . : '\(.\)' 2>/dev/null ||
36295echo X/"$0" |
36296 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
36297 /^X\/\(\/\/\)$/{ s//\1/; q; }
36298 /^X\/\(\/\).*/{ s//\1/; q; }
36299 s/.*/./; q'`
36300
36301
36302# PATH needs CR, and LINENO needs CR and PATH.
36303# Avoid depending upon Character Ranges.
36304as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36305as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36306as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36307as_cr_digits='0123456789'
36308as_cr_alnum=$as_cr_Letters$as_cr_digits
36309
36310# The user is always right.
36311if test "${PATH_SEPARATOR+set}" != set; then
36312 echo "#! /bin/sh" >conf$$.sh
36313 echo "exit 0" >>conf$$.sh
36314 chmod +x conf$$.sh
36315 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
36316 PATH_SEPARATOR=';'
36317 else
36318 PATH_SEPARATOR=:
36319 fi
36320 rm -f conf$$.sh
36321fi
36322
36323
36324 as_lineno_1=$LINENO
36325 as_lineno_2=$LINENO
36326 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36327 test "x$as_lineno_1" != "x$as_lineno_2" &&
36328 test "x$as_lineno_3" = "x$as_lineno_2" || {
36329 # Find who we are. Look in the path if we contain no path at all
36330 # relative or not.
36331 case $0 in
36332 *[\\/]* ) as_myself=$0 ;;
36333 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36334for as_dir in $PATH
36335do
36336 IFS=$as_save_IFS
36337 test -z "$as_dir" && as_dir=.
36338 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
36339done
36340
36341 ;;
36342 esac
36343 # We did not find ourselves, most probably we were run as `sh COMMAND'
36344 # in which case we are not to be found in the path.
36345 if test "x$as_myself" = x; then
36346 as_myself=$0
36347 fi
36348 if test ! -f "$as_myself"; then
36349 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
36350echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
36351 { (exit 1); exit 1; }; }
36352 fi
36353 case $CONFIG_SHELL in
36354 '')
36355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36356for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
36357do
36358 IFS=$as_save_IFS
36359 test -z "$as_dir" && as_dir=.
36360 for as_base in sh bash ksh sh5; do
36361 case $as_dir in
36362 /*)
36363 if ("$as_dir/$as_base" -c '
36364 as_lineno_1=$LINENO
36365 as_lineno_2=$LINENO
36366 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36367 test "x$as_lineno_1" != "x$as_lineno_2" &&
36368 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
36369 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
36370 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
36371 CONFIG_SHELL=$as_dir/$as_base
36372 export CONFIG_SHELL
36373 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
36374 fi;;
36375 esac
36376 done
36377done
36378;;
36379 esac
36380
36381 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
36382 # uniformly replaced by the line number. The first 'sed' inserts a
36383 # line-number line before each line; the second 'sed' does the real
36384 # work. The second script uses 'N' to pair each line-number line
36385 # with the numbered line, and appends trailing '-' during
36386 # substitution so that $LINENO is not a special case at line end.
36387 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
36388 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
36389 sed '=' <$as_myself |
36390 sed '
36391 N
36392 s,$,-,
36393 : loop
36394 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
36395 t loop
36396 s,-$,,
36397 s,^['$as_cr_digits']*\n,,
36398 ' >$as_me.lineno &&
36399 chmod +x $as_me.lineno ||
36400 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
36401echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
36402 { (exit 1); exit 1; }; }
36403
36404 # Don't try to exec as it changes $[0], causing all sort of problems
36405 # (the dirname of $[0] is not the place where we might find the
36406 # original and so on. Autoconf is especially sensible to this).
36407 . ./$as_me.lineno
36408 # Exit status is that of the last command.
36409 exit
36410}
36411
36412
36413case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
36414 *c*,-n*) ECHO_N= ECHO_C='
36415' ECHO_T=' ' ;;
36416 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
36417 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
36418esac
36419
36420if expr a : '\(a\)' >/dev/null 2>&1; then
36421 as_expr=expr
36422else
36423 as_expr=false
36424fi
36425
36426rm -f conf$$ conf$$.exe conf$$.file
36427echo >conf$$.file
36428if ln -s conf$$.file conf$$ 2>/dev/null; then
36429 # We could just check for DJGPP; but this test a) works b) is more generic
36430 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
36431 if test -f conf$$.exe; then
36432 # Don't use ln at all; we don't have any links
36433 as_ln_s='cp -p'
36434 else
36435 as_ln_s='ln -s'
36436 fi
36437elif ln conf$$.file conf$$ 2>/dev/null; then
36438 as_ln_s=ln
36439else
36440 as_ln_s='cp -p'
36441fi
36442rm -f conf$$ conf$$.exe conf$$.file
36443
36444if mkdir -p . 2>/dev/null; then
36445 as_mkdir_p=:
36446else
36447 as_mkdir_p=false
36448fi
36449
36450as_executable_p="test -f"
36451
36452# Sed expression to map a string onto a valid CPP name.
36453as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
36454
36455# Sed expression to map a string onto a valid variable name.
36456as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
36457
36458
36459# IFS
36460# We need space, tab and new line, in precisely that order.
36461as_nl='
36462'
36463IFS=" $as_nl"
36464
36465# CDPATH.
36466$as_unset CDPATH
36467
36468exec 6>&1
36469
36470# Open the log real soon, to keep \$[0] and so on meaningful, and to
36471# report actual input values of CONFIG_FILES etc. instead of their
36472# values after options handling. Logging --version etc. is OK.
36473exec 5>>config.log
36474{
36475 echo
36476 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
36477## Running $as_me. ##
36478_ASBOX
36479} >&5
36480cat >&5 <<_CSEOF
36481
36482This file was extended by wxWindows $as_me 2.5.1, which was
36483generated by GNU Autoconf 2.57. Invocation command line was
36484
36485 CONFIG_FILES = $CONFIG_FILES
36486 CONFIG_HEADERS = $CONFIG_HEADERS
36487 CONFIG_LINKS = $CONFIG_LINKS
36488 CONFIG_COMMANDS = $CONFIG_COMMANDS
36489 $ $0 $@
36490
36491_CSEOF
36492echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
36493echo >&5
36494_ACEOF
36495
36496# Files that config.status was made for.
36497if test -n "$ac_config_files"; then
36498 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
36499fi
36500
36501if test -n "$ac_config_headers"; then
36502 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
36503fi
36504
36505if test -n "$ac_config_links"; then
36506 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
36507fi
36508
36509if test -n "$ac_config_commands"; then
36510 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
36511fi
36512
36513cat >>$CONFIG_STATUS <<\_ACEOF
36514
36515ac_cs_usage="\
36516\`$as_me' instantiates files from templates according to the
36517current configuration.
36518
36519Usage: $0 [OPTIONS] [FILE]...
36520
36521 -h, --help print this help, then exit
36522 -V, --version print version number, then exit
36523 -q, --quiet do not print progress messages
36524 -d, --debug don't remove temporary files
36525 --recheck update $as_me by reconfiguring in the same conditions
36526 --file=FILE[:TEMPLATE]
36527 instantiate the configuration file FILE
36528 --header=FILE[:TEMPLATE]
36529 instantiate the configuration header FILE
36530
36531Configuration files:
36532$config_files
36533
36534Configuration headers:
36535$config_headers
36536
36537Configuration commands:
36538$config_commands
36539
36540Report bugs to <bug-autoconf@gnu.org>."
36541_ACEOF
36542
36543cat >>$CONFIG_STATUS <<_ACEOF
36544ac_cs_version="\\
36545wxWindows config.status 2.5.1
36546configured by $0, generated by GNU Autoconf 2.57,
36547 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
36548
36549Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
36550Free Software Foundation, Inc.
36551This config.status script is free software; the Free Software Foundation
36552gives unlimited permission to copy, distribute and modify it."
36553srcdir=$srcdir
36554INSTALL="$INSTALL"
36555_ACEOF
36556
36557cat >>$CONFIG_STATUS <<\_ACEOF
36558# If no file are specified by the user, then we need to provide default
36559# value. By we need to know if files were specified by the user.
36560ac_need_defaults=:
36561while test $# != 0
36562do
36563 case $1 in
36564 --*=*)
36565 ac_option=`expr "x$1" : 'x\([^=]*\)='`
36566 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
36567 ac_shift=:
36568 ;;
36569 -*)
36570 ac_option=$1
36571 ac_optarg=$2
36572 ac_shift=shift
36573 ;;
36574 *) # This is not an option, so the user has probably given explicit
36575 # arguments.
36576 ac_option=$1
36577 ac_need_defaults=false;;
36578 esac
36579
36580 case $ac_option in
36581 # Handling of the options.
36582_ACEOF
36583cat >>$CONFIG_STATUS <<\_ACEOF
36584 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
36585 ac_cs_recheck=: ;;
36586 --version | --vers* | -V )
36587 echo "$ac_cs_version"; exit 0 ;;
36588 --he | --h)
36589 # Conflict between --help and --header
36590 { { echo "$as_me:$LINENO: error: ambiguous option: $1
36591Try \`$0 --help' for more information." >&5
36592echo "$as_me: error: ambiguous option: $1
36593Try \`$0 --help' for more information." >&2;}
36594 { (exit 1); exit 1; }; };;
36595 --help | --hel | -h )
36596 echo "$ac_cs_usage"; exit 0 ;;
36597 --debug | --d* | -d )
36598 debug=: ;;
36599 --file | --fil | --fi | --f )
36600 $ac_shift
36601 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
36602 ac_need_defaults=false;;
36603 --header | --heade | --head | --hea )
36604 $ac_shift
36605 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
36606 ac_need_defaults=false;;
36607 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
36608 | -silent | --silent | --silen | --sile | --sil | --si | --s)
36609 ac_cs_silent=: ;;
36610
36611 # This is an error.
36612 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
36613Try \`$0 --help' for more information." >&5
36614echo "$as_me: error: unrecognized option: $1
36615Try \`$0 --help' for more information." >&2;}
36616 { (exit 1); exit 1; }; } ;;
36617
36618 *) ac_config_targets="$ac_config_targets $1" ;;
36619
36620 esac
36621 shift
36622done
36623
36624ac_configure_extra_args=
36625
36626if $ac_cs_silent; then
36627 exec 6>/dev/null
36628 ac_configure_extra_args="$ac_configure_extra_args --silent"
36629fi
36630
36631_ACEOF
36632cat >>$CONFIG_STATUS <<_ACEOF
36633if \$ac_cs_recheck; then
36634 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
36635 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36636fi
36637
36638_ACEOF
36639
36640cat >>$CONFIG_STATUS <<_ACEOF
36641#
36642# INIT-COMMANDS section.
36643#
36644
36645
36646 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36647 LN_S="${LN_S}"
36648
36649
36650
36651_ACEOF
36652
36653
36654
36655cat >>$CONFIG_STATUS <<\_ACEOF
36656for ac_config_target in $ac_config_targets
36657do
36658 case "$ac_config_target" in
36659 # Handling of arguments.
36660 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
36661 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
36662 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
36663 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
36664 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
36665 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
36666 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36667echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36668 { (exit 1); exit 1; }; };;
36669 esac
36670done
36671
36672# If the user did not use the arguments to specify the items to instantiate,
36673# then the envvar interface is used. Set only those that are not.
36674# We use the long form for the default assignment because of an extremely
36675# bizarre bug on SunOS 4.1.3.
36676if $ac_need_defaults; then
36677 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
36678 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
36679 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
36680fi
36681
36682# Have a temporary directory for convenience. Make it in the build tree
36683# simply because there is no reason to put it here, and in addition,
36684# creating and moving files from /tmp can sometimes cause problems.
36685# Create a temporary directory, and hook for its removal unless debugging.
36686$debug ||
36687{
36688 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36689 trap '{ (exit 1); exit 1; }' 1 2 13 15
36690}
36691
36692# Create a (secure) tmp directory for tmp files.
36693
36694{
36695 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36696 test -n "$tmp" && test -d "$tmp"
36697} ||
36698{
36699 tmp=./confstat$$-$RANDOM
36700 (umask 077 && mkdir $tmp)
36701} ||
36702{
36703 echo "$me: cannot create a temporary directory in ." >&2
36704 { (exit 1); exit 1; }
36705}
36706
36707_ACEOF
36708
36709cat >>$CONFIG_STATUS <<_ACEOF
36710
36711#
36712# CONFIG_FILES section.
36713#
36714
36715# No need to generate the scripts if there are no CONFIG_FILES.
36716# This happens for instance when ./config.status config.h
36717if test -n "\$CONFIG_FILES"; then
36718 # Protect against being on the right side of a sed subst in config.status.
36719 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36720 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36721s,@SHELL@,$SHELL,;t t
36722s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36723s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36724s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36725s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36726s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36727s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36728s,@exec_prefix@,$exec_prefix,;t t
36729s,@prefix@,$prefix,;t t
36730s,@program_transform_name@,$program_transform_name,;t t
36731s,@bindir@,$bindir,;t t
36732s,@sbindir@,$sbindir,;t t
36733s,@libexecdir@,$libexecdir,;t t
36734s,@datadir@,$datadir,;t t
36735s,@sysconfdir@,$sysconfdir,;t t
36736s,@sharedstatedir@,$sharedstatedir,;t t
36737s,@localstatedir@,$localstatedir,;t t
36738s,@libdir@,$libdir,;t t
36739s,@includedir@,$includedir,;t t
36740s,@oldincludedir@,$oldincludedir,;t t
36741s,@infodir@,$infodir,;t t
36742s,@mandir@,$mandir,;t t
36743s,@build_alias@,$build_alias,;t t
36744s,@host_alias@,$host_alias,;t t
36745s,@target_alias@,$target_alias,;t t
36746s,@DEFS@,$DEFS,;t t
36747s,@ECHO_C@,$ECHO_C,;t t
36748s,@ECHO_N@,$ECHO_N,;t t
36749s,@ECHO_T@,$ECHO_T,;t t
36750s,@LIBS@,$LIBS,;t t
36751s,@build@,$build,;t t
36752s,@build_cpu@,$build_cpu,;t t
36753s,@build_vendor@,$build_vendor,;t t
36754s,@build_os@,$build_os,;t t
36755s,@host@,$host,;t t
36756s,@host_cpu@,$host_cpu,;t t
36757s,@host_vendor@,$host_vendor,;t t
36758s,@host_os@,$host_os,;t t
36759s,@target@,$target,;t t
36760s,@target_cpu@,$target_cpu,;t t
36761s,@target_vendor@,$target_vendor,;t t
36762s,@target_os@,$target_os,;t t
36763s,@CC@,$CC,;t t
36764s,@CFLAGS@,$CFLAGS,;t t
36765s,@LDFLAGS@,$LDFLAGS,;t t
36766s,@CPPFLAGS@,$CPPFLAGS,;t t
36767s,@ac_ct_CC@,$ac_ct_CC,;t t
36768s,@EXEEXT@,$EXEEXT,;t t
36769s,@OBJEXT@,$OBJEXT,;t t
36770s,@CPP@,$CPP,;t t
36771s,@EGREP@,$EGREP,;t t
36772s,@CXX@,$CXX,;t t
36773s,@CXXFLAGS@,$CXXFLAGS,;t t
36774s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36775s,@RANLIB@,$RANLIB,;t t
36776s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36777s,@AR@,$AR,;t t
36778s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36779s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36780s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36781s,@STRIP@,$STRIP,;t t
36782s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36783s,@LN_S@,$LN_S,;t t
36784s,@CXXCPP@,$CXXCPP,;t t
36785s,@subdirs@,$subdirs,;t t
36786s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36787s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36788s,@GTK_LIBS@,$GTK_LIBS,;t t
36789s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36790s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36791s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36792s,@X_CFLAGS@,$X_CFLAGS,;t t
36793s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36794s,@X_LIBS@,$X_LIBS,;t t
36795s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36796s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36797s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36798s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36799s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36800s,@RESCOMP@,$RESCOMP,;t t
36801s,@DEREZ@,$DEREZ,;t t
36802s,@SETFILE@,$SETFILE,;t t
36803s,@LIBICONV@,$LIBICONV,;t t
36804s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36805s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36806s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36807s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36808s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36809s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36810s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36811s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36812s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36813s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36814s,@VENDOR@,$VENDOR,;t t
36815s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36816s,@WXUNIV@,$WXUNIV,;t t
36817s,@MONOLITHIC@,$MONOLITHIC,;t t
36818s,@EXTRALIBS@,$EXTRALIBS,;t t
36819s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36820s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
36821s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36822s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36823s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36824s,@UNICODE@,$UNICODE,;t t
36825s,@BUILD@,$BUILD,;t t
36826s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36827s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36828s,@SHARED@,$SHARED,;t t
36829s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36830s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36831s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36832s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36833s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36834s,@SET_MAKE@,$SET_MAKE,;t t
36835s,@MAKE_SET@,$MAKE_SET,;t t
36836s,@ac_ct_AR@,$ac_ct_AR,;t t
36837s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
36838s,@NM@,$NM,;t t
36839s,@ac_ct_NM@,$ac_ct_NM,;t t
36840s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36841s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36842s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36843s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36844s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36845s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36846s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36847s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
36848s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36849s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36850s,@LIBPREFIX@,$LIBPREFIX,;t t
36851s,@DLLPREFIX@,$DLLPREFIX,;t t
36852s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36853s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36854s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36855s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36856s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36857s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36858s,@PIC_FLAG@,$PIC_FLAG,;t t
36859s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36860s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36861s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36862s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36863s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36864s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36865s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36866s,@GCC_PCH@,$GCC_PCH,;t t
36867s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36868s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36869s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36870s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36871s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36872s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36873s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36874s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36875s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36876s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36877s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36878s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36879s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36880s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36881s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1,;t t
36882s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36883s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36884s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36885s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36886s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1,;t t
36887s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36888s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36889s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36890s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36891s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36892s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36893s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36894s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36895s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36896s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36897s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36898s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36899s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
36900s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36901s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36902s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
36903s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36904s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36905s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
36906s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36907s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36908s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36909s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36910s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36911s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36912s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36913s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36914s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36915s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36916s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36917s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36918s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36919s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36920s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36921s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36922s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36923s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36924s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36925s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36926s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36927s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36928s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36929s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36930s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36931s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36932s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36933s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36934s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36935s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
36936s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
36937s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
36938s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36939s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36940s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36941s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
36942s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
36943s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36944s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36945s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36946s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36947s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36948s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36949s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36950s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
36951s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36952s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36953s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36954s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36955s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36956s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36957s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36958s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36959s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36960s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36961s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36962s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36963s,@PATH_IFS@,$PATH_IFS,;t t
36964s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36965s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36966s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36967s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36968s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36969s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36970s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36971s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36972s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36973s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36974s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36975s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36976s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36977s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36978s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36979s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36980s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36981s,@WX_ALL@,$WX_ALL,;t t
36982s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36983s,@SHARED_LD@,$SHARED_LD,;t t
36984s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36985s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36986s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36987s,@USE_GUI@,$USE_GUI,;t t
36988s,@AFMINSTALL@,$AFMINSTALL,;t t
36989s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36990s,@TOOLKIT@,$TOOLKIT,;t t
36991s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36992s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36993s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36994s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36995s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36996s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36997s,@cross_compiling@,$cross_compiling,;t t
36998s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36999s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
37000s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
37001s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
37002s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
37003s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
37004s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
37005s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
37006s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
37007s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
37008s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
37009s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
37010s,@ALL_HEADERS@,$ALL_HEADERS,;t t
37011s,@ALL_SOURCES@,$ALL_SOURCES,;t t
37012s,@GUIDIST@,$GUIDIST,;t t
37013s,@PORT_FILES@,$PORT_FILES,;t t
37014s,@DISTDIR@,$DISTDIR,;t t
37015s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
37016s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
37017s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
37018s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
37019s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
37020s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
37021s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
37022s,@RESFLAGS@,$RESFLAGS,;t t
37023s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
37024s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
37025s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
37026s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
37027s,@LIBWXMACRES@,$LIBWXMACRES,;t t
37028s,@MACRESCOMP@,$MACRESCOMP,;t t
37029s,@MACSETFILE@,$MACSETFILE,;t t
37030s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
37031s,@GCC@,$GCC,;t t
37032s,@DLLTOOL@,$DLLTOOL,;t t
37033s,@AS@,$AS,;t t
37034s,@LD@,$LD,;t t
37035s,@MAKEINFO@,$MAKEINFO,;t t
37036s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
37037s,@LIBOBJS@,$LIBOBJS,;t t
37038s,@LTLIBOBJS@,$LTLIBOBJS,;t t
37039CEOF
37040
37041_ACEOF
37042
37043 cat >>$CONFIG_STATUS <<\_ACEOF
37044 # Split the substitutions into bite-sized pieces for seds with
37045 # small command number limits, like on Digital OSF/1 and HP-UX.
37046 ac_max_sed_lines=48
37047 ac_sed_frag=1 # Number of current file.
37048 ac_beg=1 # First line for current file.
37049 ac_end=$ac_max_sed_lines # Line after last line for current file.
37050 ac_more_lines=:
37051 ac_sed_cmds=
37052 while $ac_more_lines; do
37053 if test $ac_beg -gt 1; then
37054 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
37055 else
37056 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
37057 fi
37058 if test ! -s $tmp/subs.frag; then
37059 ac_more_lines=false
37060 else
37061 # The purpose of the label and of the branching condition is to
37062 # speed up the sed processing (if there are no `@' at all, there
37063 # is no need to browse any of the substitutions).
37064 # These are the two extra sed commands mentioned above.
37065 (echo ':t
37066 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
37067 if test -z "$ac_sed_cmds"; then
37068 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
37069 else
37070 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
37071 fi
37072 ac_sed_frag=`expr $ac_sed_frag + 1`
37073 ac_beg=$ac_end
37074 ac_end=`expr $ac_end + $ac_max_sed_lines`
37075 fi
37076 done
37077 if test -z "$ac_sed_cmds"; then
37078 ac_sed_cmds=cat
37079 fi
37080fi # test -n "$CONFIG_FILES"
37081
37082_ACEOF
37083cat >>$CONFIG_STATUS <<\_ACEOF
37084for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
37085 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37086 case $ac_file in
37087 - | *:- | *:-:* ) # input from stdin
37088 cat >$tmp/stdin
37089 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37090 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37091 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37092 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37093 * ) ac_file_in=$ac_file.in ;;
37094 esac
37095
37096 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
37097 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
37098$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37099 X"$ac_file" : 'X\(//\)[^/]' \| \
37100 X"$ac_file" : 'X\(//\)$' \| \
37101 X"$ac_file" : 'X\(/\)' \| \
37102 . : '\(.\)' 2>/dev/null ||
37103echo X"$ac_file" |
37104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37105 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37106 /^X\(\/\/\)$/{ s//\1/; q; }
37107 /^X\(\/\).*/{ s//\1/; q; }
37108 s/.*/./; q'`
37109 { if $as_mkdir_p; then
37110 mkdir -p "$ac_dir"
37111 else
37112 as_dir="$ac_dir"
37113 as_dirs=
37114 while test ! -d "$as_dir"; do
37115 as_dirs="$as_dir $as_dirs"
37116 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37117$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37118 X"$as_dir" : 'X\(//\)[^/]' \| \
37119 X"$as_dir" : 'X\(//\)$' \| \
37120 X"$as_dir" : 'X\(/\)' \| \
37121 . : '\(.\)' 2>/dev/null ||
37122echo X"$as_dir" |
37123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37124 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37125 /^X\(\/\/\)$/{ s//\1/; q; }
37126 /^X\(\/\).*/{ s//\1/; q; }
37127 s/.*/./; q'`
37128 done
37129 test ! -n "$as_dirs" || mkdir $as_dirs
37130 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37131echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37132 { (exit 1); exit 1; }; }; }
37133
37134 ac_builddir=.
37135
37136if test "$ac_dir" != .; then
37137 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37138 # A "../" for each directory in $ac_dir_suffix.
37139 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37140else
37141 ac_dir_suffix= ac_top_builddir=
37142fi
37143
37144case $srcdir in
37145 .) # No --srcdir option. We are building in place.
37146 ac_srcdir=.
37147 if test -z "$ac_top_builddir"; then
37148 ac_top_srcdir=.
37149 else
37150 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37151 fi ;;
37152 [\\/]* | ?:[\\/]* ) # Absolute path.
37153 ac_srcdir=$srcdir$ac_dir_suffix;
37154 ac_top_srcdir=$srcdir ;;
37155 *) # Relative path.
37156 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37157 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37158esac
37159# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37160# absolute.
37161ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37162ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37163ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37164ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37165
37166
37167 case $INSTALL in
37168 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
37169 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
37170 esac
37171
37172 if test x"$ac_file" != x-; then
37173 { echo "$as_me:$LINENO: creating $ac_file" >&5
37174echo "$as_me: creating $ac_file" >&6;}
37175 rm -f "$ac_file"
37176 fi
37177 # Let's still pretend it is `configure' which instantiates (i.e., don't
37178 # use $as_me), people would be surprised to read:
37179 # /* config.h. Generated by config.status. */
37180 if test x"$ac_file" = x-; then
37181 configure_input=
37182 else
37183 configure_input="$ac_file. "
37184 fi
37185 configure_input=$configure_input"Generated from `echo $ac_file_in |
37186 sed 's,.*/,,'` by configure."
37187
37188 # First look for the input files in the build tree, otherwise in the
37189 # src tree.
37190 ac_file_inputs=`IFS=:
37191 for f in $ac_file_in; do
37192 case $f in
37193 -) echo $tmp/stdin ;;
37194 [\\/$]*)
37195 # Absolute (can't be DOS-style, as IFS=:)
37196 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37197echo "$as_me: error: cannot find input file: $f" >&2;}
37198 { (exit 1); exit 1; }; }
37199 echo $f;;
37200 *) # Relative
37201 if test -f "$f"; then
37202 # Build tree
37203 echo $f
37204 elif test -f "$srcdir/$f"; then
37205 # Source tree
37206 echo $srcdir/$f
37207 else
37208 # /dev/null tree
37209 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37210echo "$as_me: error: cannot find input file: $f" >&2;}
37211 { (exit 1); exit 1; }; }
37212 fi;;
37213 esac
37214 done` || { (exit 1); exit 1; }
37215_ACEOF
37216cat >>$CONFIG_STATUS <<_ACEOF
37217 sed "$ac_vpsub
37218$extrasub
37219_ACEOF
37220cat >>$CONFIG_STATUS <<\_ACEOF
37221:t
37222/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
37223s,@configure_input@,$configure_input,;t t
37224s,@srcdir@,$ac_srcdir,;t t
37225s,@abs_srcdir@,$ac_abs_srcdir,;t t
37226s,@top_srcdir@,$ac_top_srcdir,;t t
37227s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
37228s,@builddir@,$ac_builddir,;t t
37229s,@abs_builddir@,$ac_abs_builddir,;t t
37230s,@top_builddir@,$ac_top_builddir,;t t
37231s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
37232s,@INSTALL@,$ac_INSTALL,;t t
37233" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
37234 rm -f $tmp/stdin
37235 if test x"$ac_file" != x-; then
37236 mv $tmp/out $ac_file
37237 else
37238 cat $tmp/out
37239 rm -f $tmp/out
37240 fi
37241
37242done
37243_ACEOF
37244cat >>$CONFIG_STATUS <<\_ACEOF
37245
37246#
37247# CONFIG_HEADER section.
37248#
37249
37250# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
37251# NAME is the cpp macro being defined and VALUE is the value it is being given.
37252#
37253# ac_d sets the value in "#define NAME VALUE" lines.
37254ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
37255ac_dB='[ ].*$,\1#\2'
37256ac_dC=' '
37257ac_dD=',;t'
37258# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
37259ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
37260ac_uB='$,\1#\2define\3'
37261ac_uC=' '
37262ac_uD=',;t'
37263
37264for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
37265 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37266 case $ac_file in
37267 - | *:- | *:-:* ) # input from stdin
37268 cat >$tmp/stdin
37269 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37270 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37271 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37272 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37273 * ) ac_file_in=$ac_file.in ;;
37274 esac
37275
37276 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
37277echo "$as_me: creating $ac_file" >&6;}
37278
37279 # First look for the input files in the build tree, otherwise in the
37280 # src tree.
37281 ac_file_inputs=`IFS=:
37282 for f in $ac_file_in; do
37283 case $f in
37284 -) echo $tmp/stdin ;;
37285 [\\/$]*)
37286 # Absolute (can't be DOS-style, as IFS=:)
37287 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37288echo "$as_me: error: cannot find input file: $f" >&2;}
37289 { (exit 1); exit 1; }; }
37290 echo $f;;
37291 *) # Relative
37292 if test -f "$f"; then
37293 # Build tree
37294 echo $f
37295 elif test -f "$srcdir/$f"; then
37296 # Source tree
37297 echo $srcdir/$f
37298 else
37299 # /dev/null tree
37300 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37301echo "$as_me: error: cannot find input file: $f" >&2;}
37302 { (exit 1); exit 1; }; }
37303 fi;;
37304 esac
37305 done` || { (exit 1); exit 1; }
37306 # Remove the trailing spaces.
37307 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
37308
37309_ACEOF
37310
37311# Transform confdefs.h into two sed scripts, `conftest.defines' and
37312# `conftest.undefs', that substitutes the proper values into
37313# config.h.in to produce config.h. The first handles `#define'
37314# templates, and the second `#undef' templates.
37315# And first: Protect against being on the right side of a sed subst in
37316# config.status. Protect against being in an unquoted here document
37317# in config.status.
37318rm -f conftest.defines conftest.undefs
37319# Using a here document instead of a string reduces the quoting nightmare.
37320# Putting comments in sed scripts is not portable.
37321#
37322# `end' is used to avoid that the second main sed command (meant for
37323# 0-ary CPP macros) applies to n-ary macro definitions.
37324# See the Autoconf documentation for `clear'.
37325cat >confdef2sed.sed <<\_ACEOF
37326s/[\\&,]/\\&/g
37327s,[\\$`],\\&,g
37328t clear
37329: clear
37330s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
37331t end
37332s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
37333: end
37334_ACEOF
37335# If some macros were called several times there might be several times
37336# the same #defines, which is useless. Nevertheless, we may not want to
37337# sort them, since we want the *last* AC-DEFINE to be honored.
37338uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
37339sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
37340rm -f confdef2sed.sed
37341
37342# This sed command replaces #undef with comments. This is necessary, for
37343# example, in the case of _POSIX_SOURCE, which is predefined and required
37344# on some systems where configure will not decide to define it.
37345cat >>conftest.undefs <<\_ACEOF
37346s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
37347_ACEOF
37348
37349# Break up conftest.defines because some shells have a limit on the size
37350# of here documents, and old seds have small limits too (100 cmds).
37351echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
37352echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
37353echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
37354echo ' :' >>$CONFIG_STATUS
37355rm -f conftest.tail
37356while grep . conftest.defines >/dev/null
37357do
37358 # Write a limited-size here document to $tmp/defines.sed.
37359 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
37360 # Speed up: don't consider the non `#define' lines.
37361 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
37362 # Work around the forget-to-reset-the-flag bug.
37363 echo 't clr' >>$CONFIG_STATUS
37364 echo ': clr' >>$CONFIG_STATUS
37365 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
37366 echo 'CEOF
37367 sed -f $tmp/defines.sed $tmp/in >$tmp/out
37368 rm -f $tmp/in
37369 mv $tmp/out $tmp/in
37370' >>$CONFIG_STATUS
37371 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
37372 rm -f conftest.defines
37373 mv conftest.tail conftest.defines
37374done
37375rm -f conftest.defines
37376echo ' fi # grep' >>$CONFIG_STATUS
37377echo >>$CONFIG_STATUS
37378
37379# Break up conftest.undefs because some shells have a limit on the size
37380# of here documents, and old seds have small limits too (100 cmds).
37381echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
37382rm -f conftest.tail
37383while grep . conftest.undefs >/dev/null
37384do
37385 # Write a limited-size here document to $tmp/undefs.sed.
37386 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
37387 # Speed up: don't consider the non `#undef'
37388 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
37389 # Work around the forget-to-reset-the-flag bug.
37390 echo 't clr' >>$CONFIG_STATUS
37391 echo ': clr' >>$CONFIG_STATUS
37392 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
37393 echo 'CEOF
37394 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
37395 rm -f $tmp/in
37396 mv $tmp/out $tmp/in
37397' >>$CONFIG_STATUS
37398 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
37399 rm -f conftest.undefs
37400 mv conftest.tail conftest.undefs
37401done
37402rm -f conftest.undefs
37403
37404cat >>$CONFIG_STATUS <<\_ACEOF
37405 # Let's still pretend it is `configure' which instantiates (i.e., don't
37406 # use $as_me), people would be surprised to read:
37407 # /* config.h. Generated by config.status. */
37408 if test x"$ac_file" = x-; then
37409 echo "/* Generated by configure. */" >$tmp/config.h
37410 else
37411 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
37412 fi
37413 cat $tmp/in >>$tmp/config.h
37414 rm -f $tmp/in
37415 if test x"$ac_file" != x-; then
37416 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
37417 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
37418echo "$as_me: $ac_file is unchanged" >&6;}
37419 else
37420 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
37421$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37422 X"$ac_file" : 'X\(//\)[^/]' \| \
37423 X"$ac_file" : 'X\(//\)$' \| \
37424 X"$ac_file" : 'X\(/\)' \| \
37425 . : '\(.\)' 2>/dev/null ||
37426echo X"$ac_file" |
37427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37428 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37429 /^X\(\/\/\)$/{ s//\1/; q; }
37430 /^X\(\/\).*/{ s//\1/; q; }
37431 s/.*/./; q'`
37432 { if $as_mkdir_p; then
37433 mkdir -p "$ac_dir"
37434 else
37435 as_dir="$ac_dir"
37436 as_dirs=
37437 while test ! -d "$as_dir"; do
37438 as_dirs="$as_dir $as_dirs"
37439 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37440$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37441 X"$as_dir" : 'X\(//\)[^/]' \| \
37442 X"$as_dir" : 'X\(//\)$' \| \
37443 X"$as_dir" : 'X\(/\)' \| \
37444 . : '\(.\)' 2>/dev/null ||
37445echo X"$as_dir" |
37446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37447 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37448 /^X\(\/\/\)$/{ s//\1/; q; }
37449 /^X\(\/\).*/{ s//\1/; q; }
37450 s/.*/./; q'`
37451 done
37452 test ! -n "$as_dirs" || mkdir $as_dirs
37453 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37454echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37455 { (exit 1); exit 1; }; }; }
37456
37457 rm -f $ac_file
37458 mv $tmp/config.h $ac_file
37459 fi
37460 else
37461 cat $tmp/config.h
37462 rm -f $tmp/config.h
37463 fi
37464done
37465_ACEOF
37466cat >>$CONFIG_STATUS <<\_ACEOF
37467
37468#
37469# CONFIG_COMMANDS section.
37470#
37471for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
37472 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
37473 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
37474 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
37475$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37476 X"$ac_dest" : 'X\(//\)[^/]' \| \
37477 X"$ac_dest" : 'X\(//\)$' \| \
37478 X"$ac_dest" : 'X\(/\)' \| \
37479 . : '\(.\)' 2>/dev/null ||
37480echo X"$ac_dest" |
37481 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37482 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37483 /^X\(\/\/\)$/{ s//\1/; q; }
37484 /^X\(\/\).*/{ s//\1/; q; }
37485 s/.*/./; q'`
37486 ac_builddir=.
37487
37488if test "$ac_dir" != .; then
37489 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37490 # A "../" for each directory in $ac_dir_suffix.
37491 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37492else
37493 ac_dir_suffix= ac_top_builddir=
37494fi
37495
37496case $srcdir in
37497 .) # No --srcdir option. We are building in place.
37498 ac_srcdir=.
37499 if test -z "$ac_top_builddir"; then
37500 ac_top_srcdir=.
37501 else
37502 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37503 fi ;;
37504 [\\/]* | ?:[\\/]* ) # Absolute path.
37505 ac_srcdir=$srcdir$ac_dir_suffix;
37506 ac_top_srcdir=$srcdir ;;
37507 *) # Relative path.
37508 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37509 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37510esac
37511# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37512# absolute.
37513ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37514ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37515ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37516ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37517
37518
37519 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
37520echo "$as_me: executing $ac_dest commands" >&6;}
37521 case $ac_dest in
37522 default )
37523 if test ! -h wx-config; then
37524 chmod +x wx-config
37525 mv wx-config wx${TOOLCHAIN_NAME}-config
37526 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
37527 fi
37528
37529 if test ! -d lib; then
37530 mkdir lib
37531 fi
37532 if test ! -d lib/wx; then
37533 mkdir lib/wx
37534 fi
37535 if test ! -d lib/wx/include; then
37536 mkdir lib/wx/include
37537 fi
37538 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
37539 mkdir lib/wx/include/${TOOLCHAIN_NAME}
37540 fi
37541 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
37542 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
37543 fi
37544 if test -f setup.h; then
37545 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
37546 fi
37547 ;;
37548 esac
37549done
37550_ACEOF
37551
37552cat >>$CONFIG_STATUS <<\_ACEOF
37553
37554{ (exit 0); exit 0; }
37555_ACEOF
37556chmod +x $CONFIG_STATUS
37557ac_clean_files=$ac_clean_files_save
37558
37559
37560# configure is writing to config.log, and then calls config.status.
37561# config.status does its own redirection, appending to config.log.
37562# Unfortunately, on DOS this fails, as config.log is still kept open
37563# by configure, so config.status won't be able to write to it; its
37564# output is simply discarded. So we exec the FD to /dev/null,
37565# effectively closing config.log, so it can be properly (re)opened and
37566# appended to by config.status. When coming back to configure, we
37567# need to make the FD available again.
37568if test "$no_create" != yes; then
37569 ac_cs_success=:
37570 ac_config_status_args=
37571 test "$silent" = yes &&
37572 ac_config_status_args="$ac_config_status_args --quiet"
37573 exec 5>/dev/null
37574 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
37575 exec 5>>config.log
37576 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37577 # would make configure fail if this is the last instruction.
37578 $ac_cs_success || { (exit 1); exit 1; }
37579fi
37580
37581#
37582# CONFIG_SUBDIRS section.
37583#
37584if test "$no_recursion" != yes; then
37585
37586 # Remove --cache-file and --srcdir arguments so they do not pile up.
37587 ac_sub_configure_args=
37588 ac_prev=
37589 for ac_arg in $ac_configure_args; do
37590 if test -n "$ac_prev"; then
37591 ac_prev=
37592 continue
37593 fi
37594 case $ac_arg in
37595 -cache-file | --cache-file | --cache-fil | --cache-fi \
37596 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
37597 ac_prev=cache_file ;;
37598 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
37599 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
37600 | --c=*)
37601 ;;
37602 --config-cache | -C)
37603 ;;
37604 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
37605 ac_prev=srcdir ;;
37606 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
37607 ;;
37608 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
37609 ac_prev=prefix ;;
37610 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
37611 ;;
37612 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
37613 esac
37614 done
37615
37616 # Always prepend --prefix to ensure using the same prefix
37617 # in subdir configurations.
37618 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
37619
37620 ac_popdir=`pwd`
37621 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
37622
37623 # Do not complain, so a configure script can configure whichever
37624 # parts of a large source tree are present.
37625 test -d $srcdir/$ac_dir || continue
37626
37627 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
37628echo "$as_me: configuring in $ac_dir" >&6;}
37629 { if $as_mkdir_p; then
37630 mkdir -p "$ac_dir"
37631 else
37632 as_dir="$ac_dir"
37633 as_dirs=
37634 while test ! -d "$as_dir"; do
37635 as_dirs="$as_dir $as_dirs"
37636 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37637$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37638 X"$as_dir" : 'X\(//\)[^/]' \| \
37639 X"$as_dir" : 'X\(//\)$' \| \
37640 X"$as_dir" : 'X\(/\)' \| \
37641 . : '\(.\)' 2>/dev/null ||
37642echo X"$as_dir" |
37643 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37644 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37645 /^X\(\/\/\)$/{ s//\1/; q; }
37646 /^X\(\/\).*/{ s//\1/; q; }
37647 s/.*/./; q'`
37648 done
37649 test ! -n "$as_dirs" || mkdir $as_dirs
37650 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37651echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37652 { (exit 1); exit 1; }; }; }
37653
37654 ac_builddir=.
37655
37656if test "$ac_dir" != .; then
37657 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37658 # A "../" for each directory in $ac_dir_suffix.
37659 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37660else
37661 ac_dir_suffix= ac_top_builddir=
37662fi
37663
37664case $srcdir in
37665 .) # No --srcdir option. We are building in place.
37666 ac_srcdir=.
37667 if test -z "$ac_top_builddir"; then
37668 ac_top_srcdir=.
37669 else
37670 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37671 fi ;;
37672 [\\/]* | ?:[\\/]* ) # Absolute path.
37673 ac_srcdir=$srcdir$ac_dir_suffix;
37674 ac_top_srcdir=$srcdir ;;
37675 *) # Relative path.
37676 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37677 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37678esac
37679# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37680# absolute.
37681ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37682ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37683ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37684ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37685
37686
37687 cd $ac_dir
37688
37689 # Check for guested configure; otherwise get Cygnus style configure.
37690 if test -f $ac_srcdir/configure.gnu; then
37691 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
37692 elif test -f $ac_srcdir/configure; then
37693 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
37694 elif test -f $ac_srcdir/configure.in; then
37695 ac_sub_configure=$ac_configure
37696 else
37697 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37698echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37699 ac_sub_configure=
37700 fi
37701
37702 # The recursion is here.
37703 if test -n "$ac_sub_configure"; then
37704 # Make the cache file name correct relative to the subdirectory.
37705 case $cache_file in
37706 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
37707 *) # Relative path.
37708 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
37709 esac
37710
37711 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37712echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37713 # The eval makes quoting arguments work.
37714 eval $ac_sub_configure $ac_sub_configure_args \
37715 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37716 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37717echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37718 { (exit 1); exit 1; }; }
37719 fi
37720
37721 cd $ac_popdir
37722 done
37723fi
37724
37725
37726echo
37727echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37728echo ""
37729echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
37730echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37731
37732echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37733echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37734echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37735
37736echo " What level of wxWindows compatibility should be enabled?"
37737echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37738echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37739
37740echo " Which libraries should wxWindows use?"
37741echo " jpeg ${wxUSE_LIBJPEG-none}"
37742echo " png ${wxUSE_LIBPNG-none}"
37743echo " regex ${wxUSE_REGEX}"
37744echo " tiff ${wxUSE_LIBTIFF-none}"
37745echo " zlib ${wxUSE_ZLIB}"
37746echo " odbc ${wxUSE_ODBC}"
37747echo " expat ${wxUSE_EXPAT}"
37748echo " libmspack ${wxUSE_LIBMSPACK}"
37749
37750echo ""
37751